]>
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 | ||
cbfc9df6 RD |
2929 | SWIGINTERN wxAuiNotebook *wxAuiMDIParentFrame__GetNotebook(wxAuiMDIParentFrame const *self){ |
2930 | return self->GetNotebook(); | |
2931 | } | |
2932 | SWIGINTERN wxAuiMDIChildFrame *wxAuiMDIParentFrame__GetActiveChild(wxAuiMDIParentFrame const *self){ | |
2933 | return self->GetActiveChild(); | |
2934 | } | |
2935 | SWIGINTERN wxAuiMDIClientWindow *wxAuiMDIParentFrame__GetClientWindow(wxAuiMDIParentFrame const *self){ | |
2936 | return self->GetClientWindow(); | |
2937 | } | |
10044bf1 | 2938 | |
5c8c7dd3 | 2939 | // A wxDocArt class that knows how to forward virtuals to Python methods |
5eb8189c | 2940 | class wxPyAuiDockArt : public wxAuiDefaultDockArt |
27e45892 | 2941 | { |
4976f996 | 2942 | public: |
5eb8189c | 2943 | wxPyAuiDockArt() : wxAuiDefaultDockArt() {} |
27e45892 RD |
2944 | |
2945 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2946 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2947 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2948 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2949 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2950 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2951 | ||
2952 | virtual void DrawSash(wxDC& dc, | |
97ab0f6a | 2953 | wxWindow* window, |
27e45892 RD |
2954 | int orientation, |
2955 | const wxRect& rect) | |
2956 | { | |
2957 | bool found; | |
2958 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2959 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2960 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2961 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2962 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2963 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2964 | odc, owin, orientation, orect)); | |
27e45892 | 2965 | Py_DECREF(odc); |
8f514ab4 | 2966 | Py_DECREF(owin); |
27e45892 RD |
2967 | Py_DECREF(orect); |
2968 | } | |
2969 | wxPyEndBlockThreads(blocked); | |
2970 | if (! found) | |
5eb8189c | 2971 | wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2972 | } |
2973 | ||
2974 | virtual void DrawBackground(wxDC& dc, | |
97ab0f6a | 2975 | wxWindow* window, |
27e45892 RD |
2976 | int orientation, |
2977 | const wxRect& rect) | |
2978 | { | |
2979 | bool found; | |
2980 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2981 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2982 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2983 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2984 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2985 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2986 | odc, owin, orientation, orect)); | |
27e45892 | 2987 | Py_DECREF(odc); |
8f514ab4 | 2988 | Py_DECREF(owin); |
27e45892 RD |
2989 | Py_DECREF(orect); |
2990 | } | |
2991 | wxPyEndBlockThreads(blocked); | |
2992 | if (! found) | |
5eb8189c | 2993 | wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2994 | } |
2995 | ||
2996 | virtual void DrawCaption(wxDC& dc, | |
97ab0f6a | 2997 | wxWindow* window, |
27e45892 RD |
2998 | const wxString& text, |
2999 | const wxRect& rect, | |
5eb8189c | 3000 | wxAuiPaneInfo& pane) |
27e45892 RD |
3001 | { |
3002 | bool found; | |
3003 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3004 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
3005 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3006 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
3007 | PyObject* otext = wx2PyString(text); |
3008 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
5eb8189c | 3009 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
3010 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)", |
3011 | odc, owin, otext, orect, opane)); | |
27e45892 | 3012 | Py_DECREF(odc); |
8f514ab4 | 3013 | Py_DECREF(owin); |
27e45892 RD |
3014 | Py_DECREF(otext); |
3015 | Py_DECREF(orect); | |
3016 | Py_DECREF(opane); | |
3017 | } | |
3018 | wxPyEndBlockThreads(blocked); | |
3019 | if (! found) | |
5eb8189c | 3020 | wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
3021 | } |
3022 | ||
3023 | virtual void DrawGripper(wxDC& dc, | |
97ab0f6a | 3024 | wxWindow* window, |
27e45892 | 3025 | const wxRect& rect, |
5eb8189c | 3026 | wxAuiPaneInfo& pane) |
27e45892 RD |
3027 | { |
3028 | bool found; | |
3029 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3030 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
3031 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3032 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3033 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3034 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a | 3035 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane)); |
27e45892 RD |
3036 | Py_DECREF(odc); |
3037 | Py_DECREF(orect); | |
3038 | Py_DECREF(opane); | |
3039 | } | |
3040 | wxPyEndBlockThreads(blocked); | |
3041 | if (! found) | |
5eb8189c | 3042 | wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3043 | } |
3044 | ||
3045 | virtual void DrawBorder(wxDC& dc, | |
97ab0f6a | 3046 | wxWindow* window, |
27e45892 | 3047 | const wxRect& rect, |
5eb8189c | 3048 | wxAuiPaneInfo& pane) |
27e45892 RD |
3049 | { |
3050 | bool found; | |
3051 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3052 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3053 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3054 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3055 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3056 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
27e45892 RD |
3057 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); |
3058 | Py_DECREF(odc); | |
8f514ab4 | 3059 | Py_DECREF(owin); |
27e45892 RD |
3060 | Py_DECREF(orect); |
3061 | Py_DECREF(opane); | |
3062 | } | |
3063 | wxPyEndBlockThreads(blocked); | |
3064 | if (! found) | |
5eb8189c | 3065 | wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3066 | } |
3067 | ||
3068 | virtual void DrawPaneButton(wxDC& dc, | |
97ab0f6a | 3069 | wxWindow* window, |
27e45892 RD |
3070 | int button, |
3071 | int button_state, | |
3072 | const wxRect& rect, | |
5eb8189c | 3073 | wxAuiPaneInfo& pane) |
27e45892 RD |
3074 | { |
3075 | bool found; | |
3076 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3077 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3078 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3079 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3080 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3081 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
3082 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)", |
3083 | odc, owin, button, button_state, | |
27e45892 RD |
3084 | orect, opane)); |
3085 | Py_DECREF(odc); | |
8f514ab4 | 3086 | Py_DECREF(owin); |
27e45892 RD |
3087 | Py_DECREF(orect); |
3088 | Py_DECREF(opane); | |
3089 | } | |
3090 | wxPyEndBlockThreads(blocked); | |
3091 | if (! found) | |
5eb8189c | 3092 | wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3093 | } |
3094 | ||
3095 | PYPRIVATE; | |
3096 | ||
3097 | }; | |
3098 | ||
5eb8189c RD |
3099 | IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric); |
3100 | IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric); | |
3101 | IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont); | |
3102 | IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont); | |
3103 | IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour); | |
3104 | IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour); | |
27e45892 RD |
3105 | |
3106 | ||
5c8c7dd3 RD |
3107 | |
3108 | // A wxTabArt class that knows how to forward virtuals to Python methods | |
5eb8189c | 3109 | class wxPyAuiTabArt : public wxAuiDefaultTabArt |
5c8c7dd3 | 3110 | { |
4976f996 | 3111 | public: |
5eb8189c | 3112 | wxPyAuiTabArt() : wxAuiDefaultTabArt() {} |
5c8c7dd3 | 3113 | |
8f514ab4 | 3114 | |
d95b9f2b | 3115 | virtual void DrawBackground( wxDC& dc, |
26c4d26f | 3116 | wxWindow* wnd, |
5c8c7dd3 RD |
3117 | const wxRect& rect ) |
3118 | { | |
3119 | bool found; | |
3120 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3121 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
d95b9f2b | 3122 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3123 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 | 3124 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
26c4d26f | 3125 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect)); |
5c8c7dd3 | 3126 | Py_DECREF(odc); |
26c4d26f | 3127 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3128 | Py_DECREF(orect); |
3129 | } | |
3130 | wxPyEndBlockThreads(blocked); | |
3131 | if (!found) | |
26c4d26f | 3132 | wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect); |
5c8c7dd3 RD |
3133 | } |
3134 | ||
d95b9f2b | 3135 | virtual void DrawTab( wxDC& dc, |
26c4d26f | 3136 | wxWindow* wnd, |
d754c85e | 3137 | const wxAuiNotebookPage& pane, |
5c8c7dd3 | 3138 | const wxRect& in_rect, |
36cb9ebe RD |
3139 | int close_button_state, |
3140 | wxRect* out_tab_rect, | |
3141 | wxRect* out_button_rect, | |
5c8c7dd3 RD |
3142 | int* x_extent) |
3143 | { | |
3144 | bool found; | |
36cb9ebe | 3145 | const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)"; |
5c8c7dd3 RD |
3146 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
3147 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { | |
d95b9f2b | 3148 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3149 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
d754c85e | 3150 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiNotebookPage"), 0); |
5c8c7dd3 | 3151 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
5c8c7dd3 | 3152 | PyObject* ro; |
5eb8189c | 3153 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3154 | "(OOOOOii)", |
d754c85e RD |
3155 | odc, ownd, orect, opane, |
3156 | close_button_state)); | |
5c8c7dd3 | 3157 | if (ro) { |
36cb9ebe | 3158 | if (PySequence_Check(ro) && PyObject_Length(ro) == 3) { |
5c8c7dd3 RD |
3159 | PyObject* o1 = PySequence_GetItem(ro, 0); |
3160 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
36cb9ebe RD |
3161 | PyObject* o3 = PySequence_GetItem(ro, 2); |
3162 | if (!wxRect_helper(o1, &out_tab_rect)) | |
5c8c7dd3 | 3163 | PyErr_SetString(PyExc_TypeError, errmsg); |
36cb9ebe RD |
3164 | else if (!wxRect_helper(o2, &out_button_rect)) |
3165 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3166 | else if (!PyInt_Check(o3)) | |
5c8c7dd3 RD |
3167 | PyErr_SetString(PyExc_TypeError, errmsg); |
3168 | else | |
36cb9ebe | 3169 | *x_extent = PyInt_AsLong(o3); |
5c8c7dd3 RD |
3170 | |
3171 | Py_DECREF(o1); | |
3172 | Py_DECREF(o2); | |
36cb9ebe | 3173 | Py_DECREF(o3); |
5c8c7dd3 RD |
3174 | } |
3175 | else { | |
3176 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3177 | } | |
3178 | Py_DECREF(ro); | |
3179 | } | |
3180 | ||
3181 | Py_DECREF(odc); | |
26c4d26f | 3182 | Py_DECREF(ownd); |
5c8c7dd3 | 3183 | Py_DECREF(orect); |
d754c85e | 3184 | Py_DECREF(opane); |
5c8c7dd3 RD |
3185 | } |
3186 | wxPyEndBlockThreads(blocked); | |
3187 | if (!found) | |
d754c85e | 3188 | wxAuiDefaultTabArt::DrawTab(dc, wnd, pane, in_rect, close_button_state, out_tab_rect, out_button_rect, x_extent); |
5c8c7dd3 RD |
3189 | } |
3190 | ||
3191 | ||
d95b9f2b | 3192 | virtual void DrawButton( wxDC& dc, |
26c4d26f | 3193 | wxWindow* wnd, |
8f514ab4 RD |
3194 | const wxRect& in_rect, |
3195 | int bitmap_id, | |
3196 | int button_state, | |
3197 | int orientation, | |
8f514ab4 RD |
3198 | wxRect* out_rect) |
3199 | { | |
3200 | bool found; | |
3201 | const char* errmsg = "DrawButton should return a wxRect"; | |
3202 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3203 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) { | |
d95b9f2b | 3204 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3205 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3206 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
8f514ab4 | 3207 | PyObject* ro; |
26c4d26f | 3208 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect, |
d754c85e | 3209 | bitmap_id, button_state, orientation)); |
8f514ab4 RD |
3210 | if (ro) { |
3211 | if (!wxRect_helper(ro, &out_rect)) | |
3212 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3213 | Py_DECREF(ro); | |
3214 | } | |
3215 | ||
3216 | Py_DECREF(odc); | |
26c4d26f | 3217 | Py_DECREF(ownd); |
8f514ab4 | 3218 | Py_DECREF(orect); |
8f514ab4 RD |
3219 | } |
3220 | wxPyEndBlockThreads(blocked); | |
3221 | if (!found) | |
d754c85e | 3222 | wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect); |
8f514ab4 RD |
3223 | } |
3224 | ||
26c4d26f | 3225 | |
d95b9f2b | 3226 | virtual wxSize GetTabSize( wxDC& dc, |
26c4d26f | 3227 | wxWindow* wnd, |
8f514ab4 | 3228 | const wxString& caption, |
5172800e | 3229 | const wxBitmap& bitmap, |
8f514ab4 | 3230 | bool active, |
36cb9ebe | 3231 | int close_button_state, |
8f514ab4 RD |
3232 | int* x_extent) |
3233 | { | |
3234 | bool found; | |
3235 | wxSize rv, *prv = &rv; | |
3236 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3237 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3238 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
d95b9f2b | 3239 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3240 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3241 | PyObject* otext = wx2PyString(caption); |
5172800e | 3242 | PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false); |
8f514ab4 | 3243 | PyObject* ro; |
5eb8189c | 3244 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3245 | "(OOOOii)", odc, ownd, otext, obmp, (int)active, close_button_state)); |
8f514ab4 RD |
3246 | if (ro) { |
3247 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3248 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3249 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3250 | if (!wxSize_helper(o1, &prv)) | |
3251 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3252 | else if (!PyInt_Check(o2)) | |
3253 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3254 | else | |
3255 | *x_extent = PyInt_AsLong(o2); | |
3256 | ||
3257 | Py_DECREF(o1); | |
3258 | Py_DECREF(o2); | |
3259 | } | |
3260 | else { | |
3261 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3262 | } | |
3263 | Py_DECREF(ro); | |
3264 | } | |
3265 | ||
3266 | Py_DECREF(odc); | |
26c4d26f | 3267 | Py_DECREF(ownd); |
8f514ab4 | 3268 | Py_DECREF(otext); |
5172800e | 3269 | Py_DECREF(obmp); |
8f514ab4 RD |
3270 | } |
3271 | wxPyEndBlockThreads(blocked); | |
3272 | if (!found) | |
5172800e | 3273 | rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent); |
8f514ab4 RD |
3274 | return rv; |
3275 | } | |
26c4d26f | 3276 | |
d95b9f2b | 3277 | // TODO |
d754c85e | 3278 | // virtual int ShowDropDown( |
d95b9f2b | 3279 | // wxWindow* wnd, |
d754c85e | 3280 | // const wxAuiNotebookPageArray& items, |
d95b9f2b | 3281 | // int active_idx); |
d754c85e RD |
3282 | |
3283 | // virtual int GetIndentSize(); | |
3284 | ||
5172800e | 3285 | // virtual int GetBestTabCtrlSize(wxWindow* wnd, |
d754c85e RD |
3286 | // const wxAuiNotebookPageArray& pages, |
3287 | // const wxSize& required_bmp_size); | |
5172800e RD |
3288 | // virtual wxAuiTabArt* Clone(); |
3289 | // virtual void SetFlags(unsigned int flags); | |
3290 | // virtual void SetSizingInfo(const wxSize& tab_ctrl_size, | |
3291 | // size_t tab_count); | |
3292 | // virtual int GetIndentSize(); | |
3293 | ||
d95b9f2b | 3294 | |
8f514ab4 | 3295 | |
5c8c7dd3 RD |
3296 | DEC_PYCALLBACK__FONT(SetNormalFont); |
3297 | DEC_PYCALLBACK__FONT(SetSelectedFont); | |
3298 | DEC_PYCALLBACK__FONT(SetMeasuringFont); | |
5172800e | 3299 | // DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize); |
5c8c7dd3 RD |
3300 | |
3301 | PYPRIVATE; | |
3302 | }; | |
3303 | ||
3304 | ||
5eb8189c RD |
3305 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont); |
3306 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont); | |
3307 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont); | |
5172800e | 3308 | //IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize); |
5c8c7dd3 | 3309 | |
27e45892 RD |
3310 | #ifdef __cplusplus |
3311 | extern "C" { | |
3312 | #endif | |
5eb8189c | 3313 | SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) { |
27e45892 RD |
3314 | { |
3315 | void *argp = 0; | |
5eb8189c | 3316 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0); |
27e45892 | 3317 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3318 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 RD |
3319 | } |
3320 | if (!argp) { | |
5eb8189c | 3321 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 | 3322 | } else { |
5eb8189c RD |
3323 | wxAuiDockInfo * temp; |
3324 | temp = reinterpret_cast< wxAuiDockInfo * >(argp); | |
3325 | wxAuiNullDockInfo = *temp; | |
27e45892 RD |
3326 | if (SWIG_IsNewObj(res)) delete temp; |
3327 | } | |
3328 | } | |
3329 | return 0; | |
3330 | fail: | |
3331 | return 1; | |
3332 | } | |
3333 | ||
3334 | ||
5eb8189c | 3335 | SWIGINTERN PyObject *AuiNullDockInfo_get(void) { |
27e45892 RD |
3336 | PyObject *pyobj = 0; |
3337 | ||
5eb8189c | 3338 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 ); |
27e45892 RD |
3339 | return pyobj; |
3340 | } | |
3341 | ||
3342 | ||
5eb8189c | 3343 | SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) { |
27e45892 RD |
3344 | { |
3345 | void *argp = 0; | |
5eb8189c | 3346 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 3347 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3348 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 RD |
3349 | } |
3350 | if (!argp) { | |
5eb8189c | 3351 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 | 3352 | } else { |
5eb8189c RD |
3353 | wxAuiPaneInfo * temp; |
3354 | temp = reinterpret_cast< wxAuiPaneInfo * >(argp); | |
3355 | wxAuiNullPaneInfo = *temp; | |
27e45892 RD |
3356 | if (SWIG_IsNewObj(res)) delete temp; |
3357 | } | |
3358 | } | |
3359 | return 0; | |
3360 | fail: | |
3361 | return 1; | |
3362 | } | |
3363 | ||
3364 | ||
5eb8189c | 3365 | SWIGINTERN PyObject *AuiNullPaneInfo_get(void) { |
27e45892 RD |
3366 | PyObject *pyobj = 0; |
3367 | ||
5eb8189c | 3368 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
27e45892 RD |
3369 | return pyobj; |
3370 | } | |
3371 | ||
3372 | ||
5eb8189c | 3373 | SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3374 | PyObject *resultobj = 0; |
5eb8189c | 3375 | wxAuiPaneInfo *result = 0 ; |
27e45892 | 3376 | |
5eb8189c | 3377 | if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
3378 | { |
3379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3380 | result = (wxAuiPaneInfo *)new wxAuiPaneInfo(); |
27e45892 RD |
3381 | wxPyEndAllowThreads(__tstate); |
3382 | if (PyErr_Occurred()) SWIG_fail; | |
3383 | } | |
5eb8189c | 3384 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
3385 | return resultobj; |
3386 | fail: | |
3387 | return NULL; | |
3388 | } | |
3389 | ||
3390 | ||
5eb8189c | 3391 | SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3392 | PyObject *resultobj = 0; |
5eb8189c | 3393 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3394 | void *argp1 = 0 ; |
3395 | int res1 = 0 ; | |
3396 | PyObject *swig_obj[1] ; | |
3397 | ||
3398 | if (!args) SWIG_fail; | |
3399 | swig_obj[0] = args; | |
5eb8189c | 3400 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 3401 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3402 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 3403 | } |
5eb8189c | 3404 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3405 | { |
3406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3407 | delete arg1; | |
3408 | ||
3409 | wxPyEndAllowThreads(__tstate); | |
3410 | if (PyErr_Occurred()) SWIG_fail; | |
3411 | } | |
3412 | resultobj = SWIG_Py_Void(); | |
3413 | return resultobj; | |
3414 | fail: | |
3415 | return NULL; | |
3416 | } | |
3417 | ||
3418 | ||
5eb8189c | 3419 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 3420 | PyObject *resultobj = 0; |
5eb8189c RD |
3421 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
3422 | wxAuiPaneInfo arg2 ; | |
0f83f5da RD |
3423 | void *argp1 = 0 ; |
3424 | int res1 = 0 ; | |
3425 | void *argp2 ; | |
3426 | int res2 = 0 ; | |
3427 | PyObject * obj0 = 0 ; | |
3428 | PyObject * obj1 = 0 ; | |
3429 | char * kwnames[] = { | |
3430 | (char *) "self",(char *) "source", NULL | |
3431 | }; | |
3432 | ||
5eb8189c RD |
3433 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; |
3434 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
0f83f5da | 3435 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3436 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
0f83f5da | 3437 | } |
5eb8189c | 3438 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
0f83f5da | 3439 | { |
5eb8189c | 3440 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
0f83f5da | 3441 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 3442 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da RD |
3443 | } |
3444 | if (!argp2) { | |
5eb8189c | 3445 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da | 3446 | } else { |
5eb8189c | 3447 | wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
3448 | arg2 = *temp; |
3449 | if (SWIG_IsNewObj(res2)) delete temp; | |
3450 | } | |
3451 | } | |
3452 | { | |
3453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3454 | (arg1)->SafeSet(arg2); | |
3455 | wxPyEndAllowThreads(__tstate); | |
3456 | if (PyErr_Occurred()) SWIG_fail; | |
3457 | } | |
3458 | resultobj = SWIG_Py_Void(); | |
3459 | return resultobj; | |
3460 | fail: | |
3461 | return NULL; | |
3462 | } | |
3463 | ||
3464 | ||
5eb8189c | 3465 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3466 | PyObject *resultobj = 0; |
5eb8189c | 3467 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3468 | bool result; |
3469 | void *argp1 = 0 ; | |
3470 | int res1 = 0 ; | |
3471 | PyObject *swig_obj[1] ; | |
3472 | ||
3473 | if (!args) SWIG_fail; | |
3474 | swig_obj[0] = args; | |
5eb8189c | 3475 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3476 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3477 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3478 | } |
5eb8189c | 3479 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3480 | { |
3481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3482 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk(); |
27e45892 RD |
3483 | wxPyEndAllowThreads(__tstate); |
3484 | if (PyErr_Occurred()) SWIG_fail; | |
3485 | } | |
3486 | { | |
3487 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3488 | } | |
3489 | return resultobj; | |
3490 | fail: | |
3491 | return NULL; | |
3492 | } | |
3493 | ||
3494 | ||
5eb8189c | 3495 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3496 | PyObject *resultobj = 0; |
5eb8189c | 3497 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3498 | bool result; |
3499 | void *argp1 = 0 ; | |
3500 | int res1 = 0 ; | |
3501 | PyObject *swig_obj[1] ; | |
3502 | ||
3503 | if (!args) SWIG_fail; | |
3504 | swig_obj[0] = args; | |
5eb8189c | 3505 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3506 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3507 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3508 | } |
5eb8189c | 3509 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3510 | { |
3511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3512 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed(); |
27e45892 RD |
3513 | wxPyEndAllowThreads(__tstate); |
3514 | if (PyErr_Occurred()) SWIG_fail; | |
3515 | } | |
3516 | { | |
3517 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3518 | } | |
3519 | return resultobj; | |
3520 | fail: | |
3521 | return NULL; | |
3522 | } | |
3523 | ||
3524 | ||
5eb8189c | 3525 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3526 | PyObject *resultobj = 0; |
5eb8189c | 3527 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3528 | bool result; |
3529 | void *argp1 = 0 ; | |
3530 | int res1 = 0 ; | |
3531 | PyObject *swig_obj[1] ; | |
3532 | ||
3533 | if (!args) SWIG_fail; | |
3534 | swig_obj[0] = args; | |
5eb8189c | 3535 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3536 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3537 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3538 | } |
5eb8189c | 3539 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3540 | { |
3541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3542 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable(); |
27e45892 RD |
3543 | wxPyEndAllowThreads(__tstate); |
3544 | if (PyErr_Occurred()) SWIG_fail; | |
3545 | } | |
3546 | { | |
3547 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3548 | } | |
3549 | return resultobj; | |
3550 | fail: | |
3551 | return NULL; | |
3552 | } | |
3553 | ||
3554 | ||
5eb8189c | 3555 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3556 | PyObject *resultobj = 0; |
5eb8189c | 3557 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3558 | bool result; |
3559 | void *argp1 = 0 ; | |
3560 | int res1 = 0 ; | |
3561 | PyObject *swig_obj[1] ; | |
3562 | ||
3563 | if (!args) SWIG_fail; | |
3564 | swig_obj[0] = args; | |
5eb8189c | 3565 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3566 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3568 | } |
5eb8189c | 3569 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3570 | { |
3571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3572 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown(); |
27e45892 RD |
3573 | wxPyEndAllowThreads(__tstate); |
3574 | if (PyErr_Occurred()) SWIG_fail; | |
3575 | } | |
3576 | { | |
3577 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3578 | } | |
3579 | return resultobj; | |
3580 | fail: | |
3581 | return NULL; | |
3582 | } | |
3583 | ||
3584 | ||
5eb8189c | 3585 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3586 | PyObject *resultobj = 0; |
5eb8189c | 3587 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3588 | bool result; |
3589 | void *argp1 = 0 ; | |
3590 | int res1 = 0 ; | |
3591 | PyObject *swig_obj[1] ; | |
3592 | ||
3593 | if (!args) SWIG_fail; | |
3594 | swig_obj[0] = args; | |
5eb8189c | 3595 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3596 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3597 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3598 | } |
5eb8189c | 3599 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3600 | { |
3601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3602 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating(); |
27e45892 RD |
3603 | wxPyEndAllowThreads(__tstate); |
3604 | if (PyErr_Occurred()) SWIG_fail; | |
3605 | } | |
3606 | { | |
3607 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3608 | } | |
3609 | return resultobj; | |
3610 | fail: | |
3611 | return NULL; | |
3612 | } | |
3613 | ||
3614 | ||
5eb8189c | 3615 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3616 | PyObject *resultobj = 0; |
5eb8189c | 3617 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3618 | bool result; |
3619 | void *argp1 = 0 ; | |
3620 | int res1 = 0 ; | |
3621 | PyObject *swig_obj[1] ; | |
3622 | ||
3623 | if (!args) SWIG_fail; | |
3624 | swig_obj[0] = args; | |
5eb8189c | 3625 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3626 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3627 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3628 | } |
5eb8189c | 3629 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3630 | { |
3631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3632 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked(); |
27e45892 RD |
3633 | wxPyEndAllowThreads(__tstate); |
3634 | if (PyErr_Occurred()) SWIG_fail; | |
3635 | } | |
3636 | { | |
3637 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3638 | } | |
3639 | return resultobj; | |
3640 | fail: | |
3641 | return NULL; | |
3642 | } | |
3643 | ||
3644 | ||
5eb8189c | 3645 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3646 | PyObject *resultobj = 0; |
5eb8189c | 3647 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3648 | bool result; |
3649 | void *argp1 = 0 ; | |
3650 | int res1 = 0 ; | |
3651 | PyObject *swig_obj[1] ; | |
3652 | ||
3653 | if (!args) SWIG_fail; | |
3654 | swig_obj[0] = args; | |
5eb8189c | 3655 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3656 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3657 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3658 | } |
5eb8189c | 3659 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3660 | { |
3661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3662 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar(); |
27e45892 RD |
3663 | wxPyEndAllowThreads(__tstate); |
3664 | if (PyErr_Occurred()) SWIG_fail; | |
3665 | } | |
3666 | { | |
3667 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3668 | } | |
3669 | return resultobj; | |
3670 | fail: | |
3671 | return NULL; | |
3672 | } | |
3673 | ||
3674 | ||
5eb8189c | 3675 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3676 | PyObject *resultobj = 0; |
5eb8189c | 3677 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3678 | bool result; |
3679 | void *argp1 = 0 ; | |
3680 | int res1 = 0 ; | |
3681 | PyObject *swig_obj[1] ; | |
3682 | ||
3683 | if (!args) SWIG_fail; | |
3684 | swig_obj[0] = args; | |
5eb8189c | 3685 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3686 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3687 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3688 | } |
5eb8189c | 3689 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3690 | { |
3691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3692 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable(); |
27e45892 RD |
3693 | wxPyEndAllowThreads(__tstate); |
3694 | if (PyErr_Occurred()) SWIG_fail; | |
3695 | } | |
3696 | { | |
3697 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3698 | } | |
3699 | return resultobj; | |
3700 | fail: | |
3701 | return NULL; | |
3702 | } | |
3703 | ||
3704 | ||
5eb8189c | 3705 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3706 | PyObject *resultobj = 0; |
5eb8189c | 3707 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3708 | bool result; |
3709 | void *argp1 = 0 ; | |
3710 | int res1 = 0 ; | |
3711 | PyObject *swig_obj[1] ; | |
3712 | ||
3713 | if (!args) SWIG_fail; | |
3714 | swig_obj[0] = args; | |
5eb8189c | 3715 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3716 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3717 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3718 | } |
5eb8189c | 3719 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3720 | { |
3721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3722 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable(); |
27e45892 RD |
3723 | wxPyEndAllowThreads(__tstate); |
3724 | if (PyErr_Occurred()) SWIG_fail; | |
3725 | } | |
3726 | { | |
3727 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3728 | } | |
3729 | return resultobj; | |
3730 | fail: | |
3731 | return NULL; | |
3732 | } | |
3733 | ||
3734 | ||
5eb8189c | 3735 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3736 | PyObject *resultobj = 0; |
5eb8189c | 3737 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3738 | bool result; |
3739 | void *argp1 = 0 ; | |
3740 | int res1 = 0 ; | |
3741 | PyObject *swig_obj[1] ; | |
3742 | ||
3743 | if (!args) SWIG_fail; | |
3744 | swig_obj[0] = args; | |
5eb8189c | 3745 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3746 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3747 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3748 | } |
5eb8189c | 3749 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3750 | { |
3751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3752 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable(); |
27e45892 RD |
3753 | wxPyEndAllowThreads(__tstate); |
3754 | if (PyErr_Occurred()) SWIG_fail; | |
3755 | } | |
3756 | { | |
3757 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3758 | } | |
3759 | return resultobj; | |
3760 | fail: | |
3761 | return NULL; | |
3762 | } | |
3763 | ||
3764 | ||
5eb8189c | 3765 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3766 | PyObject *resultobj = 0; |
5eb8189c | 3767 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3768 | bool result; |
3769 | void *argp1 = 0 ; | |
3770 | int res1 = 0 ; | |
3771 | PyObject *swig_obj[1] ; | |
3772 | ||
3773 | if (!args) SWIG_fail; | |
3774 | swig_obj[0] = args; | |
5eb8189c | 3775 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3776 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3777 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3778 | } |
5eb8189c | 3779 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3780 | { |
3781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3782 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable(); |
27e45892 RD |
3783 | wxPyEndAllowThreads(__tstate); |
3784 | if (PyErr_Occurred()) SWIG_fail; | |
3785 | } | |
3786 | { | |
3787 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3788 | } | |
3789 | return resultobj; | |
3790 | fail: | |
3791 | return NULL; | |
3792 | } | |
3793 | ||
3794 | ||
5eb8189c | 3795 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3796 | PyObject *resultobj = 0; |
5eb8189c | 3797 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3798 | bool result; |
3799 | void *argp1 = 0 ; | |
3800 | int res1 = 0 ; | |
3801 | PyObject *swig_obj[1] ; | |
3802 | ||
3803 | if (!args) SWIG_fail; | |
3804 | swig_obj[0] = args; | |
5eb8189c | 3805 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3806 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3808 | } |
5eb8189c | 3809 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3810 | { |
3811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3812 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable(); |
27e45892 RD |
3813 | wxPyEndAllowThreads(__tstate); |
3814 | if (PyErr_Occurred()) SWIG_fail; | |
3815 | } | |
3816 | { | |
3817 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3818 | } | |
3819 | return resultobj; | |
3820 | fail: | |
3821 | return NULL; | |
3822 | } | |
3823 | ||
3824 | ||
5eb8189c | 3825 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3826 | PyObject *resultobj = 0; |
5eb8189c | 3827 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3828 | bool result; |
3829 | void *argp1 = 0 ; | |
3830 | int res1 = 0 ; | |
3831 | PyObject *swig_obj[1] ; | |
3832 | ||
3833 | if (!args) SWIG_fail; | |
3834 | swig_obj[0] = args; | |
5eb8189c | 3835 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3836 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3837 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3838 | } |
5eb8189c | 3839 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3840 | { |
3841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3842 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable(); |
27e45892 RD |
3843 | wxPyEndAllowThreads(__tstate); |
3844 | if (PyErr_Occurred()) SWIG_fail; | |
3845 | } | |
3846 | { | |
3847 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3848 | } | |
3849 | return resultobj; | |
3850 | fail: | |
3851 | return NULL; | |
3852 | } | |
3853 | ||
3854 | ||
5eb8189c | 3855 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9b940138 | 3856 | PyObject *resultobj = 0; |
5eb8189c | 3857 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
9b940138 RD |
3858 | bool result; |
3859 | void *argp1 = 0 ; | |
3860 | int res1 = 0 ; | |
3861 | PyObject *swig_obj[1] ; | |
3862 | ||
3863 | if (!args) SWIG_fail; | |
3864 | swig_obj[0] = args; | |
5eb8189c | 3865 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
9b940138 | 3866 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3867 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
9b940138 | 3868 | } |
5eb8189c | 3869 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
9b940138 RD |
3870 | { |
3871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3872 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose(); |
9b940138 RD |
3873 | wxPyEndAllowThreads(__tstate); |
3874 | if (PyErr_Occurred()) SWIG_fail; | |
3875 | } | |
3876 | { | |
3877 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3878 | } | |
3879 | return resultobj; | |
3880 | fail: | |
3881 | return NULL; | |
3882 | } | |
3883 | ||
3884 | ||
5eb8189c | 3885 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3886 | PyObject *resultobj = 0; |
5eb8189c | 3887 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3888 | bool result; |
3889 | void *argp1 = 0 ; | |
3890 | int res1 = 0 ; | |
3891 | PyObject *swig_obj[1] ; | |
3892 | ||
3893 | if (!args) SWIG_fail; | |
3894 | swig_obj[0] = args; | |
5eb8189c | 3895 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3896 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3897 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3898 | } |
5eb8189c | 3899 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3900 | { |
3901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3902 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized(); |
27e45892 RD |
3903 | wxPyEndAllowThreads(__tstate); |
3904 | if (PyErr_Occurred()) SWIG_fail; | |
3905 | } | |
3906 | { | |
3907 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3908 | } | |
3909 | return resultobj; | |
3910 | fail: | |
3911 | return NULL; | |
3912 | } | |
3913 | ||
3914 | ||
5eb8189c | 3915 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3916 | PyObject *resultobj = 0; |
5eb8189c | 3917 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3918 | bool result; |
3919 | void *argp1 = 0 ; | |
3920 | int res1 = 0 ; | |
3921 | PyObject *swig_obj[1] ; | |
3922 | ||
3923 | if (!args) SWIG_fail; | |
3924 | swig_obj[0] = args; | |
5eb8189c | 3925 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3926 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3927 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3928 | } |
5eb8189c | 3929 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3930 | { |
3931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3932 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption(); |
27e45892 RD |
3933 | wxPyEndAllowThreads(__tstate); |
3934 | if (PyErr_Occurred()) SWIG_fail; | |
3935 | } | |
3936 | { | |
3937 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3938 | } | |
3939 | return resultobj; | |
3940 | fail: | |
3941 | return NULL; | |
3942 | } | |
3943 | ||
3944 | ||
5eb8189c | 3945 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3946 | PyObject *resultobj = 0; |
5eb8189c | 3947 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3948 | bool result; |
3949 | void *argp1 = 0 ; | |
3950 | int res1 = 0 ; | |
3951 | PyObject *swig_obj[1] ; | |
3952 | ||
3953 | if (!args) SWIG_fail; | |
3954 | swig_obj[0] = args; | |
5eb8189c | 3955 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3956 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3957 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3958 | } |
5eb8189c | 3959 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3960 | { |
3961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3962 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper(); |
27e45892 RD |
3963 | wxPyEndAllowThreads(__tstate); |
3964 | if (PyErr_Occurred()) SWIG_fail; | |
3965 | } | |
3966 | { | |
3967 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3968 | } | |
3969 | return resultobj; | |
3970 | fail: | |
3971 | return NULL; | |
3972 | } | |
3973 | ||
3974 | ||
5eb8189c | 3975 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3976 | PyObject *resultobj = 0; |
5eb8189c | 3977 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3978 | bool result; |
3979 | void *argp1 = 0 ; | |
3980 | int res1 = 0 ; | |
3981 | PyObject *swig_obj[1] ; | |
3982 | ||
3983 | if (!args) SWIG_fail; | |
3984 | swig_obj[0] = args; | |
5eb8189c | 3985 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3986 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3987 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3988 | } |
5eb8189c | 3989 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3990 | { |
3991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3992 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder(); |
27e45892 RD |
3993 | wxPyEndAllowThreads(__tstate); |
3994 | if (PyErr_Occurred()) SWIG_fail; | |
3995 | } | |
3996 | { | |
3997 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3998 | } | |
3999 | return resultobj; | |
4000 | fail: | |
4001 | return NULL; | |
4002 | } | |
4003 | ||
4004 | ||
5eb8189c | 4005 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4006 | PyObject *resultobj = 0; |
5eb8189c | 4007 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4008 | bool result; |
4009 | void *argp1 = 0 ; | |
4010 | int res1 = 0 ; | |
4011 | PyObject *swig_obj[1] ; | |
4012 | ||
4013 | if (!args) SWIG_fail; | |
4014 | swig_obj[0] = args; | |
5eb8189c | 4015 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4016 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4017 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4018 | } |
5eb8189c | 4019 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4020 | { |
4021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4022 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton(); |
27e45892 RD |
4023 | wxPyEndAllowThreads(__tstate); |
4024 | if (PyErr_Occurred()) SWIG_fail; | |
4025 | } | |
4026 | { | |
4027 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4028 | } | |
4029 | return resultobj; | |
4030 | fail: | |
4031 | return NULL; | |
4032 | } | |
4033 | ||
4034 | ||
5eb8189c | 4035 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4036 | PyObject *resultobj = 0; |
5eb8189c | 4037 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4038 | bool result; |
4039 | void *argp1 = 0 ; | |
4040 | int res1 = 0 ; | |
4041 | PyObject *swig_obj[1] ; | |
4042 | ||
4043 | if (!args) SWIG_fail; | |
4044 | swig_obj[0] = args; | |
5eb8189c | 4045 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4046 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4047 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4048 | } |
5eb8189c | 4049 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4050 | { |
4051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4052 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton(); |
27e45892 RD |
4053 | wxPyEndAllowThreads(__tstate); |
4054 | if (PyErr_Occurred()) SWIG_fail; | |
4055 | } | |
4056 | { | |
4057 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4058 | } | |
4059 | return resultobj; | |
4060 | fail: | |
4061 | return NULL; | |
4062 | } | |
4063 | ||
4064 | ||
5eb8189c | 4065 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4066 | PyObject *resultobj = 0; |
5eb8189c | 4067 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4068 | bool result; |
4069 | void *argp1 = 0 ; | |
4070 | int res1 = 0 ; | |
4071 | PyObject *swig_obj[1] ; | |
4072 | ||
4073 | if (!args) SWIG_fail; | |
4074 | swig_obj[0] = args; | |
5eb8189c | 4075 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4076 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4077 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4078 | } |
5eb8189c | 4079 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4080 | { |
4081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4082 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton(); |
27e45892 RD |
4083 | wxPyEndAllowThreads(__tstate); |
4084 | if (PyErr_Occurred()) SWIG_fail; | |
4085 | } | |
4086 | { | |
4087 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4088 | } | |
4089 | return resultobj; | |
4090 | fail: | |
4091 | return NULL; | |
4092 | } | |
4093 | ||
4094 | ||
5eb8189c | 4095 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4096 | PyObject *resultobj = 0; |
5eb8189c | 4097 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4098 | bool result; |
4099 | void *argp1 = 0 ; | |
4100 | int res1 = 0 ; | |
4101 | PyObject *swig_obj[1] ; | |
4102 | ||
4103 | if (!args) SWIG_fail; | |
4104 | swig_obj[0] = args; | |
5eb8189c | 4105 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4106 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4107 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4108 | } |
5eb8189c | 4109 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4110 | { |
4111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4112 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton(); |
27e45892 RD |
4113 | wxPyEndAllowThreads(__tstate); |
4114 | if (PyErr_Occurred()) SWIG_fail; | |
4115 | } | |
4116 | { | |
4117 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4118 | } | |
4119 | return resultobj; | |
4120 | fail: | |
4121 | return NULL; | |
4122 | } | |
4123 | ||
4124 | ||
5eb8189c | 4125 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4126 | PyObject *resultobj = 0; |
5eb8189c RD |
4127 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4128 | bool result; | |
4129 | void *argp1 = 0 ; | |
4130 | int res1 = 0 ; | |
4131 | PyObject *swig_obj[1] ; | |
4132 | ||
4133 | if (!args) SWIG_fail; | |
4134 | swig_obj[0] = args; | |
4135 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
4136 | if (!SWIG_IsOK(res1)) { | |
4137 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); | |
4138 | } | |
4139 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
4140 | { | |
4141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4142 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop(); | |
4143 | wxPyEndAllowThreads(__tstate); | |
4144 | if (PyErr_Occurred()) SWIG_fail; | |
4145 | } | |
4146 | { | |
4147 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4148 | } | |
4149 | return resultobj; | |
4150 | fail: | |
4151 | return NULL; | |
4152 | } | |
4153 | ||
4154 | ||
4155 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4156 | PyObject *resultobj = 0; | |
4157 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 4158 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 4159 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4160 | void *argp1 = 0 ; |
4161 | int res1 = 0 ; | |
4162 | void *argp2 = 0 ; | |
4163 | int res2 = 0 ; | |
4164 | PyObject * obj0 = 0 ; | |
4165 | PyObject * obj1 = 0 ; | |
4166 | char * kwnames[] = { | |
4167 | (char *) "self",(char *) "w", NULL | |
4168 | }; | |
4169 | ||
5eb8189c RD |
4170 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; |
4171 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4172 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4173 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4174 | } |
5eb8189c | 4175 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4176 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
4177 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 4178 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
4179 | } |
4180 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4181 | { | |
4182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4183 | { | |
5eb8189c RD |
4184 | wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2); |
4185 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4186 | } |
4187 | wxPyEndAllowThreads(__tstate); | |
4188 | if (PyErr_Occurred()) SWIG_fail; | |
4189 | } | |
4190 | { | |
4191 | resultobj = obj0; Py_INCREF(resultobj); | |
4192 | } | |
4193 | return resultobj; | |
4194 | fail: | |
4195 | return NULL; | |
4196 | } | |
4197 | ||
4198 | ||
5eb8189c | 4199 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4200 | PyObject *resultobj = 0; |
5eb8189c | 4201 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4202 | wxString *arg2 = 0 ; |
5eb8189c | 4203 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4204 | void *argp1 = 0 ; |
4205 | int res1 = 0 ; | |
4206 | bool temp2 = false ; | |
4207 | PyObject * obj0 = 0 ; | |
4208 | PyObject * obj1 = 0 ; | |
4209 | char * kwnames[] = { | |
4210 | (char *) "self",(char *) "n", NULL | |
4211 | }; | |
4212 | ||
5eb8189c RD |
4213 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; |
4214 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4215 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4216 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4217 | } |
5eb8189c | 4218 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4219 | { |
4220 | arg2 = wxString_in_helper(obj1); | |
4221 | if (arg2 == NULL) SWIG_fail; | |
4222 | temp2 = true; | |
4223 | } | |
4224 | { | |
4225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4226 | { | |
5eb8189c RD |
4227 | wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); |
4228 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4229 | } |
4230 | wxPyEndAllowThreads(__tstate); | |
4231 | if (PyErr_Occurred()) SWIG_fail; | |
4232 | } | |
4233 | { | |
4234 | resultobj = obj0; Py_INCREF(resultobj); | |
4235 | } | |
4236 | { | |
4237 | if (temp2) | |
4238 | delete arg2; | |
4239 | } | |
4240 | return resultobj; | |
4241 | fail: | |
4242 | { | |
4243 | if (temp2) | |
4244 | delete arg2; | |
4245 | } | |
4246 | return NULL; | |
4247 | } | |
4248 | ||
4249 | ||
5eb8189c | 4250 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4251 | PyObject *resultobj = 0; |
5eb8189c | 4252 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4253 | wxString *arg2 = 0 ; |
5eb8189c | 4254 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4255 | void *argp1 = 0 ; |
4256 | int res1 = 0 ; | |
4257 | bool temp2 = false ; | |
4258 | PyObject * obj0 = 0 ; | |
4259 | PyObject * obj1 = 0 ; | |
4260 | char * kwnames[] = { | |
4261 | (char *) "self",(char *) "c", NULL | |
4262 | }; | |
4263 | ||
5eb8189c RD |
4264 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; |
4265 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4266 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4267 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4268 | } |
5eb8189c | 4269 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4270 | { |
4271 | arg2 = wxString_in_helper(obj1); | |
4272 | if (arg2 == NULL) SWIG_fail; | |
4273 | temp2 = true; | |
4274 | } | |
4275 | { | |
4276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4277 | { | |
5eb8189c RD |
4278 | wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); |
4279 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4280 | } |
4281 | wxPyEndAllowThreads(__tstate); | |
4282 | if (PyErr_Occurred()) SWIG_fail; | |
4283 | } | |
4284 | { | |
4285 | resultobj = obj0; Py_INCREF(resultobj); | |
4286 | } | |
4287 | { | |
4288 | if (temp2) | |
4289 | delete arg2; | |
4290 | } | |
4291 | return resultobj; | |
4292 | fail: | |
4293 | { | |
4294 | if (temp2) | |
4295 | delete arg2; | |
4296 | } | |
4297 | return NULL; | |
4298 | } | |
4299 | ||
4300 | ||
5eb8189c | 4301 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4302 | PyObject *resultobj = 0; |
5eb8189c RD |
4303 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4304 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4305 | void *argp1 = 0 ; |
4306 | int res1 = 0 ; | |
4307 | PyObject *swig_obj[1] ; | |
4308 | ||
4309 | if (!args) SWIG_fail; | |
4310 | swig_obj[0] = args; | |
5eb8189c | 4311 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4312 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4313 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4314 | } |
5eb8189c | 4315 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4316 | { |
4317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4318 | { | |
5eb8189c RD |
4319 | wxAuiPaneInfo &_result_ref = (arg1)->Left(); |
4320 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4321 | } |
4322 | wxPyEndAllowThreads(__tstate); | |
4323 | if (PyErr_Occurred()) SWIG_fail; | |
4324 | } | |
4325 | { | |
4326 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4327 | } | |
4328 | return resultobj; | |
4329 | fail: | |
4330 | return NULL; | |
4331 | } | |
4332 | ||
4333 | ||
5eb8189c | 4334 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4335 | PyObject *resultobj = 0; |
5eb8189c RD |
4336 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4337 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4338 | void *argp1 = 0 ; |
4339 | int res1 = 0 ; | |
4340 | PyObject *swig_obj[1] ; | |
4341 | ||
4342 | if (!args) SWIG_fail; | |
4343 | swig_obj[0] = args; | |
5eb8189c | 4344 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4345 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4347 | } |
5eb8189c | 4348 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4349 | { |
4350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4351 | { | |
5eb8189c RD |
4352 | wxAuiPaneInfo &_result_ref = (arg1)->Right(); |
4353 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4354 | } |
4355 | wxPyEndAllowThreads(__tstate); | |
4356 | if (PyErr_Occurred()) SWIG_fail; | |
4357 | } | |
4358 | { | |
4359 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4360 | } | |
4361 | return resultobj; | |
4362 | fail: | |
4363 | return NULL; | |
4364 | } | |
4365 | ||
4366 | ||
5eb8189c | 4367 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4368 | PyObject *resultobj = 0; |
5eb8189c RD |
4369 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4370 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4371 | void *argp1 = 0 ; |
4372 | int res1 = 0 ; | |
4373 | PyObject *swig_obj[1] ; | |
4374 | ||
4375 | if (!args) SWIG_fail; | |
4376 | swig_obj[0] = args; | |
5eb8189c | 4377 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4378 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4379 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4380 | } |
5eb8189c | 4381 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4382 | { |
4383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4384 | { | |
5eb8189c RD |
4385 | wxAuiPaneInfo &_result_ref = (arg1)->Top(); |
4386 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4387 | } |
4388 | wxPyEndAllowThreads(__tstate); | |
4389 | if (PyErr_Occurred()) SWIG_fail; | |
4390 | } | |
4391 | { | |
4392 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4393 | } | |
4394 | return resultobj; | |
4395 | fail: | |
4396 | return NULL; | |
4397 | } | |
4398 | ||
4399 | ||
5eb8189c | 4400 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4401 | PyObject *resultobj = 0; |
5eb8189c RD |
4402 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4403 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4404 | void *argp1 = 0 ; |
4405 | int res1 = 0 ; | |
4406 | PyObject *swig_obj[1] ; | |
4407 | ||
4408 | if (!args) SWIG_fail; | |
4409 | swig_obj[0] = args; | |
5eb8189c | 4410 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4411 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4412 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4413 | } |
5eb8189c | 4414 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4415 | { |
4416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4417 | { | |
5eb8189c RD |
4418 | wxAuiPaneInfo &_result_ref = (arg1)->Bottom(); |
4419 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4420 | } |
4421 | wxPyEndAllowThreads(__tstate); | |
4422 | if (PyErr_Occurred()) SWIG_fail; | |
4423 | } | |
4424 | { | |
4425 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4426 | } | |
4427 | return resultobj; | |
4428 | fail: | |
4429 | return NULL; | |
4430 | } | |
4431 | ||
4432 | ||
5eb8189c | 4433 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4434 | PyObject *resultobj = 0; |
5eb8189c RD |
4435 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4436 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4437 | void *argp1 = 0 ; |
4438 | int res1 = 0 ; | |
4439 | PyObject *swig_obj[1] ; | |
4440 | ||
4441 | if (!args) SWIG_fail; | |
4442 | swig_obj[0] = args; | |
5eb8189c | 4443 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4444 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4445 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4446 | } |
5eb8189c | 4447 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4448 | { |
4449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4450 | { | |
5eb8189c RD |
4451 | wxAuiPaneInfo &_result_ref = (arg1)->Center(); |
4452 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4453 | } |
4454 | wxPyEndAllowThreads(__tstate); | |
4455 | if (PyErr_Occurred()) SWIG_fail; | |
4456 | } | |
4457 | { | |
4458 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4459 | } | |
4460 | return resultobj; | |
4461 | fail: | |
4462 | return NULL; | |
4463 | } | |
4464 | ||
4465 | ||
5eb8189c | 4466 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4467 | PyObject *resultobj = 0; |
5eb8189c RD |
4468 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4469 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4470 | void *argp1 = 0 ; |
4471 | int res1 = 0 ; | |
4472 | PyObject *swig_obj[1] ; | |
4473 | ||
4474 | if (!args) SWIG_fail; | |
4475 | swig_obj[0] = args; | |
5eb8189c | 4476 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4477 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4478 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4479 | } |
5eb8189c | 4480 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4481 | { |
4482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4483 | { | |
5eb8189c RD |
4484 | wxAuiPaneInfo &_result_ref = (arg1)->Centre(); |
4485 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4486 | } |
4487 | wxPyEndAllowThreads(__tstate); | |
4488 | if (PyErr_Occurred()) SWIG_fail; | |
4489 | } | |
4490 | { | |
4491 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4492 | } | |
4493 | return resultobj; | |
4494 | fail: | |
4495 | return NULL; | |
4496 | } | |
4497 | ||
4498 | ||
5eb8189c | 4499 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4500 | PyObject *resultobj = 0; |
5eb8189c | 4501 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4502 | int arg2 ; |
5eb8189c | 4503 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4504 | void *argp1 = 0 ; |
4505 | int res1 = 0 ; | |
4506 | int val2 ; | |
4507 | int ecode2 = 0 ; | |
4508 | PyObject * obj0 = 0 ; | |
4509 | PyObject * obj1 = 0 ; | |
4510 | char * kwnames[] = { | |
4511 | (char *) "self",(char *) "direction", NULL | |
4512 | }; | |
4513 | ||
5eb8189c RD |
4514 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; |
4515 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4516 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4517 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4518 | } |
5eb8189c | 4519 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4520 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4521 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4522 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4523 | } |
4524 | arg2 = static_cast< int >(val2); | |
4525 | { | |
4526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4527 | { | |
5eb8189c RD |
4528 | wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2); |
4529 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4530 | } |
4531 | wxPyEndAllowThreads(__tstate); | |
4532 | if (PyErr_Occurred()) SWIG_fail; | |
4533 | } | |
4534 | { | |
4535 | resultobj = obj0; Py_INCREF(resultobj); | |
4536 | } | |
4537 | return resultobj; | |
4538 | fail: | |
4539 | return NULL; | |
4540 | } | |
4541 | ||
4542 | ||
5eb8189c | 4543 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4544 | PyObject *resultobj = 0; |
5eb8189c | 4545 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4546 | int arg2 ; |
5eb8189c | 4547 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4548 | void *argp1 = 0 ; |
4549 | int res1 = 0 ; | |
4550 | int val2 ; | |
4551 | int ecode2 = 0 ; | |
4552 | PyObject * obj0 = 0 ; | |
4553 | PyObject * obj1 = 0 ; | |
4554 | char * kwnames[] = { | |
4555 | (char *) "self",(char *) "layer", NULL | |
4556 | }; | |
4557 | ||
5eb8189c RD |
4558 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; |
4559 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4560 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4561 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4562 | } |
5eb8189c | 4563 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4564 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4565 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4566 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4567 | } |
4568 | arg2 = static_cast< int >(val2); | |
4569 | { | |
4570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4571 | { | |
5eb8189c RD |
4572 | wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2); |
4573 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4574 | } |
4575 | wxPyEndAllowThreads(__tstate); | |
4576 | if (PyErr_Occurred()) SWIG_fail; | |
4577 | } | |
4578 | { | |
4579 | resultobj = obj0; Py_INCREF(resultobj); | |
4580 | } | |
4581 | return resultobj; | |
4582 | fail: | |
4583 | return NULL; | |
4584 | } | |
4585 | ||
4586 | ||
5eb8189c | 4587 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4588 | PyObject *resultobj = 0; |
5eb8189c | 4589 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4590 | int arg2 ; |
5eb8189c | 4591 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4592 | void *argp1 = 0 ; |
4593 | int res1 = 0 ; | |
4594 | int val2 ; | |
4595 | int ecode2 = 0 ; | |
4596 | PyObject * obj0 = 0 ; | |
4597 | PyObject * obj1 = 0 ; | |
4598 | char * kwnames[] = { | |
4599 | (char *) "self",(char *) "row", NULL | |
4600 | }; | |
4601 | ||
5eb8189c RD |
4602 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; |
4603 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4604 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4605 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4606 | } |
5eb8189c | 4607 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4608 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4609 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4610 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4611 | } |
4612 | arg2 = static_cast< int >(val2); | |
4613 | { | |
4614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4615 | { | |
5eb8189c RD |
4616 | wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2); |
4617 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4618 | } |
4619 | wxPyEndAllowThreads(__tstate); | |
4620 | if (PyErr_Occurred()) SWIG_fail; | |
4621 | } | |
4622 | { | |
4623 | resultobj = obj0; Py_INCREF(resultobj); | |
4624 | } | |
4625 | return resultobj; | |
4626 | fail: | |
4627 | return NULL; | |
4628 | } | |
4629 | ||
4630 | ||
5eb8189c | 4631 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4632 | PyObject *resultobj = 0; |
5eb8189c | 4633 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4634 | int arg2 ; |
5eb8189c | 4635 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4636 | void *argp1 = 0 ; |
4637 | int res1 = 0 ; | |
4638 | int val2 ; | |
4639 | int ecode2 = 0 ; | |
4640 | PyObject * obj0 = 0 ; | |
4641 | PyObject * obj1 = 0 ; | |
4642 | char * kwnames[] = { | |
4643 | (char *) "self",(char *) "pos", NULL | |
4644 | }; | |
4645 | ||
5eb8189c RD |
4646 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; |
4647 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4648 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4649 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4650 | } |
5eb8189c | 4651 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4652 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4653 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4654 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4655 | } |
4656 | arg2 = static_cast< int >(val2); | |
4657 | { | |
4658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4659 | { | |
5eb8189c RD |
4660 | wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2); |
4661 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4662 | } |
4663 | wxPyEndAllowThreads(__tstate); | |
4664 | if (PyErr_Occurred()) SWIG_fail; | |
4665 | } | |
4666 | { | |
4667 | resultobj = obj0; Py_INCREF(resultobj); | |
4668 | } | |
4669 | return resultobj; | |
4670 | fail: | |
4671 | return NULL; | |
4672 | } | |
4673 | ||
4674 | ||
5eb8189c | 4675 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4676 | PyObject *resultobj = 0; |
5eb8189c | 4677 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4678 | wxSize *arg2 = 0 ; |
5eb8189c | 4679 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4680 | void *argp1 = 0 ; |
4681 | int res1 = 0 ; | |
4682 | wxSize temp2 ; | |
4683 | PyObject * obj0 = 0 ; | |
4684 | PyObject * obj1 = 0 ; | |
4685 | char * kwnames[] = { | |
4686 | (char *) "self",(char *) "size", NULL | |
4687 | }; | |
4688 | ||
5eb8189c RD |
4689 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4690 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4691 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4692 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4693 | } |
5eb8189c | 4694 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4695 | { |
4696 | arg2 = &temp2; | |
4697 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4698 | } | |
4699 | { | |
4700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4701 | { | |
5eb8189c RD |
4702 | wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); |
4703 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4704 | } |
4705 | wxPyEndAllowThreads(__tstate); | |
4706 | if (PyErr_Occurred()) SWIG_fail; | |
4707 | } | |
4708 | { | |
4709 | resultobj = obj0; Py_INCREF(resultobj); | |
4710 | } | |
4711 | return resultobj; | |
4712 | fail: | |
4713 | return NULL; | |
4714 | } | |
4715 | ||
4716 | ||
5eb8189c | 4717 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4718 | PyObject *resultobj = 0; |
5eb8189c | 4719 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4720 | wxSize *arg2 = 0 ; |
5eb8189c | 4721 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4722 | void *argp1 = 0 ; |
4723 | int res1 = 0 ; | |
4724 | wxSize temp2 ; | |
4725 | PyObject * obj0 = 0 ; | |
4726 | PyObject * obj1 = 0 ; | |
4727 | char * kwnames[] = { | |
4728 | (char *) "self",(char *) "size", NULL | |
4729 | }; | |
4730 | ||
5eb8189c RD |
4731 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4732 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4733 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4734 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4735 | } |
5eb8189c | 4736 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4737 | { |
4738 | arg2 = &temp2; | |
4739 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4740 | } | |
4741 | { | |
4742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4743 | { | |
5eb8189c RD |
4744 | wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); |
4745 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4746 | } |
4747 | wxPyEndAllowThreads(__tstate); | |
4748 | if (PyErr_Occurred()) SWIG_fail; | |
4749 | } | |
4750 | { | |
4751 | resultobj = obj0; Py_INCREF(resultobj); | |
4752 | } | |
4753 | return resultobj; | |
4754 | fail: | |
4755 | return NULL; | |
4756 | } | |
4757 | ||
4758 | ||
5eb8189c | 4759 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4760 | PyObject *resultobj = 0; |
5eb8189c | 4761 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4762 | wxSize *arg2 = 0 ; |
5eb8189c | 4763 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4764 | void *argp1 = 0 ; |
4765 | int res1 = 0 ; | |
4766 | wxSize temp2 ; | |
4767 | PyObject * obj0 = 0 ; | |
4768 | PyObject * obj1 = 0 ; | |
4769 | char * kwnames[] = { | |
4770 | (char *) "self",(char *) "size", NULL | |
4771 | }; | |
4772 | ||
5eb8189c RD |
4773 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4774 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4775 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4776 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4777 | } |
5eb8189c | 4778 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4779 | { |
4780 | arg2 = &temp2; | |
4781 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4782 | } | |
4783 | { | |
4784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4785 | { | |
5eb8189c RD |
4786 | wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); |
4787 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4788 | } |
4789 | wxPyEndAllowThreads(__tstate); | |
4790 | if (PyErr_Occurred()) SWIG_fail; | |
4791 | } | |
4792 | { | |
4793 | resultobj = obj0; Py_INCREF(resultobj); | |
4794 | } | |
4795 | return resultobj; | |
4796 | fail: | |
4797 | return NULL; | |
4798 | } | |
4799 | ||
4800 | ||
5eb8189c | 4801 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4802 | PyObject *resultobj = 0; |
5eb8189c | 4803 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4804 | wxPoint *arg2 = 0 ; |
5eb8189c | 4805 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4806 | void *argp1 = 0 ; |
4807 | int res1 = 0 ; | |
4808 | wxPoint temp2 ; | |
4809 | PyObject * obj0 = 0 ; | |
4810 | PyObject * obj1 = 0 ; | |
4811 | char * kwnames[] = { | |
4812 | (char *) "self",(char *) "pos", NULL | |
4813 | }; | |
4814 | ||
5eb8189c RD |
4815 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; |
4816 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4817 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4818 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4819 | } |
5eb8189c | 4820 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4821 | { |
4822 | arg2 = &temp2; | |
4823 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4824 | } | |
4825 | { | |
4826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4827 | { | |
5eb8189c RD |
4828 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); |
4829 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4830 | } |
4831 | wxPyEndAllowThreads(__tstate); | |
4832 | if (PyErr_Occurred()) SWIG_fail; | |
4833 | } | |
4834 | { | |
4835 | resultobj = obj0; Py_INCREF(resultobj); | |
4836 | } | |
4837 | return resultobj; | |
4838 | fail: | |
4839 | return NULL; | |
4840 | } | |
4841 | ||
4842 | ||
5eb8189c | 4843 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4844 | PyObject *resultobj = 0; |
5eb8189c | 4845 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4846 | wxSize *arg2 = 0 ; |
5eb8189c | 4847 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4848 | void *argp1 = 0 ; |
4849 | int res1 = 0 ; | |
4850 | wxSize temp2 ; | |
4851 | PyObject * obj0 = 0 ; | |
4852 | PyObject * obj1 = 0 ; | |
4853 | char * kwnames[] = { | |
4854 | (char *) "self",(char *) "size", NULL | |
4855 | }; | |
4856 | ||
5eb8189c RD |
4857 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4858 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4859 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4860 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4861 | } |
5eb8189c | 4862 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4863 | { |
4864 | arg2 = &temp2; | |
4865 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4866 | } | |
4867 | { | |
4868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4869 | { | |
5eb8189c RD |
4870 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); |
4871 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4872 | } |
4873 | wxPyEndAllowThreads(__tstate); | |
4874 | if (PyErr_Occurred()) SWIG_fail; | |
4875 | } | |
4876 | { | |
4877 | resultobj = obj0; Py_INCREF(resultobj); | |
4878 | } | |
4879 | return resultobj; | |
4880 | fail: | |
4881 | return NULL; | |
4882 | } | |
4883 | ||
4884 | ||
5eb8189c | 4885 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4886 | PyObject *resultobj = 0; |
5eb8189c RD |
4887 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4888 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4889 | void *argp1 = 0 ; |
4890 | int res1 = 0 ; | |
4891 | PyObject *swig_obj[1] ; | |
4892 | ||
4893 | if (!args) SWIG_fail; | |
4894 | swig_obj[0] = args; | |
5eb8189c | 4895 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4896 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4897 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4898 | } |
5eb8189c | 4899 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4900 | { |
4901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4902 | { | |
5eb8189c RD |
4903 | wxAuiPaneInfo &_result_ref = (arg1)->Fixed(); |
4904 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4905 | } |
4906 | wxPyEndAllowThreads(__tstate); | |
4907 | if (PyErr_Occurred()) SWIG_fail; | |
4908 | } | |
4909 | { | |
4910 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4911 | } | |
4912 | return resultobj; | |
4913 | fail: | |
4914 | return NULL; | |
4915 | } | |
4916 | ||
4917 | ||
5eb8189c | 4918 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4919 | PyObject *resultobj = 0; |
5eb8189c | 4920 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4921 | bool arg2 = (bool) true ; |
5eb8189c | 4922 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4923 | void *argp1 = 0 ; |
4924 | int res1 = 0 ; | |
4925 | bool val2 ; | |
4926 | int ecode2 = 0 ; | |
4927 | PyObject * obj0 = 0 ; | |
4928 | PyObject * obj1 = 0 ; | |
4929 | char * kwnames[] = { | |
4930 | (char *) "self",(char *) "resizable", NULL | |
4931 | }; | |
4932 | ||
5eb8189c RD |
4933 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; |
4934 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4935 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4936 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4937 | } |
5eb8189c | 4938 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4939 | if (obj1) { |
4940 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4941 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4942 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
4943 | } |
4944 | arg2 = static_cast< bool >(val2); | |
4945 | } | |
4946 | { | |
4947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4948 | { | |
5eb8189c RD |
4949 | wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2); |
4950 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4951 | } |
4952 | wxPyEndAllowThreads(__tstate); | |
4953 | if (PyErr_Occurred()) SWIG_fail; | |
4954 | } | |
4955 | { | |
4956 | resultobj = obj0; Py_INCREF(resultobj); | |
4957 | } | |
4958 | return resultobj; | |
4959 | fail: | |
4960 | return NULL; | |
4961 | } | |
4962 | ||
4963 | ||
5eb8189c | 4964 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4965 | PyObject *resultobj = 0; |
5eb8189c RD |
4966 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4967 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4968 | void *argp1 = 0 ; |
4969 | int res1 = 0 ; | |
4970 | PyObject *swig_obj[1] ; | |
4971 | ||
4972 | if (!args) SWIG_fail; | |
4973 | swig_obj[0] = args; | |
5eb8189c | 4974 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4975 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4976 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4977 | } |
5eb8189c | 4978 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4979 | { |
4980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4981 | { | |
5eb8189c RD |
4982 | wxAuiPaneInfo &_result_ref = (arg1)->Dock(); |
4983 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4984 | } |
4985 | wxPyEndAllowThreads(__tstate); | |
4986 | if (PyErr_Occurred()) SWIG_fail; | |
4987 | } | |
4988 | { | |
4989 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4990 | } | |
4991 | return resultobj; | |
4992 | fail: | |
4993 | return NULL; | |
4994 | } | |
4995 | ||
4996 | ||
5eb8189c | 4997 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4998 | PyObject *resultobj = 0; |
5eb8189c RD |
4999 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5000 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5001 | void *argp1 = 0 ; |
5002 | int res1 = 0 ; | |
5003 | PyObject *swig_obj[1] ; | |
5004 | ||
5005 | if (!args) SWIG_fail; | |
5006 | swig_obj[0] = args; | |
5eb8189c | 5007 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5008 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5009 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5010 | } |
5eb8189c | 5011 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5012 | { |
5013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5014 | { | |
5eb8189c RD |
5015 | wxAuiPaneInfo &_result_ref = (arg1)->Float(); |
5016 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5017 | } |
5018 | wxPyEndAllowThreads(__tstate); | |
5019 | if (PyErr_Occurred()) SWIG_fail; | |
5020 | } | |
5021 | { | |
5022 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5023 | } | |
5024 | return resultobj; | |
5025 | fail: | |
5026 | return NULL; | |
5027 | } | |
5028 | ||
5029 | ||
5eb8189c | 5030 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5031 | PyObject *resultobj = 0; |
5eb8189c RD |
5032 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5033 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5034 | void *argp1 = 0 ; |
5035 | int res1 = 0 ; | |
5036 | PyObject *swig_obj[1] ; | |
5037 | ||
5038 | if (!args) SWIG_fail; | |
5039 | swig_obj[0] = args; | |
5eb8189c | 5040 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5041 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5042 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5043 | } |
5eb8189c | 5044 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5045 | { |
5046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5047 | { | |
5eb8189c RD |
5048 | wxAuiPaneInfo &_result_ref = (arg1)->Hide(); |
5049 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5050 | } |
5051 | wxPyEndAllowThreads(__tstate); | |
5052 | if (PyErr_Occurred()) SWIG_fail; | |
5053 | } | |
5054 | { | |
5055 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5056 | } | |
5057 | return resultobj; | |
5058 | fail: | |
5059 | return NULL; | |
5060 | } | |
5061 | ||
5062 | ||
5eb8189c | 5063 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5064 | PyObject *resultobj = 0; |
5eb8189c | 5065 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5066 | bool arg2 = (bool) true ; |
5eb8189c | 5067 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5068 | void *argp1 = 0 ; |
5069 | int res1 = 0 ; | |
5070 | bool val2 ; | |
5071 | int ecode2 = 0 ; | |
5072 | PyObject * obj0 = 0 ; | |
5073 | PyObject * obj1 = 0 ; | |
5074 | char * kwnames[] = { | |
5075 | (char *) "self",(char *) "show", NULL | |
5076 | }; | |
5077 | ||
5eb8189c RD |
5078 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; |
5079 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5080 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5081 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5082 | } |
5eb8189c | 5083 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5084 | if (obj1) { |
5085 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5086 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5087 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5088 | } |
5089 | arg2 = static_cast< bool >(val2); | |
5090 | } | |
5091 | { | |
5092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5093 | { | |
5eb8189c RD |
5094 | wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2); |
5095 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5096 | } |
5097 | wxPyEndAllowThreads(__tstate); | |
5098 | if (PyErr_Occurred()) SWIG_fail; | |
5099 | } | |
5100 | { | |
5101 | resultobj = obj0; Py_INCREF(resultobj); | |
5102 | } | |
5103 | return resultobj; | |
5104 | fail: | |
5105 | return NULL; | |
5106 | } | |
5107 | ||
5108 | ||
5eb8189c | 5109 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5110 | PyObject *resultobj = 0; |
5eb8189c | 5111 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5112 | bool arg2 = (bool) true ; |
5eb8189c | 5113 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5114 | void *argp1 = 0 ; |
5115 | int res1 = 0 ; | |
5116 | bool val2 ; | |
5117 | int ecode2 = 0 ; | |
5118 | PyObject * obj0 = 0 ; | |
5119 | PyObject * obj1 = 0 ; | |
5120 | char * kwnames[] = { | |
5121 | (char *) "self",(char *) "visible", NULL | |
5122 | }; | |
5123 | ||
5eb8189c RD |
5124 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
5125 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5126 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5127 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5128 | } |
5eb8189c | 5129 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5130 | if (obj1) { |
5131 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5132 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5133 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5134 | } |
5135 | arg2 = static_cast< bool >(val2); | |
5136 | } | |
5137 | { | |
5138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5139 | { | |
5eb8189c RD |
5140 | wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); |
5141 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5142 | } |
5143 | wxPyEndAllowThreads(__tstate); | |
5144 | if (PyErr_Occurred()) SWIG_fail; | |
5145 | } | |
5146 | { | |
5147 | resultobj = obj0; Py_INCREF(resultobj); | |
5148 | } | |
5149 | return resultobj; | |
5150 | fail: | |
5151 | return NULL; | |
5152 | } | |
5153 | ||
5154 | ||
5eb8189c RD |
5155 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5156 | PyObject *resultobj = 0; | |
5157 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5158 | wxAuiPaneInfo *result = 0 ; | |
5159 | void *argp1 = 0 ; | |
5160 | int res1 = 0 ; | |
5161 | PyObject *swig_obj[1] ; | |
5162 | ||
5163 | if (!args) SWIG_fail; | |
5164 | swig_obj[0] = args; | |
5165 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5166 | if (!SWIG_IsOK(res1)) { | |
5167 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5168 | } | |
5169 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5170 | { | |
5171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172 | { | |
5173 | wxAuiPaneInfo &_result_ref = (arg1)->Maximize(); | |
5174 | result = (wxAuiPaneInfo *) &_result_ref; | |
5175 | } | |
5176 | wxPyEndAllowThreads(__tstate); | |
5177 | if (PyErr_Occurred()) SWIG_fail; | |
5178 | } | |
5179 | { | |
5180 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5181 | } | |
5182 | return resultobj; | |
5183 | fail: | |
5184 | return NULL; | |
5185 | } | |
5186 | ||
5187 | ||
5188 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 5189 | PyObject *resultobj = 0; |
5eb8189c RD |
5190 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5191 | wxAuiPaneInfo *result = 0 ; | |
5192 | void *argp1 = 0 ; | |
5193 | int res1 = 0 ; | |
5194 | PyObject *swig_obj[1] ; | |
5195 | ||
5196 | if (!args) SWIG_fail; | |
5197 | swig_obj[0] = args; | |
5198 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5199 | if (!SWIG_IsOK(res1)) { | |
5200 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5201 | } | |
5202 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5203 | { | |
5204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5205 | { | |
5206 | wxAuiPaneInfo &_result_ref = (arg1)->Restore(); | |
5207 | result = (wxAuiPaneInfo *) &_result_ref; | |
5208 | } | |
5209 | wxPyEndAllowThreads(__tstate); | |
5210 | if (PyErr_Occurred()) SWIG_fail; | |
5211 | } | |
5212 | { | |
5213 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5214 | } | |
5215 | return resultobj; | |
5216 | fail: | |
5217 | return NULL; | |
5218 | } | |
5219 | ||
5220 | ||
5221 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5222 | PyObject *resultobj = 0; | |
5223 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5224 | bool arg2 = (bool) true ; |
5eb8189c | 5225 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5226 | void *argp1 = 0 ; |
5227 | int res1 = 0 ; | |
5228 | bool val2 ; | |
5229 | int ecode2 = 0 ; | |
5230 | PyObject * obj0 = 0 ; | |
5231 | PyObject * obj1 = 0 ; | |
5232 | char * kwnames[] = { | |
5233 | (char *) "self",(char *) "visible", NULL | |
5234 | }; | |
5235 | ||
5eb8189c RD |
5236 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; |
5237 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5238 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5239 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5240 | } |
5eb8189c | 5241 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5242 | if (obj1) { |
5243 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5244 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5245 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5246 | } |
5247 | arg2 = static_cast< bool >(val2); | |
5248 | } | |
5249 | { | |
5250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5251 | { | |
5eb8189c RD |
5252 | wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); |
5253 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5254 | } |
5255 | wxPyEndAllowThreads(__tstate); | |
5256 | if (PyErr_Occurred()) SWIG_fail; | |
5257 | } | |
5258 | { | |
5259 | resultobj = obj0; Py_INCREF(resultobj); | |
5260 | } | |
5261 | return resultobj; | |
5262 | fail: | |
5263 | return NULL; | |
5264 | } | |
5265 | ||
5266 | ||
5eb8189c | 5267 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5268 | PyObject *resultobj = 0; |
5eb8189c | 5269 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5270 | bool arg2 = (bool) true ; |
5eb8189c | 5271 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5272 | void *argp1 = 0 ; |
5273 | int res1 = 0 ; | |
5274 | bool val2 ; | |
5275 | int ecode2 = 0 ; | |
5276 | PyObject * obj0 = 0 ; | |
5277 | PyObject * obj1 = 0 ; | |
5278 | char * kwnames[] = { | |
5279 | (char *) "self",(char *) "visible", NULL | |
5280 | }; | |
5281 | ||
5eb8189c RD |
5282 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; |
5283 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5284 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5285 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5286 | } |
5eb8189c | 5287 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5288 | if (obj1) { |
5289 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5290 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5291 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5292 | } |
5293 | arg2 = static_cast< bool >(val2); | |
5294 | } | |
5295 | { | |
5296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5297 | { | |
5eb8189c RD |
5298 | wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2); |
5299 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5300 | } |
5301 | wxPyEndAllowThreads(__tstate); | |
5302 | if (PyErr_Occurred()) SWIG_fail; | |
5303 | } | |
5304 | { | |
5305 | resultobj = obj0; Py_INCREF(resultobj); | |
5306 | } | |
5307 | return resultobj; | |
5308 | fail: | |
5309 | return NULL; | |
5310 | } | |
5311 | ||
5312 | ||
5eb8189c | 5313 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5314 | PyObject *resultobj = 0; |
5eb8189c | 5315 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5316 | bool arg2 = (bool) true ; |
5eb8189c | 5317 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5318 | void *argp1 = 0 ; |
5319 | int res1 = 0 ; | |
5320 | bool val2 ; | |
5321 | int ecode2 = 0 ; | |
5322 | PyObject * obj0 = 0 ; | |
5323 | PyObject * obj1 = 0 ; | |
5324 | char * kwnames[] = { | |
5325 | (char *) "self",(char *) "attop", NULL | |
5326 | }; | |
5327 | ||
5eb8189c RD |
5328 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; |
5329 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5330 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5331 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5332 | } |
5eb8189c | 5333 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5334 | if (obj1) { |
5335 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5336 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5337 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5338 | } |
5339 | arg2 = static_cast< bool >(val2); | |
5340 | } | |
5341 | { | |
5342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5343 | { | |
5eb8189c RD |
5344 | wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2); |
5345 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5346 | } |
5347 | wxPyEndAllowThreads(__tstate); | |
5348 | if (PyErr_Occurred()) SWIG_fail; | |
5349 | } | |
5350 | { | |
5351 | resultobj = obj0; Py_INCREF(resultobj); | |
5352 | } | |
5353 | return resultobj; | |
5354 | fail: | |
5355 | return NULL; | |
5356 | } | |
5357 | ||
5358 | ||
5eb8189c | 5359 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5360 | PyObject *resultobj = 0; |
5eb8189c | 5361 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5362 | bool arg2 = (bool) true ; |
5eb8189c | 5363 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5364 | void *argp1 = 0 ; |
5365 | int res1 = 0 ; | |
5366 | bool val2 ; | |
5367 | int ecode2 = 0 ; | |
5368 | PyObject * obj0 = 0 ; | |
5369 | PyObject * obj1 = 0 ; | |
5370 | char * kwnames[] = { | |
5371 | (char *) "self",(char *) "visible", NULL | |
5372 | }; | |
5373 | ||
5eb8189c RD |
5374 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5375 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5376 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5377 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5378 | } |
5eb8189c | 5379 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5380 | if (obj1) { |
5381 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5382 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5383 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5384 | } |
5385 | arg2 = static_cast< bool >(val2); | |
5386 | } | |
5387 | { | |
5388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5389 | { | |
5eb8189c RD |
5390 | wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2); |
5391 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5392 | } |
5393 | wxPyEndAllowThreads(__tstate); | |
5394 | if (PyErr_Occurred()) SWIG_fail; | |
5395 | } | |
5396 | { | |
5397 | resultobj = obj0; Py_INCREF(resultobj); | |
5398 | } | |
5399 | return resultobj; | |
5400 | fail: | |
5401 | return NULL; | |
5402 | } | |
5403 | ||
5404 | ||
5eb8189c | 5405 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5406 | PyObject *resultobj = 0; |
5eb8189c | 5407 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5408 | bool arg2 = (bool) true ; |
5eb8189c | 5409 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5410 | void *argp1 = 0 ; |
5411 | int res1 = 0 ; | |
5412 | bool val2 ; | |
5413 | int ecode2 = 0 ; | |
5414 | PyObject * obj0 = 0 ; | |
5415 | PyObject * obj1 = 0 ; | |
5416 | char * kwnames[] = { | |
5417 | (char *) "self",(char *) "visible", NULL | |
5418 | }; | |
5419 | ||
5eb8189c RD |
5420 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5421 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5422 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5423 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5424 | } |
5eb8189c | 5425 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5426 | if (obj1) { |
5427 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5428 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5429 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5430 | } |
5431 | arg2 = static_cast< bool >(val2); | |
5432 | } | |
5433 | { | |
5434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5435 | { | |
5eb8189c RD |
5436 | wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); |
5437 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5438 | } |
5439 | wxPyEndAllowThreads(__tstate); | |
5440 | if (PyErr_Occurred()) SWIG_fail; | |
5441 | } | |
5442 | { | |
5443 | resultobj = obj0; Py_INCREF(resultobj); | |
5444 | } | |
5445 | return resultobj; | |
5446 | fail: | |
5447 | return NULL; | |
5448 | } | |
5449 | ||
5450 | ||
5eb8189c | 5451 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5452 | PyObject *resultobj = 0; |
5eb8189c | 5453 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5454 | bool arg2 = (bool) true ; |
5eb8189c | 5455 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5456 | void *argp1 = 0 ; |
5457 | int res1 = 0 ; | |
5458 | bool val2 ; | |
5459 | int ecode2 = 0 ; | |
5460 | PyObject * obj0 = 0 ; | |
5461 | PyObject * obj1 = 0 ; | |
5462 | char * kwnames[] = { | |
5463 | (char *) "self",(char *) "visible", NULL | |
5464 | }; | |
5465 | ||
5eb8189c RD |
5466 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5467 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5468 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5469 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5470 | } |
5eb8189c | 5471 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5472 | if (obj1) { |
5473 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5474 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5475 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5476 | } |
5477 | arg2 = static_cast< bool >(val2); | |
5478 | } | |
5479 | { | |
5480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5481 | { | |
5eb8189c RD |
5482 | wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); |
5483 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5484 | } |
5485 | wxPyEndAllowThreads(__tstate); | |
5486 | if (PyErr_Occurred()) SWIG_fail; | |
5487 | } | |
5488 | { | |
5489 | resultobj = obj0; Py_INCREF(resultobj); | |
5490 | } | |
5491 | return resultobj; | |
5492 | fail: | |
5493 | return NULL; | |
5494 | } | |
5495 | ||
5496 | ||
5eb8189c | 5497 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5498 | PyObject *resultobj = 0; |
5eb8189c | 5499 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5500 | bool arg2 = (bool) true ; |
5eb8189c | 5501 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5502 | void *argp1 = 0 ; |
5503 | int res1 = 0 ; | |
5504 | bool val2 ; | |
5505 | int ecode2 = 0 ; | |
5506 | PyObject * obj0 = 0 ; | |
5507 | PyObject * obj1 = 0 ; | |
5508 | char * kwnames[] = { | |
5509 | (char *) "self",(char *) "visible", NULL | |
5510 | }; | |
5511 | ||
5eb8189c RD |
5512 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5513 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5514 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5515 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5516 | } |
5eb8189c | 5517 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5518 | if (obj1) { |
5519 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5520 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5521 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5522 | } |
5523 | arg2 = static_cast< bool >(val2); | |
5524 | } | |
5525 | { | |
5526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5527 | { | |
5eb8189c RD |
5528 | wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2); |
5529 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5530 | } |
5531 | wxPyEndAllowThreads(__tstate); | |
5532 | if (PyErr_Occurred()) SWIG_fail; | |
5533 | } | |
5534 | { | |
5535 | resultobj = obj0; Py_INCREF(resultobj); | |
5536 | } | |
5537 | return resultobj; | |
5538 | fail: | |
5539 | return NULL; | |
5540 | } | |
5541 | ||
5542 | ||
5eb8189c | 5543 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5544 | PyObject *resultobj = 0; |
5eb8189c | 5545 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5546 | bool arg2 = (bool) true ; |
5eb8189c | 5547 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5548 | void *argp1 = 0 ; |
5549 | int res1 = 0 ; | |
5550 | bool val2 ; | |
5551 | int ecode2 = 0 ; | |
5552 | PyObject * obj0 = 0 ; | |
5553 | PyObject * obj1 = 0 ; | |
5554 | char * kwnames[] = { | |
5555 | (char *) "self",(char *) "b", NULL | |
5556 | }; | |
5557 | ||
5eb8189c RD |
5558 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; |
5559 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5560 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5561 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5562 | } |
5eb8189c | 5563 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5564 | if (obj1) { |
5565 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5566 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5567 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5568 | } |
5569 | arg2 = static_cast< bool >(val2); | |
5570 | } | |
5571 | { | |
5572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5573 | { | |
5eb8189c RD |
5574 | wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); |
5575 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5576 | } |
5577 | wxPyEndAllowThreads(__tstate); | |
5578 | if (PyErr_Occurred()) SWIG_fail; | |
5579 | } | |
5580 | { | |
5581 | resultobj = obj0; Py_INCREF(resultobj); | |
5582 | } | |
5583 | return resultobj; | |
5584 | fail: | |
5585 | return NULL; | |
5586 | } | |
5587 | ||
5588 | ||
5eb8189c | 5589 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5590 | PyObject *resultobj = 0; |
5eb8189c | 5591 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5592 | bool arg2 = (bool) true ; |
5eb8189c | 5593 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5594 | void *argp1 = 0 ; |
5595 | int res1 = 0 ; | |
5596 | bool val2 ; | |
5597 | int ecode2 = 0 ; | |
5598 | PyObject * obj0 = 0 ; | |
5599 | PyObject * obj1 = 0 ; | |
5600 | char * kwnames[] = { | |
5601 | (char *) "self",(char *) "b", NULL | |
5602 | }; | |
5603 | ||
5eb8189c RD |
5604 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5605 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5606 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5607 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5608 | } |
5eb8189c | 5609 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5610 | if (obj1) { |
5611 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5612 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5613 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5614 | } |
5615 | arg2 = static_cast< bool >(val2); | |
5616 | } | |
5617 | { | |
5618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5619 | { | |
5eb8189c RD |
5620 | wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2); |
5621 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5622 | } |
5623 | wxPyEndAllowThreads(__tstate); | |
5624 | if (PyErr_Occurred()) SWIG_fail; | |
5625 | } | |
5626 | { | |
5627 | resultobj = obj0; Py_INCREF(resultobj); | |
5628 | } | |
5629 | return resultobj; | |
5630 | fail: | |
5631 | return NULL; | |
5632 | } | |
5633 | ||
5634 | ||
5eb8189c | 5635 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5636 | PyObject *resultobj = 0; |
5eb8189c | 5637 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5638 | bool arg2 = (bool) true ; |
5eb8189c | 5639 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5640 | void *argp1 = 0 ; |
5641 | int res1 = 0 ; | |
5642 | bool val2 ; | |
5643 | int ecode2 = 0 ; | |
5644 | PyObject * obj0 = 0 ; | |
5645 | PyObject * obj1 = 0 ; | |
5646 | char * kwnames[] = { | |
5647 | (char *) "self",(char *) "b", NULL | |
5648 | }; | |
5649 | ||
5eb8189c RD |
5650 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5651 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5652 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5653 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5654 | } |
5eb8189c | 5655 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5656 | if (obj1) { |
5657 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5658 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5659 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5660 | } |
5661 | arg2 = static_cast< bool >(val2); | |
5662 | } | |
5663 | { | |
5664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5665 | { | |
5eb8189c RD |
5666 | wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); |
5667 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5668 | } |
5669 | wxPyEndAllowThreads(__tstate); | |
5670 | if (PyErr_Occurred()) SWIG_fail; | |
5671 | } | |
5672 | { | |
5673 | resultobj = obj0; Py_INCREF(resultobj); | |
5674 | } | |
5675 | return resultobj; | |
5676 | fail: | |
5677 | return NULL; | |
5678 | } | |
5679 | ||
5680 | ||
5eb8189c | 5681 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5682 | PyObject *resultobj = 0; |
5eb8189c | 5683 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5684 | bool arg2 = (bool) true ; |
5eb8189c | 5685 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5686 | void *argp1 = 0 ; |
5687 | int res1 = 0 ; | |
5688 | bool val2 ; | |
5689 | int ecode2 = 0 ; | |
5690 | PyObject * obj0 = 0 ; | |
5691 | PyObject * obj1 = 0 ; | |
5692 | char * kwnames[] = { | |
5693 | (char *) "self",(char *) "b", NULL | |
5694 | }; | |
5695 | ||
5eb8189c RD |
5696 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5697 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5698 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5699 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5700 | } |
5eb8189c | 5701 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5702 | if (obj1) { |
5703 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5704 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5705 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5706 | } |
5707 | arg2 = static_cast< bool >(val2); | |
5708 | } | |
5709 | { | |
5710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5711 | { | |
5eb8189c RD |
5712 | wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); |
5713 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5714 | } |
5715 | wxPyEndAllowThreads(__tstate); | |
5716 | if (PyErr_Occurred()) SWIG_fail; | |
5717 | } | |
5718 | { | |
5719 | resultobj = obj0; Py_INCREF(resultobj); | |
5720 | } | |
5721 | return resultobj; | |
5722 | fail: | |
5723 | return NULL; | |
5724 | } | |
5725 | ||
5726 | ||
5eb8189c | 5727 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5728 | PyObject *resultobj = 0; |
5eb8189c | 5729 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5730 | bool arg2 = (bool) true ; |
5eb8189c | 5731 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5732 | void *argp1 = 0 ; |
5733 | int res1 = 0 ; | |
5734 | bool val2 ; | |
5735 | int ecode2 = 0 ; | |
5736 | PyObject * obj0 = 0 ; | |
5737 | PyObject * obj1 = 0 ; | |
5738 | char * kwnames[] = { | |
5739 | (char *) "self",(char *) "b", NULL | |
5740 | }; | |
5741 | ||
5eb8189c RD |
5742 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5743 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5744 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5745 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5746 | } |
5eb8189c | 5747 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5748 | if (obj1) { |
5749 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5750 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5751 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5752 | } |
5753 | arg2 = static_cast< bool >(val2); | |
5754 | } | |
5755 | { | |
5756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5757 | { | |
5eb8189c RD |
5758 | wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2); |
5759 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5760 | } |
5761 | wxPyEndAllowThreads(__tstate); | |
5762 | if (PyErr_Occurred()) SWIG_fail; | |
5763 | } | |
5764 | { | |
5765 | resultobj = obj0; Py_INCREF(resultobj); | |
5766 | } | |
5767 | return resultobj; | |
5768 | fail: | |
5769 | return NULL; | |
5770 | } | |
5771 | ||
5772 | ||
5eb8189c | 5773 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5774 | PyObject *resultobj = 0; |
5eb8189c | 5775 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5776 | bool arg2 = (bool) true ; |
5eb8189c | 5777 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5778 | void *argp1 = 0 ; |
5779 | int res1 = 0 ; | |
5780 | bool val2 ; | |
5781 | int ecode2 = 0 ; | |
5782 | PyObject * obj0 = 0 ; | |
5783 | PyObject * obj1 = 0 ; | |
5784 | char * kwnames[] = { | |
5785 | (char *) "self",(char *) "b", NULL | |
5786 | }; | |
5787 | ||
5eb8189c RD |
5788 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; |
5789 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5790 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5791 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5792 | } |
5eb8189c | 5793 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5794 | if (obj1) { |
5795 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5796 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5797 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5798 | } |
5799 | arg2 = static_cast< bool >(val2); | |
5800 | } | |
5801 | { | |
5802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5803 | { | |
5eb8189c RD |
5804 | wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2); |
5805 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5806 | } |
5807 | wxPyEndAllowThreads(__tstate); | |
5808 | if (PyErr_Occurred()) SWIG_fail; | |
5809 | } | |
5810 | { | |
5811 | resultobj = obj0; Py_INCREF(resultobj); | |
5812 | } | |
5813 | return resultobj; | |
5814 | fail: | |
5815 | return NULL; | |
5816 | } | |
5817 | ||
5818 | ||
5eb8189c | 5819 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5820 | PyObject *resultobj = 0; |
5eb8189c | 5821 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5822 | bool arg2 = (bool) true ; |
5eb8189c | 5823 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5824 | void *argp1 = 0 ; |
5825 | int res1 = 0 ; | |
5826 | bool val2 ; | |
5827 | int ecode2 = 0 ; | |
5828 | PyObject * obj0 = 0 ; | |
5829 | PyObject * obj1 = 0 ; | |
5830 | char * kwnames[] = { | |
5831 | (char *) "self",(char *) "b", NULL | |
5832 | }; | |
5833 | ||
5eb8189c RD |
5834 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; |
5835 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5836 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5837 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5838 | } |
5eb8189c | 5839 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5840 | if (obj1) { |
5841 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5842 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5843 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5844 | } |
5845 | arg2 = static_cast< bool >(val2); | |
5846 | } | |
5847 | { | |
5848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5849 | { | |
5eb8189c RD |
5850 | wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2); |
5851 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5852 | } |
5853 | wxPyEndAllowThreads(__tstate); | |
5854 | if (PyErr_Occurred()) SWIG_fail; | |
5855 | } | |
5856 | { | |
5857 | resultobj = obj0; Py_INCREF(resultobj); | |
5858 | } | |
5859 | return resultobj; | |
5860 | fail: | |
5861 | return NULL; | |
5862 | } | |
5863 | ||
5864 | ||
5eb8189c RD |
5865 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5866 | PyObject *resultobj = 0; | |
5867 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5868 | bool arg2 = (bool) true ; |
5eb8189c | 5869 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5870 | void *argp1 = 0 ; |
5871 | int res1 = 0 ; | |
5872 | bool val2 ; | |
5873 | int ecode2 = 0 ; | |
5874 | PyObject * obj0 = 0 ; | |
5875 | PyObject * obj1 = 0 ; | |
5876 | char * kwnames[] = { | |
5877 | (char *) "self",(char *) "b", NULL | |
5878 | }; | |
5879 | ||
5eb8189c RD |
5880 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5881 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5882 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5883 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5884 | } |
5eb8189c | 5885 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5886 | if (obj1) { |
5887 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5888 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5889 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5890 | } |
5891 | arg2 = static_cast< bool >(val2); | |
5892 | } | |
5893 | { | |
5894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5895 | { | |
5eb8189c RD |
5896 | wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2); |
5897 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5898 | } |
5899 | wxPyEndAllowThreads(__tstate); | |
5900 | if (PyErr_Occurred()) SWIG_fail; | |
5901 | } | |
5902 | { | |
5903 | resultobj = obj0; Py_INCREF(resultobj); | |
5904 | } | |
5905 | return resultobj; | |
5906 | fail: | |
5907 | return NULL; | |
5908 | } | |
5909 | ||
5910 | ||
5eb8189c | 5911 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5912 | PyObject *resultobj = 0; |
5eb8189c RD |
5913 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5914 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5915 | void *argp1 = 0 ; |
5916 | int res1 = 0 ; | |
5917 | PyObject *swig_obj[1] ; | |
5918 | ||
5919 | if (!args) SWIG_fail; | |
5920 | swig_obj[0] = args; | |
5eb8189c | 5921 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5922 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5923 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5924 | } |
5eb8189c | 5925 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5926 | { |
5927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5928 | { | |
5eb8189c RD |
5929 | wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane(); |
5930 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5931 | } |
5932 | wxPyEndAllowThreads(__tstate); | |
5933 | if (PyErr_Occurred()) SWIG_fail; | |
5934 | } | |
5935 | { | |
5936 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5937 | } | |
5938 | return resultobj; | |
5939 | fail: | |
5940 | return NULL; | |
5941 | } | |
5942 | ||
5943 | ||
5eb8189c | 5944 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5945 | PyObject *resultobj = 0; |
5eb8189c RD |
5946 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5947 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5948 | void *argp1 = 0 ; |
5949 | int res1 = 0 ; | |
5950 | PyObject *swig_obj[1] ; | |
5951 | ||
5952 | if (!args) SWIG_fail; | |
5953 | swig_obj[0] = args; | |
5eb8189c | 5954 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5955 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5956 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5957 | } |
5eb8189c | 5958 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5959 | { |
5960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5961 | { | |
5eb8189c RD |
5962 | wxAuiPaneInfo &_result_ref = (arg1)->CentrePane(); |
5963 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5964 | } |
5965 | wxPyEndAllowThreads(__tstate); | |
5966 | if (PyErr_Occurred()) SWIG_fail; | |
5967 | } | |
5968 | { | |
5969 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5970 | } | |
5971 | return resultobj; | |
5972 | fail: | |
5973 | return NULL; | |
5974 | } | |
5975 | ||
5976 | ||
5eb8189c | 5977 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5978 | PyObject *resultobj = 0; |
5eb8189c RD |
5979 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5980 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5981 | void *argp1 = 0 ; |
5982 | int res1 = 0 ; | |
5983 | PyObject *swig_obj[1] ; | |
5984 | ||
5985 | if (!args) SWIG_fail; | |
5986 | swig_obj[0] = args; | |
5eb8189c | 5987 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5988 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5989 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5990 | } |
5eb8189c | 5991 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5992 | { |
5993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5994 | { | |
5eb8189c RD |
5995 | wxAuiPaneInfo &_result_ref = (arg1)->CenterPane(); |
5996 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5997 | } |
5998 | wxPyEndAllowThreads(__tstate); | |
5999 | if (PyErr_Occurred()) SWIG_fail; | |
6000 | } | |
6001 | { | |
6002 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6003 | } | |
6004 | return resultobj; | |
6005 | fail: | |
6006 | return NULL; | |
6007 | } | |
6008 | ||
6009 | ||
5eb8189c | 6010 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6011 | PyObject *resultobj = 0; |
5eb8189c RD |
6012 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6013 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
6014 | void *argp1 = 0 ; |
6015 | int res1 = 0 ; | |
6016 | PyObject *swig_obj[1] ; | |
6017 | ||
6018 | if (!args) SWIG_fail; | |
6019 | swig_obj[0] = args; | |
5eb8189c | 6020 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6021 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6022 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6023 | } |
5eb8189c | 6024 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6025 | { |
6026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6027 | { | |
5eb8189c RD |
6028 | wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane(); |
6029 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6030 | } |
6031 | wxPyEndAllowThreads(__tstate); | |
6032 | if (PyErr_Occurred()) SWIG_fail; | |
6033 | } | |
6034 | { | |
6035 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6036 | } | |
6037 | return resultobj; | |
6038 | fail: | |
6039 | return NULL; | |
6040 | } | |
6041 | ||
6042 | ||
5eb8189c | 6043 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6044 | PyObject *resultobj = 0; |
5eb8189c | 6045 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6046 | int arg2 ; |
6047 | bool arg3 ; | |
5eb8189c | 6048 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
6049 | void *argp1 = 0 ; |
6050 | int res1 = 0 ; | |
6051 | int val2 ; | |
6052 | int ecode2 = 0 ; | |
6053 | bool val3 ; | |
6054 | int ecode3 = 0 ; | |
6055 | PyObject * obj0 = 0 ; | |
6056 | PyObject * obj1 = 0 ; | |
6057 | PyObject * obj2 = 0 ; | |
6058 | char * kwnames[] = { | |
6059 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
6060 | }; | |
6061 | ||
5eb8189c RD |
6062 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
6063 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6064 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6065 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6066 | } |
5eb8189c | 6067 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6068 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6069 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6070 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6071 | } |
6072 | arg2 = static_cast< int >(val2); | |
6073 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
6074 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 6075 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
6076 | } |
6077 | arg3 = static_cast< bool >(val3); | |
6078 | { | |
6079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6080 | { | |
5eb8189c RD |
6081 | wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); |
6082 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6083 | } |
6084 | wxPyEndAllowThreads(__tstate); | |
6085 | if (PyErr_Occurred()) SWIG_fail; | |
6086 | } | |
6087 | { | |
6088 | resultobj = obj0; Py_INCREF(resultobj); | |
6089 | } | |
6090 | return resultobj; | |
6091 | fail: | |
6092 | return NULL; | |
6093 | } | |
6094 | ||
6095 | ||
5eb8189c | 6096 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6097 | PyObject *resultobj = 0; |
5eb8189c | 6098 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6099 | int arg2 ; |
6100 | bool result; | |
6101 | void *argp1 = 0 ; | |
6102 | int res1 = 0 ; | |
6103 | int val2 ; | |
6104 | int ecode2 = 0 ; | |
6105 | PyObject * obj0 = 0 ; | |
6106 | PyObject * obj1 = 0 ; | |
6107 | char * kwnames[] = { | |
6108 | (char *) "self",(char *) "flag", NULL | |
6109 | }; | |
6110 | ||
5eb8189c RD |
6111 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; |
6112 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6113 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6114 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 6115 | } |
5eb8189c | 6116 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6117 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6118 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6119 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6120 | } |
6121 | arg2 = static_cast< int >(val2); | |
6122 | { | |
6123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 6124 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2); |
27e45892 RD |
6125 | wxPyEndAllowThreads(__tstate); |
6126 | if (PyErr_Occurred()) SWIG_fail; | |
6127 | } | |
6128 | { | |
6129 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6130 | } | |
6131 | return resultobj; | |
6132 | fail: | |
6133 | return NULL; | |
6134 | } | |
6135 | ||
6136 | ||
5eb8189c | 6137 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6138 | PyObject *resultobj = 0; |
5eb8189c | 6139 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6140 | wxString *arg2 = (wxString *) 0 ; |
6141 | void *argp1 = 0 ; | |
6142 | int res1 = 0 ; | |
6143 | bool temp2 = false ; | |
6144 | PyObject *swig_obj[2] ; | |
6145 | ||
5eb8189c RD |
6146 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail; |
6147 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6148 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6149 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6150 | } |
5eb8189c | 6151 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6152 | { |
6153 | arg2 = wxString_in_helper(swig_obj[1]); | |
6154 | if (arg2 == NULL) SWIG_fail; | |
6155 | temp2 = true; | |
6156 | } | |
6157 | if (arg1) (arg1)->name = *arg2; | |
6158 | ||
6159 | resultobj = SWIG_Py_Void(); | |
6160 | { | |
6161 | if (temp2) | |
6162 | delete arg2; | |
6163 | } | |
6164 | return resultobj; | |
6165 | fail: | |
6166 | { | |
6167 | if (temp2) | |
6168 | delete arg2; | |
6169 | } | |
6170 | return NULL; | |
6171 | } | |
6172 | ||
6173 | ||
5eb8189c | 6174 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6175 | PyObject *resultobj = 0; |
5eb8189c | 6176 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6177 | wxString *result = 0 ; |
6178 | void *argp1 = 0 ; | |
6179 | int res1 = 0 ; | |
6180 | PyObject *swig_obj[1] ; | |
6181 | ||
6182 | if (!args) SWIG_fail; | |
6183 | swig_obj[0] = args; | |
5eb8189c | 6184 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6185 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6186 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6187 | } |
5eb8189c | 6188 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6189 | result = (wxString *)& ((arg1)->name); |
6190 | { | |
6191 | #if wxUSE_UNICODE | |
6192 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6193 | #else | |
6194 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6195 | #endif | |
6196 | } | |
6197 | return resultobj; | |
6198 | fail: | |
6199 | return NULL; | |
6200 | } | |
6201 | ||
6202 | ||
5eb8189c | 6203 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6204 | PyObject *resultobj = 0; |
5eb8189c | 6205 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6206 | wxString *arg2 = (wxString *) 0 ; |
6207 | void *argp1 = 0 ; | |
6208 | int res1 = 0 ; | |
6209 | bool temp2 = false ; | |
6210 | PyObject *swig_obj[2] ; | |
6211 | ||
5eb8189c RD |
6212 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; |
6213 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6214 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6215 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6216 | } |
5eb8189c | 6217 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6218 | { |
6219 | arg2 = wxString_in_helper(swig_obj[1]); | |
6220 | if (arg2 == NULL) SWIG_fail; | |
6221 | temp2 = true; | |
6222 | } | |
6223 | if (arg1) (arg1)->caption = *arg2; | |
6224 | ||
6225 | resultobj = SWIG_Py_Void(); | |
6226 | { | |
6227 | if (temp2) | |
6228 | delete arg2; | |
6229 | } | |
6230 | return resultobj; | |
6231 | fail: | |
6232 | { | |
6233 | if (temp2) | |
6234 | delete arg2; | |
6235 | } | |
6236 | return NULL; | |
6237 | } | |
6238 | ||
6239 | ||
5eb8189c | 6240 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6241 | PyObject *resultobj = 0; |
5eb8189c | 6242 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6243 | wxString *result = 0 ; |
6244 | void *argp1 = 0 ; | |
6245 | int res1 = 0 ; | |
6246 | PyObject *swig_obj[1] ; | |
6247 | ||
6248 | if (!args) SWIG_fail; | |
6249 | swig_obj[0] = args; | |
5eb8189c | 6250 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6251 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6252 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6253 | } |
5eb8189c | 6254 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6255 | result = (wxString *)& ((arg1)->caption); |
6256 | { | |
6257 | #if wxUSE_UNICODE | |
6258 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6259 | #else | |
6260 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6261 | #endif | |
6262 | } | |
6263 | return resultobj; | |
6264 | fail: | |
6265 | return NULL; | |
6266 | } | |
6267 | ||
6268 | ||
5eb8189c | 6269 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6270 | PyObject *resultobj = 0; |
5eb8189c | 6271 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6272 | wxWindow *arg2 = (wxWindow *) 0 ; |
6273 | void *argp1 = 0 ; | |
6274 | int res1 = 0 ; | |
6275 | void *argp2 = 0 ; | |
6276 | int res2 = 0 ; | |
6277 | PyObject *swig_obj[2] ; | |
6278 | ||
5eb8189c RD |
6279 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail; |
6280 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6281 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6282 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6283 | } |
5eb8189c | 6284 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6285 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); |
6286 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6287 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
6288 | } |
6289 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
6290 | if (arg1) (arg1)->window = arg2; | |
6291 | ||
6292 | resultobj = SWIG_Py_Void(); | |
6293 | return resultobj; | |
6294 | fail: | |
6295 | return NULL; | |
6296 | } | |
6297 | ||
6298 | ||
5eb8189c | 6299 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6300 | PyObject *resultobj = 0; |
5eb8189c | 6301 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6302 | wxWindow *result = 0 ; |
6303 | void *argp1 = 0 ; | |
6304 | int res1 = 0 ; | |
6305 | PyObject *swig_obj[1] ; | |
6306 | ||
6307 | if (!args) SWIG_fail; | |
6308 | swig_obj[0] = args; | |
5eb8189c | 6309 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6310 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6311 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6312 | } |
5eb8189c | 6313 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6314 | result = (wxWindow *) ((arg1)->window); |
6315 | { | |
6316 | resultobj = wxPyMake_wxObject(result, 0); | |
6317 | } | |
6318 | return resultobj; | |
6319 | fail: | |
6320 | return NULL; | |
6321 | } | |
6322 | ||
6323 | ||
5eb8189c | 6324 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6325 | PyObject *resultobj = 0; |
5eb8189c | 6326 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6327 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
6328 | void *argp1 = 0 ; |
6329 | int res1 = 0 ; | |
6330 | void *argp2 = 0 ; | |
6331 | int res2 = 0 ; | |
6332 | PyObject *swig_obj[2] ; | |
6333 | ||
5eb8189c RD |
6334 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; |
6335 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6336 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6337 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6338 | } |
5eb8189c | 6339 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6340 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6341 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6342 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6343 | } |
10044bf1 | 6344 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6345 | if (arg1) (arg1)->frame = arg2; |
6346 | ||
6347 | resultobj = SWIG_Py_Void(); | |
6348 | return resultobj; | |
6349 | fail: | |
6350 | return NULL; | |
6351 | } | |
6352 | ||
6353 | ||
5eb8189c | 6354 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6355 | PyObject *resultobj = 0; |
5eb8189c | 6356 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6357 | wxFrame *result = 0 ; |
27e45892 RD |
6358 | void *argp1 = 0 ; |
6359 | int res1 = 0 ; | |
6360 | PyObject *swig_obj[1] ; | |
6361 | ||
6362 | if (!args) SWIG_fail; | |
6363 | swig_obj[0] = args; | |
5eb8189c | 6364 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6365 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6366 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6367 | } |
5eb8189c | 6368 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6369 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6370 | { |
6371 | resultobj = wxPyMake_wxObject(result, 0); | |
6372 | } | |
6373 | return resultobj; | |
6374 | fail: | |
6375 | return NULL; | |
6376 | } | |
6377 | ||
6378 | ||
5eb8189c | 6379 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6380 | PyObject *resultobj = 0; |
5eb8189c | 6381 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6382 | int arg2 ; |
6383 | void *argp1 = 0 ; | |
6384 | int res1 = 0 ; | |
6385 | int val2 ; | |
6386 | int ecode2 = 0 ; | |
6387 | PyObject *swig_obj[2] ; | |
6388 | ||
5eb8189c RD |
6389 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail; |
6390 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6391 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6392 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6393 | } |
5eb8189c | 6394 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6395 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6396 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6397 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6398 | } |
6399 | arg2 = static_cast< int >(val2); | |
6400 | if (arg1) (arg1)->state = arg2; | |
6401 | ||
6402 | resultobj = SWIG_Py_Void(); | |
6403 | return resultobj; | |
6404 | fail: | |
6405 | return NULL; | |
6406 | } | |
6407 | ||
6408 | ||
5eb8189c | 6409 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6410 | PyObject *resultobj = 0; |
5eb8189c | 6411 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6412 | int result; |
6413 | void *argp1 = 0 ; | |
6414 | int res1 = 0 ; | |
6415 | PyObject *swig_obj[1] ; | |
6416 | ||
6417 | if (!args) SWIG_fail; | |
6418 | swig_obj[0] = args; | |
5eb8189c | 6419 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6420 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6421 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6422 | } |
5eb8189c | 6423 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6424 | result = (int) ((arg1)->state); |
6425 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6426 | return resultobj; | |
6427 | fail: | |
6428 | return NULL; | |
6429 | } | |
6430 | ||
6431 | ||
5eb8189c | 6432 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6433 | PyObject *resultobj = 0; |
5eb8189c | 6434 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6435 | int arg2 ; |
6436 | void *argp1 = 0 ; | |
6437 | int res1 = 0 ; | |
6438 | int val2 ; | |
6439 | int ecode2 = 0 ; | |
6440 | PyObject *swig_obj[2] ; | |
6441 | ||
5eb8189c RD |
6442 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
6443 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6444 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6445 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6446 | } |
5eb8189c | 6447 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6448 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6449 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6450 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6451 | } |
6452 | arg2 = static_cast< int >(val2); | |
6453 | if (arg1) (arg1)->dock_direction = arg2; | |
6454 | ||
6455 | resultobj = SWIG_Py_Void(); | |
6456 | return resultobj; | |
6457 | fail: | |
6458 | return NULL; | |
6459 | } | |
6460 | ||
6461 | ||
5eb8189c | 6462 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6463 | PyObject *resultobj = 0; |
5eb8189c | 6464 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6465 | int result; |
6466 | void *argp1 = 0 ; | |
6467 | int res1 = 0 ; | |
6468 | PyObject *swig_obj[1] ; | |
6469 | ||
6470 | if (!args) SWIG_fail; | |
6471 | swig_obj[0] = args; | |
5eb8189c | 6472 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6473 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6474 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6475 | } |
5eb8189c | 6476 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6477 | result = (int) ((arg1)->dock_direction); |
6478 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6479 | return resultobj; | |
6480 | fail: | |
6481 | return NULL; | |
6482 | } | |
6483 | ||
6484 | ||
5eb8189c | 6485 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6486 | PyObject *resultobj = 0; |
5eb8189c | 6487 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6488 | int arg2 ; |
6489 | void *argp1 = 0 ; | |
6490 | int res1 = 0 ; | |
6491 | int val2 ; | |
6492 | int ecode2 = 0 ; | |
6493 | PyObject *swig_obj[2] ; | |
6494 | ||
5eb8189c RD |
6495 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
6496 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6497 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6498 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6499 | } |
5eb8189c | 6500 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6501 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6502 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6503 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6504 | } |
6505 | arg2 = static_cast< int >(val2); | |
6506 | if (arg1) (arg1)->dock_layer = arg2; | |
6507 | ||
6508 | resultobj = SWIG_Py_Void(); | |
6509 | return resultobj; | |
6510 | fail: | |
6511 | return NULL; | |
6512 | } | |
6513 | ||
6514 | ||
5eb8189c | 6515 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6516 | PyObject *resultobj = 0; |
5eb8189c | 6517 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6518 | int result; |
6519 | void *argp1 = 0 ; | |
6520 | int res1 = 0 ; | |
6521 | PyObject *swig_obj[1] ; | |
6522 | ||
6523 | if (!args) SWIG_fail; | |
6524 | swig_obj[0] = args; | |
5eb8189c | 6525 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6526 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6527 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6528 | } |
5eb8189c | 6529 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6530 | result = (int) ((arg1)->dock_layer); |
6531 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6532 | return resultobj; | |
6533 | fail: | |
6534 | return NULL; | |
6535 | } | |
6536 | ||
6537 | ||
5eb8189c | 6538 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6539 | PyObject *resultobj = 0; |
5eb8189c | 6540 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6541 | int arg2 ; |
6542 | void *argp1 = 0 ; | |
6543 | int res1 = 0 ; | |
6544 | int val2 ; | |
6545 | int ecode2 = 0 ; | |
6546 | PyObject *swig_obj[2] ; | |
6547 | ||
5eb8189c RD |
6548 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
6549 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6550 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6551 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6552 | } |
5eb8189c | 6553 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6554 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6555 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6556 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6557 | } |
6558 | arg2 = static_cast< int >(val2); | |
6559 | if (arg1) (arg1)->dock_row = arg2; | |
6560 | ||
6561 | resultobj = SWIG_Py_Void(); | |
6562 | return resultobj; | |
6563 | fail: | |
6564 | return NULL; | |
6565 | } | |
6566 | ||
6567 | ||
5eb8189c | 6568 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6569 | PyObject *resultobj = 0; |
5eb8189c | 6570 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6571 | int result; |
6572 | void *argp1 = 0 ; | |
6573 | int res1 = 0 ; | |
6574 | PyObject *swig_obj[1] ; | |
6575 | ||
6576 | if (!args) SWIG_fail; | |
6577 | swig_obj[0] = args; | |
5eb8189c | 6578 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6579 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6580 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6581 | } |
5eb8189c | 6582 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6583 | result = (int) ((arg1)->dock_row); |
6584 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6585 | return resultobj; | |
6586 | fail: | |
6587 | return NULL; | |
6588 | } | |
6589 | ||
6590 | ||
5eb8189c | 6591 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6592 | PyObject *resultobj = 0; |
5eb8189c | 6593 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6594 | int arg2 ; |
6595 | void *argp1 = 0 ; | |
6596 | int res1 = 0 ; | |
6597 | int val2 ; | |
6598 | int ecode2 = 0 ; | |
6599 | PyObject *swig_obj[2] ; | |
6600 | ||
5eb8189c RD |
6601 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; |
6602 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6603 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6604 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6605 | } |
5eb8189c | 6606 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6607 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6608 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6609 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6610 | } |
6611 | arg2 = static_cast< int >(val2); | |
6612 | if (arg1) (arg1)->dock_pos = arg2; | |
6613 | ||
6614 | resultobj = SWIG_Py_Void(); | |
6615 | return resultobj; | |
6616 | fail: | |
6617 | return NULL; | |
6618 | } | |
6619 | ||
6620 | ||
5eb8189c | 6621 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6622 | PyObject *resultobj = 0; |
5eb8189c | 6623 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6624 | int result; |
6625 | void *argp1 = 0 ; | |
6626 | int res1 = 0 ; | |
6627 | PyObject *swig_obj[1] ; | |
6628 | ||
6629 | if (!args) SWIG_fail; | |
6630 | swig_obj[0] = args; | |
5eb8189c | 6631 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6632 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6633 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6634 | } |
5eb8189c | 6635 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6636 | result = (int) ((arg1)->dock_pos); |
6637 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6638 | return resultobj; | |
6639 | fail: | |
6640 | return NULL; | |
6641 | } | |
6642 | ||
6643 | ||
5eb8189c | 6644 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6645 | PyObject *resultobj = 0; |
5eb8189c | 6646 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6647 | wxSize *arg2 = (wxSize *) 0 ; |
6648 | void *argp1 = 0 ; | |
6649 | int res1 = 0 ; | |
6650 | void *argp2 = 0 ; | |
6651 | int res2 = 0 ; | |
6652 | PyObject *swig_obj[2] ; | |
6653 | ||
5eb8189c RD |
6654 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; |
6655 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6656 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6657 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6658 | } |
5eb8189c | 6659 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6660 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6661 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6662 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6663 | } |
6664 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6665 | if (arg1) (arg1)->best_size = *arg2; | |
6666 | ||
6667 | resultobj = SWIG_Py_Void(); | |
6668 | return resultobj; | |
6669 | fail: | |
6670 | return NULL; | |
6671 | } | |
6672 | ||
6673 | ||
5eb8189c | 6674 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6675 | PyObject *resultobj = 0; |
5eb8189c | 6676 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6677 | wxSize *result = 0 ; |
6678 | void *argp1 = 0 ; | |
6679 | int res1 = 0 ; | |
6680 | PyObject *swig_obj[1] ; | |
6681 | ||
6682 | if (!args) SWIG_fail; | |
6683 | swig_obj[0] = args; | |
5eb8189c | 6684 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6685 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6686 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6687 | } |
5eb8189c | 6688 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6689 | result = (wxSize *)& ((arg1)->best_size); |
6690 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6691 | return resultobj; | |
6692 | fail: | |
6693 | return NULL; | |
6694 | } | |
6695 | ||
6696 | ||
5eb8189c | 6697 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6698 | PyObject *resultobj = 0; |
5eb8189c | 6699 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6700 | wxSize *arg2 = (wxSize *) 0 ; |
6701 | void *argp1 = 0 ; | |
6702 | int res1 = 0 ; | |
6703 | void *argp2 = 0 ; | |
6704 | int res2 = 0 ; | |
6705 | PyObject *swig_obj[2] ; | |
6706 | ||
5eb8189c RD |
6707 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
6708 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6709 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6710 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6711 | } |
5eb8189c | 6712 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6713 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6714 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6715 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6716 | } |
6717 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6718 | if (arg1) (arg1)->min_size = *arg2; | |
6719 | ||
6720 | resultobj = SWIG_Py_Void(); | |
6721 | return resultobj; | |
6722 | fail: | |
6723 | return NULL; | |
6724 | } | |
6725 | ||
6726 | ||
5eb8189c | 6727 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6728 | PyObject *resultobj = 0; |
5eb8189c | 6729 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6730 | wxSize *result = 0 ; |
6731 | void *argp1 = 0 ; | |
6732 | int res1 = 0 ; | |
6733 | PyObject *swig_obj[1] ; | |
6734 | ||
6735 | if (!args) SWIG_fail; | |
6736 | swig_obj[0] = args; | |
5eb8189c | 6737 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6738 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6739 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6740 | } |
5eb8189c | 6741 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6742 | result = (wxSize *)& ((arg1)->min_size); |
6743 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6744 | return resultobj; | |
6745 | fail: | |
6746 | return NULL; | |
6747 | } | |
6748 | ||
6749 | ||
5eb8189c | 6750 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6751 | PyObject *resultobj = 0; |
5eb8189c | 6752 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6753 | wxSize *arg2 = (wxSize *) 0 ; |
6754 | void *argp1 = 0 ; | |
6755 | int res1 = 0 ; | |
6756 | void *argp2 = 0 ; | |
6757 | int res2 = 0 ; | |
6758 | PyObject *swig_obj[2] ; | |
6759 | ||
5eb8189c RD |
6760 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; |
6761 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6762 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6763 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6764 | } |
5eb8189c | 6765 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6766 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6767 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6768 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6769 | } |
6770 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6771 | if (arg1) (arg1)->max_size = *arg2; | |
6772 | ||
6773 | resultobj = SWIG_Py_Void(); | |
6774 | return resultobj; | |
6775 | fail: | |
6776 | return NULL; | |
6777 | } | |
6778 | ||
6779 | ||
5eb8189c | 6780 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6781 | PyObject *resultobj = 0; |
5eb8189c | 6782 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6783 | wxSize *result = 0 ; |
6784 | void *argp1 = 0 ; | |
6785 | int res1 = 0 ; | |
6786 | PyObject *swig_obj[1] ; | |
6787 | ||
6788 | if (!args) SWIG_fail; | |
6789 | swig_obj[0] = args; | |
5eb8189c | 6790 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6791 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6792 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6793 | } |
5eb8189c | 6794 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6795 | result = (wxSize *)& ((arg1)->max_size); |
6796 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6797 | return resultobj; | |
6798 | fail: | |
6799 | return NULL; | |
6800 | } | |
6801 | ||
6802 | ||
5eb8189c | 6803 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6804 | PyObject *resultobj = 0; |
5eb8189c | 6805 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6806 | wxPoint *arg2 = (wxPoint *) 0 ; |
6807 | void *argp1 = 0 ; | |
6808 | int res1 = 0 ; | |
6809 | void *argp2 = 0 ; | |
6810 | int res2 = 0 ; | |
6811 | PyObject *swig_obj[2] ; | |
6812 | ||
5eb8189c RD |
6813 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; |
6814 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6815 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6816 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6817 | } |
5eb8189c | 6818 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6819 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); |
6820 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6821 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); |
27e45892 RD |
6822 | } |
6823 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6824 | if (arg1) (arg1)->floating_pos = *arg2; | |
6825 | ||
6826 | resultobj = SWIG_Py_Void(); | |
6827 | return resultobj; | |
6828 | fail: | |
6829 | return NULL; | |
6830 | } | |
6831 | ||
6832 | ||
5eb8189c | 6833 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6834 | PyObject *resultobj = 0; |
5eb8189c | 6835 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6836 | wxPoint *result = 0 ; |
6837 | void *argp1 = 0 ; | |
6838 | int res1 = 0 ; | |
6839 | PyObject *swig_obj[1] ; | |
6840 | ||
6841 | if (!args) SWIG_fail; | |
6842 | swig_obj[0] = args; | |
5eb8189c | 6843 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6844 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6845 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6846 | } |
5eb8189c | 6847 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6848 | result = (wxPoint *)& ((arg1)->floating_pos); |
6849 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6850 | return resultobj; | |
6851 | fail: | |
6852 | return NULL; | |
6853 | } | |
6854 | ||
6855 | ||
5eb8189c | 6856 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6857 | PyObject *resultobj = 0; |
5eb8189c | 6858 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6859 | wxSize *arg2 = (wxSize *) 0 ; |
6860 | void *argp1 = 0 ; | |
6861 | int res1 = 0 ; | |
6862 | void *argp2 = 0 ; | |
6863 | int res2 = 0 ; | |
6864 | PyObject *swig_obj[2] ; | |
6865 | ||
5eb8189c RD |
6866 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; |
6867 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6868 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6869 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6870 | } |
5eb8189c | 6871 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6872 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6873 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6874 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6875 | } |
6876 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6877 | if (arg1) (arg1)->floating_size = *arg2; | |
6878 | ||
6879 | resultobj = SWIG_Py_Void(); | |
6880 | return resultobj; | |
6881 | fail: | |
6882 | return NULL; | |
6883 | } | |
6884 | ||
6885 | ||
5eb8189c | 6886 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6887 | PyObject *resultobj = 0; |
5eb8189c | 6888 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6889 | wxSize *result = 0 ; |
6890 | void *argp1 = 0 ; | |
6891 | int res1 = 0 ; | |
6892 | PyObject *swig_obj[1] ; | |
6893 | ||
6894 | if (!args) SWIG_fail; | |
6895 | swig_obj[0] = args; | |
5eb8189c | 6896 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6897 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6898 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6899 | } |
5eb8189c | 6900 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6901 | result = (wxSize *)& ((arg1)->floating_size); |
6902 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6903 | return resultobj; | |
6904 | fail: | |
6905 | return NULL; | |
6906 | } | |
6907 | ||
6908 | ||
5eb8189c | 6909 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6910 | PyObject *resultobj = 0; |
5eb8189c | 6911 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6912 | int arg2 ; |
6913 | void *argp1 = 0 ; | |
6914 | int res1 = 0 ; | |
6915 | int val2 ; | |
6916 | int ecode2 = 0 ; | |
6917 | PyObject *swig_obj[2] ; | |
6918 | ||
5eb8189c RD |
6919 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; |
6920 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6921 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6922 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6923 | } |
5eb8189c | 6924 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6925 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6926 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6927 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6928 | } |
6929 | arg2 = static_cast< int >(val2); | |
6930 | if (arg1) (arg1)->dock_proportion = arg2; | |
6931 | ||
6932 | resultobj = SWIG_Py_Void(); | |
6933 | return resultobj; | |
6934 | fail: | |
6935 | return NULL; | |
6936 | } | |
6937 | ||
6938 | ||
5eb8189c | 6939 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6940 | PyObject *resultobj = 0; |
5eb8189c | 6941 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6942 | int result; |
6943 | void *argp1 = 0 ; | |
6944 | int res1 = 0 ; | |
6945 | PyObject *swig_obj[1] ; | |
6946 | ||
6947 | if (!args) SWIG_fail; | |
6948 | swig_obj[0] = args; | |
5eb8189c | 6949 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6950 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6951 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6952 | } |
5eb8189c | 6953 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6954 | result = (int) ((arg1)->dock_proportion); |
6955 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6956 | return resultobj; | |
6957 | fail: | |
6958 | return NULL; | |
6959 | } | |
6960 | ||
6961 | ||
5eb8189c | 6962 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6963 | PyObject *resultobj = 0; |
5eb8189c RD |
6964 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6965 | wxAuiPaneButtonArray arg2 ; | |
27e45892 RD |
6966 | void *argp1 = 0 ; |
6967 | int res1 = 0 ; | |
6968 | void *argp2 ; | |
6969 | int res2 = 0 ; | |
6970 | PyObject *swig_obj[2] ; | |
6971 | ||
5eb8189c RD |
6972 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; |
6973 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6974 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6975 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6976 | } |
5eb8189c | 6977 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 6978 | { |
5eb8189c | 6979 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0); |
27e45892 | 6980 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6981 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 RD |
6982 | } |
6983 | if (!argp2) { | |
5eb8189c | 6984 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 | 6985 | } else { |
5eb8189c | 6986 | wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2); |
27e45892 RD |
6987 | arg2 = *temp; |
6988 | if (SWIG_IsNewObj(res2)) delete temp; | |
6989 | } | |
6990 | } | |
6991 | if (arg1) (arg1)->buttons = arg2; | |
6992 | ||
6993 | resultobj = SWIG_Py_Void(); | |
6994 | return resultobj; | |
6995 | fail: | |
6996 | return NULL; | |
6997 | } | |
6998 | ||
6999 | ||
5eb8189c | 7000 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7001 | PyObject *resultobj = 0; |
5eb8189c RD |
7002 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
7003 | wxAuiPaneButtonArray result; | |
27e45892 RD |
7004 | void *argp1 = 0 ; |
7005 | int res1 = 0 ; | |
7006 | PyObject *swig_obj[1] ; | |
7007 | ||
7008 | if (!args) SWIG_fail; | |
7009 | swig_obj[0] = args; | |
5eb8189c | 7010 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7011 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7012 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7013 | } |
5eb8189c | 7014 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 7015 | result = ((arg1)->buttons); |
5eb8189c | 7016 | resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
7017 | return resultobj; |
7018 | fail: | |
7019 | return NULL; | |
7020 | } | |
7021 | ||
7022 | ||
5eb8189c | 7023 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7024 | PyObject *resultobj = 0; |
5eb8189c | 7025 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7026 | wxRect *arg2 = (wxRect *) 0 ; |
7027 | void *argp1 = 0 ; | |
7028 | int res1 = 0 ; | |
7029 | void *argp2 = 0 ; | |
7030 | int res2 = 0 ; | |
7031 | PyObject *swig_obj[2] ; | |
7032 | ||
5eb8189c RD |
7033 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
7034 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 7035 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7036 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7037 | } |
5eb8189c | 7038 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7039 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
7040 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7041 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
7042 | } |
7043 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
7044 | if (arg1) (arg1)->rect = *arg2; | |
7045 | ||
7046 | resultobj = SWIG_Py_Void(); | |
7047 | return resultobj; | |
7048 | fail: | |
7049 | return NULL; | |
7050 | } | |
7051 | ||
7052 | ||
5eb8189c | 7053 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7054 | PyObject *resultobj = 0; |
5eb8189c | 7055 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7056 | wxRect *result = 0 ; |
7057 | void *argp1 = 0 ; | |
7058 | int res1 = 0 ; | |
7059 | PyObject *swig_obj[1] ; | |
7060 | ||
7061 | if (!args) SWIG_fail; | |
7062 | swig_obj[0] = args; | |
5eb8189c | 7063 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7064 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7065 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7066 | } |
5eb8189c | 7067 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7068 | result = (wxRect *)& ((arg1)->rect); |
7069 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
7070 | return resultobj; | |
7071 | fail: | |
7072 | return NULL; | |
7073 | } | |
7074 | ||
7075 | ||
5eb8189c | 7076 | SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7077 | PyObject *obj; |
7078 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 7079 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
7080 | return SWIG_Py_Void(); |
7081 | } | |
7082 | ||
5eb8189c | 7083 | SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7084 | return SWIG_Python_InitShadowInstance(args); |
7085 | } | |
7086 | ||
5eb8189c | 7087 | SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7088 | PyObject *resultobj = 0; |
10044bf1 | 7089 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 | 7090 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
5eb8189c | 7091 | wxAuiManager *result = 0 ; |
27e45892 RD |
7092 | void *argp1 = 0 ; |
7093 | int res1 = 0 ; | |
7094 | int val2 ; | |
7095 | int ecode2 = 0 ; | |
7096 | PyObject * obj0 = 0 ; | |
7097 | PyObject * obj1 = 0 ; | |
7098 | char * kwnames[] = { | |
10044bf1 | 7099 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
7100 | }; |
7101 | ||
5eb8189c | 7102 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 | 7103 | if (obj0) { |
10044bf1 | 7104 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7105 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7106 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 7107 | } |
10044bf1 | 7108 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
7109 | } |
7110 | if (obj1) { | |
7111 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7112 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7113 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7114 | } |
7115 | arg2 = static_cast< int >(val2); | |
7116 | } | |
7117 | { | |
7118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7119 | result = (wxAuiManager *)new wxAuiManager(arg1,arg2); |
27e45892 RD |
7120 | wxPyEndAllowThreads(__tstate); |
7121 | if (PyErr_Occurred()) SWIG_fail; | |
7122 | } | |
5eb8189c | 7123 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
7124 | return resultobj; |
7125 | fail: | |
7126 | return NULL; | |
7127 | } | |
7128 | ||
7129 | ||
5eb8189c | 7130 | SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7131 | PyObject *resultobj = 0; |
5eb8189c | 7132 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7133 | void *argp1 = 0 ; |
7134 | int res1 = 0 ; | |
7135 | PyObject *swig_obj[1] ; | |
7136 | ||
7137 | if (!args) SWIG_fail; | |
7138 | swig_obj[0] = args; | |
5eb8189c | 7139 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 7140 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7142 | } |
5eb8189c | 7143 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7144 | { |
7145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7146 | delete arg1; | |
7147 | ||
7148 | wxPyEndAllowThreads(__tstate); | |
7149 | if (PyErr_Occurred()) SWIG_fail; | |
7150 | } | |
7151 | resultobj = SWIG_Py_Void(); | |
7152 | return resultobj; | |
7153 | fail: | |
7154 | return NULL; | |
7155 | } | |
7156 | ||
7157 | ||
5eb8189c | 7158 | SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7159 | PyObject *resultobj = 0; |
5eb8189c | 7160 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7161 | void *argp1 = 0 ; |
7162 | int res1 = 0 ; | |
7163 | PyObject *swig_obj[1] ; | |
7164 | ||
7165 | if (!args) SWIG_fail; | |
7166 | swig_obj[0] = args; | |
5eb8189c | 7167 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7168 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7169 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7170 | } |
5eb8189c | 7171 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7172 | { |
7173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7174 | (arg1)->UnInit(); | |
7175 | wxPyEndAllowThreads(__tstate); | |
7176 | if (PyErr_Occurred()) SWIG_fail; | |
7177 | } | |
7178 | resultobj = SWIG_Py_Void(); | |
7179 | return resultobj; | |
7180 | fail: | |
7181 | return NULL; | |
7182 | } | |
7183 | ||
7184 | ||
5eb8189c | 7185 | SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7186 | PyObject *resultobj = 0; |
5eb8189c | 7187 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7188 | int arg2 ; |
7189 | void *argp1 = 0 ; | |
7190 | int res1 = 0 ; | |
7191 | int val2 ; | |
7192 | int ecode2 = 0 ; | |
7193 | PyObject * obj0 = 0 ; | |
7194 | PyObject * obj1 = 0 ; | |
7195 | char * kwnames[] = { | |
7196 | (char *) "self",(char *) "flags", NULL | |
7197 | }; | |
7198 | ||
5eb8189c RD |
7199 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
7200 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7201 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7202 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7203 | } |
5eb8189c | 7204 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7205 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
7206 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7207 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7208 | } |
7209 | arg2 = static_cast< int >(val2); | |
7210 | { | |
7211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7212 | (arg1)->SetFlags(arg2); | |
7213 | wxPyEndAllowThreads(__tstate); | |
7214 | if (PyErr_Occurred()) SWIG_fail; | |
7215 | } | |
7216 | resultobj = SWIG_Py_Void(); | |
7217 | return resultobj; | |
7218 | fail: | |
7219 | return NULL; | |
7220 | } | |
7221 | ||
7222 | ||
5eb8189c | 7223 | SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7224 | PyObject *resultobj = 0; |
5eb8189c | 7225 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7226 | int result; |
7227 | void *argp1 = 0 ; | |
7228 | int res1 = 0 ; | |
7229 | PyObject *swig_obj[1] ; | |
7230 | ||
7231 | if (!args) SWIG_fail; | |
7232 | swig_obj[0] = args; | |
5eb8189c | 7233 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7234 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7235 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7236 | } |
5eb8189c | 7237 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7238 | { |
7239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7240 | result = (int)((wxAuiManager const *)arg1)->GetFlags(); |
27e45892 RD |
7241 | wxPyEndAllowThreads(__tstate); |
7242 | if (PyErr_Occurred()) SWIG_fail; | |
7243 | } | |
7244 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7245 | return resultobj; | |
7246 | fail: | |
7247 | return NULL; | |
7248 | } | |
7249 | ||
7250 | ||
5eb8189c | 7251 | SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7252 | PyObject *resultobj = 0; |
5eb8189c | 7253 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7254 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
7255 | void *argp1 = 0 ; |
7256 | int res1 = 0 ; | |
7257 | void *argp2 = 0 ; | |
7258 | int res2 = 0 ; | |
7259 | PyObject * obj0 = 0 ; | |
7260 | PyObject * obj1 = 0 ; | |
7261 | char * kwnames[] = { | |
10044bf1 | 7262 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
7263 | }; |
7264 | ||
5eb8189c RD |
7265 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
7266 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7267 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7268 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7269 | } |
5eb8189c | 7270 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1d5ee749 | 7271 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7272 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7273 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 7274 | } |
1d5ee749 | 7275 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
7276 | { |
7277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7278 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
7279 | wxPyEndAllowThreads(__tstate); |
7280 | if (PyErr_Occurred()) SWIG_fail; | |
7281 | } | |
7282 | resultobj = SWIG_Py_Void(); | |
7283 | return resultobj; | |
7284 | fail: | |
7285 | return NULL; | |
7286 | } | |
7287 | ||
7288 | ||
5eb8189c | 7289 | SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7290 | PyObject *resultobj = 0; |
5eb8189c | 7291 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7292 | wxWindow *result = 0 ; |
27e45892 RD |
7293 | void *argp1 = 0 ; |
7294 | int res1 = 0 ; | |
7295 | PyObject *swig_obj[1] ; | |
7296 | ||
7297 | if (!args) SWIG_fail; | |
7298 | swig_obj[0] = args; | |
5eb8189c | 7299 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7300 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7301 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7302 | } |
5eb8189c | 7303 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7304 | { |
7305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7306 | result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
7307 | wxPyEndAllowThreads(__tstate); |
7308 | if (PyErr_Occurred()) SWIG_fail; | |
7309 | } | |
7310 | { | |
7311 | resultobj = wxPyMake_wxObject(result, 0); | |
7312 | } | |
7313 | return resultobj; | |
7314 | fail: | |
7315 | return NULL; | |
7316 | } | |
7317 | ||
7318 | ||
eccab1a7 RD |
7319 | SWIGINTERN PyObject *_wrap_AuiManager_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7320 | PyObject *resultobj = 0; | |
7321 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7322 | wxAuiManager *result = 0 ; | |
7323 | void *argp1 = 0 ; | |
7324 | int res1 = 0 ; | |
7325 | PyObject * obj0 = 0 ; | |
7326 | char * kwnames[] = { | |
7327 | (char *) "window", NULL | |
7328 | }; | |
7329 | ||
7330 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AuiManager_GetManager",kwnames,&obj0)) SWIG_fail; | |
7331 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7332 | if (!SWIG_IsOK(res1)) { | |
7333 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManager" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
7334 | } | |
7335 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
7336 | { | |
7337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7338 | result = (wxAuiManager *)wxAuiManager::GetManager(arg1); | |
7339 | wxPyEndAllowThreads(__tstate); | |
7340 | if (PyErr_Occurred()) SWIG_fail; | |
7341 | } | |
7342 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7343 | return resultobj; | |
7344 | fail: | |
7345 | return NULL; | |
7346 | } | |
7347 | ||
7348 | ||
5eb8189c | 7349 | SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7350 | PyObject *resultobj = 0; |
5eb8189c RD |
7351 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7352 | wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ; | |
27e45892 RD |
7353 | void *argp1 = 0 ; |
7354 | int res1 = 0 ; | |
7355 | int res2 = 0 ; | |
7356 | PyObject * obj0 = 0 ; | |
7357 | PyObject * obj1 = 0 ; | |
7358 | char * kwnames[] = { | |
7359 | (char *) "self",(char *) "art_provider", NULL | |
7360 | }; | |
7361 | ||
5eb8189c RD |
7362 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
7363 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7364 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7365 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7366 | } |
5eb8189c RD |
7367 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7368 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 7369 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7370 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'"); |
27e45892 RD |
7371 | } |
7372 | { | |
7373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7374 | (arg1)->SetArtProvider(arg2); | |
7375 | wxPyEndAllowThreads(__tstate); | |
7376 | if (PyErr_Occurred()) SWIG_fail; | |
7377 | } | |
7378 | resultobj = SWIG_Py_Void(); | |
7379 | return resultobj; | |
7380 | fail: | |
7381 | return NULL; | |
7382 | } | |
7383 | ||
7384 | ||
5eb8189c | 7385 | SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7386 | PyObject *resultobj = 0; |
5eb8189c RD |
7387 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7388 | wxAuiDockArt *result = 0 ; | |
27e45892 RD |
7389 | void *argp1 = 0 ; |
7390 | int res1 = 0 ; | |
7391 | PyObject *swig_obj[1] ; | |
7392 | ||
7393 | if (!args) SWIG_fail; | |
7394 | swig_obj[0] = args; | |
5eb8189c | 7395 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7396 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7397 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7398 | } |
5eb8189c | 7399 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7400 | { |
7401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7402 | result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider(); |
27e45892 RD |
7403 | wxPyEndAllowThreads(__tstate); |
7404 | if (PyErr_Occurred()) SWIG_fail; | |
7405 | } | |
5eb8189c | 7406 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); |
27e45892 RD |
7407 | return resultobj; |
7408 | fail: | |
7409 | return NULL; | |
7410 | } | |
7411 | ||
7412 | ||
5eb8189c | 7413 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7414 | PyObject *resultobj = 0; |
5eb8189c | 7415 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7416 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7417 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7418 | void *argp1 = 0 ; |
7419 | int res1 = 0 ; | |
7420 | void *argp2 = 0 ; | |
7421 | int res2 = 0 ; | |
7422 | PyObject * obj0 = 0 ; | |
7423 | PyObject * obj1 = 0 ; | |
7424 | char * kwnames[] = { | |
7425 | (char *) "self",(char *) "window", NULL | |
7426 | }; | |
7427 | ||
5eb8189c RD |
7428 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; |
7429 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7430 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7431 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7432 | } |
5eb8189c | 7433 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7434 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7435 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7436 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7437 | } |
7438 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7439 | { | |
7440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7441 | { | |
5eb8189c RD |
7442 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2); |
7443 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7444 | } |
7445 | wxPyEndAllowThreads(__tstate); | |
7446 | if (PyErr_Occurred()) SWIG_fail; | |
7447 | } | |
5eb8189c | 7448 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7449 | return resultobj; |
7450 | fail: | |
7451 | return NULL; | |
7452 | } | |
7453 | ||
7454 | ||
5eb8189c | 7455 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7456 | PyObject *resultobj = 0; |
5eb8189c | 7457 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7458 | wxString *arg2 = 0 ; |
5eb8189c | 7459 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7460 | void *argp1 = 0 ; |
7461 | int res1 = 0 ; | |
7462 | bool temp2 = false ; | |
7463 | PyObject * obj0 = 0 ; | |
7464 | PyObject * obj1 = 0 ; | |
7465 | char * kwnames[] = { | |
7466 | (char *) "self",(char *) "name", NULL | |
7467 | }; | |
7468 | ||
5eb8189c RD |
7469 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; |
7470 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7471 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7472 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7473 | } |
5eb8189c | 7474 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7475 | { |
7476 | arg2 = wxString_in_helper(obj1); | |
7477 | if (arg2 == NULL) SWIG_fail; | |
7478 | temp2 = true; | |
7479 | } | |
7480 | { | |
7481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7482 | { | |
5eb8189c RD |
7483 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); |
7484 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7485 | } |
7486 | wxPyEndAllowThreads(__tstate); | |
7487 | if (PyErr_Occurred()) SWIG_fail; | |
7488 | } | |
5eb8189c | 7489 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7490 | { |
7491 | if (temp2) | |
7492 | delete arg2; | |
7493 | } | |
7494 | return resultobj; | |
7495 | fail: | |
7496 | { | |
7497 | if (temp2) | |
7498 | delete arg2; | |
7499 | } | |
7500 | return NULL; | |
7501 | } | |
7502 | ||
7503 | ||
5eb8189c | 7504 | SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7505 | PyObject *resultobj = 0; |
5eb8189c RD |
7506 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7507 | wxAuiPaneInfoArray *result = 0 ; | |
27e45892 RD |
7508 | void *argp1 = 0 ; |
7509 | int res1 = 0 ; | |
7510 | PyObject *swig_obj[1] ; | |
7511 | ||
7512 | if (!args) SWIG_fail; | |
7513 | swig_obj[0] = args; | |
5eb8189c | 7514 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7515 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7516 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7517 | } |
5eb8189c | 7518 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7519 | { |
7520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7521 | { | |
5eb8189c RD |
7522 | wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); |
7523 | result = (wxAuiPaneInfoArray *) &_result_ref; | |
27e45892 RD |
7524 | } |
7525 | wxPyEndAllowThreads(__tstate); | |
7526 | if (PyErr_Occurred()) SWIG_fail; | |
7527 | } | |
7528 | { | |
7529 | resultobj = PyList_New(0); | |
7530 | for (size_t i=0; i < result->GetCount(); i++) { | |
5eb8189c | 7531 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0); |
27e45892 RD |
7532 | PyList_Append(resultobj, pane_obj); |
7533 | } | |
7534 | } | |
7535 | return resultobj; | |
7536 | fail: | |
7537 | return NULL; | |
7538 | } | |
7539 | ||
7540 | ||
36cb9ebe | 7541 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7542 | PyObject *resultobj = 0; |
5eb8189c | 7543 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7544 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7545 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7546 | bool result; |
7547 | void *argp1 = 0 ; | |
7548 | int res1 = 0 ; | |
7549 | void *argp2 = 0 ; | |
7550 | int res2 = 0 ; | |
7551 | void *argp3 = 0 ; | |
7552 | int res3 = 0 ; | |
36cb9ebe RD |
7553 | PyObject * obj0 = 0 ; |
7554 | PyObject * obj1 = 0 ; | |
7555 | PyObject * obj2 = 0 ; | |
7556 | char * kwnames[] = { | |
7557 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7558 | }; | |
27e45892 | 7559 | |
36cb9ebe RD |
7560 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7561 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7562 | if (!SWIG_IsOK(res1)) { |
36cb9ebe | 7563 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7564 | } |
5eb8189c | 7565 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7566 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7567 | if (!SWIG_IsOK(res2)) { |
36cb9ebe | 7568 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7569 | } |
7570 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7571 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7572 | if (!SWIG_IsOK(res3)) { |
36cb9ebe | 7573 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7574 | } |
7575 | if (!argp3) { | |
36cb9ebe | 7576 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7577 | } |
5eb8189c | 7578 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7579 | { |
7580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7581 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3); |
27e45892 RD |
7582 | wxPyEndAllowThreads(__tstate); |
7583 | if (PyErr_Occurred()) SWIG_fail; | |
7584 | } | |
7585 | { | |
7586 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7587 | } | |
7588 | return resultobj; | |
7589 | fail: | |
7590 | return NULL; | |
7591 | } | |
7592 | ||
7593 | ||
36cb9ebe | 7594 | SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 7595 | PyObject *resultobj = 0; |
5eb8189c | 7596 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 7597 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7598 | wxAuiPaneInfo *arg3 = 0 ; |
10044bf1 RD |
7599 | wxPoint *arg4 = 0 ; |
7600 | bool result; | |
7601 | void *argp1 = 0 ; | |
7602 | int res1 = 0 ; | |
7603 | void *argp2 = 0 ; | |
7604 | int res2 = 0 ; | |
7605 | void *argp3 = 0 ; | |
7606 | int res3 = 0 ; | |
7607 | wxPoint temp4 ; | |
36cb9ebe RD |
7608 | PyObject * obj0 = 0 ; |
7609 | PyObject * obj1 = 0 ; | |
7610 | PyObject * obj2 = 0 ; | |
7611 | PyObject * obj3 = 0 ; | |
7612 | char * kwnames[] = { | |
7613 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7614 | }; | |
10044bf1 | 7615 | |
36cb9ebe RD |
7616 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7617 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7618 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7619 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7620 | } |
5eb8189c | 7621 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7622 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10044bf1 | 7623 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7624 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
7625 | } |
7626 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7627 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
10044bf1 | 7628 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7629 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 RD |
7630 | } |
7631 | if (!argp3) { | |
5eb8189c | 7632 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 | 7633 | } |
5eb8189c | 7634 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
10044bf1 RD |
7635 | { |
7636 | arg4 = &temp4; | |
36cb9ebe | 7637 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
10044bf1 RD |
7638 | } |
7639 | { | |
7640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7641 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4); |
10044bf1 RD |
7642 | wxPyEndAllowThreads(__tstate); |
7643 | if (PyErr_Occurred()) SWIG_fail; | |
7644 | } | |
7645 | { | |
7646 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7647 | } | |
7648 | return resultobj; | |
7649 | fail: | |
7650 | return NULL; | |
7651 | } | |
7652 | ||
7653 | ||
5eb8189c | 7654 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7655 | PyObject *resultobj = 0; |
5eb8189c | 7656 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7657 | wxWindow *arg2 = (wxWindow *) 0 ; |
7658 | int arg3 = (int) wxLEFT ; | |
7659 | wxString const &arg4_defvalue = wxEmptyString ; | |
7660 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7661 | bool result; | |
7662 | void *argp1 = 0 ; | |
7663 | int res1 = 0 ; | |
7664 | void *argp2 = 0 ; | |
7665 | int res2 = 0 ; | |
7666 | int val3 ; | |
7667 | int ecode3 = 0 ; | |
7668 | bool temp4 = false ; | |
7669 | PyObject * obj0 = 0 ; | |
7670 | PyObject * obj1 = 0 ; | |
7671 | PyObject * obj2 = 0 ; | |
7672 | PyObject * obj3 = 0 ; | |
7673 | char * kwnames[] = { | |
7674 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7675 | }; | |
7676 | ||
5eb8189c RD |
7677 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7678 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7679 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7680 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7681 | } |
5eb8189c | 7682 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7683 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7684 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7685 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7686 | } |
7687 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7688 | if (obj2) { | |
7689 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7690 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 7691 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
7692 | } |
7693 | arg3 = static_cast< int >(val3); | |
7694 | } | |
7695 | if (obj3) { | |
7696 | { | |
7697 | arg4 = wxString_in_helper(obj3); | |
7698 | if (arg4 == NULL) SWIG_fail; | |
7699 | temp4 = true; | |
7700 | } | |
7701 | } | |
7702 | { | |
7703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7704 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7705 | wxPyEndAllowThreads(__tstate); | |
7706 | if (PyErr_Occurred()) SWIG_fail; | |
7707 | } | |
7708 | { | |
7709 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7710 | } | |
7711 | { | |
7712 | if (temp4) | |
7713 | delete arg4; | |
7714 | } | |
7715 | return resultobj; | |
7716 | fail: | |
7717 | { | |
7718 | if (temp4) | |
7719 | delete arg4; | |
7720 | } | |
7721 | return NULL; | |
7722 | } | |
7723 | ||
7724 | ||
5eb8189c | 7725 | SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7726 | PyObject *resultobj = 0; |
5eb8189c | 7727 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7728 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7729 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7730 | int arg4 = (int) wxAUI_INSERT_PANE ; |
7731 | bool result; | |
7732 | void *argp1 = 0 ; | |
7733 | int res1 = 0 ; | |
7734 | void *argp2 = 0 ; | |
7735 | int res2 = 0 ; | |
7736 | void *argp3 = 0 ; | |
7737 | int res3 = 0 ; | |
7738 | int val4 ; | |
7739 | int ecode4 = 0 ; | |
7740 | PyObject * obj0 = 0 ; | |
7741 | PyObject * obj1 = 0 ; | |
7742 | PyObject * obj2 = 0 ; | |
7743 | PyObject * obj3 = 0 ; | |
7744 | char * kwnames[] = { | |
7745 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7746 | }; | |
7747 | ||
5eb8189c RD |
7748 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7749 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7750 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7751 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7752 | } |
5eb8189c | 7753 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7754 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7755 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7756 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7757 | } |
7758 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7759 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7760 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7761 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7762 | } |
7763 | if (!argp3) { | |
5eb8189c | 7764 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7765 | } |
5eb8189c | 7766 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7767 | if (obj3) { |
7768 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7769 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 7770 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
7771 | } |
7772 | arg4 = static_cast< int >(val4); | |
7773 | } | |
7774 | { | |
7775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7776 | result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4); |
27e45892 RD |
7777 | wxPyEndAllowThreads(__tstate); |
7778 | if (PyErr_Occurred()) SWIG_fail; | |
7779 | } | |
7780 | { | |
7781 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7782 | } | |
7783 | return resultobj; | |
7784 | fail: | |
7785 | return NULL; | |
7786 | } | |
7787 | ||
7788 | ||
5eb8189c | 7789 | SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7790 | PyObject *resultobj = 0; |
5eb8189c | 7791 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7792 | wxWindow *arg2 = (wxWindow *) 0 ; |
7793 | bool result; | |
7794 | void *argp1 = 0 ; | |
7795 | int res1 = 0 ; | |
7796 | void *argp2 = 0 ; | |
7797 | int res2 = 0 ; | |
7798 | PyObject * obj0 = 0 ; | |
7799 | PyObject * obj1 = 0 ; | |
7800 | char * kwnames[] = { | |
7801 | (char *) "self",(char *) "window", NULL | |
7802 | }; | |
7803 | ||
5eb8189c RD |
7804 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; |
7805 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7806 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7808 | } |
5eb8189c | 7809 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7810 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7811 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7812 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7813 | } |
7814 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7815 | { | |
7816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7817 | result = (bool)(arg1)->DetachPane(arg2); | |
7818 | wxPyEndAllowThreads(__tstate); | |
7819 | if (PyErr_Occurred()) SWIG_fail; | |
7820 | } | |
7821 | { | |
7822 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7823 | } | |
7824 | return resultobj; | |
7825 | fail: | |
7826 | return NULL; | |
7827 | } | |
7828 | ||
7829 | ||
d7645bfd | 7830 | SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5eb8189c RD |
7831 | PyObject *resultobj = 0; |
7832 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7833 | void *argp1 = 0 ; | |
7834 | int res1 = 0 ; | |
7835 | PyObject *swig_obj[1] ; | |
7836 | ||
7837 | if (!args) SWIG_fail; | |
7838 | swig_obj[0] = args; | |
7839 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7840 | if (!SWIG_IsOK(res1)) { | |
d7645bfd | 7841 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
5eb8189c RD |
7842 | } |
7843 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7844 | { | |
7845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 7846 | (arg1)->Update(); |
5eb8189c RD |
7847 | wxPyEndAllowThreads(__tstate); |
7848 | if (PyErr_Occurred()) SWIG_fail; | |
7849 | } | |
7850 | resultobj = SWIG_Py_Void(); | |
7851 | return resultobj; | |
7852 | fail: | |
7853 | return NULL; | |
7854 | } | |
7855 | ||
7856 | ||
7857 | SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7858 | PyObject *resultobj = 0; | |
7859 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7860 | wxAuiPaneInfo *arg2 = 0 ; | |
0f83f5da RD |
7861 | wxString result; |
7862 | void *argp1 = 0 ; | |
7863 | int res1 = 0 ; | |
7864 | void *argp2 = 0 ; | |
7865 | int res2 = 0 ; | |
7866 | PyObject * obj0 = 0 ; | |
7867 | PyObject * obj1 = 0 ; | |
7868 | char * kwnames[] = { | |
7869 | (char *) "self",(char *) "pane", NULL | |
7870 | }; | |
7871 | ||
5eb8189c RD |
7872 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; |
7873 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 7874 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7875 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 7876 | } |
5eb8189c RD |
7877 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7878 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
0f83f5da | 7879 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7880 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
7881 | } |
7882 | if (!argp2) { | |
5eb8189c | 7883 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 7884 | } |
5eb8189c | 7885 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
7886 | { |
7887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7888 | result = (arg1)->SavePaneInfo(*arg2); | |
7889 | wxPyEndAllowThreads(__tstate); | |
7890 | if (PyErr_Occurred()) SWIG_fail; | |
7891 | } | |
7892 | { | |
7893 | #if wxUSE_UNICODE | |
7894 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7895 | #else | |
7896 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7897 | #endif | |
7898 | } | |
7899 | return resultobj; | |
7900 | fail: | |
7901 | return NULL; | |
7902 | } | |
7903 | ||
7904 | ||
5eb8189c | 7905 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 7906 | PyObject *resultobj = 0; |
5eb8189c | 7907 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
0f83f5da | 7908 | wxString arg2 ; |
5eb8189c | 7909 | wxAuiPaneInfo *arg3 = 0 ; |
0f83f5da RD |
7910 | void *argp1 = 0 ; |
7911 | int res1 = 0 ; | |
7912 | void *argp3 = 0 ; | |
7913 | int res3 = 0 ; | |
7914 | PyObject * obj0 = 0 ; | |
7915 | PyObject * obj1 = 0 ; | |
7916 | PyObject * obj2 = 0 ; | |
7917 | char * kwnames[] = { | |
7918 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
7919 | }; | |
7920 | ||
5eb8189c RD |
7921 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7922 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 7923 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 7925 | } |
5eb8189c | 7926 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
0f83f5da RD |
7927 | { |
7928 | wxString* sptr = wxString_in_helper(obj1); | |
7929 | if (sptr == NULL) SWIG_fail; | |
7930 | arg2 = *sptr; | |
7931 | delete sptr; | |
7932 | } | |
5eb8189c | 7933 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
0f83f5da | 7934 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7935 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
7936 | } |
7937 | if (!argp3) { | |
5eb8189c | 7938 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 7939 | } |
5eb8189c | 7940 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
0f83f5da RD |
7941 | { |
7942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7943 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
7944 | wxPyEndAllowThreads(__tstate); | |
7945 | if (PyErr_Occurred()) SWIG_fail; | |
7946 | } | |
7947 | resultobj = SWIG_Py_Void(); | |
7948 | return resultobj; | |
7949 | fail: | |
7950 | return NULL; | |
7951 | } | |
7952 | ||
7953 | ||
5eb8189c | 7954 | SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7955 | PyObject *resultobj = 0; |
5eb8189c | 7956 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7957 | wxString result; |
7958 | void *argp1 = 0 ; | |
7959 | int res1 = 0 ; | |
7960 | PyObject *swig_obj[1] ; | |
7961 | ||
7962 | if (!args) SWIG_fail; | |
7963 | swig_obj[0] = args; | |
5eb8189c | 7964 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7965 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7966 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7967 | } |
5eb8189c | 7968 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7969 | { |
7970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7971 | result = (arg1)->SavePerspective(); | |
7972 | wxPyEndAllowThreads(__tstate); | |
7973 | if (PyErr_Occurred()) SWIG_fail; | |
7974 | } | |
7975 | { | |
7976 | #if wxUSE_UNICODE | |
7977 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7978 | #else | |
7979 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7980 | #endif | |
7981 | } | |
7982 | return resultobj; | |
7983 | fail: | |
7984 | return NULL; | |
7985 | } | |
7986 | ||
7987 | ||
5eb8189c | 7988 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7989 | PyObject *resultobj = 0; |
5eb8189c | 7990 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7991 | wxString *arg2 = 0 ; |
7992 | bool arg3 = (bool) true ; | |
7993 | bool result; | |
7994 | void *argp1 = 0 ; | |
7995 | int res1 = 0 ; | |
7996 | bool temp2 = false ; | |
7997 | bool val3 ; | |
7998 | int ecode3 = 0 ; | |
7999 | PyObject * obj0 = 0 ; | |
8000 | PyObject * obj1 = 0 ; | |
8001 | PyObject * obj2 = 0 ; | |
8002 | char * kwnames[] = { | |
8003 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
8004 | }; | |
8005 | ||
5eb8189c RD |
8006 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8007 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 8008 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8009 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8010 | } |
5eb8189c | 8011 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8012 | { |
8013 | arg2 = wxString_in_helper(obj1); | |
8014 | if (arg2 == NULL) SWIG_fail; | |
8015 | temp2 = true; | |
8016 | } | |
8017 | if (obj2) { | |
8018 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8019 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 8020 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
8021 | } |
8022 | arg3 = static_cast< bool >(val3); | |
8023 | } | |
8024 | { | |
8025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8026 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
8027 | wxPyEndAllowThreads(__tstate); | |
8028 | if (PyErr_Occurred()) SWIG_fail; | |
8029 | } | |
8030 | { | |
8031 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8032 | } | |
8033 | { | |
8034 | if (temp2) | |
8035 | delete arg2; | |
8036 | } | |
8037 | return resultobj; | |
8038 | fail: | |
8039 | { | |
8040 | if (temp2) | |
8041 | delete arg2; | |
8042 | } | |
8043 | return NULL; | |
8044 | } | |
8045 | ||
8046 | ||
d7645bfd VZ |
8047 | SWIGINTERN PyObject *_wrap_AuiManager_SetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8048 | PyObject *resultobj = 0; | |
8049 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8050 | double arg2 ; | |
8051 | double arg3 ; | |
8052 | void *argp1 = 0 ; | |
8053 | int res1 = 0 ; | |
8054 | double val2 ; | |
8055 | int ecode2 = 0 ; | |
8056 | double val3 ; | |
8057 | int ecode3 = 0 ; | |
8058 | PyObject * obj0 = 0 ; | |
8059 | PyObject * obj1 = 0 ; | |
8060 | PyObject * obj2 = 0 ; | |
8061 | char * kwnames[] = { | |
8062 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8063 | }; | |
8064 | ||
8065 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_SetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8066 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8067 | if (!SWIG_IsOK(res1)) { | |
8068 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8069 | } | |
8070 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8071 | ecode2 = SWIG_AsVal_double(obj1, &val2); | |
8072 | if (!SWIG_IsOK(ecode2)) { | |
8073 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "2"" of type '" "double""'"); | |
8074 | } | |
8075 | arg2 = static_cast< double >(val2); | |
8076 | ecode3 = SWIG_AsVal_double(obj2, &val3); | |
8077 | if (!SWIG_IsOK(ecode3)) { | |
8078 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "3"" of type '" "double""'"); | |
8079 | } | |
8080 | arg3 = static_cast< double >(val3); | |
8081 | { | |
8082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8083 | (arg1)->SetDockSizeConstraint(arg2,arg3); | |
8084 | wxPyEndAllowThreads(__tstate); | |
8085 | if (PyErr_Occurred()) SWIG_fail; | |
8086 | } | |
8087 | resultobj = SWIG_Py_Void(); | |
8088 | return resultobj; | |
8089 | fail: | |
8090 | return NULL; | |
8091 | } | |
8092 | ||
8093 | ||
8094 | SWIGINTERN PyObject *_wrap_AuiManager_GetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8095 | PyObject *resultobj = 0; | |
8096 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8097 | double *arg2 = (double *) 0 ; | |
8098 | double *arg3 = (double *) 0 ; | |
8099 | void *argp1 = 0 ; | |
8100 | int res1 = 0 ; | |
8101 | void *argp2 = 0 ; | |
8102 | int res2 = 0 ; | |
8103 | void *argp3 = 0 ; | |
8104 | int res3 = 0 ; | |
8105 | PyObject * obj0 = 0 ; | |
8106 | PyObject * obj1 = 0 ; | |
8107 | PyObject * obj2 = 0 ; | |
8108 | char * kwnames[] = { | |
8109 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8110 | }; | |
8111 | ||
8112 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_GetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8113 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8114 | if (!SWIG_IsOK(res1)) { | |
8115 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); | |
8116 | } | |
8117 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8118 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); | |
8119 | if (!SWIG_IsOK(res2)) { | |
8120 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "2"" of type '" "double *""'"); | |
8121 | } | |
8122 | arg2 = reinterpret_cast< double * >(argp2); | |
8123 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); | |
8124 | if (!SWIG_IsOK(res3)) { | |
8125 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "3"" of type '" "double *""'"); | |
8126 | } | |
8127 | arg3 = reinterpret_cast< double * >(argp3); | |
8128 | { | |
8129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8130 | ((wxAuiManager const *)arg1)->GetDockSizeConstraint(arg2,arg3); | |
8131 | wxPyEndAllowThreads(__tstate); | |
8132 | if (PyErr_Occurred()) SWIG_fail; | |
8133 | } | |
8134 | resultobj = SWIG_Py_Void(); | |
8135 | return resultobj; | |
8136 | fail: | |
8137 | return NULL; | |
8138 | } | |
8139 | ||
8140 | ||
8141 | SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8142 | PyObject *resultobj = 0; | |
8143 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8144 | wxAuiPaneInfo *arg2 = 0 ; | |
8145 | void *argp1 = 0 ; | |
8146 | int res1 = 0 ; | |
8147 | void *argp2 = 0 ; | |
8148 | int res2 = 0 ; | |
8149 | PyObject * obj0 = 0 ; | |
8150 | PyObject * obj1 = 0 ; | |
8151 | char * kwnames[] = { | |
8152 | (char *) "self",(char *) "pane_info", NULL | |
8153 | }; | |
8154 | ||
8155 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8156 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8157 | if (!SWIG_IsOK(res1)) { | |
8158 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8159 | } | |
8160 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8161 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8162 | if (!SWIG_IsOK(res2)) { | |
8163 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8164 | } | |
8165 | if (!argp2) { | |
8166 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8167 | } | |
8168 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8169 | { | |
8170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8171 | (arg1)->ClosePane(*arg2); | |
8172 | wxPyEndAllowThreads(__tstate); | |
8173 | if (PyErr_Occurred()) SWIG_fail; | |
8174 | } | |
8175 | resultobj = SWIG_Py_Void(); | |
8176 | return resultobj; | |
8177 | fail: | |
8178 | return NULL; | |
8179 | } | |
8180 | ||
8181 | ||
8182 | SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8183 | PyObject *resultobj = 0; | |
8184 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8185 | wxAuiPaneInfo *arg2 = 0 ; | |
8186 | void *argp1 = 0 ; | |
8187 | int res1 = 0 ; | |
8188 | void *argp2 = 0 ; | |
8189 | int res2 = 0 ; | |
8190 | PyObject * obj0 = 0 ; | |
8191 | PyObject * obj1 = 0 ; | |
8192 | char * kwnames[] = { | |
8193 | (char *) "self",(char *) "pane_info", NULL | |
8194 | }; | |
8195 | ||
8196 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8197 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8198 | if (!SWIG_IsOK(res1)) { | |
8199 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8200 | } | |
8201 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8202 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8203 | if (!SWIG_IsOK(res2)) { | |
8204 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8205 | } | |
8206 | if (!argp2) { | |
8207 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8208 | } | |
8209 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8210 | { | |
8211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8212 | (arg1)->MaximizePane(*arg2); | |
8213 | wxPyEndAllowThreads(__tstate); | |
8214 | if (PyErr_Occurred()) SWIG_fail; | |
8215 | } | |
8216 | resultobj = SWIG_Py_Void(); | |
8217 | return resultobj; | |
8218 | fail: | |
8219 | return NULL; | |
8220 | } | |
8221 | ||
8222 | ||
8223 | SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8224 | PyObject *resultobj = 0; | |
8225 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8226 | wxAuiPaneInfo *arg2 = 0 ; | |
8227 | void *argp1 = 0 ; | |
8228 | int res1 = 0 ; | |
8229 | void *argp2 = 0 ; | |
8230 | int res2 = 0 ; | |
8231 | PyObject * obj0 = 0 ; | |
8232 | PyObject * obj1 = 0 ; | |
8233 | char * kwnames[] = { | |
8234 | (char *) "self",(char *) "pane_info", NULL | |
8235 | }; | |
8236 | ||
8237 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8238 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8239 | if (!SWIG_IsOK(res1)) { | |
8240 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8241 | } | |
8242 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8243 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8244 | if (!SWIG_IsOK(res2)) { | |
8245 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8246 | } | |
8247 | if (!argp2) { | |
8248 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8249 | } | |
8250 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8251 | { | |
8252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8253 | (arg1)->RestorePane(*arg2); | |
8254 | wxPyEndAllowThreads(__tstate); | |
8255 | if (PyErr_Occurred()) SWIG_fail; | |
8256 | } | |
8257 | resultobj = SWIG_Py_Void(); | |
8258 | return resultobj; | |
8259 | fail: | |
8260 | return NULL; | |
8261 | } | |
8262 | ||
8263 | ||
8264 | SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 8265 | PyObject *resultobj = 0; |
5eb8189c | 8266 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8267 | void *argp1 = 0 ; |
8268 | int res1 = 0 ; | |
8269 | PyObject *swig_obj[1] ; | |
8270 | ||
8271 | if (!args) SWIG_fail; | |
8272 | swig_obj[0] = args; | |
5eb8189c | 8273 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8274 | if (!SWIG_IsOK(res1)) { |
d7645bfd | 8275 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8276 | } |
5eb8189c | 8277 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8278 | { |
8279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 8280 | (arg1)->RestoreMaximizedPane(); |
27e45892 RD |
8281 | wxPyEndAllowThreads(__tstate); |
8282 | if (PyErr_Occurred()) SWIG_fail; | |
8283 | } | |
8284 | resultobj = SWIG_Py_Void(); | |
8285 | return resultobj; | |
8286 | fail: | |
8287 | return NULL; | |
8288 | } | |
8289 | ||
8290 | ||
5eb8189c | 8291 | SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 8292 | PyObject *resultobj = 0; |
5eb8189c | 8293 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
9b940138 | 8294 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c RD |
8295 | wxAuiPaneInfo *arg3 = 0 ; |
8296 | wxAuiFloatingFrame *result = 0 ; | |
9b940138 RD |
8297 | void *argp1 = 0 ; |
8298 | int res1 = 0 ; | |
8299 | void *argp2 = 0 ; | |
8300 | int res2 = 0 ; | |
8301 | void *argp3 = 0 ; | |
8302 | int res3 = 0 ; | |
8303 | PyObject * obj0 = 0 ; | |
8304 | PyObject * obj1 = 0 ; | |
8305 | PyObject * obj2 = 0 ; | |
8306 | char * kwnames[] = { | |
8307 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
8308 | }; | |
8309 | ||
5eb8189c RD |
8310 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8311 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 8312 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8313 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 8314 | } |
5eb8189c | 8315 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
9b940138 RD |
8316 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8317 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8318 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); |
9b940138 RD |
8319 | } |
8320 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 8321 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
9b940138 | 8322 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8323 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 RD |
8324 | } |
8325 | if (!argp3) { | |
5eb8189c | 8326 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 | 8327 | } |
5eb8189c | 8328 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
9b940138 RD |
8329 | { |
8330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8331 | result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); |
9b940138 RD |
8332 | wxPyEndAllowThreads(__tstate); |
8333 | if (PyErr_Occurred()) SWIG_fail; | |
8334 | } | |
5eb8189c | 8335 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); |
9b940138 RD |
8336 | return resultobj; |
8337 | fail: | |
8338 | return NULL; | |
8339 | } | |
8340 | ||
8341 | ||
e7e9d1b8 RD |
8342 | SWIGINTERN PyObject *_wrap_AuiManager_StartPaneDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8343 | PyObject *resultobj = 0; | |
8344 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8345 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8346 | wxPoint *arg3 = 0 ; | |
8347 | void *argp1 = 0 ; | |
8348 | int res1 = 0 ; | |
8349 | void *argp2 = 0 ; | |
8350 | int res2 = 0 ; | |
8351 | wxPoint temp3 ; | |
8352 | PyObject * obj0 = 0 ; | |
8353 | PyObject * obj1 = 0 ; | |
8354 | PyObject * obj2 = 0 ; | |
8355 | char * kwnames[] = { | |
8356 | (char *) "self",(char *) "pane_window",(char *) "offset", NULL | |
8357 | }; | |
8358 | ||
8359 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_StartPaneDrag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8360 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8361 | if (!SWIG_IsOK(res1)) { | |
8362 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8363 | } | |
8364 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8365 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8366 | if (!SWIG_IsOK(res2)) { | |
8367 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8368 | } | |
8369 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8370 | { | |
8371 | arg3 = &temp3; | |
8372 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8373 | } | |
8374 | { | |
8375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8376 | (arg1)->StartPaneDrag(arg2,(wxPoint const &)*arg3); | |
8377 | wxPyEndAllowThreads(__tstate); | |
8378 | if (PyErr_Occurred()) SWIG_fail; | |
8379 | } | |
8380 | resultobj = SWIG_Py_Void(); | |
8381 | return resultobj; | |
8382 | fail: | |
8383 | return NULL; | |
8384 | } | |
8385 | ||
8386 | ||
5172800e RD |
8387 | SWIGINTERN PyObject *_wrap_AuiManager_CalculateHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8388 | PyObject *resultobj = 0; | |
8389 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8390 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8391 | wxPoint *arg3 = 0 ; | |
8392 | wxPoint *arg4 = 0 ; | |
8393 | wxRect result; | |
8394 | void *argp1 = 0 ; | |
8395 | int res1 = 0 ; | |
8396 | void *argp2 = 0 ; | |
8397 | int res2 = 0 ; | |
8398 | wxPoint temp3 ; | |
8399 | wxPoint temp4 ; | |
8400 | PyObject * obj0 = 0 ; | |
8401 | PyObject * obj1 = 0 ; | |
8402 | PyObject * obj2 = 0 ; | |
8403 | PyObject * obj3 = 0 ; | |
8404 | char * kwnames[] = { | |
8405 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8406 | }; | |
8407 | ||
8408 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_CalculateHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8409 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8410 | if (!SWIG_IsOK(res1)) { | |
8411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8412 | } | |
8413 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8414 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8415 | if (!SWIG_IsOK(res2)) { | |
8416 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8417 | } | |
8418 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8419 | { | |
8420 | arg3 = &temp3; | |
8421 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8422 | } | |
8423 | { | |
8424 | arg4 = &temp4; | |
8425 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8426 | } | |
8427 | { | |
8428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8429 | result = (arg1)->CalculateHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8430 | wxPyEndAllowThreads(__tstate); | |
8431 | if (PyErr_Occurred()) SWIG_fail; | |
8432 | } | |
8433 | resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 ); | |
8434 | return resultobj; | |
8435 | fail: | |
8436 | return NULL; | |
8437 | } | |
8438 | ||
8439 | ||
5eb8189c | 8440 | SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8441 | PyObject *resultobj = 0; |
5eb8189c | 8442 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8443 | wxWindow *arg2 = (wxWindow *) 0 ; |
8444 | wxPoint *arg3 = 0 ; | |
8445 | wxPoint *arg4 = 0 ; | |
8446 | void *argp1 = 0 ; | |
8447 | int res1 = 0 ; | |
8448 | void *argp2 = 0 ; | |
8449 | int res2 = 0 ; | |
8450 | wxPoint temp3 ; | |
8451 | wxPoint temp4 ; | |
8452 | PyObject * obj0 = 0 ; | |
8453 | PyObject * obj1 = 0 ; | |
8454 | PyObject * obj2 = 0 ; | |
8455 | PyObject * obj3 = 0 ; | |
8456 | char * kwnames[] = { | |
8457 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8458 | }; | |
8459 | ||
5eb8189c RD |
8460 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
8461 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8462 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8463 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8464 | } |
5eb8189c | 8465 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8466 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8467 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8468 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
8469 | } |
8470 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8471 | { | |
8472 | arg3 = &temp3; | |
8473 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8474 | } | |
8475 | { | |
8476 | arg4 = &temp4; | |
8477 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8478 | } | |
8479 | { | |
8480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8481 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8482 | wxPyEndAllowThreads(__tstate); | |
8483 | if (PyErr_Occurred()) SWIG_fail; | |
8484 | } | |
8485 | resultobj = SWIG_Py_Void(); | |
8486 | return resultobj; | |
8487 | fail: | |
8488 | return NULL; | |
8489 | } | |
8490 | ||
8491 | ||
5eb8189c | 8492 | SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8493 | PyObject *resultobj = 0; |
5eb8189c | 8494 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8495 | wxRect *arg2 = 0 ; |
8496 | void *argp1 = 0 ; | |
8497 | int res1 = 0 ; | |
8498 | wxRect temp2 ; | |
8499 | PyObject * obj0 = 0 ; | |
8500 | PyObject * obj1 = 0 ; | |
8501 | char * kwnames[] = { | |
8502 | (char *) "self",(char *) "rect", NULL | |
8503 | }; | |
8504 | ||
5eb8189c RD |
8505 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
8506 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8507 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8508 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8509 | } |
5eb8189c | 8510 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8511 | { |
8512 | arg2 = &temp2; | |
8513 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8514 | } | |
8515 | { | |
8516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8517 | (arg1)->ShowHint((wxRect const &)*arg2); | |
8518 | wxPyEndAllowThreads(__tstate); | |
8519 | if (PyErr_Occurred()) SWIG_fail; | |
8520 | } | |
8521 | resultobj = SWIG_Py_Void(); | |
8522 | return resultobj; | |
8523 | fail: | |
8524 | return NULL; | |
8525 | } | |
8526 | ||
8527 | ||
5eb8189c | 8528 | SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 8529 | PyObject *resultobj = 0; |
5eb8189c | 8530 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8531 | void *argp1 = 0 ; |
8532 | int res1 = 0 ; | |
8533 | PyObject *swig_obj[1] ; | |
8534 | ||
8535 | if (!args) SWIG_fail; | |
8536 | swig_obj[0] = args; | |
5eb8189c | 8537 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
10044bf1 | 8538 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8539 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8540 | } |
5eb8189c | 8541 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8542 | { |
8543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8544 | (arg1)->HideHint(); | |
8545 | wxPyEndAllowThreads(__tstate); | |
8546 | if (PyErr_Occurred()) SWIG_fail; | |
8547 | } | |
8548 | resultobj = SWIG_Py_Void(); | |
8549 | return resultobj; | |
8550 | fail: | |
8551 | return NULL; | |
8552 | } | |
8553 | ||
8554 | ||
5eb8189c | 8555 | SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8556 | PyObject *resultobj = 0; |
5eb8189c RD |
8557 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8558 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8559 | void *argp1 = 0 ; |
8560 | int res1 = 0 ; | |
8561 | void *argp2 = 0 ; | |
8562 | int res2 = 0 ; | |
8563 | PyObject * obj0 = 0 ; | |
8564 | PyObject * obj1 = 0 ; | |
8565 | char * kwnames[] = { | |
8566 | (char *) "self",(char *) "evt", NULL | |
8567 | }; | |
8568 | ||
5eb8189c RD |
8569 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; |
8570 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8571 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8572 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8573 | } |
5eb8189c RD |
8574 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8575 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8576 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8577 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8578 | } |
8579 | if (!argp2) { | |
5eb8189c | 8580 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8581 | } |
5eb8189c | 8582 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8583 | { |
8584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8585 | (arg1)->OnRender(*arg2); | |
8586 | wxPyEndAllowThreads(__tstate); | |
8587 | if (PyErr_Occurred()) SWIG_fail; | |
8588 | } | |
8589 | resultobj = SWIG_Py_Void(); | |
8590 | return resultobj; | |
8591 | fail: | |
8592 | return NULL; | |
8593 | } | |
8594 | ||
8595 | ||
5eb8189c | 8596 | SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8597 | PyObject *resultobj = 0; |
5eb8189c RD |
8598 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8599 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8600 | void *argp1 = 0 ; |
8601 | int res1 = 0 ; | |
8602 | void *argp2 = 0 ; | |
8603 | int res2 = 0 ; | |
8604 | PyObject * obj0 = 0 ; | |
8605 | PyObject * obj1 = 0 ; | |
8606 | char * kwnames[] = { | |
8607 | (char *) "self",(char *) "evt", NULL | |
8608 | }; | |
8609 | ||
5eb8189c RD |
8610 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8611 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8612 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8613 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8614 | } |
5eb8189c RD |
8615 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8616 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8617 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8618 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8619 | } |
8620 | if (!argp2) { | |
5eb8189c | 8621 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8622 | } |
5eb8189c | 8623 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8624 | { |
8625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8626 | (arg1)->OnPaneButton(*arg2); | |
8627 | wxPyEndAllowThreads(__tstate); | |
8628 | if (PyErr_Occurred()) SWIG_fail; | |
8629 | } | |
8630 | resultobj = SWIG_Py_Void(); | |
8631 | return resultobj; | |
8632 | fail: | |
8633 | return NULL; | |
8634 | } | |
8635 | ||
8636 | ||
5eb8189c | 8637 | SWIGINTERN PyObject *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8638 | PyObject *obj; |
8639 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 8640 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj)); |
27e45892 RD |
8641 | return SWIG_Py_Void(); |
8642 | } | |
8643 | ||
5eb8189c | 8644 | SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8645 | return SWIG_Python_InitShadowInstance(args); |
8646 | } | |
8647 | ||
5eb8189c | 8648 | SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
8649 | PyObject *resultobj = 0; |
8650 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5eb8189c | 8651 | wxAuiManagerEvent *result = 0 ; |
27e45892 RD |
8652 | int val1 ; |
8653 | int ecode1 = 0 ; | |
8654 | PyObject * obj0 = 0 ; | |
8655 | char * kwnames[] = { | |
8656 | (char *) "type", NULL | |
8657 | }; | |
8658 | ||
5eb8189c | 8659 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail; |
27e45892 RD |
8660 | if (obj0) { |
8661 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
8662 | if (!SWIG_IsOK(ecode1)) { | |
5eb8189c | 8663 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); |
27e45892 RD |
8664 | } |
8665 | arg1 = static_cast< wxEventType >(val1); | |
8666 | } | |
8667 | { | |
8668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8669 | result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1); |
27e45892 RD |
8670 | wxPyEndAllowThreads(__tstate); |
8671 | if (PyErr_Occurred()) SWIG_fail; | |
8672 | } | |
5eb8189c | 8673 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
8674 | return resultobj; |
8675 | fail: | |
8676 | return NULL; | |
8677 | } | |
8678 | ||
8679 | ||
5eb8189c | 8680 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8681 | PyObject *resultobj = 0; |
5eb8189c | 8682 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8683 | wxEvent *result = 0 ; |
8684 | void *argp1 = 0 ; | |
8685 | int res1 = 0 ; | |
8686 | PyObject *swig_obj[1] ; | |
8687 | ||
8688 | if (!args) SWIG_fail; | |
8689 | swig_obj[0] = args; | |
5eb8189c | 8690 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8691 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8692 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8693 | } |
5eb8189c | 8694 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8695 | { |
8696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8697 | result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone(); |
27e45892 RD |
8698 | wxPyEndAllowThreads(__tstate); |
8699 | if (PyErr_Occurred()) SWIG_fail; | |
8700 | } | |
8701 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8702 | return resultobj; | |
8703 | fail: | |
8704 | return NULL; | |
8705 | } | |
8706 | ||
8707 | ||
eccab1a7 RD |
8708 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8709 | PyObject *resultobj = 0; | |
8710 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8711 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
8712 | void *argp1 = 0 ; | |
8713 | int res1 = 0 ; | |
8714 | void *argp2 = 0 ; | |
8715 | int res2 = 0 ; | |
8716 | PyObject * obj0 = 0 ; | |
8717 | PyObject * obj1 = 0 ; | |
8718 | char * kwnames[] = { | |
8719 | (char *) "self",(char *) "mgr", NULL | |
8720 | }; | |
8721 | ||
8722 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetManager",kwnames,&obj0,&obj1)) SWIG_fail; | |
8723 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8724 | if (!SWIG_IsOK(res1)) { | |
8725 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
8726 | } | |
8727 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8728 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8729 | if (!SWIG_IsOK(res2)) { | |
8730 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
8731 | } | |
8732 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
8733 | { | |
8734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8735 | (arg1)->SetManager(arg2); | |
8736 | wxPyEndAllowThreads(__tstate); | |
8737 | if (PyErr_Occurred()) SWIG_fail; | |
8738 | } | |
8739 | resultobj = SWIG_Py_Void(); | |
8740 | return resultobj; | |
8741 | fail: | |
8742 | return NULL; | |
8743 | } | |
8744 | ||
8745 | ||
5eb8189c | 8746 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8747 | PyObject *resultobj = 0; |
5eb8189c RD |
8748 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8749 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8750 | void *argp1 = 0 ; |
8751 | int res1 = 0 ; | |
8752 | void *argp2 = 0 ; | |
8753 | int res2 = 0 ; | |
8754 | PyObject * obj0 = 0 ; | |
8755 | PyObject * obj1 = 0 ; | |
8756 | char * kwnames[] = { | |
8757 | (char *) "self",(char *) "p", NULL | |
8758 | }; | |
8759 | ||
5eb8189c RD |
8760 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; |
8761 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8762 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8763 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8764 | } |
5eb8189c RD |
8765 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8766 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 8767 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8768 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8769 | } |
5eb8189c | 8770 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8771 | { |
8772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8773 | (arg1)->SetPane(arg2); | |
8774 | wxPyEndAllowThreads(__tstate); | |
8775 | if (PyErr_Occurred()) SWIG_fail; | |
8776 | } | |
8777 | resultobj = SWIG_Py_Void(); | |
8778 | return resultobj; | |
8779 | fail: | |
8780 | return NULL; | |
8781 | } | |
8782 | ||
8783 | ||
5eb8189c | 8784 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8785 | PyObject *resultobj = 0; |
5eb8189c | 8786 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8787 | int arg2 ; |
8788 | void *argp1 = 0 ; | |
8789 | int res1 = 0 ; | |
8790 | int val2 ; | |
8791 | int ecode2 = 0 ; | |
8792 | PyObject * obj0 = 0 ; | |
8793 | PyObject * obj1 = 0 ; | |
8794 | char * kwnames[] = { | |
8795 | (char *) "self",(char *) "b", NULL | |
8796 | }; | |
8797 | ||
5eb8189c RD |
8798 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8799 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8800 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8801 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8802 | } |
5eb8189c | 8803 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8804 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
8805 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8806 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8807 | } |
8808 | arg2 = static_cast< int >(val2); | |
8809 | { | |
8810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8811 | (arg1)->SetButton(arg2); | |
8812 | wxPyEndAllowThreads(__tstate); | |
8813 | if (PyErr_Occurred()) SWIG_fail; | |
8814 | } | |
8815 | resultobj = SWIG_Py_Void(); | |
8816 | return resultobj; | |
8817 | fail: | |
8818 | return NULL; | |
8819 | } | |
8820 | ||
8821 | ||
5eb8189c | 8822 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8823 | PyObject *resultobj = 0; |
5eb8189c | 8824 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8825 | wxDC *arg2 = (wxDC *) 0 ; |
8826 | void *argp1 = 0 ; | |
8827 | int res1 = 0 ; | |
8828 | void *argp2 = 0 ; | |
8829 | int res2 = 0 ; | |
8830 | PyObject * obj0 = 0 ; | |
8831 | PyObject * obj1 = 0 ; | |
8832 | char * kwnames[] = { | |
8833 | (char *) "self",(char *) "pdc", NULL | |
8834 | }; | |
8835 | ||
5eb8189c RD |
8836 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; |
8837 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 8838 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8839 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 8840 | } |
5eb8189c | 8841 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8842 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
8843 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8844 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
8845 | } |
8846 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8847 | { | |
8848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8849 | (arg1)->SetDC(arg2); | |
8850 | wxPyEndAllowThreads(__tstate); | |
8851 | if (PyErr_Occurred()) SWIG_fail; | |
8852 | } | |
8853 | resultobj = SWIG_Py_Void(); | |
8854 | return resultobj; | |
8855 | fail: | |
8856 | return NULL; | |
8857 | } | |
8858 | ||
8859 | ||
eccab1a7 RD |
8860 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8861 | PyObject *resultobj = 0; | |
8862 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8863 | wxAuiManager *result = 0 ; | |
8864 | void *argp1 = 0 ; | |
8865 | int res1 = 0 ; | |
8866 | PyObject *swig_obj[1] ; | |
8867 | ||
8868 | if (!args) SWIG_fail; | |
8869 | swig_obj[0] = args; | |
8870 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8871 | if (!SWIG_IsOK(res1)) { | |
8872 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); | |
8873 | } | |
8874 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8875 | { | |
8876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8877 | result = (wxAuiManager *)((wxAuiManagerEvent const *)arg1)->GetManager(); | |
8878 | wxPyEndAllowThreads(__tstate); | |
8879 | if (PyErr_Occurred()) SWIG_fail; | |
8880 | } | |
8881 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8882 | return resultobj; | |
8883 | fail: | |
8884 | return NULL; | |
8885 | } | |
8886 | ||
8887 | ||
5eb8189c | 8888 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8889 | PyObject *resultobj = 0; |
5eb8189c RD |
8890 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8891 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8892 | void *argp1 = 0 ; |
8893 | int res1 = 0 ; | |
8894 | PyObject *swig_obj[1] ; | |
8895 | ||
8896 | if (!args) SWIG_fail; | |
8897 | swig_obj[0] = args; | |
5eb8189c | 8898 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8899 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8900 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8901 | } |
5eb8189c | 8902 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8903 | { |
8904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8905 | result = (wxAuiPaneInfo *)((wxAuiManagerEvent const *)arg1)->GetPane(); |
27e45892 RD |
8906 | wxPyEndAllowThreads(__tstate); |
8907 | if (PyErr_Occurred()) SWIG_fail; | |
8908 | } | |
5eb8189c | 8909 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
8910 | return resultobj; |
8911 | fail: | |
8912 | return NULL; | |
8913 | } | |
8914 | ||
8915 | ||
5eb8189c | 8916 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8917 | PyObject *resultobj = 0; |
5eb8189c | 8918 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8919 | int result; |
8920 | void *argp1 = 0 ; | |
8921 | int res1 = 0 ; | |
8922 | PyObject *swig_obj[1] ; | |
8923 | ||
8924 | if (!args) SWIG_fail; | |
8925 | swig_obj[0] = args; | |
5eb8189c | 8926 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8927 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8928 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8929 | } |
5eb8189c | 8930 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8931 | { |
8932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8933 | result = (int)((wxAuiManagerEvent const *)arg1)->GetButton(); |
27e45892 RD |
8934 | wxPyEndAllowThreads(__tstate); |
8935 | if (PyErr_Occurred()) SWIG_fail; | |
8936 | } | |
8937 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8938 | return resultobj; | |
8939 | fail: | |
8940 | return NULL; | |
8941 | } | |
8942 | ||
8943 | ||
5eb8189c | 8944 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 8945 | PyObject *resultobj = 0; |
5eb8189c | 8946 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8947 | wxDC *result = 0 ; |
8948 | void *argp1 = 0 ; | |
8949 | int res1 = 0 ; | |
8950 | PyObject *swig_obj[1] ; | |
8951 | ||
8952 | if (!args) SWIG_fail; | |
8953 | swig_obj[0] = args; | |
5eb8189c | 8954 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 8955 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8956 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
81f5836b | 8957 | } |
5eb8189c | 8958 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8959 | { |
8960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8961 | result = (wxDC *)((wxAuiManagerEvent const *)arg1)->GetDC(); |
81f5836b RD |
8962 | wxPyEndAllowThreads(__tstate); |
8963 | if (PyErr_Occurred()) SWIG_fail; | |
8964 | } | |
8965 | { | |
8966 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8967 | } | |
8968 | return resultobj; | |
8969 | fail: | |
8970 | return NULL; | |
8971 | } | |
8972 | ||
8973 | ||
5eb8189c | 8974 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8975 | PyObject *resultobj = 0; |
5eb8189c | 8976 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8977 | bool arg2 = (bool) true ; |
8978 | void *argp1 = 0 ; | |
8979 | int res1 = 0 ; | |
8980 | bool val2 ; | |
8981 | int ecode2 = 0 ; | |
8982 | PyObject * obj0 = 0 ; | |
8983 | PyObject * obj1 = 0 ; | |
8984 | char * kwnames[] = { | |
8985 | (char *) "self",(char *) "veto", NULL | |
8986 | }; | |
8987 | ||
5eb8189c RD |
8988 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; |
8989 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8990 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8991 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8992 | } |
5eb8189c | 8993 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8994 | if (obj1) { |
8995 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8996 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8997 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8998 | } |
8999 | arg2 = static_cast< bool >(val2); | |
9000 | } | |
9001 | { | |
9002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9003 | (arg1)->Veto(arg2); | |
9004 | wxPyEndAllowThreads(__tstate); | |
9005 | if (PyErr_Occurred()) SWIG_fail; | |
9006 | } | |
9007 | resultobj = SWIG_Py_Void(); | |
9008 | return resultobj; | |
9009 | fail: | |
9010 | return NULL; | |
9011 | } | |
9012 | ||
9013 | ||
5eb8189c | 9014 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9015 | PyObject *resultobj = 0; |
5eb8189c | 9016 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9017 | bool result; |
9018 | void *argp1 = 0 ; | |
9019 | int res1 = 0 ; | |
9020 | PyObject *swig_obj[1] ; | |
9021 | ||
9022 | if (!args) SWIG_fail; | |
9023 | swig_obj[0] = args; | |
5eb8189c | 9024 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9025 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9026 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9027 | } |
5eb8189c | 9028 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9029 | { |
9030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9031 | result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto(); |
27e45892 RD |
9032 | wxPyEndAllowThreads(__tstate); |
9033 | if (PyErr_Occurred()) SWIG_fail; | |
9034 | } | |
9035 | { | |
9036 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9037 | } | |
9038 | return resultobj; | |
9039 | fail: | |
9040 | return NULL; | |
9041 | } | |
9042 | ||
9043 | ||
5eb8189c | 9044 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 9045 | PyObject *resultobj = 0; |
5eb8189c | 9046 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9047 | bool arg2 ; |
9048 | void *argp1 = 0 ; | |
9049 | int res1 = 0 ; | |
9050 | bool val2 ; | |
9051 | int ecode2 = 0 ; | |
9052 | PyObject * obj0 = 0 ; | |
9053 | PyObject * obj1 = 0 ; | |
9054 | char * kwnames[] = { | |
9055 | (char *) "self",(char *) "can_veto", NULL | |
9056 | }; | |
9057 | ||
5eb8189c RD |
9058 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; |
9059 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9060 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9061 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9062 | } |
5eb8189c | 9063 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9064 | ecode2 = SWIG_AsVal_bool(obj1, &val2); |
9065 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9066 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9067 | } |
9068 | arg2 = static_cast< bool >(val2); | |
9069 | { | |
9070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9071 | (arg1)->SetCanVeto(arg2); | |
9072 | wxPyEndAllowThreads(__tstate); | |
9073 | if (PyErr_Occurred()) SWIG_fail; | |
9074 | } | |
9075 | resultobj = SWIG_Py_Void(); | |
9076 | return resultobj; | |
9077 | fail: | |
9078 | return NULL; | |
9079 | } | |
9080 | ||
9081 | ||
5eb8189c | 9082 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9083 | PyObject *resultobj = 0; |
5eb8189c | 9084 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9085 | bool result; |
9086 | void *argp1 = 0 ; | |
9087 | int res1 = 0 ; | |
9088 | PyObject *swig_obj[1] ; | |
9089 | ||
9090 | if (!args) SWIG_fail; | |
9091 | swig_obj[0] = args; | |
5eb8189c | 9092 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9093 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9094 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9095 | } |
5eb8189c | 9096 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9097 | { |
9098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9099 | result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto(); |
27e45892 RD |
9100 | wxPyEndAllowThreads(__tstate); |
9101 | if (PyErr_Occurred()) SWIG_fail; | |
9102 | } | |
9103 | { | |
9104 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9105 | } | |
9106 | return resultobj; | |
9107 | fail: | |
9108 | return NULL; | |
9109 | } | |
9110 | ||
9111 | ||
eccab1a7 RD |
9112 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9113 | PyObject *resultobj = 0; | |
9114 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9115 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
9116 | void *argp1 = 0 ; | |
9117 | int res1 = 0 ; | |
9118 | void *argp2 = 0 ; | |
9119 | int res2 = 0 ; | |
9120 | PyObject *swig_obj[2] ; | |
9121 | ||
9122 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_manager_set",2,2,swig_obj)) SWIG_fail; | |
9123 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9124 | if (!SWIG_IsOK(res1)) { | |
9125 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9126 | } | |
9127 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9128 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); | |
9129 | if (!SWIG_IsOK(res2)) { | |
9130 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
9131 | } | |
9132 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
9133 | if (arg1) (arg1)->manager = arg2; | |
9134 | ||
9135 | resultobj = SWIG_Py_Void(); | |
9136 | return resultobj; | |
9137 | fail: | |
9138 | return NULL; | |
9139 | } | |
9140 | ||
9141 | ||
9142 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9143 | PyObject *resultobj = 0; | |
9144 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9145 | wxAuiManager *result = 0 ; | |
9146 | void *argp1 = 0 ; | |
9147 | int res1 = 0 ; | |
9148 | PyObject *swig_obj[1] ; | |
9149 | ||
9150 | if (!args) SWIG_fail; | |
9151 | swig_obj[0] = args; | |
9152 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9153 | if (!SWIG_IsOK(res1)) { | |
9154 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9155 | } | |
9156 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9157 | result = (wxAuiManager *) ((arg1)->manager); | |
9158 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9159 | return resultobj; | |
9160 | fail: | |
9161 | return NULL; | |
9162 | } | |
9163 | ||
9164 | ||
5eb8189c | 9165 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9166 | PyObject *resultobj = 0; |
5eb8189c RD |
9167 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9168 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
9169 | void *argp1 = 0 ; |
9170 | int res1 = 0 ; | |
9171 | void *argp2 = 0 ; | |
9172 | int res2 = 0 ; | |
9173 | PyObject *swig_obj[2] ; | |
9174 | ||
5eb8189c RD |
9175 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; |
9176 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9177 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9178 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9179 | } |
5eb8189c RD |
9180 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9181 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 9182 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9183 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 9184 | } |
5eb8189c | 9185 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
9186 | if (arg1) (arg1)->pane = arg2; |
9187 | ||
9188 | resultobj = SWIG_Py_Void(); | |
9189 | return resultobj; | |
9190 | fail: | |
9191 | return NULL; | |
9192 | } | |
9193 | ||
9194 | ||
5eb8189c | 9195 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9196 | PyObject *resultobj = 0; |
5eb8189c RD |
9197 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9198 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
9199 | void *argp1 = 0 ; |
9200 | int res1 = 0 ; | |
9201 | PyObject *swig_obj[1] ; | |
9202 | ||
9203 | if (!args) SWIG_fail; | |
9204 | swig_obj[0] = args; | |
5eb8189c | 9205 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9206 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9207 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9208 | } |
5eb8189c RD |
9209 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9210 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
9211 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
9212 | return resultobj; |
9213 | fail: | |
9214 | return NULL; | |
9215 | } | |
9216 | ||
9217 | ||
5eb8189c | 9218 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9219 | PyObject *resultobj = 0; |
5eb8189c | 9220 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9221 | int arg2 ; |
9222 | void *argp1 = 0 ; | |
9223 | int res1 = 0 ; | |
9224 | int val2 ; | |
9225 | int ecode2 = 0 ; | |
9226 | PyObject *swig_obj[2] ; | |
9227 | ||
5eb8189c RD |
9228 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; |
9229 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9230 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9231 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9232 | } |
5eb8189c | 9233 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9234 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9235 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9236 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9237 | } |
9238 | arg2 = static_cast< int >(val2); | |
9239 | if (arg1) (arg1)->button = arg2; | |
9240 | ||
9241 | resultobj = SWIG_Py_Void(); | |
9242 | return resultobj; | |
9243 | fail: | |
9244 | return NULL; | |
9245 | } | |
9246 | ||
9247 | ||
5eb8189c | 9248 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9249 | PyObject *resultobj = 0; |
5eb8189c | 9250 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9251 | int result; |
9252 | void *argp1 = 0 ; | |
9253 | int res1 = 0 ; | |
9254 | PyObject *swig_obj[1] ; | |
9255 | ||
9256 | if (!args) SWIG_fail; | |
9257 | swig_obj[0] = args; | |
5eb8189c | 9258 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9259 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9260 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9261 | } |
5eb8189c | 9262 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9263 | result = (int) ((arg1)->button); |
9264 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9265 | return resultobj; | |
9266 | fail: | |
9267 | return NULL; | |
9268 | } | |
9269 | ||
9270 | ||
5eb8189c | 9271 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9272 | PyObject *resultobj = 0; |
5eb8189c | 9273 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9274 | bool arg2 ; |
9275 | void *argp1 = 0 ; | |
9276 | int res1 = 0 ; | |
9277 | bool val2 ; | |
9278 | int ecode2 = 0 ; | |
9279 | PyObject *swig_obj[2] ; | |
9280 | ||
5eb8189c RD |
9281 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; |
9282 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9283 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9284 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9285 | } |
5eb8189c | 9286 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9287 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9288 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9289 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9290 | } |
9291 | arg2 = static_cast< bool >(val2); | |
9292 | if (arg1) (arg1)->veto_flag = arg2; | |
9293 | ||
9294 | resultobj = SWIG_Py_Void(); | |
9295 | return resultobj; | |
9296 | fail: | |
9297 | return NULL; | |
9298 | } | |
9299 | ||
9300 | ||
5eb8189c | 9301 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9302 | PyObject *resultobj = 0; |
5eb8189c | 9303 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9304 | bool result; |
9305 | void *argp1 = 0 ; | |
9306 | int res1 = 0 ; | |
9307 | PyObject *swig_obj[1] ; | |
9308 | ||
9309 | if (!args) SWIG_fail; | |
9310 | swig_obj[0] = args; | |
5eb8189c | 9311 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9312 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9313 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9314 | } |
5eb8189c | 9315 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9316 | result = (bool) ((arg1)->veto_flag); |
9317 | { | |
9318 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9319 | } | |
9320 | return resultobj; | |
9321 | fail: | |
9322 | return NULL; | |
9323 | } | |
9324 | ||
9325 | ||
5eb8189c | 9326 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9327 | PyObject *resultobj = 0; |
5eb8189c | 9328 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9329 | bool arg2 ; |
9330 | void *argp1 = 0 ; | |
9331 | int res1 = 0 ; | |
9332 | bool val2 ; | |
9333 | int ecode2 = 0 ; | |
9334 | PyObject *swig_obj[2] ; | |
9335 | ||
5eb8189c RD |
9336 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; |
9337 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9338 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9339 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9340 | } |
5eb8189c | 9341 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9342 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9343 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9344 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9345 | } |
9346 | arg2 = static_cast< bool >(val2); | |
9347 | if (arg1) (arg1)->canveto_flag = arg2; | |
9348 | ||
9349 | resultobj = SWIG_Py_Void(); | |
9350 | return resultobj; | |
9351 | fail: | |
9352 | return NULL; | |
9353 | } | |
9354 | ||
9355 | ||
5eb8189c | 9356 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9357 | PyObject *resultobj = 0; |
5eb8189c | 9358 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9359 | bool result; |
9360 | void *argp1 = 0 ; | |
9361 | int res1 = 0 ; | |
9362 | PyObject *swig_obj[1] ; | |
9363 | ||
9364 | if (!args) SWIG_fail; | |
9365 | swig_obj[0] = args; | |
5eb8189c | 9366 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9367 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9368 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9369 | } |
5eb8189c | 9370 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9371 | result = (bool) ((arg1)->canveto_flag); |
9372 | { | |
9373 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9374 | } | |
9375 | return resultobj; | |
9376 | fail: | |
9377 | return NULL; | |
9378 | } | |
9379 | ||
9380 | ||
5eb8189c | 9381 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9382 | PyObject *resultobj = 0; |
5eb8189c | 9383 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9384 | wxDC *arg2 = (wxDC *) 0 ; |
9385 | void *argp1 = 0 ; | |
9386 | int res1 = 0 ; | |
9387 | void *argp2 = 0 ; | |
9388 | int res2 = 0 ; | |
9389 | PyObject *swig_obj[2] ; | |
9390 | ||
5eb8189c RD |
9391 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; |
9392 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 9393 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9394 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9395 | } |
5eb8189c | 9396 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9397 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); |
9398 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9399 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
9400 | } |
9401 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
9402 | if (arg1) (arg1)->dc = arg2; | |
9403 | ||
9404 | resultobj = SWIG_Py_Void(); | |
9405 | return resultobj; | |
9406 | fail: | |
9407 | return NULL; | |
9408 | } | |
9409 | ||
9410 | ||
5eb8189c | 9411 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9412 | PyObject *resultobj = 0; |
5eb8189c | 9413 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9414 | wxDC *result = 0 ; |
9415 | void *argp1 = 0 ; | |
9416 | int res1 = 0 ; | |
9417 | PyObject *swig_obj[1] ; | |
9418 | ||
9419 | if (!args) SWIG_fail; | |
9420 | swig_obj[0] = args; | |
5eb8189c | 9421 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 9422 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9423 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9424 | } |
5eb8189c | 9425 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9426 | result = (wxDC *) ((arg1)->dc); |
9427 | { | |
9428 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9429 | } | |
9430 | return resultobj; | |
9431 | fail: | |
9432 | return NULL; | |
9433 | } | |
9434 | ||
9435 | ||
5eb8189c | 9436 | SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9437 | PyObject *obj; |
9438 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9439 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj)); |
27e45892 RD |
9440 | return SWIG_Py_Void(); |
9441 | } | |
9442 | ||
5eb8189c | 9443 | SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9444 | return SWIG_Python_InitShadowInstance(args); |
9445 | } | |
9446 | ||
5eb8189c | 9447 | SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9448 | PyObject *resultobj = 0; |
5eb8189c | 9449 | wxAuiDockInfo *result = 0 ; |
27e45892 | 9450 | |
5eb8189c | 9451 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
9452 | { |
9453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9454 | result = (wxAuiDockInfo *)new wxAuiDockInfo(); |
27e45892 RD |
9455 | wxPyEndAllowThreads(__tstate); |
9456 | if (PyErr_Occurred()) SWIG_fail; | |
9457 | } | |
5eb8189c | 9458 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
9459 | return resultobj; |
9460 | fail: | |
9461 | return NULL; | |
9462 | } | |
9463 | ||
9464 | ||
5eb8189c | 9465 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9466 | PyObject *resultobj = 0; |
5eb8189c | 9467 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9468 | bool result; |
9469 | void *argp1 = 0 ; | |
9470 | int res1 = 0 ; | |
9471 | PyObject *swig_obj[1] ; | |
9472 | ||
9473 | if (!args) SWIG_fail; | |
9474 | swig_obj[0] = args; | |
5eb8189c | 9475 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9476 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9477 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9478 | } |
5eb8189c | 9479 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9480 | { |
9481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9482 | result = (bool)((wxAuiDockInfo const *)arg1)->IsOk(); |
27e45892 RD |
9483 | wxPyEndAllowThreads(__tstate); |
9484 | if (PyErr_Occurred()) SWIG_fail; | |
9485 | } | |
9486 | { | |
9487 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9488 | } | |
9489 | return resultobj; | |
9490 | fail: | |
9491 | return NULL; | |
9492 | } | |
9493 | ||
9494 | ||
5eb8189c | 9495 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9496 | PyObject *resultobj = 0; |
5eb8189c | 9497 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9498 | bool result; |
9499 | void *argp1 = 0 ; | |
9500 | int res1 = 0 ; | |
9501 | PyObject *swig_obj[1] ; | |
9502 | ||
9503 | if (!args) SWIG_fail; | |
9504 | swig_obj[0] = args; | |
5eb8189c | 9505 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9506 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9507 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9508 | } |
5eb8189c | 9509 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9510 | { |
9511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9512 | result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal(); |
27e45892 RD |
9513 | wxPyEndAllowThreads(__tstate); |
9514 | if (PyErr_Occurred()) SWIG_fail; | |
9515 | } | |
9516 | { | |
9517 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9518 | } | |
9519 | return resultobj; | |
9520 | fail: | |
9521 | return NULL; | |
9522 | } | |
9523 | ||
9524 | ||
5eb8189c | 9525 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9526 | PyObject *resultobj = 0; |
5eb8189c | 9527 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9528 | bool result; |
9529 | void *argp1 = 0 ; | |
9530 | int res1 = 0 ; | |
9531 | PyObject *swig_obj[1] ; | |
9532 | ||
9533 | if (!args) SWIG_fail; | |
9534 | swig_obj[0] = args; | |
5eb8189c | 9535 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9536 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9537 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9538 | } |
5eb8189c | 9539 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9540 | { |
9541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9542 | result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical(); |
27e45892 RD |
9543 | wxPyEndAllowThreads(__tstate); |
9544 | if (PyErr_Occurred()) SWIG_fail; | |
9545 | } | |
9546 | { | |
9547 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9548 | } | |
9549 | return resultobj; | |
9550 | fail: | |
9551 | return NULL; | |
9552 | } | |
9553 | ||
9554 | ||
5eb8189c | 9555 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9556 | PyObject *resultobj = 0; |
5eb8189c RD |
9557 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9558 | wxAuiPaneInfoPtrArray arg2 ; | |
27e45892 RD |
9559 | void *argp1 = 0 ; |
9560 | int res1 = 0 ; | |
9561 | void *argp2 ; | |
9562 | int res2 = 0 ; | |
9563 | PyObject *swig_obj[2] ; | |
9564 | ||
5eb8189c RD |
9565 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail; |
9566 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9567 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9568 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9569 | } |
5eb8189c | 9570 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9571 | { |
5eb8189c | 9572 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0); |
27e45892 | 9573 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9574 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 RD |
9575 | } |
9576 | if (!argp2) { | |
5eb8189c | 9577 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 | 9578 | } else { |
5eb8189c | 9579 | wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2); |
27e45892 RD |
9580 | arg2 = *temp; |
9581 | if (SWIG_IsNewObj(res2)) delete temp; | |
9582 | } | |
9583 | } | |
9584 | if (arg1) (arg1)->panes = arg2; | |
9585 | ||
9586 | resultobj = SWIG_Py_Void(); | |
9587 | return resultobj; | |
9588 | fail: | |
9589 | return NULL; | |
9590 | } | |
9591 | ||
9592 | ||
5eb8189c | 9593 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9594 | PyObject *resultobj = 0; |
5eb8189c RD |
9595 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9596 | wxAuiPaneInfoPtrArray result; | |
27e45892 RD |
9597 | void *argp1 = 0 ; |
9598 | int res1 = 0 ; | |
9599 | PyObject *swig_obj[1] ; | |
9600 | ||
9601 | if (!args) SWIG_fail; | |
9602 | swig_obj[0] = args; | |
5eb8189c | 9603 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9604 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9605 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9606 | } |
5eb8189c | 9607 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9608 | result = ((arg1)->panes); |
5eb8189c | 9609 | resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
9610 | return resultobj; |
9611 | fail: | |
9612 | return NULL; | |
9613 | } | |
9614 | ||
9615 | ||
5eb8189c | 9616 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9617 | PyObject *resultobj = 0; |
5eb8189c | 9618 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9619 | wxRect *arg2 = (wxRect *) 0 ; |
9620 | void *argp1 = 0 ; | |
9621 | int res1 = 0 ; | |
9622 | void *argp2 = 0 ; | |
9623 | int res2 = 0 ; | |
9624 | PyObject *swig_obj[2] ; | |
9625 | ||
5eb8189c RD |
9626 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
9627 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9628 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9629 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9630 | } |
5eb8189c | 9631 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9632 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
9633 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9634 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
9635 | } |
9636 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9637 | if (arg1) (arg1)->rect = *arg2; | |
9638 | ||
9639 | resultobj = SWIG_Py_Void(); | |
9640 | return resultobj; | |
9641 | fail: | |
9642 | return NULL; | |
9643 | } | |
9644 | ||
9645 | ||
5eb8189c | 9646 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9647 | PyObject *resultobj = 0; |
5eb8189c | 9648 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9649 | wxRect *result = 0 ; |
9650 | void *argp1 = 0 ; | |
9651 | int res1 = 0 ; | |
9652 | PyObject *swig_obj[1] ; | |
9653 | ||
9654 | if (!args) SWIG_fail; | |
9655 | swig_obj[0] = args; | |
5eb8189c | 9656 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9657 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9658 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9659 | } |
5eb8189c | 9660 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9661 | result = (wxRect *)& ((arg1)->rect); |
9662 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9663 | return resultobj; | |
9664 | fail: | |
9665 | return NULL; | |
9666 | } | |
9667 | ||
9668 | ||
5eb8189c | 9669 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9670 | PyObject *resultobj = 0; |
5eb8189c | 9671 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9672 | int arg2 ; |
9673 | void *argp1 = 0 ; | |
9674 | int res1 = 0 ; | |
9675 | int val2 ; | |
9676 | int ecode2 = 0 ; | |
9677 | PyObject *swig_obj[2] ; | |
9678 | ||
5eb8189c RD |
9679 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
9680 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9681 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9682 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9683 | } |
5eb8189c | 9684 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9685 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9686 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9687 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9688 | } |
9689 | arg2 = static_cast< int >(val2); | |
9690 | if (arg1) (arg1)->dock_direction = arg2; | |
9691 | ||
9692 | resultobj = SWIG_Py_Void(); | |
9693 | return resultobj; | |
9694 | fail: | |
9695 | return NULL; | |
9696 | } | |
9697 | ||
9698 | ||
5eb8189c | 9699 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9700 | PyObject *resultobj = 0; |
5eb8189c | 9701 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9702 | int result; |
9703 | void *argp1 = 0 ; | |
9704 | int res1 = 0 ; | |
9705 | PyObject *swig_obj[1] ; | |
9706 | ||
9707 | if (!args) SWIG_fail; | |
9708 | swig_obj[0] = args; | |
5eb8189c | 9709 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9710 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9711 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9712 | } |
5eb8189c | 9713 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9714 | result = (int) ((arg1)->dock_direction); |
9715 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9716 | return resultobj; | |
9717 | fail: | |
9718 | return NULL; | |
9719 | } | |
9720 | ||
9721 | ||
5eb8189c | 9722 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9723 | PyObject *resultobj = 0; |
5eb8189c | 9724 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9725 | int arg2 ; |
9726 | void *argp1 = 0 ; | |
9727 | int res1 = 0 ; | |
9728 | int val2 ; | |
9729 | int ecode2 = 0 ; | |
9730 | PyObject *swig_obj[2] ; | |
9731 | ||
5eb8189c RD |
9732 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
9733 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9734 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9735 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9736 | } |
5eb8189c | 9737 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9738 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9739 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9740 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9741 | } |
9742 | arg2 = static_cast< int >(val2); | |
9743 | if (arg1) (arg1)->dock_layer = arg2; | |
9744 | ||
9745 | resultobj = SWIG_Py_Void(); | |
9746 | return resultobj; | |
9747 | fail: | |
9748 | return NULL; | |
9749 | } | |
9750 | ||
9751 | ||
5eb8189c | 9752 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9753 | PyObject *resultobj = 0; |
5eb8189c | 9754 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9755 | int result; |
9756 | void *argp1 = 0 ; | |
9757 | int res1 = 0 ; | |
9758 | PyObject *swig_obj[1] ; | |
9759 | ||
9760 | if (!args) SWIG_fail; | |
9761 | swig_obj[0] = args; | |
5eb8189c | 9762 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9763 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9764 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9765 | } |
5eb8189c | 9766 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9767 | result = (int) ((arg1)->dock_layer); |
9768 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9769 | return resultobj; | |
9770 | fail: | |
9771 | return NULL; | |
9772 | } | |
9773 | ||
9774 | ||
5eb8189c | 9775 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9776 | PyObject *resultobj = 0; |
5eb8189c | 9777 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9778 | int arg2 ; |
9779 | void *argp1 = 0 ; | |
9780 | int res1 = 0 ; | |
9781 | int val2 ; | |
9782 | int ecode2 = 0 ; | |
9783 | PyObject *swig_obj[2] ; | |
9784 | ||
5eb8189c RD |
9785 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
9786 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9787 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9789 | } |
5eb8189c | 9790 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9791 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9792 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9793 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9794 | } |
9795 | arg2 = static_cast< int >(val2); | |
9796 | if (arg1) (arg1)->dock_row = arg2; | |
9797 | ||
9798 | resultobj = SWIG_Py_Void(); | |
9799 | return resultobj; | |
9800 | fail: | |
9801 | return NULL; | |
9802 | } | |
9803 | ||
9804 | ||
5eb8189c | 9805 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9806 | PyObject *resultobj = 0; |
5eb8189c | 9807 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9808 | int result; |
9809 | void *argp1 = 0 ; | |
9810 | int res1 = 0 ; | |
9811 | PyObject *swig_obj[1] ; | |
9812 | ||
9813 | if (!args) SWIG_fail; | |
9814 | swig_obj[0] = args; | |
5eb8189c | 9815 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9816 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9817 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9818 | } |
5eb8189c | 9819 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9820 | result = (int) ((arg1)->dock_row); |
9821 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9822 | return resultobj; | |
9823 | fail: | |
9824 | return NULL; | |
9825 | } | |
9826 | ||
9827 | ||
5eb8189c | 9828 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9829 | PyObject *resultobj = 0; |
5eb8189c | 9830 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9831 | int arg2 ; |
9832 | void *argp1 = 0 ; | |
9833 | int res1 = 0 ; | |
9834 | int val2 ; | |
9835 | int ecode2 = 0 ; | |
9836 | PyObject *swig_obj[2] ; | |
9837 | ||
5eb8189c RD |
9838 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail; |
9839 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9840 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9841 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9842 | } |
5eb8189c | 9843 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9844 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9845 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9846 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9847 | } |
9848 | arg2 = static_cast< int >(val2); | |
9849 | if (arg1) (arg1)->size = arg2; | |
9850 | ||
9851 | resultobj = SWIG_Py_Void(); | |
9852 | return resultobj; | |
9853 | fail: | |
9854 | return NULL; | |
9855 | } | |
9856 | ||
9857 | ||
5eb8189c | 9858 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9859 | PyObject *resultobj = 0; |
5eb8189c | 9860 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9861 | int result; |
9862 | void *argp1 = 0 ; | |
9863 | int res1 = 0 ; | |
9864 | PyObject *swig_obj[1] ; | |
9865 | ||
9866 | if (!args) SWIG_fail; | |
9867 | swig_obj[0] = args; | |
5eb8189c | 9868 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9869 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9870 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9871 | } |
5eb8189c | 9872 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9873 | result = (int) ((arg1)->size); |
9874 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9875 | return resultobj; | |
9876 | fail: | |
9877 | return NULL; | |
9878 | } | |
9879 | ||
9880 | ||
5eb8189c | 9881 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9882 | PyObject *resultobj = 0; |
5eb8189c | 9883 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9884 | int arg2 ; |
9885 | void *argp1 = 0 ; | |
9886 | int res1 = 0 ; | |
9887 | int val2 ; | |
9888 | int ecode2 = 0 ; | |
9889 | PyObject *swig_obj[2] ; | |
9890 | ||
5eb8189c RD |
9891 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
9892 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9893 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9894 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9895 | } |
5eb8189c | 9896 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9897 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9898 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9899 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9900 | } |
9901 | arg2 = static_cast< int >(val2); | |
9902 | if (arg1) (arg1)->min_size = arg2; | |
9903 | ||
9904 | resultobj = SWIG_Py_Void(); | |
9905 | return resultobj; | |
9906 | fail: | |
9907 | return NULL; | |
9908 | } | |
9909 | ||
9910 | ||
5eb8189c | 9911 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9912 | PyObject *resultobj = 0; |
5eb8189c | 9913 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9914 | int result; |
9915 | void *argp1 = 0 ; | |
9916 | int res1 = 0 ; | |
9917 | PyObject *swig_obj[1] ; | |
9918 | ||
9919 | if (!args) SWIG_fail; | |
9920 | swig_obj[0] = args; | |
5eb8189c | 9921 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9922 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9923 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9924 | } |
5eb8189c | 9925 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9926 | result = (int) ((arg1)->min_size); |
9927 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9928 | return resultobj; | |
9929 | fail: | |
9930 | return NULL; | |
9931 | } | |
9932 | ||
9933 | ||
5eb8189c | 9934 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9935 | PyObject *resultobj = 0; |
5eb8189c | 9936 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9937 | bool arg2 ; |
9938 | void *argp1 = 0 ; | |
9939 | int res1 = 0 ; | |
9940 | bool val2 ; | |
9941 | int ecode2 = 0 ; | |
9942 | PyObject *swig_obj[2] ; | |
9943 | ||
5eb8189c RD |
9944 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; |
9945 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9946 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9947 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9948 | } |
5eb8189c | 9949 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9950 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9951 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9952 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9953 | } |
9954 | arg2 = static_cast< bool >(val2); | |
9955 | if (arg1) (arg1)->resizable = arg2; | |
9956 | ||
9957 | resultobj = SWIG_Py_Void(); | |
9958 | return resultobj; | |
9959 | fail: | |
9960 | return NULL; | |
9961 | } | |
9962 | ||
9963 | ||
5eb8189c | 9964 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9965 | PyObject *resultobj = 0; |
5eb8189c | 9966 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9967 | bool result; |
9968 | void *argp1 = 0 ; | |
9969 | int res1 = 0 ; | |
9970 | PyObject *swig_obj[1] ; | |
9971 | ||
9972 | if (!args) SWIG_fail; | |
9973 | swig_obj[0] = args; | |
5eb8189c | 9974 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9975 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9976 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9977 | } |
5eb8189c | 9978 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9979 | result = (bool) ((arg1)->resizable); |
9980 | { | |
9981 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9982 | } | |
9983 | return resultobj; | |
9984 | fail: | |
9985 | return NULL; | |
9986 | } | |
9987 | ||
9988 | ||
5eb8189c | 9989 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9990 | PyObject *resultobj = 0; |
5eb8189c | 9991 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9992 | bool arg2 ; |
9993 | void *argp1 = 0 ; | |
9994 | int res1 = 0 ; | |
9995 | bool val2 ; | |
9996 | int ecode2 = 0 ; | |
9997 | PyObject *swig_obj[2] ; | |
9998 | ||
5eb8189c RD |
9999 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; |
10000 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 10001 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10002 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10003 | } |
5eb8189c | 10004 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10005 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
10006 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10007 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
10008 | } |
10009 | arg2 = static_cast< bool >(val2); | |
10010 | if (arg1) (arg1)->toolbar = arg2; | |
10011 | ||
10012 | resultobj = SWIG_Py_Void(); | |
10013 | return resultobj; | |
10014 | fail: | |
10015 | return NULL; | |
10016 | } | |
10017 | ||
10018 | ||
5eb8189c | 10019 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10020 | PyObject *resultobj = 0; |
5eb8189c | 10021 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10022 | bool result; |
10023 | void *argp1 = 0 ; | |
10024 | int res1 = 0 ; | |
10025 | PyObject *swig_obj[1] ; | |
10026 | ||
10027 | if (!args) SWIG_fail; | |
10028 | swig_obj[0] = args; | |
5eb8189c | 10029 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10030 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10031 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10032 | } |
5eb8189c | 10033 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10034 | result = (bool) ((arg1)->toolbar); |
10035 | { | |
10036 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10037 | } | |
10038 | return resultobj; | |
10039 | fail: | |
10040 | return NULL; | |
10041 | } | |
10042 | ||
10043 | ||
5eb8189c | 10044 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10045 | PyObject *resultobj = 0; |
5eb8189c | 10046 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10047 | bool arg2 ; |
10048 | void *argp1 = 0 ; | |
10049 | int res1 = 0 ; | |
10050 | bool val2 ; | |
10051 | int ecode2 = 0 ; | |
10052 | PyObject *swig_obj[2] ; | |
10053 | ||
5eb8189c RD |
10054 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; |
10055 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 10056 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10057 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10058 | } |
5eb8189c | 10059 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10060 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
10061 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10062 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
10063 | } |
10064 | arg2 = static_cast< bool >(val2); | |
10065 | if (arg1) (arg1)->fixed = arg2; | |
10066 | ||
10067 | resultobj = SWIG_Py_Void(); | |
10068 | return resultobj; | |
10069 | fail: | |
10070 | return NULL; | |
10071 | } | |
10072 | ||
10073 | ||
5eb8189c | 10074 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10075 | PyObject *resultobj = 0; |
5eb8189c | 10076 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10077 | bool result; |
10078 | void *argp1 = 0 ; | |
10079 | int res1 = 0 ; | |
10080 | PyObject *swig_obj[1] ; | |
10081 | ||
10082 | if (!args) SWIG_fail; | |
10083 | swig_obj[0] = args; | |
5eb8189c | 10084 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10085 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10086 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10087 | } |
5eb8189c | 10088 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10089 | result = (bool) ((arg1)->fixed); |
10090 | { | |
10091 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10092 | } | |
10093 | return resultobj; | |
10094 | fail: | |
10095 | return NULL; | |
10096 | } | |
10097 | ||
10098 | ||
cbdf0fb0 RD |
10099 | SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10100 | PyObject *resultobj = 0; | |
10101 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; | |
10102 | bool arg2 ; | |
10103 | void *argp1 = 0 ; | |
10104 | int res1 = 0 ; | |
10105 | bool val2 ; | |
10106 | int ecode2 = 0 ; | |
10107 | PyObject *swig_obj[2] ; | |
10108 | ||
10109 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_reserved1_set",2,2,swig_obj)) SWIG_fail; | |
10110 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
10111 | if (!SWIG_IsOK(res1)) { | |
10112 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); | |
10113 | } | |
10114 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); | |
10115 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10116 | if (!SWIG_IsOK(ecode2)) { | |
10117 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "2"" of type '" "bool""'"); | |
10118 | } | |
10119 | arg2 = static_cast< bool >(val2); | |
10120 | if (arg1) (arg1)->reserved1 = arg2; | |
10121 | ||
10122 | resultobj = SWIG_Py_Void(); | |
10123 | return resultobj; | |
10124 | fail: | |
10125 | return NULL; | |
10126 | } | |
10127 | ||
10128 | ||
10129 | SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10130 | PyObject *resultobj = 0; | |
10131 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; | |
10132 | bool result; | |
10133 | void *argp1 = 0 ; | |
10134 | int res1 = 0 ; | |
10135 | PyObject *swig_obj[1] ; | |
10136 | ||
10137 | if (!args) SWIG_fail; | |
10138 | swig_obj[0] = args; | |
10139 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
10140 | if (!SWIG_IsOK(res1)) { | |
10141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); | |
10142 | } | |
10143 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); | |
10144 | result = (bool) ((arg1)->reserved1); | |
10145 | { | |
10146 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10147 | } | |
10148 | return resultobj; | |
10149 | fail: | |
10150 | return NULL; | |
10151 | } | |
10152 | ||
10153 | ||
5eb8189c | 10154 | SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10155 | PyObject *resultobj = 0; |
5eb8189c | 10156 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
72ef6efb RD |
10157 | void *argp1 = 0 ; |
10158 | int res1 = 0 ; | |
10159 | PyObject *swig_obj[1] ; | |
10160 | ||
10161 | if (!args) SWIG_fail; | |
10162 | swig_obj[0] = args; | |
5eb8189c | 10163 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10164 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10165 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
72ef6efb | 10166 | } |
5eb8189c | 10167 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
72ef6efb RD |
10168 | { |
10169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10170 | delete_wxAuiDockInfo(arg1); |
72ef6efb RD |
10171 | |
10172 | wxPyEndAllowThreads(__tstate); | |
10173 | if (PyErr_Occurred()) SWIG_fail; | |
10174 | } | |
10175 | resultobj = SWIG_Py_Void(); | |
10176 | return resultobj; | |
10177 | fail: | |
10178 | return NULL; | |
10179 | } | |
10180 | ||
10181 | ||
5eb8189c | 10182 | SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10183 | PyObject *obj; |
10184 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10185 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
10186 | return SWIG_Py_Void(); |
10187 | } | |
10188 | ||
5eb8189c | 10189 | SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10190 | return SWIG_Python_InitShadowInstance(args); |
10191 | } | |
10192 | ||
5eb8189c | 10193 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10194 | PyObject *resultobj = 0; |
5eb8189c | 10195 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10196 | int arg2 ; |
10197 | void *argp1 = 0 ; | |
10198 | int res1 = 0 ; | |
10199 | int val2 ; | |
10200 | int ecode2 = 0 ; | |
10201 | PyObject *swig_obj[2] ; | |
10202 | ||
5eb8189c RD |
10203 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail; |
10204 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10205 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10206 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10207 | } |
5eb8189c | 10208 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10209 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10210 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10211 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10212 | } |
10213 | arg2 = static_cast< int >(val2); | |
10214 | if (arg1) (arg1)->type = arg2; | |
10215 | ||
10216 | resultobj = SWIG_Py_Void(); | |
10217 | return resultobj; | |
10218 | fail: | |
10219 | return NULL; | |
10220 | } | |
10221 | ||
10222 | ||
5eb8189c | 10223 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10224 | PyObject *resultobj = 0; |
5eb8189c | 10225 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10226 | int result; |
10227 | void *argp1 = 0 ; | |
10228 | int res1 = 0 ; | |
10229 | PyObject *swig_obj[1] ; | |
10230 | ||
10231 | if (!args) SWIG_fail; | |
10232 | swig_obj[0] = args; | |
5eb8189c | 10233 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10234 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10235 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10236 | } |
5eb8189c | 10237 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10238 | result = (int) ((arg1)->type); |
10239 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10240 | return resultobj; | |
10241 | fail: | |
10242 | return NULL; | |
10243 | } | |
10244 | ||
10245 | ||
5eb8189c | 10246 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10247 | PyObject *resultobj = 0; |
5eb8189c | 10248 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10249 | int arg2 ; |
10250 | void *argp1 = 0 ; | |
10251 | int res1 = 0 ; | |
10252 | int val2 ; | |
10253 | int ecode2 = 0 ; | |
10254 | PyObject *swig_obj[2] ; | |
10255 | ||
5eb8189c RD |
10256 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; |
10257 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10258 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10259 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10260 | } |
5eb8189c | 10261 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10262 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10263 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10264 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10265 | } |
10266 | arg2 = static_cast< int >(val2); | |
10267 | if (arg1) (arg1)->orientation = arg2; | |
10268 | ||
10269 | resultobj = SWIG_Py_Void(); | |
10270 | return resultobj; | |
10271 | fail: | |
10272 | return NULL; | |
10273 | } | |
10274 | ||
10275 | ||
5eb8189c | 10276 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10277 | PyObject *resultobj = 0; |
5eb8189c | 10278 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10279 | int result; |
10280 | void *argp1 = 0 ; | |
10281 | int res1 = 0 ; | |
10282 | PyObject *swig_obj[1] ; | |
10283 | ||
10284 | if (!args) SWIG_fail; | |
10285 | swig_obj[0] = args; | |
5eb8189c | 10286 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10287 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10288 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10289 | } |
5eb8189c | 10290 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10291 | result = (int) ((arg1)->orientation); |
10292 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10293 | return resultobj; | |
10294 | fail: | |
10295 | return NULL; | |
10296 | } | |
10297 | ||
10298 | ||
5eb8189c | 10299 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10300 | PyObject *resultobj = 0; |
5eb8189c RD |
10301 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10302 | wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ; | |
27e45892 RD |
10303 | void *argp1 = 0 ; |
10304 | int res1 = 0 ; | |
10305 | void *argp2 = 0 ; | |
10306 | int res2 = 0 ; | |
10307 | PyObject *swig_obj[2] ; | |
10308 | ||
5eb8189c RD |
10309 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; |
10310 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10311 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10312 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10313 | } |
5eb8189c RD |
10314 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10315 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10316 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10317 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10318 | } |
5eb8189c | 10319 | arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2); |
27e45892 RD |
10320 | if (arg1) (arg1)->dock = arg2; |
10321 | ||
10322 | resultobj = SWIG_Py_Void(); | |
10323 | return resultobj; | |
10324 | fail: | |
10325 | return NULL; | |
10326 | } | |
10327 | ||
10328 | ||
5eb8189c | 10329 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10330 | PyObject *resultobj = 0; |
5eb8189c RD |
10331 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10332 | wxAuiDockInfo *result = 0 ; | |
27e45892 RD |
10333 | void *argp1 = 0 ; |
10334 | int res1 = 0 ; | |
10335 | PyObject *swig_obj[1] ; | |
10336 | ||
10337 | if (!args) SWIG_fail; | |
10338 | swig_obj[0] = args; | |
5eb8189c | 10339 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10340 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10341 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10342 | } |
5eb8189c RD |
10343 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10344 | result = (wxAuiDockInfo *) ((arg1)->dock); | |
10345 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 RD |
10346 | return resultobj; |
10347 | fail: | |
10348 | return NULL; | |
10349 | } | |
10350 | ||
10351 | ||
5eb8189c | 10352 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10353 | PyObject *resultobj = 0; |
5eb8189c RD |
10354 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10355 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
10356 | void *argp1 = 0 ; |
10357 | int res1 = 0 ; | |
10358 | void *argp2 = 0 ; | |
10359 | int res2 = 0 ; | |
10360 | PyObject *swig_obj[2] ; | |
10361 | ||
5eb8189c RD |
10362 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; |
10363 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10364 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10365 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10366 | } |
5eb8189c RD |
10367 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10368 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10369 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10370 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 10371 | } |
5eb8189c | 10372 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
10373 | if (arg1) (arg1)->pane = arg2; |
10374 | ||
10375 | resultobj = SWIG_Py_Void(); | |
10376 | return resultobj; | |
10377 | fail: | |
10378 | return NULL; | |
10379 | } | |
10380 | ||
10381 | ||
5eb8189c | 10382 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10383 | PyObject *resultobj = 0; |
5eb8189c RD |
10384 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10385 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
10386 | void *argp1 = 0 ; |
10387 | int res1 = 0 ; | |
10388 | PyObject *swig_obj[1] ; | |
10389 | ||
10390 | if (!args) SWIG_fail; | |
10391 | swig_obj[0] = args; | |
5eb8189c | 10392 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10393 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10394 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10395 | } |
5eb8189c RD |
10396 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10397 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
10398 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
10399 | return resultobj; |
10400 | fail: | |
10401 | return NULL; | |
10402 | } | |
10403 | ||
10404 | ||
5eb8189c | 10405 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10406 | PyObject *resultobj = 0; |
5eb8189c RD |
10407 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10408 | wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ; | |
27e45892 RD |
10409 | void *argp1 = 0 ; |
10410 | int res1 = 0 ; | |
10411 | void *argp2 = 0 ; | |
10412 | int res2 = 0 ; | |
10413 | PyObject *swig_obj[2] ; | |
10414 | ||
5eb8189c RD |
10415 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail; |
10416 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10417 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10418 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10419 | } |
5eb8189c RD |
10420 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10421 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10422 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10423 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10424 | } |
5eb8189c | 10425 | arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2); |
27e45892 RD |
10426 | if (arg1) (arg1)->button = arg2; |
10427 | ||
10428 | resultobj = SWIG_Py_Void(); | |
10429 | return resultobj; | |
10430 | fail: | |
10431 | return NULL; | |
10432 | } | |
10433 | ||
10434 | ||
5eb8189c | 10435 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10436 | PyObject *resultobj = 0; |
5eb8189c RD |
10437 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10438 | wxAuiPaneButton *result = 0 ; | |
27e45892 RD |
10439 | void *argp1 = 0 ; |
10440 | int res1 = 0 ; | |
10441 | PyObject *swig_obj[1] ; | |
10442 | ||
10443 | if (!args) SWIG_fail; | |
10444 | swig_obj[0] = args; | |
5eb8189c | 10445 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10446 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10447 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10448 | } |
5eb8189c RD |
10449 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10450 | result = (wxAuiPaneButton *) ((arg1)->button); | |
10451 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 RD |
10452 | return resultobj; |
10453 | fail: | |
10454 | return NULL; | |
10455 | } | |
10456 | ||
10457 | ||
5eb8189c | 10458 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10459 | PyObject *resultobj = 0; |
5eb8189c | 10460 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10461 | wxSizer *arg2 = (wxSizer *) 0 ; |
10462 | void *argp1 = 0 ; | |
10463 | int res1 = 0 ; | |
10464 | void *argp2 = 0 ; | |
10465 | int res2 = 0 ; | |
10466 | PyObject *swig_obj[2] ; | |
10467 | ||
5eb8189c RD |
10468 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; |
10469 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10470 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10471 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10472 | } |
5eb8189c | 10473 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10474 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); |
10475 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10476 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); |
27e45892 RD |
10477 | } |
10478 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
10479 | if (arg1) (arg1)->cont_sizer = arg2; | |
10480 | ||
10481 | resultobj = SWIG_Py_Void(); | |
10482 | return resultobj; | |
10483 | fail: | |
10484 | return NULL; | |
10485 | } | |
10486 | ||
10487 | ||
5eb8189c | 10488 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10489 | PyObject *resultobj = 0; |
5eb8189c | 10490 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10491 | wxSizer *result = 0 ; |
10492 | void *argp1 = 0 ; | |
10493 | int res1 = 0 ; | |
10494 | PyObject *swig_obj[1] ; | |
10495 | ||
10496 | if (!args) SWIG_fail; | |
10497 | swig_obj[0] = args; | |
5eb8189c | 10498 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10499 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10500 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10501 | } |
5eb8189c | 10502 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10503 | result = (wxSizer *) ((arg1)->cont_sizer); |
10504 | { | |
10505 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
10506 | } | |
10507 | return resultobj; | |
10508 | fail: | |
10509 | return NULL; | |
10510 | } | |
10511 | ||
10512 | ||
5eb8189c | 10513 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10514 | PyObject *resultobj = 0; |
5eb8189c | 10515 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10516 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; |
10517 | void *argp1 = 0 ; | |
10518 | int res1 = 0 ; | |
10519 | void *argp2 = 0 ; | |
10520 | int res2 = 0 ; | |
10521 | PyObject *swig_obj[2] ; | |
10522 | ||
5eb8189c RD |
10523 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; |
10524 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10525 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10526 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10527 | } |
5eb8189c | 10528 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10529 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); |
10530 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10531 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); |
27e45892 RD |
10532 | } |
10533 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
10534 | if (arg1) (arg1)->sizer_item = arg2; | |
10535 | ||
10536 | resultobj = SWIG_Py_Void(); | |
10537 | return resultobj; | |
10538 | fail: | |
10539 | return NULL; | |
10540 | } | |
10541 | ||
10542 | ||
5eb8189c | 10543 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10544 | PyObject *resultobj = 0; |
5eb8189c | 10545 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10546 | wxSizerItem *result = 0 ; |
10547 | void *argp1 = 0 ; | |
10548 | int res1 = 0 ; | |
10549 | PyObject *swig_obj[1] ; | |
10550 | ||
10551 | if (!args) SWIG_fail; | |
10552 | swig_obj[0] = args; | |
5eb8189c | 10553 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10554 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10555 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10556 | } |
5eb8189c | 10557 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10558 | result = (wxSizerItem *) ((arg1)->sizer_item); |
10559 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
10560 | return resultobj; | |
10561 | fail: | |
10562 | return NULL; | |
10563 | } | |
10564 | ||
10565 | ||
5eb8189c | 10566 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10567 | PyObject *resultobj = 0; |
5eb8189c | 10568 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10569 | wxRect *arg2 = (wxRect *) 0 ; |
10570 | void *argp1 = 0 ; | |
10571 | int res1 = 0 ; | |
10572 | void *argp2 = 0 ; | |
10573 | int res2 = 0 ; | |
10574 | PyObject *swig_obj[2] ; | |
10575 | ||
5eb8189c RD |
10576 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; |
10577 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10578 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10579 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10580 | } |
5eb8189c | 10581 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10582 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
10583 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10584 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
10585 | } |
10586 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
10587 | if (arg1) (arg1)->rect = *arg2; | |
10588 | ||
10589 | resultobj = SWIG_Py_Void(); | |
10590 | return resultobj; | |
10591 | fail: | |
10592 | return NULL; | |
10593 | } | |
10594 | ||
10595 | ||
5eb8189c | 10596 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10597 | PyObject *resultobj = 0; |
5eb8189c | 10598 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10599 | wxRect *result = 0 ; |
10600 | void *argp1 = 0 ; | |
10601 | int res1 = 0 ; | |
10602 | PyObject *swig_obj[1] ; | |
10603 | ||
10604 | if (!args) SWIG_fail; | |
10605 | swig_obj[0] = args; | |
5eb8189c | 10606 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10607 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10608 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10609 | } |
5eb8189c | 10610 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10611 | result = (wxRect *)& ((arg1)->rect); |
10612 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10613 | return resultobj; | |
10614 | fail: | |
10615 | return NULL; | |
10616 | } | |
10617 | ||
10618 | ||
5eb8189c | 10619 | SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10620 | PyObject *resultobj = 0; |
5eb8189c | 10621 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
72ef6efb RD |
10622 | void *argp1 = 0 ; |
10623 | int res1 = 0 ; | |
10624 | PyObject *swig_obj[1] ; | |
10625 | ||
10626 | if (!args) SWIG_fail; | |
10627 | swig_obj[0] = args; | |
5eb8189c | 10628 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10629 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10630 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
72ef6efb | 10631 | } |
5eb8189c | 10632 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
72ef6efb RD |
10633 | { |
10634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10635 | delete_wxAuiDockUIPart(arg1); |
72ef6efb RD |
10636 | |
10637 | wxPyEndAllowThreads(__tstate); | |
10638 | if (PyErr_Occurred()) SWIG_fail; | |
10639 | } | |
10640 | resultobj = SWIG_Py_Void(); | |
10641 | return resultobj; | |
10642 | fail: | |
10643 | return NULL; | |
10644 | } | |
10645 | ||
10646 | ||
5eb8189c | 10647 | SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10648 | PyObject *obj; |
10649 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10650 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj)); |
27e45892 RD |
10651 | return SWIG_Py_Void(); |
10652 | } | |
10653 | ||
5eb8189c | 10654 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10655 | PyObject *resultobj = 0; |
5eb8189c | 10656 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10657 | int arg2 ; |
10658 | void *argp1 = 0 ; | |
10659 | int res1 = 0 ; | |
10660 | int val2 ; | |
10661 | int ecode2 = 0 ; | |
10662 | PyObject *swig_obj[2] ; | |
10663 | ||
5eb8189c RD |
10664 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; |
10665 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 | 10666 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10667 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10668 | } |
5eb8189c | 10669 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10670 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10671 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10672 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10673 | } |
10674 | arg2 = static_cast< int >(val2); | |
10675 | if (arg1) (arg1)->button_id = arg2; | |
10676 | ||
10677 | resultobj = SWIG_Py_Void(); | |
10678 | return resultobj; | |
10679 | fail: | |
10680 | return NULL; | |
10681 | } | |
10682 | ||
10683 | ||
5eb8189c | 10684 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10685 | PyObject *resultobj = 0; |
5eb8189c | 10686 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10687 | int result; |
10688 | void *argp1 = 0 ; | |
10689 | int res1 = 0 ; | |
10690 | PyObject *swig_obj[1] ; | |
10691 | ||
10692 | if (!args) SWIG_fail; | |
10693 | swig_obj[0] = args; | |
5eb8189c | 10694 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); |
27e45892 | 10695 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10696 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10697 | } |
5eb8189c | 10698 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10699 | result = (int) ((arg1)->button_id); |
10700 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10701 | return resultobj; | |
10702 | fail: | |
10703 | return NULL; | |
10704 | } | |
10705 | ||
10706 | ||
5eb8189c | 10707 | SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10708 | PyObject *resultobj = 0; |
5eb8189c | 10709 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
72ef6efb RD |
10710 | void *argp1 = 0 ; |
10711 | int res1 = 0 ; | |
10712 | PyObject *swig_obj[1] ; | |
10713 | ||
10714 | if (!args) SWIG_fail; | |
10715 | swig_obj[0] = args; | |
5eb8189c | 10716 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10717 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10718 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
72ef6efb | 10719 | } |
5eb8189c | 10720 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
72ef6efb RD |
10721 | { |
10722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10723 | delete_wxAuiPaneButton(arg1); |
72ef6efb RD |
10724 | |
10725 | wxPyEndAllowThreads(__tstate); | |
10726 | if (PyErr_Occurred()) SWIG_fail; | |
10727 | } | |
10728 | resultobj = SWIG_Py_Void(); | |
10729 | return resultobj; | |
10730 | fail: | |
10731 | return NULL; | |
10732 | } | |
10733 | ||
10734 | ||
5eb8189c | 10735 | SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10736 | PyObject *obj; |
10737 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10738 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj)); |
27e45892 RD |
10739 | return SWIG_Py_Void(); |
10740 | } | |
10741 | ||
5eb8189c | 10742 | SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10743 | PyObject *resultobj = 0; |
5eb8189c | 10744 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10745 | void *argp1 = 0 ; |
10746 | int res1 = 0 ; | |
10747 | PyObject *swig_obj[1] ; | |
10748 | ||
10749 | if (!args) SWIG_fail; | |
10750 | swig_obj[0] = args; | |
5eb8189c | 10751 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 10752 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10753 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10754 | } |
5eb8189c | 10755 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10756 | { |
10757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10758 | delete arg1; | |
10759 | ||
10760 | wxPyEndAllowThreads(__tstate); | |
10761 | if (PyErr_Occurred()) SWIG_fail; | |
10762 | } | |
10763 | resultobj = SWIG_Py_Void(); | |
10764 | return resultobj; | |
10765 | fail: | |
10766 | return NULL; | |
10767 | } | |
10768 | ||
10769 | ||
5eb8189c | 10770 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10771 | PyObject *resultobj = 0; |
5eb8189c | 10772 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10773 | int arg2 ; |
10774 | int result; | |
10775 | void *argp1 = 0 ; | |
10776 | int res1 = 0 ; | |
10777 | int val2 ; | |
10778 | int ecode2 = 0 ; | |
10779 | PyObject * obj0 = 0 ; | |
10780 | PyObject * obj1 = 0 ; | |
10781 | char * kwnames[] = { | |
10782 | (char *) "self",(char *) "id", NULL | |
10783 | }; | |
10784 | ||
5eb8189c RD |
10785 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; |
10786 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10787 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10789 | } |
5eb8189c | 10790 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10791 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10792 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10793 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10794 | } |
10795 | arg2 = static_cast< int >(val2); | |
10796 | { | |
10797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10798 | result = (int)(arg1)->GetMetric(arg2); | |
10799 | wxPyEndAllowThreads(__tstate); | |
10800 | if (PyErr_Occurred()) SWIG_fail; | |
10801 | } | |
10802 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10803 | return resultobj; | |
10804 | fail: | |
10805 | return NULL; | |
10806 | } | |
10807 | ||
10808 | ||
5eb8189c | 10809 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10810 | PyObject *resultobj = 0; |
5eb8189c | 10811 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10812 | int arg2 ; |
10813 | int arg3 ; | |
10814 | void *argp1 = 0 ; | |
10815 | int res1 = 0 ; | |
10816 | int val2 ; | |
10817 | int ecode2 = 0 ; | |
10818 | int val3 ; | |
10819 | int ecode3 = 0 ; | |
10820 | PyObject * obj0 = 0 ; | |
10821 | PyObject * obj1 = 0 ; | |
10822 | PyObject * obj2 = 0 ; | |
10823 | char * kwnames[] = { | |
10824 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
10825 | }; | |
10826 | ||
5eb8189c RD |
10827 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10828 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10829 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10830 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10831 | } |
5eb8189c | 10832 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10833 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10834 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10835 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10836 | } |
10837 | arg2 = static_cast< int >(val2); | |
10838 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10839 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 10840 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
10841 | } |
10842 | arg3 = static_cast< int >(val3); | |
10843 | { | |
10844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10845 | (arg1)->SetMetric(arg2,arg3); | |
10846 | wxPyEndAllowThreads(__tstate); | |
10847 | if (PyErr_Occurred()) SWIG_fail; | |
10848 | } | |
10849 | resultobj = SWIG_Py_Void(); | |
10850 | return resultobj; | |
10851 | fail: | |
10852 | return NULL; | |
10853 | } | |
10854 | ||
10855 | ||
5eb8189c | 10856 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10857 | PyObject *resultobj = 0; |
5eb8189c | 10858 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10859 | int arg2 ; |
10860 | wxFont *arg3 = 0 ; | |
10861 | void *argp1 = 0 ; | |
10862 | int res1 = 0 ; | |
10863 | int val2 ; | |
10864 | int ecode2 = 0 ; | |
10865 | void *argp3 = 0 ; | |
10866 | int res3 = 0 ; | |
10867 | PyObject * obj0 = 0 ; | |
10868 | PyObject * obj1 = 0 ; | |
10869 | PyObject * obj2 = 0 ; | |
10870 | char * kwnames[] = { | |
10871 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10872 | }; | |
10873 | ||
5eb8189c RD |
10874 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10875 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10876 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10877 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10878 | } |
5eb8189c | 10879 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10880 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10881 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10882 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10883 | } |
10884 | arg2 = static_cast< int >(val2); | |
10885 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10886 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10887 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10888 | } |
10889 | if (!argp3) { | |
5eb8189c | 10890 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10891 | } |
10892 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10893 | { | |
10894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10895 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10896 | wxPyEndAllowThreads(__tstate); | |
10897 | if (PyErr_Occurred()) SWIG_fail; | |
10898 | } | |
10899 | resultobj = SWIG_Py_Void(); | |
10900 | return resultobj; | |
10901 | fail: | |
10902 | return NULL; | |
10903 | } | |
10904 | ||
10905 | ||
5eb8189c | 10906 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10907 | PyObject *resultobj = 0; |
5eb8189c | 10908 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10909 | int arg2 ; |
10910 | wxFont result; | |
10911 | void *argp1 = 0 ; | |
10912 | int res1 = 0 ; | |
10913 | int val2 ; | |
10914 | int ecode2 = 0 ; | |
10915 | PyObject * obj0 = 0 ; | |
10916 | PyObject * obj1 = 0 ; | |
10917 | char * kwnames[] = { | |
10918 | (char *) "self",(char *) "id", NULL | |
10919 | }; | |
10920 | ||
5eb8189c RD |
10921 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; |
10922 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10923 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10925 | } |
5eb8189c | 10926 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10927 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10928 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10929 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10930 | } |
10931 | arg2 = static_cast< int >(val2); | |
10932 | { | |
10933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10934 | result = (arg1)->GetFont(arg2); | |
10935 | wxPyEndAllowThreads(__tstate); | |
10936 | if (PyErr_Occurred()) SWIG_fail; | |
10937 | } | |
10938 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10939 | return resultobj; | |
10940 | fail: | |
10941 | return NULL; | |
10942 | } | |
10943 | ||
10944 | ||
5eb8189c | 10945 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10946 | PyObject *resultobj = 0; |
5eb8189c | 10947 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10948 | int arg2 ; |
10949 | wxColour result; | |
10950 | void *argp1 = 0 ; | |
10951 | int res1 = 0 ; | |
10952 | int val2 ; | |
10953 | int ecode2 = 0 ; | |
10954 | PyObject * obj0 = 0 ; | |
10955 | PyObject * obj1 = 0 ; | |
10956 | char * kwnames[] = { | |
10957 | (char *) "self",(char *) "id", NULL | |
10958 | }; | |
10959 | ||
5eb8189c RD |
10960 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; |
10961 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10962 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10963 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10964 | } |
5eb8189c | 10965 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10966 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10967 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10968 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10969 | } |
10970 | arg2 = static_cast< int >(val2); | |
10971 | { | |
10972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10973 | result = (arg1)->GetColour(arg2); | |
10974 | wxPyEndAllowThreads(__tstate); | |
10975 | if (PyErr_Occurred()) SWIG_fail; | |
10976 | } | |
10977 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10978 | return resultobj; | |
10979 | fail: | |
10980 | return NULL; | |
10981 | } | |
10982 | ||
10983 | ||
5eb8189c | 10984 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10985 | PyObject *resultobj = 0; |
5eb8189c | 10986 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10987 | int arg2 ; |
59ccbf7f | 10988 | wxColour *arg3 = 0 ; |
27e45892 RD |
10989 | void *argp1 = 0 ; |
10990 | int res1 = 0 ; | |
10991 | int val2 ; | |
10992 | int ecode2 = 0 ; | |
59ccbf7f | 10993 | wxColour temp3 ; |
27e45892 RD |
10994 | PyObject * obj0 = 0 ; |
10995 | PyObject * obj1 = 0 ; | |
10996 | PyObject * obj2 = 0 ; | |
10997 | char * kwnames[] = { | |
10998 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10999 | }; | |
11000 | ||
5eb8189c RD |
11001 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
11002 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11003 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11004 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11005 | } |
5eb8189c | 11006 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11007 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11008 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11009 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11010 | } |
11011 | arg2 = static_cast< int >(val2); | |
59ccbf7f RD |
11012 | { |
11013 | arg3 = &temp3; | |
11014 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
27e45892 | 11015 | } |
27e45892 RD |
11016 | { |
11017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
59ccbf7f | 11018 | (arg1)->SetColour(arg2,(wxColour const &)*arg3); |
27e45892 RD |
11019 | wxPyEndAllowThreads(__tstate); |
11020 | if (PyErr_Occurred()) SWIG_fail; | |
11021 | } | |
11022 | resultobj = SWIG_Py_Void(); | |
11023 | return resultobj; | |
11024 | fail: | |
11025 | return NULL; | |
11026 | } | |
11027 | ||
11028 | ||
5eb8189c | 11029 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11030 | PyObject *resultobj = 0; |
5eb8189c | 11031 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11032 | int arg2 ; |
11033 | wxColour result; | |
11034 | void *argp1 = 0 ; | |
11035 | int res1 = 0 ; | |
11036 | int val2 ; | |
11037 | int ecode2 = 0 ; | |
11038 | PyObject * obj0 = 0 ; | |
11039 | PyObject * obj1 = 0 ; | |
11040 | char * kwnames[] = { | |
11041 | (char *) "self",(char *) "id", NULL | |
11042 | }; | |
11043 | ||
5eb8189c RD |
11044 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; |
11045 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11046 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11047 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11048 | } |
5eb8189c | 11049 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11050 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11051 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11052 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11053 | } |
11054 | arg2 = static_cast< int >(val2); | |
11055 | { | |
11056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11057 | result = (arg1)->GetColor(arg2); | |
11058 | wxPyEndAllowThreads(__tstate); | |
11059 | if (PyErr_Occurred()) SWIG_fail; | |
11060 | } | |
11061 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
11062 | return resultobj; | |
11063 | fail: | |
11064 | return NULL; | |
11065 | } | |
11066 | ||
11067 | ||
5eb8189c | 11068 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11069 | PyObject *resultobj = 0; |
5eb8189c | 11070 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11071 | int arg2 ; |
11072 | wxColour *arg3 = 0 ; | |
11073 | void *argp1 = 0 ; | |
11074 | int res1 = 0 ; | |
11075 | int val2 ; | |
11076 | int ecode2 = 0 ; | |
11077 | wxColour temp3 ; | |
11078 | PyObject * obj0 = 0 ; | |
11079 | PyObject * obj1 = 0 ; | |
11080 | PyObject * obj2 = 0 ; | |
11081 | char * kwnames[] = { | |
11082 | (char *) "self",(char *) "id",(char *) "color", NULL | |
11083 | }; | |
11084 | ||
5eb8189c RD |
11085 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
11086 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11087 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11088 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11089 | } |
5eb8189c | 11090 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11091 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11092 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11093 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11094 | } |
11095 | arg2 = static_cast< int >(val2); | |
11096 | { | |
11097 | arg3 = &temp3; | |
11098 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11099 | } | |
11100 | { | |
11101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11102 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
11103 | wxPyEndAllowThreads(__tstate); | |
11104 | if (PyErr_Occurred()) SWIG_fail; | |
11105 | } | |
11106 | resultobj = SWIG_Py_Void(); | |
11107 | return resultobj; | |
11108 | fail: | |
11109 | return NULL; | |
11110 | } | |
11111 | ||
11112 | ||
5eb8189c | 11113 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11114 | PyObject *resultobj = 0; |
5eb8189c | 11115 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11116 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11117 | wxWindow *arg3 = (wxWindow *) 0 ; |
11118 | int arg4 ; | |
11119 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11120 | void *argp1 = 0 ; |
11121 | int res1 = 0 ; | |
11122 | void *argp2 = 0 ; | |
11123 | int res2 = 0 ; | |
97ab0f6a RD |
11124 | void *argp3 = 0 ; |
11125 | int res3 = 0 ; | |
11126 | int val4 ; | |
11127 | int ecode4 = 0 ; | |
11128 | wxRect temp5 ; | |
27e45892 RD |
11129 | PyObject * obj0 = 0 ; |
11130 | PyObject * obj1 = 0 ; | |
11131 | PyObject * obj2 = 0 ; | |
11132 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11133 | PyObject * obj4 = 0 ; |
27e45892 | 11134 | char * kwnames[] = { |
97ab0f6a | 11135 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11136 | }; |
11137 | ||
5eb8189c RD |
11138 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11139 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11140 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11142 | } |
5eb8189c | 11143 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11144 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11145 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11146 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11147 | } |
11148 | if (!argp2) { | |
5eb8189c | 11149 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11150 | } |
11151 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11152 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11153 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11154 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11155 | } |
11156 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11157 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11158 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11159 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11160 | } |
97ab0f6a | 11161 | arg4 = static_cast< int >(val4); |
27e45892 | 11162 | { |
97ab0f6a RD |
11163 | arg5 = &temp5; |
11164 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11165 | } |
11166 | { | |
11167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11168 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11169 | wxPyEndAllowThreads(__tstate); |
11170 | if (PyErr_Occurred()) SWIG_fail; | |
11171 | } | |
11172 | resultobj = SWIG_Py_Void(); | |
11173 | return resultobj; | |
11174 | fail: | |
11175 | return NULL; | |
11176 | } | |
11177 | ||
11178 | ||
5eb8189c | 11179 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11180 | PyObject *resultobj = 0; |
5eb8189c | 11181 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11182 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11183 | wxWindow *arg3 = (wxWindow *) 0 ; |
11184 | int arg4 ; | |
11185 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11186 | void *argp1 = 0 ; |
11187 | int res1 = 0 ; | |
11188 | void *argp2 = 0 ; | |
11189 | int res2 = 0 ; | |
97ab0f6a RD |
11190 | void *argp3 = 0 ; |
11191 | int res3 = 0 ; | |
11192 | int val4 ; | |
11193 | int ecode4 = 0 ; | |
11194 | wxRect temp5 ; | |
27e45892 RD |
11195 | PyObject * obj0 = 0 ; |
11196 | PyObject * obj1 = 0 ; | |
11197 | PyObject * obj2 = 0 ; | |
11198 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11199 | PyObject * obj4 = 0 ; |
27e45892 | 11200 | char * kwnames[] = { |
97ab0f6a | 11201 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11202 | }; |
11203 | ||
5eb8189c RD |
11204 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11205 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11206 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11207 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11208 | } |
5eb8189c | 11209 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11210 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11211 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11212 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11213 | } |
11214 | if (!argp2) { | |
5eb8189c | 11215 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11216 | } |
11217 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11218 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11219 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11220 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11221 | } |
11222 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11223 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11224 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11225 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11226 | } |
97ab0f6a | 11227 | arg4 = static_cast< int >(val4); |
27e45892 | 11228 | { |
97ab0f6a RD |
11229 | arg5 = &temp5; |
11230 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11231 | } |
11232 | { | |
11233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11234 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11235 | wxPyEndAllowThreads(__tstate); |
11236 | if (PyErr_Occurred()) SWIG_fail; | |
11237 | } | |
11238 | resultobj = SWIG_Py_Void(); | |
11239 | return resultobj; | |
11240 | fail: | |
11241 | return NULL; | |
11242 | } | |
11243 | ||
11244 | ||
5eb8189c | 11245 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11246 | PyObject *resultobj = 0; |
5eb8189c | 11247 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11248 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11249 | wxWindow *arg3 = (wxWindow *) 0 ; |
11250 | wxString *arg4 = 0 ; | |
11251 | wxRect *arg5 = 0 ; | |
5eb8189c | 11252 | wxAuiPaneInfo *arg6 = 0 ; |
27e45892 RD |
11253 | void *argp1 = 0 ; |
11254 | int res1 = 0 ; | |
11255 | void *argp2 = 0 ; | |
11256 | int res2 = 0 ; | |
97ab0f6a RD |
11257 | void *argp3 = 0 ; |
11258 | int res3 = 0 ; | |
11259 | bool temp4 = false ; | |
11260 | wxRect temp5 ; | |
11261 | void *argp6 = 0 ; | |
11262 | int res6 = 0 ; | |
27e45892 RD |
11263 | PyObject * obj0 = 0 ; |
11264 | PyObject * obj1 = 0 ; | |
11265 | PyObject * obj2 = 0 ; | |
11266 | PyObject * obj3 = 0 ; | |
11267 | PyObject * obj4 = 0 ; | |
97ab0f6a | 11268 | PyObject * obj5 = 0 ; |
27e45892 | 11269 | char * kwnames[] = { |
97ab0f6a | 11270 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11271 | }; |
11272 | ||
5eb8189c RD |
11273 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
11274 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11275 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11276 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11277 | } |
5eb8189c | 11278 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11279 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11280 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11281 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11282 | } |
11283 | if (!argp2) { | |
5eb8189c | 11284 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11285 | } |
11286 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11287 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11288 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11289 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11290 | } |
11291 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11292 | { |
97ab0f6a RD |
11293 | arg4 = wxString_in_helper(obj3); |
11294 | if (arg4 == NULL) SWIG_fail; | |
11295 | temp4 = true; | |
27e45892 RD |
11296 | } |
11297 | { | |
97ab0f6a RD |
11298 | arg5 = &temp5; |
11299 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 11300 | } |
5eb8189c | 11301 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11302 | if (!SWIG_IsOK(res6)) { |
5eb8189c | 11303 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11304 | } |
97ab0f6a | 11305 | if (!argp6) { |
5eb8189c | 11306 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11307 | } |
5eb8189c | 11308 | arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6); |
27e45892 RD |
11309 | { |
11310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11311 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
11312 | wxPyEndAllowThreads(__tstate); |
11313 | if (PyErr_Occurred()) SWIG_fail; | |
11314 | } | |
11315 | resultobj = SWIG_Py_Void(); | |
11316 | { | |
97ab0f6a RD |
11317 | if (temp4) |
11318 | delete arg4; | |
27e45892 RD |
11319 | } |
11320 | return resultobj; | |
11321 | fail: | |
11322 | { | |
97ab0f6a RD |
11323 | if (temp4) |
11324 | delete arg4; | |
27e45892 RD |
11325 | } |
11326 | return NULL; | |
11327 | } | |
11328 | ||
11329 | ||
5eb8189c | 11330 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11331 | PyObject *resultobj = 0; |
5eb8189c | 11332 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11333 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11334 | wxWindow *arg3 = (wxWindow *) 0 ; |
11335 | wxRect *arg4 = 0 ; | |
5eb8189c | 11336 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11337 | void *argp1 = 0 ; |
11338 | int res1 = 0 ; | |
11339 | void *argp2 = 0 ; | |
11340 | int res2 = 0 ; | |
97ab0f6a RD |
11341 | void *argp3 = 0 ; |
11342 | int res3 = 0 ; | |
11343 | wxRect temp4 ; | |
11344 | void *argp5 = 0 ; | |
11345 | int res5 = 0 ; | |
27e45892 RD |
11346 | PyObject * obj0 = 0 ; |
11347 | PyObject * obj1 = 0 ; | |
11348 | PyObject * obj2 = 0 ; | |
11349 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11350 | PyObject * obj4 = 0 ; |
27e45892 | 11351 | char * kwnames[] = { |
97ab0f6a | 11352 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11353 | }; |
11354 | ||
5eb8189c RD |
11355 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11356 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11357 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11358 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11359 | } |
5eb8189c | 11360 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11361 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11362 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11363 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11364 | } |
11365 | if (!argp2) { | |
5eb8189c | 11366 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11367 | } |
11368 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11369 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11370 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11371 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11372 | } |
11373 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11374 | { |
97ab0f6a RD |
11375 | arg4 = &temp4; |
11376 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11377 | } |
5eb8189c | 11378 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11379 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11380 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11381 | } |
97ab0f6a | 11382 | if (!argp5) { |
5eb8189c | 11383 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11384 | } |
5eb8189c | 11385 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11386 | { |
11387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11388 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11389 | wxPyEndAllowThreads(__tstate); |
11390 | if (PyErr_Occurred()) SWIG_fail; | |
11391 | } | |
11392 | resultobj = SWIG_Py_Void(); | |
11393 | return resultobj; | |
11394 | fail: | |
11395 | return NULL; | |
11396 | } | |
11397 | ||
11398 | ||
5eb8189c | 11399 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11400 | PyObject *resultobj = 0; |
5eb8189c | 11401 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11402 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11403 | wxWindow *arg3 = (wxWindow *) 0 ; |
11404 | wxRect *arg4 = 0 ; | |
5eb8189c | 11405 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11406 | void *argp1 = 0 ; |
11407 | int res1 = 0 ; | |
11408 | void *argp2 = 0 ; | |
11409 | int res2 = 0 ; | |
97ab0f6a RD |
11410 | void *argp3 = 0 ; |
11411 | int res3 = 0 ; | |
11412 | wxRect temp4 ; | |
11413 | void *argp5 = 0 ; | |
11414 | int res5 = 0 ; | |
27e45892 RD |
11415 | PyObject * obj0 = 0 ; |
11416 | PyObject * obj1 = 0 ; | |
11417 | PyObject * obj2 = 0 ; | |
11418 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11419 | PyObject * obj4 = 0 ; |
27e45892 | 11420 | char * kwnames[] = { |
97ab0f6a | 11421 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11422 | }; |
11423 | ||
5eb8189c RD |
11424 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11425 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11426 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11427 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11428 | } |
5eb8189c | 11429 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11430 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11431 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11432 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11433 | } |
11434 | if (!argp2) { | |
5eb8189c | 11435 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11436 | } |
11437 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11438 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11439 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11440 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11441 | } |
11442 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11443 | { |
97ab0f6a RD |
11444 | arg4 = &temp4; |
11445 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11446 | } |
5eb8189c | 11447 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11448 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11449 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11450 | } |
97ab0f6a | 11451 | if (!argp5) { |
5eb8189c | 11452 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11453 | } |
5eb8189c | 11454 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11455 | { |
11456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11457 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11458 | wxPyEndAllowThreads(__tstate); |
11459 | if (PyErr_Occurred()) SWIG_fail; | |
11460 | } | |
11461 | resultobj = SWIG_Py_Void(); | |
11462 | return resultobj; | |
11463 | fail: | |
11464 | return NULL; | |
11465 | } | |
11466 | ||
11467 | ||
5eb8189c | 11468 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11469 | PyObject *resultobj = 0; |
5eb8189c | 11470 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11471 | wxDC *arg2 = 0 ; |
97ab0f6a | 11472 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 11473 | int arg4 ; |
97ab0f6a RD |
11474 | int arg5 ; |
11475 | wxRect *arg6 = 0 ; | |
5eb8189c | 11476 | wxAuiPaneInfo *arg7 = 0 ; |
27e45892 RD |
11477 | void *argp1 = 0 ; |
11478 | int res1 = 0 ; | |
11479 | void *argp2 = 0 ; | |
11480 | int res2 = 0 ; | |
97ab0f6a RD |
11481 | void *argp3 = 0 ; |
11482 | int res3 = 0 ; | |
27e45892 RD |
11483 | int val4 ; |
11484 | int ecode4 = 0 ; | |
97ab0f6a RD |
11485 | int val5 ; |
11486 | int ecode5 = 0 ; | |
11487 | wxRect temp6 ; | |
11488 | void *argp7 = 0 ; | |
11489 | int res7 = 0 ; | |
27e45892 RD |
11490 | PyObject * obj0 = 0 ; |
11491 | PyObject * obj1 = 0 ; | |
11492 | PyObject * obj2 = 0 ; | |
11493 | PyObject * obj3 = 0 ; | |
11494 | PyObject * obj4 = 0 ; | |
11495 | PyObject * obj5 = 0 ; | |
97ab0f6a | 11496 | PyObject * obj6 = 0 ; |
27e45892 | 11497 | char * kwnames[] = { |
97ab0f6a | 11498 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11499 | }; |
11500 | ||
5eb8189c RD |
11501 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
11502 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11503 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11504 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11505 | } |
5eb8189c | 11506 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11507 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11508 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11509 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11510 | } |
11511 | if (!argp2) { | |
5eb8189c | 11512 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11513 | } |
11514 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11515 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11516 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11517 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11518 | } |
11519 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
11520 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11521 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11522 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11523 | } |
11524 | arg4 = static_cast< int >(val4); | |
97ab0f6a RD |
11525 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11526 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11527 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); |
97ab0f6a RD |
11528 | } |
11529 | arg5 = static_cast< int >(val5); | |
27e45892 | 11530 | { |
97ab0f6a RD |
11531 | arg6 = &temp6; |
11532 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 11533 | } |
5eb8189c | 11534 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11535 | if (!SWIG_IsOK(res7)) { |
5eb8189c | 11536 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11537 | } |
97ab0f6a | 11538 | if (!argp7) { |
5eb8189c | 11539 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11540 | } |
5eb8189c | 11541 | arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7); |
27e45892 RD |
11542 | { |
11543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11544 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
11545 | wxPyEndAllowThreads(__tstate); |
11546 | if (PyErr_Occurred()) SWIG_fail; | |
11547 | } | |
11548 | resultobj = SWIG_Py_Void(); | |
11549 | return resultobj; | |
11550 | fail: | |
11551 | return NULL; | |
11552 | } | |
11553 | ||
11554 | ||
5eb8189c | 11555 | SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11556 | PyObject *obj; |
11557 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11558 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11559 | return SWIG_Py_Void(); |
11560 | } | |
11561 | ||
5eb8189c | 11562 | SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11563 | PyObject *resultobj = 0; |
5eb8189c | 11564 | wxAuiDefaultDockArt *result = 0 ; |
27e45892 | 11565 | |
5eb8189c | 11566 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail; |
27e45892 RD |
11567 | { |
11568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11569 | result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt(); |
27e45892 RD |
11570 | wxPyEndAllowThreads(__tstate); |
11571 | if (PyErr_Occurred()) SWIG_fail; | |
11572 | } | |
5eb8189c | 11573 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11574 | return resultobj; |
11575 | fail: | |
11576 | return NULL; | |
11577 | } | |
11578 | ||
11579 | ||
5eb8189c | 11580 | SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11581 | PyObject *obj; |
11582 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11583 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11584 | return SWIG_Py_Void(); |
11585 | } | |
11586 | ||
5eb8189c | 11587 | SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11588 | return SWIG_Python_InitShadowInstance(args); |
11589 | } | |
11590 | ||
5eb8189c | 11591 | SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
11592 | PyObject *resultobj = 0; |
11593 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5eb8189c RD |
11594 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; |
11595 | wxAuiPaneInfo *arg3 = 0 ; | |
27e45892 | 11596 | int arg4 = (int) wxID_ANY ; |
9b940138 | 11597 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
5eb8189c | 11598 | wxAuiFloatingFrame *result = 0 ; |
27e45892 RD |
11599 | void *argp1 = 0 ; |
11600 | int res1 = 0 ; | |
11601 | void *argp2 = 0 ; | |
11602 | int res2 = 0 ; | |
11603 | void *argp3 = 0 ; | |
11604 | int res3 = 0 ; | |
11605 | int val4 ; | |
11606 | int ecode4 = 0 ; | |
9b940138 RD |
11607 | long val5 ; |
11608 | int ecode5 = 0 ; | |
27e45892 RD |
11609 | PyObject * obj0 = 0 ; |
11610 | PyObject * obj1 = 0 ; | |
11611 | PyObject * obj2 = 0 ; | |
11612 | PyObject * obj3 = 0 ; | |
9b940138 | 11613 | PyObject * obj4 = 0 ; |
27e45892 | 11614 | char * kwnames[] = { |
9b940138 | 11615 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
11616 | }; |
11617 | ||
5eb8189c | 11618 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
11619 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11620 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 11621 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 RD |
11622 | } |
11623 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5eb8189c | 11624 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 11625 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11626 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'"); |
27e45892 | 11627 | } |
5eb8189c RD |
11628 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); |
11629 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11630 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 11631 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11632 | } |
11633 | if (!argp3) { | |
5eb8189c | 11634 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11635 | } |
5eb8189c | 11636 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
11637 | if (obj3) { |
11638 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11639 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11640 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11641 | } |
11642 | arg4 = static_cast< int >(val4); | |
11643 | } | |
9b940138 RD |
11644 | if (obj4) { |
11645 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
11646 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11647 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'"); |
9b940138 RD |
11648 | } |
11649 | arg5 = static_cast< long >(val5); | |
11650 | } | |
27e45892 RD |
11651 | { |
11652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11653 | result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
11654 | wxPyEndAllowThreads(__tstate); |
11655 | if (PyErr_Occurred()) SWIG_fail; | |
11656 | } | |
5eb8189c | 11657 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11658 | return resultobj; |
11659 | fail: | |
11660 | return NULL; | |
11661 | } | |
11662 | ||
11663 | ||
5eb8189c | 11664 | SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11665 | PyObject *resultobj = 0; |
5eb8189c | 11666 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
27e45892 RD |
11667 | void *argp1 = 0 ; |
11668 | int res1 = 0 ; | |
11669 | PyObject *swig_obj[1] ; | |
11670 | ||
11671 | if (!args) SWIG_fail; | |
11672 | swig_obj[0] = args; | |
5eb8189c | 11673 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 11674 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11675 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11676 | } |
5eb8189c | 11677 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
27e45892 RD |
11678 | { |
11679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11680 | delete arg1; | |
11681 | ||
11682 | wxPyEndAllowThreads(__tstate); | |
11683 | if (PyErr_Occurred()) SWIG_fail; | |
11684 | } | |
11685 | resultobj = SWIG_Py_Void(); | |
11686 | return resultobj; | |
11687 | fail: | |
11688 | return NULL; | |
11689 | } | |
11690 | ||
11691 | ||
5eb8189c | 11692 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11693 | PyObject *resultobj = 0; |
5eb8189c RD |
11694 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
11695 | wxAuiPaneInfo *arg2 = 0 ; | |
27e45892 RD |
11696 | void *argp1 = 0 ; |
11697 | int res1 = 0 ; | |
11698 | void *argp2 = 0 ; | |
11699 | int res2 = 0 ; | |
11700 | PyObject * obj0 = 0 ; | |
11701 | PyObject * obj1 = 0 ; | |
11702 | char * kwnames[] = { | |
11703 | (char *) "self",(char *) "pane", NULL | |
11704 | }; | |
11705 | ||
5eb8189c RD |
11706 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
11707 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
27e45892 | 11708 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11709 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11710 | } |
5eb8189c RD |
11711 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
11712 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11713 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11714 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11715 | } |
11716 | if (!argp2) { | |
5eb8189c | 11717 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11718 | } |
5eb8189c | 11719 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
11720 | { |
11721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11722 | (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2); |
27e45892 RD |
11723 | wxPyEndAllowThreads(__tstate); |
11724 | if (PyErr_Occurred()) SWIG_fail; | |
11725 | } | |
11726 | resultobj = SWIG_Py_Void(); | |
11727 | return resultobj; | |
11728 | fail: | |
11729 | return NULL; | |
11730 | } | |
11731 | ||
11732 | ||
eccab1a7 RD |
11733 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_GetOwnerManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11734 | PyObject *resultobj = 0; | |
11735 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; | |
11736 | wxAuiManager *result = 0 ; | |
11737 | void *argp1 = 0 ; | |
11738 | int res1 = 0 ; | |
11739 | PyObject *swig_obj[1] ; | |
11740 | ||
11741 | if (!args) SWIG_fail; | |
11742 | swig_obj[0] = args; | |
11743 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
11744 | if (!SWIG_IsOK(res1)) { | |
11745 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_GetOwnerManager" "', expected argument " "1"" of type '" "wxAuiFloatingFrame const *""'"); | |
11746 | } | |
11747 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); | |
11748 | { | |
11749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11750 | result = (wxAuiManager *)((wxAuiFloatingFrame const *)arg1)->GetOwnerManager(); | |
11751 | wxPyEndAllowThreads(__tstate); | |
11752 | if (PyErr_Occurred()) SWIG_fail; | |
11753 | } | |
11754 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
11755 | return resultobj; | |
11756 | fail: | |
11757 | return NULL; | |
11758 | } | |
11759 | ||
11760 | ||
5eb8189c | 11761 | SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11762 | PyObject *obj; |
11763 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11764 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj)); |
27e45892 RD |
11765 | return SWIG_Py_Void(); |
11766 | } | |
11767 | ||
5eb8189c | 11768 | SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11769 | return SWIG_Python_InitShadowInstance(args); |
11770 | } | |
11771 | ||
5172800e | 11772 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11773 | PyObject *resultobj = 0; |
5172800e RD |
11774 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
11775 | int arg2 = (int) 0 ; | |
11776 | wxAuiNotebookEvent *result = 0 ; | |
11777 | int val1 ; | |
11778 | int ecode1 = 0 ; | |
11779 | int val2 ; | |
11780 | int ecode2 = 0 ; | |
11781 | PyObject * obj0 = 0 ; | |
11782 | PyObject * obj1 = 0 ; | |
11783 | char * kwnames[] = { | |
11784 | (char *) "command_type",(char *) "win_id", NULL | |
11785 | }; | |
5c8c7dd3 | 11786 | |
5172800e RD |
11787 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; |
11788 | if (obj0) { | |
11789 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11790 | if (!SWIG_IsOK(ecode1)) { | |
11791 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
11792 | } | |
11793 | arg1 = static_cast< wxEventType >(val1); | |
11794 | } | |
11795 | if (obj1) { | |
11796 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11797 | if (!SWIG_IsOK(ecode2)) { | |
11798 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
11799 | } | |
11800 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 | 11801 | } |
5c8c7dd3 RD |
11802 | { |
11803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11804 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); |
5c8c7dd3 RD |
11805 | wxPyEndAllowThreads(__tstate); |
11806 | if (PyErr_Occurred()) SWIG_fail; | |
11807 | } | |
5172800e | 11808 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); |
5c8c7dd3 RD |
11809 | return resultobj; |
11810 | fail: | |
11811 | return NULL; | |
11812 | } | |
11813 | ||
11814 | ||
5172800e | 11815 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11816 | PyObject *resultobj = 0; |
5172800e RD |
11817 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11818 | int arg2 ; | |
8f514ab4 RD |
11819 | void *argp1 = 0 ; |
11820 | int res1 = 0 ; | |
5172800e RD |
11821 | int val2 ; |
11822 | int ecode2 = 0 ; | |
8f514ab4 RD |
11823 | PyObject * obj0 = 0 ; |
11824 | PyObject * obj1 = 0 ; | |
11825 | char * kwnames[] = { | |
5172800e | 11826 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11827 | }; |
11828 | ||
5172800e RD |
11829 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11830 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11831 | if (!SWIG_IsOK(res1)) { |
5172800e | 11832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11833 | } |
5172800e RD |
11834 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11835 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11836 | if (!SWIG_IsOK(ecode2)) { | |
11837 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
11838 | } | |
11839 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11840 | { |
11841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11842 | (arg1)->SetSelection(arg2); |
8f514ab4 RD |
11843 | wxPyEndAllowThreads(__tstate); |
11844 | if (PyErr_Occurred()) SWIG_fail; | |
11845 | } | |
11846 | resultobj = SWIG_Py_Void(); | |
11847 | return resultobj; | |
11848 | fail: | |
11849 | return NULL; | |
11850 | } | |
11851 | ||
11852 | ||
5172800e | 11853 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 11854 | PyObject *resultobj = 0; |
5172800e RD |
11855 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11856 | int result; | |
8f514ab4 RD |
11857 | void *argp1 = 0 ; |
11858 | int res1 = 0 ; | |
5172800e | 11859 | PyObject *swig_obj[1] ; |
8f514ab4 | 11860 | |
5172800e RD |
11861 | if (!args) SWIG_fail; |
11862 | swig_obj[0] = args; | |
11863 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11864 | if (!SWIG_IsOK(res1)) { |
5172800e | 11865 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11866 | } |
5172800e | 11867 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
8f514ab4 RD |
11868 | { |
11869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11870 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); |
8f514ab4 RD |
11871 | wxPyEndAllowThreads(__tstate); |
11872 | if (PyErr_Occurred()) SWIG_fail; | |
11873 | } | |
5172800e | 11874 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8f514ab4 RD |
11875 | return resultobj; |
11876 | fail: | |
11877 | return NULL; | |
11878 | } | |
11879 | ||
11880 | ||
5172800e | 11881 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11882 | PyObject *resultobj = 0; |
5172800e RD |
11883 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11884 | int arg2 ; | |
8f514ab4 RD |
11885 | void *argp1 = 0 ; |
11886 | int res1 = 0 ; | |
5172800e RD |
11887 | int val2 ; |
11888 | int ecode2 = 0 ; | |
8f514ab4 RD |
11889 | PyObject * obj0 = 0 ; |
11890 | PyObject * obj1 = 0 ; | |
11891 | char * kwnames[] = { | |
5172800e | 11892 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11893 | }; |
11894 | ||
5172800e RD |
11895 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11896 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11897 | if (!SWIG_IsOK(res1)) { |
5172800e | 11898 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11899 | } |
5172800e RD |
11900 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11901 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11902 | if (!SWIG_IsOK(ecode2)) { | |
11903 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
11904 | } | |
11905 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11906 | { |
11907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11908 | (arg1)->SetOldSelection(arg2); |
8f514ab4 RD |
11909 | wxPyEndAllowThreads(__tstate); |
11910 | if (PyErr_Occurred()) SWIG_fail; | |
11911 | } | |
11912 | resultobj = SWIG_Py_Void(); | |
11913 | return resultobj; | |
11914 | fail: | |
11915 | return NULL; | |
11916 | } | |
11917 | ||
11918 | ||
5172800e | 11919 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11920 | PyObject *resultobj = 0; |
5172800e RD |
11921 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11922 | int result; | |
5c8c7dd3 RD |
11923 | void *argp1 = 0 ; |
11924 | int res1 = 0 ; | |
5172800e | 11925 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11926 | |
5172800e RD |
11927 | if (!args) SWIG_fail; |
11928 | swig_obj[0] = args; | |
11929 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11930 | if (!SWIG_IsOK(res1)) { |
5172800e | 11931 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
5c8c7dd3 | 11932 | } |
5172800e | 11933 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11934 | { |
11935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11936 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); |
5c8c7dd3 RD |
11937 | wxPyEndAllowThreads(__tstate); |
11938 | if (PyErr_Occurred()) SWIG_fail; | |
11939 | } | |
5172800e | 11940 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
11941 | return resultobj; |
11942 | fail: | |
11943 | return NULL; | |
11944 | } | |
11945 | ||
11946 | ||
5172800e | 11947 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11948 | PyObject *resultobj = 0; |
5172800e RD |
11949 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11950 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
11951 | void *argp1 = 0 ; |
11952 | int res1 = 0 ; | |
11953 | void *argp2 = 0 ; | |
11954 | int res2 = 0 ; | |
5c8c7dd3 RD |
11955 | PyObject * obj0 = 0 ; |
11956 | PyObject * obj1 = 0 ; | |
5c8c7dd3 | 11957 | char * kwnames[] = { |
5172800e | 11958 | (char *) "self",(char *) "s", NULL |
5c8c7dd3 RD |
11959 | }; |
11960 | ||
5172800e RD |
11961 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetDragSource",kwnames,&obj0,&obj1)) SWIG_fail; |
11962 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11963 | if (!SWIG_IsOK(res1)) { |
5172800e | 11964 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 11965 | } |
5172800e RD |
11966 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11967 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 11968 | if (!SWIG_IsOK(res2)) { |
5172800e | 11969 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
26c4d26f | 11970 | } |
5172800e | 11971 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
5c8c7dd3 RD |
11972 | { |
11973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11974 | (arg1)->SetDragSource(arg2); |
5c8c7dd3 RD |
11975 | wxPyEndAllowThreads(__tstate); |
11976 | if (PyErr_Occurred()) SWIG_fail; | |
11977 | } | |
11978 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
11979 | return resultobj; |
11980 | fail: | |
5c8c7dd3 RD |
11981 | return NULL; |
11982 | } | |
11983 | ||
11984 | ||
5172800e | 11985 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11986 | PyObject *resultobj = 0; |
5172800e RD |
11987 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11988 | wxAuiNotebook *result = 0 ; | |
5c8c7dd3 RD |
11989 | void *argp1 = 0 ; |
11990 | int res1 = 0 ; | |
5172800e | 11991 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11992 | |
5172800e RD |
11993 | if (!args) SWIG_fail; |
11994 | swig_obj[0] = args; | |
11995 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11996 | if (!SWIG_IsOK(res1)) { |
5172800e | 11997 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11998 | } |
5172800e | 11999 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
12000 | { |
12001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 12002 | result = (wxAuiNotebook *)((wxAuiNotebookEvent const *)arg1)->GetDragSource(); |
5c8c7dd3 RD |
12003 | wxPyEndAllowThreads(__tstate); |
12004 | if (PyErr_Occurred()) SWIG_fail; | |
12005 | } | |
5172800e | 12006 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 RD |
12007 | return resultobj; |
12008 | fail: | |
12009 | return NULL; | |
12010 | } | |
12011 | ||
12012 | ||
5172800e | 12013 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12014 | PyObject *resultobj = 0; |
5172800e RD |
12015 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12016 | int arg2 ; | |
5c8c7dd3 RD |
12017 | void *argp1 = 0 ; |
12018 | int res1 = 0 ; | |
5172800e RD |
12019 | int val2 ; |
12020 | int ecode2 = 0 ; | |
12021 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12022 | |
5172800e RD |
12023 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; |
12024 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12025 | if (!SWIG_IsOK(res1)) { |
5172800e | 12026 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12027 | } |
5172800e RD |
12028 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12029 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12030 | if (!SWIG_IsOK(ecode2)) { | |
12031 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
26c4d26f | 12032 | } |
5172800e RD |
12033 | arg2 = static_cast< int >(val2); |
12034 | if (arg1) (arg1)->old_selection = arg2; | |
12035 | ||
12036 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12037 | return resultobj; |
12038 | fail: | |
12039 | return NULL; | |
12040 | } | |
12041 | ||
12042 | ||
5172800e | 12043 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12044 | PyObject *resultobj = 0; |
5172800e | 12045 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
d95b9f2b RD |
12046 | int result; |
12047 | void *argp1 = 0 ; | |
12048 | int res1 = 0 ; | |
5172800e | 12049 | PyObject *swig_obj[1] ; |
d95b9f2b | 12050 | |
5172800e RD |
12051 | if (!args) SWIG_fail; |
12052 | swig_obj[0] = args; | |
12053 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
d95b9f2b | 12054 | if (!SWIG_IsOK(res1)) { |
5172800e | 12055 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
d95b9f2b | 12056 | } |
5172800e RD |
12057 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12058 | result = (int) ((arg1)->old_selection); | |
12059 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12060 | return resultobj; | |
12061 | fail: | |
12062 | return NULL; | |
12063 | } | |
12064 | ||
12065 | ||
12066 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12067 | PyObject *resultobj = 0; | |
12068 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12069 | int arg2 ; | |
12070 | void *argp1 = 0 ; | |
12071 | int res1 = 0 ; | |
12072 | int val2 ; | |
12073 | int ecode2 = 0 ; | |
12074 | PyObject *swig_obj[2] ; | |
12075 | ||
12076 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
12077 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12078 | if (!SWIG_IsOK(res1)) { | |
12079 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12080 | } |
5172800e RD |
12081 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12082 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12083 | if (!SWIG_IsOK(ecode2)) { | |
12084 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
d95b9f2b | 12085 | } |
5172800e RD |
12086 | arg2 = static_cast< int >(val2); |
12087 | if (arg1) (arg1)->selection = arg2; | |
12088 | ||
12089 | resultobj = SWIG_Py_Void(); | |
12090 | return resultobj; | |
12091 | fail: | |
12092 | return NULL; | |
12093 | } | |
12094 | ||
12095 | ||
12096 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12097 | PyObject *resultobj = 0; | |
12098 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12099 | int result; | |
12100 | void *argp1 = 0 ; | |
12101 | int res1 = 0 ; | |
12102 | PyObject *swig_obj[1] ; | |
12103 | ||
12104 | if (!args) SWIG_fail; | |
12105 | swig_obj[0] = args; | |
12106 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12107 | if (!SWIG_IsOK(res1)) { | |
12108 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12109 | } |
5172800e RD |
12110 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12111 | result = (int) ((arg1)->selection); | |
d95b9f2b | 12112 | resultobj = SWIG_From_int(static_cast< int >(result)); |
d95b9f2b RD |
12113 | return resultobj; |
12114 | fail: | |
d95b9f2b RD |
12115 | return NULL; |
12116 | } | |
12117 | ||
12118 | ||
5172800e | 12119 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12120 | PyObject *resultobj = 0; |
5172800e RD |
12121 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12122 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
12123 | void *argp1 = 0 ; |
12124 | int res1 = 0 ; | |
12125 | void *argp2 = 0 ; | |
12126 | int res2 = 0 ; | |
5172800e | 12127 | PyObject *swig_obj[2] ; |
5c8c7dd3 | 12128 | |
5172800e RD |
12129 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_drag_source_set",2,2,swig_obj)) SWIG_fail; |
12130 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12131 | if (!SWIG_IsOK(res1)) { |
5172800e | 12132 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12133 | } |
5172800e RD |
12134 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12135 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
5c8c7dd3 | 12136 | if (!SWIG_IsOK(res2)) { |
5172800e | 12137 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 12138 | } |
5172800e RD |
12139 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
12140 | if (arg1) (arg1)->drag_source = arg2; | |
12141 | ||
12142 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12143 | return resultobj; |
12144 | fail: | |
12145 | return NULL; | |
12146 | } | |
12147 | ||
12148 | ||
5172800e | 12149 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12150 | PyObject *resultobj = 0; |
5172800e RD |
12151 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12152 | wxAuiNotebook *result = 0 ; | |
12153 | void *argp1 = 0 ; | |
12154 | int res1 = 0 ; | |
12155 | PyObject *swig_obj[1] ; | |
5c8c7dd3 | 12156 | |
5172800e RD |
12157 | if (!args) SWIG_fail; |
12158 | swig_obj[0] = args; | |
12159 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12160 | if (!SWIG_IsOK(res1)) { | |
12161 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
5c8c7dd3 | 12162 | } |
5172800e RD |
12163 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12164 | result = (wxAuiNotebook *) ((arg1)->drag_source); | |
12165 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 RD |
12166 | return resultobj; |
12167 | fail: | |
12168 | return NULL; | |
12169 | } | |
12170 | ||
12171 | ||
5172800e RD |
12172 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12173 | PyObject *obj; | |
12174 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12175 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
12176 | return SWIG_Py_Void(); | |
12177 | } | |
12178 | ||
12179 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12180 | return SWIG_Python_InitShadowInstance(args); | |
12181 | } | |
12182 | ||
12183 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5c8c7dd3 | 12184 | PyObject *resultobj = 0; |
5172800e RD |
12185 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12186 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5c8c7dd3 RD |
12187 | void *argp1 = 0 ; |
12188 | int res1 = 0 ; | |
5172800e RD |
12189 | void *argp2 = 0 ; |
12190 | int res2 = 0 ; | |
12191 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12192 | |
5172800e RD |
12193 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; |
12194 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
5c8c7dd3 | 12195 | if (!SWIG_IsOK(res1)) { |
5172800e | 12196 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
5c8c7dd3 | 12197 | } |
5172800e RD |
12198 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12199 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
12200 | if (!SWIG_IsOK(res2)) { | |
12201 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5c8c7dd3 | 12202 | } |
5172800e RD |
12203 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
12204 | if (arg1) (arg1)->window = arg2; | |
12205 | ||
5c8c7dd3 RD |
12206 | resultobj = SWIG_Py_Void(); |
12207 | return resultobj; | |
12208 | fail: | |
12209 | return NULL; | |
12210 | } | |
12211 | ||
12212 | ||
5172800e | 12213 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12214 | PyObject *resultobj = 0; |
5172800e RD |
12215 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12216 | wxWindow *result = 0 ; | |
12217 | void *argp1 = 0 ; | |
12218 | int res1 = 0 ; | |
12219 | PyObject *swig_obj[1] ; | |
10044bf1 | 12220 | |
5172800e RD |
12221 | if (!args) SWIG_fail; |
12222 | swig_obj[0] = args; | |
12223 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12224 | if (!SWIG_IsOK(res1)) { | |
12225 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
10044bf1 | 12226 | } |
5172800e RD |
12227 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12228 | result = (wxWindow *) ((arg1)->window); | |
10044bf1 | 12229 | { |
5172800e | 12230 | resultobj = wxPyMake_wxObject(result, 0); |
10044bf1 | 12231 | } |
10044bf1 RD |
12232 | return resultobj; |
12233 | fail: | |
12234 | return NULL; | |
27e45892 RD |
12235 | } |
12236 | ||
10044bf1 | 12237 | |
5172800e | 12238 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12239 | PyObject *resultobj = 0; |
5172800e RD |
12240 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12241 | wxString *arg2 = (wxString *) 0 ; | |
10044bf1 RD |
12242 | void *argp1 = 0 ; |
12243 | int res1 = 0 ; | |
5172800e RD |
12244 | bool temp2 = false ; |
12245 | PyObject *swig_obj[2] ; | |
10044bf1 | 12246 | |
5172800e RD |
12247 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; |
12248 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12249 | if (!SWIG_IsOK(res1)) { |
5172800e | 12250 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12251 | } |
5172800e | 12252 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
10044bf1 | 12253 | { |
5172800e RD |
12254 | arg2 = wxString_in_helper(swig_obj[1]); |
12255 | if (arg2 == NULL) SWIG_fail; | |
12256 | temp2 = true; | |
10044bf1 | 12257 | } |
5172800e RD |
12258 | if (arg1) (arg1)->caption = *arg2; |
12259 | ||
10044bf1 | 12260 | resultobj = SWIG_Py_Void(); |
5172800e RD |
12261 | { |
12262 | if (temp2) | |
12263 | delete arg2; | |
12264 | } | |
10044bf1 RD |
12265 | return resultobj; |
12266 | fail: | |
5172800e RD |
12267 | { |
12268 | if (temp2) | |
12269 | delete arg2; | |
12270 | } | |
10044bf1 RD |
12271 | return NULL; |
12272 | } | |
12273 | ||
12274 | ||
5172800e | 12275 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12276 | PyObject *resultobj = 0; |
5172800e RD |
12277 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12278 | wxString *result = 0 ; | |
d95b9f2b RD |
12279 | void *argp1 = 0 ; |
12280 | int res1 = 0 ; | |
12281 | PyObject *swig_obj[1] ; | |
12282 | ||
12283 | if (!args) SWIG_fail; | |
12284 | swig_obj[0] = args; | |
5172800e | 12285 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
d95b9f2b | 12286 | if (!SWIG_IsOK(res1)) { |
5172800e | 12287 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12288 | } |
5172800e RD |
12289 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12290 | result = (wxString *)& ((arg1)->caption); | |
d95b9f2b | 12291 | { |
5172800e RD |
12292 | #if wxUSE_UNICODE |
12293 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12294 | #else | |
12295 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12296 | #endif | |
d95b9f2b | 12297 | } |
d95b9f2b RD |
12298 | return resultobj; |
12299 | fail: | |
12300 | return NULL; | |
12301 | } | |
12302 | ||
12303 | ||
5172800e | 12304 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12305 | PyObject *resultobj = 0; |
5172800e RD |
12306 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12307 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12308 | void *argp1 = 0 ; |
12309 | int res1 = 0 ; | |
5172800e RD |
12310 | void *argp2 = 0 ; |
12311 | int res2 = 0 ; | |
12312 | PyObject *swig_obj[2] ; | |
10044bf1 | 12313 | |
5172800e RD |
12314 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12315 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12316 | if (!SWIG_IsOK(res1)) { |
5172800e | 12317 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12318 | } |
5172800e RD |
12319 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12320 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12321 | if (!SWIG_IsOK(res2)) { | |
12322 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12323 | } |
5172800e RD |
12324 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12325 | if (arg1) (arg1)->bitmap = *arg2; | |
12326 | ||
10044bf1 RD |
12327 | resultobj = SWIG_Py_Void(); |
12328 | return resultobj; | |
12329 | fail: | |
12330 | return NULL; | |
12331 | } | |
12332 | ||
12333 | ||
5172800e | 12334 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12335 | PyObject *resultobj = 0; |
5172800e RD |
12336 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12337 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12338 | void *argp1 = 0 ; |
12339 | int res1 = 0 ; | |
12340 | PyObject *swig_obj[1] ; | |
12341 | ||
12342 | if (!args) SWIG_fail; | |
12343 | swig_obj[0] = args; | |
5172800e | 12344 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12345 | if (!SWIG_IsOK(res1)) { |
5172800e | 12346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12347 | } |
5172800e RD |
12348 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12349 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12350 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12351 | return resultobj; |
12352 | fail: | |
12353 | return NULL; | |
12354 | } | |
12355 | ||
12356 | ||
5172800e | 12357 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12358 | PyObject *resultobj = 0; |
5172800e RD |
12359 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12360 | wxRect *arg2 = (wxRect *) 0 ; | |
d95b9f2b RD |
12361 | void *argp1 = 0 ; |
12362 | int res1 = 0 ; | |
12363 | void *argp2 = 0 ; | |
12364 | int res2 = 0 ; | |
5172800e | 12365 | PyObject *swig_obj[2] ; |
d95b9f2b | 12366 | |
5172800e RD |
12367 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; |
12368 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
d95b9f2b | 12369 | if (!SWIG_IsOK(res1)) { |
5172800e | 12370 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12371 | } |
5172800e RD |
12372 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12373 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
d95b9f2b | 12374 | if (!SWIG_IsOK(res2)) { |
5172800e | 12375 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
d95b9f2b | 12376 | } |
5172800e RD |
12377 | arg2 = reinterpret_cast< wxRect * >(argp2); |
12378 | if (arg1) (arg1)->rect = *arg2; | |
12379 | ||
d95b9f2b RD |
12380 | resultobj = SWIG_Py_Void(); |
12381 | return resultobj; | |
12382 | fail: | |
12383 | return NULL; | |
12384 | } | |
12385 | ||
12386 | ||
5172800e | 12387 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12388 | PyObject *resultobj = 0; |
5172800e RD |
12389 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12390 | wxRect *result = 0 ; | |
10044bf1 RD |
12391 | void *argp1 = 0 ; |
12392 | int res1 = 0 ; | |
12393 | PyObject *swig_obj[1] ; | |
12394 | ||
12395 | if (!args) SWIG_fail; | |
12396 | swig_obj[0] = args; | |
5172800e | 12397 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12398 | if (!SWIG_IsOK(res1)) { |
5172800e | 12399 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12400 | } |
5172800e RD |
12401 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12402 | result = (wxRect *)& ((arg1)->rect); | |
12403 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10044bf1 RD |
12404 | return resultobj; |
12405 | fail: | |
12406 | return NULL; | |
12407 | } | |
12408 | ||
12409 | ||
5172800e | 12410 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12411 | PyObject *resultobj = 0; |
5172800e RD |
12412 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12413 | bool arg2 ; | |
10044bf1 RD |
12414 | void *argp1 = 0 ; |
12415 | int res1 = 0 ; | |
5172800e | 12416 | bool val2 ; |
10044bf1 RD |
12417 | int ecode2 = 0 ; |
12418 | PyObject *swig_obj[2] ; | |
12419 | ||
5172800e RD |
12420 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; |
12421 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12422 | if (!SWIG_IsOK(res1)) { |
5172800e | 12423 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12424 | } |
5172800e RD |
12425 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12426 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10044bf1 | 12427 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12428 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); |
10044bf1 | 12429 | } |
5172800e RD |
12430 | arg2 = static_cast< bool >(val2); |
12431 | if (arg1) (arg1)->active = arg2; | |
10044bf1 RD |
12432 | |
12433 | resultobj = SWIG_Py_Void(); | |
12434 | return resultobj; | |
12435 | fail: | |
12436 | return NULL; | |
12437 | } | |
12438 | ||
12439 | ||
5172800e | 12440 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12441 | PyObject *resultobj = 0; |
5172800e RD |
12442 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12443 | bool result; | |
10044bf1 RD |
12444 | void *argp1 = 0 ; |
12445 | int res1 = 0 ; | |
12446 | PyObject *swig_obj[1] ; | |
12447 | ||
12448 | if (!args) SWIG_fail; | |
12449 | swig_obj[0] = args; | |
5172800e | 12450 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12451 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
12452 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
12453 | } | |
12454 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12455 | result = (bool) ((arg1)->active); | |
12456 | { | |
12457 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 12458 | } |
10044bf1 RD |
12459 | return resultobj; |
12460 | fail: | |
12461 | return NULL; | |
12462 | } | |
12463 | ||
12464 | ||
5172800e RD |
12465 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12466 | PyObject *obj; | |
12467 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12468 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12469 | return SWIG_Py_Void(); | |
12470 | } | |
12471 | ||
12472 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12473 | PyObject *resultobj = 0; |
5172800e | 12474 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12475 | int arg2 ; |
12476 | void *argp1 = 0 ; | |
12477 | int res1 = 0 ; | |
12478 | int val2 ; | |
12479 | int ecode2 = 0 ; | |
12480 | PyObject *swig_obj[2] ; | |
12481 | ||
5172800e RD |
12482 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; |
12483 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12484 | if (!SWIG_IsOK(res1)) { |
5172800e | 12485 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12486 | } |
5172800e | 12487 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12488 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
12489 | if (!SWIG_IsOK(ecode2)) { | |
5172800e | 12490 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
12491 | } |
12492 | arg2 = static_cast< int >(val2); | |
5172800e | 12493 | if (arg1) (arg1)->id = arg2; |
10044bf1 RD |
12494 | |
12495 | resultobj = SWIG_Py_Void(); | |
12496 | return resultobj; | |
12497 | fail: | |
12498 | return NULL; | |
12499 | } | |
12500 | ||
12501 | ||
5172800e | 12502 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12503 | PyObject *resultobj = 0; |
5172800e | 12504 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12505 | int result; |
12506 | void *argp1 = 0 ; | |
12507 | int res1 = 0 ; | |
12508 | PyObject *swig_obj[1] ; | |
12509 | ||
12510 | if (!args) SWIG_fail; | |
12511 | swig_obj[0] = args; | |
5172800e | 12512 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12513 | if (!SWIG_IsOK(res1)) { |
5172800e | 12514 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12515 | } |
5172800e RD |
12516 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12517 | result = (int) ((arg1)->id); | |
10044bf1 RD |
12518 | resultobj = SWIG_From_int(static_cast< int >(result)); |
12519 | return resultobj; | |
12520 | fail: | |
12521 | return NULL; | |
12522 | } | |
12523 | ||
12524 | ||
5172800e | 12525 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12526 | PyObject *resultobj = 0; |
5172800e RD |
12527 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12528 | int arg2 ; | |
d95b9f2b RD |
12529 | void *argp1 = 0 ; |
12530 | int res1 = 0 ; | |
5172800e RD |
12531 | int val2 ; |
12532 | int ecode2 = 0 ; | |
d95b9f2b RD |
12533 | PyObject *swig_obj[2] ; |
12534 | ||
5172800e RD |
12535 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; |
12536 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
d95b9f2b | 12537 | if (!SWIG_IsOK(res1)) { |
5172800e | 12538 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12539 | } |
5172800e RD |
12540 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12541 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12542 | if (!SWIG_IsOK(ecode2)) { | |
12543 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12544 | } | |
12545 | arg2 = static_cast< int >(val2); | |
12546 | if (arg1) (arg1)->cur_state = arg2; | |
d95b9f2b RD |
12547 | |
12548 | resultobj = SWIG_Py_Void(); | |
12549 | return resultobj; | |
12550 | fail: | |
12551 | return NULL; | |
12552 | } | |
12553 | ||
12554 | ||
5172800e | 12555 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12556 | PyObject *resultobj = 0; |
5172800e RD |
12557 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12558 | int result; | |
d95b9f2b RD |
12559 | void *argp1 = 0 ; |
12560 | int res1 = 0 ; | |
12561 | PyObject *swig_obj[1] ; | |
12562 | ||
12563 | if (!args) SWIG_fail; | |
12564 | swig_obj[0] = args; | |
5172800e | 12565 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
d95b9f2b | 12566 | if (!SWIG_IsOK(res1)) { |
5172800e | 12567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12568 | } |
5172800e RD |
12569 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12570 | result = (int) ((arg1)->cur_state); | |
12571 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
d95b9f2b RD |
12572 | return resultobj; |
12573 | fail: | |
12574 | return NULL; | |
12575 | } | |
12576 | ||
12577 | ||
5172800e | 12578 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12579 | PyObject *resultobj = 0; |
5172800e RD |
12580 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12581 | int arg2 ; | |
10044bf1 RD |
12582 | void *argp1 = 0 ; |
12583 | int res1 = 0 ; | |
5172800e RD |
12584 | int val2 ; |
12585 | int ecode2 = 0 ; | |
10044bf1 RD |
12586 | PyObject *swig_obj[2] ; |
12587 | ||
5172800e RD |
12588 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; |
12589 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12590 | if (!SWIG_IsOK(res1)) { |
5172800e | 12591 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12592 | } |
5172800e RD |
12593 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12594 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12595 | if (!SWIG_IsOK(ecode2)) { | |
12596 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12597 | } | |
12598 | arg2 = static_cast< int >(val2); | |
12599 | if (arg1) (arg1)->location = arg2; | |
10044bf1 RD |
12600 | |
12601 | resultobj = SWIG_Py_Void(); | |
12602 | return resultobj; | |
12603 | fail: | |
12604 | return NULL; | |
12605 | } | |
12606 | ||
12607 | ||
5172800e | 12608 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12609 | PyObject *resultobj = 0; |
5172800e RD |
12610 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12611 | int result; | |
10044bf1 RD |
12612 | void *argp1 = 0 ; |
12613 | int res1 = 0 ; | |
12614 | PyObject *swig_obj[1] ; | |
12615 | ||
12616 | if (!args) SWIG_fail; | |
12617 | swig_obj[0] = args; | |
5172800e | 12618 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12619 | if (!SWIG_IsOK(res1)) { |
5172800e | 12620 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12621 | } |
5172800e RD |
12622 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12623 | result = (int) ((arg1)->location); | |
12624 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
12625 | return resultobj; |
12626 | fail: | |
12627 | return NULL; | |
12628 | } | |
12629 | ||
12630 | ||
5172800e | 12631 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12632 | PyObject *resultobj = 0; |
5172800e RD |
12633 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12634 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12635 | void *argp1 = 0 ; |
12636 | int res1 = 0 ; | |
5172800e RD |
12637 | void *argp2 = 0 ; |
12638 | int res2 = 0 ; | |
10044bf1 RD |
12639 | PyObject *swig_obj[2] ; |
12640 | ||
5172800e RD |
12641 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12642 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12643 | if (!SWIG_IsOK(res1)) { |
5172800e | 12644 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12645 | } |
5172800e RD |
12646 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12647 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12648 | if (!SWIG_IsOK(res2)) { | |
12649 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12650 | } |
5172800e RD |
12651 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12652 | if (arg1) (arg1)->bitmap = *arg2; | |
10044bf1 RD |
12653 | |
12654 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
12655 | return resultobj; |
12656 | fail: | |
10044bf1 RD |
12657 | return NULL; |
12658 | } | |
12659 | ||
12660 | ||
5172800e | 12661 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12662 | PyObject *resultobj = 0; |
5172800e RD |
12663 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12664 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12665 | void *argp1 = 0 ; |
12666 | int res1 = 0 ; | |
12667 | PyObject *swig_obj[1] ; | |
12668 | ||
12669 | if (!args) SWIG_fail; | |
12670 | swig_obj[0] = args; | |
5172800e RD |
12671 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
12672 | if (!SWIG_IsOK(res1)) { | |
12673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
10044bf1 | 12674 | } |
5172800e RD |
12675 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12676 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12677 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12678 | return resultobj; |
12679 | fail: | |
12680 | return NULL; | |
12681 | } | |
12682 | ||
12683 | ||
5172800e | 12684 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12685 | PyObject *resultobj = 0; |
5172800e | 12686 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12687 | wxBitmap *arg2 = (wxBitmap *) 0 ; |
12688 | void *argp1 = 0 ; | |
12689 | int res1 = 0 ; | |
12690 | void *argp2 = 0 ; | |
12691 | int res2 = 0 ; | |
12692 | PyObject *swig_obj[2] ; | |
12693 | ||
5172800e RD |
12694 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12695 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12696 | if (!SWIG_IsOK(res1)) { |
5172800e | 12697 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12698 | } |
5172800e | 12699 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12700 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12701 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12702 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); |
10044bf1 RD |
12703 | } |
12704 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
5172800e | 12705 | if (arg1) (arg1)->dis_bitmap = *arg2; |
10044bf1 RD |
12706 | |
12707 | resultobj = SWIG_Py_Void(); | |
12708 | return resultobj; | |
12709 | fail: | |
12710 | return NULL; | |
12711 | } | |
12712 | ||
12713 | ||
5172800e | 12714 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12715 | PyObject *resultobj = 0; |
5172800e | 12716 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12717 | wxBitmap *result = 0 ; |
12718 | void *argp1 = 0 ; | |
12719 | int res1 = 0 ; | |
12720 | PyObject *swig_obj[1] ; | |
12721 | ||
12722 | if (!args) SWIG_fail; | |
12723 | swig_obj[0] = args; | |
5172800e | 12724 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12725 | if (!SWIG_IsOK(res1)) { |
5172800e | 12726 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12727 | } |
5172800e RD |
12728 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12729 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
10044bf1 RD |
12730 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12731 | return resultobj; | |
12732 | fail: | |
12733 | return NULL; | |
12734 | } | |
12735 | ||
12736 | ||
5172800e | 12737 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12738 | PyObject *resultobj = 0; |
5172800e | 12739 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12740 | wxRect *arg2 = (wxRect *) 0 ; |
12741 | void *argp1 = 0 ; | |
12742 | int res1 = 0 ; | |
12743 | void *argp2 = 0 ; | |
12744 | int res2 = 0 ; | |
12745 | PyObject *swig_obj[2] ; | |
12746 | ||
5172800e RD |
12747 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; |
12748 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12749 | if (!SWIG_IsOK(res1)) { |
5172800e | 12750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12751 | } |
5172800e | 12752 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12753 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
12754 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12755 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
10044bf1 RD |
12756 | } |
12757 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12758 | if (arg1) (arg1)->rect = *arg2; | |
12759 | ||
12760 | resultobj = SWIG_Py_Void(); | |
12761 | return resultobj; | |
12762 | fail: | |
12763 | return NULL; | |
12764 | } | |
12765 | ||
12766 | ||
5172800e | 12767 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12768 | PyObject *resultobj = 0; |
5172800e | 12769 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12770 | wxRect *result = 0 ; |
12771 | void *argp1 = 0 ; | |
12772 | int res1 = 0 ; | |
12773 | PyObject *swig_obj[1] ; | |
12774 | ||
12775 | if (!args) SWIG_fail; | |
12776 | swig_obj[0] = args; | |
5172800e | 12777 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12778 | if (!SWIG_IsOK(res1)) { |
5172800e | 12779 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12780 | } |
5172800e | 12781 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12782 | result = (wxRect *)& ((arg1)->rect); |
12783 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12784 | return resultobj; | |
12785 | fail: | |
12786 | return NULL; | |
12787 | } | |
12788 | ||
12789 | ||
5172800e RD |
12790 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12791 | PyObject *obj; | |
12792 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12793 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
12794 | return SWIG_Py_Void(); | |
12795 | } | |
12796 | ||
12797 | SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12798 | PyObject *resultobj = 0; |
5172800e | 12799 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
10044bf1 RD |
12800 | void *argp1 = 0 ; |
12801 | int res1 = 0 ; | |
5172800e RD |
12802 | PyObject *swig_obj[1] ; |
12803 | ||
12804 | if (!args) SWIG_fail; | |
12805 | swig_obj[0] = args; | |
12806 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 ); | |
12807 | if (!SWIG_IsOK(res1)) { | |
12808 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12809 | } | |
12810 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12811 | { | |
12812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12813 | delete arg1; | |
12814 | ||
12815 | wxPyEndAllowThreads(__tstate); | |
12816 | if (PyErr_Occurred()) SWIG_fail; | |
12817 | } | |
12818 | resultobj = SWIG_Py_Void(); | |
12819 | return resultobj; | |
12820 | fail: | |
12821 | return NULL; | |
12822 | } | |
12823 | ||
12824 | ||
12825 | SWIGINTERN PyObject *_wrap_AuiTabArt_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12826 | PyObject *resultobj = 0; | |
12827 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12828 | wxAuiTabArt *result = 0 ; | |
12829 | void *argp1 = 0 ; | |
12830 | int res1 = 0 ; | |
12831 | PyObject *swig_obj[1] ; | |
12832 | ||
12833 | if (!args) SWIG_fail; | |
12834 | swig_obj[0] = args; | |
12835 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12836 | if (!SWIG_IsOK(res1)) { | |
12837 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_Clone" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12838 | } | |
12839 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12840 | { | |
12841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12842 | result = (wxAuiTabArt *)(arg1)->Clone(); | |
12843 | wxPyEndAllowThreads(__tstate); | |
12844 | if (PyErr_Occurred()) SWIG_fail; | |
12845 | } | |
12846 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12847 | return resultobj; | |
12848 | fail: | |
12849 | return NULL; | |
12850 | } | |
12851 | ||
12852 | ||
12853 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12854 | PyObject *resultobj = 0; | |
12855 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12856 | int arg2 ; | |
12857 | void *argp1 = 0 ; | |
12858 | int res1 = 0 ; | |
12859 | int val2 ; | |
10044bf1 | 12860 | int ecode2 = 0 ; |
5172800e RD |
12861 | PyObject * obj0 = 0 ; |
12862 | PyObject * obj1 = 0 ; | |
12863 | char * kwnames[] = { | |
12864 | (char *) "self",(char *) "flags", NULL | |
12865 | }; | |
10044bf1 | 12866 | |
5172800e RD |
12867 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
12868 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12869 | if (!SWIG_IsOK(res1)) { |
5172800e | 12870 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12871 | } |
5172800e RD |
12872 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12873 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10044bf1 | 12874 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12875 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabArt_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 | 12876 | } |
5172800e RD |
12877 | arg2 = static_cast< int >(val2); |
12878 | { | |
12879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12880 | (arg1)->SetFlags(arg2); | |
12881 | wxPyEndAllowThreads(__tstate); | |
12882 | if (PyErr_Occurred()) SWIG_fail; | |
12883 | } | |
12884 | resultobj = SWIG_Py_Void(); | |
12885 | return resultobj; | |
12886 | fail: | |
12887 | return NULL; | |
12888 | } | |
12889 | ||
12890 | ||
12891 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSizingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12892 | PyObject *resultobj = 0; | |
12893 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12894 | wxSize *arg2 = 0 ; | |
12895 | size_t arg3 ; | |
12896 | void *argp1 = 0 ; | |
12897 | int res1 = 0 ; | |
12898 | wxSize temp2 ; | |
12899 | size_t val3 ; | |
12900 | int ecode3 = 0 ; | |
12901 | PyObject * obj0 = 0 ; | |
12902 | PyObject * obj1 = 0 ; | |
12903 | PyObject * obj2 = 0 ; | |
12904 | char * kwnames[] = { | |
12905 | (char *) "self",(char *) "tab_ctrl_size",(char *) "tab_count", NULL | |
12906 | }; | |
10044bf1 | 12907 | |
5172800e RD |
12908 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_SetSizingInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
12909 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12910 | if (!SWIG_IsOK(res1)) { | |
12911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12912 | } | |
12913 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12914 | { | |
12915 | arg2 = &temp2; | |
12916 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
12917 | } | |
12918 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
12919 | if (!SWIG_IsOK(ecode3)) { | |
12920 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "3"" of type '" "size_t""'"); | |
12921 | } | |
12922 | arg3 = static_cast< size_t >(val3); | |
12923 | { | |
12924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12925 | (arg1)->SetSizingInfo((wxSize const &)*arg2,arg3); | |
12926 | wxPyEndAllowThreads(__tstate); | |
12927 | if (PyErr_Occurred()) SWIG_fail; | |
12928 | } | |
10044bf1 RD |
12929 | resultobj = SWIG_Py_Void(); |
12930 | return resultobj; | |
12931 | fail: | |
12932 | return NULL; | |
12933 | } | |
12934 | ||
12935 | ||
5172800e | 12936 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12937 | PyObject *resultobj = 0; |
5172800e RD |
12938 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12939 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
12940 | void *argp1 = 0 ; |
12941 | int res1 = 0 ; | |
5172800e RD |
12942 | void *argp2 = 0 ; |
12943 | int res2 = 0 ; | |
12944 | PyObject * obj0 = 0 ; | |
12945 | PyObject * obj1 = 0 ; | |
12946 | char * kwnames[] = { | |
12947 | (char *) "self",(char *) "font", NULL | |
12948 | }; | |
10044bf1 | 12949 | |
5172800e RD |
12950 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; |
12951 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12952 | if (!SWIG_IsOK(res1)) { |
5172800e | 12953 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12954 | } |
5172800e RD |
12955 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12956 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12957 | if (!SWIG_IsOK(res2)) { | |
12958 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12959 | } | |
12960 | if (!argp2) { | |
12961 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12962 | } | |
12963 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12964 | { | |
12965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12966 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
12967 | wxPyEndAllowThreads(__tstate); | |
12968 | if (PyErr_Occurred()) SWIG_fail; | |
12969 | } | |
12970 | resultobj = SWIG_Py_Void(); | |
12971 | return resultobj; | |
12972 | fail: | |
12973 | return NULL; | |
12974 | } | |
12975 | ||
12976 | ||
12977 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12978 | PyObject *resultobj = 0; | |
12979 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12980 | wxFont *arg2 = 0 ; | |
12981 | void *argp1 = 0 ; | |
12982 | int res1 = 0 ; | |
12983 | void *argp2 = 0 ; | |
12984 | int res2 = 0 ; | |
12985 | PyObject * obj0 = 0 ; | |
12986 | PyObject * obj1 = 0 ; | |
12987 | char * kwnames[] = { | |
12988 | (char *) "self",(char *) "font", NULL | |
12989 | }; | |
12990 | ||
12991 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12992 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12993 | if (!SWIG_IsOK(res1)) { | |
12994 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12995 | } | |
12996 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12997 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12998 | if (!SWIG_IsOK(res2)) { | |
12999 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13000 | } | |
13001 | if (!argp2) { | |
13002 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13003 | } | |
13004 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
10044bf1 | 13005 | { |
5172800e RD |
13006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13007 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
13008 | wxPyEndAllowThreads(__tstate); | |
13009 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13010 | } |
5172800e | 13011 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
13012 | return resultobj; |
13013 | fail: | |
13014 | return NULL; | |
13015 | } | |
13016 | ||
13017 | ||
5172800e | 13018 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13019 | PyObject *resultobj = 0; |
5172800e RD |
13020 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13021 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
13022 | void *argp1 = 0 ; |
13023 | int res1 = 0 ; | |
5172800e RD |
13024 | void *argp2 = 0 ; |
13025 | int res2 = 0 ; | |
13026 | PyObject * obj0 = 0 ; | |
13027 | PyObject * obj1 = 0 ; | |
13028 | char * kwnames[] = { | |
13029 | (char *) "self",(char *) "font", NULL | |
13030 | }; | |
10044bf1 | 13031 | |
5172800e RD |
13032 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; |
13033 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13034 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
13035 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
13036 | } | |
13037 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13038 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13039 | if (!SWIG_IsOK(res2)) { | |
13040 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13041 | } | |
13042 | if (!argp2) { | |
13043 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13044 | } | |
13045 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13046 | { | |
13047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13048 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
13049 | wxPyEndAllowThreads(__tstate); | |
13050 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13051 | } |
10044bf1 RD |
13052 | resultobj = SWIG_Py_Void(); |
13053 | return resultobj; | |
13054 | fail: | |
13055 | return NULL; | |
13056 | } | |
13057 | ||
13058 | ||
5172800e | 13059 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13060 | PyObject *resultobj = 0; |
5172800e RD |
13061 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13062 | wxDC *arg2 = 0 ; | |
13063 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13064 | wxRect *arg4 = 0 ; | |
10044bf1 RD |
13065 | void *argp1 = 0 ; |
13066 | int res1 = 0 ; | |
5172800e RD |
13067 | void *argp2 = 0 ; |
13068 | int res2 = 0 ; | |
13069 | void *argp3 = 0 ; | |
13070 | int res3 = 0 ; | |
13071 | wxRect temp4 ; | |
13072 | PyObject * obj0 = 0 ; | |
13073 | PyObject * obj1 = 0 ; | |
13074 | PyObject * obj2 = 0 ; | |
13075 | PyObject * obj3 = 0 ; | |
13076 | char * kwnames[] = { | |
13077 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "rect", NULL | |
13078 | }; | |
10044bf1 | 13079 | |
5172800e RD |
13080 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
13081 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13082 | if (!SWIG_IsOK(res1)) { |
5172800e | 13083 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13084 | } |
5172800e RD |
13085 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13086 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13087 | if (!SWIG_IsOK(res2)) { | |
13088 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13089 | } | |
13090 | if (!argp2) { | |
13091 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13092 | } | |
13093 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13094 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13095 | if (!SWIG_IsOK(res3)) { | |
13096 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13097 | } | |
13098 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13099 | { | |
13100 | arg4 = &temp4; | |
13101 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13102 | } | |
13103 | { | |
13104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13105 | (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4); | |
13106 | wxPyEndAllowThreads(__tstate); | |
13107 | if (PyErr_Occurred()) SWIG_fail; | |
13108 | } | |
13109 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
13110 | return resultobj; |
13111 | fail: | |
13112 | return NULL; | |
13113 | } | |
13114 | ||
13115 | ||
5172800e | 13116 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13117 | PyObject *resultobj = 0; |
5172800e RD |
13118 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13119 | wxDC *arg2 = 0 ; | |
13120 | wxWindow *arg3 = (wxWindow *) 0 ; | |
d754c85e RD |
13121 | wxAuiNotebookPage *arg4 = 0 ; |
13122 | wxRect *arg5 = 0 ; | |
13123 | int arg6 ; | |
13124 | wxRect *arg7 = (wxRect *) 0 ; | |
13125 | wxRect *arg8 = (wxRect *) 0 ; | |
13126 | int *arg9 = (int *) 0 ; | |
10044bf1 RD |
13127 | void *argp1 = 0 ; |
13128 | int res1 = 0 ; | |
5172800e RD |
13129 | void *argp2 = 0 ; |
13130 | int res2 = 0 ; | |
13131 | void *argp3 = 0 ; | |
13132 | int res3 = 0 ; | |
d754c85e RD |
13133 | void *argp4 = 0 ; |
13134 | int res4 = 0 ; | |
13135 | wxRect temp5 ; | |
13136 | int val6 ; | |
13137 | int ecode6 = 0 ; | |
13138 | void *argp7 = 0 ; | |
13139 | int res7 = 0 ; | |
13140 | void *argp8 = 0 ; | |
13141 | int res8 = 0 ; | |
5172800e RD |
13142 | void *argp9 = 0 ; |
13143 | int res9 = 0 ; | |
5172800e RD |
13144 | PyObject * obj0 = 0 ; |
13145 | PyObject * obj1 = 0 ; | |
13146 | PyObject * obj2 = 0 ; | |
13147 | PyObject * obj3 = 0 ; | |
13148 | PyObject * obj4 = 0 ; | |
13149 | PyObject * obj5 = 0 ; | |
13150 | PyObject * obj6 = 0 ; | |
13151 | PyObject * obj7 = 0 ; | |
13152 | PyObject * obj8 = 0 ; | |
5172800e | 13153 | char * kwnames[] = { |
d754c85e | 13154 | (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 | 13155 | }; |
10044bf1 | 13156 | |
d754c85e | 13157 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; |
5172800e | 13158 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13159 | if (!SWIG_IsOK(res1)) { |
5172800e | 13160 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13161 | } |
5172800e RD |
13162 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13163 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13164 | if (!SWIG_IsOK(res2)) { | |
13165 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13166 | } | |
13167 | if (!argp2) { | |
13168 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13169 | } | |
13170 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13171 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13172 | if (!SWIG_IsOK(res3)) { | |
13173 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13174 | } | |
13175 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
d754c85e RD |
13176 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); |
13177 | if (!SWIG_IsOK(res4)) { | |
13178 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); | |
5172800e | 13179 | } |
d754c85e RD |
13180 | if (!argp4) { |
13181 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); | |
5172800e | 13182 | } |
d754c85e RD |
13183 | arg4 = reinterpret_cast< wxAuiNotebookPage * >(argp4); |
13184 | { | |
13185 | arg5 = &temp5; | |
13186 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
5172800e | 13187 | } |
d754c85e RD |
13188 | ecode6 = SWIG_AsVal_int(obj5, &val6); |
13189 | if (!SWIG_IsOK(ecode6)) { | |
13190 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "int""'"); | |
5172800e | 13191 | } |
d754c85e RD |
13192 | arg6 = static_cast< int >(val6); |
13193 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13194 | if (!SWIG_IsOK(res7)) { | |
13195 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "wxRect *""'"); | |
5172800e | 13196 | } |
d754c85e RD |
13197 | arg7 = reinterpret_cast< wxRect * >(argp7); |
13198 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13199 | if (!SWIG_IsOK(res8)) { | |
13200 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "wxRect *""'"); | |
5172800e | 13201 | } |
d754c85e RD |
13202 | arg8 = reinterpret_cast< wxRect * >(argp8); |
13203 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_int, 0 | 0 ); | |
13204 | if (!SWIG_IsOK(res9)) { | |
13205 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "int *""'"); | |
5172800e | 13206 | } |
d754c85e | 13207 | arg9 = reinterpret_cast< int * >(argp9); |
5172800e RD |
13208 | { |
13209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13210 | (arg1)->DrawTab(*arg2,arg3,(wxAuiNotebookPage const &)*arg4,(wxRect const &)*arg5,arg6,arg7,arg8,arg9); |
5172800e RD |
13211 | wxPyEndAllowThreads(__tstate); |
13212 | if (PyErr_Occurred()) SWIG_fail; | |
13213 | } | |
10044bf1 RD |
13214 | resultobj = SWIG_Py_Void(); |
13215 | return resultobj; | |
13216 | fail: | |
13217 | return NULL; | |
13218 | } | |
13219 | ||
13220 | ||
5172800e | 13221 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13222 | PyObject *resultobj = 0; |
5172800e RD |
13223 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13224 | wxDC *arg2 = 0 ; | |
13225 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13226 | wxRect *arg4 = 0 ; | |
13227 | int arg5 ; | |
13228 | int arg6 ; | |
13229 | int arg7 ; | |
d754c85e | 13230 | wxRect *arg8 = (wxRect *) 0 ; |
10044bf1 RD |
13231 | void *argp1 = 0 ; |
13232 | int res1 = 0 ; | |
5172800e RD |
13233 | void *argp2 = 0 ; |
13234 | int res2 = 0 ; | |
13235 | void *argp3 = 0 ; | |
13236 | int res3 = 0 ; | |
13237 | wxRect temp4 ; | |
13238 | int val5 ; | |
13239 | int ecode5 = 0 ; | |
13240 | int val6 ; | |
13241 | int ecode6 = 0 ; | |
13242 | int val7 ; | |
13243 | int ecode7 = 0 ; | |
13244 | void *argp8 = 0 ; | |
13245 | int res8 = 0 ; | |
5172800e RD |
13246 | PyObject * obj0 = 0 ; |
13247 | PyObject * obj1 = 0 ; | |
13248 | PyObject * obj2 = 0 ; | |
13249 | PyObject * obj3 = 0 ; | |
13250 | PyObject * obj4 = 0 ; | |
13251 | PyObject * obj5 = 0 ; | |
13252 | PyObject * obj6 = 0 ; | |
13253 | PyObject * obj7 = 0 ; | |
5172800e | 13254 | char * kwnames[] = { |
d754c85e | 13255 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "out_rect", NULL |
5172800e | 13256 | }; |
10044bf1 | 13257 | |
d754c85e | 13258 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
5172800e | 13259 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13260 | if (!SWIG_IsOK(res1)) { |
5172800e | 13261 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13262 | } |
5172800e RD |
13263 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13264 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13265 | if (!SWIG_IsOK(res2)) { | |
13266 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 | 13267 | } |
5172800e RD |
13268 | if (!argp2) { |
13269 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13270 | } | |
13271 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13272 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13273 | if (!SWIG_IsOK(res3)) { | |
13274 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13275 | } | |
13276 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13277 | { | |
13278 | arg4 = &temp4; | |
13279 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13280 | } | |
13281 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
13282 | if (!SWIG_IsOK(ecode5)) { | |
13283 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); | |
5c8c7dd3 | 13284 | } |
5172800e RD |
13285 | arg5 = static_cast< int >(val5); |
13286 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
13287 | if (!SWIG_IsOK(ecode6)) { | |
13288 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); | |
13289 | } | |
13290 | arg6 = static_cast< int >(val6); | |
13291 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13292 | if (!SWIG_IsOK(ecode7)) { | |
13293 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'"); | |
13294 | } | |
13295 | arg7 = static_cast< int >(val7); | |
d754c85e | 13296 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); |
5172800e | 13297 | if (!SWIG_IsOK(res8)) { |
d754c85e | 13298 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxRect *""'"); |
5172800e | 13299 | } |
d754c85e | 13300 | arg8 = reinterpret_cast< wxRect * >(argp8); |
5172800e RD |
13301 | { |
13302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13303 | (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,arg8); |
5172800e RD |
13304 | wxPyEndAllowThreads(__tstate); |
13305 | if (PyErr_Occurred()) SWIG_fail; | |
13306 | } | |
5c8c7dd3 RD |
13307 | resultobj = SWIG_Py_Void(); |
13308 | return resultobj; | |
13309 | fail: | |
13310 | return NULL; | |
13311 | } | |
13312 | ||
13313 | ||
5172800e | 13314 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13315 | PyObject *resultobj = 0; |
5172800e RD |
13316 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13317 | wxDC *arg2 = 0 ; | |
13318 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13319 | wxString *arg4 = 0 ; | |
13320 | wxBitmap *arg5 = 0 ; | |
13321 | bool arg6 ; | |
13322 | int arg7 ; | |
13323 | int *arg8 = (int *) 0 ; | |
13324 | wxSize result; | |
10044bf1 RD |
13325 | void *argp1 = 0 ; |
13326 | int res1 = 0 ; | |
13327 | void *argp2 = 0 ; | |
13328 | int res2 = 0 ; | |
5172800e RD |
13329 | void *argp3 = 0 ; |
13330 | int res3 = 0 ; | |
13331 | bool temp4 = false ; | |
13332 | void *argp5 = 0 ; | |
13333 | int res5 = 0 ; | |
13334 | bool val6 ; | |
13335 | int ecode6 = 0 ; | |
13336 | int val7 ; | |
13337 | int ecode7 = 0 ; | |
13338 | void *argp8 = 0 ; | |
13339 | int res8 = 0 ; | |
13340 | PyObject * obj0 = 0 ; | |
13341 | PyObject * obj1 = 0 ; | |
13342 | PyObject * obj2 = 0 ; | |
13343 | PyObject * obj3 = 0 ; | |
13344 | PyObject * obj4 = 0 ; | |
13345 | PyObject * obj5 = 0 ; | |
13346 | PyObject * obj6 = 0 ; | |
13347 | PyObject * obj7 = 0 ; | |
13348 | char * kwnames[] = { | |
13349 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL | |
13350 | }; | |
10044bf1 | 13351 | |
5172800e RD |
13352 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
13353 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13354 | if (!SWIG_IsOK(res1)) { |
5172800e | 13355 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13356 | } |
5172800e RD |
13357 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13358 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10044bf1 | 13359 | if (!SWIG_IsOK(res2)) { |
5172800e RD |
13360 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); |
13361 | } | |
13362 | if (!argp2) { | |
13363 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13364 | } | |
13365 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13366 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13367 | if (!SWIG_IsOK(res3)) { | |
13368 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13369 | } | |
13370 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13371 | { | |
13372 | arg4 = wxString_in_helper(obj3); | |
13373 | if (arg4 == NULL) SWIG_fail; | |
13374 | temp4 = true; | |
13375 | } | |
13376 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13377 | if (!SWIG_IsOK(res5)) { | |
13378 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13379 | } | |
13380 | if (!argp5) { | |
13381 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13382 | } | |
13383 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
13384 | ecode6 = SWIG_AsVal_bool(obj5, &val6); | |
13385 | if (!SWIG_IsOK(ecode6)) { | |
13386 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "bool""'"); | |
13387 | } | |
13388 | arg6 = static_cast< bool >(val6); | |
13389 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13390 | if (!SWIG_IsOK(ecode7)) { | |
13391 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int""'"); | |
13392 | } | |
13393 | arg7 = static_cast< int >(val7); | |
13394 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_int, 0 | 0 ); | |
13395 | if (!SWIG_IsOK(res8)) { | |
13396 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "8"" of type '" "int *""'"); | |
13397 | } | |
13398 | arg8 = reinterpret_cast< int * >(argp8); | |
13399 | { | |
13400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13401 | result = (arg1)->GetTabSize(*arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,arg6,arg7,arg8); | |
13402 | wxPyEndAllowThreads(__tstate); | |
13403 | if (PyErr_Occurred()) SWIG_fail; | |
13404 | } | |
13405 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); | |
13406 | { | |
13407 | if (temp4) | |
13408 | delete arg4; | |
10044bf1 | 13409 | } |
10044bf1 RD |
13410 | return resultobj; |
13411 | fail: | |
5172800e RD |
13412 | { |
13413 | if (temp4) | |
13414 | delete arg4; | |
13415 | } | |
10044bf1 RD |
13416 | return NULL; |
13417 | } | |
13418 | ||
13419 | ||
d754c85e | 13420 | SWIGINTERN PyObject *_wrap_AuiTabArt_ShowDropDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13421 | PyObject *resultobj = 0; |
5172800e RD |
13422 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13423 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d754c85e | 13424 | wxAuiNotebookPageArray *arg3 = 0 ; |
5172800e RD |
13425 | int arg4 ; |
13426 | int result; | |
10044bf1 RD |
13427 | void *argp1 = 0 ; |
13428 | int res1 = 0 ; | |
5172800e RD |
13429 | void *argp2 = 0 ; |
13430 | int res2 = 0 ; | |
d754c85e RD |
13431 | void *argp3 = 0 ; |
13432 | int res3 = 0 ; | |
5172800e RD |
13433 | int val4 ; |
13434 | int ecode4 = 0 ; | |
13435 | PyObject * obj0 = 0 ; | |
13436 | PyObject * obj1 = 0 ; | |
13437 | PyObject * obj2 = 0 ; | |
13438 | PyObject * obj3 = 0 ; | |
13439 | char * kwnames[] = { | |
13440 | (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL | |
13441 | }; | |
10044bf1 | 13442 | |
d754c85e | 13443 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowDropDown",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13444 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13445 | if (!SWIG_IsOK(res1)) { |
d754c85e | 13446 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5172800e RD |
13447 | } |
13448 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13449 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13450 | if (!SWIG_IsOK(res2)) { | |
d754c85e | 13451 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "2"" of type '" "wxWindow *""'"); |
5172800e RD |
13452 | } |
13453 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
d754c85e RD |
13454 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); |
13455 | if (!SWIG_IsOK(res3)) { | |
13456 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); | |
13457 | } | |
13458 | if (!argp3) { | |
13459 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); | |
5172800e | 13460 | } |
d754c85e | 13461 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); |
5172800e RD |
13462 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
13463 | if (!SWIG_IsOK(ecode4)) { | |
d754c85e | 13464 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "4"" of type '" "int""'"); |
5172800e RD |
13465 | } |
13466 | arg4 = static_cast< int >(val4); | |
13467 | { | |
13468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13469 | result = (int)(arg1)->ShowDropDown(arg2,(wxAuiNotebookPageArray const &)*arg3,arg4); |
5172800e RD |
13470 | wxPyEndAllowThreads(__tstate); |
13471 | if (PyErr_Occurred()) SWIG_fail; | |
13472 | } | |
13473 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
13474 | return resultobj; |
13475 | fail: | |
d754c85e RD |
13476 | return NULL; |
13477 | } | |
13478 | ||
13479 | ||
13480 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13481 | PyObject *resultobj = 0; | |
13482 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
13483 | int result; | |
13484 | void *argp1 = 0 ; | |
13485 | int res1 = 0 ; | |
13486 | PyObject *swig_obj[1] ; | |
13487 | ||
13488 | if (!args) SWIG_fail; | |
13489 | swig_obj[0] = args; | |
13490 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13491 | if (!SWIG_IsOK(res1)) { | |
13492 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
13493 | } | |
13494 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
5172800e | 13495 | { |
d754c85e RD |
13496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13497 | result = (int)(arg1)->GetIndentSize(); | |
13498 | wxPyEndAllowThreads(__tstate); | |
13499 | if (PyErr_Occurred()) SWIG_fail; | |
5172800e | 13500 | } |
d754c85e RD |
13501 | resultobj = SWIG_From_int(static_cast< int >(result)); |
13502 | return resultobj; | |
13503 | fail: | |
10044bf1 RD |
13504 | return NULL; |
13505 | } | |
13506 | ||
13507 | ||
5172800e | 13508 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 13509 | PyObject *resultobj = 0; |
5172800e RD |
13510 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13511 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13512 | wxAuiNotebookPageArray *arg3 = 0 ; | |
8287c33f | 13513 | wxSize *arg4 = 0 ; |
5172800e | 13514 | int result; |
8f514ab4 RD |
13515 | void *argp1 = 0 ; |
13516 | int res1 = 0 ; | |
13517 | void *argp2 = 0 ; | |
13518 | int res2 = 0 ; | |
5172800e RD |
13519 | void *argp3 = 0 ; |
13520 | int res3 = 0 ; | |
8287c33f | 13521 | wxSize temp4 ; |
5172800e RD |
13522 | PyObject * obj0 = 0 ; |
13523 | PyObject * obj1 = 0 ; | |
13524 | PyObject * obj2 = 0 ; | |
8287c33f | 13525 | PyObject * obj3 = 0 ; |
5172800e | 13526 | char * kwnames[] = { |
8287c33f | 13527 | (char *) "self",(char *) "wnd",(char *) "pages",(char *) "required_bmp_size", NULL |
5172800e | 13528 | }; |
8f514ab4 | 13529 | |
8287c33f | 13530 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13531 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
8f514ab4 | 13532 | if (!SWIG_IsOK(res1)) { |
5172800e | 13533 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 13534 | } |
5172800e RD |
13535 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13536 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8f514ab4 | 13537 | if (!SWIG_IsOK(res2)) { |
5172800e | 13538 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); |
8f514ab4 | 13539 | } |
5172800e | 13540 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
d754c85e | 13541 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); |
5172800e | 13542 | if (!SWIG_IsOK(res3)) { |
d754c85e | 13543 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); |
5172800e RD |
13544 | } |
13545 | if (!argp3) { | |
d754c85e | 13546 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); |
5172800e RD |
13547 | } |
13548 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); | |
8287c33f RD |
13549 | { |
13550 | arg4 = &temp4; | |
13551 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13552 | } | |
5172800e RD |
13553 | { |
13554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13555 | result = (int)(arg1)->GetBestTabCtrlSize(arg2,(wxAuiNotebookPageArray const &)*arg3,(wxSize const &)*arg4); |
5172800e RD |
13556 | wxPyEndAllowThreads(__tstate); |
13557 | if (PyErr_Occurred()) SWIG_fail; | |
13558 | } | |
13559 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13560 | return resultobj; | |
13561 | fail: | |
13562 | return NULL; | |
13563 | } | |
13564 | ||
13565 | ||
13566 | SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13567 | PyObject *obj; | |
13568 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13569 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj)); | |
13570 | return SWIG_Py_Void(); | |
13571 | } | |
13572 | ||
13573 | SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13574 | PyObject *resultobj = 0; | |
13575 | wxAuiDefaultTabArt *result = 0 ; | |
8f514ab4 | 13576 | |
5172800e RD |
13577 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail; |
13578 | { | |
13579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13580 | result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt(); | |
13581 | wxPyEndAllowThreads(__tstate); | |
13582 | if (PyErr_Occurred()) SWIG_fail; | |
13583 | } | |
13584 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 ); | |
8f514ab4 RD |
13585 | return resultobj; |
13586 | fail: | |
13587 | return NULL; | |
13588 | } | |
13589 | ||
13590 | ||
5172800e | 13591 | SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 13592 | PyObject *resultobj = 0; |
5172800e | 13593 | wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ; |
8f514ab4 RD |
13594 | void *argp1 = 0 ; |
13595 | int res1 = 0 ; | |
13596 | PyObject *swig_obj[1] ; | |
13597 | ||
13598 | if (!args) SWIG_fail; | |
13599 | swig_obj[0] = args; | |
5172800e | 13600 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 ); |
8f514ab4 | 13601 | if (!SWIG_IsOK(res1)) { |
5172800e | 13602 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'"); |
8f514ab4 | 13603 | } |
5172800e RD |
13604 | arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1); |
13605 | { | |
13606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13607 | delete arg1; | |
13608 | ||
13609 | wxPyEndAllowThreads(__tstate); | |
13610 | if (PyErr_Occurred()) SWIG_fail; | |
13611 | } | |
13612 | resultobj = SWIG_Py_Void(); | |
8f514ab4 RD |
13613 | return resultobj; |
13614 | fail: | |
13615 | return NULL; | |
13616 | } | |
13617 | ||
13618 | ||
5172800e RD |
13619 | SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13620 | PyObject *obj; | |
13621 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13622 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj)); | |
13623 | return SWIG_Py_Void(); | |
13624 | } | |
13625 | ||
13626 | SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13627 | return SWIG_Python_InitShadowInstance(args); | |
13628 | } | |
13629 | ||
13630 | SWIGINTERN PyObject *_wrap_new_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 13631 | PyObject *resultobj = 0; |
5172800e | 13632 | wxAuiSimpleTabArt *result = 0 ; |
10044bf1 | 13633 | |
5172800e RD |
13634 | if (!SWIG_Python_UnpackTuple(args,"new_AuiSimpleTabArt",0,0,0)) SWIG_fail; |
13635 | { | |
13636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13637 | result = (wxAuiSimpleTabArt *)new wxAuiSimpleTabArt(); | |
13638 | wxPyEndAllowThreads(__tstate); | |
13639 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13640 | } |
5172800e | 13641 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_NEW | 0 ); |
10044bf1 RD |
13642 | return resultobj; |
13643 | fail: | |
13644 | return NULL; | |
13645 | } | |
13646 | ||
13647 | ||
5172800e | 13648 | SWIGINTERN PyObject *_wrap_delete_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 13649 | PyObject *resultobj = 0; |
5172800e | 13650 | wxAuiSimpleTabArt *arg1 = (wxAuiSimpleTabArt *) 0 ; |
10044bf1 RD |
13651 | void *argp1 = 0 ; |
13652 | int res1 = 0 ; | |
13653 | PyObject *swig_obj[1] ; | |
13654 | ||
13655 | if (!args) SWIG_fail; | |
13656 | swig_obj[0] = args; | |
5172800e | 13657 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_DISOWN | 0 ); |
10044bf1 | 13658 | if (!SWIG_IsOK(res1)) { |
5172800e | 13659 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiSimpleTabArt" "', expected argument " "1"" of type '" "wxAuiSimpleTabArt *""'"); |
10044bf1 | 13660 | } |
5172800e RD |
13661 | arg1 = reinterpret_cast< wxAuiSimpleTabArt * >(argp1); |
13662 | { | |
13663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13664 | delete arg1; | |
13665 | ||
13666 | wxPyEndAllowThreads(__tstate); | |
13667 | if (PyErr_Occurred()) SWIG_fail; | |
13668 | } | |
13669 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
13670 | return resultobj; |
13671 | fail: | |
13672 | return NULL; | |
13673 | } | |
13674 | ||
13675 | ||
5172800e | 13676 | SWIGINTERN PyObject *AuiSimpleTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
13677 | PyObject *obj; |
13678 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5172800e | 13679 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_NewClientData(obj)); |
10044bf1 RD |
13680 | return SWIG_Py_Void(); |
13681 | } | |
13682 | ||
5172800e RD |
13683 | SWIGINTERN PyObject *AuiSimpleTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13684 | return SWIG_Python_InitShadowInstance(args); | |
13685 | } | |
13686 | ||
10044bf1 RD |
13687 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13688 | PyObject *resultobj = 0; | |
13689 | wxAuiTabContainer *result = 0 ; | |
13690 | ||
13691 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
13692 | { | |
13693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13694 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
13695 | wxPyEndAllowThreads(__tstate); | |
13696 | if (PyErr_Occurred()) SWIG_fail; | |
13697 | } | |
13698 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
13699 | return resultobj; | |
13700 | fail: | |
13701 | return NULL; | |
13702 | } | |
13703 | ||
13704 | ||
13705 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13706 | PyObject *resultobj = 0; | |
13707 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13708 | void *argp1 = 0 ; | |
13709 | int res1 = 0 ; | |
13710 | PyObject *swig_obj[1] ; | |
13711 | ||
13712 | if (!args) SWIG_fail; | |
13713 | swig_obj[0] = args; | |
13714 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
13715 | if (!SWIG_IsOK(res1)) { | |
13716 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13717 | } | |
13718 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13719 | { | |
13720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13721 | delete arg1; | |
13722 | ||
13723 | wxPyEndAllowThreads(__tstate); | |
13724 | if (PyErr_Occurred()) SWIG_fail; | |
13725 | } | |
13726 | resultobj = SWIG_Py_Void(); | |
13727 | return resultobj; | |
13728 | fail: | |
13729 | return NULL; | |
13730 | } | |
13731 | ||
13732 | ||
5c8c7dd3 RD |
13733 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13734 | PyObject *resultobj = 0; | |
13735 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13736 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
13737 | void *argp1 = 0 ; |
13738 | int res1 = 0 ; | |
13739 | void *argp2 = 0 ; | |
13740 | int res2 = 0 ; | |
13741 | PyObject * obj0 = 0 ; | |
13742 | PyObject * obj1 = 0 ; | |
13743 | char * kwnames[] = { | |
13744 | (char *) "self",(char *) "art", NULL | |
13745 | }; | |
13746 | ||
13747 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
13748 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13749 | if (!SWIG_IsOK(res1)) { | |
13750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13751 | } | |
13752 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
5eb8189c | 13753 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 13754 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 13755 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 13756 | } |
5eb8189c | 13757 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
13758 | { |
13759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13760 | (arg1)->SetArtProvider(arg2); | |
13761 | wxPyEndAllowThreads(__tstate); | |
13762 | if (PyErr_Occurred()) SWIG_fail; | |
13763 | } | |
13764 | resultobj = SWIG_Py_Void(); | |
13765 | return resultobj; | |
13766 | fail: | |
13767 | return NULL; | |
13768 | } | |
13769 | ||
13770 | ||
13771 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13772 | PyObject *resultobj = 0; | |
13773 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13774 | wxAuiTabArt *result = 0 ; |
5c8c7dd3 RD |
13775 | void *argp1 = 0 ; |
13776 | int res1 = 0 ; | |
13777 | PyObject *swig_obj[1] ; | |
13778 | ||
13779 | if (!args) SWIG_fail; | |
13780 | swig_obj[0] = args; | |
13781 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13782 | if (!SWIG_IsOK(res1)) { | |
5172800e | 13783 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); |
5c8c7dd3 RD |
13784 | } |
13785 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13786 | { | |
13787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 13788 | result = (wxAuiTabArt *)((wxAuiTabContainer const *)arg1)->GetArtProvider(); |
5eb8189c RD |
13789 | wxPyEndAllowThreads(__tstate); |
13790 | if (PyErr_Occurred()) SWIG_fail; | |
13791 | } | |
13792 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13793 | return resultobj; | |
13794 | fail: | |
13795 | return NULL; | |
13796 | } | |
13797 | ||
13798 | ||
13799 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13800 | PyObject *resultobj = 0; | |
13801 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13802 | int arg2 ; | |
13803 | void *argp1 = 0 ; | |
13804 | int res1 = 0 ; | |
13805 | int val2 ; | |
13806 | int ecode2 = 0 ; | |
13807 | PyObject * obj0 = 0 ; | |
13808 | PyObject * obj1 = 0 ; | |
13809 | char * kwnames[] = { | |
13810 | (char *) "self",(char *) "flags", NULL | |
13811 | }; | |
13812 | ||
13813 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
13814 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13815 | if (!SWIG_IsOK(res1)) { | |
13816 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13817 | } | |
13818 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13819 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13820 | if (!SWIG_IsOK(ecode2)) { | |
13821 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
13822 | } | |
13823 | arg2 = static_cast< int >(val2); | |
13824 | { | |
13825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13826 | (arg1)->SetFlags(arg2); | |
5c8c7dd3 RD |
13827 | wxPyEndAllowThreads(__tstate); |
13828 | if (PyErr_Occurred()) SWIG_fail; | |
13829 | } | |
5eb8189c RD |
13830 | resultobj = SWIG_Py_Void(); |
13831 | return resultobj; | |
13832 | fail: | |
13833 | return NULL; | |
13834 | } | |
13835 | ||
13836 | ||
13837 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13838 | PyObject *resultobj = 0; | |
13839 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13840 | int result; | |
13841 | void *argp1 = 0 ; | |
13842 | int res1 = 0 ; | |
13843 | PyObject *swig_obj[1] ; | |
13844 | ||
13845 | if (!args) SWIG_fail; | |
13846 | swig_obj[0] = args; | |
13847 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13848 | if (!SWIG_IsOK(res1)) { | |
13849 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13850 | } | |
13851 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13852 | { | |
13853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13854 | result = (int)((wxAuiTabContainer const *)arg1)->GetFlags(); | |
13855 | wxPyEndAllowThreads(__tstate); | |
13856 | if (PyErr_Occurred()) SWIG_fail; | |
13857 | } | |
13858 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5c8c7dd3 RD |
13859 | return resultobj; |
13860 | fail: | |
13861 | return NULL; | |
13862 | } | |
13863 | ||
13864 | ||
10044bf1 RD |
13865 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13866 | PyObject *resultobj = 0; | |
13867 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13868 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13869 | wxAuiNotebookPage *arg3 = 0 ; | |
13870 | bool result; | |
13871 | void *argp1 = 0 ; | |
13872 | int res1 = 0 ; | |
13873 | void *argp2 = 0 ; | |
13874 | int res2 = 0 ; | |
13875 | void *argp3 = 0 ; | |
13876 | int res3 = 0 ; | |
13877 | PyObject * obj0 = 0 ; | |
13878 | PyObject * obj1 = 0 ; | |
13879 | PyObject * obj2 = 0 ; | |
13880 | char * kwnames[] = { | |
13881 | (char *) "self",(char *) "page",(char *) "info", NULL | |
13882 | }; | |
13883 | ||
13884 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13885 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13886 | if (!SWIG_IsOK(res1)) { | |
13887 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13888 | } | |
13889 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13890 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13891 | if (!SWIG_IsOK(res2)) { | |
13892 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13893 | } | |
13894 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13895 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13896 | if (!SWIG_IsOK(res3)) { | |
13897 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13898 | } | |
13899 | if (!argp3) { | |
13900 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13901 | } | |
13902 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13903 | { | |
13904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13905 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
13906 | wxPyEndAllowThreads(__tstate); | |
13907 | if (PyErr_Occurred()) SWIG_fail; | |
13908 | } | |
13909 | { | |
13910 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13911 | } | |
13912 | return resultobj; | |
13913 | fail: | |
13914 | return NULL; | |
13915 | } | |
13916 | ||
13917 | ||
13918 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13919 | PyObject *resultobj = 0; | |
13920 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13921 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13922 | wxAuiNotebookPage *arg3 = 0 ; | |
13923 | size_t arg4 ; | |
13924 | bool result; | |
13925 | void *argp1 = 0 ; | |
13926 | int res1 = 0 ; | |
13927 | void *argp2 = 0 ; | |
13928 | int res2 = 0 ; | |
13929 | void *argp3 = 0 ; | |
13930 | int res3 = 0 ; | |
13931 | size_t val4 ; | |
13932 | int ecode4 = 0 ; | |
13933 | PyObject * obj0 = 0 ; | |
13934 | PyObject * obj1 = 0 ; | |
13935 | PyObject * obj2 = 0 ; | |
13936 | PyObject * obj3 = 0 ; | |
13937 | char * kwnames[] = { | |
13938 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
13939 | }; | |
13940 | ||
13941 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13942 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13943 | if (!SWIG_IsOK(res1)) { | |
13944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13945 | } | |
13946 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13947 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13948 | if (!SWIG_IsOK(res2)) { | |
13949 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13950 | } | |
13951 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13952 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13953 | if (!SWIG_IsOK(res3)) { | |
13954 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13955 | } | |
13956 | if (!argp3) { | |
13957 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13958 | } | |
13959 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13960 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
13961 | if (!SWIG_IsOK(ecode4)) { | |
13962 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
13963 | } | |
13964 | arg4 = static_cast< size_t >(val4); | |
13965 | { | |
13966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13967 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
13968 | wxPyEndAllowThreads(__tstate); | |
13969 | if (PyErr_Occurred()) SWIG_fail; | |
13970 | } | |
13971 | { | |
13972 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13973 | } | |
13974 | return resultobj; | |
13975 | fail: | |
13976 | return NULL; | |
13977 | } | |
13978 | ||
13979 | ||
580080c5 RD |
13980 | SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13981 | PyObject *resultobj = 0; | |
13982 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13983 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13984 | size_t arg3 ; | |
13985 | bool result; | |
13986 | void *argp1 = 0 ; | |
13987 | int res1 = 0 ; | |
13988 | void *argp2 = 0 ; | |
13989 | int res2 = 0 ; | |
13990 | size_t val3 ; | |
13991 | int ecode3 = 0 ; | |
13992 | PyObject * obj0 = 0 ; | |
13993 | PyObject * obj1 = 0 ; | |
13994 | PyObject * obj2 = 0 ; | |
13995 | char * kwnames[] = { | |
13996 | (char *) "self",(char *) "page",(char *) "new_idx", NULL | |
13997 | }; | |
13998 | ||
13999 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14000 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14001 | if (!SWIG_IsOK(res1)) { | |
14002 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14003 | } | |
14004 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14005 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14006 | if (!SWIG_IsOK(res2)) { | |
14007 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14008 | } | |
14009 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14010 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
14011 | if (!SWIG_IsOK(ecode3)) { | |
14012 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'"); | |
14013 | } | |
14014 | arg3 = static_cast< size_t >(val3); | |
14015 | { | |
14016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14017 | result = (bool)(arg1)->MovePage(arg2,arg3); | |
14018 | wxPyEndAllowThreads(__tstate); | |
14019 | if (PyErr_Occurred()) SWIG_fail; | |
14020 | } | |
14021 | { | |
14022 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14023 | } | |
14024 | return resultobj; | |
14025 | fail: | |
14026 | return NULL; | |
14027 | } | |
14028 | ||
14029 | ||
10044bf1 RD |
14030 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14031 | PyObject *resultobj = 0; | |
14032 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14033 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14034 | bool result; | |
14035 | void *argp1 = 0 ; | |
14036 | int res1 = 0 ; | |
14037 | void *argp2 = 0 ; | |
14038 | int res2 = 0 ; | |
14039 | PyObject * obj0 = 0 ; | |
14040 | PyObject * obj1 = 0 ; | |
14041 | char * kwnames[] = { | |
14042 | (char *) "self",(char *) "page", NULL | |
14043 | }; | |
14044 | ||
14045 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
14046 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14047 | if (!SWIG_IsOK(res1)) { | |
14048 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14049 | } | |
14050 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14051 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14052 | if (!SWIG_IsOK(res2)) { | |
14053 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14054 | } | |
14055 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14056 | { | |
14057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14058 | result = (bool)(arg1)->RemovePage(arg2); | |
14059 | wxPyEndAllowThreads(__tstate); | |
14060 | if (PyErr_Occurred()) SWIG_fail; | |
14061 | } | |
14062 | { | |
14063 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14064 | } | |
14065 | return resultobj; | |
14066 | fail: | |
14067 | return NULL; | |
14068 | } | |
14069 | ||
14070 | ||
14071 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
14072 | PyObject *resultobj = 0; | |
14073 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14074 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14075 | bool result; | |
14076 | void *argp1 = 0 ; | |
14077 | int res1 = 0 ; | |
14078 | void *argp2 = 0 ; | |
14079 | int res2 = 0 ; | |
14080 | ||
14081 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
14082 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14083 | if (!SWIG_IsOK(res1)) { | |
14084 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14085 | } | |
14086 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14087 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14088 | if (!SWIG_IsOK(res2)) { | |
14089 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14090 | } | |
14091 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14092 | { | |
14093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14094 | result = (bool)(arg1)->SetActivePage(arg2); | |
14095 | wxPyEndAllowThreads(__tstate); | |
14096 | if (PyErr_Occurred()) SWIG_fail; | |
14097 | } | |
14098 | { | |
14099 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14100 | } | |
14101 | return resultobj; | |
14102 | fail: | |
14103 | return NULL; | |
14104 | } | |
14105 | ||
14106 | ||
14107 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
14108 | PyObject *resultobj = 0; | |
14109 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14110 | size_t arg2 ; | |
14111 | bool result; | |
14112 | void *argp1 = 0 ; | |
14113 | int res1 = 0 ; | |
14114 | size_t val2 ; | |
14115 | int ecode2 = 0 ; | |
14116 | ||
14117 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
14118 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14119 | if (!SWIG_IsOK(res1)) { | |
14120 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14121 | } | |
14122 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14123 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
14124 | if (!SWIG_IsOK(ecode2)) { | |
14125 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
14126 | } | |
14127 | arg2 = static_cast< size_t >(val2); | |
14128 | { | |
14129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14130 | result = (bool)(arg1)->SetActivePage(arg2); | |
14131 | wxPyEndAllowThreads(__tstate); | |
14132 | if (PyErr_Occurred()) SWIG_fail; | |
14133 | } | |
14134 | { | |
14135 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14136 | } | |
14137 | return resultobj; | |
14138 | fail: | |
14139 | return NULL; | |
14140 | } | |
14141 | ||
14142 | ||
14143 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
14144 | int argc; | |
14145 | PyObject *argv[3]; | |
14146 | ||
14147 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
14148 | --argc; | |
14149 | if (argc == 2) { | |
14150 | int _v = 0; | |
14151 | { | |
14152 | void *vptr = 0; | |
14153 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
14154 | _v = SWIG_CheckState(res); | |
14155 | } | |
14156 | if (!_v) goto check_1; | |
14157 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
14158 | } | |
14159 | check_1: | |
14160 | ||
14161 | if (argc == 2) { | |
14162 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
14163 | } | |
14164 | ||
14165 | fail: | |
14166 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
14167 | return NULL; | |
14168 | } | |
14169 | ||
14170 | ||
14171 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14172 | PyObject *resultobj = 0; | |
14173 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14174 | void *argp1 = 0 ; | |
14175 | int res1 = 0 ; | |
14176 | PyObject *swig_obj[1] ; | |
14177 | ||
14178 | if (!args) SWIG_fail; | |
14179 | swig_obj[0] = args; | |
14180 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14181 | if (!SWIG_IsOK(res1)) { | |
14182 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14183 | } | |
14184 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14185 | { | |
14186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14187 | (arg1)->SetNoneActive(); | |
14188 | wxPyEndAllowThreads(__tstate); | |
14189 | if (PyErr_Occurred()) SWIG_fail; | |
14190 | } | |
14191 | resultobj = SWIG_Py_Void(); | |
14192 | return resultobj; | |
14193 | fail: | |
14194 | return NULL; | |
14195 | } | |
14196 | ||
14197 | ||
14198 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14199 | PyObject *resultobj = 0; | |
14200 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14201 | int result; | |
14202 | void *argp1 = 0 ; | |
14203 | int res1 = 0 ; | |
14204 | PyObject *swig_obj[1] ; | |
14205 | ||
14206 | if (!args) SWIG_fail; | |
14207 | swig_obj[0] = args; | |
14208 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14209 | if (!SWIG_IsOK(res1)) { | |
14210 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14211 | } | |
14212 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14213 | { | |
14214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14215 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
14216 | wxPyEndAllowThreads(__tstate); | |
14217 | if (PyErr_Occurred()) SWIG_fail; | |
14218 | } | |
14219 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14220 | return resultobj; | |
14221 | fail: | |
14222 | return NULL; | |
14223 | } | |
14224 | ||
14225 | ||
14226 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14227 | PyObject *resultobj = 0; | |
14228 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14229 | int arg2 ; | |
14230 | int arg3 ; | |
14231 | wxWindow **arg4 = (wxWindow **) 0 ; | |
14232 | bool result; | |
14233 | void *argp1 = 0 ; | |
14234 | int res1 = 0 ; | |
14235 | int val2 ; | |
14236 | int ecode2 = 0 ; | |
14237 | int val3 ; | |
14238 | int ecode3 = 0 ; | |
14239 | void *argp4 = 0 ; | |
14240 | int res4 = 0 ; | |
14241 | PyObject * obj0 = 0 ; | |
14242 | PyObject * obj1 = 0 ; | |
14243 | PyObject * obj2 = 0 ; | |
14244 | PyObject * obj3 = 0 ; | |
14245 | char * kwnames[] = { | |
14246 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14247 | }; | |
14248 | ||
14249 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14250 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14251 | if (!SWIG_IsOK(res1)) { | |
14252 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14253 | } | |
14254 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14255 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14256 | if (!SWIG_IsOK(ecode2)) { | |
14257 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14258 | } | |
14259 | arg2 = static_cast< int >(val2); | |
14260 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14261 | if (!SWIG_IsOK(ecode3)) { | |
14262 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14263 | } | |
14264 | arg3 = static_cast< int >(val3); | |
14265 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
14266 | if (!SWIG_IsOK(res4)) { | |
14267 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
14268 | } | |
14269 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
14270 | { | |
14271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14272 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
14273 | wxPyEndAllowThreads(__tstate); | |
14274 | if (PyErr_Occurred()) SWIG_fail; | |
14275 | } | |
14276 | { | |
14277 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14278 | } | |
14279 | return resultobj; | |
14280 | fail: | |
14281 | return NULL; | |
14282 | } | |
14283 | ||
14284 | ||
14285 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14286 | PyObject *resultobj = 0; | |
14287 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14288 | int arg2 ; | |
14289 | int arg3 ; | |
14290 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
14291 | bool result; | |
14292 | void *argp1 = 0 ; | |
14293 | int res1 = 0 ; | |
14294 | int val2 ; | |
14295 | int ecode2 = 0 ; | |
14296 | int val3 ; | |
14297 | int ecode3 = 0 ; | |
14298 | void *argp4 = 0 ; | |
14299 | int res4 = 0 ; | |
14300 | PyObject * obj0 = 0 ; | |
14301 | PyObject * obj1 = 0 ; | |
14302 | PyObject * obj2 = 0 ; | |
14303 | PyObject * obj3 = 0 ; | |
14304 | char * kwnames[] = { | |
14305 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14306 | }; | |
14307 | ||
14308 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14309 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14310 | if (!SWIG_IsOK(res1)) { | |
14311 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14312 | } | |
14313 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14314 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14315 | if (!SWIG_IsOK(ecode2)) { | |
14316 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14317 | } | |
14318 | arg2 = static_cast< int >(val2); | |
14319 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14320 | if (!SWIG_IsOK(ecode3)) { | |
14321 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14322 | } | |
14323 | arg3 = static_cast< int >(val3); | |
14324 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
14325 | if (!SWIG_IsOK(res4)) { | |
14326 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
14327 | } | |
14328 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
14329 | { | |
14330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14331 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
14332 | wxPyEndAllowThreads(__tstate); | |
14333 | if (PyErr_Occurred()) SWIG_fail; | |
14334 | } | |
14335 | { | |
14336 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14337 | } | |
14338 | return resultobj; | |
14339 | fail: | |
14340 | return NULL; | |
14341 | } | |
14342 | ||
14343 | ||
14344 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14345 | PyObject *resultobj = 0; | |
14346 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14347 | size_t arg2 ; | |
14348 | wxWindow *result = 0 ; | |
14349 | void *argp1 = 0 ; | |
14350 | int res1 = 0 ; | |
14351 | size_t val2 ; | |
14352 | int ecode2 = 0 ; | |
14353 | PyObject * obj0 = 0 ; | |
14354 | PyObject * obj1 = 0 ; | |
14355 | char * kwnames[] = { | |
14356 | (char *) "self",(char *) "idx", NULL | |
14357 | }; | |
14358 | ||
14359 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
14360 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14361 | if (!SWIG_IsOK(res1)) { | |
14362 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14363 | } | |
14364 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14365 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14366 | if (!SWIG_IsOK(ecode2)) { | |
14367 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
14368 | } | |
14369 | arg2 = static_cast< size_t >(val2); | |
14370 | { | |
14371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14372 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
14373 | wxPyEndAllowThreads(__tstate); | |
14374 | if (PyErr_Occurred()) SWIG_fail; | |
14375 | } | |
14376 | { | |
14377 | resultobj = wxPyMake_wxObject(result, 0); | |
14378 | } | |
14379 | return resultobj; | |
14380 | fail: | |
14381 | return NULL; | |
14382 | } | |
14383 | ||
14384 | ||
14385 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14386 | PyObject *resultobj = 0; | |
14387 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14388 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14389 | int result; | |
14390 | void *argp1 = 0 ; | |
14391 | int res1 = 0 ; | |
14392 | void *argp2 = 0 ; | |
14393 | int res2 = 0 ; | |
14394 | PyObject * obj0 = 0 ; | |
14395 | PyObject * obj1 = 0 ; | |
14396 | char * kwnames[] = { | |
14397 | (char *) "self",(char *) "page", NULL | |
14398 | }; | |
14399 | ||
14400 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
14401 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14402 | if (!SWIG_IsOK(res1)) { | |
14403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14404 | } | |
14405 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14406 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14407 | if (!SWIG_IsOK(res2)) { | |
14408 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14409 | } | |
14410 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14411 | { | |
14412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14413 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
14414 | wxPyEndAllowThreads(__tstate); | |
14415 | if (PyErr_Occurred()) SWIG_fail; | |
14416 | } | |
14417 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14418 | return resultobj; | |
14419 | fail: | |
14420 | return NULL; | |
14421 | } | |
14422 | ||
14423 | ||
14424 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14425 | PyObject *resultobj = 0; | |
14426 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14427 | size_t result; | |
14428 | void *argp1 = 0 ; | |
14429 | int res1 = 0 ; | |
14430 | PyObject *swig_obj[1] ; | |
14431 | ||
14432 | if (!args) SWIG_fail; | |
14433 | swig_obj[0] = args; | |
14434 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14435 | if (!SWIG_IsOK(res1)) { | |
14436 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14437 | } | |
14438 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14439 | { | |
14440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14441 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
14442 | wxPyEndAllowThreads(__tstate); | |
14443 | if (PyErr_Occurred()) SWIG_fail; | |
14444 | } | |
14445 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14446 | return resultobj; | |
14447 | fail: | |
14448 | return NULL; | |
14449 | } | |
14450 | ||
14451 | ||
d48ae46b | 14452 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
14453 | PyObject *resultobj = 0; |
14454 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14455 | size_t arg2 ; | |
14456 | wxAuiNotebookPage *result = 0 ; | |
14457 | void *argp1 = 0 ; | |
14458 | int res1 = 0 ; | |
14459 | size_t val2 ; | |
14460 | int ecode2 = 0 ; | |
d48ae46b RD |
14461 | PyObject * obj0 = 0 ; |
14462 | PyObject * obj1 = 0 ; | |
14463 | char * kwnames[] = { | |
14464 | (char *) "self",(char *) "idx", NULL | |
14465 | }; | |
10044bf1 | 14466 | |
d48ae46b RD |
14467 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
14468 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
10044bf1 RD |
14469 | if (!SWIG_IsOK(res1)) { |
14470 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14471 | } | |
14472 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
d48ae46b | 14473 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
10044bf1 RD |
14474 | if (!SWIG_IsOK(ecode2)) { |
14475 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
14476 | } | |
14477 | arg2 = static_cast< size_t >(val2); | |
14478 | { | |
14479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14480 | { | |
14481 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
14482 | result = (wxAuiNotebookPage *) &_result_ref; | |
14483 | } | |
14484 | wxPyEndAllowThreads(__tstate); | |
14485 | if (PyErr_Occurred()) SWIG_fail; | |
14486 | } | |
14487 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
14488 | return resultobj; | |
14489 | fail: | |
14490 | return NULL; | |
14491 | } | |
14492 | ||
14493 | ||
14494 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14495 | PyObject *resultobj = 0; | |
14496 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14497 | wxAuiNotebookPageArray *result = 0 ; | |
14498 | void *argp1 = 0 ; | |
14499 | int res1 = 0 ; | |
14500 | PyObject *swig_obj[1] ; | |
14501 | ||
14502 | if (!args) SWIG_fail; | |
14503 | swig_obj[0] = args; | |
14504 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14505 | if (!SWIG_IsOK(res1)) { | |
14506 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14507 | } | |
14508 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14509 | { | |
14510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14511 | { | |
14512 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
14513 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
14514 | } | |
14515 | wxPyEndAllowThreads(__tstate); | |
14516 | if (PyErr_Occurred()) SWIG_fail; | |
14517 | } | |
14518 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
14519 | return resultobj; | |
14520 | fail: | |
14521 | return NULL; | |
14522 | } | |
14523 | ||
14524 | ||
14525 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14526 | PyObject *resultobj = 0; | |
14527 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14528 | wxFont *arg2 = 0 ; | |
14529 | void *argp1 = 0 ; | |
14530 | int res1 = 0 ; | |
14531 | void *argp2 = 0 ; | |
14532 | int res2 = 0 ; | |
14533 | PyObject * obj0 = 0 ; | |
14534 | PyObject * obj1 = 0 ; | |
14535 | char * kwnames[] = { | |
14536 | (char *) "self",(char *) "normal_font", NULL | |
14537 | }; | |
14538 | ||
14539 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14540 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14541 | if (!SWIG_IsOK(res1)) { | |
14542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14543 | } | |
14544 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14545 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14546 | if (!SWIG_IsOK(res2)) { | |
14547 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14548 | } | |
14549 | if (!argp2) { | |
14550 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14551 | } | |
14552 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14553 | { | |
14554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14555 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
14556 | wxPyEndAllowThreads(__tstate); | |
14557 | if (PyErr_Occurred()) SWIG_fail; | |
14558 | } | |
14559 | resultobj = SWIG_Py_Void(); | |
14560 | return resultobj; | |
14561 | fail: | |
14562 | return NULL; | |
14563 | } | |
14564 | ||
14565 | ||
14566 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14567 | PyObject *resultobj = 0; | |
14568 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14569 | wxFont *arg2 = 0 ; | |
14570 | void *argp1 = 0 ; | |
14571 | int res1 = 0 ; | |
14572 | void *argp2 = 0 ; | |
14573 | int res2 = 0 ; | |
14574 | PyObject * obj0 = 0 ; | |
14575 | PyObject * obj1 = 0 ; | |
14576 | char * kwnames[] = { | |
14577 | (char *) "self",(char *) "selected_font", NULL | |
14578 | }; | |
14579 | ||
14580 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14581 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14582 | if (!SWIG_IsOK(res1)) { | |
14583 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14584 | } | |
14585 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14586 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14587 | if (!SWIG_IsOK(res2)) { | |
14588 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14589 | } | |
14590 | if (!argp2) { | |
14591 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14592 | } | |
14593 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14594 | { | |
14595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14596 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
14597 | wxPyEndAllowThreads(__tstate); | |
14598 | if (PyErr_Occurred()) SWIG_fail; | |
14599 | } | |
14600 | resultobj = SWIG_Py_Void(); | |
14601 | return resultobj; | |
14602 | fail: | |
14603 | return NULL; | |
14604 | } | |
14605 | ||
14606 | ||
14607 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14608 | PyObject *resultobj = 0; | |
14609 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14610 | wxFont *arg2 = 0 ; | |
14611 | void *argp1 = 0 ; | |
14612 | int res1 = 0 ; | |
14613 | void *argp2 = 0 ; | |
14614 | int res2 = 0 ; | |
14615 | PyObject * obj0 = 0 ; | |
14616 | PyObject * obj1 = 0 ; | |
14617 | char * kwnames[] = { | |
14618 | (char *) "self",(char *) "measuring_font", NULL | |
14619 | }; | |
14620 | ||
14621 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14622 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14623 | if (!SWIG_IsOK(res1)) { | |
14624 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14625 | } | |
14626 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14627 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14628 | if (!SWIG_IsOK(res2)) { | |
14629 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14630 | } | |
14631 | if (!argp2) { | |
14632 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14633 | } | |
14634 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14635 | { | |
14636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14637 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
14638 | wxPyEndAllowThreads(__tstate); | |
14639 | if (PyErr_Occurred()) SWIG_fail; | |
14640 | } | |
14641 | resultobj = SWIG_Py_Void(); | |
14642 | return resultobj; | |
14643 | fail: | |
14644 | return NULL; | |
14645 | } | |
14646 | ||
14647 | ||
14648 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14649 | PyObject *resultobj = 0; | |
14650 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14651 | void *argp1 = 0 ; | |
14652 | int res1 = 0 ; | |
14653 | PyObject *swig_obj[1] ; | |
14654 | ||
14655 | if (!args) SWIG_fail; | |
14656 | swig_obj[0] = args; | |
14657 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14658 | if (!SWIG_IsOK(res1)) { | |
14659 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14660 | } | |
14661 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14662 | { | |
14663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14664 | (arg1)->DoShowHide(); | |
14665 | wxPyEndAllowThreads(__tstate); | |
14666 | if (PyErr_Occurred()) SWIG_fail; | |
14667 | } | |
14668 | resultobj = SWIG_Py_Void(); | |
14669 | return resultobj; | |
14670 | fail: | |
14671 | return NULL; | |
14672 | } | |
14673 | ||
14674 | ||
14675 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14676 | PyObject *resultobj = 0; | |
14677 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14678 | wxRect *arg2 = 0 ; | |
14679 | void *argp1 = 0 ; | |
14680 | int res1 = 0 ; | |
14681 | wxRect temp2 ; | |
14682 | PyObject * obj0 = 0 ; | |
14683 | PyObject * obj1 = 0 ; | |
14684 | char * kwnames[] = { | |
14685 | (char *) "self",(char *) "rect", NULL | |
14686 | }; | |
14687 | ||
14688 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
14689 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14690 | if (!SWIG_IsOK(res1)) { | |
14691 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14692 | } | |
14693 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14694 | { | |
14695 | arg2 = &temp2; | |
14696 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
14697 | } | |
14698 | { | |
14699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14700 | (arg1)->SetRect((wxRect const &)*arg2); | |
14701 | wxPyEndAllowThreads(__tstate); | |
14702 | if (PyErr_Occurred()) SWIG_fail; | |
14703 | } | |
14704 | resultobj = SWIG_Py_Void(); | |
14705 | return resultobj; | |
14706 | fail: | |
14707 | return NULL; | |
14708 | } | |
14709 | ||
14710 | ||
36cb9ebe RD |
14711 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14712 | PyObject *resultobj = 0; | |
14713 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14714 | int arg2 ; | |
14715 | void *argp1 = 0 ; | |
14716 | int res1 = 0 ; | |
14717 | int val2 ; | |
14718 | int ecode2 = 0 ; | |
14719 | PyObject * obj0 = 0 ; | |
14720 | PyObject * obj1 = 0 ; | |
14721 | char * kwnames[] = { | |
14722 | (char *) "self",(char *) "id", NULL | |
14723 | }; | |
14724 | ||
14725 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
14726 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14727 | if (!SWIG_IsOK(res1)) { | |
14728 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14729 | } | |
14730 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14731 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14732 | if (!SWIG_IsOK(ecode2)) { | |
14733 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'"); | |
14734 | } | |
14735 | arg2 = static_cast< int >(val2); | |
14736 | { | |
14737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14738 | (arg1)->RemoveButton(arg2); | |
14739 | wxPyEndAllowThreads(__tstate); | |
14740 | if (PyErr_Occurred()) SWIG_fail; | |
14741 | } | |
14742 | resultobj = SWIG_Py_Void(); | |
14743 | return resultobj; | |
14744 | fail: | |
14745 | return NULL; | |
14746 | } | |
14747 | ||
14748 | ||
10044bf1 RD |
14749 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14750 | PyObject *resultobj = 0; | |
14751 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14752 | int arg2 ; | |
5c8c7dd3 | 14753 | int arg3 ; |
8f514ab4 RD |
14754 | wxBitmap const &arg4_defvalue = wxNullBitmap ; |
14755 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
14756 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14757 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
10044bf1 RD |
14758 | void *argp1 = 0 ; |
14759 | int res1 = 0 ; | |
14760 | int val2 ; | |
14761 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
14762 | int val3 ; |
14763 | int ecode3 = 0 ; | |
14764 | void *argp4 = 0 ; | |
14765 | int res4 = 0 ; | |
8f514ab4 RD |
14766 | void *argp5 = 0 ; |
14767 | int res5 = 0 ; | |
10044bf1 RD |
14768 | PyObject * obj0 = 0 ; |
14769 | PyObject * obj1 = 0 ; | |
14770 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 14771 | PyObject * obj3 = 0 ; |
8f514ab4 | 14772 | PyObject * obj4 = 0 ; |
10044bf1 | 14773 | char * kwnames[] = { |
8f514ab4 | 14774 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
10044bf1 RD |
14775 | }; |
14776 | ||
8f514ab4 | 14777 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
14778 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); |
14779 | if (!SWIG_IsOK(res1)) { | |
14780 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14781 | } | |
14782 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14783 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14784 | if (!SWIG_IsOK(ecode2)) { | |
14785 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
14786 | } | |
14787 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 RD |
14788 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
14789 | if (!SWIG_IsOK(ecode3)) { | |
14790 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'"); | |
14791 | } | |
14792 | arg3 = static_cast< int >(val3); | |
8f514ab4 RD |
14793 | if (obj3) { |
14794 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14795 | if (!SWIG_IsOK(res4)) { | |
14796 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14797 | } | |
14798 | if (!argp4) { | |
14799 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14800 | } | |
14801 | arg4 = reinterpret_cast< wxBitmap * >(argp4); | |
10044bf1 | 14802 | } |
8f514ab4 RD |
14803 | if (obj4) { |
14804 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14805 | if (!SWIG_IsOK(res5)) { | |
14806 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14807 | } | |
14808 | if (!argp5) { | |
14809 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14810 | } | |
14811 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
10044bf1 | 14812 | } |
10044bf1 RD |
14813 | { |
14814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 RD |
14815 | (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5); |
14816 | wxPyEndAllowThreads(__tstate); | |
14817 | if (PyErr_Occurred()) SWIG_fail; | |
14818 | } | |
14819 | resultobj = SWIG_Py_Void(); | |
14820 | return resultobj; | |
14821 | fail: | |
14822 | return NULL; | |
14823 | } | |
14824 | ||
14825 | ||
14826 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14827 | PyObject *resultobj = 0; | |
14828 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14829 | size_t result; | |
14830 | void *argp1 = 0 ; | |
14831 | int res1 = 0 ; | |
14832 | PyObject *swig_obj[1] ; | |
14833 | ||
14834 | if (!args) SWIG_fail; | |
14835 | swig_obj[0] = args; | |
14836 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14837 | if (!SWIG_IsOK(res1)) { | |
14838 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14839 | } | |
14840 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14841 | { | |
14842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14843 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset(); | |
14844 | wxPyEndAllowThreads(__tstate); | |
14845 | if (PyErr_Occurred()) SWIG_fail; | |
14846 | } | |
14847 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14848 | return resultobj; | |
14849 | fail: | |
14850 | return NULL; | |
14851 | } | |
14852 | ||
14853 | ||
14854 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14855 | PyObject *resultobj = 0; | |
14856 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14857 | size_t arg2 ; | |
14858 | void *argp1 = 0 ; | |
14859 | int res1 = 0 ; | |
14860 | size_t val2 ; | |
14861 | int ecode2 = 0 ; | |
14862 | PyObject * obj0 = 0 ; | |
14863 | PyObject * obj1 = 0 ; | |
14864 | char * kwnames[] = { | |
14865 | (char *) "self",(char *) "offset", NULL | |
14866 | }; | |
14867 | ||
14868 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail; | |
14869 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14870 | if (!SWIG_IsOK(res1)) { | |
14871 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14872 | } | |
14873 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14874 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14875 | if (!SWIG_IsOK(ecode2)) { | |
14876 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'"); | |
14877 | } | |
14878 | arg2 = static_cast< size_t >(val2); | |
14879 | { | |
14880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14881 | (arg1)->SetTabOffset(arg2); | |
10044bf1 RD |
14882 | wxPyEndAllowThreads(__tstate); |
14883 | if (PyErr_Occurred()) SWIG_fail; | |
14884 | } | |
14885 | resultobj = SWIG_Py_Void(); | |
14886 | return resultobj; | |
14887 | fail: | |
14888 | return NULL; | |
14889 | } | |
14890 | ||
14891 | ||
14892 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14893 | PyObject *obj; | |
14894 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14895 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
14896 | return SWIG_Py_Void(); | |
14897 | } | |
14898 | ||
14899 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14900 | return SWIG_Python_InitShadowInstance(args); | |
14901 | } | |
14902 | ||
14903 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14904 | PyObject *resultobj = 0; | |
14905 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14906 | int arg2 = (int) wxID_ANY ; | |
14907 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14908 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14909 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14910 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14911 | long arg5 = (long) 0 ; | |
14912 | wxAuiTabCtrl *result = 0 ; | |
14913 | void *argp1 = 0 ; | |
14914 | int res1 = 0 ; | |
14915 | int val2 ; | |
14916 | int ecode2 = 0 ; | |
14917 | wxPoint temp3 ; | |
14918 | wxSize temp4 ; | |
14919 | long val5 ; | |
14920 | int ecode5 = 0 ; | |
14921 | PyObject * obj0 = 0 ; | |
14922 | PyObject * obj1 = 0 ; | |
14923 | PyObject * obj2 = 0 ; | |
14924 | PyObject * obj3 = 0 ; | |
14925 | PyObject * obj4 = 0 ; | |
14926 | char * kwnames[] = { | |
14927 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14928 | }; | |
14929 | ||
14930 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14931 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14932 | if (!SWIG_IsOK(res1)) { | |
14933 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14934 | } | |
14935 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14936 | if (obj1) { | |
14937 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14938 | if (!SWIG_IsOK(ecode2)) { | |
14939 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
14940 | } | |
14941 | arg2 = static_cast< int >(val2); | |
14942 | } | |
14943 | if (obj2) { | |
14944 | { | |
14945 | arg3 = &temp3; | |
14946 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14947 | } | |
14948 | } | |
14949 | if (obj3) { | |
14950 | { | |
14951 | arg4 = &temp4; | |
14952 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14953 | } | |
14954 | } | |
14955 | if (obj4) { | |
14956 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14957 | if (!SWIG_IsOK(ecode5)) { | |
14958 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
14959 | } | |
14960 | arg5 = static_cast< long >(val5); | |
14961 | } | |
14962 | { | |
14963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14964 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
14965 | wxPyEndAllowThreads(__tstate); | |
14966 | if (PyErr_Occurred()) SWIG_fail; | |
14967 | } | |
14968 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
14969 | return resultobj; | |
14970 | fail: | |
14971 | return NULL; | |
14972 | } | |
14973 | ||
14974 | ||
580080c5 RD |
14975 | SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14976 | PyObject *resultobj = 0; | |
14977 | wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ; | |
14978 | void *argp1 = 0 ; | |
14979 | int res1 = 0 ; | |
14980 | PyObject *swig_obj[1] ; | |
14981 | ||
14982 | if (!args) SWIG_fail; | |
14983 | swig_obj[0] = args; | |
14984 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 ); | |
14985 | if (!SWIG_IsOK(res1)) { | |
14986 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'"); | |
14987 | } | |
14988 | arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1); | |
14989 | { | |
14990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14991 | delete arg1; | |
14992 | ||
14993 | wxPyEndAllowThreads(__tstate); | |
14994 | if (PyErr_Occurred()) SWIG_fail; | |
14995 | } | |
14996 | resultobj = SWIG_Py_Void(); | |
14997 | return resultobj; | |
14998 | fail: | |
14999 | return NULL; | |
15000 | } | |
15001 | ||
15002 | ||
10044bf1 RD |
15003 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15004 | PyObject *obj; | |
15005 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15006 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
15007 | return SWIG_Py_Void(); | |
15008 | } | |
15009 | ||
15010 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15011 | return SWIG_Python_InitShadowInstance(args); | |
15012 | } | |
15013 | ||
5eb8189c | 15014 | SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15015 | PyObject *resultobj = 0; |
5eb8189c | 15016 | wxAuiNotebook *result = 0 ; |
10044bf1 | 15017 | |
5eb8189c | 15018 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail; |
10044bf1 RD |
15019 | { |
15020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15021 | result = (wxAuiNotebook *)new wxAuiNotebook(); |
10044bf1 RD |
15022 | wxPyEndAllowThreads(__tstate); |
15023 | if (PyErr_Occurred()) SWIG_fail; | |
15024 | } | |
5eb8189c | 15025 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 ); |
10044bf1 RD |
15026 | return resultobj; |
15027 | fail: | |
15028 | return NULL; | |
15029 | } | |
15030 | ||
15031 | ||
5eb8189c | 15032 | SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
15033 | PyObject *resultobj = 0; |
15034 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15035 | int arg2 = (int) wxID_ANY ; | |
15036 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
15037 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15038 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15039 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5eb8189c RD |
15040 | long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ; |
15041 | wxAuiNotebook *result = 0 ; | |
10044bf1 RD |
15042 | void *argp1 = 0 ; |
15043 | int res1 = 0 ; | |
15044 | int val2 ; | |
15045 | int ecode2 = 0 ; | |
15046 | wxPoint temp3 ; | |
15047 | wxSize temp4 ; | |
15048 | long val5 ; | |
15049 | int ecode5 = 0 ; | |
15050 | PyObject * obj0 = 0 ; | |
15051 | PyObject * obj1 = 0 ; | |
15052 | PyObject * obj2 = 0 ; | |
15053 | PyObject * obj3 = 0 ; | |
15054 | PyObject * obj4 = 0 ; | |
15055 | char * kwnames[] = { | |
15056 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
15057 | }; | |
15058 | ||
5eb8189c | 15059 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
15060 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15061 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 15062 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15063 | } |
15064 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15065 | if (obj1) { | |
15066 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15067 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15068 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
15069 | } |
15070 | arg2 = static_cast< int >(val2); | |
15071 | } | |
15072 | if (obj2) { | |
15073 | { | |
15074 | arg3 = &temp3; | |
15075 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15076 | } | |
15077 | } | |
15078 | if (obj3) { | |
15079 | { | |
15080 | arg4 = &temp4; | |
15081 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15082 | } | |
15083 | } | |
15084 | if (obj4) { | |
15085 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
15086 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15087 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'"); |
10044bf1 RD |
15088 | } |
15089 | arg5 = static_cast< long >(val5); | |
15090 | } | |
15091 | { | |
15092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
15093 | result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
15094 | wxPyEndAllowThreads(__tstate); | |
15095 | if (PyErr_Occurred()) SWIG_fail; | |
15096 | } | |
15097 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 ); | |
15098 | return resultobj; | |
15099 | fail: | |
15100 | return NULL; | |
15101 | } | |
15102 | ||
15103 | ||
15104 | SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15105 | PyObject *resultobj = 0; | |
15106 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15107 | void *argp1 = 0 ; | |
15108 | int res1 = 0 ; | |
15109 | PyObject *swig_obj[1] ; | |
15110 | ||
15111 | if (!args) SWIG_fail; | |
15112 | swig_obj[0] = args; | |
15113 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
15114 | if (!SWIG_IsOK(res1)) { | |
15115 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15116 | } | |
15117 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15118 | { | |
15119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15120 | delete arg1; | |
15121 | ||
10044bf1 RD |
15122 | wxPyEndAllowThreads(__tstate); |
15123 | if (PyErr_Occurred()) SWIG_fail; | |
15124 | } | |
5eb8189c | 15125 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
15126 | return resultobj; |
15127 | fail: | |
15128 | return NULL; | |
15129 | } | |
15130 | ||
15131 | ||
5eb8189c | 15132 | SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15133 | PyObject *resultobj = 0; |
5eb8189c | 15134 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15135 | wxWindow *arg2 = (wxWindow *) 0 ; |
15136 | int arg3 = (int) wxID_ANY ; | |
15137 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
15138 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15139 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15140 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15141 | long arg6 = (long) 0 ; | |
15142 | bool result; | |
15143 | void *argp1 = 0 ; | |
15144 | int res1 = 0 ; | |
15145 | void *argp2 = 0 ; | |
15146 | int res2 = 0 ; | |
15147 | int val3 ; | |
15148 | int ecode3 = 0 ; | |
15149 | wxPoint temp4 ; | |
15150 | wxSize temp5 ; | |
15151 | long val6 ; | |
15152 | int ecode6 = 0 ; | |
15153 | PyObject * obj0 = 0 ; | |
15154 | PyObject * obj1 = 0 ; | |
15155 | PyObject * obj2 = 0 ; | |
15156 | PyObject * obj3 = 0 ; | |
15157 | PyObject * obj4 = 0 ; | |
15158 | PyObject * obj5 = 0 ; | |
15159 | char * kwnames[] = { | |
15160 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
15161 | }; | |
15162 | ||
5eb8189c RD |
15163 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15164 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15165 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15166 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15167 | } |
5eb8189c | 15168 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15169 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15170 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15171 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15172 | } |
15173 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15174 | if (obj2) { | |
15175 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15176 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 15177 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); |
10044bf1 RD |
15178 | } |
15179 | arg3 = static_cast< int >(val3); | |
15180 | } | |
15181 | if (obj3) { | |
15182 | { | |
15183 | arg4 = &temp4; | |
15184 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15185 | } | |
15186 | } | |
15187 | if (obj4) { | |
15188 | { | |
15189 | arg5 = &temp5; | |
15190 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15191 | } | |
15192 | } | |
15193 | if (obj5) { | |
15194 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
15195 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 15196 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); |
10044bf1 RD |
15197 | } |
15198 | arg6 = static_cast< long >(val6); | |
15199 | } | |
15200 | { | |
15201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15202 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
15203 | wxPyEndAllowThreads(__tstate); | |
15204 | if (PyErr_Occurred()) SWIG_fail; | |
15205 | } | |
15206 | { | |
15207 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15208 | } | |
15209 | return resultobj; | |
15210 | fail: | |
15211 | return NULL; | |
15212 | } | |
15213 | ||
15214 | ||
a6927690 RD |
15215 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15216 | PyObject *resultobj = 0; | |
15217 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15218 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
15219 | void *argp1 = 0 ; | |
15220 | int res1 = 0 ; | |
15221 | void *argp2 = 0 ; | |
15222 | int res2 = 0 ; | |
15223 | PyObject * obj0 = 0 ; | |
15224 | PyObject * obj1 = 0 ; | |
15225 | char * kwnames[] = { | |
15226 | (char *) "self",(char *) "art", NULL | |
15227 | }; | |
15228 | ||
15229 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
15230 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15231 | if (!SWIG_IsOK(res1)) { | |
15232 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15233 | } | |
15234 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15235 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
15236 | if (!SWIG_IsOK(res2)) { | |
15237 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); | |
15238 | } | |
15239 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); | |
15240 | { | |
15241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15242 | (arg1)->SetArtProvider(arg2); | |
15243 | wxPyEndAllowThreads(__tstate); | |
15244 | if (PyErr_Occurred()) SWIG_fail; | |
15245 | } | |
15246 | resultobj = SWIG_Py_Void(); | |
15247 | return resultobj; | |
15248 | fail: | |
15249 | return NULL; | |
15250 | } | |
15251 | ||
15252 | ||
15253 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15254 | PyObject *resultobj = 0; | |
15255 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15256 | wxAuiTabArt *result = 0 ; | |
15257 | void *argp1 = 0 ; | |
15258 | int res1 = 0 ; | |
15259 | PyObject *swig_obj[1] ; | |
15260 | ||
15261 | if (!args) SWIG_fail; | |
15262 | swig_obj[0] = args; | |
15263 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15264 | if (!SWIG_IsOK(res1)) { | |
15265 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); | |
15266 | } | |
15267 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15268 | { | |
15269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15270 | result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider(); | |
15271 | wxPyEndAllowThreads(__tstate); | |
15272 | if (PyErr_Occurred()) SWIG_fail; | |
15273 | } | |
15274 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
15275 | return resultobj; | |
15276 | fail: | |
15277 | return NULL; | |
15278 | } | |
15279 | ||
15280 | ||
15281 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetUniformBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15282 | PyObject *resultobj = 0; | |
15283 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15284 | wxSize *arg2 = 0 ; | |
15285 | void *argp1 = 0 ; | |
15286 | int res1 = 0 ; | |
15287 | wxSize temp2 ; | |
15288 | PyObject * obj0 = 0 ; | |
15289 | PyObject * obj1 = 0 ; | |
15290 | char * kwnames[] = { | |
15291 | (char *) "self",(char *) "size", NULL | |
15292 | }; | |
15293 | ||
15294 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetUniformBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
15295 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15296 | if (!SWIG_IsOK(res1)) { | |
15297 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetUniformBitmapSize" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15298 | } | |
15299 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15300 | { | |
15301 | arg2 = &temp2; | |
15302 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15303 | } | |
15304 | { | |
15305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15306 | (arg1)->SetUniformBitmapSize((wxSize const &)*arg2); | |
15307 | wxPyEndAllowThreads(__tstate); | |
15308 | if (PyErr_Occurred()) SWIG_fail; | |
15309 | } | |
15310 | resultobj = SWIG_Py_Void(); | |
15311 | return resultobj; | |
15312 | fail: | |
15313 | return NULL; | |
15314 | } | |
15315 | ||
15316 | ||
15317 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetTabCtrlHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15318 | PyObject *resultobj = 0; | |
15319 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15320 | int arg2 ; | |
15321 | void *argp1 = 0 ; | |
15322 | int res1 = 0 ; | |
15323 | int val2 ; | |
15324 | int ecode2 = 0 ; | |
15325 | PyObject * obj0 = 0 ; | |
15326 | PyObject * obj1 = 0 ; | |
15327 | char * kwnames[] = { | |
15328 | (char *) "self",(char *) "height", NULL | |
15329 | }; | |
15330 | ||
15331 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetTabCtrlHeight",kwnames,&obj0,&obj1)) SWIG_fail; | |
15332 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15333 | if (!SWIG_IsOK(res1)) { | |
15334 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15335 | } | |
15336 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15337 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15338 | if (!SWIG_IsOK(ecode2)) { | |
15339 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "2"" of type '" "int""'"); | |
15340 | } | |
15341 | arg2 = static_cast< int >(val2); | |
15342 | { | |
15343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15344 | (arg1)->SetTabCtrlHeight(arg2); | |
15345 | wxPyEndAllowThreads(__tstate); | |
15346 | if (PyErr_Occurred()) SWIG_fail; | |
15347 | } | |
15348 | resultobj = SWIG_Py_Void(); | |
15349 | return resultobj; | |
15350 | fail: | |
15351 | return NULL; | |
15352 | } | |
15353 | ||
15354 | ||
5eb8189c | 15355 | SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15356 | PyObject *resultobj = 0; |
5eb8189c | 15357 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15358 | wxWindow *arg2 = (wxWindow *) 0 ; |
15359 | wxString *arg3 = 0 ; | |
15360 | bool arg4 = (bool) false ; | |
15361 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
15362 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
15363 | bool result; | |
15364 | void *argp1 = 0 ; | |
15365 | int res1 = 0 ; | |
15366 | void *argp2 = 0 ; | |
15367 | int res2 = 0 ; | |
15368 | bool temp3 = false ; | |
15369 | bool val4 ; | |
15370 | int ecode4 = 0 ; | |
15371 | void *argp5 = 0 ; | |
15372 | int res5 = 0 ; | |
15373 | PyObject * obj0 = 0 ; | |
15374 | PyObject * obj1 = 0 ; | |
15375 | PyObject * obj2 = 0 ; | |
15376 | PyObject * obj3 = 0 ; | |
15377 | PyObject * obj4 = 0 ; | |
15378 | char * kwnames[] = { | |
15379 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15380 | }; | |
15381 | ||
5eb8189c RD |
15382 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
15383 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15384 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15385 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15386 | } |
5eb8189c | 15387 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15388 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15389 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15390 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15391 | } |
15392 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15393 | { | |
15394 | arg3 = wxString_in_helper(obj2); | |
15395 | if (arg3 == NULL) SWIG_fail; | |
15396 | temp3 = true; | |
15397 | } | |
15398 | if (obj3) { | |
15399 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
15400 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 15401 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); |
10044bf1 RD |
15402 | } |
15403 | arg4 = static_cast< bool >(val4); | |
15404 | } | |
15405 | if (obj4) { | |
15406 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15407 | if (!SWIG_IsOK(res5)) { | |
5eb8189c | 15408 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15409 | } |
15410 | if (!argp5) { | |
5eb8189c | 15411 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15412 | } |
15413 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
15414 | } | |
15415 | { | |
15416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15417 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
15418 | wxPyEndAllowThreads(__tstate); | |
15419 | if (PyErr_Occurred()) SWIG_fail; | |
15420 | } | |
15421 | { | |
15422 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15423 | } | |
15424 | { | |
15425 | if (temp3) | |
15426 | delete arg3; | |
15427 | } | |
15428 | return resultobj; | |
15429 | fail: | |
15430 | { | |
15431 | if (temp3) | |
15432 | delete arg3; | |
15433 | } | |
15434 | return NULL; | |
15435 | } | |
15436 | ||
15437 | ||
5eb8189c | 15438 | SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15439 | PyObject *resultobj = 0; |
5eb8189c | 15440 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15441 | size_t arg2 ; |
15442 | wxWindow *arg3 = (wxWindow *) 0 ; | |
15443 | wxString *arg4 = 0 ; | |
15444 | bool arg5 = (bool) false ; | |
15445 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
15446 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
15447 | bool result; | |
15448 | void *argp1 = 0 ; | |
15449 | int res1 = 0 ; | |
15450 | size_t val2 ; | |
15451 | int ecode2 = 0 ; | |
15452 | void *argp3 = 0 ; | |
15453 | int res3 = 0 ; | |
15454 | bool temp4 = false ; | |
15455 | bool val5 ; | |
15456 | int ecode5 = 0 ; | |
15457 | void *argp6 = 0 ; | |
15458 | int res6 = 0 ; | |
15459 | PyObject * obj0 = 0 ; | |
15460 | PyObject * obj1 = 0 ; | |
15461 | PyObject * obj2 = 0 ; | |
15462 | PyObject * obj3 = 0 ; | |
15463 | PyObject * obj4 = 0 ; | |
15464 | PyObject * obj5 = 0 ; | |
15465 | char * kwnames[] = { | |
15466 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15467 | }; | |
15468 | ||
5eb8189c RD |
15469 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15470 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15471 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15472 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15473 | } |
5eb8189c | 15474 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15475 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15476 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15477 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15478 | } |
15479 | arg2 = static_cast< size_t >(val2); | |
15480 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15481 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 15482 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15483 | } |
15484 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
15485 | { | |
15486 | arg4 = wxString_in_helper(obj3); | |
15487 | if (arg4 == NULL) SWIG_fail; | |
15488 | temp4 = true; | |
15489 | } | |
15490 | if (obj4) { | |
15491 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
15492 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15493 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); |
10044bf1 RD |
15494 | } |
15495 | arg5 = static_cast< bool >(val5); | |
15496 | } | |
15497 | if (obj5) { | |
15498 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15499 | if (!SWIG_IsOK(res6)) { | |
5eb8189c | 15500 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15501 | } |
15502 | if (!argp6) { | |
5eb8189c | 15503 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15504 | } |
15505 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
15506 | } | |
15507 | { | |
15508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15509 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
15510 | wxPyEndAllowThreads(__tstate); | |
15511 | if (PyErr_Occurred()) SWIG_fail; | |
15512 | } | |
15513 | { | |
15514 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15515 | } | |
15516 | { | |
15517 | if (temp4) | |
15518 | delete arg4; | |
15519 | } | |
15520 | return resultobj; | |
15521 | fail: | |
15522 | { | |
15523 | if (temp4) | |
15524 | delete arg4; | |
15525 | } | |
15526 | return NULL; | |
15527 | } | |
15528 | ||
15529 | ||
5eb8189c | 15530 | SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15531 | PyObject *resultobj = 0; |
5eb8189c | 15532 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15533 | size_t arg2 ; |
15534 | bool result; | |
15535 | void *argp1 = 0 ; | |
15536 | int res1 = 0 ; | |
15537 | size_t val2 ; | |
15538 | int ecode2 = 0 ; | |
15539 | PyObject * obj0 = 0 ; | |
15540 | PyObject * obj1 = 0 ; | |
15541 | char * kwnames[] = { | |
15542 | (char *) "self",(char *) "page", NULL | |
15543 | }; | |
15544 | ||
5eb8189c RD |
15545 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15546 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15547 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15549 | } |
5eb8189c | 15550 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15551 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15552 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15553 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15554 | } |
15555 | arg2 = static_cast< size_t >(val2); | |
15556 | { | |
15557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15558 | result = (bool)(arg1)->DeletePage(arg2); | |
15559 | wxPyEndAllowThreads(__tstate); | |
15560 | if (PyErr_Occurred()) SWIG_fail; | |
15561 | } | |
15562 | { | |
15563 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15564 | } | |
15565 | return resultobj; | |
15566 | fail: | |
15567 | return NULL; | |
15568 | } | |
15569 | ||
15570 | ||
5eb8189c | 15571 | SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15572 | PyObject *resultobj = 0; |
5eb8189c | 15573 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15574 | size_t arg2 ; |
15575 | bool result; | |
15576 | void *argp1 = 0 ; | |
15577 | int res1 = 0 ; | |
15578 | size_t val2 ; | |
15579 | int ecode2 = 0 ; | |
15580 | PyObject * obj0 = 0 ; | |
15581 | PyObject * obj1 = 0 ; | |
15582 | char * kwnames[] = { | |
15583 | (char *) "self",(char *) "page", NULL | |
15584 | }; | |
15585 | ||
5eb8189c RD |
15586 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15587 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15588 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15589 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15590 | } |
5eb8189c | 15591 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15592 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15593 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15594 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15595 | } |
15596 | arg2 = static_cast< size_t >(val2); | |
15597 | { | |
15598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15599 | result = (bool)(arg1)->RemovePage(arg2); | |
15600 | wxPyEndAllowThreads(__tstate); | |
15601 | if (PyErr_Occurred()) SWIG_fail; | |
15602 | } | |
15603 | { | |
15604 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15605 | } | |
15606 | return resultobj; | |
15607 | fail: | |
15608 | return NULL; | |
15609 | } | |
15610 | ||
15611 | ||
a6927690 | 15612 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15613 | PyObject *resultobj = 0; |
5eb8189c | 15614 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 | 15615 | size_t result; |
10044bf1 RD |
15616 | void *argp1 = 0 ; |
15617 | int res1 = 0 ; | |
a6927690 | 15618 | PyObject *swig_obj[1] ; |
10044bf1 | 15619 | |
a6927690 RD |
15620 | if (!args) SWIG_fail; |
15621 | swig_obj[0] = args; | |
15622 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15623 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15624 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15625 | } |
5eb8189c | 15626 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15627 | { |
15628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15629 | result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); |
10044bf1 RD |
15630 | wxPyEndAllowThreads(__tstate); |
15631 | if (PyErr_Occurred()) SWIG_fail; | |
15632 | } | |
a6927690 | 15633 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
10044bf1 RD |
15634 | return resultobj; |
15635 | fail: | |
10044bf1 RD |
15636 | return NULL; |
15637 | } | |
15638 | ||
15639 | ||
a6927690 | 15640 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5172800e RD |
15641 | PyObject *resultobj = 0; |
15642 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15643 | size_t arg2 ; | |
a6927690 | 15644 | wxWindow *result = 0 ; |
5172800e RD |
15645 | void *argp1 = 0 ; |
15646 | int res1 = 0 ; | |
15647 | size_t val2 ; | |
15648 | int ecode2 = 0 ; | |
5172800e RD |
15649 | PyObject * obj0 = 0 ; |
15650 | PyObject * obj1 = 0 ; | |
5172800e | 15651 | char * kwnames[] = { |
a6927690 | 15652 | (char *) "self",(char *) "page_idx", NULL |
5172800e RD |
15653 | }; |
15654 | ||
a6927690 | 15655 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
5172800e RD |
15656 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15657 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15658 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5172800e RD |
15659 | } |
15660 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15661 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
15662 | if (!SWIG_IsOK(ecode2)) { | |
a6927690 | 15663 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); |
5172800e RD |
15664 | } |
15665 | arg2 = static_cast< size_t >(val2); | |
5172800e RD |
15666 | { |
15667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15668 | result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); |
5172800e RD |
15669 | wxPyEndAllowThreads(__tstate); |
15670 | if (PyErr_Occurred()) SWIG_fail; | |
15671 | } | |
15672 | { | |
a6927690 | 15673 | resultobj = wxPyMake_wxObject(result, 0); |
5172800e RD |
15674 | } |
15675 | return resultobj; | |
15676 | fail: | |
15677 | return NULL; | |
15678 | } | |
15679 | ||
15680 | ||
a6927690 | 15681 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15682 | PyObject *resultobj = 0; |
5eb8189c | 15683 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15684 | wxWindow *arg2 = (wxWindow *) 0 ; |
15685 | int result; | |
10044bf1 RD |
15686 | void *argp1 = 0 ; |
15687 | int res1 = 0 ; | |
a6927690 RD |
15688 | void *argp2 = 0 ; |
15689 | int res2 = 0 ; | |
10044bf1 RD |
15690 | PyObject * obj0 = 0 ; |
15691 | PyObject * obj1 = 0 ; | |
15692 | char * kwnames[] = { | |
a6927690 | 15693 | (char *) "self",(char *) "page_wnd", NULL |
10044bf1 RD |
15694 | }; |
15695 | ||
a6927690 | 15696 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15697 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15698 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15699 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15700 | } |
5eb8189c | 15701 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15702 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15703 | if (!SWIG_IsOK(res2)) { | |
15704 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15705 | } | |
15706 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
10044bf1 RD |
15707 | { |
15708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15709 | result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2); |
10044bf1 RD |
15710 | wxPyEndAllowThreads(__tstate); |
15711 | if (PyErr_Occurred()) SWIG_fail; | |
15712 | } | |
a6927690 | 15713 | resultobj = SWIG_From_int(static_cast< int >(result)); |
10044bf1 RD |
15714 | return resultobj; |
15715 | fail: | |
15716 | return NULL; | |
15717 | } | |
15718 | ||
15719 | ||
a6927690 | 15720 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15721 | PyObject *resultobj = 0; |
5eb8189c | 15722 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15723 | size_t arg2 ; |
15724 | wxString *arg3 = 0 ; | |
15725 | bool result; | |
10044bf1 RD |
15726 | void *argp1 = 0 ; |
15727 | int res1 = 0 ; | |
a6927690 RD |
15728 | size_t val2 ; |
15729 | int ecode2 = 0 ; | |
15730 | bool temp3 = false ; | |
15731 | PyObject * obj0 = 0 ; | |
15732 | PyObject * obj1 = 0 ; | |
15733 | PyObject * obj2 = 0 ; | |
15734 | char * kwnames[] = { | |
15735 | (char *) "self",(char *) "page",(char *) "text", NULL | |
15736 | }; | |
10044bf1 | 15737 | |
a6927690 RD |
15738 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
15739 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15740 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15741 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15742 | } |
5eb8189c | 15743 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15744 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15745 | if (!SWIG_IsOK(ecode2)) { | |
15746 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); | |
15747 | } | |
15748 | arg2 = static_cast< size_t >(val2); | |
15749 | { | |
15750 | arg3 = wxString_in_helper(obj2); | |
15751 | if (arg3 == NULL) SWIG_fail; | |
15752 | temp3 = true; | |
15753 | } | |
10044bf1 RD |
15754 | { |
15755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15756 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); |
10044bf1 RD |
15757 | wxPyEndAllowThreads(__tstate); |
15758 | if (PyErr_Occurred()) SWIG_fail; | |
15759 | } | |
a6927690 RD |
15760 | { |
15761 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 15762 | } |
10044bf1 | 15763 | { |
a6927690 RD |
15764 | if (temp3) |
15765 | delete arg3; | |
10044bf1 | 15766 | } |
10044bf1 RD |
15767 | return resultobj; |
15768 | fail: | |
a6927690 RD |
15769 | { |
15770 | if (temp3) | |
15771 | delete arg3; | |
15772 | } | |
10044bf1 RD |
15773 | return NULL; |
15774 | } | |
15775 | ||
15776 | ||
a6927690 | 15777 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15778 | PyObject *resultobj = 0; |
5eb8189c | 15779 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 | 15780 | size_t arg2 ; |
a6927690 | 15781 | wxString result; |
10044bf1 RD |
15782 | void *argp1 = 0 ; |
15783 | int res1 = 0 ; | |
15784 | size_t val2 ; | |
15785 | int ecode2 = 0 ; | |
15786 | PyObject * obj0 = 0 ; | |
15787 | PyObject * obj1 = 0 ; | |
15788 | char * kwnames[] = { | |
15789 | (char *) "self",(char *) "page_idx", NULL | |
15790 | }; | |
15791 | ||
a6927690 | 15792 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15793 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15794 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15795 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15796 | } |
5eb8189c | 15797 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15798 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15799 | if (!SWIG_IsOK(ecode2)) { | |
a6927690 | 15800 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageText" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15801 | } |
15802 | arg2 = static_cast< size_t >(val2); | |
15803 | { | |
15804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15805 | result = ((wxAuiNotebook const *)arg1)->GetPageText(arg2); |
10044bf1 RD |
15806 | wxPyEndAllowThreads(__tstate); |
15807 | if (PyErr_Occurred()) SWIG_fail; | |
15808 | } | |
15809 | { | |
a6927690 RD |
15810 | #if wxUSE_UNICODE |
15811 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15812 | #else | |
15813 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15814 | #endif | |
10044bf1 RD |
15815 | } |
15816 | return resultobj; | |
15817 | fail: | |
15818 | return NULL; | |
15819 | } | |
15820 | ||
15821 | ||
a6927690 | 15822 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5172800e RD |
15823 | PyObject *resultobj = 0; |
15824 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 RD |
15825 | size_t arg2 ; |
15826 | wxBitmap *arg3 = 0 ; | |
15827 | bool result; | |
5172800e RD |
15828 | void *argp1 = 0 ; |
15829 | int res1 = 0 ; | |
a6927690 RD |
15830 | size_t val2 ; |
15831 | int ecode2 = 0 ; | |
15832 | void *argp3 = 0 ; | |
15833 | int res3 = 0 ; | |
5172800e RD |
15834 | PyObject * obj0 = 0 ; |
15835 | PyObject * obj1 = 0 ; | |
a6927690 | 15836 | PyObject * obj2 = 0 ; |
5172800e | 15837 | char * kwnames[] = { |
a6927690 | 15838 | (char *) "self",(char *) "page",(char *) "bitmap", NULL |
5172800e RD |
15839 | }; |
15840 | ||
a6927690 | 15841 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
5172800e RD |
15842 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15843 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15844 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5172800e RD |
15845 | } |
15846 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
a6927690 RD |
15847 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15848 | if (!SWIG_IsOK(ecode2)) { | |
15849 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15850 | } | |
15851 | arg2 = static_cast< size_t >(val2); | |
15852 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15853 | if (!SWIG_IsOK(res3)) { | |
15854 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
5172800e | 15855 | } |
a6927690 RD |
15856 | if (!argp3) { |
15857 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
15858 | } | |
15859 | arg3 = reinterpret_cast< wxBitmap * >(argp3); | |
5172800e RD |
15860 | { |
15861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15862 | result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3); |
5172800e RD |
15863 | wxPyEndAllowThreads(__tstate); |
15864 | if (PyErr_Occurred()) SWIG_fail; | |
15865 | } | |
a6927690 RD |
15866 | { |
15867 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15868 | } | |
5172800e RD |
15869 | return resultobj; |
15870 | fail: | |
15871 | return NULL; | |
15872 | } | |
15873 | ||
15874 | ||
a6927690 | 15875 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15876 | PyObject *resultobj = 0; |
5eb8189c | 15877 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15878 | size_t arg2 ; |
15879 | wxBitmap result; | |
5c8c7dd3 RD |
15880 | void *argp1 = 0 ; |
15881 | int res1 = 0 ; | |
a6927690 RD |
15882 | size_t val2 ; |
15883 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
15884 | PyObject * obj0 = 0 ; |
15885 | PyObject * obj1 = 0 ; | |
15886 | char * kwnames[] = { | |
a6927690 | 15887 | (char *) "self",(char *) "page_idx", NULL |
5c8c7dd3 RD |
15888 | }; |
15889 | ||
a6927690 | 15890 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageBitmap",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15891 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 | 15892 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15893 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5c8c7dd3 | 15894 | } |
5eb8189c | 15895 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15896 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15897 | if (!SWIG_IsOK(ecode2)) { | |
15898 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15899 | } | |
15900 | arg2 = static_cast< size_t >(val2); | |
5c8c7dd3 RD |
15901 | { |
15902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15903 | result = ((wxAuiNotebook const *)arg1)->GetPageBitmap(arg2); |
5c8c7dd3 RD |
15904 | wxPyEndAllowThreads(__tstate); |
15905 | if (PyErr_Occurred()) SWIG_fail; | |
15906 | } | |
a6927690 | 15907 | resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 ); |
5c8c7dd3 RD |
15908 | return resultobj; |
15909 | fail: | |
15910 | return NULL; | |
15911 | } | |
15912 | ||
15913 | ||
a6927690 | 15914 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15915 | PyObject *resultobj = 0; |
5eb8189c | 15916 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15917 | size_t arg2 ; |
15918 | size_t result; | |
5c8c7dd3 RD |
15919 | void *argp1 = 0 ; |
15920 | int res1 = 0 ; | |
a6927690 RD |
15921 | size_t val2 ; |
15922 | int ecode2 = 0 ; | |
15923 | PyObject * obj0 = 0 ; | |
15924 | PyObject * obj1 = 0 ; | |
15925 | char * kwnames[] = { | |
15926 | (char *) "self",(char *) "new_page", NULL | |
15927 | }; | |
5c8c7dd3 | 15928 | |
a6927690 RD |
15929 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
15930 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 15931 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15932 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 15933 | } |
5eb8189c | 15934 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15935 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15936 | if (!SWIG_IsOK(ecode2)) { | |
15937 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
15938 | } | |
15939 | arg2 = static_cast< size_t >(val2); | |
5c8c7dd3 RD |
15940 | { |
15941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15942 | result = (size_t)(arg1)->SetSelection(arg2); |
5c8c7dd3 RD |
15943 | wxPyEndAllowThreads(__tstate); |
15944 | if (PyErr_Occurred()) SWIG_fail; | |
15945 | } | |
a6927690 | 15946 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
5c8c7dd3 RD |
15947 | return resultobj; |
15948 | fail: | |
15949 | return NULL; | |
15950 | } | |
15951 | ||
15952 | ||
a6927690 | 15953 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8287c33f RD |
15954 | PyObject *resultobj = 0; |
15955 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 | 15956 | int result; |
8287c33f RD |
15957 | void *argp1 = 0 ; |
15958 | int res1 = 0 ; | |
a6927690 | 15959 | PyObject *swig_obj[1] ; |
8287c33f | 15960 | |
a6927690 RD |
15961 | if (!args) SWIG_fail; |
15962 | swig_obj[0] = args; | |
15963 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
8287c33f | 15964 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15965 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
8287c33f RD |
15966 | } |
15967 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
8287c33f RD |
15968 | { |
15969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15970 | result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); |
8287c33f RD |
15971 | wxPyEndAllowThreads(__tstate); |
15972 | if (PyErr_Occurred()) SWIG_fail; | |
15973 | } | |
a6927690 | 15974 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8287c33f RD |
15975 | return resultobj; |
15976 | fail: | |
15977 | return NULL; | |
15978 | } | |
15979 | ||
15980 | ||
a6927690 | 15981 | SWIGINTERN PyObject *_wrap_AuiNotebook_Split(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8287c33f RD |
15982 | PyObject *resultobj = 0; |
15983 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 RD |
15984 | size_t arg2 ; |
15985 | int arg3 ; | |
8287c33f RD |
15986 | void *argp1 = 0 ; |
15987 | int res1 = 0 ; | |
a6927690 | 15988 | size_t val2 ; |
8287c33f | 15989 | int ecode2 = 0 ; |
a6927690 RD |
15990 | int val3 ; |
15991 | int ecode3 = 0 ; | |
8287c33f RD |
15992 | PyObject * obj0 = 0 ; |
15993 | PyObject * obj1 = 0 ; | |
a6927690 | 15994 | PyObject * obj2 = 0 ; |
8287c33f | 15995 | char * kwnames[] = { |
a6927690 | 15996 | (char *) "self",(char *) "page",(char *) "direction", NULL |
8287c33f RD |
15997 | }; |
15998 | ||
a6927690 | 15999 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_Split",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8287c33f RD |
16000 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
16001 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 16002 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Split" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
8287c33f RD |
16003 | } |
16004 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
a6927690 | 16005 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
8287c33f | 16006 | if (!SWIG_IsOK(ecode2)) { |
a6927690 | 16007 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_Split" "', expected argument " "2"" of type '" "size_t""'"); |
8287c33f | 16008 | } |
a6927690 RD |
16009 | arg2 = static_cast< size_t >(val2); |
16010 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
16011 | if (!SWIG_IsOK(ecode3)) { | |
16012 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Split" "', expected argument " "3"" of type '" "int""'"); | |
16013 | } | |
16014 | arg3 = static_cast< int >(val3); | |
8287c33f RD |
16015 | { |
16016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 16017 | (arg1)->Split(arg2,arg3); |
8287c33f RD |
16018 | wxPyEndAllowThreads(__tstate); |
16019 | if (PyErr_Occurred()) SWIG_fail; | |
16020 | } | |
16021 | resultobj = SWIG_Py_Void(); | |
16022 | return resultobj; | |
16023 | fail: | |
16024 | return NULL; | |
16025 | } | |
16026 | ||
16027 | ||
070a1e7e RD |
16028 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetAuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16029 | PyObject *resultobj = 0; | |
16030 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
16031 | wxAuiManager *result = 0 ; | |
16032 | void *argp1 = 0 ; | |
16033 | int res1 = 0 ; | |
16034 | PyObject *swig_obj[1] ; | |
16035 | ||
16036 | if (!args) SWIG_fail; | |
16037 | swig_obj[0] = args; | |
16038 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
16039 | if (!SWIG_IsOK(res1)) { | |
16040 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetAuiManager" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); | |
16041 | } | |
16042 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
16043 | { | |
16044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16045 | { | |
16046 | wxAuiManager const &_result_ref = ((wxAuiNotebook const *)arg1)->GetAuiManager(); | |
16047 | result = (wxAuiManager *) &_result_ref; | |
16048 | } | |
16049 | wxPyEndAllowThreads(__tstate); | |
16050 | if (PyErr_Occurred()) SWIG_fail; | |
16051 | } | |
16052 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
16053 | return resultobj; | |
16054 | fail: | |
16055 | return NULL; | |
16056 | } | |
16057 | ||
16058 | ||
5eb8189c | 16059 | SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16060 | PyObject *obj; |
16061 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 16062 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj)); |
10044bf1 RD |
16063 | return SWIG_Py_Void(); |
16064 | } | |
16065 | ||
5eb8189c | 16066 | SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16067 | return SWIG_Python_InitShadowInstance(args); |
16068 | } | |
16069 | ||
34d71f81 RD |
16070 | SWIGINTERN PyObject *_wrap_new_PreAuiMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16071 | PyObject *resultobj = 0; | |
16072 | wxAuiMDIParentFrame *result = 0 ; | |
16073 | ||
16074 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMDIParentFrame",0,0,0)) SWIG_fail; | |
16075 | { | |
16076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16077 | result = (wxAuiMDIParentFrame *)new wxAuiMDIParentFrame(); | |
16078 | wxPyEndAllowThreads(__tstate); | |
16079 | if (PyErr_Occurred()) SWIG_fail; | |
16080 | } | |
16081 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIParentFrame, SWIG_POINTER_OWN | 0 ); | |
16082 | return resultobj; | |
16083 | fail: | |
16084 | return NULL; | |
10044bf1 RD |
16085 | } |
16086 | ||
34d71f81 RD |
16087 | |
16088 | SWIGINTERN PyObject *_wrap_new_AuiMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16089 | PyObject *resultobj = 0; | |
16090 | wxWindow *arg1 = (wxWindow *) 0 ; | |
16091 | int arg2 ; | |
16092 | wxString *arg3 = 0 ; | |
16093 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
16094 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16095 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
16096 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
16097 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16098 | wxString const &arg7_defvalue = wxFrameNameStr ; | |
16099 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
16100 | wxAuiMDIParentFrame *result = 0 ; | |
16101 | void *argp1 = 0 ; | |
16102 | int res1 = 0 ; | |
16103 | int val2 ; | |
16104 | int ecode2 = 0 ; | |
16105 | bool temp3 = false ; | |
16106 | wxPoint temp4 ; | |
16107 | wxSize temp5 ; | |
16108 | long val6 ; | |
16109 | int ecode6 = 0 ; | |
16110 | bool temp7 = false ; | |
16111 | PyObject * obj0 = 0 ; | |
16112 | PyObject * obj1 = 0 ; | |
16113 | PyObject * obj2 = 0 ; | |
16114 | PyObject * obj3 = 0 ; | |
16115 | PyObject * obj4 = 0 ; | |
16116 | PyObject * obj5 = 0 ; | |
16117 | PyObject * obj6 = 0 ; | |
16118 | char * kwnames[] = { | |
16119 | (char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16120 | }; | |
16121 | ||
16122 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_AuiMDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
16123 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16124 | if (!SWIG_IsOK(res1)) { | |
16125 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
16126 | } | |
16127 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
16128 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16129 | if (!SWIG_IsOK(ecode2)) { | |
16130 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMDIParentFrame" "', expected argument " "2"" of type '" "int""'"); | |
16131 | } | |
16132 | arg2 = static_cast< int >(val2); | |
16133 | { | |
16134 | arg3 = wxString_in_helper(obj2); | |
16135 | if (arg3 == NULL) SWIG_fail; | |
16136 | temp3 = true; | |
16137 | } | |
16138 | if (obj3) { | |
16139 | { | |
16140 | arg4 = &temp4; | |
16141 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
16142 | } | |
16143 | } | |
16144 | if (obj4) { | |
16145 | { | |
16146 | arg5 = &temp5; | |
16147 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
16148 | } | |
16149 | } | |
16150 | if (obj5) { | |
16151 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
16152 | if (!SWIG_IsOK(ecode6)) { | |
16153 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_AuiMDIParentFrame" "', expected argument " "6"" of type '" "long""'"); | |
16154 | } | |
16155 | arg6 = static_cast< long >(val6); | |
16156 | } | |
16157 | if (obj6) { | |
16158 | { | |
16159 | arg7 = wxString_in_helper(obj6); | |
16160 | if (arg7 == NULL) SWIG_fail; | |
16161 | temp7 = true; | |
16162 | } | |
16163 | } | |
16164 | { | |
16165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16166 | result = (wxAuiMDIParentFrame *)new wxAuiMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
16167 | wxPyEndAllowThreads(__tstate); | |
16168 | if (PyErr_Occurred()) SWIG_fail; | |
16169 | } | |
16170 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIParentFrame, SWIG_POINTER_NEW | 0 ); | |
16171 | { | |
16172 | if (temp3) | |
16173 | delete arg3; | |
16174 | } | |
16175 | { | |
16176 | if (temp7) | |
16177 | delete arg7; | |
16178 | } | |
16179 | return resultobj; | |
16180 | fail: | |
16181 | { | |
16182 | if (temp3) | |
16183 | delete arg3; | |
16184 | } | |
16185 | { | |
16186 | if (temp7) | |
16187 | delete arg7; | |
16188 | } | |
16189 | return NULL; | |
5c8c7dd3 RD |
16190 | } |
16191 | ||
27e45892 | 16192 | |
34d71f81 RD |
16193 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16194 | PyObject *resultobj = 0; | |
16195 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16196 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16197 | int arg3 ; | |
16198 | wxString *arg4 = 0 ; | |
16199 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
16200 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16201 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
16202 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
16203 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16204 | wxString const &arg8_defvalue = wxFrameNameStr ; | |
16205 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
16206 | bool result; | |
16207 | void *argp1 = 0 ; | |
16208 | int res1 = 0 ; | |
16209 | void *argp2 = 0 ; | |
16210 | int res2 = 0 ; | |
16211 | int val3 ; | |
16212 | int ecode3 = 0 ; | |
16213 | bool temp4 = false ; | |
16214 | wxPoint temp5 ; | |
16215 | wxSize temp6 ; | |
16216 | long val7 ; | |
16217 | int ecode7 = 0 ; | |
16218 | bool temp8 = false ; | |
16219 | PyObject * obj0 = 0 ; | |
16220 | PyObject * obj1 = 0 ; | |
16221 | PyObject * obj2 = 0 ; | |
16222 | PyObject * obj3 = 0 ; | |
16223 | PyObject * obj4 = 0 ; | |
16224 | PyObject * obj5 = 0 ; | |
16225 | PyObject * obj6 = 0 ; | |
16226 | PyObject * obj7 = 0 ; | |
16227 | char * kwnames[] = { | |
16228 | (char *) "self",(char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16229 | }; | |
16230 | ||
16231 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:AuiMDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; | |
16232 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16233 | if (!SWIG_IsOK(res1)) { | |
16234 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16235 | } | |
16236 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16237 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16238 | if (!SWIG_IsOK(res2)) { | |
16239 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
16240 | } | |
16241 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
16242 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
16243 | if (!SWIG_IsOK(ecode3)) { | |
16244 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
16245 | } | |
16246 | arg3 = static_cast< int >(val3); | |
16247 | { | |
16248 | arg4 = wxString_in_helper(obj3); | |
16249 | if (arg4 == NULL) SWIG_fail; | |
16250 | temp4 = true; | |
16251 | } | |
16252 | if (obj4) { | |
16253 | { | |
16254 | arg5 = &temp5; | |
16255 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
16256 | } | |
16257 | } | |
16258 | if (obj5) { | |
16259 | { | |
16260 | arg6 = &temp6; | |
16261 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
16262 | } | |
16263 | } | |
16264 | if (obj6) { | |
16265 | ecode7 = SWIG_AsVal_long(obj6, &val7); | |
16266 | if (!SWIG_IsOK(ecode7)) { | |
16267 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'"); | |
16268 | } | |
16269 | arg7 = static_cast< long >(val7); | |
16270 | } | |
16271 | if (obj7) { | |
16272 | { | |
16273 | arg8 = wxString_in_helper(obj7); | |
16274 | if (arg8 == NULL) SWIG_fail; | |
16275 | temp8 = true; | |
16276 | } | |
16277 | } | |
16278 | { | |
16279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16280 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
16281 | wxPyEndAllowThreads(__tstate); | |
16282 | if (PyErr_Occurred()) SWIG_fail; | |
16283 | } | |
16284 | { | |
16285 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16286 | } | |
16287 | { | |
16288 | if (temp4) | |
16289 | delete arg4; | |
16290 | } | |
16291 | { | |
16292 | if (temp8) | |
16293 | delete arg8; | |
16294 | } | |
16295 | return resultobj; | |
16296 | fail: | |
16297 | { | |
16298 | if (temp4) | |
16299 | delete arg4; | |
16300 | } | |
16301 | { | |
16302 | if (temp8) | |
16303 | delete arg8; | |
16304 | } | |
16305 | return NULL; | |
16306 | } | |
27e45892 | 16307 | |
27e45892 | 16308 | |
34d71f81 RD |
16309 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16310 | PyObject *resultobj = 0; | |
16311 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16312 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
16313 | void *argp1 = 0 ; | |
16314 | int res1 = 0 ; | |
16315 | void *argp2 = 0 ; | |
16316 | int res2 = 0 ; | |
16317 | PyObject * obj0 = 0 ; | |
16318 | PyObject * obj1 = 0 ; | |
16319 | char * kwnames[] = { | |
16320 | (char *) "self",(char *) "provider", NULL | |
16321 | }; | |
16322 | ||
16323 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
16324 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16325 | if (!SWIG_IsOK(res1)) { | |
16326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16327 | } | |
16328 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16329 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
16330 | if (!SWIG_IsOK(res2)) { | |
16331 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); | |
16332 | } | |
16333 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); | |
16334 | { | |
16335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16336 | (arg1)->SetArtProvider(arg2); | |
16337 | wxPyEndAllowThreads(__tstate); | |
16338 | if (PyErr_Occurred()) SWIG_fail; | |
16339 | } | |
16340 | resultobj = SWIG_Py_Void(); | |
16341 | return resultobj; | |
16342 | fail: | |
16343 | return NULL; | |
27e45892 | 16344 | } |
34d71f81 RD |
16345 | |
16346 | ||
16347 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16348 | PyObject *resultobj = 0; | |
16349 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16350 | wxAuiTabArt *result = 0 ; | |
16351 | void *argp1 = 0 ; | |
16352 | int res1 = 0 ; | |
16353 | PyObject *swig_obj[1] ; | |
16354 | ||
16355 | if (!args) SWIG_fail; | |
16356 | swig_obj[0] = args; | |
16357 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16358 | if (!SWIG_IsOK(res1)) { | |
16359 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16360 | } | |
16361 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16362 | { | |
16363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16364 | result = (wxAuiTabArt *)(arg1)->GetArtProvider(); | |
16365 | wxPyEndAllowThreads(__tstate); | |
16366 | if (PyErr_Occurred()) SWIG_fail; | |
16367 | } | |
16368 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
16369 | return resultobj; | |
16370 | fail: | |
16371 | return NULL; | |
27e45892 | 16372 | } |
34d71f81 RD |
16373 | |
16374 | ||
34d71f81 RD |
16375 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16376 | PyObject *resultobj = 0; | |
16377 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16378 | wxMenu *result = 0 ; | |
16379 | void *argp1 = 0 ; | |
16380 | int res1 = 0 ; | |
16381 | PyObject *swig_obj[1] ; | |
16382 | ||
16383 | if (!args) SWIG_fail; | |
16384 | swig_obj[0] = args; | |
16385 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16386 | if (!SWIG_IsOK(res1)) { | |
16387 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16388 | } | |
16389 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16390 | { | |
16391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16392 | result = (wxMenu *)((wxAuiMDIParentFrame const *)arg1)->GetWindowMenu(); | |
16393 | wxPyEndAllowThreads(__tstate); | |
16394 | if (PyErr_Occurred()) SWIG_fail; | |
16395 | } | |
16396 | { | |
16397 | resultobj = wxPyMake_wxObject(result, 0); | |
16398 | } | |
16399 | return resultobj; | |
16400 | fail: | |
16401 | return NULL; | |
27e45892 | 16402 | } |
34d71f81 RD |
16403 | |
16404 | ||
16405 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16406 | PyObject *resultobj = 0; | |
16407 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16408 | wxMenu *arg2 = (wxMenu *) 0 ; | |
16409 | void *argp1 = 0 ; | |
16410 | int res1 = 0 ; | |
16411 | void *argp2 = 0 ; | |
16412 | int res2 = 0 ; | |
16413 | PyObject * obj0 = 0 ; | |
16414 | PyObject * obj1 = 0 ; | |
16415 | char * kwnames[] = { | |
16416 | (char *) "self",(char *) "pMenu", NULL | |
16417 | }; | |
16418 | ||
16419 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail; | |
16420 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16421 | if (!SWIG_IsOK(res1)) { | |
16422 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16423 | } | |
16424 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16425 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 ); | |
16426 | if (!SWIG_IsOK(res2)) { | |
16427 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'"); | |
16428 | } | |
16429 | arg2 = reinterpret_cast< wxMenu * >(argp2); | |
16430 | { | |
16431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16432 | (arg1)->SetWindowMenu(arg2); | |
16433 | wxPyEndAllowThreads(__tstate); | |
16434 | if (PyErr_Occurred()) SWIG_fail; | |
16435 | } | |
16436 | resultobj = SWIG_Py_Void(); | |
16437 | return resultobj; | |
16438 | fail: | |
16439 | return NULL; | |
27e45892 | 16440 | } |
34d71f81 RD |
16441 | |
16442 | ||
16443 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetChildMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16444 | PyObject *resultobj = 0; | |
16445 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16446 | wxAuiMDIChildFrame *arg2 = (wxAuiMDIChildFrame *) 0 ; | |
16447 | void *argp1 = 0 ; | |
16448 | int res1 = 0 ; | |
16449 | void *argp2 = 0 ; | |
16450 | int res2 = 0 ; | |
16451 | PyObject * obj0 = 0 ; | |
16452 | PyObject * obj1 = 0 ; | |
16453 | char * kwnames[] = { | |
16454 | (char *) "self",(char *) "pChild", NULL | |
16455 | }; | |
16456 | ||
16457 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetChildMenuBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
16458 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16459 | if (!SWIG_IsOK(res1)) { | |
16460 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetChildMenuBar" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16461 | } | |
16462 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16463 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
16464 | if (!SWIG_IsOK(res2)) { | |
16465 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetChildMenuBar" "', expected argument " "2"" of type '" "wxAuiMDIChildFrame *""'"); | |
16466 | } | |
16467 | arg2 = reinterpret_cast< wxAuiMDIChildFrame * >(argp2); | |
16468 | { | |
16469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16470 | (arg1)->SetChildMenuBar(arg2); | |
16471 | wxPyEndAllowThreads(__tstate); | |
16472 | if (PyErr_Occurred()) SWIG_fail; | |
16473 | } | |
16474 | resultobj = SWIG_Py_Void(); | |
16475 | return resultobj; | |
16476 | fail: | |
16477 | return NULL; | |
10044bf1 | 16478 | } |
34d71f81 RD |
16479 | |
16480 | ||
16481 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ProcessEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16482 | PyObject *resultobj = 0; | |
16483 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16484 | wxEvent *arg2 = 0 ; | |
16485 | bool result; | |
16486 | void *argp1 = 0 ; | |
16487 | int res1 = 0 ; | |
16488 | void *argp2 = 0 ; | |
16489 | int res2 = 0 ; | |
16490 | PyObject * obj0 = 0 ; | |
16491 | PyObject * obj1 = 0 ; | |
16492 | char * kwnames[] = { | |
16493 | (char *) "self",(char *) "event", NULL | |
16494 | }; | |
16495 | ||
16496 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_ProcessEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
16497 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16498 | if (!SWIG_IsOK(res1)) { | |
16499 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ProcessEvent" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16500 | } | |
16501 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16502 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxEvent, 0 ); | |
16503 | if (!SWIG_IsOK(res2)) { | |
16504 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'"); | |
16505 | } | |
16506 | if (!argp2) { | |
16507 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIParentFrame_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'"); | |
16508 | } | |
16509 | arg2 = reinterpret_cast< wxEvent * >(argp2); | |
16510 | { | |
16511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16512 | result = (bool)(arg1)->ProcessEvent(*arg2); | |
16513 | wxPyEndAllowThreads(__tstate); | |
16514 | if (PyErr_Occurred()) SWIG_fail; | |
16515 | } | |
16516 | { | |
16517 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16518 | } | |
16519 | return resultobj; | |
16520 | fail: | |
16521 | return NULL; | |
27e45892 | 16522 | } |
34d71f81 RD |
16523 | |
16524 | ||
34d71f81 RD |
16525 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16526 | PyObject *resultobj = 0; | |
16527 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16528 | wxAuiMDIChildFrame *arg2 = (wxAuiMDIChildFrame *) 0 ; | |
16529 | void *argp1 = 0 ; | |
16530 | int res1 = 0 ; | |
16531 | void *argp2 = 0 ; | |
16532 | int res2 = 0 ; | |
16533 | PyObject * obj0 = 0 ; | |
16534 | PyObject * obj1 = 0 ; | |
16535 | char * kwnames[] = { | |
16536 | (char *) "self",(char *) "pChildFrame", NULL | |
16537 | }; | |
16538 | ||
16539 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetActiveChild",kwnames,&obj0,&obj1)) SWIG_fail; | |
16540 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16541 | if (!SWIG_IsOK(res1)) { | |
16542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetActiveChild" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16543 | } | |
16544 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16545 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
16546 | if (!SWIG_IsOK(res2)) { | |
16547 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetActiveChild" "', expected argument " "2"" of type '" "wxAuiMDIChildFrame *""'"); | |
16548 | } | |
16549 | arg2 = reinterpret_cast< wxAuiMDIChildFrame * >(argp2); | |
16550 | { | |
16551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16552 | (arg1)->SetActiveChild(arg2); | |
16553 | wxPyEndAllowThreads(__tstate); | |
16554 | if (PyErr_Occurred()) SWIG_fail; | |
16555 | } | |
16556 | resultobj = SWIG_Py_Void(); | |
16557 | return resultobj; | |
16558 | fail: | |
16559 | return NULL; | |
27e45892 | 16560 | } |
34d71f81 RD |
16561 | |
16562 | ||
34d71f81 RD |
16563 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_OnCreateClient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16564 | PyObject *resultobj = 0; | |
16565 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16566 | wxAuiMDIClientWindow *result = 0 ; | |
16567 | void *argp1 = 0 ; | |
16568 | int res1 = 0 ; | |
16569 | PyObject *swig_obj[1] ; | |
16570 | ||
16571 | if (!args) SWIG_fail; | |
16572 | swig_obj[0] = args; | |
16573 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16574 | if (!SWIG_IsOK(res1)) { | |
16575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_OnCreateClient" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16576 | } | |
16577 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16578 | { | |
16579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16580 | result = (wxAuiMDIClientWindow *)(arg1)->OnCreateClient(); | |
16581 | wxPyEndAllowThreads(__tstate); | |
16582 | if (PyErr_Occurred()) SWIG_fail; | |
16583 | } | |
16584 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
16585 | return resultobj; | |
16586 | fail: | |
16587 | return NULL; | |
27e45892 | 16588 | } |
34d71f81 RD |
16589 | |
16590 | ||
16591 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16592 | PyObject *resultobj = 0; | |
16593 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16594 | void *argp1 = 0 ; | |
16595 | int res1 = 0 ; | |
16596 | PyObject *swig_obj[1] ; | |
16597 | ||
16598 | if (!args) SWIG_fail; | |
16599 | swig_obj[0] = args; | |
16600 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16601 | if (!SWIG_IsOK(res1)) { | |
16602 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16603 | } | |
16604 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16605 | { | |
16606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16607 | (arg1)->Cascade(); | |
16608 | wxPyEndAllowThreads(__tstate); | |
16609 | if (PyErr_Occurred()) SWIG_fail; | |
16610 | } | |
16611 | resultobj = SWIG_Py_Void(); | |
16612 | return resultobj; | |
16613 | fail: | |
16614 | return NULL; | |
5eb8189c | 16615 | } |
34d71f81 RD |
16616 | |
16617 | ||
16618 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16619 | PyObject *resultobj = 0; | |
16620 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16621 | wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ; | |
16622 | void *argp1 = 0 ; | |
16623 | int res1 = 0 ; | |
16624 | int val2 ; | |
16625 | int ecode2 = 0 ; | |
16626 | PyObject * obj0 = 0 ; | |
16627 | PyObject * obj1 = 0 ; | |
16628 | char * kwnames[] = { | |
16629 | (char *) "self",(char *) "orient", NULL | |
16630 | }; | |
16631 | ||
16632 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiMDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail; | |
16633 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16634 | if (!SWIG_IsOK(res1)) { | |
16635 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16636 | } | |
16637 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16638 | if (obj1) { | |
16639 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16640 | if (!SWIG_IsOK(ecode2)) { | |
16641 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'"); | |
16642 | } | |
16643 | arg2 = static_cast< wxOrientation >(val2); | |
16644 | } | |
16645 | { | |
16646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16647 | (arg1)->Tile(arg2); | |
16648 | wxPyEndAllowThreads(__tstate); | |
16649 | if (PyErr_Occurred()) SWIG_fail; | |
16650 | } | |
16651 | resultobj = SWIG_Py_Void(); | |
16652 | return resultobj; | |
16653 | fail: | |
16654 | return NULL; | |
27e45892 | 16655 | } |
34d71f81 RD |
16656 | |
16657 | ||
16658 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16659 | PyObject *resultobj = 0; | |
16660 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16661 | void *argp1 = 0 ; | |
16662 | int res1 = 0 ; | |
16663 | PyObject *swig_obj[1] ; | |
16664 | ||
16665 | if (!args) SWIG_fail; | |
16666 | swig_obj[0] = args; | |
16667 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16668 | if (!SWIG_IsOK(res1)) { | |
16669 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16670 | } | |
16671 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16672 | { | |
16673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16674 | (arg1)->ArrangeIcons(); | |
16675 | wxPyEndAllowThreads(__tstate); | |
16676 | if (PyErr_Occurred()) SWIG_fail; | |
16677 | } | |
16678 | resultobj = SWIG_Py_Void(); | |
16679 | return resultobj; | |
16680 | fail: | |
16681 | return NULL; | |
10044bf1 | 16682 | } |
34d71f81 RD |
16683 | |
16684 | ||
16685 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16686 | PyObject *resultobj = 0; | |
16687 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16688 | void *argp1 = 0 ; | |
16689 | int res1 = 0 ; | |
16690 | PyObject *swig_obj[1] ; | |
16691 | ||
16692 | if (!args) SWIG_fail; | |
16693 | swig_obj[0] = args; | |
16694 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16695 | if (!SWIG_IsOK(res1)) { | |
16696 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16697 | } | |
16698 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16699 | { | |
16700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16701 | (arg1)->ActivateNext(); | |
16702 | wxPyEndAllowThreads(__tstate); | |
16703 | if (PyErr_Occurred()) SWIG_fail; | |
16704 | } | |
16705 | resultobj = SWIG_Py_Void(); | |
16706 | return resultobj; | |
16707 | fail: | |
16708 | return NULL; | |
10044bf1 | 16709 | } |
34d71f81 RD |
16710 | |
16711 | ||
16712 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16713 | PyObject *resultobj = 0; | |
16714 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16715 | void *argp1 = 0 ; | |
16716 | int res1 = 0 ; | |
16717 | PyObject *swig_obj[1] ; | |
16718 | ||
16719 | if (!args) SWIG_fail; | |
16720 | swig_obj[0] = args; | |
16721 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16722 | if (!SWIG_IsOK(res1)) { | |
16723 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16724 | } | |
16725 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16726 | { | |
16727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16728 | (arg1)->ActivatePrevious(); | |
16729 | wxPyEndAllowThreads(__tstate); | |
16730 | if (PyErr_Occurred()) SWIG_fail; | |
16731 | } | |
16732 | resultobj = SWIG_Py_Void(); | |
16733 | return resultobj; | |
16734 | fail: | |
16735 | return NULL; | |
10044bf1 | 16736 | } |
34d71f81 RD |
16737 | |
16738 | ||
cbfc9df6 RD |
16739 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16740 | PyObject *resultobj = 0; | |
16741 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16742 | wxAuiNotebook *result = 0 ; | |
16743 | void *argp1 = 0 ; | |
16744 | int res1 = 0 ; | |
16745 | PyObject *swig_obj[1] ; | |
16746 | ||
16747 | if (!args) SWIG_fail; | |
16748 | swig_obj[0] = args; | |
16749 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16750 | if (!SWIG_IsOK(res1)) { | |
16751 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetNotebook" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16752 | } | |
16753 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16754 | { | |
16755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16756 | result = (wxAuiNotebook *)wxAuiMDIParentFrame__GetNotebook((wxAuiMDIParentFrame const *)arg1); | |
16757 | wxPyEndAllowThreads(__tstate); | |
16758 | if (PyErr_Occurred()) SWIG_fail; | |
16759 | } | |
16760 | { | |
16761 | resultobj = wxPyMake_wxObject(result, 0); | |
16762 | } | |
16763 | return resultobj; | |
16764 | fail: | |
16765 | return NULL; | |
16766 | } | |
16767 | ||
16768 | ||
16769 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16770 | PyObject *resultobj = 0; | |
16771 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16772 | wxAuiMDIChildFrame *result = 0 ; | |
16773 | void *argp1 = 0 ; | |
16774 | int res1 = 0 ; | |
16775 | PyObject *swig_obj[1] ; | |
16776 | ||
16777 | if (!args) SWIG_fail; | |
16778 | swig_obj[0] = args; | |
16779 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16780 | if (!SWIG_IsOK(res1)) { | |
16781 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16782 | } | |
16783 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16784 | { | |
16785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16786 | result = (wxAuiMDIChildFrame *)wxAuiMDIParentFrame__GetActiveChild((wxAuiMDIParentFrame const *)arg1); | |
16787 | wxPyEndAllowThreads(__tstate); | |
16788 | if (PyErr_Occurred()) SWIG_fail; | |
16789 | } | |
16790 | { | |
16791 | resultobj = wxPyMake_wxObject(result, 0); | |
16792 | } | |
16793 | return resultobj; | |
16794 | fail: | |
16795 | return NULL; | |
16796 | } | |
16797 | ||
16798 | ||
16799 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16800 | PyObject *resultobj = 0; | |
16801 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16802 | wxAuiMDIClientWindow *result = 0 ; | |
16803 | void *argp1 = 0 ; | |
16804 | int res1 = 0 ; | |
16805 | PyObject *swig_obj[1] ; | |
16806 | ||
16807 | if (!args) SWIG_fail; | |
16808 | swig_obj[0] = args; | |
16809 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16810 | if (!SWIG_IsOK(res1)) { | |
16811 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16812 | } | |
16813 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16814 | { | |
16815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16816 | result = (wxAuiMDIClientWindow *)wxAuiMDIParentFrame__GetClientWindow((wxAuiMDIParentFrame const *)arg1); | |
16817 | wxPyEndAllowThreads(__tstate); | |
16818 | if (PyErr_Occurred()) SWIG_fail; | |
16819 | } | |
16820 | { | |
16821 | resultobj = wxPyMake_wxObject(result, 0); | |
16822 | } | |
16823 | return resultobj; | |
16824 | fail: | |
16825 | return NULL; | |
16826 | } | |
16827 | ||
16828 | ||
34d71f81 RD |
16829 | SWIGINTERN PyObject *AuiMDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16830 | PyObject *obj; | |
16831 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16832 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMDIParentFrame, SWIG_NewClientData(obj)); | |
16833 | return SWIG_Py_Void(); | |
10044bf1 | 16834 | } |
34d71f81 RD |
16835 | |
16836 | SWIGINTERN PyObject *AuiMDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16837 | return SWIG_Python_InitShadowInstance(args); | |
10044bf1 | 16838 | } |
34d71f81 RD |
16839 | |
16840 | SWIGINTERN PyObject *_wrap_new_PreAuiMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16841 | PyObject *resultobj = 0; | |
16842 | wxAuiMDIChildFrame *result = 0 ; | |
16843 | ||
16844 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMDIChildFrame",0,0,0)) SWIG_fail; | |
16845 | { | |
16846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16847 | result = (wxAuiMDIChildFrame *)new wxAuiMDIChildFrame(); | |
16848 | wxPyEndAllowThreads(__tstate); | |
16849 | if (PyErr_Occurred()) SWIG_fail; | |
16850 | } | |
16851 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIChildFrame, SWIG_POINTER_OWN | 0 ); | |
16852 | return resultobj; | |
16853 | fail: | |
16854 | return NULL; | |
10044bf1 | 16855 | } |
34d71f81 RD |
16856 | |
16857 | ||
16858 | SWIGINTERN PyObject *_wrap_new_AuiMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16859 | PyObject *resultobj = 0; | |
16860 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16861 | int arg2 ; | |
16862 | wxString *arg3 = 0 ; | |
16863 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
16864 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16865 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
16866 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
16867 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
16868 | wxString const &arg7_defvalue = wxFrameNameStr ; | |
16869 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
16870 | wxAuiMDIChildFrame *result = 0 ; | |
16871 | void *argp1 = 0 ; | |
16872 | int res1 = 0 ; | |
16873 | int val2 ; | |
16874 | int ecode2 = 0 ; | |
16875 | bool temp3 = false ; | |
16876 | wxPoint temp4 ; | |
16877 | wxSize temp5 ; | |
16878 | long val6 ; | |
16879 | int ecode6 = 0 ; | |
16880 | bool temp7 = false ; | |
16881 | PyObject * obj0 = 0 ; | |
16882 | PyObject * obj1 = 0 ; | |
16883 | PyObject * obj2 = 0 ; | |
16884 | PyObject * obj3 = 0 ; | |
16885 | PyObject * obj4 = 0 ; | |
16886 | PyObject * obj5 = 0 ; | |
16887 | PyObject * obj6 = 0 ; | |
16888 | char * kwnames[] = { | |
16889 | (char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16890 | }; | |
16891 | ||
16892 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_AuiMDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
16893 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16894 | if (!SWIG_IsOK(res1)) { | |
16895 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMDIChildFrame" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16896 | } | |
16897 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16898 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16899 | if (!SWIG_IsOK(ecode2)) { | |
16900 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMDIChildFrame" "', expected argument " "2"" of type '" "int""'"); | |
16901 | } | |
16902 | arg2 = static_cast< int >(val2); | |
16903 | { | |
16904 | arg3 = wxString_in_helper(obj2); | |
16905 | if (arg3 == NULL) SWIG_fail; | |
16906 | temp3 = true; | |
16907 | } | |
16908 | if (obj3) { | |
16909 | { | |
16910 | arg4 = &temp4; | |
16911 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
16912 | } | |
16913 | } | |
16914 | if (obj4) { | |
16915 | { | |
16916 | arg5 = &temp5; | |
16917 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
16918 | } | |
16919 | } | |
16920 | if (obj5) { | |
16921 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
16922 | if (!SWIG_IsOK(ecode6)) { | |
16923 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_AuiMDIChildFrame" "', expected argument " "6"" of type '" "long""'"); | |
16924 | } | |
16925 | arg6 = static_cast< long >(val6); | |
16926 | } | |
16927 | if (obj6) { | |
16928 | { | |
16929 | arg7 = wxString_in_helper(obj6); | |
16930 | if (arg7 == NULL) SWIG_fail; | |
16931 | temp7 = true; | |
16932 | } | |
16933 | } | |
16934 | { | |
16935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16936 | result = (wxAuiMDIChildFrame *)new wxAuiMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
16937 | wxPyEndAllowThreads(__tstate); | |
16938 | if (PyErr_Occurred()) SWIG_fail; | |
16939 | } | |
16940 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIChildFrame, SWIG_POINTER_NEW | 0 ); | |
16941 | { | |
16942 | if (temp3) | |
16943 | delete arg3; | |
16944 | } | |
16945 | { | |
16946 | if (temp7) | |
16947 | delete arg7; | |
16948 | } | |
16949 | return resultobj; | |
16950 | fail: | |
16951 | { | |
16952 | if (temp3) | |
16953 | delete arg3; | |
16954 | } | |
16955 | { | |
16956 | if (temp7) | |
16957 | delete arg7; | |
16958 | } | |
16959 | return NULL; | |
10044bf1 | 16960 | } |
34d71f81 RD |
16961 | |
16962 | ||
16963 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16964 | PyObject *resultobj = 0; | |
16965 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
16966 | wxAuiMDIParentFrame *arg2 = (wxAuiMDIParentFrame *) 0 ; | |
16967 | int arg3 ; | |
16968 | wxString *arg4 = 0 ; | |
16969 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
16970 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16971 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
16972 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
16973 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
16974 | wxString const &arg8_defvalue = wxFrameNameStr ; | |
16975 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
16976 | bool result; | |
16977 | void *argp1 = 0 ; | |
16978 | int res1 = 0 ; | |
16979 | void *argp2 = 0 ; | |
16980 | int res2 = 0 ; | |
16981 | int val3 ; | |
16982 | int ecode3 = 0 ; | |
16983 | bool temp4 = false ; | |
16984 | wxPoint temp5 ; | |
16985 | wxSize temp6 ; | |
16986 | long val7 ; | |
16987 | int ecode7 = 0 ; | |
16988 | bool temp8 = false ; | |
16989 | PyObject * obj0 = 0 ; | |
16990 | PyObject * obj1 = 0 ; | |
16991 | PyObject * obj2 = 0 ; | |
16992 | PyObject * obj3 = 0 ; | |
16993 | PyObject * obj4 = 0 ; | |
16994 | PyObject * obj5 = 0 ; | |
16995 | PyObject * obj6 = 0 ; | |
16996 | PyObject * obj7 = 0 ; | |
16997 | char * kwnames[] = { | |
16998 | (char *) "self",(char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16999 | }; | |
17000 | ||
17001 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:AuiMDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; | |
17002 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17003 | if (!SWIG_IsOK(res1)) { | |
17004 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17005 | } | |
17006 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17007 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
17008 | if (!SWIG_IsOK(res2)) { | |
17009 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "2"" of type '" "wxAuiMDIParentFrame *""'"); | |
17010 | } | |
17011 | arg2 = reinterpret_cast< wxAuiMDIParentFrame * >(argp2); | |
17012 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
17013 | if (!SWIG_IsOK(ecode3)) { | |
17014 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
17015 | } | |
17016 | arg3 = static_cast< int >(val3); | |
17017 | { | |
17018 | arg4 = wxString_in_helper(obj3); | |
17019 | if (arg4 == NULL) SWIG_fail; | |
17020 | temp4 = true; | |
17021 | } | |
17022 | if (obj4) { | |
17023 | { | |
17024 | arg5 = &temp5; | |
17025 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
17026 | } | |
17027 | } | |
17028 | if (obj5) { | |
17029 | { | |
17030 | arg6 = &temp6; | |
17031 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
17032 | } | |
17033 | } | |
17034 | if (obj6) { | |
17035 | ecode7 = SWIG_AsVal_long(obj6, &val7); | |
17036 | if (!SWIG_IsOK(ecode7)) { | |
17037 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'"); | |
17038 | } | |
17039 | arg7 = static_cast< long >(val7); | |
17040 | } | |
17041 | if (obj7) { | |
17042 | { | |
17043 | arg8 = wxString_in_helper(obj7); | |
17044 | if (arg8 == NULL) SWIG_fail; | |
17045 | temp8 = true; | |
17046 | } | |
17047 | } | |
17048 | { | |
17049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17050 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17051 | wxPyEndAllowThreads(__tstate); | |
17052 | if (PyErr_Occurred()) SWIG_fail; | |
17053 | } | |
17054 | { | |
17055 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17056 | } | |
17057 | { | |
17058 | if (temp4) | |
17059 | delete arg4; | |
17060 | } | |
17061 | { | |
17062 | if (temp8) | |
17063 | delete arg8; | |
17064 | } | |
17065 | return resultobj; | |
17066 | fail: | |
17067 | { | |
17068 | if (temp4) | |
17069 | delete arg4; | |
17070 | } | |
17071 | { | |
17072 | if (temp8) | |
17073 | delete arg8; | |
17074 | } | |
17075 | return NULL; | |
10044bf1 | 17076 | } |
34d71f81 RD |
17077 | |
17078 | ||
17079 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17080 | PyObject *resultobj = 0; | |
17081 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17082 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
17083 | void *argp1 = 0 ; | |
17084 | int res1 = 0 ; | |
17085 | void *argp2 = 0 ; | |
17086 | int res2 = 0 ; | |
17087 | PyObject * obj0 = 0 ; | |
17088 | PyObject * obj1 = 0 ; | |
17089 | char * kwnames[] = { | |
17090 | (char *) "self",(char *) "menu_bar", NULL | |
17091 | }; | |
17092 | ||
17093 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
17094 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17095 | if (!SWIG_IsOK(res1)) { | |
17096 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetMenuBar" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17097 | } | |
17098 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17099 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 ); | |
17100 | if (!SWIG_IsOK(res2)) { | |
17101 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'"); | |
17102 | } | |
17103 | arg2 = reinterpret_cast< wxMenuBar * >(argp2); | |
17104 | { | |
17105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17106 | (arg1)->SetMenuBar(arg2); | |
17107 | wxPyEndAllowThreads(__tstate); | |
17108 | if (PyErr_Occurred()) SWIG_fail; | |
17109 | } | |
17110 | resultobj = SWIG_Py_Void(); | |
17111 | return resultobj; | |
17112 | fail: | |
17113 | return NULL; | |
10044bf1 | 17114 | } |
34d71f81 RD |
17115 | |
17116 | ||
17117 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17118 | PyObject *resultobj = 0; | |
17119 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17120 | wxMenuBar *result = 0 ; | |
17121 | void *argp1 = 0 ; | |
17122 | int res1 = 0 ; | |
17123 | PyObject *swig_obj[1] ; | |
17124 | ||
17125 | if (!args) SWIG_fail; | |
17126 | swig_obj[0] = args; | |
17127 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17128 | if (!SWIG_IsOK(res1)) { | |
17129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetMenuBar" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17130 | } | |
17131 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17132 | { | |
17133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17134 | result = (wxMenuBar *)((wxAuiMDIChildFrame const *)arg1)->GetMenuBar(); | |
17135 | wxPyEndAllowThreads(__tstate); | |
17136 | if (PyErr_Occurred()) SWIG_fail; | |
17137 | } | |
17138 | { | |
17139 | resultobj = wxPyMake_wxObject(result, 0); | |
17140 | } | |
17141 | return resultobj; | |
17142 | fail: | |
17143 | return NULL; | |
10044bf1 | 17144 | } |
34d71f81 RD |
17145 | |
17146 | ||
17147 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17148 | PyObject *resultobj = 0; | |
17149 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17150 | wxString *arg2 = 0 ; | |
17151 | void *argp1 = 0 ; | |
17152 | int res1 = 0 ; | |
17153 | bool temp2 = false ; | |
17154 | PyObject * obj0 = 0 ; | |
17155 | PyObject * obj1 = 0 ; | |
17156 | char * kwnames[] = { | |
17157 | (char *) "self",(char *) "title", NULL | |
17158 | }; | |
17159 | ||
17160 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
17161 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17162 | if (!SWIG_IsOK(res1)) { | |
17163 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetTitle" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17164 | } | |
17165 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17166 | { | |
17167 | arg2 = wxString_in_helper(obj1); | |
17168 | if (arg2 == NULL) SWIG_fail; | |
17169 | temp2 = true; | |
17170 | } | |
17171 | { | |
17172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17173 | (arg1)->SetTitle((wxString const &)*arg2); | |
17174 | wxPyEndAllowThreads(__tstate); | |
17175 | if (PyErr_Occurred()) SWIG_fail; | |
17176 | } | |
17177 | resultobj = SWIG_Py_Void(); | |
17178 | { | |
17179 | if (temp2) | |
17180 | delete arg2; | |
17181 | } | |
17182 | return resultobj; | |
17183 | fail: | |
17184 | { | |
17185 | if (temp2) | |
17186 | delete arg2; | |
17187 | } | |
17188 | return NULL; | |
10044bf1 | 17189 | } |
34d71f81 RD |
17190 | |
17191 | ||
17192 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17193 | PyObject *resultobj = 0; | |
17194 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17195 | wxString result; | |
17196 | void *argp1 = 0 ; | |
17197 | int res1 = 0 ; | |
17198 | PyObject *swig_obj[1] ; | |
17199 | ||
17200 | if (!args) SWIG_fail; | |
17201 | swig_obj[0] = args; | |
17202 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17203 | if (!SWIG_IsOK(res1)) { | |
17204 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetTitle" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17205 | } | |
17206 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17207 | { | |
17208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17209 | result = ((wxAuiMDIChildFrame const *)arg1)->GetTitle(); | |
17210 | wxPyEndAllowThreads(__tstate); | |
17211 | if (PyErr_Occurred()) SWIG_fail; | |
17212 | } | |
17213 | { | |
17214 | #if wxUSE_UNICODE | |
17215 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
17216 | #else | |
17217 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
17218 | #endif | |
17219 | } | |
17220 | return resultobj; | |
17221 | fail: | |
17222 | return NULL; | |
10044bf1 | 17223 | } |
34d71f81 RD |
17224 | |
17225 | ||
17226 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17227 | PyObject *resultobj = 0; | |
17228 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17229 | wxIconBundle *arg2 = 0 ; | |
17230 | void *argp1 = 0 ; | |
17231 | int res1 = 0 ; | |
17232 | void *argp2 = 0 ; | |
17233 | int res2 = 0 ; | |
17234 | PyObject * obj0 = 0 ; | |
17235 | PyObject * obj1 = 0 ; | |
17236 | char * kwnames[] = { | |
17237 | (char *) "self",(char *) "icons", NULL | |
17238 | }; | |
17239 | ||
17240 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail; | |
17241 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17242 | if (!SWIG_IsOK(res1)) { | |
17243 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetIcons" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17244 | } | |
17245 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17246 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0); | |
17247 | if (!SWIG_IsOK(res2)) { | |
17248 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'"); | |
17249 | } | |
17250 | if (!argp2) { | |
17251 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'"); | |
17252 | } | |
17253 | arg2 = reinterpret_cast< wxIconBundle * >(argp2); | |
17254 | { | |
17255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17256 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
17257 | wxPyEndAllowThreads(__tstate); | |
17258 | if (PyErr_Occurred()) SWIG_fail; | |
17259 | } | |
17260 | resultobj = SWIG_Py_Void(); | |
17261 | return resultobj; | |
17262 | fail: | |
17263 | return NULL; | |
10044bf1 | 17264 | } |
34d71f81 RD |
17265 | |
17266 | ||
17267 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17268 | PyObject *resultobj = 0; | |
17269 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17270 | wxIconBundle *result = 0 ; | |
17271 | void *argp1 = 0 ; | |
17272 | int res1 = 0 ; | |
17273 | PyObject *swig_obj[1] ; | |
17274 | ||
17275 | if (!args) SWIG_fail; | |
17276 | swig_obj[0] = args; | |
17277 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17278 | if (!SWIG_IsOK(res1)) { | |
17279 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetIcons" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17280 | } | |
17281 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17282 | { | |
17283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17284 | { | |
17285 | wxIconBundle const &_result_ref = ((wxAuiMDIChildFrame const *)arg1)->GetIcons(); | |
17286 | result = (wxIconBundle *) &_result_ref; | |
17287 | } | |
17288 | wxPyEndAllowThreads(__tstate); | |
17289 | if (PyErr_Occurred()) SWIG_fail; | |
17290 | } | |
17291 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxIconBundle, 0 | 0 ); | |
17292 | return resultobj; | |
17293 | fail: | |
17294 | return NULL; | |
10044bf1 | 17295 | } |
34d71f81 RD |
17296 | |
17297 | ||
17298 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17299 | PyObject *resultobj = 0; | |
17300 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17301 | wxIcon *arg2 = 0 ; | |
17302 | void *argp1 = 0 ; | |
17303 | int res1 = 0 ; | |
17304 | void *argp2 = 0 ; | |
17305 | int res2 = 0 ; | |
17306 | PyObject * obj0 = 0 ; | |
17307 | PyObject * obj1 = 0 ; | |
17308 | char * kwnames[] = { | |
17309 | (char *) "self",(char *) "icon", NULL | |
17310 | }; | |
17311 | ||
17312 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail; | |
17313 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17314 | if (!SWIG_IsOK(res1)) { | |
17315 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetIcon" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17316 | } | |
17317 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17318 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0); | |
17319 | if (!SWIG_IsOK(res2)) { | |
17320 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); | |
17321 | } | |
17322 | if (!argp2) { | |
17323 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); | |
17324 | } | |
17325 | arg2 = reinterpret_cast< wxIcon * >(argp2); | |
17326 | { | |
17327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17328 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
17329 | wxPyEndAllowThreads(__tstate); | |
17330 | if (PyErr_Occurred()) SWIG_fail; | |
17331 | } | |
17332 | resultobj = SWIG_Py_Void(); | |
17333 | return resultobj; | |
17334 | fail: | |
17335 | return NULL; | |
10044bf1 | 17336 | } |
34d71f81 RD |
17337 | |
17338 | ||
17339 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17340 | PyObject *resultobj = 0; | |
17341 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17342 | wxIcon *result = 0 ; | |
17343 | void *argp1 = 0 ; | |
17344 | int res1 = 0 ; | |
17345 | PyObject *swig_obj[1] ; | |
17346 | ||
17347 | if (!args) SWIG_fail; | |
17348 | swig_obj[0] = args; | |
17349 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17350 | if (!SWIG_IsOK(res1)) { | |
17351 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetIcon" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17352 | } | |
17353 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17354 | { | |
17355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17356 | { | |
17357 | wxIcon const &_result_ref = ((wxAuiMDIChildFrame const *)arg1)->GetIcon(); | |
17358 | result = (wxIcon *) &_result_ref; | |
17359 | } | |
17360 | wxPyEndAllowThreads(__tstate); | |
17361 | if (PyErr_Occurred()) SWIG_fail; | |
17362 | } | |
17363 | { | |
17364 | wxIcon* resultptr = new wxIcon(*result); | |
17365 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1); | |
17366 | } | |
17367 | return resultobj; | |
17368 | fail: | |
17369 | return NULL; | |
10044bf1 | 17370 | } |
34d71f81 RD |
17371 | |
17372 | ||
17373 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17374 | PyObject *resultobj = 0; | |
17375 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17376 | void *argp1 = 0 ; | |
17377 | int res1 = 0 ; | |
17378 | PyObject *swig_obj[1] ; | |
17379 | ||
17380 | if (!args) SWIG_fail; | |
17381 | swig_obj[0] = args; | |
17382 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17383 | if (!SWIG_IsOK(res1)) { | |
17384 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17385 | } | |
17386 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17387 | { | |
17388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17389 | (arg1)->Activate(); | |
17390 | wxPyEndAllowThreads(__tstate); | |
17391 | if (PyErr_Occurred()) SWIG_fail; | |
17392 | } | |
17393 | resultobj = SWIG_Py_Void(); | |
17394 | return resultobj; | |
17395 | fail: | |
17396 | return NULL; | |
10044bf1 | 17397 | } |
34d71f81 RD |
17398 | |
17399 | ||
17400 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_DoSetSizeHints(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17401 | PyObject *resultobj = 0; | |
17402 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17403 | int arg2 ; | |
17404 | int arg3 ; | |
17405 | int arg4 = (int) wxDefaultCoord ; | |
17406 | int arg5 = (int) wxDefaultCoord ; | |
17407 | int arg6 = (int) wxDefaultCoord ; | |
17408 | int arg7 = (int) wxDefaultCoord ; | |
17409 | void *argp1 = 0 ; | |
17410 | int res1 = 0 ; | |
17411 | int val2 ; | |
17412 | int ecode2 = 0 ; | |
17413 | int val3 ; | |
17414 | int ecode3 = 0 ; | |
17415 | int val4 ; | |
17416 | int ecode4 = 0 ; | |
17417 | int val5 ; | |
17418 | int ecode5 = 0 ; | |
17419 | int val6 ; | |
17420 | int ecode6 = 0 ; | |
17421 | int val7 ; | |
17422 | int ecode7 = 0 ; | |
17423 | PyObject * obj0 = 0 ; | |
17424 | PyObject * obj1 = 0 ; | |
17425 | PyObject * obj2 = 0 ; | |
17426 | PyObject * obj3 = 0 ; | |
17427 | PyObject * obj4 = 0 ; | |
17428 | PyObject * obj5 = 0 ; | |
17429 | PyObject * obj6 = 0 ; | |
17430 | char * kwnames[] = { | |
17431 | (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL | |
17432 | }; | |
17433 | ||
17434 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:AuiMDIChildFrame_DoSetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
17435 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17436 | if (!SWIG_IsOK(res1)) { | |
17437 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17438 | } | |
17439 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17440 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
17441 | if (!SWIG_IsOK(ecode2)) { | |
17442 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "2"" of type '" "int""'"); | |
17443 | } | |
17444 | arg2 = static_cast< int >(val2); | |
17445 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
17446 | if (!SWIG_IsOK(ecode3)) { | |
17447 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "3"" of type '" "int""'"); | |
17448 | } | |
17449 | arg3 = static_cast< int >(val3); | |
17450 | if (obj3) { | |
17451 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
17452 | if (!SWIG_IsOK(ecode4)) { | |
17453 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "4"" of type '" "int""'"); | |
17454 | } | |
17455 | arg4 = static_cast< int >(val4); | |
17456 | } | |
17457 | if (obj4) { | |
17458 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
17459 | if (!SWIG_IsOK(ecode5)) { | |
17460 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "5"" of type '" "int""'"); | |
17461 | } | |
17462 | arg5 = static_cast< int >(val5); | |
17463 | } | |
17464 | if (obj5) { | |
17465 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
17466 | if (!SWIG_IsOK(ecode6)) { | |
17467 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "6"" of type '" "int""'"); | |
17468 | } | |
17469 | arg6 = static_cast< int >(val6); | |
17470 | } | |
17471 | if (obj6) { | |
17472 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
17473 | if (!SWIG_IsOK(ecode7)) { | |
17474 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "7"" of type '" "int""'"); | |
17475 | } | |
17476 | arg7 = static_cast< int >(val7); | |
17477 | } | |
17478 | { | |
17479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17480 | (arg1)->DoSetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7); | |
17481 | wxPyEndAllowThreads(__tstate); | |
17482 | if (PyErr_Occurred()) SWIG_fail; | |
17483 | } | |
17484 | resultobj = SWIG_Py_Void(); | |
17485 | return resultobj; | |
17486 | fail: | |
17487 | return NULL; | |
10044bf1 | 17488 | } |
34d71f81 RD |
17489 | |
17490 | ||
17491 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17492 | PyObject *resultobj = 0; | |
17493 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17494 | bool arg2 = (bool) true ; | |
17495 | void *argp1 = 0 ; | |
17496 | int res1 = 0 ; | |
17497 | bool val2 ; | |
17498 | int ecode2 = 0 ; | |
17499 | PyObject * obj0 = 0 ; | |
17500 | PyObject * obj1 = 0 ; | |
17501 | char * kwnames[] = { | |
17502 | (char *) "self",(char *) "maximize", NULL | |
17503 | }; | |
17504 | ||
17505 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiMDIChildFrame_Maximize",kwnames,&obj0,&obj1)) SWIG_fail; | |
17506 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17507 | if (!SWIG_IsOK(res1)) { | |
17508 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Maximize" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17509 | } | |
17510 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17511 | if (obj1) { | |
17512 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17513 | if (!SWIG_IsOK(ecode2)) { | |
17514 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_Maximize" "', expected argument " "2"" of type '" "bool""'"); | |
17515 | } | |
17516 | arg2 = static_cast< bool >(val2); | |
17517 | } | |
17518 | { | |
17519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17520 | (arg1)->Maximize(arg2); | |
17521 | wxPyEndAllowThreads(__tstate); | |
17522 | if (PyErr_Occurred()) SWIG_fail; | |
17523 | } | |
17524 | resultobj = SWIG_Py_Void(); | |
17525 | return resultobj; | |
17526 | fail: | |
17527 | return NULL; | |
10044bf1 | 17528 | } |
34d71f81 RD |
17529 | |
17530 | ||
17531 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17532 | PyObject *resultobj = 0; | |
17533 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17534 | void *argp1 = 0 ; | |
17535 | int res1 = 0 ; | |
17536 | PyObject *swig_obj[1] ; | |
17537 | ||
17538 | if (!args) SWIG_fail; | |
17539 | swig_obj[0] = args; | |
17540 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17541 | if (!SWIG_IsOK(res1)) { | |
17542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Restore" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17543 | } | |
17544 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17545 | { | |
17546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17547 | (arg1)->Restore(); | |
17548 | wxPyEndAllowThreads(__tstate); | |
17549 | if (PyErr_Occurred()) SWIG_fail; | |
17550 | } | |
17551 | resultobj = SWIG_Py_Void(); | |
17552 | return resultobj; | |
17553 | fail: | |
17554 | return NULL; | |
10044bf1 | 17555 | } |
34d71f81 RD |
17556 | |
17557 | ||
17558 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17559 | PyObject *resultobj = 0; | |
17560 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17561 | bool arg2 = (bool) true ; | |
17562 | void *argp1 = 0 ; | |
17563 | int res1 = 0 ; | |
17564 | bool val2 ; | |
17565 | int ecode2 = 0 ; | |
17566 | PyObject * obj0 = 0 ; | |
17567 | PyObject * obj1 = 0 ; | |
17568 | char * kwnames[] = { | |
17569 | (char *) "self",(char *) "iconize", NULL | |
17570 | }; | |
17571 | ||
17572 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiMDIChildFrame_Iconize",kwnames,&obj0,&obj1)) SWIG_fail; | |
17573 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17574 | if (!SWIG_IsOK(res1)) { | |
17575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Iconize" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17576 | } | |
17577 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17578 | if (obj1) { | |
17579 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17580 | if (!SWIG_IsOK(ecode2)) { | |
17581 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_Iconize" "', expected argument " "2"" of type '" "bool""'"); | |
17582 | } | |
17583 | arg2 = static_cast< bool >(val2); | |
17584 | } | |
17585 | { | |
17586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17587 | (arg1)->Iconize(arg2); | |
17588 | wxPyEndAllowThreads(__tstate); | |
17589 | if (PyErr_Occurred()) SWIG_fail; | |
17590 | } | |
17591 | resultobj = SWIG_Py_Void(); | |
17592 | return resultobj; | |
17593 | fail: | |
17594 | return NULL; | |
10044bf1 | 17595 | } |
34d71f81 RD |
17596 | |
17597 | ||
17598 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17599 | PyObject *resultobj = 0; | |
17600 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17601 | bool result; | |
17602 | void *argp1 = 0 ; | |
17603 | int res1 = 0 ; | |
17604 | PyObject *swig_obj[1] ; | |
17605 | ||
17606 | if (!args) SWIG_fail; | |
17607 | swig_obj[0] = args; | |
17608 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17609 | if (!SWIG_IsOK(res1)) { | |
17610 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_IsMaximized" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17611 | } | |
17612 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17613 | { | |
17614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17615 | result = (bool)((wxAuiMDIChildFrame const *)arg1)->IsMaximized(); | |
17616 | wxPyEndAllowThreads(__tstate); | |
17617 | if (PyErr_Occurred()) SWIG_fail; | |
17618 | } | |
17619 | { | |
17620 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17621 | } | |
17622 | return resultobj; | |
17623 | fail: | |
17624 | return NULL; | |
10044bf1 | 17625 | } |
34d71f81 RD |
17626 | |
17627 | ||
17628 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17629 | PyObject *resultobj = 0; | |
17630 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17631 | bool result; | |
17632 | void *argp1 = 0 ; | |
17633 | int res1 = 0 ; | |
17634 | PyObject *swig_obj[1] ; | |
17635 | ||
17636 | if (!args) SWIG_fail; | |
17637 | swig_obj[0] = args; | |
17638 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17639 | if (!SWIG_IsOK(res1)) { | |
17640 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_IsIconized" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17641 | } | |
17642 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17643 | { | |
17644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17645 | result = (bool)((wxAuiMDIChildFrame const *)arg1)->IsIconized(); | |
17646 | wxPyEndAllowThreads(__tstate); | |
17647 | if (PyErr_Occurred()) SWIG_fail; | |
17648 | } | |
17649 | { | |
17650 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17651 | } | |
17652 | return resultobj; | |
17653 | fail: | |
17654 | return NULL; | |
10044bf1 | 17655 | } |
34d71f81 RD |
17656 | |
17657 | ||
17658 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17659 | PyObject *resultobj = 0; | |
17660 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17661 | bool arg2 ; | |
17662 | long arg3 ; | |
17663 | bool result; | |
17664 | void *argp1 = 0 ; | |
17665 | int res1 = 0 ; | |
17666 | bool val2 ; | |
17667 | int ecode2 = 0 ; | |
17668 | long val3 ; | |
17669 | int ecode3 = 0 ; | |
17670 | PyObject * obj0 = 0 ; | |
17671 | PyObject * obj1 = 0 ; | |
17672 | PyObject * obj2 = 0 ; | |
17673 | char * kwnames[] = { | |
17674 | (char *) "self",(char *) "show",(char *) "style", NULL | |
17675 | }; | |
17676 | ||
17677 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiMDIChildFrame_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17678 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17679 | if (!SWIG_IsOK(res1)) { | |
17680 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_ShowFullScreen" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17681 | } | |
17682 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17683 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17684 | if (!SWIG_IsOK(ecode2)) { | |
17685 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'"); | |
17686 | } | |
17687 | arg2 = static_cast< bool >(val2); | |
17688 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
17689 | if (!SWIG_IsOK(ecode3)) { | |
17690 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIChildFrame_ShowFullScreen" "', expected argument " "3"" of type '" "long""'"); | |
17691 | } | |
17692 | arg3 = static_cast< long >(val3); | |
17693 | { | |
17694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17695 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
17696 | wxPyEndAllowThreads(__tstate); | |
17697 | if (PyErr_Occurred()) SWIG_fail; | |
17698 | } | |
17699 | { | |
17700 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17701 | } | |
17702 | return resultobj; | |
17703 | fail: | |
17704 | return NULL; | |
10044bf1 | 17705 | } |
34d71f81 RD |
17706 | |
17707 | ||
17708 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17709 | PyObject *resultobj = 0; | |
17710 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17711 | bool result; | |
17712 | void *argp1 = 0 ; | |
17713 | int res1 = 0 ; | |
17714 | PyObject *swig_obj[1] ; | |
17715 | ||
17716 | if (!args) SWIG_fail; | |
17717 | swig_obj[0] = args; | |
17718 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17719 | if (!SWIG_IsOK(res1)) { | |
17720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_IsFullScreen" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17721 | } | |
17722 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17723 | { | |
17724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17725 | result = (bool)((wxAuiMDIChildFrame const *)arg1)->IsFullScreen(); | |
17726 | wxPyEndAllowThreads(__tstate); | |
17727 | if (PyErr_Occurred()) SWIG_fail; | |
17728 | } | |
17729 | { | |
17730 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17731 | } | |
17732 | return resultobj; | |
17733 | fail: | |
17734 | return NULL; | |
10044bf1 | 17735 | } |
34d71f81 RD |
17736 | |
17737 | ||
17738 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_OnMenuHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17739 | PyObject *resultobj = 0; | |
17740 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17741 | wxMenuEvent *arg2 = 0 ; | |
17742 | void *argp1 = 0 ; | |
17743 | int res1 = 0 ; | |
17744 | void *argp2 = 0 ; | |
17745 | int res2 = 0 ; | |
17746 | PyObject * obj0 = 0 ; | |
17747 | PyObject * obj1 = 0 ; | |
17748 | char * kwnames[] = { | |
17749 | (char *) "self",(char *) "evt", NULL | |
17750 | }; | |
17751 | ||
17752 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_OnMenuHighlight",kwnames,&obj0,&obj1)) SWIG_fail; | |
17753 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17754 | if (!SWIG_IsOK(res1)) { | |
17755 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_OnMenuHighlight" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17756 | } | |
17757 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17758 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMenuEvent, 0 ); | |
17759 | if (!SWIG_IsOK(res2)) { | |
17760 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_OnMenuHighlight" "', expected argument " "2"" of type '" "wxMenuEvent &""'"); | |
17761 | } | |
17762 | if (!argp2) { | |
17763 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_OnMenuHighlight" "', expected argument " "2"" of type '" "wxMenuEvent &""'"); | |
17764 | } | |
17765 | arg2 = reinterpret_cast< wxMenuEvent * >(argp2); | |
17766 | { | |
17767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17768 | (arg1)->OnMenuHighlight(*arg2); | |
17769 | wxPyEndAllowThreads(__tstate); | |
17770 | if (PyErr_Occurred()) SWIG_fail; | |
17771 | } | |
17772 | resultobj = SWIG_Py_Void(); | |
17773 | return resultobj; | |
17774 | fail: | |
17775 | return NULL; | |
10044bf1 | 17776 | } |
34d71f81 RD |
17777 | |
17778 | ||
17779 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_OnActivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17780 | PyObject *resultobj = 0; | |
17781 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17782 | wxActivateEvent *arg2 = 0 ; | |
17783 | void *argp1 = 0 ; | |
17784 | int res1 = 0 ; | |
17785 | void *argp2 = 0 ; | |
17786 | int res2 = 0 ; | |
17787 | PyObject * obj0 = 0 ; | |
17788 | PyObject * obj1 = 0 ; | |
17789 | char * kwnames[] = { | |
17790 | (char *) "self",(char *) "evt", NULL | |
17791 | }; | |
17792 | ||
17793 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_OnActivate",kwnames,&obj0,&obj1)) SWIG_fail; | |
17794 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17795 | if (!SWIG_IsOK(res1)) { | |
17796 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_OnActivate" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17797 | } | |
17798 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17799 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxActivateEvent, 0 ); | |
17800 | if (!SWIG_IsOK(res2)) { | |
17801 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_OnActivate" "', expected argument " "2"" of type '" "wxActivateEvent &""'"); | |
17802 | } | |
17803 | if (!argp2) { | |
17804 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_OnActivate" "', expected argument " "2"" of type '" "wxActivateEvent &""'"); | |
17805 | } | |
17806 | arg2 = reinterpret_cast< wxActivateEvent * >(argp2); | |
17807 | { | |
17808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17809 | (arg1)->OnActivate(*arg2); | |
17810 | wxPyEndAllowThreads(__tstate); | |
17811 | if (PyErr_Occurred()) SWIG_fail; | |
17812 | } | |
17813 | resultobj = SWIG_Py_Void(); | |
17814 | return resultobj; | |
17815 | fail: | |
17816 | return NULL; | |
10044bf1 | 17817 | } |
34d71f81 RD |
17818 | |
17819 | ||
17820 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_OnCloseWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17821 | PyObject *resultobj = 0; | |
17822 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17823 | wxCloseEvent *arg2 = 0 ; | |
17824 | void *argp1 = 0 ; | |
17825 | int res1 = 0 ; | |
17826 | void *argp2 = 0 ; | |
17827 | int res2 = 0 ; | |
17828 | PyObject * obj0 = 0 ; | |
17829 | PyObject * obj1 = 0 ; | |
17830 | char * kwnames[] = { | |
17831 | (char *) "self",(char *) "evt", NULL | |
17832 | }; | |
17833 | ||
17834 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_OnCloseWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
17835 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17836 | if (!SWIG_IsOK(res1)) { | |
17837 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_OnCloseWindow" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17838 | } | |
17839 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17840 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCloseEvent, 0 ); | |
17841 | if (!SWIG_IsOK(res2)) { | |
17842 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_OnCloseWindow" "', expected argument " "2"" of type '" "wxCloseEvent &""'"); | |
17843 | } | |
17844 | if (!argp2) { | |
17845 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_OnCloseWindow" "', expected argument " "2"" of type '" "wxCloseEvent &""'"); | |
17846 | } | |
17847 | arg2 = reinterpret_cast< wxCloseEvent * >(argp2); | |
17848 | { | |
17849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17850 | (arg1)->OnCloseWindow(*arg2); | |
17851 | wxPyEndAllowThreads(__tstate); | |
17852 | if (PyErr_Occurred()) SWIG_fail; | |
17853 | } | |
17854 | resultobj = SWIG_Py_Void(); | |
17855 | return resultobj; | |
17856 | fail: | |
17857 | return NULL; | |
10044bf1 | 17858 | } |
34d71f81 RD |
17859 | |
17860 | ||
17861 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17862 | PyObject *resultobj = 0; | |
17863 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17864 | wxAuiMDIParentFrame *arg2 = (wxAuiMDIParentFrame *) 0 ; | |
17865 | void *argp1 = 0 ; | |
17866 | int res1 = 0 ; | |
17867 | void *argp2 = 0 ; | |
17868 | int res2 = 0 ; | |
17869 | PyObject * obj0 = 0 ; | |
17870 | PyObject * obj1 = 0 ; | |
17871 | char * kwnames[] = { | |
17872 | (char *) "self",(char *) "parent", NULL | |
17873 | }; | |
17874 | ||
17875 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetMDIParentFrame",kwnames,&obj0,&obj1)) SWIG_fail; | |
17876 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17877 | if (!SWIG_IsOK(res1)) { | |
17878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetMDIParentFrame" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17879 | } | |
17880 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17881 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
17882 | if (!SWIG_IsOK(res2)) { | |
17883 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetMDIParentFrame" "', expected argument " "2"" of type '" "wxAuiMDIParentFrame *""'"); | |
17884 | } | |
17885 | arg2 = reinterpret_cast< wxAuiMDIParentFrame * >(argp2); | |
17886 | { | |
17887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17888 | (arg1)->SetMDIParentFrame(arg2); | |
17889 | wxPyEndAllowThreads(__tstate); | |
17890 | if (PyErr_Occurred()) SWIG_fail; | |
17891 | } | |
17892 | resultobj = SWIG_Py_Void(); | |
17893 | return resultobj; | |
17894 | fail: | |
17895 | return NULL; | |
10044bf1 | 17896 | } |
34d71f81 RD |
17897 | |
17898 | ||
17899 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17900 | PyObject *resultobj = 0; | |
17901 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17902 | wxAuiMDIParentFrame *result = 0 ; | |
17903 | void *argp1 = 0 ; | |
17904 | int res1 = 0 ; | |
17905 | PyObject *swig_obj[1] ; | |
17906 | ||
17907 | if (!args) SWIG_fail; | |
17908 | swig_obj[0] = args; | |
17909 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17910 | if (!SWIG_IsOK(res1)) { | |
17911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetMDIParentFrame" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17912 | } | |
17913 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17914 | { | |
17915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17916 | result = (wxAuiMDIParentFrame *)((wxAuiMDIChildFrame const *)arg1)->GetMDIParentFrame(); | |
17917 | wxPyEndAllowThreads(__tstate); | |
17918 | if (PyErr_Occurred()) SWIG_fail; | |
17919 | } | |
17920 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
17921 | return resultobj; | |
17922 | fail: | |
17923 | return NULL; | |
10044bf1 | 17924 | } |
34d71f81 RD |
17925 | |
17926 | ||
17927 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_ApplyMDIChildFrameRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17928 | PyObject *resultobj = 0; | |
17929 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17930 | void *argp1 = 0 ; | |
17931 | int res1 = 0 ; | |
17932 | PyObject *swig_obj[1] ; | |
17933 | ||
17934 | if (!args) SWIG_fail; | |
17935 | swig_obj[0] = args; | |
17936 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17937 | if (!SWIG_IsOK(res1)) { | |
17938 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_ApplyMDIChildFrameRect" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17939 | } | |
17940 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17941 | { | |
17942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17943 | (arg1)->ApplyMDIChildFrameRect(); | |
17944 | wxPyEndAllowThreads(__tstate); | |
17945 | if (PyErr_Occurred()) SWIG_fail; | |
17946 | } | |
17947 | resultobj = SWIG_Py_Void(); | |
17948 | return resultobj; | |
17949 | fail: | |
17950 | return NULL; | |
10044bf1 | 17951 | } |
34d71f81 RD |
17952 | |
17953 | ||
17954 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_DoShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17955 | PyObject *resultobj = 0; | |
17956 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17957 | bool arg2 ; | |
17958 | void *argp1 = 0 ; | |
17959 | int res1 = 0 ; | |
17960 | bool val2 ; | |
17961 | int ecode2 = 0 ; | |
17962 | PyObject * obj0 = 0 ; | |
17963 | PyObject * obj1 = 0 ; | |
17964 | char * kwnames[] = { | |
17965 | (char *) "self",(char *) "show", NULL | |
17966 | }; | |
17967 | ||
17968 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_DoShow",kwnames,&obj0,&obj1)) SWIG_fail; | |
17969 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17970 | if (!SWIG_IsOK(res1)) { | |
17971 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_DoShow" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17972 | } | |
17973 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17974 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17975 | if (!SWIG_IsOK(ecode2)) { | |
17976 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_DoShow" "', expected argument " "2"" of type '" "bool""'"); | |
17977 | } | |
17978 | arg2 = static_cast< bool >(val2); | |
17979 | { | |
17980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17981 | (arg1)->DoShow(arg2); | |
17982 | wxPyEndAllowThreads(__tstate); | |
17983 | if (PyErr_Occurred()) SWIG_fail; | |
17984 | } | |
17985 | resultobj = SWIG_Py_Void(); | |
17986 | return resultobj; | |
17987 | fail: | |
17988 | return NULL; | |
10044bf1 | 17989 | } |
34d71f81 RD |
17990 | |
17991 | ||
17992 | SWIGINTERN PyObject *AuiMDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17993 | PyObject *obj; | |
17994 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17995 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMDIChildFrame, SWIG_NewClientData(obj)); | |
17996 | return SWIG_Py_Void(); | |
10044bf1 | 17997 | } |
34d71f81 RD |
17998 | |
17999 | SWIGINTERN PyObject *AuiMDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18000 | return SWIG_Python_InitShadowInstance(args); | |
10044bf1 | 18001 | } |
34d71f81 RD |
18002 | |
18003 | SWIGINTERN PyObject *_wrap_new_PreAuiMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18004 | PyObject *resultobj = 0; | |
18005 | wxAuiMDIClientWindow *result = 0 ; | |
18006 | ||
18007 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMDIClientWindow",0,0,0)) SWIG_fail; | |
18008 | { | |
18009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18010 | result = (wxAuiMDIClientWindow *)new wxAuiMDIClientWindow(); | |
18011 | wxPyEndAllowThreads(__tstate); | |
18012 | if (PyErr_Occurred()) SWIG_fail; | |
18013 | } | |
18014 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, SWIG_POINTER_OWN | 0 ); | |
18015 | return resultobj; | |
18016 | fail: | |
18017 | return NULL; | |
f9bf356b | 18018 | } |
34d71f81 RD |
18019 | |
18020 | ||
18021 | SWIGINTERN PyObject *_wrap_new_AuiMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
18022 | PyObject *resultobj = 0; | |
18023 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
18024 | long arg2 = (long) 0 ; | |
18025 | wxAuiMDIClientWindow *result = 0 ; | |
18026 | void *argp1 = 0 ; | |
18027 | int res1 = 0 ; | |
18028 | long val2 ; | |
18029 | int ecode2 = 0 ; | |
18030 | PyObject * obj0 = 0 ; | |
18031 | PyObject * obj1 = 0 ; | |
18032 | char * kwnames[] = { | |
18033 | (char *) "parent",(char *) "style", NULL | |
18034 | }; | |
18035 | ||
18036 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_AuiMDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
18037 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
18038 | if (!SWIG_IsOK(res1)) { | |
18039 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMDIClientWindow" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
18040 | } | |
18041 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
18042 | if (obj1) { | |
18043 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
18044 | if (!SWIG_IsOK(ecode2)) { | |
18045 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMDIClientWindow" "', expected argument " "2"" of type '" "long""'"); | |
18046 | } | |
18047 | arg2 = static_cast< long >(val2); | |
18048 | } | |
18049 | { | |
18050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18051 | result = (wxAuiMDIClientWindow *)new wxAuiMDIClientWindow(arg1,arg2); | |
18052 | wxPyEndAllowThreads(__tstate); | |
18053 | if (PyErr_Occurred()) SWIG_fail; | |
18054 | } | |
18055 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, SWIG_POINTER_NEW | 0 ); | |
18056 | return resultobj; | |
18057 | fail: | |
18058 | return NULL; | |
10044bf1 | 18059 | } |
34d71f81 RD |
18060 | |
18061 | ||
18062 | SWIGINTERN PyObject *_wrap_AuiMDIClientWindow_CreateClient(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
18063 | PyObject *resultobj = 0; | |
18064 | wxAuiMDIClientWindow *arg1 = (wxAuiMDIClientWindow *) 0 ; | |
18065 | wxAuiMDIParentFrame *arg2 = (wxAuiMDIParentFrame *) 0 ; | |
18066 | long arg3 = (long) wxVSCROLL|wxHSCROLL ; | |
18067 | bool result; | |
18068 | void *argp1 = 0 ; | |
18069 | int res1 = 0 ; | |
18070 | void *argp2 = 0 ; | |
18071 | int res2 = 0 ; | |
18072 | long val3 ; | |
18073 | int ecode3 = 0 ; | |
18074 | PyObject * obj0 = 0 ; | |
18075 | PyObject * obj1 = 0 ; | |
18076 | PyObject * obj2 = 0 ; | |
18077 | char * kwnames[] = { | |
18078 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
18079 | }; | |
18080 | ||
18081 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiMDIClientWindow_CreateClient",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
18082 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
18083 | if (!SWIG_IsOK(res1)) { | |
18084 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIClientWindow_CreateClient" "', expected argument " "1"" of type '" "wxAuiMDIClientWindow *""'"); | |
18085 | } | |
18086 | arg1 = reinterpret_cast< wxAuiMDIClientWindow * >(argp1); | |
18087 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
18088 | if (!SWIG_IsOK(res2)) { | |
18089 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIClientWindow_CreateClient" "', expected argument " "2"" of type '" "wxAuiMDIParentFrame *""'"); | |
18090 | } | |
18091 | arg2 = reinterpret_cast< wxAuiMDIParentFrame * >(argp2); | |
18092 | if (obj2) { | |
18093 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
18094 | if (!SWIG_IsOK(ecode3)) { | |
18095 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIClientWindow_CreateClient" "', expected argument " "3"" of type '" "long""'"); | |
18096 | } | |
18097 | arg3 = static_cast< long >(val3); | |
18098 | } | |
18099 | { | |
18100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18101 | result = (bool)(arg1)->CreateClient(arg2,arg3); | |
18102 | wxPyEndAllowThreads(__tstate); | |
18103 | if (PyErr_Occurred()) SWIG_fail; | |
18104 | } | |
18105 | { | |
18106 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18107 | } | |
18108 | return resultobj; | |
18109 | fail: | |
18110 | return NULL; | |
10044bf1 | 18111 | } |
34d71f81 RD |
18112 | |
18113 | ||
18114 | SWIGINTERN PyObject *_wrap_AuiMDIClientWindow_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
18115 | PyObject *resultobj = 0; | |
18116 | wxAuiMDIClientWindow *arg1 = (wxAuiMDIClientWindow *) 0 ; | |
18117 | size_t arg2 ; | |
18118 | int result; | |
18119 | void *argp1 = 0 ; | |
18120 | int res1 = 0 ; | |
18121 | size_t val2 ; | |
18122 | int ecode2 = 0 ; | |
18123 | PyObject * obj0 = 0 ; | |
18124 | PyObject * obj1 = 0 ; | |
18125 | char * kwnames[] = { | |
18126 | (char *) "self",(char *) "page", NULL | |
18127 | }; | |
18128 | ||
18129 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIClientWindow_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
18130 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
18131 | if (!SWIG_IsOK(res1)) { | |
18132 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIClientWindow_SetSelection" "', expected argument " "1"" of type '" "wxAuiMDIClientWindow *""'"); | |
18133 | } | |
18134 | arg1 = reinterpret_cast< wxAuiMDIClientWindow * >(argp1); | |
18135 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
18136 | if (!SWIG_IsOK(ecode2)) { | |
18137 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIClientWindow_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
18138 | } | |
18139 | arg2 = static_cast< size_t >(val2); | |
18140 | { | |
18141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18142 | result = (int)(arg1)->SetSelection(arg2); | |
18143 | wxPyEndAllowThreads(__tstate); | |
18144 | if (PyErr_Occurred()) SWIG_fail; | |
18145 | } | |
18146 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
18147 | return resultobj; | |
18148 | fail: | |
18149 | return NULL; | |
10044bf1 | 18150 | } |
34d71f81 RD |
18151 | |
18152 | ||
18153 | SWIGINTERN PyObject *AuiMDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18154 | PyObject *obj; | |
18155 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
18156 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMDIClientWindow, SWIG_NewClientData(obj)); | |
18157 | return SWIG_Py_Void(); | |
10044bf1 | 18158 | } |
34d71f81 RD |
18159 | |
18160 | SWIGINTERN PyObject *AuiMDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18161 | return SWIG_Python_InitShadowInstance(args); | |
10044bf1 | 18162 | } |
34d71f81 | 18163 | |
cbfc9df6 RD |
18164 | SWIGINTERN PyObject *_wrap_new_PyAuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
18165 | PyObject *resultobj = 0; | |
18166 | wxPyAuiDockArt *result = 0 ; | |
18167 | ||
18168 | if (!SWIG_Python_UnpackTuple(args,"new_PyAuiDockArt",0,0,0)) SWIG_fail; | |
18169 | { | |
18170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18171 | result = (wxPyAuiDockArt *)new wxPyAuiDockArt(); | |
18172 | wxPyEndAllowThreads(__tstate); | |
18173 | if (PyErr_Occurred()) SWIG_fail; | |
18174 | } | |
18175 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyAuiDockArt, SWIG_POINTER_NEW | 0 ); | |
18176 | return resultobj; | |
18177 | fail: | |
18178 | return NULL; | |
18179 | } | |
18180 | ||
18181 | ||
34d71f81 RD |
18182 | SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
18183 | PyObject *obj; | |
18184 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
18185 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj)); | |
18186 | return SWIG_Py_Void(); | |
10044bf1 | 18187 | } |
34d71f81 | 18188 | |
cbfc9df6 RD |
18189 | SWIGINTERN PyObject *PyAuiDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
18190 | return SWIG_Python_InitShadowInstance(args); | |
18191 | } | |
18192 | ||
4976f996 RD |
18193 | SWIGINTERN PyObject *_wrap_new_PyAuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
18194 | PyObject *resultobj = 0; | |
18195 | wxPyAuiTabArt *result = 0 ; | |
18196 | ||
18197 | if (!SWIG_Python_UnpackTuple(args,"new_PyAuiTabArt",0,0,0)) SWIG_fail; | |
18198 | { | |
18199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18200 | result = (wxPyAuiTabArt *)new wxPyAuiTabArt(); | |
18201 | wxPyEndAllowThreads(__tstate); | |
18202 | if (PyErr_Occurred()) SWIG_fail; | |
18203 | } | |
18204 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyAuiTabArt, SWIG_POINTER_NEW | 0 ); | |
18205 | return resultobj; | |
18206 | fail: | |
18207 | return NULL; | |
18208 | } | |
18209 | ||
18210 | ||
34d71f81 RD |
18211 | SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
18212 | PyObject *obj; | |
18213 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
18214 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj)); | |
18215 | return SWIG_Py_Void(); | |
10044bf1 | 18216 | } |
34d71f81 | 18217 | |
4976f996 RD |
18218 | SWIGINTERN PyObject *PyAuiTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
18219 | return SWIG_Python_InitShadowInstance(args); | |
18220 | } | |
18221 | ||
34d71f81 RD |
18222 | static PyMethodDef SwigMethods[] = { |
18223 | { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL}, | |
18224 | { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL}, | |
18225 | { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18226 | { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL}, | |
18227 | { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL}, | |
18228 | { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL}, | |
18229 | { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL}, | |
18230 | { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL}, | |
18231 | { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL}, | |
18232 | { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL}, | |
18233 | { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL}, | |
18234 | { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL}, | |
18235 | { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL}, | |
18236 | { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL}, | |
18237 | { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL}, | |
18238 | { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL}, | |
18239 | { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL}, | |
18240 | { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL}, | |
18241 | { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL}, | |
18242 | { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL}, | |
18243 | { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL}, | |
18244 | { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL}, | |
18245 | { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL}, | |
18246 | { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL}, | |
18247 | { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL}, | |
18248 | { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL}, | |
18249 | { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18250 | { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18251 | { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18252 | { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL}, | |
18253 | { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL}, | |
18254 | { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL}, | |
18255 | { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL}, | |
18256 | { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL}, | |
18257 | { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL}, | |
18258 | { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18259 | { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18260 | { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18261 | { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18262 | { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18263 | { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18264 | { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18265 | { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18266 | { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18267 | { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL}, | |
18268 | { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18269 | { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL}, | |
18270 | { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL}, | |
18271 | { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL}, | |
18272 | { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18273 | { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18274 | { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL}, | |
18275 | { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL}, | |
18276 | { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18277 | { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18278 | { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18279 | { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18280 | { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18281 | { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18282 | { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18283 | { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18284 | { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18285 | { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18286 | { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18287 | { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18288 | { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18289 | { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18290 | { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18291 | { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, | |
18292 | { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, | |
18293 | { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL}, | |
18294 | { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL}, | |
18295 | { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18296 | { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18297 | { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL}, | |
18298 | { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL}, | |
18299 | { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL}, | |
18300 | { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL}, | |
18301 | { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL}, | |
18302 | { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL}, | |
18303 | { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL}, | |
18304 | { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL}, | |
18305 | { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL}, | |
18306 | { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL}, | |
18307 | { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
18308 | { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL}, | |
18309 | { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
18310 | { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL}, | |
18311 | { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
18312 | { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL}, | |
18313 | { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
18314 | { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL}, | |
18315 | { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL}, | |
18316 | { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL}, | |
18317 | { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL}, | |
18318 | { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL}, | |
18319 | { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL}, | |
18320 | { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL}, | |
18321 | { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
18322 | { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL}, | |
18323 | { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
18324 | { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL}, | |
18325 | { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
18326 | { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL}, | |
18327 | { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL}, | |
18328 | { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL}, | |
18329 | { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL}, | |
18330 | { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL}, | |
18331 | { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL}, | |
18332 | { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL}, | |
18333 | { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18334 | { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL}, | |
18335 | { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL}, | |
18336 | { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18337 | { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL}, | |
18338 | { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18339 | { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL}, | |
18340 | { (char *)"AuiManager_GetManager", (PyCFunction) _wrap_AuiManager_GetManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18341 | { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18342 | { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL}, | |
18343 | { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18344 | { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18345 | { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL}, | |
18346 | { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18347 | { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18348 | { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18349 | { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18350 | { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18351 | { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, | |
18352 | { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18353 | { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18354 | { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, | |
18355 | { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18356 | { (char *)"AuiManager_SetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_SetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18357 | { (char *)"AuiManager_GetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_GetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18358 | { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18359 | { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18360 | { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18361 | { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, | |
18362 | { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18363 | { (char *)"AuiManager_StartPaneDrag", (PyCFunction) _wrap_AuiManager_StartPaneDrag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18364 | { (char *)"AuiManager_CalculateHintRect", (PyCFunction) _wrap_AuiManager_CalculateHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18365 | { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18366 | { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18367 | { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL}, | |
18368 | { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18369 | { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18370 | { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL}, | |
18371 | { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL}, | |
18372 | { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18373 | { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL}, | |
18374 | { (char *)"AuiManagerEvent_SetManager", (PyCFunction) _wrap_AuiManagerEvent_SetManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18375 | { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18376 | { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18377 | { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18378 | { (char *)"AuiManagerEvent_GetManager", (PyCFunction)_wrap_AuiManagerEvent_GetManager, METH_O, NULL}, | |
18379 | { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL}, | |
18380 | { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL}, | |
18381 | { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL}, | |
18382 | { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18383 | { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL}, | |
18384 | { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18385 | { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL}, | |
18386 | { (char *)"AuiManagerEvent_manager_set", _wrap_AuiManagerEvent_manager_set, METH_VARARGS, NULL}, | |
18387 | { (char *)"AuiManagerEvent_manager_get", (PyCFunction)_wrap_AuiManagerEvent_manager_get, METH_O, NULL}, | |
18388 | { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL}, | |
18389 | { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL}, | |
18390 | { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL}, | |
18391 | { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL}, | |
18392 | { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
18393 | { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL}, | |
18394 | { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
18395 | { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL}, | |
18396 | { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL}, | |
18397 | { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL}, | |
18398 | { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL}, | |
18399 | { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL}, | |
18400 | { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL}, | |
18401 | { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL}, | |
18402 | { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL}, | |
18403 | { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL}, | |
18404 | { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL}, | |
18405 | { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL}, | |
18406 | { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL}, | |
18407 | { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL}, | |
18408 | { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
18409 | { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL}, | |
18410 | { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
18411 | { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL}, | |
18412 | { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL}, | |
18413 | { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL}, | |
18414 | { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL}, | |
18415 | { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL}, | |
18416 | { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL}, | |
18417 | { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL}, | |
18418 | { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL}, | |
18419 | { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL}, | |
18420 | { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL}, | |
18421 | { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, | |
18422 | { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, | |
18423 | { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, | |
18424 | { (char *)"AuiDockInfo_reserved1_set", _wrap_AuiDockInfo_reserved1_set, METH_VARARGS, NULL}, | |
18425 | { (char *)"AuiDockInfo_reserved1_get", (PyCFunction)_wrap_AuiDockInfo_reserved1_get, METH_O, NULL}, | |
18426 | { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, | |
18427 | { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, | |
18428 | { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, | |
18429 | { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL}, | |
18430 | { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL}, | |
18431 | { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL}, | |
18432 | { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL}, | |
18433 | { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL}, | |
18434 | { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL}, | |
18435 | { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL}, | |
18436 | { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL}, | |
18437 | { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL}, | |
18438 | { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL}, | |
18439 | { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
18440 | { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL}, | |
18441 | { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
18442 | { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL}, | |
18443 | { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL}, | |
18444 | { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL}, | |
18445 | { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL}, | |
18446 | { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL}, | |
18447 | { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL}, | |
18448 | { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL}, | |
18449 | { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL}, | |
18450 | { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL}, | |
18451 | { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL}, | |
18452 | { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18453 | { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18454 | { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18455 | { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18456 | { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18457 | { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18458 | { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18459 | { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18460 | { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18461 | { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18462 | { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18463 | { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18464 | { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18465 | { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18466 | { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL}, | |
18467 | { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL}, | |
18468 | { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
18469 | { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
18470 | { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18471 | { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL}, | |
18472 | { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18473 | { (char *)"AuiFloatingFrame_GetOwnerManager", (PyCFunction)_wrap_AuiFloatingFrame_GetOwnerManager, METH_O, NULL}, | |
18474 | { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL}, | |
18475 | { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL}, | |
18476 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18477 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18478 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, | |
18479 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18480 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, | |
18481 | { (char *)"AuiNotebookEvent_SetDragSource", (PyCFunction) _wrap_AuiNotebookEvent_SetDragSource, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18482 | { (char *)"AuiNotebookEvent_GetDragSource", (PyCFunction)_wrap_AuiNotebookEvent_GetDragSource, METH_O, NULL}, | |
18483 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, | |
18484 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
18485 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
18486 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
18487 | { (char *)"AuiNotebookEvent_drag_source_set", _wrap_AuiNotebookEvent_drag_source_set, METH_VARARGS, NULL}, | |
18488 | { (char *)"AuiNotebookEvent_drag_source_get", (PyCFunction)_wrap_AuiNotebookEvent_drag_source_get, METH_O, NULL}, | |
18489 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, | |
18490 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
18491 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
18492 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
18493 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
18494 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
18495 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
18496 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
18497 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
18498 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
18499 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
18500 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
18501 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
18502 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
18503 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
18504 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
18505 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
18506 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, | |
18507 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
18508 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, | |
18509 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
18510 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, | |
18511 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
18512 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, | |
18513 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
18514 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
18515 | { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL}, | |
18516 | { (char *)"AuiTabArt_Clone", (PyCFunction)_wrap_AuiTabArt_Clone, METH_O, NULL}, | |
18517 | { (char *)"AuiTabArt_SetFlags", (PyCFunction) _wrap_AuiTabArt_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18518 | { (char *)"AuiTabArt_SetSizingInfo", (PyCFunction) _wrap_AuiTabArt_SetSizingInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18519 | { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18520 | { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18521 | { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18522 | { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18523 | { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18524 | { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18525 | { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18526 | { (char *)"AuiTabArt_ShowDropDown", (PyCFunction) _wrap_AuiTabArt_ShowDropDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18527 | { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL}, | |
18528 | { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18529 | { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, | |
18530 | { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, | |
18531 | { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL}, | |
18532 | { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
18533 | { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
18534 | { (char *)"new_AuiSimpleTabArt", (PyCFunction)_wrap_new_AuiSimpleTabArt, METH_NOARGS, NULL}, | |
18535 | { (char *)"delete_AuiSimpleTabArt", (PyCFunction)_wrap_delete_AuiSimpleTabArt, METH_O, NULL}, | |
18536 | { (char *)"AuiSimpleTabArt_swigregister", AuiSimpleTabArt_swigregister, METH_VARARGS, NULL}, | |
18537 | { (char *)"AuiSimpleTabArt_swiginit", AuiSimpleTabArt_swiginit, METH_VARARGS, NULL}, | |
18538 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, | |
18539 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
18540 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18541 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
18542 | { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18543 | { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL}, | |
18544 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18545 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18546 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18547 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18548 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
18549 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
18550 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
18551 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18552 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18553 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18554 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18555 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
18556 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18557 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
18558 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18559 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18560 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18561 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
18562 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18563 | { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18564 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18565 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, | |
18566 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18567 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, | |
18568 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
18569 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18570 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, | |
18571 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, | |
18572 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
18573 | { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL}, | |
18574 | { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18575 | { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, | |
18576 | { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18577 | { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18578 | { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, | |
18579 | { (char *)"AuiNotebook_SetUniformBitmapSize", (PyCFunction) _wrap_AuiNotebook_SetUniformBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18580 | { (char *)"AuiNotebook_SetTabCtrlHeight", (PyCFunction) _wrap_AuiNotebook_SetTabCtrlHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18581 | { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18582 | { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18583 | { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18584 | { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18585 | { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, | |
18586 | { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18587 | { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18588 | { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18589 | { (char *)"AuiNotebook_GetPageText", (PyCFunction) _wrap_AuiNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18590 | { (char *)"AuiNotebook_SetPageBitmap", (PyCFunction) _wrap_AuiNotebook_SetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18591 | { (char *)"AuiNotebook_GetPageBitmap", (PyCFunction) _wrap_AuiNotebook_GetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18592 | { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18593 | { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, | |
18594 | { (char *)"AuiNotebook_Split", (PyCFunction) _wrap_AuiNotebook_Split, METH_VARARGS | METH_KEYWORDS, NULL}, | |
070a1e7e | 18595 | { (char *)"AuiNotebook_GetAuiManager", (PyCFunction)_wrap_AuiNotebook_GetAuiManager, METH_O, NULL}, |
34d71f81 RD |
18596 | { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, |
18597 | { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, | |
18598 | { (char *)"new_PreAuiMDIParentFrame", (PyCFunction)_wrap_new_PreAuiMDIParentFrame, METH_NOARGS, NULL}, | |
18599 | { (char *)"new_AuiMDIParentFrame", (PyCFunction) _wrap_new_AuiMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18600 | { (char *)"AuiMDIParentFrame_Create", (PyCFunction) _wrap_AuiMDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18601 | { (char *)"AuiMDIParentFrame_SetArtProvider", (PyCFunction) _wrap_AuiMDIParentFrame_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18602 | { (char *)"AuiMDIParentFrame_GetArtProvider", (PyCFunction)_wrap_AuiMDIParentFrame_GetArtProvider, METH_O, NULL}, | |
34d71f81 RD |
18603 | { (char *)"AuiMDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_AuiMDIParentFrame_GetWindowMenu, METH_O, NULL}, |
18604 | { (char *)"AuiMDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_AuiMDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18605 | { (char *)"AuiMDIParentFrame_SetChildMenuBar", (PyCFunction) _wrap_AuiMDIParentFrame_SetChildMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18606 | { (char *)"AuiMDIParentFrame_ProcessEvent", (PyCFunction) _wrap_AuiMDIParentFrame_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
34d71f81 | 18607 | { (char *)"AuiMDIParentFrame_SetActiveChild", (PyCFunction) _wrap_AuiMDIParentFrame_SetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL}, |
34d71f81 RD |
18608 | { (char *)"AuiMDIParentFrame_OnCreateClient", (PyCFunction)_wrap_AuiMDIParentFrame_OnCreateClient, METH_O, NULL}, |
18609 | { (char *)"AuiMDIParentFrame_Cascade", (PyCFunction)_wrap_AuiMDIParentFrame_Cascade, METH_O, NULL}, | |
18610 | { (char *)"AuiMDIParentFrame_Tile", (PyCFunction) _wrap_AuiMDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18611 | { (char *)"AuiMDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_AuiMDIParentFrame_ArrangeIcons, METH_O, NULL}, | |
18612 | { (char *)"AuiMDIParentFrame_ActivateNext", (PyCFunction)_wrap_AuiMDIParentFrame_ActivateNext, METH_O, NULL}, | |
18613 | { (char *)"AuiMDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_AuiMDIParentFrame_ActivatePrevious, METH_O, NULL}, | |
cbfc9df6 RD |
18614 | { (char *)"AuiMDIParentFrame_GetNotebook", (PyCFunction)_wrap_AuiMDIParentFrame_GetNotebook, METH_O, NULL}, |
18615 | { (char *)"AuiMDIParentFrame_GetActiveChild", (PyCFunction)_wrap_AuiMDIParentFrame_GetActiveChild, METH_O, NULL}, | |
18616 | { (char *)"AuiMDIParentFrame_GetClientWindow", (PyCFunction)_wrap_AuiMDIParentFrame_GetClientWindow, METH_O, NULL}, | |
34d71f81 RD |
18617 | { (char *)"AuiMDIParentFrame_swigregister", AuiMDIParentFrame_swigregister, METH_VARARGS, NULL}, |
18618 | { (char *)"AuiMDIParentFrame_swiginit", AuiMDIParentFrame_swiginit, METH_VARARGS, NULL}, | |
18619 | { (char *)"new_PreAuiMDIChildFrame", (PyCFunction)_wrap_new_PreAuiMDIChildFrame, METH_NOARGS, NULL}, | |
18620 | { (char *)"new_AuiMDIChildFrame", (PyCFunction) _wrap_new_AuiMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18621 | { (char *)"AuiMDIChildFrame_Create", (PyCFunction) _wrap_AuiMDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18622 | { (char *)"AuiMDIChildFrame_SetMenuBar", (PyCFunction) _wrap_AuiMDIChildFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18623 | { (char *)"AuiMDIChildFrame_GetMenuBar", (PyCFunction)_wrap_AuiMDIChildFrame_GetMenuBar, METH_O, NULL}, | |
18624 | { (char *)"AuiMDIChildFrame_SetTitle", (PyCFunction) _wrap_AuiMDIChildFrame_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18625 | { (char *)"AuiMDIChildFrame_GetTitle", (PyCFunction)_wrap_AuiMDIChildFrame_GetTitle, METH_O, NULL}, | |
18626 | { (char *)"AuiMDIChildFrame_SetIcons", (PyCFunction) _wrap_AuiMDIChildFrame_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18627 | { (char *)"AuiMDIChildFrame_GetIcons", (PyCFunction)_wrap_AuiMDIChildFrame_GetIcons, METH_O, NULL}, | |
18628 | { (char *)"AuiMDIChildFrame_SetIcon", (PyCFunction) _wrap_AuiMDIChildFrame_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18629 | { (char *)"AuiMDIChildFrame_GetIcon", (PyCFunction)_wrap_AuiMDIChildFrame_GetIcon, METH_O, NULL}, | |
18630 | { (char *)"AuiMDIChildFrame_Activate", (PyCFunction)_wrap_AuiMDIChildFrame_Activate, METH_O, NULL}, | |
18631 | { (char *)"AuiMDIChildFrame_DoSetSizeHints", (PyCFunction) _wrap_AuiMDIChildFrame_DoSetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18632 | { (char *)"AuiMDIChildFrame_Maximize", (PyCFunction) _wrap_AuiMDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18633 | { (char *)"AuiMDIChildFrame_Restore", (PyCFunction)_wrap_AuiMDIChildFrame_Restore, METH_O, NULL}, | |
18634 | { (char *)"AuiMDIChildFrame_Iconize", (PyCFunction) _wrap_AuiMDIChildFrame_Iconize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18635 | { (char *)"AuiMDIChildFrame_IsMaximized", (PyCFunction)_wrap_AuiMDIChildFrame_IsMaximized, METH_O, NULL}, | |
18636 | { (char *)"AuiMDIChildFrame_IsIconized", (PyCFunction)_wrap_AuiMDIChildFrame_IsIconized, METH_O, NULL}, | |
18637 | { (char *)"AuiMDIChildFrame_ShowFullScreen", (PyCFunction) _wrap_AuiMDIChildFrame_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18638 | { (char *)"AuiMDIChildFrame_IsFullScreen", (PyCFunction)_wrap_AuiMDIChildFrame_IsFullScreen, METH_O, NULL}, | |
18639 | { (char *)"AuiMDIChildFrame_OnMenuHighlight", (PyCFunction) _wrap_AuiMDIChildFrame_OnMenuHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18640 | { (char *)"AuiMDIChildFrame_OnActivate", (PyCFunction) _wrap_AuiMDIChildFrame_OnActivate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18641 | { (char *)"AuiMDIChildFrame_OnCloseWindow", (PyCFunction) _wrap_AuiMDIChildFrame_OnCloseWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18642 | { (char *)"AuiMDIChildFrame_SetMDIParentFrame", (PyCFunction) _wrap_AuiMDIChildFrame_SetMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18643 | { (char *)"AuiMDIChildFrame_GetMDIParentFrame", (PyCFunction)_wrap_AuiMDIChildFrame_GetMDIParentFrame, METH_O, NULL}, | |
18644 | { (char *)"AuiMDIChildFrame_ApplyMDIChildFrameRect", (PyCFunction)_wrap_AuiMDIChildFrame_ApplyMDIChildFrameRect, METH_O, NULL}, | |
18645 | { (char *)"AuiMDIChildFrame_DoShow", (PyCFunction) _wrap_AuiMDIChildFrame_DoShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18646 | { (char *)"AuiMDIChildFrame_swigregister", AuiMDIChildFrame_swigregister, METH_VARARGS, NULL}, | |
18647 | { (char *)"AuiMDIChildFrame_swiginit", AuiMDIChildFrame_swiginit, METH_VARARGS, NULL}, | |
18648 | { (char *)"new_PreAuiMDIClientWindow", (PyCFunction)_wrap_new_PreAuiMDIClientWindow, METH_NOARGS, NULL}, | |
18649 | { (char *)"new_AuiMDIClientWindow", (PyCFunction) _wrap_new_AuiMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18650 | { (char *)"AuiMDIClientWindow_CreateClient", (PyCFunction) _wrap_AuiMDIClientWindow_CreateClient, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18651 | { (char *)"AuiMDIClientWindow_SetSelection", (PyCFunction) _wrap_AuiMDIClientWindow_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18652 | { (char *)"AuiMDIClientWindow_swigregister", AuiMDIClientWindow_swigregister, METH_VARARGS, NULL}, | |
18653 | { (char *)"AuiMDIClientWindow_swiginit", AuiMDIClientWindow_swiginit, METH_VARARGS, NULL}, | |
cbfc9df6 | 18654 | { (char *)"new_PyAuiDockArt", (PyCFunction)_wrap_new_PyAuiDockArt, METH_NOARGS, NULL}, |
34d71f81 | 18655 | { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, |
cbfc9df6 | 18656 | { (char *)"PyAuiDockArt_swiginit", PyAuiDockArt_swiginit, METH_VARARGS, NULL}, |
4976f996 | 18657 | { (char *)"new_PyAuiTabArt", (PyCFunction)_wrap_new_PyAuiTabArt, METH_NOARGS, NULL}, |
34d71f81 | 18658 | { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL}, |
4976f996 | 18659 | { (char *)"PyAuiTabArt_swiginit", PyAuiTabArt_swiginit, METH_VARARGS, NULL}, |
34d71f81 RD |
18660 | { NULL, NULL, 0, NULL } |
18661 | }; | |
18662 | ||
18663 | ||
18664 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
18665 | ||
18666 | static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { | |
18667 | return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
10044bf1 | 18668 | } |
34d71f81 RD |
18669 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
18670 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
10044bf1 | 18671 | } |
34d71f81 RD |
18672 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { |
18673 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
10044bf1 | 18674 | } |
34d71f81 RD |
18675 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { |
18676 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
10044bf1 | 18677 | } |
34d71f81 RD |
18678 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { |
18679 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
5eb8189c | 18680 | } |
34d71f81 RD |
18681 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { |
18682 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
10044bf1 | 18683 | } |
34d71f81 RD |
18684 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { |
18685 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
10044bf1 | 18686 | } |
34d71f81 RD |
18687 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { |
18688 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
10044bf1 | 18689 | } |
34d71f81 RD |
18690 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { |
18691 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
10044bf1 | 18692 | } |
27e45892 RD |
18693 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
18694 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
18695 | } | |
18696 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
18697 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
18698 | } | |
18699 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
18700 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
18701 | } | |
18702 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
18703 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
18704 | } | |
18705 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
18706 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
18707 | } | |
18708 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
18709 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
18710 | } | |
18711 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
18712 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
18713 | } | |
5eb8189c RD |
18714 | static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) { |
18715 | return (void *)((wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
18716 | } |
18717 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
18718 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
18719 | } | |
18720 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
18721 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
18722 | } | |
18723 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
18724 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
18725 | } | |
18726 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
18727 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
18728 | } | |
0f83f5da RD |
18729 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
18730 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
18731 | } | |
27e45892 RD |
18732 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
18733 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
18734 | } | |
18735 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
18736 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
18737 | } | |
10044bf1 RD |
18738 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
18739 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
18740 | } | |
27e45892 RD |
18741 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
18742 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
18743 | } | |
18744 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
18745 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
18746 | } | |
18747 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
18748 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
18749 | } | |
18750 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
18751 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
18752 | } | |
18753 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
18754 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
18755 | } | |
18756 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
18757 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
18758 | } | |
18759 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
18760 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
18761 | } | |
18762 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
18763 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
18764 | } | |
18765 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
18766 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
18767 | } | |
27e45892 RD |
18768 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
18769 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
18770 | } | |
18771 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
18772 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
18773 | } | |
0f83f5da RD |
18774 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
18775 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
18776 | } | |
27e45892 RD |
18777 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
18778 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
18779 | } | |
18780 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
18781 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
18782 | } | |
18783 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
18784 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
18785 | } | |
18786 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
18787 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
18788 | } | |
18789 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
18790 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
18791 | } | |
18792 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
18793 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
18794 | } | |
18795 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
18796 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
18797 | } | |
18798 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
18799 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18800 | } | |
18801 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
18802 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
18803 | } | |
18804 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
18805 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
18806 | } | |
18807 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
18808 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
18809 | } | |
18810 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
18811 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
18812 | } | |
18813 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
18814 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18815 | } | |
34d71f81 RD |
18816 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { |
18817 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18818 | } | |
18819 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
18820 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
18821 | } | |
18822 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
18823 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
18824 | } | |
18825 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
18826 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
18827 | } | |
18828 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
18829 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
18830 | } | |
18831 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { | |
18832 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
18833 | } | |
18834 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
18835 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
18836 | } | |
18837 | static void *_p_wxAuiMDIClientWindowTo_p_wxControl(void *x) { | |
18838 | return (void *)((wxControl *) (wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
18839 | } | |
18840 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
18841 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
18842 | } | |
18843 | static void *_p_wxAuiNotebookTo_p_wxControl(void *x) { | |
18844 | return (void *)((wxControl *) ((wxAuiNotebook *) x)); | |
18845 | } | |
18846 | static void *_p_wxAuiMDIClientWindowTo_p_wxAuiNotebook(void *x) { | |
18847 | return (void *)((wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
18848 | } | |
18849 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
18850 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
18851 | } | |
18852 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
18853 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
18854 | } | |
18855 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
18856 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
18857 | } | |
18858 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
18859 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
18860 | } | |
4976f996 RD |
18861 | static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) { |
18862 | return (void *)((wxEvtHandler *) ((wxEventBlocker *) x)); | |
18863 | } | |
34d71f81 RD |
18864 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { |
18865 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
18866 | } | |
18867 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
18868 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
18869 | } | |
18870 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
18871 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
18872 | } | |
18873 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
18874 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
18875 | } | |
18876 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
18877 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
18878 | } | |
34d71f81 RD |
18879 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { |
18880 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
18881 | } | |
18882 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18883 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
18884 | } | |
18885 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
18886 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
18887 | } | |
4976f996 RD |
18888 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
18889 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
18890 | } | |
34d71f81 RD |
18891 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
18892 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
18893 | } | |
18894 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { | |
18895 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
18896 | } | |
18897 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
18898 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
18899 | } | |
18900 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
18901 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
18902 | } | |
18903 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
18904 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
18905 | } | |
18906 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
18907 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
18908 | } | |
18909 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
18910 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
18911 | } | |
18912 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18913 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
18914 | } | |
18915 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
18916 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
18917 | } | |
18918 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
18919 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
18920 | } | |
18921 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
18922 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
18923 | } | |
18924 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
18925 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
18926 | } | |
18927 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
18928 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
18929 | } | |
18930 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
18931 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
18932 | } | |
18933 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
18934 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
18935 | } | |
18936 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
18937 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
18938 | } | |
18939 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18940 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
18941 | } | |
18942 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
18943 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
18944 | } | |
18945 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
18946 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
18947 | } | |
18948 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18949 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
18950 | } | |
18951 | static void *_p_wxAuiMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
18952 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
18953 | } | |
18954 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
18955 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
18956 | } | |
18957 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
18958 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
18959 | } | |
18960 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
18961 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
18962 | } | |
18963 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
18964 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
18965 | } | |
18966 | static void *_p_wxAuiMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
18967 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
18968 | } | |
18969 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
18970 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
18971 | } | |
18972 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
18973 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
18974 | } | |
18975 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
18976 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
18977 | } | |
18978 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
18979 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
18980 | } | |
18981 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
18982 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
18983 | } | |
18984 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
18985 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
18986 | } | |
18987 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
18988 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
18989 | } | |
18990 | static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) { | |
18991 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
18992 | } | |
18993 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
18994 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
18995 | } | |
18996 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
18997 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
18998 | } | |
18999 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
19000 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
19001 | } | |
19002 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { | |
19003 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
19004 | } | |
19005 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
19006 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
19007 | } | |
19008 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
19009 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
19010 | } | |
19011 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
19012 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
19013 | } | |
19014 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
19015 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
19016 | } | |
19017 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
19018 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
19019 | } | |
19020 | static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) { | |
19021 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
19022 | } | |
19023 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
19024 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
19025 | } | |
19026 | static void *_p_wxAuiMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
19027 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
19028 | } | |
19029 | static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) { | |
19030 | return (void *)((wxEvtHandler *) ((wxAuiManager *) x)); | |
19031 | } | |
19032 | static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) { | |
19033 | return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
19034 | } | |
19035 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
19036 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
19037 | } | |
19038 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
19039 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
19040 | } | |
19041 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
19042 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
19043 | } | |
19044 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
19045 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
19046 | } | |
19047 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
19048 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
19049 | } | |
19050 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
19051 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
19052 | } | |
19053 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
19054 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
19055 | } | |
19056 | static void *_p_wxAuiMDIParentFrameTo_p_wxFrame(void *x) { | |
19057 | return (void *)((wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
19058 | } | |
19059 | static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) { | |
19060 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
19061 | } | |
19062 | static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) { | |
19063 | return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x)); | |
27e45892 | 19064 | } |
34d71f81 RD |
19065 | static void *_p_wxAuiSimpleTabArtTo_p_wxAuiTabArt(void *x) { |
19066 | return (void *)((wxAuiTabArt *) ((wxAuiSimpleTabArt *) x)); | |
27e45892 | 19067 | } |
34d71f81 RD |
19068 | static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) { |
19069 | return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
27e45892 | 19070 | } |
34d71f81 RD |
19071 | static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) { |
19072 | return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x)); | |
27e45892 | 19073 | } |
34d71f81 RD |
19074 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) { |
19075 | return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
19076 | } | |
19077 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) { | |
19078 | return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
27e45892 RD |
19079 | } |
19080 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
19081 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
19082 | } | |
19083 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
19084 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
19085 | } | |
4976f996 RD |
19086 | static void *_p_wxEventBlockerTo_p_wxObject(void *x) { |
19087 | return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x)); | |
19088 | } | |
27e45892 RD |
19089 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
19090 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
19091 | } | |
19092 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
19093 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
19094 | } | |
27e45892 RD |
19095 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
19096 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
19097 | } | |
0f83f5da RD |
19098 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
19099 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
19100 | } | |
27e45892 RD |
19101 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
19102 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
19103 | } | |
19104 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
19105 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
19106 | } | |
19107 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
19108 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
19109 | } | |
19110 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
19111 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
19112 | } | |
19113 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
19114 | return (void *)((wxObject *) ((wxSizer *) x)); | |
19115 | } | |
19116 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
19117 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
19118 | } | |
19119 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
19120 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
19121 | } | |
19122 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
19123 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
19124 | } | |
19125 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
19126 | return (void *)((wxObject *) ((wxEvent *) x)); | |
19127 | } | |
19128 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
19129 | return (void *)((wxObject *) ((wxFontData *) x)); | |
19130 | } | |
19131 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
19132 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
19133 | } | |
27e45892 RD |
19134 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
19135 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
19136 | } | |
4976f996 RD |
19137 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
19138 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
19139 | } | |
27e45892 RD |
19140 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
19141 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
19142 | } | |
19143 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
19144 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
19145 | } | |
19146 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
19147 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
19148 | } | |
19149 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
19150 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
19151 | } | |
10044bf1 RD |
19152 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
19153 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
19154 | } | |
27e45892 RD |
19155 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
19156 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
19157 | } | |
19158 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
19159 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
19160 | } | |
19161 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
19162 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
19163 | } | |
19164 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
19165 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
19166 | } | |
19167 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
19168 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
19169 | } | |
19170 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
19171 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
19172 | } | |
19173 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
19174 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
19175 | } | |
19176 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
19177 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
19178 | } | |
19179 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
19180 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
19181 | } | |
19182 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
19183 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
19184 | } | |
19185 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
19186 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
19187 | } | |
5eb8189c RD |
19188 | static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) { |
19189 | return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
19190 | } |
19191 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
19192 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
19193 | } | |
19194 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
19195 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
19196 | } | |
5eb8189c RD |
19197 | static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) { |
19198 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
19199 | } | |
27e45892 RD |
19200 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
19201 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
19202 | } | |
19203 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
19204 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
19205 | } | |
5eb8189c RD |
19206 | static void *_p_wxAuiNotebookTo_p_wxObject(void *x) { |
19207 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 19208 | } |
34d71f81 RD |
19209 | static void *_p_wxAuiMDIChildFrameTo_p_wxObject(void *x) { |
19210 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
19211 | } | |
27e45892 RD |
19212 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
19213 | return (void *)((wxObject *) ((wxColourData *) x)); | |
19214 | } | |
19215 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
19216 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
19217 | } | |
19218 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
19219 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
19220 | } | |
19221 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
19222 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
19223 | } | |
19224 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
19225 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
19226 | } | |
19227 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
19228 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
19229 | } | |
19230 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
19231 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
19232 | } | |
19233 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
19234 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
19235 | } | |
19236 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
19237 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
19238 | } | |
19239 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
19240 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
19241 | } | |
19242 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
19243 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
19244 | } | |
19245 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
19246 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
19247 | } | |
19248 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
19249 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
19250 | } | |
19251 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
19252 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
19253 | } | |
19254 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
19255 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
19256 | } | |
19257 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
19258 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
19259 | } | |
19260 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
19261 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
19262 | } | |
19263 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
19264 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
19265 | } | |
19266 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
19267 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
19268 | } | |
19269 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
19270 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
19271 | } | |
19272 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
19273 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
19274 | } | |
19275 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
19276 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
19277 | } | |
19278 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
19279 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
19280 | } | |
19281 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
19282 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
19283 | } | |
19284 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
19285 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
19286 | } | |
19287 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
19288 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
19289 | } | |
19290 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
19291 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
19292 | } | |
19293 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
19294 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
19295 | } | |
19296 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
19297 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
19298 | } | |
19299 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
19300 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
19301 | } | |
19302 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
19303 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
19304 | } | |
19305 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
19306 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
19307 | } | |
19308 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
19309 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
19310 | } | |
19311 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
19312 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
19313 | } | |
19314 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
19315 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
19316 | } | |
19317 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
19318 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
19319 | } | |
19320 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
19321 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
19322 | } | |
19323 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
19324 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
19325 | } | |
19326 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
19327 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
19328 | } | |
580080c5 RD |
19329 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
19330 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
19331 | } | |
27e45892 RD |
19332 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
19333 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
19334 | } | |
0f83f5da RD |
19335 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
19336 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
19337 | } | |
27e45892 RD |
19338 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
19339 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
19340 | } | |
19341 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
19342 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
19343 | } | |
19344 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
19345 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
19346 | } | |
f9bf356b RD |
19347 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
19348 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
19349 | } | |
27e45892 RD |
19350 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
19351 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
19352 | } | |
580080c5 RD |
19353 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
19354 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
19355 | } | |
27e45892 RD |
19356 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
19357 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
19358 | } | |
19359 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
19360 | return (void *)((wxObject *) ((wxImage *) x)); | |
19361 | } | |
19362 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
19363 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
19364 | } | |
19365 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
19366 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
19367 | } | |
19368 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
19369 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
19370 | } | |
19371 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
19372 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
19373 | } | |
27e45892 RD |
19374 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
19375 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
19376 | } | |
5eb8189c RD |
19377 | static void *_p_wxAuiManagerTo_p_wxObject(void *x) { |
19378 | return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 RD |
19379 | } |
19380 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
19381 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
19382 | } | |
10044bf1 RD |
19383 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
19384 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
19385 | } | |
34d71f81 RD |
19386 | static void *_p_wxAuiMDIParentFrameTo_p_wxObject(void *x) { |
19387 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
19388 | } | |
27e45892 RD |
19389 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
19390 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
19391 | } | |
19392 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
19393 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
19394 | } | |
19395 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
19396 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
19397 | } | |
19398 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
19399 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
19400 | } | |
19401 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
19402 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
19403 | } | |
19404 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
19405 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
19406 | } | |
19407 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
19408 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
19409 | } | |
19410 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
19411 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
19412 | } | |
19413 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
19414 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
19415 | } | |
19416 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
19417 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
19418 | } | |
19419 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
19420 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
19421 | } | |
19422 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
19423 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
19424 | } | |
19425 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
19426 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
19427 | } | |
19428 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
19429 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
19430 | } | |
19431 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
19432 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
19433 | } | |
19434 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
19435 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
19436 | } | |
19437 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
19438 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
19439 | } | |
19440 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
19441 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
19442 | } | |
34d71f81 RD |
19443 | static void *_p_wxAuiMDIClientWindowTo_p_wxObject(void *x) { |
19444 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
19445 | } | |
27e45892 RD |
19446 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
19447 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
19448 | } | |
19449 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
19450 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
19451 | } | |
19452 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
19453 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
19454 | } | |
19455 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
19456 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
19457 | } | |
19458 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
19459 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
19460 | } | |
19461 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
19462 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
19463 | } | |
19464 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
19465 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
19466 | } | |
19467 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
19468 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
19469 | } | |
19470 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
19471 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
19472 | } | |
19473 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
19474 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
19475 | } | |
19476 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
19477 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
19478 | } | |
19479 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
19480 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
19481 | } | |
19482 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
19483 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
19484 | } | |
19485 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
19486 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
19487 | } | |
19488 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
19489 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
19490 | } | |
19491 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
19492 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
19493 | } | |
19494 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
19495 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
19496 | } | |
19497 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
19498 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
19499 | } | |
19500 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
19501 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
19502 | } | |
19503 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
19504 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
19505 | } | |
19506 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
19507 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
19508 | } | |
19509 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
19510 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
19511 | } | |
19512 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
19513 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
19514 | } | |
19515 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
19516 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
19517 | } | |
19518 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
19519 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
19520 | } | |
19521 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
19522 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
19523 | } | |
19524 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
19525 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
19526 | } | |
19527 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
19528 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
19529 | } | |
19530 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
19531 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
19532 | } | |
34d71f81 RD |
19533 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
19534 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
27e45892 | 19535 | } |
34d71f81 RD |
19536 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { |
19537 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
27e45892 | 19538 | } |
34d71f81 RD |
19539 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { |
19540 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
27e45892 | 19541 | } |
34d71f81 RD |
19542 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { |
19543 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
27e45892 | 19544 | } |
34d71f81 RD |
19545 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { |
19546 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
27e45892 | 19547 | } |
34d71f81 RD |
19548 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { |
19549 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
27e45892 | 19550 | } |
34d71f81 RD |
19551 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { |
19552 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
19553 | } | |
19554 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
19555 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
19556 | } | |
19557 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
19558 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
19559 | } | |
19560 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
19561 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
19562 | } | |
19563 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
19564 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
19565 | } | |
19566 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
19567 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
19568 | } | |
19569 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
19570 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
19571 | } | |
19572 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
19573 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
19574 | } | |
19575 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
19576 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
19577 | } | |
19578 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
19579 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
19580 | } | |
19581 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
19582 | return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x)); | |
19583 | } | |
19584 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
19585 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
19586 | } | |
19587 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
19588 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
19589 | } | |
19590 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
19591 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
19592 | } | |
19593 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
19594 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
19595 | } | |
19596 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
19597 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
19598 | } | |
19599 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
19600 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
19601 | } | |
19602 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
19603 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
19604 | } | |
19605 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
19606 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
19607 | } | |
19608 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
19609 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
19610 | } | |
19611 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
19612 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
19613 | } | |
19614 | static void *_p_p_wxAuiMDIClientWindowTo_p_p_wxWindow(void *x) { | |
19615 | return (void *)((wxWindow **) (wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow **) x)); | |
19616 | } | |
19617 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
19618 | return (void *)((wxWindow **) ((wxControl **) x)); | |
19619 | } | |
19620 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
19621 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
19622 | } | |
19623 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
19624 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
19625 | } | |
19626 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
19627 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
19628 | } | |
19629 | static void *_p_p_wxAuiMDIChildFrameTo_p_p_wxWindow(void *x) { | |
19630 | return (void *)((wxWindow **) (wxPanel *) ((wxAuiMDIChildFrame **) x)); | |
19631 | } | |
19632 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
19633 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
19634 | } | |
19635 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
19636 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
19637 | } | |
19638 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
19639 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
19640 | } | |
19641 | static void *_p_p_wxSimpleHtmlListBoxTo_p_p_wxWindow(void *x) { | |
19642 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox **) x)); | |
19643 | } | |
19644 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { | |
19645 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
19646 | } | |
19647 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
19648 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
19649 | } | |
19650 | static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) { | |
19651 | return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x)); | |
19652 | } | |
19653 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
19654 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
19655 | } | |
19656 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
19657 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
19658 | } | |
19659 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
19660 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
19661 | } | |
19662 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
19663 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
19664 | } | |
19665 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
19666 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
19667 | } | |
19668 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
19669 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
19670 | } | |
19671 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
19672 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
19673 | } | |
19674 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
19675 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
19676 | } | |
19677 | static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) { | |
19678 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x)); | |
19679 | } | |
19680 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { | |
19681 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
19682 | } | |
19683 | static void *_p_p_wxAuiMDIParentFrameTo_p_p_wxWindow(void *x) { | |
19684 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame **) x)); | |
19685 | } | |
19686 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
19687 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
19688 | } | |
19689 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
19690 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
19691 | } | |
19692 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
19693 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
19694 | } | |
19695 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
19696 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
19697 | } | |
19698 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
19699 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
19700 | } | |
19701 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
19702 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
19703 | } | |
19704 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
19705 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
19706 | } | |
19707 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
19708 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
19709 | } | |
19710 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
19711 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
19712 | } | |
19713 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
19714 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
19715 | } | |
19716 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
19717 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
19718 | } | |
19719 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
19720 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
19721 | } | |
19722 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
19723 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
19724 | } | |
19725 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
19726 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
19727 | } | |
19728 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
19729 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
19730 | } | |
19731 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
19732 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
19733 | } | |
19734 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
19735 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
19736 | } | |
19737 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
19738 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
19739 | } | |
19740 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
19741 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
19742 | } | |
19743 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
19744 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
19745 | } | |
19746 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
19747 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
19748 | } | |
19749 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
19750 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
19751 | } | |
19752 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
19753 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
19754 | } | |
19755 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
19756 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
19757 | } | |
19758 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
19759 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
19760 | } | |
19761 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
19762 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
27e45892 | 19763 | } |
34d71f81 RD |
19764 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
19765 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
27e45892 | 19766 | } |
34d71f81 RD |
19767 | static void *_p_wxAuiMDIClientWindowTo_p_wxWindow(void *x) { |
19768 | return (void *)((wxWindow *) (wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
27e45892 | 19769 | } |
34d71f81 RD |
19770 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
19771 | return (void *)((wxWindow *) ((wxControl *) x)); | |
27e45892 | 19772 | } |
34d71f81 RD |
19773 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
19774 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
27e45892 | 19775 | } |
34d71f81 RD |
19776 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
19777 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
f9bf356b | 19778 | } |
34d71f81 RD |
19779 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
19780 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
27e45892 | 19781 | } |
34d71f81 RD |
19782 | static void *_p_wxAuiMDIChildFrameTo_p_wxWindow(void *x) { |
19783 | return (void *)((wxWindow *) (wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
27e45892 | 19784 | } |
34d71f81 RD |
19785 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
19786 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
27e45892 | 19787 | } |
34d71f81 RD |
19788 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
19789 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
27e45892 | 19790 | } |
34d71f81 RD |
19791 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
19792 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
27e45892 | 19793 | } |
34d71f81 RD |
19794 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
19795 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
27e45892 | 19796 | } |
34d71f81 RD |
19797 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
19798 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
27e45892 | 19799 | } |
34d71f81 RD |
19800 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
19801 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
27e45892 | 19802 | } |
34d71f81 RD |
19803 | static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) { |
19804 | return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x)); | |
27e45892 | 19805 | } |
34d71f81 RD |
19806 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
19807 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
27e45892 | 19808 | } |
34d71f81 RD |
19809 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
19810 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
27e45892 | 19811 | } |
34d71f81 RD |
19812 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
19813 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
27e45892 | 19814 | } |
34d71f81 RD |
19815 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
19816 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
27e45892 | 19817 | } |
34d71f81 RD |
19818 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
19819 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
27e45892 | 19820 | } |
34d71f81 RD |
19821 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
19822 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
27e45892 | 19823 | } |
34d71f81 RD |
19824 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
19825 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
27e45892 | 19826 | } |
34d71f81 RD |
19827 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
19828 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
27e45892 | 19829 | } |
34d71f81 RD |
19830 | static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) { |
19831 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 | 19832 | } |
34d71f81 RD |
19833 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
19834 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
27e45892 | 19835 | } |
34d71f81 RD |
19836 | static void *_p_wxAuiMDIParentFrameTo_p_wxWindow(void *x) { |
19837 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
27e45892 | 19838 | } |
34d71f81 RD |
19839 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
19840 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
27e45892 | 19841 | } |
34d71f81 RD |
19842 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { |
19843 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
27e45892 | 19844 | } |
34d71f81 RD |
19845 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { |
19846 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
27e45892 | 19847 | } |
34d71f81 RD |
19848 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { |
19849 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
27e45892 | 19850 | } |
34d71f81 RD |
19851 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { |
19852 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
27e45892 | 19853 | } |
34d71f81 RD |
19854 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { |
19855 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
27e45892 | 19856 | } |
34d71f81 RD |
19857 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
19858 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
27e45892 | 19859 | } |
34d71f81 RD |
19860 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { |
19861 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
f9bf356b | 19862 | } |
34d71f81 RD |
19863 | static void *_p_wxAuiMDIParentFrameTo_p_wxTopLevelWindow(void *x) { |
19864 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
27e45892 | 19865 | } |
34d71f81 RD |
19866 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { |
19867 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
27e45892 | 19868 | } |
34d71f81 RD |
19869 | static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) { |
19870 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
10044bf1 | 19871 | } |
34d71f81 RD |
19872 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
19873 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
27e45892 | 19874 | } |
34d71f81 RD |
19875 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { |
19876 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
27e45892 | 19877 | } |
34d71f81 RD |
19878 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
19879 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
27e45892 | 19880 | } |
34d71f81 RD |
19881 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
19882 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
10044bf1 | 19883 | } |
34d71f81 RD |
19884 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
19885 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
27e45892 | 19886 | } |
34d71f81 RD |
19887 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
19888 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
27e45892 | 19889 | } |
34d71f81 RD |
19890 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { |
19891 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
27e45892 | 19892 | } |
34d71f81 RD |
19893 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
19894 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
27e45892 | 19895 | } |
34d71f81 RD |
19896 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
19897 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
27e45892 | 19898 | } |
34d71f81 RD |
19899 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
19900 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
5eb8189c | 19901 | } |
34d71f81 RD |
19902 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
19903 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
27e45892 | 19904 | } |
34d71f81 RD |
19905 | static void *_p_wxAuiMDIChildFrameTo_p_wxPanel(void *x) { |
19906 | return (void *)((wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
27e45892 | 19907 | } |
34d71f81 RD |
19908 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
19909 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
10044bf1 | 19910 | } |
34d71f81 RD |
19911 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
19912 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
27e45892 | 19913 | } |
34d71f81 RD |
19914 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
19915 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
27e45892 | 19916 | } |
34d71f81 RD |
19917 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
19918 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
27e45892 | 19919 | } |
34d71f81 RD |
19920 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
19921 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
27e45892 | 19922 | } |
34d71f81 RD |
19923 | static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) { |
19924 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
27e45892 | 19925 | } |
34d71f81 RD |
19926 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
19927 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
27e45892 | 19928 | } |
34d71f81 RD |
19929 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
19930 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
27e45892 | 19931 | } |
34d71f81 RD |
19932 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
19933 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
27e45892 | 19934 | } |
34d71f81 RD |
19935 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
19936 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
5eb8189c | 19937 | } |
10044bf1 RD |
19938 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
19939 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
19940 | } | |
19941 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
19942 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
19943 | } | |
19944 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
19945 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
19946 | } | |
19947 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
19948 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
19949 | } | |
19950 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
19951 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
19952 | } | |
19953 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
19954 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
19955 | } | |
19956 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
19957 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
19958 | } | |
19959 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
19960 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
19961 | } | |
19962 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
19963 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
19964 | } | |
19965 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
19966 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
19967 | } | |
19968 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
19969 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
19970 | } | |
19971 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
19972 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
19973 | } | |
19974 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
19975 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
19976 | } | |
19977 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
19978 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
19979 | } | |
27e45892 | 19980 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
d7645bfd | 19981 | static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; |
27e45892 | 19982 | 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 | 19983 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
19984 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
19985 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
19986 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
19987 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
19988 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
19989 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
19990 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
19991 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
19992 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
19993 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
19994 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
19995 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
19996 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
19997 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
19998 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
19999 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
20000 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
20001 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
20002 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
20003 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
20004 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
20005 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
20006 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
20007 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
20008 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
20009 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
20010 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
20011 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
20012 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
34d71f81 | 20013 | static swig_type_info _swigt__p_p_wxAuiMDIClientWindow = {"_p_p_wxAuiMDIClientWindow", 0, 0, 0, 0, 0}; |
10044bf1 RD |
20014 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; |
20015 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
20016 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
20017 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
34d71f81 | 20018 | static swig_type_info _swigt__p_p_wxAuiMDIChildFrame = {"_p_p_wxAuiMDIChildFrame", 0, 0, 0, 0, 0}; |
10044bf1 RD |
20019 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; |
20020 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
20021 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 20022 | static swig_type_info _swigt__p_p_wxSimpleHtmlListBox = {"_p_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
10044bf1 RD |
20023 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
20024 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
5eb8189c | 20025 | static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0}; |
10044bf1 RD |
20026 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
20027 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
20028 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
20029 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
20030 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
20031 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
20032 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
20033 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
5eb8189c | 20034 | static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0}; |
10044bf1 | 20035 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
34d71f81 | 20036 | static swig_type_info _swigt__p_p_wxAuiMDIParentFrame = {"_p_p_wxAuiMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
20037 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
20038 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
20039 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
34d71f81 | 20040 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0}; |
5eb8189c RD |
20041 | static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; |
20042 | static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; | |
20043 | static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; | |
20044 | static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0}; | |
20045 | static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0}; | |
20046 | static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0}; | |
34d71f81 RD |
20047 | static swig_type_info _swigt__p_wxAuiMDIChildFrame = {"_p_wxAuiMDIChildFrame", "wxAuiMDIChildFrame *", 0, 0, (void*)0, 0}; |
20048 | static swig_type_info _swigt__p_wxAuiMDIClientWindow = {"_p_wxAuiMDIClientWindow", "wxAuiMDIClientWindow *", 0, 0, (void*)0, 0}; | |
20049 | static swig_type_info _swigt__p_wxAuiMDIParentFrame = {"_p_wxAuiMDIParentFrame", "wxAuiMDIParentFrame *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
20050 | static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0}; |
20051 | static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0}; | |
20052 | static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
20053 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; |
20054 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
20055 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
20056 | static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0}; |
20057 | static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0}; | |
20058 | static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0}; | |
20059 | static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
5172800e | 20060 | static swig_type_info _swigt__p_wxAuiSimpleTabArt = {"_p_wxAuiSimpleTabArt", "wxAuiSimpleTabArt *", 0, 0, (void*)0, 0}; |
5eb8189c | 20061 | static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
20062 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; |
20063 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
20064 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
20065 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
34d71f81 | 20066 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0}; |
27e45892 | 20067 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
20068 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
20069 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
20070 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
20071 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
20072 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
20073 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
20074 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
20075 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
20076 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
20077 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
20078 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
20079 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
20080 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
20081 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
20082 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 | 20083 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
27e45892 RD |
20084 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
20085 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
20086 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; |
20087 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
20088 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 20089 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 20090 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
0f83f5da | 20091 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
20092 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
20093 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20094 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
20095 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
20096 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20097 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; |
20098 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20099 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
20100 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20101 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
20102 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
20103 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
20104 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
20105 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
20106 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20107 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
20108 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20109 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
20110 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
20111 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
20112 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
20113 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
20114 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
20115 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
4976f996 | 20116 | static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0}; |
27e45892 RD |
20117 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; |
20118 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
f9bf356b | 20119 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; |
4976f996 | 20120 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; |
27e45892 | 20121 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; |
4976f996 | 20122 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
20123 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; |
20124 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
20125 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
4976f996 | 20126 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; |
27e45892 | 20127 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; |
27e45892 | 20128 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; |
27e45892 RD |
20129 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; |
20130 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
34d71f81 RD |
20131 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; |
20132 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
20133 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20134 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; |
20135 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
20136 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
20137 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
20138 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
20139 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
27e45892 | 20140 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; |
34d71f81 | 20141 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
20142 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
20143 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 | 20144 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; |
34d71f81 | 20145 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
f9bf356b | 20146 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
27e45892 RD |
20147 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
20148 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
27e45892 | 20149 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; |
34d71f81 | 20150 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
27e45892 | 20151 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; |
27e45892 | 20152 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; |
34d71f81 RD |
20153 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; |
20154 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
20155 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
27e45892 | 20156 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
20157 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
20158 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
34d71f81 RD |
20159 | static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; |
20160 | static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; | |
20161 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0}; | |
20162 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0}; | |
20163 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0}; | |
27e45892 | 20164 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
10044bf1 | 20165 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
20166 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
20167 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
20168 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
20169 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
20170 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
20171 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
20172 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
20173 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
20174 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
20175 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
20176 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
20177 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
20178 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
20179 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
20180 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
20181 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
20182 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
20183 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20184 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; |
20185 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
20186 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
4976f996 | 20187 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; |
34d71f81 | 20188 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
5eb8189c | 20189 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
10044bf1 RD |
20190 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
20191 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20192 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
20193 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
20194 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
20195 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
20196 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 20197 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
20198 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
20199 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
20200 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
20201 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
20202 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
20203 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
20204 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
20205 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
20206 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
20207 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
20208 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
34d71f81 | 20209 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; |
27e45892 RD |
20210 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
20211 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
20212 | static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0}; |
20213 | static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
20214 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
20215 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
20216 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
20217 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
20218 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
20219 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
20220 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
20221 | ||
20222 | static swig_type_info *swig_type_initial[] = { | |
20223 | &_swigt__p_char, | |
d7645bfd | 20224 | &_swigt__p_double, |
27e45892 RD |
20225 | &_swigt__p_form_ops_t, |
20226 | &_swigt__p_int, | |
5eb8189c | 20227 | &_swigt__p_p_wxAuiFloatingFrame, |
34d71f81 RD |
20228 | &_swigt__p_p_wxAuiMDIChildFrame, |
20229 | &_swigt__p_p_wxAuiMDIClientWindow, | |
20230 | &_swigt__p_p_wxAuiMDIParentFrame, | |
5eb8189c | 20231 | &_swigt__p_p_wxAuiNotebook, |
10044bf1 RD |
20232 | &_swigt__p_p_wxAuiTabContainerButton, |
20233 | &_swigt__p_p_wxAuiTabCtrl, | |
20234 | &_swigt__p_p_wxColourDialog, | |
20235 | &_swigt__p_p_wxControl, | |
20236 | &_swigt__p_p_wxControlWithItems, | |
20237 | &_swigt__p_p_wxDialog, | |
20238 | &_swigt__p_p_wxDirDialog, | |
20239 | &_swigt__p_p_wxFileDialog, | |
20240 | &_swigt__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
20241 | &_swigt__p_p_wxFontDialog, |
20242 | &_swigt__p_p_wxFrame, | |
20243 | &_swigt__p_p_wxMDIChildFrame, | |
20244 | &_swigt__p_p_wxMDIClientWindow, | |
20245 | &_swigt__p_p_wxMDIParentFrame, | |
20246 | &_swigt__p_p_wxMenuBar, | |
20247 | &_swigt__p_p_wxMessageDialog, | |
20248 | &_swigt__p_p_wxMiniFrame, | |
20249 | &_swigt__p_p_wxMultiChoiceDialog, | |
20250 | &_swigt__p_p_wxNumberEntryDialog, | |
20251 | &_swigt__p_p_wxPanel, | |
20252 | &_swigt__p_p_wxPasswordEntryDialog, | |
20253 | &_swigt__p_p_wxPopupWindow, | |
20254 | &_swigt__p_p_wxPreviewCanvas, | |
20255 | &_swigt__p_p_wxPreviewControlBar, | |
20256 | &_swigt__p_p_wxPreviewFrame, | |
20257 | &_swigt__p_p_wxProgressDialog, | |
20258 | &_swigt__p_p_wxPyHtmlListBox, | |
20259 | &_swigt__p_p_wxPyPanel, | |
20260 | &_swigt__p_p_wxPyPopupTransientWindow, | |
20261 | &_swigt__p_p_wxPyPreviewControlBar, | |
20262 | &_swigt__p_p_wxPyPreviewFrame, | |
20263 | &_swigt__p_p_wxPyScrolledWindow, | |
20264 | &_swigt__p_p_wxPyVListBox, | |
20265 | &_swigt__p_p_wxPyVScrolledWindow, | |
20266 | &_swigt__p_p_wxPyWindow, | |
20267 | &_swigt__p_p_wxSashLayoutWindow, | |
20268 | &_swigt__p_p_wxSashWindow, | |
20269 | &_swigt__p_p_wxScrolledWindow, | |
f9bf356b | 20270 | &_swigt__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
20271 | &_swigt__p_p_wxSingleChoiceDialog, |
20272 | &_swigt__p_p_wxSplashScreen, | |
20273 | &_swigt__p_p_wxSplashScreenWindow, | |
20274 | &_swigt__p_p_wxSplitterWindow, | |
20275 | &_swigt__p_p_wxStatusBar, | |
20276 | &_swigt__p_p_wxTextEntryDialog, | |
20277 | &_swigt__p_p_wxTipWindow, | |
20278 | &_swigt__p_p_wxTopLevelWindow, | |
20279 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
20280 | &_swigt__p_unsigned_char, |
20281 | &_swigt__p_unsigned_int, | |
20282 | &_swigt__p_unsigned_long, | |
20283 | &_swigt__p_wxANIHandler, | |
20284 | &_swigt__p_wxAcceleratorTable, | |
20285 | &_swigt__p_wxActivateEvent, | |
5eb8189c RD |
20286 | &_swigt__p_wxAuiDefaultDockArt, |
20287 | &_swigt__p_wxAuiDefaultTabArt, | |
20288 | &_swigt__p_wxAuiDockArt, | |
20289 | &_swigt__p_wxAuiDockInfo, | |
20290 | &_swigt__p_wxAuiDockUIPart, | |
20291 | &_swigt__p_wxAuiFloatingFrame, | |
34d71f81 RD |
20292 | &_swigt__p_wxAuiMDIChildFrame, |
20293 | &_swigt__p_wxAuiMDIClientWindow, | |
20294 | &_swigt__p_wxAuiMDIParentFrame, | |
5eb8189c RD |
20295 | &_swigt__p_wxAuiManager, |
20296 | &_swigt__p_wxAuiManagerEvent, | |
20297 | &_swigt__p_wxAuiNotebook, | |
10044bf1 RD |
20298 | &_swigt__p_wxAuiNotebookEvent, |
20299 | &_swigt__p_wxAuiNotebookPage, | |
20300 | &_swigt__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
20301 | &_swigt__p_wxAuiPaneButton, |
20302 | &_swigt__p_wxAuiPaneButtonArray, | |
20303 | &_swigt__p_wxAuiPaneInfo, | |
20304 | &_swigt__p_wxAuiPaneInfoPtrArray, | |
5172800e | 20305 | &_swigt__p_wxAuiSimpleTabArt, |
5eb8189c | 20306 | &_swigt__p_wxAuiTabArt, |
10044bf1 RD |
20307 | &_swigt__p_wxAuiTabContainer, |
20308 | &_swigt__p_wxAuiTabContainerButton, | |
20309 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 20310 | &_swigt__p_wxBMPHandler, |
10044bf1 | 20311 | &_swigt__p_wxBitmap, |
27e45892 RD |
20312 | &_swigt__p_wxBoxSizer, |
20313 | &_swigt__p_wxCURHandler, | |
20314 | &_swigt__p_wxCalculateLayoutEvent, | |
20315 | &_swigt__p_wxChildFocusEvent, | |
20316 | &_swigt__p_wxClipboardTextEvent, | |
20317 | &_swigt__p_wxCloseEvent, | |
27e45892 RD |
20318 | &_swigt__p_wxColour, |
20319 | &_swigt__p_wxColourData, | |
20320 | &_swigt__p_wxColourDialog, | |
20321 | &_swigt__p_wxCommandEvent, | |
20322 | &_swigt__p_wxContextMenuEvent, | |
20323 | &_swigt__p_wxControl, | |
20324 | &_swigt__p_wxControlWithItems, | |
20325 | &_swigt__p_wxDC, | |
20326 | &_swigt__p_wxDateEvent, | |
27e45892 RD |
20327 | &_swigt__p_wxDialog, |
20328 | &_swigt__p_wxDirDialog, | |
20329 | &_swigt__p_wxDisplayChangedEvent, | |
27e45892 RD |
20330 | &_swigt__p_wxDropFilesEvent, |
20331 | &_swigt__p_wxDuplexMode, | |
20332 | &_swigt__p_wxEraseEvent, | |
20333 | &_swigt__p_wxEvent, | |
4976f996 | 20334 | &_swigt__p_wxEventBlocker, |
27e45892 RD |
20335 | &_swigt__p_wxEvtHandler, |
20336 | &_swigt__p_wxFSFile, | |
20337 | &_swigt__p_wxFileDialog, | |
20338 | &_swigt__p_wxFileSystem, | |
20339 | &_swigt__p_wxFindDialogEvent, | |
20340 | &_swigt__p_wxFindReplaceData, | |
20341 | &_swigt__p_wxFindReplaceDialog, | |
20342 | &_swigt__p_wxFlexGridSizer, | |
27e45892 RD |
20343 | &_swigt__p_wxFocusEvent, |
20344 | &_swigt__p_wxFont, | |
20345 | &_swigt__p_wxFontData, | |
20346 | &_swigt__p_wxFontDialog, | |
20347 | &_swigt__p_wxFrame, | |
27e45892 RD |
20348 | &_swigt__p_wxGBSizerItem, |
20349 | &_swigt__p_wxGIFHandler, | |
20350 | &_swigt__p_wxGridBagSizer, | |
20351 | &_swigt__p_wxGridSizer, | |
20352 | &_swigt__p_wxICOHandler, | |
34d71f81 RD |
20353 | &_swigt__p_wxIcon, |
20354 | &_swigt__p_wxIconBundle, | |
27e45892 RD |
20355 | &_swigt__p_wxIconizeEvent, |
20356 | &_swigt__p_wxIdleEvent, | |
20357 | &_swigt__p_wxImage, | |
20358 | &_swigt__p_wxImageHandler, | |
20359 | &_swigt__p_wxIndividualLayoutConstraint, | |
20360 | &_swigt__p_wxInitDialogEvent, | |
20361 | &_swigt__p_wxJPEGHandler, | |
20362 | &_swigt__p_wxKeyEvent, | |
20363 | &_swigt__p_wxLayoutAlgorithm, | |
20364 | &_swigt__p_wxLayoutConstraints, | |
20365 | &_swigt__p_wxMDIChildFrame, | |
20366 | &_swigt__p_wxMDIClientWindow, | |
20367 | &_swigt__p_wxMDIParentFrame, | |
20368 | &_swigt__p_wxMaximizeEvent, | |
20369 | &_swigt__p_wxMenu, | |
20370 | &_swigt__p_wxMenuBar, | |
20371 | &_swigt__p_wxMenuEvent, | |
20372 | &_swigt__p_wxMenuItem, | |
20373 | &_swigt__p_wxMessageDialog, | |
20374 | &_swigt__p_wxMiniFrame, | |
20375 | &_swigt__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 20376 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
20377 | &_swigt__p_wxMouseEvent, |
20378 | &_swigt__p_wxMoveEvent, | |
20379 | &_swigt__p_wxMultiChoiceDialog, | |
20380 | &_swigt__p_wxNavigationKeyEvent, | |
20381 | &_swigt__p_wxNcPaintEvent, | |
20382 | &_swigt__p_wxNotifyEvent, | |
20383 | &_swigt__p_wxNumberEntryDialog, | |
20384 | &_swigt__p_wxObject, | |
20385 | &_swigt__p_wxPCXHandler, | |
20386 | &_swigt__p_wxPNGHandler, | |
20387 | &_swigt__p_wxPNMHandler, | |
20388 | &_swigt__p_wxPageSetupDialog, | |
20389 | &_swigt__p_wxPageSetupDialogData, | |
20390 | &_swigt__p_wxPaintEvent, | |
20391 | &_swigt__p_wxPaletteChangedEvent, | |
27e45892 RD |
20392 | &_swigt__p_wxPanel, |
20393 | &_swigt__p_wxPaperSize, | |
20394 | &_swigt__p_wxPasswordEntryDialog, | |
20395 | &_swigt__p_wxPoint, | |
20396 | &_swigt__p_wxPopupWindow, | |
20397 | &_swigt__p_wxPreviewCanvas, | |
20398 | &_swigt__p_wxPreviewControlBar, | |
20399 | &_swigt__p_wxPreviewFrame, | |
20400 | &_swigt__p_wxPrintData, | |
20401 | &_swigt__p_wxPrintDialog, | |
20402 | &_swigt__p_wxPrintDialogData, | |
20403 | &_swigt__p_wxPrintPreview, | |
20404 | &_swigt__p_wxPrinter, | |
20405 | &_swigt__p_wxProgressDialog, | |
20406 | &_swigt__p_wxPyApp, | |
5eb8189c RD |
20407 | &_swigt__p_wxPyAuiDockArt, |
20408 | &_swigt__p_wxPyAuiTabArt, | |
27e45892 | 20409 | &_swigt__p_wxPyCommandEvent, |
27e45892 RD |
20410 | &_swigt__p_wxPyEvent, |
20411 | &_swigt__p_wxPyHtmlListBox, | |
20412 | &_swigt__p_wxPyImageHandler, | |
20413 | &_swigt__p_wxPyPanel, | |
20414 | &_swigt__p_wxPyPopupTransientWindow, | |
20415 | &_swigt__p_wxPyPreviewControlBar, | |
20416 | &_swigt__p_wxPyPreviewFrame, | |
20417 | &_swigt__p_wxPyPrintPreview, | |
20418 | &_swigt__p_wxPyPrintout, | |
20419 | &_swigt__p_wxPyScrolledWindow, | |
20420 | &_swigt__p_wxPySizer, | |
20421 | &_swigt__p_wxPyTaskBarIcon, | |
20422 | &_swigt__p_wxPyVListBox, | |
20423 | &_swigt__p_wxPyVScrolledWindow, | |
20424 | &_swigt__p_wxPyValidator, | |
20425 | &_swigt__p_wxPyWindow, | |
20426 | &_swigt__p_wxQueryLayoutInfoEvent, | |
20427 | &_swigt__p_wxQueryNewPaletteEvent, | |
20428 | &_swigt__p_wxRect, | |
20429 | &_swigt__p_wxSashEvent, | |
20430 | &_swigt__p_wxSashLayoutWindow, | |
20431 | &_swigt__p_wxSashWindow, | |
20432 | &_swigt__p_wxScrollEvent, | |
20433 | &_swigt__p_wxScrollWinEvent, | |
20434 | &_swigt__p_wxScrolledWindow, | |
20435 | &_swigt__p_wxSetCursorEvent, | |
20436 | &_swigt__p_wxShowEvent, | |
f9bf356b | 20437 | &_swigt__p_wxSimpleHtmlListBox, |
27e45892 RD |
20438 | &_swigt__p_wxSingleChoiceDialog, |
20439 | &_swigt__p_wxSize, | |
20440 | &_swigt__p_wxSizeEvent, | |
20441 | &_swigt__p_wxSizer, | |
20442 | &_swigt__p_wxSizerItem, | |
20443 | &_swigt__p_wxSplashScreen, | |
20444 | &_swigt__p_wxSplashScreenWindow, | |
20445 | &_swigt__p_wxSplitterEvent, | |
20446 | &_swigt__p_wxSplitterWindow, | |
20447 | &_swigt__p_wxStaticBoxSizer, | |
20448 | &_swigt__p_wxStatusBar, | |
20449 | &_swigt__p_wxStdDialogButtonSizer, | |
20450 | &_swigt__p_wxString, | |
20451 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 20452 | &_swigt__p_wxTGAHandler, |
27e45892 RD |
20453 | &_swigt__p_wxTIFFHandler, |
20454 | &_swigt__p_wxTaskBarIconEvent, | |
20455 | &_swigt__p_wxTextEntryDialog, | |
20456 | &_swigt__p_wxTipWindow, | |
20457 | &_swigt__p_wxTopLevelWindow, | |
20458 | &_swigt__p_wxUpdateUIEvent, | |
20459 | &_swigt__p_wxValidator, | |
20460 | &_swigt__p_wxWindow, | |
20461 | &_swigt__p_wxWindowCreateEvent, | |
20462 | &_swigt__p_wxWindowDestroyEvent, | |
20463 | &_swigt__p_wxXPMHandler, | |
20464 | }; | |
20465 | ||
20466 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
d7645bfd | 20467 | static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20468 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; |
20469 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
20470 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
20471 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
20472 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
20473 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
20474 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20475 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20476 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20477 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20478 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20479 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20480 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20481 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20482 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20483 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20484 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
20485 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20486 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20487 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20488 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20489 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20490 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20491 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20492 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20493 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20494 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20495 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20496 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20497 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20498 | static swig_cast_info _swigc__p_p_wxAuiMDIClientWindow[] = {{&_swigt__p_p_wxAuiMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20499 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20500 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
20501 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
20502 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20503 | static swig_cast_info _swigc__p_p_wxAuiMDIChildFrame[] = {{&_swigt__p_p_wxAuiMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20504 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; |
20505 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20506 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 20507 | static swig_cast_info _swigc__p_p_wxSimpleHtmlListBox[] = {{&_swigt__p_p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20508 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
20509 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20510 | static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20511 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
20512 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20513 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
20514 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
20515 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20516 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20517 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20518 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20519 | static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 | 20520 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 RD |
20521 | static swig_cast_info _swigc__p_p_wxAuiMDIParentFrame[] = {{&_swigt__p_p_wxAuiMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20522 | 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 |
20523 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
20524 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
20525 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20526 | static swig_cast_info _swigc__p_wxActivateEvent[] = { {&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
20527 | 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}}; |
20528 | 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}}; | |
20529 | 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}}; | |
20530 | static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
20531 | static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
20532 | static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 RD |
20533 | static swig_cast_info _swigc__p_wxAuiMDIChildFrame[] = { {&_swigt__p_wxAuiMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20534 | static swig_cast_info _swigc__p_wxAuiMDIClientWindow[] = { {&_swigt__p_wxAuiMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20535 | static swig_cast_info _swigc__p_wxAuiMDIParentFrame[] = { {&_swigt__p_wxAuiMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
20536 | static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}}; |
20537 | static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20538 | 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 |
20539 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20540 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
20541 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
20542 | static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
20543 | static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
20544 | static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
20545 | static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5172800e RD |
20546 | static swig_cast_info _swigc__p_wxAuiSimpleTabArt[] = { {&_swigt__p_wxAuiSimpleTabArt, 0, 0, 0},{0, 0, 0, 0}}; |
20547 | 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 |
20548 | 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}}; |
20549 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
20550 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
20551 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20552 | static swig_cast_info _swigc__p_wxCloseEvent[] = { {&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20553 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20554 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20555 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20556 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20557 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20558 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20559 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20560 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20561 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20562 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20563 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20564 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20565 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20566 | 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}}; | |
20567 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20568 | 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 | 20569 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20570 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20571 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20572 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20573 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20574 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20575 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
0f83f5da | 20576 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20577 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20578 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20579 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20580 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20581 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20582 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20583 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20584 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20585 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20586 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20587 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20588 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20589 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20590 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20591 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20592 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20593 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20594 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20595 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20596 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20597 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20598 | 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 |
20599 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
20600 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 20601 | static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20602 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; |
20603 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 20604 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 20605 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20606 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 20607 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20608 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
20609 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20610 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 20611 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20612 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20613 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20614 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
20615 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 RD |
20616 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; |
20617 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20618 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20619 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; |
20620 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20621 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20622 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20623 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20624 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20625 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20626 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20627 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20628 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20629 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20630 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 20631 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20632 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
20633 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20634 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20635 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20636 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20637 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 RD |
20638 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; |
20639 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20640 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20641 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 20642 | 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 | 20643 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 RD |
20644 | 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}}; |
20645 | static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
20646 | static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}}; | |
20647 | static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
20648 | static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20649 | static swig_cast_info _swigc__p_wxMenuEvent[] = { {&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20650 | 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 | 20651 | 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 |
20652 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
20653 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
20654 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
20655 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20656 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20657 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20658 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
20659 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
20660 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20661 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20662 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
20663 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
20664 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
20665 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20666 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
20667 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
20668 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20669 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; |
20670 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20671 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 20672 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20673 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c | 20674 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20675 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
20676 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20677 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
20678 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20679 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20680 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20681 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 20682 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20683 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
20684 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
20685 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
20686 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
20687 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
20688 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
20689 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20690 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20691 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
20692 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
20693 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 20694 | 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 | 20695 | 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 |
20696 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
20697 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
20698 | static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}}; |
20699 | static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20700 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
20701 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
20702 | 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}}; | |
20703 | 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}}; | |
20704 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 RD |
20705 | 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}}; |
20706 | 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 |
20707 | |
20708 | static swig_cast_info *swig_cast_initial[] = { | |
20709 | _swigc__p_char, | |
d7645bfd | 20710 | _swigc__p_double, |
27e45892 RD |
20711 | _swigc__p_form_ops_t, |
20712 | _swigc__p_int, | |
5eb8189c | 20713 | _swigc__p_p_wxAuiFloatingFrame, |
34d71f81 RD |
20714 | _swigc__p_p_wxAuiMDIChildFrame, |
20715 | _swigc__p_p_wxAuiMDIClientWindow, | |
20716 | _swigc__p_p_wxAuiMDIParentFrame, | |
5eb8189c | 20717 | _swigc__p_p_wxAuiNotebook, |
10044bf1 RD |
20718 | _swigc__p_p_wxAuiTabContainerButton, |
20719 | _swigc__p_p_wxAuiTabCtrl, | |
20720 | _swigc__p_p_wxColourDialog, | |
20721 | _swigc__p_p_wxControl, | |
20722 | _swigc__p_p_wxControlWithItems, | |
20723 | _swigc__p_p_wxDialog, | |
20724 | _swigc__p_p_wxDirDialog, | |
20725 | _swigc__p_p_wxFileDialog, | |
20726 | _swigc__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
20727 | _swigc__p_p_wxFontDialog, |
20728 | _swigc__p_p_wxFrame, | |
20729 | _swigc__p_p_wxMDIChildFrame, | |
20730 | _swigc__p_p_wxMDIClientWindow, | |
20731 | _swigc__p_p_wxMDIParentFrame, | |
20732 | _swigc__p_p_wxMenuBar, | |
20733 | _swigc__p_p_wxMessageDialog, | |
20734 | _swigc__p_p_wxMiniFrame, | |
20735 | _swigc__p_p_wxMultiChoiceDialog, | |
20736 | _swigc__p_p_wxNumberEntryDialog, | |
20737 | _swigc__p_p_wxPanel, | |
20738 | _swigc__p_p_wxPasswordEntryDialog, | |
20739 | _swigc__p_p_wxPopupWindow, | |
20740 | _swigc__p_p_wxPreviewCanvas, | |
20741 | _swigc__p_p_wxPreviewControlBar, | |
20742 | _swigc__p_p_wxPreviewFrame, | |
20743 | _swigc__p_p_wxProgressDialog, | |
20744 | _swigc__p_p_wxPyHtmlListBox, | |
20745 | _swigc__p_p_wxPyPanel, | |
20746 | _swigc__p_p_wxPyPopupTransientWindow, | |
20747 | _swigc__p_p_wxPyPreviewControlBar, | |
20748 | _swigc__p_p_wxPyPreviewFrame, | |
20749 | _swigc__p_p_wxPyScrolledWindow, | |
20750 | _swigc__p_p_wxPyVListBox, | |
20751 | _swigc__p_p_wxPyVScrolledWindow, | |
20752 | _swigc__p_p_wxPyWindow, | |
20753 | _swigc__p_p_wxSashLayoutWindow, | |
20754 | _swigc__p_p_wxSashWindow, | |
20755 | _swigc__p_p_wxScrolledWindow, | |
f9bf356b | 20756 | _swigc__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
20757 | _swigc__p_p_wxSingleChoiceDialog, |
20758 | _swigc__p_p_wxSplashScreen, | |
20759 | _swigc__p_p_wxSplashScreenWindow, | |
20760 | _swigc__p_p_wxSplitterWindow, | |
20761 | _swigc__p_p_wxStatusBar, | |
20762 | _swigc__p_p_wxTextEntryDialog, | |
20763 | _swigc__p_p_wxTipWindow, | |
20764 | _swigc__p_p_wxTopLevelWindow, | |
20765 | _swigc__p_p_wxWindow, | |
27e45892 RD |
20766 | _swigc__p_unsigned_char, |
20767 | _swigc__p_unsigned_int, | |
20768 | _swigc__p_unsigned_long, | |
20769 | _swigc__p_wxANIHandler, | |
20770 | _swigc__p_wxAcceleratorTable, | |
20771 | _swigc__p_wxActivateEvent, | |
5eb8189c RD |
20772 | _swigc__p_wxAuiDefaultDockArt, |
20773 | _swigc__p_wxAuiDefaultTabArt, | |
20774 | _swigc__p_wxAuiDockArt, | |
20775 | _swigc__p_wxAuiDockInfo, | |
20776 | _swigc__p_wxAuiDockUIPart, | |
20777 | _swigc__p_wxAuiFloatingFrame, | |
34d71f81 RD |
20778 | _swigc__p_wxAuiMDIChildFrame, |
20779 | _swigc__p_wxAuiMDIClientWindow, | |
20780 | _swigc__p_wxAuiMDIParentFrame, | |
5eb8189c RD |
20781 | _swigc__p_wxAuiManager, |
20782 | _swigc__p_wxAuiManagerEvent, | |
20783 | _swigc__p_wxAuiNotebook, | |
10044bf1 RD |
20784 | _swigc__p_wxAuiNotebookEvent, |
20785 | _swigc__p_wxAuiNotebookPage, | |
20786 | _swigc__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
20787 | _swigc__p_wxAuiPaneButton, |
20788 | _swigc__p_wxAuiPaneButtonArray, | |
20789 | _swigc__p_wxAuiPaneInfo, | |
20790 | _swigc__p_wxAuiPaneInfoPtrArray, | |
5172800e | 20791 | _swigc__p_wxAuiSimpleTabArt, |
5eb8189c | 20792 | _swigc__p_wxAuiTabArt, |
10044bf1 RD |
20793 | _swigc__p_wxAuiTabContainer, |
20794 | _swigc__p_wxAuiTabContainerButton, | |
20795 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 20796 | _swigc__p_wxBMPHandler, |
10044bf1 | 20797 | _swigc__p_wxBitmap, |
27e45892 RD |
20798 | _swigc__p_wxBoxSizer, |
20799 | _swigc__p_wxCURHandler, | |
20800 | _swigc__p_wxCalculateLayoutEvent, | |
20801 | _swigc__p_wxChildFocusEvent, | |
20802 | _swigc__p_wxClipboardTextEvent, | |
20803 | _swigc__p_wxCloseEvent, | |
27e45892 RD |
20804 | _swigc__p_wxColour, |
20805 | _swigc__p_wxColourData, | |
20806 | _swigc__p_wxColourDialog, | |
20807 | _swigc__p_wxCommandEvent, | |
20808 | _swigc__p_wxContextMenuEvent, | |
20809 | _swigc__p_wxControl, | |
20810 | _swigc__p_wxControlWithItems, | |
20811 | _swigc__p_wxDC, | |
20812 | _swigc__p_wxDateEvent, | |
27e45892 RD |
20813 | _swigc__p_wxDialog, |
20814 | _swigc__p_wxDirDialog, | |
20815 | _swigc__p_wxDisplayChangedEvent, | |
27e45892 RD |
20816 | _swigc__p_wxDropFilesEvent, |
20817 | _swigc__p_wxDuplexMode, | |
20818 | _swigc__p_wxEraseEvent, | |
20819 | _swigc__p_wxEvent, | |
4976f996 | 20820 | _swigc__p_wxEventBlocker, |
27e45892 RD |
20821 | _swigc__p_wxEvtHandler, |
20822 | _swigc__p_wxFSFile, | |
20823 | _swigc__p_wxFileDialog, | |
20824 | _swigc__p_wxFileSystem, | |
20825 | _swigc__p_wxFindDialogEvent, | |
20826 | _swigc__p_wxFindReplaceData, | |
20827 | _swigc__p_wxFindReplaceDialog, | |
20828 | _swigc__p_wxFlexGridSizer, | |
27e45892 RD |
20829 | _swigc__p_wxFocusEvent, |
20830 | _swigc__p_wxFont, | |
20831 | _swigc__p_wxFontData, | |
20832 | _swigc__p_wxFontDialog, | |
20833 | _swigc__p_wxFrame, | |
27e45892 RD |
20834 | _swigc__p_wxGBSizerItem, |
20835 | _swigc__p_wxGIFHandler, | |
20836 | _swigc__p_wxGridBagSizer, | |
20837 | _swigc__p_wxGridSizer, | |
20838 | _swigc__p_wxICOHandler, | |
34d71f81 RD |
20839 | _swigc__p_wxIcon, |
20840 | _swigc__p_wxIconBundle, | |
27e45892 RD |
20841 | _swigc__p_wxIconizeEvent, |
20842 | _swigc__p_wxIdleEvent, | |
20843 | _swigc__p_wxImage, | |
20844 | _swigc__p_wxImageHandler, | |
20845 | _swigc__p_wxIndividualLayoutConstraint, | |
20846 | _swigc__p_wxInitDialogEvent, | |
20847 | _swigc__p_wxJPEGHandler, | |
20848 | _swigc__p_wxKeyEvent, | |
20849 | _swigc__p_wxLayoutAlgorithm, | |
20850 | _swigc__p_wxLayoutConstraints, | |
20851 | _swigc__p_wxMDIChildFrame, | |
20852 | _swigc__p_wxMDIClientWindow, | |
20853 | _swigc__p_wxMDIParentFrame, | |
20854 | _swigc__p_wxMaximizeEvent, | |
20855 | _swigc__p_wxMenu, | |
20856 | _swigc__p_wxMenuBar, | |
20857 | _swigc__p_wxMenuEvent, | |
20858 | _swigc__p_wxMenuItem, | |
20859 | _swigc__p_wxMessageDialog, | |
20860 | _swigc__p_wxMiniFrame, | |
20861 | _swigc__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 20862 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
20863 | _swigc__p_wxMouseEvent, |
20864 | _swigc__p_wxMoveEvent, | |
20865 | _swigc__p_wxMultiChoiceDialog, | |
20866 | _swigc__p_wxNavigationKeyEvent, | |
20867 | _swigc__p_wxNcPaintEvent, | |
20868 | _swigc__p_wxNotifyEvent, | |
20869 | _swigc__p_wxNumberEntryDialog, | |
20870 | _swigc__p_wxObject, | |
20871 | _swigc__p_wxPCXHandler, | |
20872 | _swigc__p_wxPNGHandler, | |
20873 | _swigc__p_wxPNMHandler, | |
20874 | _swigc__p_wxPageSetupDialog, | |
20875 | _swigc__p_wxPageSetupDialogData, | |
20876 | _swigc__p_wxPaintEvent, | |
20877 | _swigc__p_wxPaletteChangedEvent, | |
27e45892 RD |
20878 | _swigc__p_wxPanel, |
20879 | _swigc__p_wxPaperSize, | |
20880 | _swigc__p_wxPasswordEntryDialog, | |
20881 | _swigc__p_wxPoint, | |
20882 | _swigc__p_wxPopupWindow, | |
20883 | _swigc__p_wxPreviewCanvas, | |
20884 | _swigc__p_wxPreviewControlBar, | |
20885 | _swigc__p_wxPreviewFrame, | |
20886 | _swigc__p_wxPrintData, | |
20887 | _swigc__p_wxPrintDialog, | |
20888 | _swigc__p_wxPrintDialogData, | |
20889 | _swigc__p_wxPrintPreview, | |
20890 | _swigc__p_wxPrinter, | |
20891 | _swigc__p_wxProgressDialog, | |
20892 | _swigc__p_wxPyApp, | |
5eb8189c RD |
20893 | _swigc__p_wxPyAuiDockArt, |
20894 | _swigc__p_wxPyAuiTabArt, | |
27e45892 | 20895 | _swigc__p_wxPyCommandEvent, |
27e45892 RD |
20896 | _swigc__p_wxPyEvent, |
20897 | _swigc__p_wxPyHtmlListBox, | |
20898 | _swigc__p_wxPyImageHandler, | |
20899 | _swigc__p_wxPyPanel, | |
20900 | _swigc__p_wxPyPopupTransientWindow, | |
20901 | _swigc__p_wxPyPreviewControlBar, | |
20902 | _swigc__p_wxPyPreviewFrame, | |
20903 | _swigc__p_wxPyPrintPreview, | |
20904 | _swigc__p_wxPyPrintout, | |
20905 | _swigc__p_wxPyScrolledWindow, | |
20906 | _swigc__p_wxPySizer, | |
20907 | _swigc__p_wxPyTaskBarIcon, | |
20908 | _swigc__p_wxPyVListBox, | |
20909 | _swigc__p_wxPyVScrolledWindow, | |
20910 | _swigc__p_wxPyValidator, | |
20911 | _swigc__p_wxPyWindow, | |
20912 | _swigc__p_wxQueryLayoutInfoEvent, | |
20913 | _swigc__p_wxQueryNewPaletteEvent, | |
20914 | _swigc__p_wxRect, | |
20915 | _swigc__p_wxSashEvent, | |
20916 | _swigc__p_wxSashLayoutWindow, | |
20917 | _swigc__p_wxSashWindow, | |
20918 | _swigc__p_wxScrollEvent, | |
20919 | _swigc__p_wxScrollWinEvent, | |
20920 | _swigc__p_wxScrolledWindow, | |
20921 | _swigc__p_wxSetCursorEvent, | |
20922 | _swigc__p_wxShowEvent, | |
f9bf356b | 20923 | _swigc__p_wxSimpleHtmlListBox, |
27e45892 RD |
20924 | _swigc__p_wxSingleChoiceDialog, |
20925 | _swigc__p_wxSize, | |
20926 | _swigc__p_wxSizeEvent, | |
20927 | _swigc__p_wxSizer, | |
20928 | _swigc__p_wxSizerItem, | |
20929 | _swigc__p_wxSplashScreen, | |
20930 | _swigc__p_wxSplashScreenWindow, | |
20931 | _swigc__p_wxSplitterEvent, | |
20932 | _swigc__p_wxSplitterWindow, | |
20933 | _swigc__p_wxStaticBoxSizer, | |
20934 | _swigc__p_wxStatusBar, | |
20935 | _swigc__p_wxStdDialogButtonSizer, | |
20936 | _swigc__p_wxString, | |
20937 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 20938 | _swigc__p_wxTGAHandler, |
27e45892 RD |
20939 | _swigc__p_wxTIFFHandler, |
20940 | _swigc__p_wxTaskBarIconEvent, | |
20941 | _swigc__p_wxTextEntryDialog, | |
20942 | _swigc__p_wxTipWindow, | |
20943 | _swigc__p_wxTopLevelWindow, | |
20944 | _swigc__p_wxUpdateUIEvent, | |
20945 | _swigc__p_wxValidator, | |
20946 | _swigc__p_wxWindow, | |
20947 | _swigc__p_wxWindowCreateEvent, | |
20948 | _swigc__p_wxWindowDestroyEvent, | |
20949 | _swigc__p_wxXPMHandler, | |
20950 | }; | |
20951 | ||
20952 | ||
20953 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
20954 | ||
20955 | static swig_const_info swig_const_table[] = { | |
20956 | {0, 0, 0, 0.0, 0, 0}}; | |
20957 | ||
20958 | #ifdef __cplusplus | |
20959 | } | |
20960 | #endif | |
20961 | /* ----------------------------------------------------------------------------- | |
20962 | * Type initialization: | |
20963 | * This problem is tough by the requirement that no dynamic | |
20964 | * memory is used. Also, since swig_type_info structures store pointers to | |
20965 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
20966 | * to swig_type_info structures, we need some lookup code at initialization. | |
20967 | * The idea is that swig generates all the structures that are needed. | |
20968 | * The runtime then collects these partially filled structures. | |
20969 | * The SWIG_InitializeModule function takes these initial arrays out of | |
20970 | * swig_module, and does all the lookup, filling in the swig_module.types | |
20971 | * array with the correct data and linking the correct swig_cast_info | |
20972 | * structures together. | |
20973 | * | |
20974 | * The generated swig_type_info structures are assigned staticly to an initial | |
20975 | * array. We just loop though that array, and handle each type individually. | |
20976 | * First we lookup if this type has been already loaded, and if so, use the | |
20977 | * loaded structure instead of the generated one. Then we have to fill in the | |
20978 | * cast linked list. The cast data is initially stored in something like a | |
20979 | * two-dimensional array. Each row corresponds to a type (there are the same | |
20980 | * number of rows as there are in the swig_type_initial array). Each entry in | |
20981 | * a column is one of the swig_cast_info structures for that type. | |
20982 | * The cast_initial array is actually an array of arrays, because each row has | |
20983 | * a variable number of columns. So to actually build the cast linked list, | |
20984 | * we find the array of casts associated with the type, and loop through it | |
20985 | * adding the casts to the list. The one last trick we need to do is making | |
20986 | * sure the type pointer in the swig_cast_info struct is correct. | |
20987 | * | |
20988 | * First off, we lookup the cast->type name to see if it is already loaded. | |
20989 | * There are three cases to handle: | |
20990 | * 1) If the cast->type has already been loaded AND the type we are adding | |
20991 | * casting info to has not been loaded (it is in this module), THEN we | |
20992 | * replace the cast->type pointer with the type pointer that has already | |
20993 | * been loaded. | |
20994 | * 2) If BOTH types (the one we are adding casting info to, and the | |
20995 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
20996 | * the previous module so we just ignore it. | |
20997 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
20998 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
20999 | * be correct. | |
21000 | * ----------------------------------------------------------------------------- */ | |
21001 | ||
21002 | #ifdef __cplusplus | |
21003 | extern "C" { | |
21004 | #if 0 | |
21005 | } /* c-mode */ | |
21006 | #endif | |
21007 | #endif | |
21008 | ||
21009 | #if 0 | |
21010 | #define SWIGRUNTIME_DEBUG | |
21011 | #endif | |
21012 | ||
21013 | SWIGRUNTIME void | |
21014 | SWIG_InitializeModule(void *clientdata) { | |
21015 | size_t i; | |
21016 | swig_module_info *module_head; | |
21017 | static int init_run = 0; | |
21018 | ||
21019 | clientdata = clientdata; | |
21020 | ||
21021 | if (init_run) return; | |
21022 | init_run = 1; | |
21023 | ||
21024 | /* Initialize the swig_module */ | |
21025 | swig_module.type_initial = swig_type_initial; | |
21026 | swig_module.cast_initial = swig_cast_initial; | |
21027 | ||
21028 | /* Try and load any already created modules */ | |
21029 | module_head = SWIG_GetModule(clientdata); | |
21030 | if (module_head) { | |
21031 | swig_module.next = module_head->next; | |
21032 | module_head->next = &swig_module; | |
21033 | } else { | |
21034 | /* This is the first module loaded */ | |
21035 | swig_module.next = &swig_module; | |
21036 | SWIG_SetModule(clientdata, &swig_module); | |
21037 | } | |
21038 | ||
21039 | /* Now work on filling in swig_module.types */ | |
21040 | #ifdef SWIGRUNTIME_DEBUG | |
21041 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
21042 | #endif | |
21043 | for (i = 0; i < swig_module.size; ++i) { | |
21044 | swig_type_info *type = 0; | |
21045 | swig_type_info *ret; | |
21046 | swig_cast_info *cast; | |
21047 | ||
21048 | #ifdef SWIGRUNTIME_DEBUG | |
21049 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
21050 | #endif | |
21051 | ||
21052 | /* if there is another module already loaded */ | |
21053 | if (swig_module.next != &swig_module) { | |
21054 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
21055 | } | |
21056 | if (type) { | |
21057 | /* Overwrite clientdata field */ | |
21058 | #ifdef SWIGRUNTIME_DEBUG | |
21059 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
21060 | #endif | |
21061 | if (swig_module.type_initial[i]->clientdata) { | |
21062 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
21063 | #ifdef SWIGRUNTIME_DEBUG | |
21064 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
21065 | #endif | |
21066 | } | |
21067 | } else { | |
21068 | type = swig_module.type_initial[i]; | |
21069 | } | |
21070 | ||
21071 | /* Insert casting types */ | |
21072 | cast = swig_module.cast_initial[i]; | |
21073 | while (cast->type) { | |
21074 | /* Don't need to add information already in the list */ | |
21075 | ret = 0; | |
21076 | #ifdef SWIGRUNTIME_DEBUG | |
21077 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
21078 | #endif | |
21079 | if (swig_module.next != &swig_module) { | |
21080 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
21081 | #ifdef SWIGRUNTIME_DEBUG | |
21082 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
21083 | #endif | |
21084 | } | |
21085 | if (ret) { | |
21086 | if (type == swig_module.type_initial[i]) { | |
21087 | #ifdef SWIGRUNTIME_DEBUG | |
21088 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
21089 | #endif | |
21090 | cast->type = ret; | |
21091 | ret = 0; | |
21092 | } else { | |
21093 | /* Check for casting already in the list */ | |
21094 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
21095 | #ifdef SWIGRUNTIME_DEBUG | |
21096 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
21097 | #endif | |
21098 | if (!ocast) ret = 0; | |
21099 | } | |
21100 | } | |
21101 | ||
21102 | if (!ret) { | |
21103 | #ifdef SWIGRUNTIME_DEBUG | |
21104 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
21105 | #endif | |
21106 | if (type->cast) { | |
21107 | type->cast->prev = cast; | |
21108 | cast->next = type->cast; | |
21109 | } | |
21110 | type->cast = cast; | |
21111 | } | |
21112 | cast++; | |
21113 | } | |
21114 | /* Set entry in modules->types array equal to the type */ | |
21115 | swig_module.types[i] = type; | |
21116 | } | |
21117 | swig_module.types[i] = 0; | |
21118 | ||
21119 | #ifdef SWIGRUNTIME_DEBUG | |
21120 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
21121 | for (i = 0; i < swig_module.size; ++i) { | |
21122 | int j = 0; | |
21123 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
21124 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
21125 | while (cast->type) { | |
21126 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
21127 | cast++; | |
21128 | ++j; | |
21129 | } | |
21130 | printf("---- Total casts: %d\n",j); | |
21131 | } | |
21132 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
21133 | #endif | |
21134 | } | |
21135 | ||
21136 | /* This function will propagate the clientdata field of type to | |
21137 | * any new swig_type_info structures that have been added into the list | |
21138 | * of equivalent types. It is like calling | |
21139 | * SWIG_TypeClientData(type, clientdata) a second time. | |
21140 | */ | |
21141 | SWIGRUNTIME void | |
21142 | SWIG_PropagateClientData(void) { | |
21143 | size_t i; | |
21144 | swig_cast_info *equiv; | |
21145 | static int init_run = 0; | |
21146 | ||
21147 | if (init_run) return; | |
21148 | init_run = 1; | |
21149 | ||
21150 | for (i = 0; i < swig_module.size; i++) { | |
21151 | if (swig_module.types[i]->clientdata) { | |
21152 | equiv = swig_module.types[i]->cast; | |
21153 | while (equiv) { | |
21154 | if (!equiv->converter) { | |
21155 | if (equiv->type && !equiv->type->clientdata) | |
21156 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
21157 | } | |
21158 | equiv = equiv->next; | |
21159 | } | |
21160 | } | |
21161 | } | |
21162 | } | |
21163 | ||
21164 | #ifdef __cplusplus | |
21165 | #if 0 | |
21166 | { | |
21167 | /* c-mode */ | |
21168 | #endif | |
21169 | } | |
21170 | #endif | |
21171 | ||
21172 | ||
21173 | ||
21174 | #ifdef __cplusplus | |
21175 | extern "C" { | |
21176 | #endif | |
21177 | ||
21178 | /* Python-specific SWIG API */ | |
21179 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
21180 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
21181 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
21182 | ||
21183 | /* ----------------------------------------------------------------------------- | |
21184 | * global variable support code. | |
21185 | * ----------------------------------------------------------------------------- */ | |
21186 | ||
21187 | typedef struct swig_globalvar { | |
21188 | char *name; /* Name of global variable */ | |
21189 | PyObject *(*get_attr)(void); /* Return the current value */ | |
21190 | int (*set_attr)(PyObject *); /* Set the value */ | |
21191 | struct swig_globalvar *next; | |
21192 | } swig_globalvar; | |
21193 | ||
21194 | typedef struct swig_varlinkobject { | |
21195 | PyObject_HEAD | |
21196 | swig_globalvar *vars; | |
21197 | } swig_varlinkobject; | |
21198 | ||
21199 | SWIGINTERN PyObject * | |
21200 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
21201 | return PyString_FromString("<Swig global variables>"); | |
21202 | } | |
21203 | ||
21204 | SWIGINTERN PyObject * | |
21205 | swig_varlink_str(swig_varlinkobject *v) { | |
21206 | PyObject *str = PyString_FromString("("); | |
21207 | swig_globalvar *var; | |
21208 | for (var = v->vars; var; var=var->next) { | |
21209 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
21210 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
21211 | } | |
21212 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
21213 | return str; | |
21214 | } | |
21215 | ||
21216 | SWIGINTERN int | |
21217 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
21218 | PyObject *str = swig_varlink_str(v); | |
21219 | fprintf(fp,"Swig global variables "); | |
21220 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
21221 | Py_DECREF(str); | |
21222 | return 0; | |
21223 | } | |
21224 | ||
21225 | SWIGINTERN void | |
21226 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
21227 | swig_globalvar *var = v->vars; | |
21228 | while (var) { | |
21229 | swig_globalvar *n = var->next; | |
21230 | free(var->name); | |
21231 | free(var); | |
21232 | var = n; | |
21233 | } | |
21234 | } | |
21235 | ||
21236 | SWIGINTERN PyObject * | |
21237 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
21238 | PyObject *res = NULL; | |
21239 | swig_globalvar *var = v->vars; | |
21240 | while (var) { | |
21241 | if (strcmp(var->name,n) == 0) { | |
21242 | res = (*var->get_attr)(); | |
21243 | break; | |
21244 | } | |
21245 | var = var->next; | |
21246 | } | |
21247 | if (res == NULL && !PyErr_Occurred()) { | |
21248 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
21249 | } | |
21250 | return res; | |
21251 | } | |
21252 | ||
21253 | SWIGINTERN int | |
21254 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
21255 | int res = 1; | |
21256 | swig_globalvar *var = v->vars; | |
21257 | while (var) { | |
21258 | if (strcmp(var->name,n) == 0) { | |
21259 | res = (*var->set_attr)(p); | |
21260 | break; | |
21261 | } | |
21262 | var = var->next; | |
21263 | } | |
21264 | if (res == 1 && !PyErr_Occurred()) { | |
21265 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
21266 | } | |
21267 | return res; | |
21268 | } | |
21269 | ||
21270 | SWIGINTERN PyTypeObject* | |
21271 | swig_varlink_type(void) { | |
21272 | static char varlink__doc__[] = "Swig var link object"; | |
21273 | static PyTypeObject varlink_type; | |
21274 | static int type_init = 0; | |
21275 | if (!type_init) { | |
21276 | const PyTypeObject tmp | |
21277 | = { | |
21278 | PyObject_HEAD_INIT(NULL) | |
21279 | 0, /* Number of items in variable part (ob_size) */ | |
21280 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
21281 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
21282 | 0, /* Itemsize (tp_itemsize) */ | |
21283 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
21284 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
21285 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
21286 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
21287 | 0, /* tp_compare */ | |
21288 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
21289 | 0, /* tp_as_number */ | |
21290 | 0, /* tp_as_sequence */ | |
21291 | 0, /* tp_as_mapping */ | |
21292 | 0, /* tp_hash */ | |
21293 | 0, /* tp_call */ | |
21294 | (reprfunc)swig_varlink_str, /* tp_str */ | |
21295 | 0, /* tp_getattro */ | |
21296 | 0, /* tp_setattro */ | |
21297 | 0, /* tp_as_buffer */ | |
21298 | 0, /* tp_flags */ | |
21299 | varlink__doc__, /* tp_doc */ | |
21300 | 0, /* tp_traverse */ | |
21301 | 0, /* tp_clear */ | |
21302 | 0, /* tp_richcompare */ | |
21303 | 0, /* tp_weaklistoffset */ | |
21304 | #if PY_VERSION_HEX >= 0x02020000 | |
21305 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
21306 | #endif | |
21307 | #if PY_VERSION_HEX >= 0x02030000 | |
21308 | 0, /* tp_del */ | |
21309 | #endif | |
21310 | #ifdef COUNT_ALLOCS | |
21311 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
21312 | #endif | |
21313 | }; | |
21314 | varlink_type = tmp; | |
21315 | varlink_type.ob_type = &PyType_Type; | |
21316 | type_init = 1; | |
21317 | } | |
21318 | return &varlink_type; | |
21319 | } | |
21320 | ||
21321 | /* Create a variable linking object for use later */ | |
21322 | SWIGINTERN PyObject * | |
21323 | SWIG_Python_newvarlink(void) { | |
21324 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
21325 | if (result) { | |
21326 | result->vars = 0; | |
21327 | } | |
21328 | return ((PyObject*) result); | |
21329 | } | |
21330 | ||
21331 | SWIGINTERN void | |
21332 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
21333 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
21334 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
21335 | if (gv) { | |
21336 | size_t size = strlen(name)+1; | |
21337 | gv->name = (char *)malloc(size); | |
21338 | if (gv->name) { | |
21339 | strncpy(gv->name,name,size); | |
21340 | gv->get_attr = get_attr; | |
21341 | gv->set_attr = set_attr; | |
21342 | gv->next = v->vars; | |
21343 | } | |
21344 | } | |
21345 | v->vars = gv; | |
21346 | } | |
21347 | ||
21348 | SWIGINTERN PyObject * | |
21349 | SWIG_globals() { | |
21350 | static PyObject *_SWIG_globals = 0; | |
21351 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
21352 | return _SWIG_globals; | |
21353 | } | |
21354 | ||
21355 | /* ----------------------------------------------------------------------------- | |
21356 | * constants/methods manipulation | |
21357 | * ----------------------------------------------------------------------------- */ | |
21358 | ||
21359 | /* Install Constants */ | |
21360 | SWIGINTERN void | |
21361 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
21362 | PyObject *obj = 0; | |
21363 | size_t i; | |
21364 | for (i = 0; constants[i].type; ++i) { | |
21365 | switch(constants[i].type) { | |
21366 | case SWIG_PY_POINTER: | |
21367 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
21368 | break; | |
21369 | case SWIG_PY_BINARY: | |
21370 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
21371 | break; | |
21372 | default: | |
21373 | obj = 0; | |
21374 | break; | |
21375 | } | |
21376 | if (obj) { | |
21377 | PyDict_SetItemString(d, constants[i].name, obj); | |
21378 | Py_DECREF(obj); | |
21379 | } | |
21380 | } | |
21381 | } | |
21382 | ||
21383 | /* -----------------------------------------------------------------------------*/ | |
21384 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
21385 | /* -----------------------------------------------------------------------------*/ | |
21386 | ||
21387 | SWIGINTERN void | |
21388 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
21389 | swig_const_info *const_table, | |
21390 | swig_type_info **types, | |
21391 | swig_type_info **types_initial) { | |
21392 | size_t i; | |
21393 | for (i = 0; methods[i].ml_name; ++i) { | |
21394 | const char *c = methods[i].ml_doc; | |
21395 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
21396 | int j; | |
21397 | swig_const_info *ci = 0; | |
21398 | const char *name = c + 10; | |
21399 | for (j = 0; const_table[j].type; ++j) { | |
21400 | if (strncmp(const_table[j].name, name, | |
21401 | strlen(const_table[j].name)) == 0) { | |
21402 | ci = &(const_table[j]); | |
21403 | break; | |
21404 | } | |
21405 | } | |
21406 | if (ci) { | |
21407 | size_t shift = (ci->ptype) - types; | |
21408 | swig_type_info *ty = types_initial[shift]; | |
21409 | size_t ldoc = (c - methods[i].ml_doc); | |
21410 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
21411 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
21412 | if (ndoc) { | |
21413 | char *buff = ndoc; | |
21414 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
21415 | if (ptr) { | |
21416 | strncpy(buff, methods[i].ml_doc, ldoc); | |
21417 | buff += ldoc; | |
21418 | strncpy(buff, "swig_ptr: ", 10); | |
21419 | buff += 10; | |
21420 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
21421 | methods[i].ml_doc = ndoc; | |
21422 | } | |
21423 | } | |
21424 | } | |
21425 | } | |
21426 | } | |
21427 | } | |
21428 | ||
21429 | #ifdef __cplusplus | |
21430 | } | |
21431 | #endif | |
21432 | ||
21433 | /* -----------------------------------------------------------------------------* | |
21434 | * Partial Init method | |
21435 | * -----------------------------------------------------------------------------*/ | |
21436 | ||
21437 | #ifdef __cplusplus | |
21438 | extern "C" | |
21439 | #endif | |
21440 | SWIGEXPORT void SWIG_init(void) { | |
21441 | PyObject *m, *d; | |
21442 | ||
21443 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
21444 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
21445 | ||
21446 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
21447 | d = PyModule_GetDict(m); | |
21448 | ||
21449 | SWIG_InitializeModule(0); | |
21450 | SWIG_InstallConstants(d,swig_const_table); | |
21451 | ||
21452 | ||
27e45892 RD |
21453 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); |
21454 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
21455 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
21456 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
21457 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
21458 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
21459 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
21460 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
21461 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
21462 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
21463 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
21464 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
21465 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
21466 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
21467 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 | 21468 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
eccab1a7 RD |
21469 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_SIZE))); |
21470 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_SIZE))); | |
21471 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_SIZE))); | |
21472 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BORDER_SIZE))); | |
21473 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BUTTON_SIZE))); | |
21474 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BACKGROUND_COLOUR))); | |
21475 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_COLOUR))); | |
21476 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR))); | |
21477 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
21478 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR))); | |
21479 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
21480 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
21481 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
21482 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BORDER_COLOUR))); | |
21483 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_COLOUR))); | |
21484 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_FONT))); | |
21485 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRADIENT_TYPE))); | |
27e45892 RD |
21486 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); |
21487 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
21488 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
21489 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
21490 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
21491 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
21492 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
21493 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
eccab1a7 | 21494 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_CHECKED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_CHECKED))); |
8f514ab4 | 21495 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); |
5eb8189c | 21496 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE))); |
8f514ab4 RD |
21497 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); |
21498 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
21499 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
26c4d26f | 21500 | SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST))); |
8f514ab4 RD |
21501 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); |
21502 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
21503 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
21504 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
21505 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
21506 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
21507 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
21508 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
21509 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
21510 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
21511 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
5eb8189c RD |
21512 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set); |
21513 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set); | |
21514 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating))); | |
21515 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden))); | |
21516 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable))); | |
21517 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable))); | |
21518 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable))); | |
21519 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable))); | |
21520 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable))); | |
21521 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable))); | |
21522 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable))); | |
21523 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder))); | |
21524 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption))); | |
21525 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper))); | |
21526 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose))); | |
21527 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar))); | |
21528 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); | |
21529 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); | |
21530 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); | |
5eb8189c RD |
21531 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); |
21532 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); | |
21533 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); | |
21534 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin))); | |
21535 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); | |
21536 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); | |
21537 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); | |
9b881d36 | 21538 | SWIG_Python_SetConstant(d, "AuiPaneInfo_savedHiddenState",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::savedHiddenState))); |
5eb8189c RD |
21539 | SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); |
21540 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); | |
21541 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); | |
21542 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock))); | |
21543 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer))); | |
21544 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane))); | |
21545 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer))); | |
21546 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); | |
21547 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); | |
21548 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); | |
d7645bfd VZ |
21549 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_BUTTON", PyInt_FromLong(wxEVT_AUI_PANE_BUTTON)); |
21550 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_CLOSE", PyInt_FromLong(wxEVT_AUI_PANE_CLOSE)); | |
21551 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_MAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANE_MAXIMIZE)); | |
21552 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_RESTORE", PyInt_FromLong(wxEVT_AUI_PANE_RESTORE)); | |
81f5836b | 21553 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
d7645bfd | 21554 | PyDict_SetItemString(d, "wxEVT_AUI_FIND_MANAGER", PyInt_FromLong(wxEVT_AUI_FIND_MANAGER)); |
5eb8189c RD |
21555 | SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); |
21556 | SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); | |
21557 | SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT))); | |
21558 | SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM))); | |
21559 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT))); | |
21560 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE))); | |
d95b9f2b | 21561 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_EXTERNAL_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_EXTERNAL_MOVE))); |
5172800e | 21562 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_FIXED_WIDTH))); |
5eb8189c | 21563 | SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS))); |
26c4d26f | 21564 | SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON))); |
36cb9ebe | 21565 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON))); |
5eb8189c RD |
21566 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB))); |
21567 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS))); | |
21568 | SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE))); | |
d95b9f2b | 21569 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE)); |
10044bf1 RD |
21570 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
21571 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
21572 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
21573 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
21574 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
21575 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
d95b9f2b | 21576 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND)); |
27e45892 RD |
21577 | } |
21578 |