]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
32fe5131 | 3 | * Version 1.3.27 |
d14a1e28 RD |
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 | |
d14a1e28 RD |
12 | |
13 | #ifdef __cplusplus | |
14 | template<class T> class SwigValueWrapper { | |
15 | T *tt; | |
16 | public: | |
17 | SwigValueWrapper() : tt(0) { } | |
18 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
19 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
20 | ~SwigValueWrapper() { delete tt; } | |
21 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
22 | operator T&() const { return *tt; } | |
23 | T *operator&() { return tt; } | |
24 | private: | |
25 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
093d3ff1 | 26 | }; |
d14a1e28 RD |
27 | #endif |
28 | ||
32fe5131 RD |
29 | /*********************************************************************** |
30 | * | |
31 | * This section contains generic SWIG labels for method/variable | |
32 | * declarations/attributes, and other compiler dependent labels. | |
33 | * | |
34 | ************************************************************************/ | |
d14a1e28 | 35 | |
32fe5131 RD |
36 | /* template workaround for compilers that cannot correctly implement the C++ standard */ |
37 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
38 | # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) | |
39 | # define SWIGTEMPLATEDISAMBIGUATOR template | |
093d3ff1 | 40 | # else |
32fe5131 | 41 | # define SWIGTEMPLATEDISAMBIGUATOR |
093d3ff1 RD |
42 | # endif |
43 | #endif | |
d14a1e28 | 44 | |
32fe5131 RD |
45 | /* inline attribute */ |
46 | #ifndef SWIGINLINE | |
47 | # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
48 | # define SWIGINLINE inline | |
49 | # else | |
50 | # define SWIGINLINE | |
51 | # endif | |
52 | #endif | |
53 | ||
54 | /* attribute recognised by some compilers to avoid 'unused' warnings */ | |
55 | #ifndef SWIGUNUSED | |
56 | # if defined(__GNUC__) || defined(__ICC) | |
57 | # define SWIGUNUSED __attribute__ ((unused)) | |
58 | # else | |
59 | # define SWIGUNUSED | |
60 | # endif | |
61 | #endif | |
62 | ||
63 | /* internal SWIG method */ | |
64 | #ifndef SWIGINTERN | |
65 | # define SWIGINTERN static SWIGUNUSED | |
66 | #endif | |
67 | ||
68 | /* internal inline SWIG method */ | |
69 | #ifndef SWIGINTERNINLINE | |
70 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
71 | #endif | |
72 | ||
73 | /* exporting methods for Windows DLLs */ | |
74 | #ifndef SWIGEXPORT | |
75 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
76 | # if defined(STATIC_LINKED) | |
77 | # define SWIGEXPORT | |
78 | # else | |
79 | # define SWIGEXPORT __declspec(dllexport) | |
80 | # endif | |
81 | # else | |
82 | # define SWIGEXPORT | |
83 | # endif | |
84 | #endif | |
85 | ||
86 | /* calling conventions for Windows */ | |
87 | #ifndef SWIGSTDCALL | |
88 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
89 | # define SWIGSTDCALL __stdcall | |
90 | # else | |
91 | # define SWIGSTDCALL | |
92 | # endif | |
93 | #endif | |
94 | ||
95 | ||
c9c7117a | 96 | |
093d3ff1 | 97 | #include <Python.h> |
d14a1e28 RD |
98 | |
99 | /*********************************************************************** | |
093d3ff1 | 100 | * swigrun.swg |
d14a1e28 | 101 | * |
093d3ff1 RD |
102 | * This file contains generic CAPI SWIG runtime support for pointer |
103 | * type checking. | |
d14a1e28 RD |
104 | * |
105 | ************************************************************************/ | |
106 | ||
093d3ff1 RD |
107 | /* This should only be incremented when either the layout of swig_type_info changes, |
108 | or for whatever reason, the runtime changes incompatibly */ | |
32fe5131 | 109 | #define SWIG_RUNTIME_VERSION "2" |
d14a1e28 | 110 | |
093d3ff1 RD |
111 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
112 | #ifdef SWIG_TYPE_TABLE | |
32fe5131 RD |
113 | # define SWIG_QUOTE_STRING(x) #x |
114 | # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
115 | # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
d14a1e28 | 116 | #else |
32fe5131 | 117 | # define SWIG_TYPE_TABLE_NAME |
093d3ff1 RD |
118 | #endif |
119 | ||
120 | /* | |
121 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
122 | creating a static or dynamic library from the swig runtime code. | |
123 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
124 | ||
125 | But only do this if is strictly necessary, ie, if you have problems | |
126 | with your compiler or so. | |
127 | */ | |
32fe5131 | 128 | |
093d3ff1 | 129 | #ifndef SWIGRUNTIME |
32fe5131 | 130 | # define SWIGRUNTIME SWIGINTERN |
093d3ff1 | 131 | #endif |
32fe5131 | 132 | |
093d3ff1 | 133 | #ifndef SWIGRUNTIMEINLINE |
32fe5131 | 134 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE |
d14a1e28 RD |
135 | #endif |
136 | ||
32fe5131 RD |
137 | #include <string.h> |
138 | ||
d14a1e28 RD |
139 | #ifdef __cplusplus |
140 | extern "C" { | |
141 | #endif | |
142 | ||
143 | typedef void *(*swig_converter_func)(void *); | |
144 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
145 | ||
32fe5131 | 146 | /* Structure to store inforomation on one type */ |
d14a1e28 | 147 | typedef struct swig_type_info { |
32fe5131 RD |
148 | const char *name; /* mangled name of this type */ |
149 | const char *str; /* human readable name of this type */ | |
150 | swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ | |
151 | struct swig_cast_info *cast; /* linked list of types that can cast into this type */ | |
152 | void *clientdata; /* language specific type data */ | |
d14a1e28 RD |
153 | } swig_type_info; |
154 | ||
32fe5131 RD |
155 | /* Structure to store a type and conversion function used for casting */ |
156 | typedef struct swig_cast_info { | |
157 | swig_type_info *type; /* pointer to type that is equivalent to this type */ | |
158 | swig_converter_func converter; /* function to cast the void pointers */ | |
159 | struct swig_cast_info *next; /* pointer to next cast in linked list */ | |
160 | struct swig_cast_info *prev; /* pointer to the previous cast */ | |
161 | } swig_cast_info; | |
162 | ||
163 | /* Structure used to store module information | |
164 | * Each module generates one structure like this, and the runtime collects | |
165 | * all of these structures and stores them in a circularly linked list.*/ | |
166 | typedef struct swig_module_info { | |
167 | swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ | |
168 | size_t size; /* Number of types in this module */ | |
169 | struct swig_module_info *next; /* Pointer to next element in circularly linked list */ | |
170 | swig_type_info **type_initial; /* Array of initially generated type structures */ | |
171 | swig_cast_info **cast_initial; /* Array of initially generated casting structures */ | |
172 | void *clientdata; /* Language specific module data */ | |
173 | } swig_module_info; | |
174 | ||
175 | ||
093d3ff1 RD |
176 | /* |
177 | Compare two type names skipping the space characters, therefore | |
178 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
179 | ||
180 | Return 0 when the two name types are equivalent, as in | |
181 | strncmp, but skipping ' '. | |
182 | */ | |
183 | SWIGRUNTIME int | |
184 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
185 | const char *f2, const char *l2) { | |
186 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
187 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
188 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
32fe5131 | 189 | if (*f1 != *f2) return (int)(*f1 - *f2); |
093d3ff1 RD |
190 | } |
191 | return (l1 - f1) - (l2 - f2); | |
192 | } | |
193 | ||
194 | /* | |
195 | Check type equivalence in a name list like <name1>|<name2>|... | |
32fe5131 | 196 | Return 0 if not equal, 1 if equal |
093d3ff1 RD |
197 | */ |
198 | SWIGRUNTIME int | |
199 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
200 | int equiv = 0; | |
201 | const char* te = tb + strlen(tb); | |
202 | const char* ne = nb; | |
203 | while (!equiv && *ne) { | |
204 | for (nb = ne; *ne; ++ne) { | |
205 | if (*ne == '|') break; | |
206 | } | |
32fe5131 | 207 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
093d3ff1 RD |
208 | if (*ne) ++ne; |
209 | } | |
210 | return equiv; | |
211 | } | |
212 | ||
213 | /* | |
32fe5131 RD |
214 | Check type equivalence in a name list like <name1>|<name2>|... |
215 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
093d3ff1 | 216 | */ |
32fe5131 RD |
217 | SWIGRUNTIME int |
218 | SWIG_TypeCompare(const char *nb, const char *tb) { | |
219 | int equiv = 0; | |
220 | const char* te = tb + strlen(tb); | |
221 | const char* ne = nb; | |
222 | while (!equiv && *ne) { | |
223 | for (nb = ne; *ne; ++ne) { | |
224 | if (*ne == '|') break; | |
093d3ff1 | 225 | } |
32fe5131 RD |
226 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
227 | if (*ne) ++ne; | |
093d3ff1 | 228 | } |
32fe5131 | 229 | return equiv; |
093d3ff1 RD |
230 | } |
231 | ||
32fe5131 RD |
232 | |
233 | /* think of this as a c++ template<> or a scheme macro */ | |
234 | #define SWIG_TypeCheck_Template(comparison, ty) \ | |
235 | if (ty) { \ | |
236 | swig_cast_info *iter = ty->cast; \ | |
237 | while (iter) { \ | |
238 | if (comparison) { \ | |
239 | if (iter == ty->cast) return iter; \ | |
240 | /* Move iter to the top of the linked list */ \ | |
241 | iter->prev->next = iter->next; \ | |
242 | if (iter->next) \ | |
243 | iter->next->prev = iter->prev; \ | |
244 | iter->next = ty->cast; \ | |
245 | iter->prev = 0; \ | |
246 | if (ty->cast) ty->cast->prev = iter; \ | |
247 | ty->cast = iter; \ | |
248 | return iter; \ | |
249 | } \ | |
250 | iter = iter->next; \ | |
251 | } \ | |
252 | } \ | |
253 | return 0 | |
254 | ||
093d3ff1 RD |
255 | /* |
256 | Check the typename | |
257 | */ | |
32fe5131 | 258 | SWIGRUNTIME swig_cast_info * |
093d3ff1 | 259 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { |
32fe5131 RD |
260 | SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); |
261 | } | |
262 | ||
263 | /* Same as previous function, except strcmp is replaced with a pointer comparison */ | |
264 | SWIGRUNTIME swig_cast_info * | |
265 | SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { | |
266 | SWIG_TypeCheck_Template(iter->type == from, into); | |
093d3ff1 RD |
267 | } |
268 | ||
269 | /* | |
270 | Cast a pointer up an inheritance hierarchy | |
271 | */ | |
272 | SWIGRUNTIMEINLINE void * | |
32fe5131 | 273 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { |
093d3ff1 RD |
274 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); |
275 | } | |
276 | ||
277 | /* | |
278 | Dynamic pointer casting. Down an inheritance hierarchy | |
279 | */ | |
280 | SWIGRUNTIME swig_type_info * | |
281 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
282 | swig_type_info *lastty = ty; | |
283 | if (!ty || !ty->dcast) return ty; | |
284 | while (ty && (ty->dcast)) { | |
285 | ty = (*ty->dcast)(ptr); | |
286 | if (ty) lastty = ty; | |
287 | } | |
288 | return lastty; | |
289 | } | |
290 | ||
291 | /* | |
292 | Return the name associated with this type | |
293 | */ | |
294 | SWIGRUNTIMEINLINE const char * | |
295 | SWIG_TypeName(const swig_type_info *ty) { | |
296 | return ty->name; | |
297 | } | |
298 | ||
299 | /* | |
300 | Return the pretty name associated with this type, | |
301 | that is an unmangled type name in a form presentable to the user. | |
302 | */ | |
303 | SWIGRUNTIME const char * | |
304 | SWIG_TypePrettyName(const swig_type_info *type) { | |
305 | /* The "str" field contains the equivalent pretty names of the | |
306 | type, separated by vertical-bar characters. We choose | |
307 | to print the last name, as it is often (?) the most | |
308 | specific. */ | |
309 | if (type->str != NULL) { | |
310 | const char *last_name = type->str; | |
311 | const char *s; | |
312 | for (s = type->str; *s; s++) | |
313 | if (*s == '|') last_name = s+1; | |
314 | return last_name; | |
315 | } | |
316 | else | |
317 | return type->name; | |
318 | } | |
319 | ||
093d3ff1 RD |
320 | /* |
321 | Set the clientdata field for a type | |
322 | */ | |
323 | SWIGRUNTIME void | |
32fe5131 RD |
324 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { |
325 | swig_cast_info *cast = ti->cast; | |
093d3ff1 RD |
326 | /* if (ti->clientdata == clientdata) return; */ |
327 | ti->clientdata = clientdata; | |
32fe5131 RD |
328 | |
329 | while (cast) { | |
330 | if (!cast->converter) { | |
331 | swig_type_info *tc = cast->type; | |
332 | if (!tc->clientdata) { | |
333 | SWIG_TypeClientData(tc, clientdata); | |
093d3ff1 | 334 | } |
32fe5131 RD |
335 | } |
336 | cast = cast->next; | |
337 | } | |
338 | } | |
339 | ||
340 | /* | |
341 | Search for a swig_type_info structure only by mangled name | |
342 | Search is a O(log #types) | |
343 | ||
344 | We start searching at module start, and finish searching when start == end. | |
345 | Note: if start == end at the beginning of the function, we go all the way around | |
346 | the circular list. | |
347 | */ | |
348 | SWIGRUNTIME swig_type_info * | |
349 | SWIG_MangledTypeQueryModule(swig_module_info *start, | |
350 | swig_module_info *end, | |
351 | const char *name) { | |
352 | swig_module_info *iter = start; | |
353 | do { | |
354 | if (iter->size) { | |
355 | register size_t l = 0; | |
356 | register size_t r = iter->size - 1; | |
357 | do { | |
358 | /* since l+r >= 0, we can (>> 1) instead (/ 2) */ | |
359 | register size_t i = (l + r) >> 1; | |
360 | const char *iname = iter->types[i]->name; | |
361 | if (iname) { | |
362 | register int compare = strcmp(name, iname); | |
363 | if (compare == 0) { | |
364 | return iter->types[i]; | |
365 | } else if (compare < 0) { | |
366 | if (i) { | |
367 | r = i - 1; | |
368 | } else { | |
369 | break; | |
370 | } | |
371 | } else if (compare > 0) { | |
372 | l = i + 1; | |
373 | } | |
374 | } else { | |
375 | break; /* should never happen */ | |
376 | } | |
377 | } while (l <= r); | |
093d3ff1 | 378 | } |
32fe5131 RD |
379 | iter = iter->next; |
380 | } while (iter != end); | |
381 | return 0; | |
382 | } | |
383 | ||
384 | /* | |
385 | Search for a swig_type_info structure for either a mangled name or a human readable name. | |
386 | It first searches the mangled names of the types, which is a O(log #types) | |
387 | If a type is not found it then searches the human readable names, which is O(#types). | |
388 | ||
389 | We start searching at module start, and finish searching when start == end. | |
390 | Note: if start == end at the beginning of the function, we go all the way around | |
391 | the circular list. | |
392 | */ | |
393 | SWIGRUNTIME swig_type_info * | |
394 | SWIG_TypeQueryModule(swig_module_info *start, | |
395 | swig_module_info *end, | |
396 | const char *name) { | |
397 | /* STEP 1: Search the name field using binary search */ | |
398 | swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); | |
399 | if (ret) { | |
400 | return ret; | |
401 | } else { | |
402 | /* STEP 2: If the type hasn't been found, do a complete search | |
403 | of the str field (the human readable name) */ | |
404 | swig_module_info *iter = start; | |
405 | do { | |
406 | register size_t i = 0; | |
407 | for (; i < iter->size; ++i) { | |
408 | if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) | |
409 | return iter->types[i]; | |
410 | } | |
411 | iter = iter->next; | |
412 | } while (iter != end); | |
093d3ff1 | 413 | } |
32fe5131 RD |
414 | |
415 | /* neither found a match */ | |
416 | return 0; | |
093d3ff1 RD |
417 | } |
418 | ||
32fe5131 | 419 | |
093d3ff1 RD |
420 | /* |
421 | Pack binary data into a string | |
422 | */ | |
423 | SWIGRUNTIME char * | |
424 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
32fe5131 RD |
425 | static const char hex[17] = "0123456789abcdef"; |
426 | register const unsigned char *u = (unsigned char *) ptr; | |
427 | register const unsigned char *eu = u + sz; | |
093d3ff1 | 428 | for (; u != eu; ++u) { |
32fe5131 | 429 | register unsigned char uu = *u; |
093d3ff1 RD |
430 | *(c++) = hex[(uu & 0xf0) >> 4]; |
431 | *(c++) = hex[uu & 0xf]; | |
432 | } | |
433 | return c; | |
434 | } | |
435 | ||
436 | /* | |
437 | Unpack binary data from a string | |
438 | */ | |
439 | SWIGRUNTIME const char * | |
440 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
441 | register unsigned char *u = (unsigned char *) ptr; | |
32fe5131 | 442 | register const unsigned char *eu = u + sz; |
093d3ff1 | 443 | for (; u != eu; ++u) { |
32fe5131 | 444 | register char d = *(c++); |
093d3ff1 RD |
445 | register unsigned char uu = 0; |
446 | if ((d >= '0') && (d <= '9')) | |
447 | uu = ((d - '0') << 4); | |
448 | else if ((d >= 'a') && (d <= 'f')) | |
449 | uu = ((d - ('a'-10)) << 4); | |
450 | else | |
451 | return (char *) 0; | |
452 | d = *(c++); | |
453 | if ((d >= '0') && (d <= '9')) | |
454 | uu |= (d - '0'); | |
455 | else if ((d >= 'a') && (d <= 'f')) | |
456 | uu |= (d - ('a'-10)); | |
457 | else | |
458 | return (char *) 0; | |
459 | *u = uu; | |
460 | } | |
461 | return c; | |
462 | } | |
463 | ||
093d3ff1 RD |
464 | /* |
465 | Pack 'void *' into a string buffer. | |
466 | */ | |
467 | SWIGRUNTIME char * | |
468 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
469 | char *r = buff; | |
470 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
471 | *(r++) = '_'; | |
472 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
473 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
474 | strcpy(r,name); | |
475 | return buff; | |
476 | } | |
477 | ||
478 | SWIGRUNTIME const char * | |
479 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
480 | if (*c != '_') { | |
481 | if (strcmp(c,"NULL") == 0) { | |
482 | *ptr = (void *) 0; | |
483 | return name; | |
484 | } else { | |
485 | return 0; | |
486 | } | |
487 | } | |
488 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
489 | } | |
490 | ||
491 | SWIGRUNTIME char * | |
492 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
493 | char *r = buff; | |
494 | size_t lname = (name ? strlen(name) : 0); | |
495 | if ((2*sz + 2 + lname) > bsz) return 0; | |
496 | *(r++) = '_'; | |
497 | r = SWIG_PackData(r,ptr,sz); | |
498 | if (lname) { | |
499 | strncpy(r,name,lname+1); | |
500 | } else { | |
501 | *r = 0; | |
502 | } | |
503 | return buff; | |
504 | } | |
d14a1e28 | 505 | |
093d3ff1 RD |
506 | SWIGRUNTIME const char * |
507 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
508 | if (*c != '_') { | |
509 | if (strcmp(c,"NULL") == 0) { | |
510 | memset(ptr,0,sz); | |
511 | return name; | |
512 | } else { | |
513 | return 0; | |
514 | } | |
515 | } | |
516 | return SWIG_UnpackData(++c,ptr,sz); | |
517 | } | |
d14a1e28 RD |
518 | |
519 | #ifdef __cplusplus | |
520 | } | |
521 | #endif | |
522 | ||
093d3ff1 RD |
523 | /* ----------------------------------------------------------------------------- |
524 | * SWIG API. Portion that goes into the runtime | |
525 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 526 | |
093d3ff1 RD |
527 | #ifdef __cplusplus |
528 | extern "C" { | |
529 | #endif | |
c32bde28 | 530 | |
093d3ff1 RD |
531 | /* ----------------------------------------------------------------------------- |
532 | * for internal method declarations | |
533 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 534 | |
093d3ff1 | 535 | #ifndef SWIGINTERN |
32fe5131 | 536 | # define SWIGINTERN static SWIGUNUSED |
093d3ff1 | 537 | #endif |
d14a1e28 | 538 | |
32fe5131 RD |
539 | #ifndef SWIGINTERNINLINE |
540 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
093d3ff1 | 541 | #endif |
d14a1e28 | 542 | |
093d3ff1 RD |
543 | /* |
544 | Exception handling in wrappers | |
545 | */ | |
546 | #define SWIG_fail goto fail | |
547 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
548 | #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) | |
549 | #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) | |
550 | #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) | |
551 | #define SWIG_null_ref(type) SWIG_Python_NullRef(type) | |
552 | ||
553 | /* | |
554 | Contract support | |
555 | */ | |
556 | #define SWIG_contract_assert(expr, msg) \ | |
557 | if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
558 | ||
559 | /* ----------------------------------------------------------------------------- | |
560 | * Constant declarations | |
561 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 562 | |
093d3ff1 RD |
563 | /* Constant Types */ |
564 | #define SWIG_PY_INT 1 | |
565 | #define SWIG_PY_FLOAT 2 | |
566 | #define SWIG_PY_STRING 3 | |
567 | #define SWIG_PY_POINTER 4 | |
568 | #define SWIG_PY_BINARY 5 | |
569 | ||
570 | /* Constant information structure */ | |
571 | typedef struct swig_const_info { | |
572 | int type; | |
573 | char *name; | |
574 | long lvalue; | |
575 | double dvalue; | |
576 | void *pvalue; | |
577 | swig_type_info **ptype; | |
578 | } swig_const_info; | |
d14a1e28 | 579 | |
c32bde28 | 580 | |
093d3ff1 RD |
581 | /* ----------------------------------------------------------------------------- |
582 | * Alloc. memory flags | |
583 | * ----------------------------------------------------------------------------- */ | |
c32bde28 RD |
584 | #define SWIG_OLDOBJ 1 |
585 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
586 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
994141e6 | 587 | |
994141e6 | 588 | #ifdef __cplusplus |
093d3ff1 RD |
589 | } |
590 | #endif | |
994141e6 | 591 | |
15afbcd0 | 592 | |
093d3ff1 RD |
593 | /*********************************************************************** |
594 | * pyrun.swg | |
595 | * | |
596 | * This file contains the runtime support for Python modules | |
597 | * and includes code for managing global variables and pointer | |
598 | * type checking. | |
599 | * | |
600 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
601 | ************************************************************************/ | |
15afbcd0 | 602 | |
093d3ff1 RD |
603 | /* Common SWIG API */ |
604 | #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
605 | #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) | |
606 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
607 | ||
994141e6 | 608 | |
093d3ff1 RD |
609 | /* Python-specific SWIG API */ |
610 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
611 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
994141e6 | 612 | |
32fe5131 RD |
613 | /* Runtime API */ |
614 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() | |
615 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
994141e6 | 616 | |
093d3ff1 RD |
617 | /* ----------------------------------------------------------------------------- |
618 | * Pointer declarations | |
619 | * ----------------------------------------------------------------------------- */ | |
620 | /* | |
621 | Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent | |
622 | C/C++ pointers in the python side. Very useful for debugging, but | |
623 | not always safe. | |
624 | */ | |
625 | #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) | |
626 | # define SWIG_COBJECT_TYPES | |
627 | #endif | |
994141e6 | 628 | |
093d3ff1 RD |
629 | /* Flags for pointer conversion */ |
630 | #define SWIG_POINTER_EXCEPTION 0x1 | |
631 | #define SWIG_POINTER_DISOWN 0x2 | |
d14a1e28 RD |
632 | |
633 | ||
32fe5131 RD |
634 | /* Add PyOS_snprintf for old Pythons */ |
635 | #if PY_VERSION_HEX < 0x02020000 | |
636 | #define PyOS_snprintf snprintf | |
637 | #endif | |
638 | ||
093d3ff1 RD |
639 | #ifdef __cplusplus |
640 | extern "C" { | |
641 | #endif | |
d14a1e28 | 642 | |
093d3ff1 RD |
643 | /* ----------------------------------------------------------------------------- |
644 | * Create a new pointer string | |
645 | * ----------------------------------------------------------------------------- */ | |
093d3ff1 RD |
646 | #ifndef SWIG_BUFFER_SIZE |
647 | #define SWIG_BUFFER_SIZE 1024 | |
648 | #endif | |
15afbcd0 | 649 | |
32fe5131 RD |
650 | /* A crude PyString_FromFormat implementation for old Pythons */ |
651 | #if PY_VERSION_HEX < 0x02020000 | |
652 | static PyObject * | |
653 | PyString_FromFormat(const char *fmt, ...) { | |
654 | va_list ap; | |
655 | char buf[SWIG_BUFFER_SIZE * 2]; | |
656 | int res; | |
657 | va_start(ap, fmt); | |
658 | res = vsnprintf(buf, sizeof(buf), fmt, ap); | |
659 | va_end(ap); | |
660 | return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); | |
661 | } | |
662 | #endif | |
663 | ||
664 | #if PY_VERSION_HEX < 0x01060000 | |
665 | #define PyObject_Del(op) PyMem_DEL((op)) | |
666 | #endif | |
667 | ||
093d3ff1 RD |
668 | #if defined(SWIG_COBJECT_TYPES) |
669 | #if !defined(SWIG_COBJECT_PYTHON) | |
670 | /* ----------------------------------------------------------------------------- | |
671 | * Implements a simple Swig Object type, and use it instead of PyCObject | |
672 | * ----------------------------------------------------------------------------- */ | |
15afbcd0 | 673 | |
093d3ff1 RD |
674 | typedef struct { |
675 | PyObject_HEAD | |
676 | void *ptr; | |
677 | const char *desc; | |
678 | } PySwigObject; | |
994141e6 | 679 | |
093d3ff1 | 680 | /* Declarations for objects of type PySwigObject */ |
994141e6 | 681 | |
093d3ff1 RD |
682 | SWIGRUNTIME int |
683 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
994141e6 | 684 | { |
093d3ff1 | 685 | char result[SWIG_BUFFER_SIZE]; |
32fe5131 | 686 | flags = flags; |
093d3ff1 RD |
687 | if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { |
688 | fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp); | |
689 | return 0; | |
c32bde28 | 690 | } else { |
093d3ff1 | 691 | return 1; |
c32bde28 | 692 | } |
15afbcd0 | 693 | } |
093d3ff1 RD |
694 | |
695 | SWIGRUNTIME PyObject * | |
696 | PySwigObject_repr(PySwigObject *v) | |
c32bde28 | 697 | { |
093d3ff1 RD |
698 | char result[SWIG_BUFFER_SIZE]; |
699 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
700 | PyString_FromFormat("<Swig Object at %s>", result) : 0; | |
c32bde28 | 701 | } |
15afbcd0 | 702 | |
093d3ff1 RD |
703 | SWIGRUNTIME PyObject * |
704 | PySwigObject_str(PySwigObject *v) | |
15afbcd0 | 705 | { |
093d3ff1 RD |
706 | char result[SWIG_BUFFER_SIZE]; |
707 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
708 | PyString_FromString(result) : 0; | |
15afbcd0 RD |
709 | } |
710 | ||
093d3ff1 RD |
711 | SWIGRUNTIME PyObject * |
712 | PySwigObject_long(PySwigObject *v) | |
15afbcd0 | 713 | { |
32fe5131 RD |
714 | return PyLong_FromVoidPtr(v->ptr); |
715 | } | |
716 | ||
717 | SWIGRUNTIME PyObject * | |
718 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
719 | { | |
720 | PyObject *res = NULL; | |
721 | PyObject *args = PyTuple_New(1); | |
722 | if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { | |
723 | PyObject *ofmt = PyString_FromString(fmt); | |
724 | if (ofmt) { | |
725 | res = PyString_Format(ofmt,args); | |
726 | Py_DECREF(ofmt); | |
727 | } | |
728 | Py_DECREF(args); | |
729 | } | |
730 | return res; | |
15afbcd0 RD |
731 | } |
732 | ||
093d3ff1 RD |
733 | SWIGRUNTIME PyObject * |
734 | PySwigObject_oct(PySwigObject *v) | |
c32bde28 | 735 | { |
32fe5131 | 736 | return PySwigObject_format("%o",v); |
c32bde28 | 737 | } |
15afbcd0 | 738 | |
093d3ff1 RD |
739 | SWIGRUNTIME PyObject * |
740 | PySwigObject_hex(PySwigObject *v) | |
994141e6 | 741 | { |
32fe5131 | 742 | return PySwigObject_format("%x",v); |
994141e6 RD |
743 | } |
744 | ||
093d3ff1 RD |
745 | SWIGRUNTIME int |
746 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
15afbcd0 | 747 | { |
093d3ff1 RD |
748 | int c = strcmp(v->desc, w->desc); |
749 | if (c) { | |
32fe5131 | 750 | return (c > 0) ? 1 : -1; |
093d3ff1 RD |
751 | } else { |
752 | void *i = v->ptr; | |
753 | void *j = w->ptr; | |
32fe5131 | 754 | return (i < j) ? -1 : ((i > j) ? 1 : 0); |
c32bde28 | 755 | } |
c32bde28 RD |
756 | } |
757 | ||
093d3ff1 RD |
758 | SWIGRUNTIME void |
759 | PySwigObject_dealloc(PySwigObject *self) | |
c32bde28 | 760 | { |
32fe5131 | 761 | PyObject_Del(self); |
15afbcd0 RD |
762 | } |
763 | ||
093d3ff1 | 764 | SWIGRUNTIME PyTypeObject* |
32fe5131 RD |
765 | PySwigObject_type(void) { |
766 | static char pyswigobject_type__doc__[] = | |
093d3ff1 | 767 | "Swig object carries a C/C++ instance pointer"; |
c32bde28 | 768 | |
093d3ff1 RD |
769 | static PyNumberMethods PySwigObject_as_number = { |
770 | (binaryfunc)0, /*nb_add*/ | |
771 | (binaryfunc)0, /*nb_subtract*/ | |
772 | (binaryfunc)0, /*nb_multiply*/ | |
773 | (binaryfunc)0, /*nb_divide*/ | |
774 | (binaryfunc)0, /*nb_remainder*/ | |
775 | (binaryfunc)0, /*nb_divmod*/ | |
776 | (ternaryfunc)0,/*nb_power*/ | |
777 | (unaryfunc)0, /*nb_negative*/ | |
778 | (unaryfunc)0, /*nb_positive*/ | |
779 | (unaryfunc)0, /*nb_absolute*/ | |
780 | (inquiry)0, /*nb_nonzero*/ | |
781 | 0, /*nb_invert*/ | |
782 | 0, /*nb_lshift*/ | |
783 | 0, /*nb_rshift*/ | |
784 | 0, /*nb_and*/ | |
785 | 0, /*nb_xor*/ | |
786 | 0, /*nb_or*/ | |
787 | (coercion)0, /*nb_coerce*/ | |
788 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
789 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
790 | (unaryfunc)0, /*nb_float*/ | |
791 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
792 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
32fe5131 | 793 | #if PY_VERSION_HEX >= 0x02020000 |
093d3ff1 | 794 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ |
32fe5131 RD |
795 | #elif PY_VERSION_HEX >= 0x02000000 |
796 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
093d3ff1 RD |
797 | #endif |
798 | }; | |
799 | ||
32fe5131 RD |
800 | static PyTypeObject pyswigobject_type |
801 | #if !defined(__cplusplus) | |
802 | ; | |
803 | static int type_init = 0; | |
093d3ff1 | 804 | if (!type_init) { |
32fe5131 RD |
805 | PyTypeObject tmp |
806 | #endif | |
807 | = { | |
093d3ff1 RD |
808 | PyObject_HEAD_INIT(&PyType_Type) |
809 | 0, /*ob_size*/ | |
32fe5131 | 810 | (char *)"PySwigObject", /*tp_name*/ |
093d3ff1 RD |
811 | sizeof(PySwigObject), /*tp_basicsize*/ |
812 | 0, /*tp_itemsize*/ | |
813 | /* methods */ | |
814 | (destructor)PySwigObject_dealloc, /*tp_dealloc*/ | |
815 | (printfunc)PySwigObject_print, /*tp_print*/ | |
816 | (getattrfunc)0, /*tp_getattr*/ | |
817 | (setattrfunc)0, /*tp_setattr*/ | |
818 | (cmpfunc)PySwigObject_compare, /*tp_compare*/ | |
819 | (reprfunc)PySwigObject_repr, /*tp_repr*/ | |
820 | &PySwigObject_as_number, /*tp_as_number*/ | |
821 | 0, /*tp_as_sequence*/ | |
822 | 0, /*tp_as_mapping*/ | |
823 | (hashfunc)0, /*tp_hash*/ | |
824 | (ternaryfunc)0, /*tp_call*/ | |
825 | (reprfunc)PySwigObject_str, /*tp_str*/ | |
826 | /* Space for future expansion */ | |
32fe5131 RD |
827 | 0,0,0,0, |
828 | pyswigobject_type__doc__, /* Documentation string */ | |
093d3ff1 RD |
829 | #if PY_VERSION_HEX >= 0x02000000 |
830 | 0, /* tp_traverse */ | |
831 | 0, /* tp_clear */ | |
832 | #endif | |
833 | #if PY_VERSION_HEX >= 0x02010000 | |
834 | 0, /* tp_richcompare */ | |
835 | 0, /* tp_weaklistoffset */ | |
836 | #endif | |
837 | #if PY_VERSION_HEX >= 0x02020000 | |
838 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
839 | #endif | |
840 | #if PY_VERSION_HEX >= 0x02030000 | |
841 | 0, /* tp_del */ | |
842 | #endif | |
843 | #ifdef COUNT_ALLOCS | |
844 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
845 | #endif | |
846 | }; | |
32fe5131 RD |
847 | #if !defined(__cplusplus) |
848 | pyswigobject_type = tmp; | |
093d3ff1 RD |
849 | type_init = 1; |
850 | } | |
32fe5131 RD |
851 | #endif |
852 | return &pyswigobject_type; | |
093d3ff1 RD |
853 | } |
854 | ||
855 | SWIGRUNTIME PyObject * | |
856 | PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) | |
c32bde28 | 857 | { |
32fe5131 RD |
858 | PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); |
859 | if (self) { | |
860 | self->ptr = ptr; | |
861 | self->desc = desc; | |
862 | } | |
093d3ff1 | 863 | return (PyObject *)self; |
c32bde28 | 864 | } |
15afbcd0 | 865 | |
093d3ff1 RD |
866 | SWIGRUNTIMEINLINE void * |
867 | PySwigObject_AsVoidPtr(PyObject *self) | |
868 | { | |
869 | return ((PySwigObject *)self)->ptr; | |
870 | } | |
c32bde28 | 871 | |
093d3ff1 RD |
872 | SWIGRUNTIMEINLINE const char * |
873 | PySwigObject_GetDesc(PyObject *self) | |
874 | { | |
875 | return ((PySwigObject *)self)->desc; | |
876 | } | |
d14a1e28 | 877 | |
093d3ff1 RD |
878 | SWIGRUNTIMEINLINE int |
879 | PySwigObject_Check(PyObject *op) { | |
32fe5131 | 880 | return ((op)->ob_type == PySwigObject_type()) |
093d3ff1 RD |
881 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); |
882 | } | |
d14a1e28 | 883 | |
093d3ff1 RD |
884 | /* ----------------------------------------------------------------------------- |
885 | * Implements a simple Swig Packed type, and use it instead of string | |
886 | * ----------------------------------------------------------------------------- */ | |
994141e6 | 887 | |
093d3ff1 RD |
888 | typedef struct { |
889 | PyObject_HEAD | |
890 | void *pack; | |
891 | const char *desc; | |
892 | size_t size; | |
893 | } PySwigPacked; | |
c32bde28 | 894 | |
093d3ff1 RD |
895 | SWIGRUNTIME int |
896 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) | |
994141e6 | 897 | { |
093d3ff1 | 898 | char result[SWIG_BUFFER_SIZE]; |
32fe5131 | 899 | flags = flags; |
093d3ff1 RD |
900 | fputs("<Swig Packed ", fp); |
901 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
902 | fputs("at ", fp); | |
903 | fputs(result, fp); | |
904 | } | |
905 | fputs(v->desc,fp); | |
906 | fputs(">", fp); | |
907 | return 0; | |
908 | } | |
909 | ||
910 | SWIGRUNTIME PyObject * | |
911 | PySwigPacked_repr(PySwigPacked *v) | |
912 | { | |
913 | char result[SWIG_BUFFER_SIZE]; | |
914 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
915 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc); | |
916 | } else { | |
917 | return PyString_FromFormat("<Swig Packed %s>", v->desc); | |
918 | } | |
15afbcd0 RD |
919 | } |
920 | ||
093d3ff1 RD |
921 | SWIGRUNTIME PyObject * |
922 | PySwigPacked_str(PySwigPacked *v) | |
923 | { | |
924 | char result[SWIG_BUFFER_SIZE]; | |
925 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
926 | return PyString_FromFormat("%s%s", result, v->desc); | |
927 | } else { | |
32fe5131 | 928 | return PyString_FromString(v->desc); |
093d3ff1 RD |
929 | } |
930 | } | |
15afbcd0 | 931 | |
093d3ff1 RD |
932 | SWIGRUNTIME int |
933 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
15afbcd0 | 934 | { |
093d3ff1 RD |
935 | int c = strcmp(v->desc, w->desc); |
936 | if (c) { | |
32fe5131 | 937 | return (c > 0) ? 1 : -1; |
093d3ff1 RD |
938 | } else { |
939 | size_t i = v->size; | |
940 | size_t j = w->size; | |
32fe5131 | 941 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); |
093d3ff1 | 942 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); |
15afbcd0 | 943 | } |
c32bde28 RD |
944 | } |
945 | ||
093d3ff1 RD |
946 | SWIGRUNTIME void |
947 | PySwigPacked_dealloc(PySwigPacked *self) | |
c32bde28 | 948 | { |
093d3ff1 | 949 | free(self->pack); |
32fe5131 | 950 | PyObject_Del(self); |
994141e6 RD |
951 | } |
952 | ||
093d3ff1 | 953 | SWIGRUNTIME PyTypeObject* |
32fe5131 RD |
954 | PySwigPacked_type(void) { |
955 | static char pyswigpacked_type__doc__[] = | |
093d3ff1 | 956 | "Swig object carries a C/C++ instance pointer"; |
32fe5131 RD |
957 | static PyTypeObject pyswigpacked_type |
958 | #if !defined(__cplusplus) | |
959 | ; | |
960 | static int type_init = 0; | |
093d3ff1 | 961 | if (!type_init) { |
32fe5131 RD |
962 | PyTypeObject tmp |
963 | #endif | |
964 | = { | |
093d3ff1 RD |
965 | PyObject_HEAD_INIT(&PyType_Type) |
966 | 0, /*ob_size*/ | |
32fe5131 | 967 | (char *)"PySwigPacked", /*tp_name*/ |
093d3ff1 RD |
968 | sizeof(PySwigPacked), /*tp_basicsize*/ |
969 | 0, /*tp_itemsize*/ | |
970 | /* methods */ | |
971 | (destructor)PySwigPacked_dealloc, /*tp_dealloc*/ | |
972 | (printfunc)PySwigPacked_print, /*tp_print*/ | |
973 | (getattrfunc)0, /*tp_getattr*/ | |
974 | (setattrfunc)0, /*tp_setattr*/ | |
975 | (cmpfunc)PySwigPacked_compare, /*tp_compare*/ | |
976 | (reprfunc)PySwigPacked_repr, /*tp_repr*/ | |
977 | 0, /*tp_as_number*/ | |
978 | 0, /*tp_as_sequence*/ | |
979 | 0, /*tp_as_mapping*/ | |
980 | (hashfunc)0, /*tp_hash*/ | |
981 | (ternaryfunc)0, /*tp_call*/ | |
982 | (reprfunc)PySwigPacked_str, /*tp_str*/ | |
983 | /* Space for future expansion */ | |
32fe5131 RD |
984 | 0,0,0,0, |
985 | pyswigpacked_type__doc__, /* Documentation string */ | |
093d3ff1 RD |
986 | #if PY_VERSION_HEX >= 0x02000000 |
987 | 0, /* tp_traverse */ | |
988 | 0, /* tp_clear */ | |
989 | #endif | |
990 | #if PY_VERSION_HEX >= 0x02010000 | |
991 | 0, /* tp_richcompare */ | |
992 | 0, /* tp_weaklistoffset */ | |
993 | #endif | |
994 | #if PY_VERSION_HEX >= 0x02020000 | |
995 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
996 | #endif | |
997 | #if PY_VERSION_HEX >= 0x02030000 | |
998 | 0, /* tp_del */ | |
999 | #endif | |
1000 | #ifdef COUNT_ALLOCS | |
1001 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1002 | #endif | |
1003 | }; | |
32fe5131 RD |
1004 | #if !defined(__cplusplus) |
1005 | pyswigpacked_type = tmp; | |
093d3ff1 RD |
1006 | type_init = 1; |
1007 | } | |
32fe5131 RD |
1008 | #endif |
1009 | return &pyswigpacked_type; | |
093d3ff1 | 1010 | } |
d14a1e28 | 1011 | |
093d3ff1 RD |
1012 | SWIGRUNTIME PyObject * |
1013 | PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) | |
1014 | { | |
32fe5131 | 1015 | PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); |
093d3ff1 RD |
1016 | if (self == NULL) { |
1017 | return NULL; | |
1018 | } else { | |
1019 | void *pack = malloc(size); | |
32fe5131 RD |
1020 | if (pack) { |
1021 | memcpy(pack, ptr, size); | |
1022 | self->pack = pack; | |
1023 | self->desc = desc; | |
1024 | self->size = size; | |
1025 | return (PyObject *) self; | |
1026 | } | |
1027 | return NULL; | |
093d3ff1 RD |
1028 | } |
1029 | } | |
d14a1e28 | 1030 | |
093d3ff1 RD |
1031 | SWIGRUNTIMEINLINE const char * |
1032 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
d14a1e28 | 1033 | { |
093d3ff1 RD |
1034 | PySwigPacked *self = (PySwigPacked *)obj; |
1035 | if (self->size != size) return 0; | |
1036 | memcpy(ptr, self->pack, size); | |
1037 | return self->desc; | |
1038 | } | |
d14a1e28 | 1039 | |
093d3ff1 RD |
1040 | SWIGRUNTIMEINLINE const char * |
1041 | PySwigPacked_GetDesc(PyObject *self) | |
1042 | { | |
1043 | return ((PySwigPacked *)self)->desc; | |
1044 | } | |
d14a1e28 | 1045 | |
093d3ff1 RD |
1046 | SWIGRUNTIMEINLINE int |
1047 | PySwigPacked_Check(PyObject *op) { | |
32fe5131 | 1048 | return ((op)->ob_type == PySwigPacked_type()) |
093d3ff1 RD |
1049 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); |
1050 | } | |
d14a1e28 | 1051 | |
093d3ff1 RD |
1052 | #else |
1053 | /* ----------------------------------------------------------------------------- | |
1054 | * Use the old Python PyCObject instead of PySwigObject | |
1055 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 1056 | |
093d3ff1 RD |
1057 | #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj) |
1058 | #define PySwigObject_Check(obj) PyCObject_Check(obj) | |
1059 | #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj) | |
1060 | #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL) | |
d14a1e28 | 1061 | |
093d3ff1 | 1062 | #endif |
d14a1e28 | 1063 | |
093d3ff1 | 1064 | #endif |
d14a1e28 | 1065 | |
093d3ff1 RD |
1066 | /* ----------------------------------------------------------------------------- |
1067 | * errors manipulation | |
1068 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 1069 | |
093d3ff1 RD |
1070 | SWIGRUNTIME void |
1071 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
1072 | { | |
1073 | if (type) { | |
1074 | #if defined(SWIG_COBJECT_TYPES) | |
32fe5131 | 1075 | if (obj && PySwigObject_Check(obj)) { |
093d3ff1 RD |
1076 | const char *otype = (const char *) PySwigObject_GetDesc(obj); |
1077 | if (otype) { | |
1078 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
1079 | type, otype); | |
1080 | return; | |
1081 | } | |
1082 | } else | |
1083 | #endif | |
1084 | { | |
1085 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
1086 | if (otype) { | |
1087 | PyObject *str = PyObject_Str(obj); | |
1088 | const char *cstr = str ? PyString_AsString(str) : 0; | |
1089 | if (cstr) { | |
1090 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
1091 | type, otype, cstr); | |
1092 | } else { | |
1093 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
1094 | type, otype); | |
1095 | } | |
32fe5131 | 1096 | Py_XDECREF(str); |
093d3ff1 RD |
1097 | return; |
1098 | } | |
1099 | } | |
1100 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1101 | } else { | |
1102 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
1103 | } | |
1104 | } | |
d14a1e28 | 1105 | |
093d3ff1 RD |
1106 | SWIGRUNTIMEINLINE void |
1107 | SWIG_Python_NullRef(const char *type) | |
1108 | { | |
1109 | if (type) { | |
1110 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1111 | } else { | |
1112 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1113 | } | |
1114 | } | |
d14a1e28 | 1115 | |
093d3ff1 RD |
1116 | SWIGRUNTIME int |
1117 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
1118 | { | |
1119 | if (PyErr_Occurred()) { | |
1120 | PyObject *type = 0; | |
1121 | PyObject *value = 0; | |
1122 | PyObject *traceback = 0; | |
1123 | PyErr_Fetch(&type, &value, &traceback); | |
1124 | if (value) { | |
1125 | PyObject *old_str = PyObject_Str(value); | |
1126 | Py_XINCREF(type); | |
1127 | PyErr_Clear(); | |
1128 | if (infront) { | |
1129 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1130 | } else { | |
1131 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1132 | } | |
1133 | Py_DECREF(old_str); | |
1134 | } | |
1135 | return 1; | |
1136 | } else { | |
1137 | return 0; | |
1138 | } | |
1139 | } | |
d14a1e28 | 1140 | |
093d3ff1 RD |
1141 | SWIGRUNTIME int |
1142 | SWIG_Python_ArgFail(int argnum) | |
d14a1e28 | 1143 | { |
093d3ff1 RD |
1144 | if (PyErr_Occurred()) { |
1145 | /* add information about failing argument */ | |
1146 | char mesg[256]; | |
32fe5131 | 1147 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); |
093d3ff1 RD |
1148 | return SWIG_Python_AddErrMesg(mesg, 1); |
1149 | } else { | |
1150 | return 0; | |
1151 | } | |
1152 | } | |
d14a1e28 | 1153 | |
d14a1e28 | 1154 | |
093d3ff1 RD |
1155 | /* ----------------------------------------------------------------------------- |
1156 | * pointers/data manipulation | |
1157 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 1158 | |
093d3ff1 RD |
1159 | /* Convert a pointer value */ |
1160 | SWIGRUNTIME int | |
1161 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
32fe5131 | 1162 | swig_cast_info *tc; |
093d3ff1 RD |
1163 | const char *c = 0; |
1164 | static PyObject *SWIG_this = 0; | |
1165 | int newref = 0; | |
1166 | PyObject *pyobj = 0; | |
1167 | void *vptr; | |
1168 | ||
1169 | if (!obj) return 0; | |
1170 | if (obj == Py_None) { | |
1171 | *ptr = 0; | |
1172 | return 0; | |
1173 | } | |
d14a1e28 | 1174 | |
093d3ff1 RD |
1175 | #ifdef SWIG_COBJECT_TYPES |
1176 | if (!(PySwigObject_Check(obj))) { | |
1177 | if (!SWIG_this) | |
1178 | SWIG_this = PyString_FromString("this"); | |
1179 | pyobj = obj; | |
1180 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1181 | newref = 1; | |
1182 | if (!obj) goto type_error; | |
1183 | if (!PySwigObject_Check(obj)) { | |
1184 | Py_DECREF(obj); | |
1185 | goto type_error; | |
1186 | } | |
1187 | } | |
1188 | vptr = PySwigObject_AsVoidPtr(obj); | |
1189 | c = (const char *) PySwigObject_GetDesc(obj); | |
1190 | if (newref) { Py_DECREF(obj); } | |
1191 | goto type_check; | |
1192 | #else | |
1193 | if (!(PyString_Check(obj))) { | |
1194 | if (!SWIG_this) | |
1195 | SWIG_this = PyString_FromString("this"); | |
1196 | pyobj = obj; | |
1197 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1198 | newref = 1; | |
1199 | if (!obj) goto type_error; | |
1200 | if (!PyString_Check(obj)) { | |
1201 | Py_DECREF(obj); | |
1202 | goto type_error; | |
1203 | } | |
1204 | } | |
32fe5131 | 1205 | c = PyString_AsString(obj); |
093d3ff1 RD |
1206 | /* Pointer values must start with leading underscore */ |
1207 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1208 | if (newref) { Py_DECREF(obj); } | |
1209 | if (!c) goto type_error; | |
1210 | #endif | |
d14a1e28 | 1211 | |
093d3ff1 | 1212 | type_check: |
093d3ff1 RD |
1213 | if (ty) { |
1214 | tc = SWIG_TypeCheck(c,ty); | |
1215 | if (!tc) goto type_error; | |
1216 | *ptr = SWIG_TypeCast(tc,vptr); | |
1217 | } else { | |
1218 | *ptr = vptr; | |
1219 | } | |
093d3ff1 RD |
1220 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { |
1221 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1222 | } | |
1223 | return 0; | |
d14a1e28 | 1224 | |
093d3ff1 RD |
1225 | type_error: |
1226 | PyErr_Clear(); | |
1227 | if (pyobj && !obj) { | |
1228 | obj = pyobj; | |
1229 | if (PyCFunction_Check(obj)) { | |
1230 | /* here we get the method pointer for callbacks */ | |
1231 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1232 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1233 | if (c) { | |
32fe5131 | 1234 | c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; |
093d3ff1 RD |
1235 | if (!c) goto type_error; |
1236 | goto type_check; | |
1237 | } | |
1238 | } | |
1239 | } | |
1240 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1241 | if (ty) { | |
1242 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1243 | } else { | |
1244 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
1245 | } | |
1246 | } | |
1247 | return -1; | |
1248 | } | |
d14a1e28 | 1249 | |
093d3ff1 RD |
1250 | /* Convert a pointer value, signal an exception on a type mismatch */ |
1251 | SWIGRUNTIME void * | |
1252 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1253 | void *result; | |
1254 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1255 | PyErr_Clear(); | |
1256 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1257 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1258 | SWIG_Python_ArgFail(argnum); | |
1259 | } | |
1260 | } | |
1261 | return result; | |
1262 | } | |
d14a1e28 | 1263 | |
093d3ff1 RD |
1264 | /* Convert a packed value value */ |
1265 | SWIGRUNTIME int | |
1266 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
32fe5131 | 1267 | swig_cast_info *tc; |
093d3ff1 | 1268 | const char *c = 0; |
d14a1e28 | 1269 | |
093d3ff1 RD |
1270 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) |
1271 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1272 | #else | |
1273 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
32fe5131 | 1274 | c = PyString_AsString(obj); |
093d3ff1 RD |
1275 | /* Pointer values must start with leading underscore */ |
1276 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1277 | #endif | |
1278 | if (!c) goto type_error; | |
1279 | if (ty) { | |
1280 | tc = SWIG_TypeCheck(c,ty); | |
1281 | if (!tc) goto type_error; | |
1282 | } | |
1283 | return 0; | |
d14a1e28 | 1284 | |
093d3ff1 RD |
1285 | type_error: |
1286 | PyErr_Clear(); | |
1287 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1288 | if (ty) { | |
1289 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1290 | } else { | |
1291 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
1292 | } | |
1293 | } | |
1294 | return -1; | |
1295 | } | |
1296 | ||
1297 | /* Create a new array object */ | |
1298 | SWIGRUNTIME PyObject * | |
1299 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1300 | PyObject *robj = 0; | |
32fe5131 RD |
1301 | if (!type) { |
1302 | if (!PyErr_Occurred()) { | |
1303 | PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); | |
1304 | } | |
1305 | return robj; | |
1306 | } | |
093d3ff1 RD |
1307 | if (!ptr) { |
1308 | Py_INCREF(Py_None); | |
1309 | return Py_None; | |
1310 | } | |
1311 | #ifdef SWIG_COBJECT_TYPES | |
1312 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1313 | #else | |
1314 | { | |
1315 | char result[SWIG_BUFFER_SIZE]; | |
1316 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1317 | PyString_FromString(result) : 0; | |
1318 | } | |
1319 | #endif | |
1320 | if (!robj || (robj == Py_None)) return robj; | |
1321 | if (type->clientdata) { | |
1322 | PyObject *inst; | |
1323 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1324 | Py_DECREF(robj); | |
1325 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1326 | Py_DECREF(args); | |
1327 | if (inst) { | |
1328 | if (own) { | |
1329 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1330 | } | |
1331 | robj = inst; | |
1332 | } | |
1333 | } | |
1334 | return robj; | |
1335 | } | |
1336 | ||
1337 | SWIGRUNTIME PyObject * | |
1338 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1339 | PyObject *robj = 0; | |
1340 | if (!ptr) { | |
1341 | Py_INCREF(Py_None); | |
1342 | return Py_None; | |
1343 | } | |
1344 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1345 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1346 | #else | |
1347 | { | |
1348 | char result[SWIG_BUFFER_SIZE]; | |
1349 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1350 | PyString_FromString(result) : 0; | |
1351 | } | |
1352 | #endif | |
1353 | return robj; | |
1354 | } | |
1355 | ||
1356 | /* -----------------------------------------------------------------------------* | |
1357 | * Get type list | |
1358 | * -----------------------------------------------------------------------------*/ | |
1359 | ||
1360 | #ifdef SWIG_LINK_RUNTIME | |
1361 | void *SWIG_ReturnGlobalTypeList(void *); | |
1362 | #endif | |
1363 | ||
32fe5131 RD |
1364 | SWIGRUNTIME swig_module_info * |
1365 | SWIG_Python_GetModule(void) { | |
093d3ff1 RD |
1366 | static void *type_pointer = (void *)0; |
1367 | /* first check if module already created */ | |
1368 | if (!type_pointer) { | |
1369 | #ifdef SWIG_LINK_RUNTIME | |
1370 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1371 | #else | |
1372 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1373 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1374 | if (PyErr_Occurred()) { | |
1375 | PyErr_Clear(); | |
1376 | type_pointer = (void *)0; | |
1377 | } | |
093d3ff1 | 1378 | #endif |
32fe5131 RD |
1379 | } |
1380 | return (swig_module_info *) type_pointer; | |
093d3ff1 RD |
1381 | } |
1382 | ||
32fe5131 RD |
1383 | #if PY_MAJOR_VERSION < 2 |
1384 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
1385 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
1386 | SWIGINTERN int | |
1387 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
1388 | { | |
1389 | PyObject *dict; | |
1390 | if (!PyModule_Check(m)) { | |
1391 | PyErr_SetString(PyExc_TypeError, | |
1392 | "PyModule_AddObject() needs module as first arg"); | |
1393 | return -1; | |
1394 | } | |
1395 | if (!o) { | |
1396 | PyErr_SetString(PyExc_TypeError, | |
1397 | "PyModule_AddObject() needs non-NULL value"); | |
1398 | return -1; | |
1399 | } | |
1400 | ||
1401 | dict = PyModule_GetDict(m); | |
1402 | if (dict == NULL) { | |
1403 | /* Internal error -- modules must have a dict! */ | |
1404 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
1405 | PyModule_GetName(m)); | |
1406 | return -1; | |
1407 | } | |
1408 | if (PyDict_SetItemString(dict, name, o)) | |
1409 | return -1; | |
1410 | Py_DECREF(o); | |
1411 | return 0; | |
093d3ff1 | 1412 | } |
32fe5131 | 1413 | #endif |
093d3ff1 | 1414 | |
32fe5131 RD |
1415 | SWIGRUNTIME void |
1416 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
1417 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
1418 | ||
1419 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1420 | swig_empty_runtime_method_table); | |
1421 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL); | |
1422 | if (pointer && module) { | |
1423 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
1424 | } | |
1425 | } | |
093d3ff1 RD |
1426 | |
1427 | #ifdef __cplusplus | |
1428 | } | |
1429 | #endif | |
1430 | ||
1431 | ||
1432 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
1433 | ||
32fe5131 RD |
1434 | #define SWIGTYPE_p_char swig_types[0] |
1435 | #define SWIGTYPE_p_form_ops_t swig_types[1] | |
1436 | #define SWIGTYPE_p_int swig_types[2] | |
1437 | #define SWIGTYPE_p_unsigned_char swig_types[3] | |
1438 | #define SWIGTYPE_p_unsigned_int swig_types[4] | |
1439 | #define SWIGTYPE_p_unsigned_long swig_types[5] | |
1440 | #define SWIGTYPE_p_wxANIHandler swig_types[6] | |
1441 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[7] | |
1442 | #define SWIGTYPE_p_wxActivateEvent swig_types[8] | |
1443 | #define SWIGTYPE_p_wxArrayInt swig_types[9] | |
1444 | #define SWIGTYPE_p_wxBMPHandler swig_types[10] | |
1445 | #define SWIGTYPE_p_wxBitmap swig_types[11] | |
1446 | #define SWIGTYPE_p_wxBoxSizer swig_types[12] | |
1447 | #define SWIGTYPE_p_wxCURHandler swig_types[13] | |
1448 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14] | |
1449 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[15] | |
1450 | #define SWIGTYPE_p_wxCloseEvent swig_types[16] | |
1451 | #define SWIGTYPE_p_wxColour swig_types[17] | |
1452 | #define SWIGTYPE_p_wxColourData swig_types[18] | |
1453 | #define SWIGTYPE_p_wxColourDialog swig_types[19] | |
1454 | #define SWIGTYPE_p_wxCommandEvent swig_types[20] | |
1455 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[21] | |
1456 | #define SWIGTYPE_p_wxControl swig_types[22] | |
1457 | #define SWIGTYPE_p_wxControlWithItems swig_types[23] | |
1458 | #define SWIGTYPE_p_wxDC swig_types[24] | |
1459 | #define SWIGTYPE_p_wxDateEvent swig_types[25] | |
1460 | #define SWIGTYPE_p_wxDialog swig_types[26] | |
1461 | #define SWIGTYPE_p_wxDirDialog swig_types[27] | |
1462 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28] | |
1463 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[29] | |
1464 | #define SWIGTYPE_p_wxDuplexMode swig_types[30] | |
1465 | #define SWIGTYPE_p_wxEraseEvent swig_types[31] | |
1466 | #define SWIGTYPE_p_wxEvent swig_types[32] | |
1467 | #define SWIGTYPE_p_wxEvtHandler swig_types[33] | |
1468 | #define SWIGTYPE_p_wxFSFile swig_types[34] | |
1469 | #define SWIGTYPE_p_wxFileDialog swig_types[35] | |
1470 | #define SWIGTYPE_p_wxFileSystem swig_types[36] | |
1471 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[37] | |
1472 | #define SWIGTYPE_p_wxFindReplaceData swig_types[38] | |
1473 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39] | |
1474 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[40] | |
1475 | #define SWIGTYPE_p_wxFocusEvent swig_types[41] | |
1476 | #define SWIGTYPE_p_wxFont swig_types[42] | |
1477 | #define SWIGTYPE_p_wxFontData swig_types[43] | |
1478 | #define SWIGTYPE_p_wxFontDialog swig_types[44] | |
1479 | #define SWIGTYPE_p_wxFrame swig_types[45] | |
1480 | #define SWIGTYPE_p_wxGBSizerItem swig_types[46] | |
1481 | #define SWIGTYPE_p_wxGIFHandler swig_types[47] | |
1482 | #define SWIGTYPE_p_wxGridBagSizer swig_types[48] | |
1483 | #define SWIGTYPE_p_wxGridSizer swig_types[49] | |
1484 | #define SWIGTYPE_p_wxICOHandler swig_types[50] | |
1485 | #define SWIGTYPE_p_wxIcon swig_types[51] | |
1486 | #define SWIGTYPE_p_wxIconBundle swig_types[52] | |
1487 | #define SWIGTYPE_p_wxIconizeEvent swig_types[53] | |
1488 | #define SWIGTYPE_p_wxIdleEvent swig_types[54] | |
1489 | #define SWIGTYPE_p_wxImage swig_types[55] | |
1490 | #define SWIGTYPE_p_wxImageHandler swig_types[56] | |
1491 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57] | |
1492 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[58] | |
1493 | #define SWIGTYPE_p_wxJPEGHandler swig_types[59] | |
1494 | #define SWIGTYPE_p_wxKeyEvent swig_types[60] | |
1495 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61] | |
1496 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[62] | |
1497 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[63] | |
1498 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[64] | |
1499 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[65] | |
1500 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[66] | |
1501 | #define SWIGTYPE_p_wxMenu swig_types[67] | |
1502 | #define SWIGTYPE_p_wxMenuBar swig_types[68] | |
1503 | #define SWIGTYPE_p_wxMenuEvent swig_types[69] | |
1504 | #define SWIGTYPE_p_wxMenuItem swig_types[70] | |
1505 | #define SWIGTYPE_p_wxMessageDialog swig_types[71] | |
1506 | #define SWIGTYPE_p_wxMiniFrame swig_types[72] | |
1507 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73] | |
1508 | #define SWIGTYPE_p_wxMouseEvent swig_types[74] | |
1509 | #define SWIGTYPE_p_wxMoveEvent swig_types[75] | |
1510 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76] | |
1511 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77] | |
1512 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[78] | |
1513 | #define SWIGTYPE_p_wxNotifyEvent swig_types[79] | |
1514 | #define SWIGTYPE_p_wxObject swig_types[80] | |
1515 | #define SWIGTYPE_p_wxPCXHandler swig_types[81] | |
1516 | #define SWIGTYPE_p_wxPNGHandler swig_types[82] | |
1517 | #define SWIGTYPE_p_wxPNMHandler swig_types[83] | |
1518 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[84] | |
1519 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85] | |
1520 | #define SWIGTYPE_p_wxPaintEvent swig_types[86] | |
1521 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87] | |
1522 | #define SWIGTYPE_p_wxPanel swig_types[88] | |
1523 | #define SWIGTYPE_p_wxPaperSize swig_types[89] | |
1524 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90] | |
1525 | #define SWIGTYPE_p_wxPoint swig_types[91] | |
1526 | #define SWIGTYPE_p_wxPopupWindow swig_types[92] | |
1527 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[93] | |
1528 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[94] | |
1529 | #define SWIGTYPE_p_wxPreviewFrame swig_types[95] | |
1530 | #define SWIGTYPE_p_wxPrintData swig_types[96] | |
1531 | #define SWIGTYPE_p_wxPrintDialog swig_types[97] | |
1532 | #define SWIGTYPE_p_wxPrintDialogData swig_types[98] | |
1533 | #define SWIGTYPE_p_wxPrintPreview swig_types[99] | |
1534 | #define SWIGTYPE_p_wxPrinter swig_types[100] | |
1535 | #define SWIGTYPE_p_wxProgressDialog swig_types[101] | |
1536 | #define SWIGTYPE_p_wxPyApp swig_types[102] | |
1537 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[103] | |
1538 | #define SWIGTYPE_p_wxPyEvent swig_types[104] | |
1539 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105] | |
1540 | #define SWIGTYPE_p_wxPyImageHandler swig_types[106] | |
1541 | #define SWIGTYPE_p_wxPyPanel swig_types[107] | |
1542 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108] | |
1543 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109] | |
1544 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110] | |
1545 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[111] | |
1546 | #define SWIGTYPE_p_wxPyPrintout swig_types[112] | |
1547 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113] | |
1548 | #define SWIGTYPE_p_wxPySizer swig_types[114] | |
1549 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115] | |
1550 | #define SWIGTYPE_p_wxPyVListBox swig_types[116] | |
1551 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117] | |
1552 | #define SWIGTYPE_p_wxPyValidator swig_types[118] | |
1553 | #define SWIGTYPE_p_wxPyWindow swig_types[119] | |
1554 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120] | |
1555 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121] | |
1556 | #define SWIGTYPE_p_wxRect swig_types[122] | |
1557 | #define SWIGTYPE_p_wxRegion swig_types[123] | |
1558 | #define SWIGTYPE_p_wxSashEvent swig_types[124] | |
1559 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125] | |
1560 | #define SWIGTYPE_p_wxSashWindow swig_types[126] | |
1561 | #define SWIGTYPE_p_wxScrollEvent swig_types[127] | |
1562 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[128] | |
1563 | #define SWIGTYPE_p_wxScrolledWindow swig_types[129] | |
1564 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[130] | |
1565 | #define SWIGTYPE_p_wxShowEvent swig_types[131] | |
1566 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132] | |
1567 | #define SWIGTYPE_p_wxSize swig_types[133] | |
1568 | #define SWIGTYPE_p_wxSizeEvent swig_types[134] | |
1569 | #define SWIGTYPE_p_wxSizer swig_types[135] | |
1570 | #define SWIGTYPE_p_wxSizerItem swig_types[136] | |
1571 | #define SWIGTYPE_p_wxSplashScreen swig_types[137] | |
1572 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138] | |
1573 | #define SWIGTYPE_p_wxSplitterEvent swig_types[139] | |
1574 | #define SWIGTYPE_p_wxSplitterWindow swig_types[140] | |
1575 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141] | |
1576 | #define SWIGTYPE_p_wxStatusBar swig_types[142] | |
1577 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143] | |
1578 | #define SWIGTYPE_p_wxString swig_types[144] | |
1579 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145] | |
1580 | #define SWIGTYPE_p_wxTIFFHandler swig_types[146] | |
1581 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[147] | |
1582 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148] | |
1583 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[149] | |
1584 | #define SWIGTYPE_p_wxTipWindow swig_types[150] | |
1585 | #define SWIGTYPE_p_wxToolBar swig_types[151] | |
1586 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[152] | |
1587 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153] | |
1588 | #define SWIGTYPE_p_wxValidator swig_types[154] | |
1589 | #define SWIGTYPE_p_wxVisualAttributes swig_types[155] | |
1590 | #define SWIGTYPE_p_wxWindow swig_types[156] | |
1591 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157] | |
1592 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158] | |
1593 | #define SWIGTYPE_p_wxXPMHandler swig_types[159] | |
1594 | #define SWIGTYPE_ptrdiff_t swig_types[160] | |
1595 | #define SWIGTYPE_std__ptrdiff_t swig_types[161] | |
1596 | #define SWIGTYPE_unsigned_int swig_types[162] | |
1597 | static swig_type_info *swig_types[164]; | |
1598 | static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0}; | |
1599 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) | |
1600 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
093d3ff1 RD |
1601 | |
1602 | /* -------- TYPES TABLE (END) -------- */ | |
1603 | ||
1604 | ||
1605 | /*----------------------------------------------- | |
1606 | @(target):= _windows_.so | |
1607 | ------------------------------------------------*/ | |
1608 | #define SWIG_init init_windows_ | |
1609 | ||
1610 | #define SWIG_name "_windows_" | |
1611 | ||
1612 | #include "wx/wxPython/wxPython.h" | |
1613 | #include "wx/wxPython/pyclasses.h" | |
1614 | ||
1615 | ||
1616 | static const wxString wxPyEmptyString(wxEmptyString); | |
1617 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
1618 | ||
1619 | ||
1620 | ||
1621 | #include <limits.h> | |
1622 | ||
1623 | ||
1624 | SWIGINTERN int | |
1625 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
1626 | const char *errmsg) | |
1627 | { | |
1628 | if (value < min_value) { | |
1629 | if (errmsg) { | |
1630 | PyErr_Format(PyExc_OverflowError, | |
1631 | "value %ld is less than '%s' minimum %ld", | |
1632 | value, errmsg, min_value); | |
1633 | } | |
1634 | return 0; | |
1635 | } else if (value > max_value) { | |
1636 | if (errmsg) { | |
1637 | PyErr_Format(PyExc_OverflowError, | |
1638 | "value %ld is greater than '%s' maximum %ld", | |
1639 | value, errmsg, max_value); | |
1640 | } | |
1641 | return 0; | |
1642 | } | |
1643 | return 1; | |
1644 | } | |
1645 | ||
1646 | ||
1647 | SWIGINTERN int | |
1648 | SWIG_AsVal_long(PyObject* obj, long* val) | |
1649 | { | |
1650 | if (PyNumber_Check(obj)) { | |
1651 | if (val) *val = PyInt_AsLong(obj); | |
1652 | return 1; | |
1653 | } | |
1654 | else { | |
7e08d4ef | 1655 | SWIG_Python_TypeError("number", obj); |
093d3ff1 RD |
1656 | } |
1657 | return 0; | |
1658 | } | |
1659 | ||
1660 | ||
1661 | #if INT_MAX != LONG_MAX | |
1662 | SWIGINTERN int | |
1663 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1664 | { | |
1665 | const char* errmsg = val ? "int" : (char*)0; | |
1666 | long v; | |
1667 | if (SWIG_AsVal_long(obj, &v)) { | |
1668 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
32fe5131 | 1669 | if (val) *val = static_cast<int >(v); |
093d3ff1 RD |
1670 | return 1; |
1671 | } else { | |
1672 | return 0; | |
1673 | } | |
1674 | } else { | |
1675 | PyErr_Clear(); | |
1676 | } | |
1677 | if (val) { | |
1678 | SWIG_type_error(errmsg, obj); | |
1679 | } | |
1680 | return 0; | |
1681 | } | |
1682 | #else | |
32fe5131 | 1683 | SWIGINTERNINLINE int |
093d3ff1 RD |
1684 | SWIG_AsVal_int(PyObject *obj, int *val) |
1685 | { | |
1686 | return SWIG_AsVal_long(obj,(long*)val); | |
1687 | } | |
1688 | #endif | |
1689 | ||
1690 | ||
32fe5131 | 1691 | SWIGINTERNINLINE int |
093d3ff1 RD |
1692 | SWIG_As_int(PyObject* obj) |
1693 | { | |
1694 | int v; | |
1695 | if (!SWIG_AsVal_int(obj, &v)) { | |
1696 | /* | |
1697 | this is needed to make valgrind/purify happier. | |
1698 | */ | |
1699 | memset((void*)&v, 0, sizeof(int)); | |
1700 | } | |
1701 | return v; | |
1702 | } | |
1703 | ||
1704 | ||
32fe5131 | 1705 | SWIGINTERNINLINE long |
093d3ff1 RD |
1706 | SWIG_As_long(PyObject* obj) |
1707 | { | |
1708 | long v; | |
1709 | if (!SWIG_AsVal_long(obj, &v)) { | |
1710 | /* | |
1711 | this is needed to make valgrind/purify happier. | |
1712 | */ | |
1713 | memset((void*)&v, 0, sizeof(long)); | |
1714 | } | |
1715 | return v; | |
1716 | } | |
1717 | ||
1718 | ||
32fe5131 | 1719 | SWIGINTERNINLINE int |
093d3ff1 RD |
1720 | SWIG_Check_int(PyObject* obj) |
1721 | { | |
1722 | return SWIG_AsVal_int(obj, (int*)0); | |
1723 | } | |
1724 | ||
1725 | ||
32fe5131 | 1726 | SWIGINTERNINLINE int |
093d3ff1 RD |
1727 | SWIG_Check_long(PyObject* obj) |
1728 | { | |
1729 | return SWIG_AsVal_long(obj, (long*)0); | |
1730 | } | |
1731 | ||
1732 | ||
1733 | SWIGINTERN int | |
1734 | SWIG_AsVal_bool(PyObject *obj, bool *val) | |
1735 | { | |
1736 | if (obj == Py_True) { | |
1737 | if (val) *val = true; | |
1738 | return 1; | |
1739 | } | |
1740 | if (obj == Py_False) { | |
1741 | if (val) *val = false; | |
1742 | return 1; | |
1743 | } | |
1744 | int res = 0; | |
1745 | if (SWIG_AsVal_int(obj, &res)) { | |
1746 | if (val) *val = res ? true : false; | |
1747 | return 1; | |
1748 | } else { | |
1749 | PyErr_Clear(); | |
1750 | } | |
1751 | if (val) { | |
1752 | SWIG_type_error("bool", obj); | |
1753 | } | |
1754 | return 0; | |
1755 | } | |
1756 | ||
1757 | ||
32fe5131 | 1758 | SWIGINTERNINLINE bool |
093d3ff1 RD |
1759 | SWIG_As_bool(PyObject* obj) |
1760 | { | |
1761 | bool v; | |
1762 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1763 | /* | |
1764 | this is needed to make valgrind/purify happier. | |
1765 | */ | |
1766 | memset((void*)&v, 0, sizeof(bool)); | |
1767 | } | |
1768 | return v; | |
1769 | } | |
1770 | ||
1771 | ||
32fe5131 | 1772 | SWIGINTERNINLINE int |
093d3ff1 RD |
1773 | SWIG_Check_bool(PyObject* obj) |
1774 | { | |
1775 | return SWIG_AsVal_bool(obj, (bool*)0); | |
1776 | } | |
1777 | ||
1778 | ||
32fe5131 | 1779 | /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ |
093d3ff1 RD |
1780 | #define SWIG_From_int PyInt_FromLong |
1781 | /*@@*/ | |
1782 | ||
1783 | ||
7e08d4ef RD |
1784 | static PyObject* t_output_helper(PyObject* result, PyObject* obj) |
1785 | { | |
1786 | PyObject* o2; | |
1787 | PyObject* o3; | |
1788 | if (!result) { | |
1789 | result = obj; | |
1790 | } else if (result == Py_None) { | |
1791 | Py_DECREF(result); | |
1792 | result = obj; | |
1793 | } else { | |
1794 | if (!PyTuple_Check(result)) { | |
1795 | o2 = result; | |
1796 | result = PyTuple_New(1); | |
1797 | PyTuple_SET_ITEM(result, 0, o2); | |
1798 | } | |
1799 | o3 = PyTuple_New(1); | |
1800 | PyTuple_SetItem(o3, 0, obj); | |
1801 | o2 = result; | |
1802 | result = PySequence_Concat(o2, o3); | |
1803 | Py_DECREF(o2); | |
1804 | Py_DECREF(o3); | |
1805 | } | |
1806 | return result; | |
1807 | } | |
093d3ff1 RD |
1808 | |
1809 | ||
1810 | ||
1811 | SWIGINTERN int | |
1812 | SWIG_AsVal_double(PyObject *obj, double* val) | |
1813 | { | |
1814 | if (PyNumber_Check(obj)) { | |
1815 | if (val) *val = PyFloat_AsDouble(obj); | |
1816 | return 1; | |
1817 | } | |
1818 | else { | |
7e08d4ef | 1819 | SWIG_Python_TypeError("number", obj); |
093d3ff1 RD |
1820 | } |
1821 | return 0; | |
1822 | } | |
1823 | ||
1824 | ||
32fe5131 | 1825 | SWIGINTERNINLINE double |
093d3ff1 RD |
1826 | SWIG_As_double(PyObject* obj) |
1827 | { | |
1828 | double v; | |
1829 | if (!SWIG_AsVal_double(obj, &v)) { | |
1830 | /* | |
1831 | this is needed to make valgrind/purify happier. | |
1832 | */ | |
1833 | memset((void*)&v, 0, sizeof(double)); | |
1834 | } | |
1835 | return v; | |
1836 | } | |
1837 | ||
1838 | ||
32fe5131 | 1839 | SWIGINTERNINLINE int |
093d3ff1 RD |
1840 | SWIG_Check_double(PyObject* obj) |
1841 | { | |
1842 | return SWIG_AsVal_double(obj, (double*)0); | |
1843 | } | |
1844 | ||
1845 | ||
32fe5131 | 1846 | /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ |
093d3ff1 RD |
1847 | #define SWIG_From_double PyFloat_FromDouble |
1848 | /*@@*/ | |
1849 | ||
1850 | static const wxString wxPyFrameNameStr(wxFrameNameStr); | |
1851 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
1852 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
1853 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
1854 | static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ } | |
1855 | static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; } | |
1856 | ||
32fe5131 | 1857 | /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ |
093d3ff1 RD |
1858 | #define SWIG_From_long PyInt_FromLong |
1859 | /*@@*/ | |
1860 | ||
1861 | ||
1862 | ||
1863 | static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ | |
1864 | wxRect r; | |
1865 | self->GetFieldRect(i, r); | |
1866 | return r; | |
1867 | } | |
1868 | static const wxString wxPySplitterNameStr(wxT("splitter")); | |
1869 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
1870 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
1871 | ||
1872 | #include <wx/popupwin.h> | |
1873 | ||
1874 | ||
1875 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
1876 | { | |
1877 | public: | |
1878 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
1879 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
1880 | : wxPopupTransientWindow(parent, style) {} | |
1881 | ||
1882 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
1883 | DEC_PYCALLBACK__(OnDismiss); | |
1884 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
1885 | PYPRIVATE; | |
1886 | }; | |
1887 | ||
1888 | ||
1889 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
1890 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
1891 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
1892 | ||
1893 | ||
1894 | #include <wx/tipwin.h> | |
1895 | ||
1896 | static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){ | |
1897 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
1898 | } | |
1899 | ||
1900 | #include <wx/tipwin.h> | |
1901 | ||
1902 | ||
1903 | #include <wx/vscroll.h> | |
1904 | ||
1905 | ||
1906 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
1907 | { | |
32fe5131 | 1908 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow) |
093d3ff1 RD |
1909 | public: |
1910 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
1911 | ||
1912 | wxPyVScrolledWindow(wxWindow *parent, | |
1913 | wxWindowID id = wxID_ANY, | |
1914 | const wxPoint& pos = wxDefaultPosition, | |
1915 | const wxSize& size = wxDefaultSize, | |
1916 | long style = 0, | |
1917 | const wxString& name = wxPyPanelNameStr) | |
1918 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
1919 | {} | |
1920 | ||
1921 | // Overridable virtuals | |
1922 | ||
1923 | // this function must be overridden in the derived class and it should | |
1924 | // return the height of the given line in pixels | |
1925 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
1926 | ||
1927 | ||
1928 | // this function doesn't have to be overridden but it may be useful to do | |
1929 | // it if calculating the lines heights is a relatively expensive operation | |
1930 | // as it gives the user code a possibility to calculate several of them at | |
1931 | // once | |
1932 | // | |
1933 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
1934 | // shouldn't rely on the latter being called for all lines in the interval | |
1935 | // specified here. It is also possible that OnGetLineHeight() will be | |
1936 | // called for the lines outside of this interval, so this is really just a | |
1937 | // hint, not a promise. | |
1938 | // | |
1939 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
1940 | // usual | |
1941 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
1942 | ||
1943 | ||
1944 | // when the number of lines changes, we try to estimate the total height | |
1945 | // of all lines which is a rather expensive operation in terms of lines | |
1946 | // access, so if the user code may estimate the average height | |
1947 | // better/faster than we do, it should override this function to implement | |
1948 | // its own logic | |
1949 | // | |
1950 | // this function should return the best guess for the total height it may | |
1951 | // make | |
1952 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
1953 | ||
1954 | ||
1955 | // Also expose some other interesting protected methods | |
1956 | ||
1957 | ||
1958 | // find the index of the line we need to show at the top of the window such | |
1959 | // that the last (fully or partially) visible line is the given one | |
1960 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) | |
1961 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } | |
1962 | ||
1963 | // get the total height of the lines between lineMin (inclusive) and | |
1964 | // lineMax (exclusive) | |
1965 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
1966 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
d14a1e28 RD |
1967 | |
1968 | ||
1969 | PYPRIVATE; | |
1970 | }; | |
1971 | ||
1972 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
1973 | ||
1974 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
1975 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
1976 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
1977 | ||
1978 | ||
093d3ff1 | 1979 | SWIGINTERN int |
c32bde28 | 1980 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) |
15afbcd0 | 1981 | { |
c32bde28 RD |
1982 | long v = 0; |
1983 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
7e08d4ef | 1984 | SWIG_Python_TypeError("unsigned number", obj); |
15afbcd0 | 1985 | } |
c32bde28 RD |
1986 | else if (val) |
1987 | *val = (unsigned long)v; | |
1988 | return 1; | |
15afbcd0 RD |
1989 | } |
1990 | ||
1991 | ||
32fe5131 | 1992 | SWIGINTERNINLINE unsigned long |
c32bde28 | 1993 | SWIG_As_unsigned_SS_long(PyObject* obj) |
15afbcd0 | 1994 | { |
c32bde28 RD |
1995 | unsigned long v; |
1996 | if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
1997 | /* | |
093d3ff1 | 1998 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
1999 | */ |
2000 | memset((void*)&v, 0, sizeof(unsigned long)); | |
15afbcd0 | 2001 | } |
c32bde28 RD |
2002 | return v; |
2003 | } | |
2004 | ||
2005 | ||
32fe5131 | 2006 | SWIGINTERNINLINE int |
c32bde28 RD |
2007 | SWIG_Check_unsigned_SS_long(PyObject* obj) |
2008 | { | |
2009 | return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); | |
15afbcd0 RD |
2010 | } |
2011 | ||
2012 | ||
32fe5131 | 2013 | SWIGINTERNINLINE PyObject* |
c32bde28 | 2014 | SWIG_From_unsigned_SS_long(unsigned long value) |
994141e6 | 2015 | { |
15afbcd0 RD |
2016 | return (value > LONG_MAX) ? |
2017 | PyLong_FromUnsignedLong(value) | |
32fe5131 | 2018 | : PyInt_FromLong(static_cast<long >(value)); |
994141e6 RD |
2019 | } |
2020 | ||
2021 | ||
d14a1e28 | 2022 | #include <wx/vlbox.h> |
d14a1e28 | 2023 | |
b2dc1044 | 2024 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
2025 | |
2026 | class wxPyVListBox : public wxVListBox | |
2027 | { | |
32fe5131 | 2028 | DECLARE_ABSTRACT_CLASS(wxPyVListBox) |
d14a1e28 RD |
2029 | public: |
2030 | wxPyVListBox() : wxVListBox() {} | |
2031 | ||
2032 | wxPyVListBox(wxWindow *parent, | |
2033 | wxWindowID id = wxID_ANY, | |
2034 | const wxPoint& pos = wxDefaultPosition, | |
2035 | const wxSize& size = wxDefaultSize, | |
2036 | long style = 0, | |
2037 | const wxString& name = wxPyVListBoxNameStr) | |
2038 | : wxVListBox(parent, id, pos, size, style, name) | |
2039 | {} | |
2040 | ||
2041 | // Overridable virtuals | |
2042 | ||
2043 | // the derived class must implement this function to actually draw the item | |
2044 | // with the given index on the provided DC | |
2045 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
2046 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
2047 | ||
2048 | ||
2049 | // the derived class must implement this method to return the height of the | |
2050 | // specified item | |
2051 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
2052 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
2053 | ||
2054 | ||
2055 | // this method may be used to draw separators between the lines; note that | |
2056 | // the rectangle may be modified, typically to deflate it a bit before | |
2057 | // passing to OnDrawItem() | |
2058 | // | |
2059 | // the base class version doesn't do anything | |
2060 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
2061 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
2062 | ||
2063 | ||
2064 | // this method is used to draw the items background and, maybe, a border | |
2065 | // around it | |
2066 | // | |
2067 | // the base class version implements a reasonable default behaviour which | |
2068 | // consists in drawing the selected item with the standard background | |
2069 | // colour and drawing a border around the item if it is either selected or | |
2070 | // current | |
2071 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
2072 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
2073 | ||
2074 | ||
2075 | PYPRIVATE; | |
2076 | }; | |
2077 | ||
2078 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
2079 | ||
2080 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
2081 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
2082 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
2083 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
2084 | ||
2085 | ||
093d3ff1 | 2086 | static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){ |
09c21d3b RD |
2087 | unsigned long cookie = 0; |
2088 | int selected = self->GetFirstSelected(cookie); | |
5a446332 | 2089 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
09c21d3b RD |
2090 | PyObject* tup = PyTuple_New(2); |
2091 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
2092 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
2093 | wxPyEndBlockThreads(blocked); | |
2094 | return tup; | |
2095 | } | |
093d3ff1 | 2096 | static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){ |
09c21d3b | 2097 | int selected = self->GetNextSelected(cookie); |
5a446332 | 2098 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
09c21d3b RD |
2099 | PyObject* tup = PyTuple_New(2); |
2100 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
2101 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
2102 | wxPyEndBlockThreads(blocked); | |
2103 | return tup; | |
2104 | } | |
d14a1e28 RD |
2105 | |
2106 | #include <wx/htmllbox.h> | |
2107 | ||
2108 | ||
2109 | class wxPyHtmlListBox : public wxHtmlListBox | |
2110 | { | |
32fe5131 | 2111 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox) |
d14a1e28 RD |
2112 | public: |
2113 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
2114 | ||
2115 | wxPyHtmlListBox(wxWindow *parent, | |
2116 | wxWindowID id = wxID_ANY, | |
2117 | const wxPoint& pos = wxDefaultPosition, | |
2118 | const wxSize& size = wxDefaultSize, | |
2119 | long style = 0, | |
2120 | const wxString& name = wxPyVListBoxNameStr) | |
2121 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
2122 | {} | |
2123 | ||
2124 | // Overridable virtuals | |
2125 | ||
2126 | // this method must be implemented in the derived class and should return | |
2127 | // the body (i.e. without <html>) of the HTML for the given item | |
2128 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
2129 | ||
2130 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
2131 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
2132 | ||
2133 | // TODO: | |
2134 | // // this method allows to customize the selection appearance: it may be used | |
2135 | // // to specify the colour of the text which normally has the given colour | |
2136 | // // colFg when it is inside the selection | |
2137 | // // | |
2138 | // // by default, the original colour is not used at all and all text has the | |
2139 | // // same (default for this system) colour inside selection | |
2140 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
2141 | ||
2142 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
2143 | // // background colour -- this is even more rarely used as you can change it | |
2144 | // // globally using SetSelectionBackground() | |
2145 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
2146 | ||
2147 | ||
2148 | PYPRIVATE; | |
2149 | }; | |
2150 | ||
2151 | ||
2152 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
2153 | ||
2154 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
2155 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
2156 | ||
2157 | ||
2158 | ||
2159 | ||
2160 | ||
ae8162c8 RD |
2161 | #ifndef wxHAS_TASK_BAR_ICON |
2162 | // implement dummy classes for platforms that don't have it | |
d14a1e28 RD |
2163 | |
2164 | class wxTaskBarIcon : public wxEvtHandler | |
2165 | { | |
2166 | public: | |
39f61e25 | 2167 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 | 2168 | }; |
09c21d3b | 2169 | |
d14a1e28 RD |
2170 | |
2171 | class wxTaskBarIconEvent : public wxEvent | |
2172 | { | |
2173 | public: | |
2174 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
39f61e25 | 2175 | { wxPyRaiseNotImplemented(); } |
d14a1e28 | 2176 | virtual wxEvent* Clone() const { return NULL; } |
ae8162c8 RD |
2177 | bool IsOk() const { return false; } |
2178 | bool IsIconInstalled() const { return false; } | |
2179 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; } | |
2180 | bool RemoveIcon() { return false; } | |
2181 | bool PopupMenu(wxMenu *menu) { return false; } | |
d14a1e28 RD |
2182 | }; |
2183 | ||
2184 | enum { | |
2185 | wxEVT_TASKBAR_MOVE = 0, | |
2186 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
2187 | wxEVT_TASKBAR_LEFT_UP = 0, | |
2188 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
2189 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
2190 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
2191 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
2192 | }; | |
09c21d3b RD |
2193 | |
2194 | ||
2195 | #else | |
5e483524 RD |
2196 | // Otherwise make a class that can virtualize CreatePopupMenu |
2197 | class wxPyTaskBarIcon : public wxTaskBarIcon | |
2198 | { | |
32fe5131 | 2199 | DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon) |
5e483524 RD |
2200 | public: |
2201 | wxPyTaskBarIcon() : wxTaskBarIcon() | |
2202 | {} | |
2203 | ||
2204 | wxMenu* CreatePopupMenu() { | |
2205 | wxMenu *rval = NULL; | |
2206 | bool found; | |
5a446332 | 2207 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
5e483524 RD |
2208 | if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { |
2209 | PyObject* ro; | |
2210 | wxMenu* ptr; | |
2211 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2212 | if (ro) { | |
2213 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu"))) | |
2214 | rval = ptr; | |
2215 | Py_DECREF(ro); | |
2216 | } | |
2217 | } | |
2218 | wxPyEndBlockThreads(blocked); | |
2219 | if (! found) | |
2220 | rval = wxTaskBarIcon::CreatePopupMenu(); | |
2221 | return rval; | |
2222 | } | |
2223 | ||
2224 | PYPRIVATE; | |
2225 | }; | |
2226 | ||
2227 | IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); | |
09c21d3b | 2228 | |
d14a1e28 RD |
2229 | #endif |
2230 | ||
093d3ff1 | 2231 | static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){ |
74a57fcd | 2232 | self->RemoveIcon(); |
5e483524 | 2233 | delete self; |
74a57fcd | 2234 | } |
b2dc1044 RD |
2235 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
2236 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
2237 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
2238 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
2239 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
2240 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
093d3ff1 | 2241 | static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
d14a1e28 RD |
2242 | wxArrayString arr; |
2243 | self->GetFilenames(arr); | |
2244 | return wxArrayString2PyList_helper(arr); | |
2245 | } | |
093d3ff1 | 2246 | static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ |
d14a1e28 RD |
2247 | wxArrayString arr; |
2248 | self->GetPaths(arr); | |
2249 | return wxArrayString2PyList_helper(arr); | |
2250 | } | |
093d3ff1 | 2251 | static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ |
d14a1e28 RD |
2252 | return wxArrayInt2PyList_helper(self->GetSelections()); |
2253 | } | |
093d3ff1 | 2254 | static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){ |
d14a1e28 RD |
2255 | return new wxSingleChoiceDialog(parent, message, caption, |
2256 | choices, choices_array, NULL, style, pos); | |
2257 | } | |
d3b6e4ff | 2258 | static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr); |
d14a1e28 RD |
2259 | |
2260 | #include <wx/mdi.h> | |
2261 | ||
2262 | // C++ version of Python aware wxWindow | |
2263 | class wxPyWindow : public wxWindow | |
2264 | { | |
2265 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
2266 | public: | |
2267 | wxPyWindow() : wxWindow() {} | |
2268 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
2269 | const wxPoint& pos = wxDefaultPosition, | |
2270 | const wxSize& size = wxDefaultSize, | |
2271 | long style = 0, | |
2272 | const wxString& name = wxPyPanelNameStr) | |
2273 | : wxWindow(parent, id, pos, size, style, name) {} | |
2274 | ||
db3e571a | 2275 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
d14a1e28 | 2276 | |
976dbff5 RD |
2277 | bool DoEraseBackground(wxDC* dc) { |
2278 | #ifdef __WXMSW__ | |
2279 | return wxWindow::DoEraseBackground(dc->GetHDC()); | |
2280 | #else | |
2281 | dc->SetBackground(wxBrush(GetBackgroundColour())); | |
2282 | dc->Clear(); | |
2283 | return true; | |
2284 | #endif | |
2285 | } | |
2286 | ||
d14a1e28 RD |
2287 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); |
2288 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2289 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2290 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2291 | ||
2292 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2293 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2294 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2295 | ||
2296 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2297 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2298 | ||
2299 | DEC_PYCALLBACK__(InitDialog); | |
2300 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2301 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2302 | DEC_PYCALLBACK_BOOL_(Validate); | |
2303 | ||
2304 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2305 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2306 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2307 | ||
2308 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2309 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2310 | ||
db3e571a | 2311 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
db3e571a | 2312 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
4276dc52 | 2313 | |
51b83b37 RD |
2314 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2315 | ||
8d38bd1d RD |
2316 | DEC_PYCALLBACK_VOID_(OnInternalIdle); |
2317 | ||
d14a1e28 RD |
2318 | PYPRIVATE; |
2319 | }; | |
2320 | ||
2321 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
2322 | ||
2323 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
2324 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
2325 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
2326 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
2327 | ||
2328 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
2329 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
2330 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
2331 | ||
2332 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
2333 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
2334 | ||
2335 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
2336 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
2337 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
2338 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
2339 | ||
2340 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
2341 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
2342 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
2343 | ||
2344 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
2345 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
2346 | ||
db3e571a | 2347 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
db3e571a | 2348 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
51b83b37 RD |
2349 | |
2350 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground); | |
d14a1e28 | 2351 | |
8d38bd1d RD |
2352 | IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle); |
2353 | ||
d14a1e28 RD |
2354 | // C++ version of Python aware wxPanel |
2355 | class wxPyPanel : public wxPanel | |
2356 | { | |
2357 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
2358 | public: | |
2359 | wxPyPanel() : wxPanel() {} | |
2360 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
2361 | const wxPoint& pos = wxDefaultPosition, | |
2362 | const wxSize& size = wxDefaultSize, | |
2363 | long style = 0, | |
2364 | const wxString& name = wxPyPanelNameStr) | |
2365 | : wxPanel(parent, id, pos, size, style, name) {} | |
2366 | ||
db3e571a | 2367 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
976dbff5 RD |
2368 | bool DoEraseBackground(wxDC* dc) { |
2369 | #ifdef __WXMSW__ | |
2370 | return wxWindow::DoEraseBackground(dc->GetHDC()); | |
2371 | #else | |
2372 | dc->SetBackground(wxBrush(GetBackgroundColour())); | |
2373 | dc->Clear(); | |
2374 | return true; | |
2375 | #endif | |
2376 | } | |
db3e571a | 2377 | |
d14a1e28 RD |
2378 | |
2379 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2380 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2381 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2382 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2383 | ||
2384 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2385 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2386 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2387 | ||
2388 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2389 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2390 | ||
2391 | DEC_PYCALLBACK__(InitDialog); | |
2392 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2393 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2394 | DEC_PYCALLBACK_BOOL_(Validate); | |
2395 | ||
2396 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2397 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2398 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2399 | ||
2400 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2401 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2402 | ||
db3e571a | 2403 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
db3e571a | 2404 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
4276dc52 | 2405 | |
51b83b37 RD |
2406 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2407 | ||
8d38bd1d RD |
2408 | DEC_PYCALLBACK_VOID_(OnInternalIdle); |
2409 | ||
d14a1e28 RD |
2410 | PYPRIVATE; |
2411 | }; | |
2412 | ||
2413 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
2414 | ||
2415 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
2416 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
2417 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
2418 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
2419 | ||
2420 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
2421 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
2422 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
2423 | ||
2424 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
2425 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
2426 | ||
2427 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
2428 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
2429 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
2430 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
2431 | ||
2432 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
2433 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
2434 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
2435 | ||
2436 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
2437 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
2438 | ||
db3e571a | 2439 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
db3e571a | 2440 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
1cb4a8aa | 2441 | |
51b83b37 RD |
2442 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground); |
2443 | ||
8d38bd1d RD |
2444 | IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle); |
2445 | ||
1cb4a8aa RD |
2446 | // C++ version of Python aware wxScrolledWindow |
2447 | class wxPyScrolledWindow : public wxScrolledWindow | |
2448 | { | |
2449 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
2450 | public: | |
2451 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
2452 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
2453 | const wxPoint& pos = wxDefaultPosition, | |
2454 | const wxSize& size = wxDefaultSize, | |
2455 | long style = 0, | |
2456 | const wxString& name = wxPyPanelNameStr) | |
2457 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
2458 | ||
db3e571a | 2459 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
976dbff5 RD |
2460 | bool DoEraseBackground(wxDC* dc) { |
2461 | #ifdef __WXMSW__ | |
2462 | return wxWindow::DoEraseBackground(dc->GetHDC()); | |
2463 | #else | |
2464 | dc->SetBackground(wxBrush(GetBackgroundColour())); | |
2465 | dc->Clear(); | |
2466 | return true; | |
2467 | #endif | |
2468 | } | |
1cb4a8aa RD |
2469 | |
2470 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2471 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2472 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2473 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2474 | ||
2475 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2476 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2477 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2478 | ||
2479 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2480 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2481 | ||
2482 | DEC_PYCALLBACK__(InitDialog); | |
2483 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2484 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2485 | DEC_PYCALLBACK_BOOL_(Validate); | |
2486 | ||
2487 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2488 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2489 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2490 | ||
2491 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2492 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2493 | ||
db3e571a | 2494 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
db3e571a | 2495 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
1cb4a8aa | 2496 | |
51b83b37 RD |
2497 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2498 | ||
8d38bd1d RD |
2499 | DEC_PYCALLBACK_VOID_(OnInternalIdle); |
2500 | ||
1cb4a8aa RD |
2501 | PYPRIVATE; |
2502 | }; | |
2503 | ||
2504 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
2505 | ||
2506 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
2507 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
2508 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
2509 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
2510 | ||
2511 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
2512 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
2513 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
2514 | ||
2515 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
2516 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
2517 | ||
2518 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
2519 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
2520 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
2521 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
2522 | ||
2523 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
2524 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
2525 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
2526 | ||
2527 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
2528 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
2529 | ||
db3e571a | 2530 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
db3e571a RD |
2531 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
2532 | ||
51b83b37 | 2533 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground); |
d14a1e28 | 2534 | |
8d38bd1d RD |
2535 | IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle); |
2536 | ||
d14a1e28 RD |
2537 | |
2538 | #include "wx/wxPython/printfw.h" | |
2539 | ||
d14a1e28 | 2540 | |
33b885b9 RD |
2541 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
2542 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
b9d6a5f3 RD |
2543 | static PyObject *wxPrintData_GetPrivData(wxPrintData *self){ |
2544 | PyObject* data; | |
5a446332 | 2545 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
b9d6a5f3 RD |
2546 | data = PyString_FromStringAndSize(self->GetPrivData(), |
2547 | self->GetPrivDataLen()); | |
2548 | wxPyEndBlockThreads(blocked); | |
2549 | return data; | |
2550 | } | |
2551 | static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){ | |
2552 | if (! PyString_Check(data)) { | |
2553 | wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError, | |
2554 | "Expected string object")); | |
2555 | return /* NULL */ ; | |
2556 | } | |
2557 | ||
5a446332 | 2558 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
b9d6a5f3 RD |
2559 | self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data)); |
2560 | wxPyEndBlockThreads(blocked); | |
2561 | } | |
d14a1e28 RD |
2562 | |
2563 | ||
a68b8331 | 2564 | IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout); |
d14a1e28 RD |
2565 | |
2566 | // Since this one would be tough and ugly to do with the Macros... | |
2567 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
ae8162c8 | 2568 | bool hadErr = false; |
d14a1e28 RD |
2569 | bool found; |
2570 | ||
5a446332 | 2571 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
2572 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { |
2573 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2574 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
2575 | PyObject* val; | |
2576 | ||
2577 | val = PyTuple_GetItem(result, 0); | |
2578 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
ae8162c8 | 2579 | else hadErr = true; |
d14a1e28 RD |
2580 | |
2581 | val = PyTuple_GetItem(result, 1); | |
2582 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
ae8162c8 | 2583 | else hadErr = true; |
d14a1e28 RD |
2584 | |
2585 | val = PyTuple_GetItem(result, 2); | |
2586 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
ae8162c8 | 2587 | else hadErr = true; |
d14a1e28 RD |
2588 | |
2589 | val = PyTuple_GetItem(result, 3); | |
2590 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
ae8162c8 | 2591 | else hadErr = true; |
d14a1e28 RD |
2592 | } |
2593 | else | |
ae8162c8 | 2594 | hadErr = true; |
d14a1e28 RD |
2595 | |
2596 | if (hadErr) { | |
2597 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
2598 | PyErr_Print(); | |
2599 | } | |
2600 | Py_DECREF(result); | |
2601 | } | |
4f89f6a3 | 2602 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2603 | if (! found) |
2604 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
2605 | } | |
2606 | ||
d14a1e28 RD |
2607 | |
2608 | ||
2609 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
2610 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
2611 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
2612 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
2613 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
2614 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
2615 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
2616 | ||
2617 | ||
2618 | ||
2619 | ||
2620 | ||
ae8162c8 | 2621 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ |
c26d9ab4 | 2622 | bool CBNAME(wxPreviewCanvas* a, wxDC& b) |
d14a1e28 RD |
2623 | |
2624 | ||
ae8162c8 RD |
2625 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ |
2626 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
2627 | bool rval=false; \ | |
2628 | bool found; \ | |
32fe5131 | 2629 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); \ |
ae8162c8 RD |
2630 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
2631 | PyObject* win = wxPyMake_wxObject(a,false); \ | |
2632 | PyObject* dc = wxPyMake_wxObject(&b,false); \ | |
2633 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \ | |
2634 | Py_DECREF(win); \ | |
2635 | Py_DECREF(dc); \ | |
2636 | } \ | |
2637 | wxPyEndBlockThreads(blocked); \ | |
2638 | if (! found) \ | |
2639 | rval = PCLASS::CBNAME(a, b); \ | |
2640 | return rval; \ | |
c26d9ab4 | 2641 | } |
d14a1e28 RD |
2642 | |
2643 | ||
2644 | ||
2645 | ||
2646 | class wxPyPrintPreview : public wxPrintPreview | |
2647 | { | |
2648 | DECLARE_CLASS(wxPyPrintPreview) | |
2649 | public: | |
4276dc52 RD |
2650 | wxPyPrintPreview(wxPyPrintout* printout, |
2651 | wxPyPrintout* printoutForPrinting, | |
2652 | wxPrintDialogData* data=NULL) | |
2653 | : wxPrintPreview(printout, printoutForPrinting, data) | |
2654 | {} | |
d14a1e28 RD |
2655 | wxPyPrintPreview(wxPyPrintout* printout, |
2656 | wxPyPrintout* printoutForPrinting, | |
32fe5131 | 2657 | wxPrintData* data) |
d14a1e28 RD |
2658 | : wxPrintPreview(printout, printoutForPrinting, data) |
2659 | {} | |
2660 | ||
2661 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
2662 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
2663 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
2664 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
2665 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
2666 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
2667 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
2668 | ||
2669 | PYPRIVATE; | |
2670 | }; | |
2671 | ||
2672 | // Stupid renamed classes... Fix this in 2.5... | |
2673 | #if defined(__WXMSW__) | |
2674 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
2675 | #elif defined(__WXMAC__) | |
2676 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
2677 | #else | |
2678 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
2679 | #endif | |
2680 | ||
2681 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
2682 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
2683 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
2684 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
2685 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
2686 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
2687 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
2688 | ||
2689 | ||
2690 | class wxPyPreviewFrame : public wxPreviewFrame | |
2691 | { | |
32fe5131 | 2692 | DECLARE_CLASS(wxPyPreviewFrame) |
d14a1e28 RD |
2693 | public: |
2694 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
2695 | const wxString& title, | |
2696 | const wxPoint& pos = wxDefaultPosition, | |
2697 | const wxSize& size = wxDefaultSize, | |
2698 | long style = wxDEFAULT_FRAME_STYLE, | |
2699 | const wxString& name = wxPyFrameNameStr) | |
2700 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
2701 | {} | |
2702 | ||
2703 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
2704 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
2705 | ||
2706 | DEC_PYCALLBACK_VOID_(Initialize); | |
2707 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
2708 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
2709 | ||
2710 | PYPRIVATE; | |
2711 | }; | |
2712 | ||
2713 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
2714 | ||
2715 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
2716 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
2717 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
2718 | ||
2719 | ||
2720 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
2721 | { | |
32fe5131 | 2722 | DECLARE_CLASS(wxPyPreviewControlBar) |
d14a1e28 RD |
2723 | public: |
2724 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
2725 | long buttons, | |
2726 | wxWindow *parent, | |
2727 | const wxPoint& pos = wxDefaultPosition, | |
2728 | const wxSize& size = wxDefaultSize, | |
2729 | long style = 0, | |
2730 | const wxString& name = wxPyPanelNameStr) | |
2731 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
2732 | {} | |
2733 | ||
2734 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
2735 | ||
2736 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
2737 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
2738 | ||
2739 | PYPRIVATE; | |
2740 | }; | |
2741 | ||
2742 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
2743 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
2744 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
2745 | ||
2746 | #ifdef __cplusplus | |
2747 | extern "C" { | |
2748 | #endif | |
c32bde28 | 2749 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2750 | PyObject *resultobj = NULL; |
d14a1e28 | 2751 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 2752 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
2753 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
2754 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2755 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2756 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2757 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2758 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
2759 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2760 | wxPanel *result; | |
2761 | wxPoint temp3 ; | |
2762 | wxSize temp4 ; | |
ae8162c8 | 2763 | bool temp6 = false ; |
d14a1e28 | 2764 | PyObject * obj0 = 0 ; |
994141e6 | 2765 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2766 | PyObject * obj2 = 0 ; |
2767 | PyObject * obj3 = 0 ; | |
994141e6 | 2768 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
2769 | PyObject * obj5 = 0 ; |
2770 | char *kwnames[] = { | |
2771 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2772 | }; | |
2773 | ||
994141e6 | 2774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
2775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 2777 | if (obj1) { |
093d3ff1 | 2778 | { |
32fe5131 | 2779 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
2780 | if (SWIG_arg_fail(2)) SWIG_fail; |
2781 | } | |
994141e6 | 2782 | } |
d14a1e28 RD |
2783 | if (obj2) { |
2784 | { | |
2785 | arg3 = &temp3; | |
2786 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2787 | } | |
2788 | } | |
2789 | if (obj3) { | |
2790 | { | |
2791 | arg4 = &temp4; | |
2792 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2793 | } | |
2794 | } | |
994141e6 | 2795 | if (obj4) { |
093d3ff1 | 2796 | { |
32fe5131 | 2797 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
2798 | if (SWIG_arg_fail(5)) SWIG_fail; |
2799 | } | |
994141e6 | 2800 | } |
d14a1e28 RD |
2801 | if (obj5) { |
2802 | { | |
2803 | arg6 = wxString_in_helper(obj5); | |
2804 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 2805 | temp6 = true; |
d14a1e28 RD |
2806 | } |
2807 | } | |
2808 | { | |
e3b71cb8 | 2809 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
2810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2811 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2812 | ||
2813 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2814 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 2815 | } |
b0f7404b | 2816 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
2817 | { |
2818 | if (temp6) | |
2819 | delete arg6; | |
2820 | } | |
2821 | return resultobj; | |
2822 | fail: | |
2823 | { | |
2824 | if (temp6) | |
2825 | delete arg6; | |
2826 | } | |
2827 | return NULL; | |
2828 | } | |
2829 | ||
2830 | ||
c32bde28 | 2831 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2832 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2833 | wxPanel *result; |
2834 | char *kwnames[] = { | |
2835 | NULL | |
2836 | }; | |
2837 | ||
2838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
2839 | { | |
e3b71cb8 | 2840 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
2841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2842 | result = (wxPanel *)new wxPanel(); | |
2843 | ||
2844 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2845 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 2846 | } |
b0f7404b | 2847 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
2848 | return resultobj; |
2849 | fail: | |
2850 | return NULL; | |
2851 | } | |
2852 | ||
2853 | ||
c32bde28 | 2854 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2855 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2856 | wxPanel *arg1 = (wxPanel *) 0 ; |
2857 | wxWindow *arg2 = (wxWindow *) 0 ; | |
cfe5e918 | 2858 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
2859 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
2860 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2861 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2862 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2863 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2864 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
2865 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2866 | bool result; | |
2867 | wxPoint temp4 ; | |
2868 | wxSize temp5 ; | |
ae8162c8 | 2869 | bool temp7 = false ; |
d14a1e28 RD |
2870 | PyObject * obj0 = 0 ; |
2871 | PyObject * obj1 = 0 ; | |
994141e6 | 2872 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2873 | PyObject * obj3 = 0 ; |
2874 | PyObject * obj4 = 0 ; | |
994141e6 | 2875 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
2876 | PyObject * obj6 = 0 ; |
2877 | char *kwnames[] = { | |
2878 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2879 | }; | |
2880 | ||
cfe5e918 | 2881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
2882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2884 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2885 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 | 2886 | if (obj2) { |
093d3ff1 | 2887 | { |
32fe5131 | 2888 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
2889 | if (SWIG_arg_fail(3)) SWIG_fail; |
2890 | } | |
cfe5e918 | 2891 | } |
d14a1e28 RD |
2892 | if (obj3) { |
2893 | { | |
2894 | arg4 = &temp4; | |
2895 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2896 | } | |
2897 | } | |
2898 | if (obj4) { | |
2899 | { | |
2900 | arg5 = &temp5; | |
2901 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2902 | } | |
2903 | } | |
994141e6 | 2904 | if (obj5) { |
093d3ff1 | 2905 | { |
32fe5131 | 2906 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
2907 | if (SWIG_arg_fail(6)) SWIG_fail; |
2908 | } | |
994141e6 | 2909 | } |
d14a1e28 RD |
2910 | if (obj6) { |
2911 | { | |
2912 | arg7 = wxString_in_helper(obj6); | |
2913 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 2914 | temp7 = true; |
d14a1e28 RD |
2915 | } |
2916 | } | |
2917 | { | |
2918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2919 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2920 | ||
2921 | wxPyEndAllowThreads(__tstate); | |
2922 | if (PyErr_Occurred()) SWIG_fail; | |
2923 | } | |
4f89f6a3 RD |
2924 | { |
2925 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2926 | } | |
d14a1e28 RD |
2927 | { |
2928 | if (temp7) | |
2929 | delete arg7; | |
2930 | } | |
2931 | return resultobj; | |
2932 | fail: | |
2933 | { | |
2934 | if (temp7) | |
2935 | delete arg7; | |
2936 | } | |
2937 | return NULL; | |
2938 | } | |
2939 | ||
2940 | ||
c32bde28 | 2941 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2942 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2943 | wxPanel *arg1 = (wxPanel *) 0 ; |
2944 | PyObject * obj0 = 0 ; | |
2945 | char *kwnames[] = { | |
2946 | (char *) "self", NULL | |
2947 | }; | |
2948 | ||
2949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2950 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2951 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2952 | { |
2953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2954 | (arg1)->InitDialog(); | |
2955 | ||
2956 | wxPyEndAllowThreads(__tstate); | |
2957 | if (PyErr_Occurred()) SWIG_fail; | |
2958 | } | |
2959 | Py_INCREF(Py_None); resultobj = Py_None; | |
2960 | return resultobj; | |
2961 | fail: | |
2962 | return NULL; | |
2963 | } | |
2964 | ||
2965 | ||
5cbf236d | 2966 | static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2967 | PyObject *resultobj = NULL; |
5cbf236d RD |
2968 | wxPanel *arg1 = (wxPanel *) 0 ; |
2969 | PyObject * obj0 = 0 ; | |
2970 | char *kwnames[] = { | |
2971 | (char *) "self", NULL | |
2972 | }; | |
2973 | ||
2974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
2977 | { |
2978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2979 | (arg1)->SetFocus(); | |
2980 | ||
2981 | wxPyEndAllowThreads(__tstate); | |
2982 | if (PyErr_Occurred()) SWIG_fail; | |
2983 | } | |
2984 | Py_INCREF(Py_None); resultobj = Py_None; | |
2985 | return resultobj; | |
2986 | fail: | |
2987 | return NULL; | |
2988 | } | |
2989 | ||
2990 | ||
2991 | static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 2992 | PyObject *resultobj = NULL; |
5cbf236d RD |
2993 | wxPanel *arg1 = (wxPanel *) 0 ; |
2994 | PyObject * obj0 = 0 ; | |
2995 | char *kwnames[] = { | |
2996 | (char *) "self", NULL | |
2997 | }; | |
2998 | ||
2999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3000 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
3001 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
3002 | { |
3003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004 | (arg1)->SetFocusIgnoringChildren(); | |
3005 | ||
3006 | wxPyEndAllowThreads(__tstate); | |
3007 | if (PyErr_Occurred()) SWIG_fail; | |
3008 | } | |
3009 | Py_INCREF(Py_None); resultobj = Py_None; | |
3010 | return resultobj; | |
3011 | fail: | |
3012 | return NULL; | |
3013 | } | |
3014 | ||
3015 | ||
c32bde28 | 3016 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3017 | PyObject *resultobj = NULL; |
093d3ff1 | 3018 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
3019 | wxVisualAttributes result; |
3020 | PyObject * obj0 = 0 ; | |
3021 | char *kwnames[] = { | |
3022 | (char *) "variant", NULL | |
3023 | }; | |
3024 | ||
3025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
3026 | if (obj0) { | |
093d3ff1 | 3027 | { |
32fe5131 | 3028 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
3029 | if (SWIG_arg_fail(1)) SWIG_fail; |
3030 | } | |
22bfe96c RD |
3031 | } |
3032 | { | |
e3b71cb8 | 3033 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 3034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 3035 | result = wxPanel::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
3036 | |
3037 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3038 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
3039 | } |
3040 | { | |
3041 | wxVisualAttributes * resultptr; | |
32fe5131 | 3042 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
3043 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
3044 | } | |
3045 | return resultobj; | |
3046 | fail: | |
3047 | return NULL; | |
3048 | } | |
3049 | ||
3050 | ||
c32bde28 | 3051 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3052 | PyObject *obj; |
3053 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3054 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
3055 | Py_INCREF(obj); | |
3056 | return Py_BuildValue((char *)""); | |
3057 | } | |
c32bde28 | 3058 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3059 | PyObject *resultobj = NULL; |
d14a1e28 | 3060 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 3061 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
3062 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
3063 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3064 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3065 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3066 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
3067 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
3068 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
3069 | wxScrolledWindow *result; | |
3070 | wxPoint temp3 ; | |
3071 | wxSize temp4 ; | |
ae8162c8 | 3072 | bool temp6 = false ; |
d14a1e28 | 3073 | PyObject * obj0 = 0 ; |
994141e6 | 3074 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3075 | PyObject * obj2 = 0 ; |
3076 | PyObject * obj3 = 0 ; | |
994141e6 | 3077 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
3078 | PyObject * obj5 = 0 ; |
3079 | char *kwnames[] = { | |
3080 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3081 | }; | |
3082 | ||
994141e6 | 3083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
3084 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
3085 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 3086 | if (obj1) { |
093d3ff1 | 3087 | { |
32fe5131 | 3088 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3089 | if (SWIG_arg_fail(2)) SWIG_fail; |
3090 | } | |
994141e6 | 3091 | } |
d14a1e28 RD |
3092 | if (obj2) { |
3093 | { | |
3094 | arg3 = &temp3; | |
3095 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3096 | } | |
3097 | } | |
3098 | if (obj3) { | |
3099 | { | |
3100 | arg4 = &temp4; | |
3101 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3102 | } | |
3103 | } | |
994141e6 | 3104 | if (obj4) { |
093d3ff1 | 3105 | { |
32fe5131 | 3106 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
3107 | if (SWIG_arg_fail(5)) SWIG_fail; |
3108 | } | |
994141e6 | 3109 | } |
d14a1e28 RD |
3110 | if (obj5) { |
3111 | { | |
3112 | arg6 = wxString_in_helper(obj5); | |
3113 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 3114 | temp6 = true; |
d14a1e28 RD |
3115 | } |
3116 | } | |
3117 | { | |
e3b71cb8 | 3118 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
3119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3120 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
3121 | ||
3122 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3123 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 3124 | } |
b0f7404b | 3125 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
3126 | { |
3127 | if (temp6) | |
3128 | delete arg6; | |
3129 | } | |
3130 | return resultobj; | |
3131 | fail: | |
3132 | { | |
3133 | if (temp6) | |
3134 | delete arg6; | |
3135 | } | |
3136 | return NULL; | |
3137 | } | |
3138 | ||
3139 | ||
c32bde28 | 3140 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3141 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3142 | wxScrolledWindow *result; |
3143 | char *kwnames[] = { | |
3144 | NULL | |
3145 | }; | |
3146 | ||
3147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
3148 | { | |
e3b71cb8 | 3149 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
3150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3151 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
3152 | ||
3153 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3154 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 3155 | } |
b0f7404b | 3156 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
3157 | return resultobj; |
3158 | fail: | |
3159 | return NULL; | |
3160 | } | |
3161 | ||
3162 | ||
c32bde28 | 3163 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3164 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3165 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3166 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 3167 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
3168 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
3169 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3170 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3171 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3172 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
3173 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
3174 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3175 | bool result; | |
3176 | wxPoint temp4 ; | |
3177 | wxSize temp5 ; | |
ae8162c8 | 3178 | bool temp7 = false ; |
d14a1e28 RD |
3179 | PyObject * obj0 = 0 ; |
3180 | PyObject * obj1 = 0 ; | |
994141e6 | 3181 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3182 | PyObject * obj3 = 0 ; |
3183 | PyObject * obj4 = 0 ; | |
994141e6 | 3184 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3185 | PyObject * obj6 = 0 ; |
3186 | char *kwnames[] = { | |
3187 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3188 | }; | |
3189 | ||
994141e6 | 3190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
3191 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3192 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3193 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3194 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 3195 | if (obj2) { |
093d3ff1 | 3196 | { |
32fe5131 | 3197 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3198 | if (SWIG_arg_fail(3)) SWIG_fail; |
3199 | } | |
994141e6 | 3200 | } |
d14a1e28 RD |
3201 | if (obj3) { |
3202 | { | |
3203 | arg4 = &temp4; | |
3204 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3205 | } | |
3206 | } | |
3207 | if (obj4) { | |
3208 | { | |
3209 | arg5 = &temp5; | |
3210 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3211 | } | |
3212 | } | |
994141e6 | 3213 | if (obj5) { |
093d3ff1 | 3214 | { |
32fe5131 | 3215 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
3216 | if (SWIG_arg_fail(6)) SWIG_fail; |
3217 | } | |
994141e6 | 3218 | } |
d14a1e28 RD |
3219 | if (obj6) { |
3220 | { | |
3221 | arg7 = wxString_in_helper(obj6); | |
3222 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 3223 | temp7 = true; |
d14a1e28 RD |
3224 | } |
3225 | } | |
3226 | { | |
3227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3228 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3229 | ||
3230 | wxPyEndAllowThreads(__tstate); | |
3231 | if (PyErr_Occurred()) SWIG_fail; | |
3232 | } | |
4f89f6a3 RD |
3233 | { |
3234 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3235 | } | |
d14a1e28 RD |
3236 | { |
3237 | if (temp7) | |
3238 | delete arg7; | |
3239 | } | |
3240 | return resultobj; | |
3241 | fail: | |
3242 | { | |
3243 | if (temp7) | |
3244 | delete arg7; | |
3245 | } | |
3246 | return NULL; | |
3247 | } | |
3248 | ||
3249 | ||
c32bde28 | 3250 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3251 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3252 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3253 | int arg2 ; | |
3254 | int arg3 ; | |
3255 | int arg4 ; | |
3256 | int arg5 ; | |
3257 | int arg6 = (int) 0 ; | |
3258 | int arg7 = (int) 0 ; | |
ae8162c8 | 3259 | bool arg8 = (bool) false ; |
d14a1e28 | 3260 | PyObject * obj0 = 0 ; |
994141e6 RD |
3261 | PyObject * obj1 = 0 ; |
3262 | PyObject * obj2 = 0 ; | |
3263 | PyObject * obj3 = 0 ; | |
3264 | PyObject * obj4 = 0 ; | |
3265 | PyObject * obj5 = 0 ; | |
3266 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
3267 | PyObject * obj7 = 0 ; |
3268 | char *kwnames[] = { | |
3269 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
3270 | }; | |
3271 | ||
994141e6 | 3272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
3273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3275 | { | |
32fe5131 | 3276 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3277 | if (SWIG_arg_fail(2)) SWIG_fail; |
3278 | } | |
3279 | { | |
32fe5131 | 3280 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3281 | if (SWIG_arg_fail(3)) SWIG_fail; |
3282 | } | |
3283 | { | |
32fe5131 | 3284 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
3285 | if (SWIG_arg_fail(4)) SWIG_fail; |
3286 | } | |
3287 | { | |
32fe5131 | 3288 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
3289 | if (SWIG_arg_fail(5)) SWIG_fail; |
3290 | } | |
994141e6 | 3291 | if (obj5) { |
093d3ff1 | 3292 | { |
32fe5131 | 3293 | arg6 = static_cast<int >(SWIG_As_int(obj5)); |
093d3ff1 RD |
3294 | if (SWIG_arg_fail(6)) SWIG_fail; |
3295 | } | |
994141e6 RD |
3296 | } |
3297 | if (obj6) { | |
093d3ff1 | 3298 | { |
32fe5131 | 3299 | arg7 = static_cast<int >(SWIG_As_int(obj6)); |
093d3ff1 RD |
3300 | if (SWIG_arg_fail(7)) SWIG_fail; |
3301 | } | |
994141e6 | 3302 | } |
d14a1e28 | 3303 | if (obj7) { |
093d3ff1 | 3304 | { |
32fe5131 | 3305 | arg8 = static_cast<bool >(SWIG_As_bool(obj7)); |
093d3ff1 RD |
3306 | if (SWIG_arg_fail(8)) SWIG_fail; |
3307 | } | |
d14a1e28 RD |
3308 | } |
3309 | { | |
3310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3311 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
3312 | ||
3313 | wxPyEndAllowThreads(__tstate); | |
3314 | if (PyErr_Occurred()) SWIG_fail; | |
3315 | } | |
3316 | Py_INCREF(Py_None); resultobj = Py_None; | |
3317 | return resultobj; | |
3318 | fail: | |
3319 | return NULL; | |
3320 | } | |
3321 | ||
3322 | ||
c32bde28 | 3323 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3324 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3325 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3326 | int arg2 ; | |
3327 | int arg3 ; | |
3328 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3329 | PyObject * obj1 = 0 ; |
3330 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3331 | char *kwnames[] = { |
3332 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3333 | }; | |
3334 | ||
994141e6 | 3335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3336 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3337 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3338 | { | |
32fe5131 | 3339 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3340 | if (SWIG_arg_fail(2)) SWIG_fail; |
3341 | } | |
3342 | { | |
32fe5131 | 3343 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3344 | if (SWIG_arg_fail(3)) SWIG_fail; |
3345 | } | |
d14a1e28 RD |
3346 | { |
3347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3348 | (arg1)->Scroll(arg2,arg3); | |
3349 | ||
3350 | wxPyEndAllowThreads(__tstate); | |
3351 | if (PyErr_Occurred()) SWIG_fail; | |
3352 | } | |
3353 | Py_INCREF(Py_None); resultobj = Py_None; | |
3354 | return resultobj; | |
3355 | fail: | |
3356 | return NULL; | |
3357 | } | |
3358 | ||
3359 | ||
c32bde28 | 3360 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3361 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3362 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3363 | int arg2 ; | |
3364 | int result; | |
3365 | PyObject * obj0 = 0 ; | |
994141e6 | 3366 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3367 | char *kwnames[] = { |
3368 | (char *) "self",(char *) "orient", NULL | |
3369 | }; | |
3370 | ||
994141e6 | 3371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3372 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3373 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3374 | { | |
32fe5131 | 3375 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3376 | if (SWIG_arg_fail(2)) SWIG_fail; |
3377 | } | |
d14a1e28 RD |
3378 | { |
3379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3380 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
3381 | ||
3382 | wxPyEndAllowThreads(__tstate); | |
3383 | if (PyErr_Occurred()) SWIG_fail; | |
3384 | } | |
093d3ff1 | 3385 | { |
32fe5131 | 3386 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 3387 | } |
d14a1e28 RD |
3388 | return resultobj; |
3389 | fail: | |
3390 | return NULL; | |
3391 | } | |
3392 | ||
3393 | ||
c32bde28 | 3394 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3395 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3396 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3397 | int arg2 ; | |
3398 | int arg3 ; | |
3399 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3400 | PyObject * obj1 = 0 ; |
3401 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3402 | char *kwnames[] = { |
3403 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
3404 | }; | |
3405 | ||
994141e6 | 3406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3407 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3408 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3409 | { | |
32fe5131 | 3410 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3411 | if (SWIG_arg_fail(2)) SWIG_fail; |
3412 | } | |
3413 | { | |
32fe5131 | 3414 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3415 | if (SWIG_arg_fail(3)) SWIG_fail; |
3416 | } | |
d14a1e28 RD |
3417 | { |
3418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3419 | (arg1)->SetScrollPageSize(arg2,arg3); | |
3420 | ||
3421 | wxPyEndAllowThreads(__tstate); | |
3422 | if (PyErr_Occurred()) SWIG_fail; | |
3423 | } | |
3424 | Py_INCREF(Py_None); resultobj = Py_None; | |
3425 | return resultobj; | |
3426 | fail: | |
3427 | return NULL; | |
3428 | } | |
3429 | ||
3430 | ||
c32bde28 | 3431 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3432 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3433 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3434 | int arg2 ; | |
3435 | int arg3 ; | |
3436 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3437 | PyObject * obj1 = 0 ; |
3438 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3439 | char *kwnames[] = { |
3440 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
3441 | }; | |
3442 | ||
994141e6 | 3443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3446 | { | |
32fe5131 | 3447 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3448 | if (SWIG_arg_fail(2)) SWIG_fail; |
3449 | } | |
3450 | { | |
32fe5131 | 3451 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3452 | if (SWIG_arg_fail(3)) SWIG_fail; |
3453 | } | |
d14a1e28 RD |
3454 | { |
3455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3456 | (arg1)->SetScrollRate(arg2,arg3); | |
3457 | ||
3458 | wxPyEndAllowThreads(__tstate); | |
3459 | if (PyErr_Occurred()) SWIG_fail; | |
3460 | } | |
3461 | Py_INCREF(Py_None); resultobj = Py_None; | |
3462 | return resultobj; | |
3463 | fail: | |
3464 | return NULL; | |
3465 | } | |
3466 | ||
3467 | ||
c32bde28 | 3468 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3469 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3470 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3471 | int *arg2 = (int *) 0 ; | |
3472 | int *arg3 = (int *) 0 ; | |
3473 | int temp2 ; | |
c32bde28 | 3474 | int res2 = 0 ; |
d14a1e28 | 3475 | int temp3 ; |
c32bde28 | 3476 | int res3 = 0 ; |
d14a1e28 RD |
3477 | PyObject * obj0 = 0 ; |
3478 | char *kwnames[] = { | |
3479 | (char *) "self", NULL | |
3480 | }; | |
3481 | ||
c32bde28 RD |
3482 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3483 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 3484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
3485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3487 | { |
3488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3489 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
3490 | ||
3491 | wxPyEndAllowThreads(__tstate); | |
3492 | if (PyErr_Occurred()) SWIG_fail; | |
3493 | } | |
3494 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
3495 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3496 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3497 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3498 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
3499 | return resultobj; |
3500 | fail: | |
3501 | return NULL; | |
3502 | } | |
3503 | ||
3504 | ||
c32bde28 | 3505 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3506 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3507 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3508 | bool arg2 ; | |
3509 | bool arg3 ; | |
3510 | PyObject * obj0 = 0 ; | |
3511 | PyObject * obj1 = 0 ; | |
3512 | PyObject * obj2 = 0 ; | |
3513 | char *kwnames[] = { | |
3514 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
3515 | }; | |
3516 | ||
3517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
3518 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3519 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3520 | { | |
32fe5131 | 3521 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
3522 | if (SWIG_arg_fail(2)) SWIG_fail; |
3523 | } | |
3524 | { | |
32fe5131 | 3525 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
3526 | if (SWIG_arg_fail(3)) SWIG_fail; |
3527 | } | |
d14a1e28 RD |
3528 | { |
3529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3530 | (arg1)->EnableScrolling(arg2,arg3); | |
3531 | ||
3532 | wxPyEndAllowThreads(__tstate); | |
3533 | if (PyErr_Occurred()) SWIG_fail; | |
3534 | } | |
3535 | Py_INCREF(Py_None); resultobj = Py_None; | |
3536 | return resultobj; | |
3537 | fail: | |
3538 | return NULL; | |
3539 | } | |
3540 | ||
3541 | ||
c32bde28 | 3542 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3543 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3544 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3545 | int *arg2 = (int *) 0 ; | |
3546 | int *arg3 = (int *) 0 ; | |
3547 | int temp2 ; | |
c32bde28 | 3548 | int res2 = 0 ; |
d14a1e28 | 3549 | int temp3 ; |
c32bde28 | 3550 | int res3 = 0 ; |
d14a1e28 RD |
3551 | PyObject * obj0 = 0 ; |
3552 | char *kwnames[] = { | |
3553 | (char *) "self", NULL | |
3554 | }; | |
3555 | ||
c32bde28 RD |
3556 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3557 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 3558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
3559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3561 | { |
3562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3563 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
3564 | ||
3565 | wxPyEndAllowThreads(__tstate); | |
3566 | if (PyErr_Occurred()) SWIG_fail; | |
3567 | } | |
3568 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
3569 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3570 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3571 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3572 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
3573 | return resultobj; |
3574 | fail: | |
3575 | return NULL; | |
3576 | } | |
3577 | ||
3578 | ||
c32bde28 | 3579 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3580 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3581 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3582 | double arg2 ; | |
3583 | double arg3 ; | |
3584 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3585 | PyObject * obj1 = 0 ; |
3586 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3587 | char *kwnames[] = { |
3588 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
3589 | }; | |
3590 | ||
994141e6 | 3591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3592 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3593 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3594 | { | |
32fe5131 | 3595 | arg2 = static_cast<double >(SWIG_As_double(obj1)); |
093d3ff1 RD |
3596 | if (SWIG_arg_fail(2)) SWIG_fail; |
3597 | } | |
3598 | { | |
32fe5131 | 3599 | arg3 = static_cast<double >(SWIG_As_double(obj2)); |
093d3ff1 RD |
3600 | if (SWIG_arg_fail(3)) SWIG_fail; |
3601 | } | |
d14a1e28 RD |
3602 | { |
3603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3604 | (arg1)->SetScale(arg2,arg3); | |
3605 | ||
3606 | wxPyEndAllowThreads(__tstate); | |
3607 | if (PyErr_Occurred()) SWIG_fail; | |
3608 | } | |
3609 | Py_INCREF(Py_None); resultobj = Py_None; | |
3610 | return resultobj; | |
3611 | fail: | |
3612 | return NULL; | |
3613 | } | |
3614 | ||
3615 | ||
c32bde28 | 3616 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3617 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3618 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3619 | double result; | |
3620 | PyObject * obj0 = 0 ; | |
3621 | char *kwnames[] = { | |
3622 | (char *) "self", NULL | |
3623 | }; | |
3624 | ||
3625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3626 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3627 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3628 | { |
3629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3630 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
3631 | ||
3632 | wxPyEndAllowThreads(__tstate); | |
3633 | if (PyErr_Occurred()) SWIG_fail; | |
3634 | } | |
093d3ff1 | 3635 | { |
32fe5131 | 3636 | resultobj = SWIG_From_double(static_cast<double >(result)); |
093d3ff1 | 3637 | } |
d14a1e28 RD |
3638 | return resultobj; |
3639 | fail: | |
3640 | return NULL; | |
3641 | } | |
3642 | ||
3643 | ||
c32bde28 | 3644 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3645 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3646 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3647 | double result; | |
3648 | PyObject * obj0 = 0 ; | |
3649 | char *kwnames[] = { | |
3650 | (char *) "self", NULL | |
3651 | }; | |
3652 | ||
3653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3654 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3655 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3656 | { |
3657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3658 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
3659 | ||
3660 | wxPyEndAllowThreads(__tstate); | |
3661 | if (PyErr_Occurred()) SWIG_fail; | |
3662 | } | |
093d3ff1 | 3663 | { |
32fe5131 | 3664 | resultobj = SWIG_From_double(static_cast<double >(result)); |
093d3ff1 | 3665 | } |
d14a1e28 RD |
3666 | return resultobj; |
3667 | fail: | |
3668 | return NULL; | |
3669 | } | |
3670 | ||
3671 | ||
c32bde28 | 3672 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 3673 | PyObject *resultobj = NULL; |
d14a1e28 | 3674 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
322913ce RD |
3675 | wxPoint *arg2 = 0 ; |
3676 | wxPoint result; | |
3677 | wxPoint temp2 ; | |
d14a1e28 | 3678 | PyObject * obj0 = 0 ; |
322913ce | 3679 | PyObject * obj1 = 0 ; |
d14a1e28 | 3680 | |
322913ce | 3681 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3682 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3683 | if (SWIG_arg_fail(1)) SWIG_fail; | |
322913ce RD |
3684 | { |
3685 | arg2 = &temp2; | |
3686 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3687 | } | |
d14a1e28 RD |
3688 | { |
3689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 3690 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
3691 | |
3692 | wxPyEndAllowThreads(__tstate); | |
3693 | if (PyErr_Occurred()) SWIG_fail; | |
3694 | } | |
d14a1e28 | 3695 | { |
322913ce | 3696 | wxPoint * resultptr; |
32fe5131 | 3697 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 3698 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3699 | } |
3700 | return resultobj; | |
3701 | fail: | |
3702 | return NULL; | |
3703 | } | |
3704 | ||
3705 | ||
c32bde28 | 3706 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 3707 | PyObject *resultobj = NULL; |
d14a1e28 | 3708 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
322913ce RD |
3709 | int arg2 ; |
3710 | int arg3 ; | |
3711 | int *arg4 = (int *) 0 ; | |
3712 | int *arg5 = (int *) 0 ; | |
3713 | int temp4 ; | |
c32bde28 | 3714 | int res4 = 0 ; |
322913ce | 3715 | int temp5 ; |
c32bde28 | 3716 | int res5 = 0 ; |
d14a1e28 | 3717 | PyObject * obj0 = 0 ; |
994141e6 RD |
3718 | PyObject * obj1 = 0 ; |
3719 | PyObject * obj2 = 0 ; | |
d14a1e28 | 3720 | |
c32bde28 RD |
3721 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3722 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
994141e6 | 3723 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3724 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3725 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3726 | { | |
32fe5131 | 3727 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3728 | if (SWIG_arg_fail(2)) SWIG_fail; |
3729 | } | |
3730 | { | |
32fe5131 | 3731 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3732 | if (SWIG_arg_fail(3)) SWIG_fail; |
3733 | } | |
d14a1e28 RD |
3734 | { |
3735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 3736 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
3737 | |
3738 | wxPyEndAllowThreads(__tstate); | |
3739 | if (PyErr_Occurred()) SWIG_fail; | |
3740 | } | |
322913ce | 3741 | Py_INCREF(Py_None); resultobj = Py_None; |
c32bde28 RD |
3742 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3743 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3744 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3745 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
3746 | return resultobj; |
3747 | fail: | |
3748 | return NULL; | |
3749 | } | |
3750 | ||
3751 | ||
3752 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
3753 | int argc; | |
3754 | PyObject *argv[4]; | |
3755 | int ii; | |
3756 | ||
3757 | argc = PyObject_Length(args); | |
3758 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3759 | argv[ii] = PyTuple_GetItem(args,ii); | |
3760 | } | |
3761 | if (argc == 2) { | |
3762 | int _v; | |
3763 | { | |
3764 | void *ptr; | |
15afbcd0 | 3765 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
3766 | _v = 0; |
3767 | PyErr_Clear(); | |
3768 | } else { | |
3769 | _v = 1; | |
3770 | } | |
3771 | } | |
3772 | if (_v) { | |
3773 | { | |
3774 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3775 | } | |
3776 | if (_v) { | |
322913ce | 3777 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
3778 | } |
3779 | } | |
3780 | } | |
3781 | if (argc == 3) { | |
3782 | int _v; | |
3783 | { | |
3784 | void *ptr; | |
15afbcd0 | 3785 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
3786 | _v = 0; |
3787 | PyErr_Clear(); | |
3788 | } else { | |
3789 | _v = 1; | |
3790 | } | |
3791 | } | |
3792 | if (_v) { | |
c32bde28 | 3793 | _v = SWIG_Check_int(argv[1]); |
d14a1e28 | 3794 | if (_v) { |
c32bde28 | 3795 | _v = SWIG_Check_int(argv[2]); |
d14a1e28 | 3796 | if (_v) { |
322913ce | 3797 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
3798 | } |
3799 | } | |
3800 | } | |
3801 | } | |
3802 | ||
093d3ff1 | 3803 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); |
d14a1e28 RD |
3804 | return NULL; |
3805 | } | |
3806 | ||
3807 | ||
c32bde28 | 3808 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 3809 | PyObject *resultobj = NULL; |
d14a1e28 | 3810 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
322913ce RD |
3811 | wxPoint *arg2 = 0 ; |
3812 | wxPoint result; | |
3813 | wxPoint temp2 ; | |
d14a1e28 | 3814 | PyObject * obj0 = 0 ; |
322913ce | 3815 | PyObject * obj1 = 0 ; |
d14a1e28 | 3816 | |
322913ce | 3817 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3818 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3819 | if (SWIG_arg_fail(1)) SWIG_fail; | |
322913ce RD |
3820 | { |
3821 | arg2 = &temp2; | |
3822 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3823 | } | |
d14a1e28 RD |
3824 | { |
3825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 3826 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
3827 | |
3828 | wxPyEndAllowThreads(__tstate); | |
3829 | if (PyErr_Occurred()) SWIG_fail; | |
3830 | } | |
d14a1e28 | 3831 | { |
322913ce | 3832 | wxPoint * resultptr; |
32fe5131 | 3833 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 3834 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3835 | } |
3836 | return resultobj; | |
3837 | fail: | |
3838 | return NULL; | |
3839 | } | |
3840 | ||
3841 | ||
c32bde28 | 3842 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 3843 | PyObject *resultobj = NULL; |
d14a1e28 | 3844 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
322913ce RD |
3845 | int arg2 ; |
3846 | int arg3 ; | |
3847 | int *arg4 = (int *) 0 ; | |
3848 | int *arg5 = (int *) 0 ; | |
3849 | int temp4 ; | |
c32bde28 | 3850 | int res4 = 0 ; |
322913ce | 3851 | int temp5 ; |
c32bde28 | 3852 | int res5 = 0 ; |
d14a1e28 | 3853 | PyObject * obj0 = 0 ; |
994141e6 RD |
3854 | PyObject * obj1 = 0 ; |
3855 | PyObject * obj2 = 0 ; | |
d14a1e28 | 3856 | |
c32bde28 RD |
3857 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3858 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
994141e6 | 3859 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3860 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3861 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3862 | { | |
32fe5131 | 3863 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3864 | if (SWIG_arg_fail(2)) SWIG_fail; |
3865 | } | |
3866 | { | |
32fe5131 | 3867 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3868 | if (SWIG_arg_fail(3)) SWIG_fail; |
3869 | } | |
d14a1e28 RD |
3870 | { |
3871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 3872 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
3873 | |
3874 | wxPyEndAllowThreads(__tstate); | |
3875 | if (PyErr_Occurred()) SWIG_fail; | |
3876 | } | |
322913ce | 3877 | Py_INCREF(Py_None); resultobj = Py_None; |
c32bde28 RD |
3878 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3879 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3880 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3881 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
3882 | return resultobj; |
3883 | fail: | |
3884 | return NULL; | |
3885 | } | |
3886 | ||
3887 | ||
3888 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
3889 | int argc; | |
3890 | PyObject *argv[4]; | |
3891 | int ii; | |
3892 | ||
3893 | argc = PyObject_Length(args); | |
3894 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3895 | argv[ii] = PyTuple_GetItem(args,ii); | |
3896 | } | |
3897 | if (argc == 2) { | |
3898 | int _v; | |
3899 | { | |
3900 | void *ptr; | |
15afbcd0 | 3901 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
3902 | _v = 0; |
3903 | PyErr_Clear(); | |
3904 | } else { | |
3905 | _v = 1; | |
3906 | } | |
3907 | } | |
3908 | if (_v) { | |
3909 | { | |
3910 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3911 | } | |
3912 | if (_v) { | |
322913ce | 3913 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
3914 | } |
3915 | } | |
3916 | } | |
3917 | if (argc == 3) { | |
3918 | int _v; | |
3919 | { | |
3920 | void *ptr; | |
15afbcd0 | 3921 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
3922 | _v = 0; |
3923 | PyErr_Clear(); | |
3924 | } else { | |
3925 | _v = 1; | |
3926 | } | |
3927 | } | |
3928 | if (_v) { | |
c32bde28 | 3929 | _v = SWIG_Check_int(argv[1]); |
d14a1e28 | 3930 | if (_v) { |
c32bde28 | 3931 | _v = SWIG_Check_int(argv[2]); |
d14a1e28 | 3932 | if (_v) { |
322913ce | 3933 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
3934 | } |
3935 | } | |
3936 | } | |
3937 | } | |
3938 | ||
093d3ff1 | 3939 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); |
d14a1e28 RD |
3940 | return NULL; |
3941 | } | |
3942 | ||
3943 | ||
c32bde28 | 3944 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3945 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3946 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3947 | PyObject * obj0 = 0 ; | |
3948 | char *kwnames[] = { | |
3949 | (char *) "self", NULL | |
3950 | }; | |
3951 | ||
3952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3953 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3954 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3955 | { |
3956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3957 | (arg1)->AdjustScrollbars(); | |
3958 | ||
3959 | wxPyEndAllowThreads(__tstate); | |
3960 | if (PyErr_Occurred()) SWIG_fail; | |
3961 | } | |
3962 | Py_INCREF(Py_None); resultobj = Py_None; | |
3963 | return resultobj; | |
3964 | fail: | |
3965 | return NULL; | |
3966 | } | |
3967 | ||
3968 | ||
c32bde28 | 3969 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3970 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3971 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3972 | wxScrollWinEvent *arg2 = 0 ; | |
3973 | int result; | |
3974 | PyObject * obj0 = 0 ; | |
3975 | PyObject * obj1 = 0 ; | |
3976 | char *kwnames[] = { | |
3977 | (char *) "self",(char *) "event", NULL | |
3978 | }; | |
3979 | ||
3980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3981 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3982 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3983 | { | |
3984 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); | |
3985 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3986 | if (arg2 == NULL) { | |
3987 | SWIG_null_ref("wxScrollWinEvent"); | |
3988 | } | |
3989 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
3990 | } |
3991 | { | |
3992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3993 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
3994 | ||
3995 | wxPyEndAllowThreads(__tstate); | |
3996 | if (PyErr_Occurred()) SWIG_fail; | |
3997 | } | |
093d3ff1 | 3998 | { |
32fe5131 | 3999 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 4000 | } |
d14a1e28 RD |
4001 | return resultobj; |
4002 | fail: | |
4003 | return NULL; | |
4004 | } | |
4005 | ||
4006 | ||
c32bde28 | 4007 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4008 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4009 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
4010 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4011 | PyObject * obj0 = 0 ; | |
4012 | PyObject * obj1 = 0 ; | |
4013 | char *kwnames[] = { | |
4014 | (char *) "self",(char *) "target", NULL | |
4015 | }; | |
4016 | ||
4017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4018 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
4019 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4020 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4021 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4022 | { |
4023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4024 | (arg1)->SetTargetWindow(arg2); | |
4025 | ||
4026 | wxPyEndAllowThreads(__tstate); | |
4027 | if (PyErr_Occurred()) SWIG_fail; | |
4028 | } | |
4029 | Py_INCREF(Py_None); resultobj = Py_None; | |
4030 | return resultobj; | |
4031 | fail: | |
4032 | return NULL; | |
4033 | } | |
4034 | ||
4035 | ||
c32bde28 | 4036 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4037 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4038 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
4039 | wxWindow *result; | |
4040 | PyObject * obj0 = 0 ; | |
4041 | char *kwnames[] = { | |
4042 | (char *) "self", NULL | |
4043 | }; | |
4044 | ||
4045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4046 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
4047 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4048 | { |
4049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4050 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
4051 | ||
4052 | wxPyEndAllowThreads(__tstate); | |
4053 | if (PyErr_Occurred()) SWIG_fail; | |
4054 | } | |
4055 | { | |
412d302d | 4056 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
4057 | } |
4058 | return resultobj; | |
4059 | fail: | |
4060 | return NULL; | |
4061 | } | |
4062 | ||
4063 | ||
c32bde28 | 4064 | static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4065 | PyObject *resultobj = NULL; |
f5b96ee1 RD |
4066 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
4067 | wxDC *arg2 = 0 ; | |
4068 | PyObject * obj0 = 0 ; | |
4069 | PyObject * obj1 = 0 ; | |
4070 | char *kwnames[] = { | |
4071 | (char *) "self",(char *) "dc", NULL | |
4072 | }; | |
4073 | ||
4074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
4076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4077 | { | |
4078 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
4079 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4080 | if (arg2 == NULL) { | |
4081 | SWIG_null_ref("wxDC"); | |
4082 | } | |
4083 | if (SWIG_arg_fail(2)) SWIG_fail; | |
f5b96ee1 RD |
4084 | } |
4085 | { | |
4086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4087 | (arg1)->DoPrepareDC(*arg2); | |
4088 | ||
4089 | wxPyEndAllowThreads(__tstate); | |
4090 | if (PyErr_Occurred()) SWIG_fail; | |
4091 | } | |
4092 | Py_INCREF(Py_None); resultobj = Py_None; | |
4093 | return resultobj; | |
4094 | fail: | |
4095 | return NULL; | |
4096 | } | |
4097 | ||
4098 | ||
c32bde28 | 4099 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4100 | PyObject *resultobj = NULL; |
093d3ff1 | 4101 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
4102 | wxVisualAttributes result; |
4103 | PyObject * obj0 = 0 ; | |
4104 | char *kwnames[] = { | |
4105 | (char *) "variant", NULL | |
4106 | }; | |
4107 | ||
4108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4109 | if (obj0) { | |
093d3ff1 | 4110 | { |
32fe5131 | 4111 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
4112 | if (SWIG_arg_fail(1)) SWIG_fail; |
4113 | } | |
22bfe96c RD |
4114 | } |
4115 | { | |
e3b71cb8 | 4116 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 4117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 4118 | result = wxScrolledWindow::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
4119 | |
4120 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4121 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
4122 | } |
4123 | { | |
4124 | wxVisualAttributes * resultptr; | |
32fe5131 | 4125 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
4126 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
4127 | } | |
4128 | return resultobj; | |
4129 | fail: | |
4130 | return NULL; | |
4131 | } | |
4132 | ||
4133 | ||
c32bde28 | 4134 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4135 | PyObject *obj; |
4136 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4137 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
4138 | Py_INCREF(obj); | |
4139 | return Py_BuildValue((char *)""); | |
4140 | } | |
c32bde28 | 4141 | static int _wrap_FrameNameStr_set(PyObject *) { |
b2dc1044 RD |
4142 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
4143 | return 1; | |
4144 | } | |
4145 | ||
4146 | ||
093d3ff1 | 4147 | static PyObject *_wrap_FrameNameStr_get(void) { |
32fe5131 | 4148 | PyObject *pyobj = NULL; |
b2dc1044 RD |
4149 | |
4150 | { | |
4151 | #if wxUSE_UNICODE | |
4152 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
4153 | #else | |
4154 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
4155 | #endif | |
4156 | } | |
4157 | return pyobj; | |
4158 | } | |
4159 | ||
4160 | ||
c32bde28 | 4161 | static int _wrap_DialogNameStr_set(PyObject *) { |
b2dc1044 RD |
4162 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
4163 | return 1; | |
4164 | } | |
4165 | ||
4166 | ||
093d3ff1 | 4167 | static PyObject *_wrap_DialogNameStr_get(void) { |
32fe5131 | 4168 | PyObject *pyobj = NULL; |
b2dc1044 RD |
4169 | |
4170 | { | |
4171 | #if wxUSE_UNICODE | |
4172 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4173 | #else | |
4174 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4175 | #endif | |
4176 | } | |
4177 | return pyobj; | |
4178 | } | |
4179 | ||
4180 | ||
c32bde28 | 4181 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
b2dc1044 RD |
4182 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
4183 | return 1; | |
4184 | } | |
4185 | ||
4186 | ||
093d3ff1 | 4187 | static PyObject *_wrap_StatusLineNameStr_get(void) { |
32fe5131 | 4188 | PyObject *pyobj = NULL; |
b2dc1044 RD |
4189 | |
4190 | { | |
4191 | #if wxUSE_UNICODE | |
4192 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4193 | #else | |
4194 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4195 | #endif | |
4196 | } | |
4197 | return pyobj; | |
4198 | } | |
4199 | ||
4200 | ||
c32bde28 | 4201 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
b2dc1044 RD |
4202 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
4203 | return 1; | |
4204 | } | |
4205 | ||
4206 | ||
093d3ff1 | 4207 | static PyObject *_wrap_ToolBarNameStr_get(void) { |
32fe5131 | 4208 | PyObject *pyobj = NULL; |
b2dc1044 RD |
4209 | |
4210 | { | |
4211 | #if wxUSE_UNICODE | |
4212 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4213 | #else | |
4214 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4215 | #endif | |
4216 | } | |
4217 | return pyobj; | |
4218 | } | |
4219 | ||
4220 | ||
c32bde28 | 4221 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4222 | PyObject *resultobj = NULL; |
d14a1e28 | 4223 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
ae8162c8 | 4224 | bool arg2 = (bool) true ; |
d14a1e28 RD |
4225 | PyObject * obj0 = 0 ; |
4226 | PyObject * obj1 = 0 ; | |
4227 | char *kwnames[] = { | |
4228 | (char *) "self",(char *) "maximize", NULL | |
4229 | }; | |
4230 | ||
4231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4232 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4233 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 4234 | if (obj1) { |
093d3ff1 | 4235 | { |
32fe5131 | 4236 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
4237 | if (SWIG_arg_fail(2)) SWIG_fail; |
4238 | } | |
d14a1e28 RD |
4239 | } |
4240 | { | |
4241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4242 | (arg1)->Maximize(arg2); | |
4243 | ||
4244 | wxPyEndAllowThreads(__tstate); | |
4245 | if (PyErr_Occurred()) SWIG_fail; | |
4246 | } | |
4247 | Py_INCREF(Py_None); resultobj = Py_None; | |
4248 | return resultobj; | |
4249 | fail: | |
4250 | return NULL; | |
4251 | } | |
4252 | ||
4253 | ||
c32bde28 | 4254 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4255 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4256 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4257 | PyObject * obj0 = 0 ; | |
4258 | char *kwnames[] = { | |
4259 | (char *) "self", NULL | |
4260 | }; | |
4261 | ||
4262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4263 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4264 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4265 | { |
4266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4267 | (arg1)->Restore(); | |
4268 | ||
4269 | wxPyEndAllowThreads(__tstate); | |
4270 | if (PyErr_Occurred()) SWIG_fail; | |
4271 | } | |
4272 | Py_INCREF(Py_None); resultobj = Py_None; | |
4273 | return resultobj; | |
4274 | fail: | |
4275 | return NULL; | |
4276 | } | |
4277 | ||
4278 | ||
c32bde28 | 4279 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4280 | PyObject *resultobj = NULL; |
d14a1e28 | 4281 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
ae8162c8 | 4282 | bool arg2 = (bool) true ; |
d14a1e28 RD |
4283 | PyObject * obj0 = 0 ; |
4284 | PyObject * obj1 = 0 ; | |
4285 | char *kwnames[] = { | |
4286 | (char *) "self",(char *) "iconize", NULL | |
4287 | }; | |
4288 | ||
4289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4290 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4291 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 4292 | if (obj1) { |
093d3ff1 | 4293 | { |
32fe5131 | 4294 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
4295 | if (SWIG_arg_fail(2)) SWIG_fail; |
4296 | } | |
d14a1e28 RD |
4297 | } |
4298 | { | |
4299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4300 | (arg1)->Iconize(arg2); | |
4301 | ||
4302 | wxPyEndAllowThreads(__tstate); | |
4303 | if (PyErr_Occurred()) SWIG_fail; | |
4304 | } | |
4305 | Py_INCREF(Py_None); resultobj = Py_None; | |
4306 | return resultobj; | |
4307 | fail: | |
4308 | return NULL; | |
4309 | } | |
4310 | ||
4311 | ||
c32bde28 | 4312 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4313 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4314 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4315 | bool result; | |
4316 | PyObject * obj0 = 0 ; | |
4317 | char *kwnames[] = { | |
4318 | (char *) "self", NULL | |
4319 | }; | |
4320 | ||
4321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4322 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4323 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4324 | { |
4325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4326 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
4327 | ||
4328 | wxPyEndAllowThreads(__tstate); | |
4329 | if (PyErr_Occurred()) SWIG_fail; | |
4330 | } | |
4f89f6a3 RD |
4331 | { |
4332 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4333 | } | |
d14a1e28 RD |
4334 | return resultobj; |
4335 | fail: | |
4336 | return NULL; | |
4337 | } | |
4338 | ||
4339 | ||
c32bde28 | 4340 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4341 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4342 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4343 | bool result; | |
4344 | PyObject * obj0 = 0 ; | |
4345 | char *kwnames[] = { | |
4346 | (char *) "self", NULL | |
4347 | }; | |
4348 | ||
4349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4350 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4351 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4352 | { |
4353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4354 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
4355 | ||
4356 | wxPyEndAllowThreads(__tstate); | |
4357 | if (PyErr_Occurred()) SWIG_fail; | |
4358 | } | |
4f89f6a3 RD |
4359 | { |
4360 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4361 | } | |
d14a1e28 RD |
4362 | return resultobj; |
4363 | fail: | |
4364 | return NULL; | |
4365 | } | |
4366 | ||
4367 | ||
c32bde28 | 4368 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4369 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4370 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4371 | wxIcon result; | |
4372 | PyObject * obj0 = 0 ; | |
4373 | char *kwnames[] = { | |
4374 | (char *) "self", NULL | |
4375 | }; | |
4376 | ||
4377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4378 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4379 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4380 | { |
4381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4382 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
4383 | ||
4384 | wxPyEndAllowThreads(__tstate); | |
4385 | if (PyErr_Occurred()) SWIG_fail; | |
4386 | } | |
4387 | { | |
4388 | wxIcon * resultptr; | |
32fe5131 | 4389 | resultptr = new wxIcon(static_cast<wxIcon & >(result)); |
15afbcd0 | 4390 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
4391 | } |
4392 | return resultobj; | |
4393 | fail: | |
4394 | return NULL; | |
4395 | } | |
4396 | ||
4397 | ||
c32bde28 | 4398 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4399 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4400 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4401 | wxIcon *arg2 = 0 ; | |
4402 | PyObject * obj0 = 0 ; | |
4403 | PyObject * obj1 = 0 ; | |
4404 | char *kwnames[] = { | |
4405 | (char *) "self",(char *) "icon", NULL | |
4406 | }; | |
4407 | ||
4408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4409 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4410 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4411 | { | |
4412 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
4413 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4414 | if (arg2 == NULL) { | |
4415 | SWIG_null_ref("wxIcon"); | |
4416 | } | |
4417 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4418 | } |
4419 | { | |
4420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4421 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
4422 | ||
4423 | wxPyEndAllowThreads(__tstate); | |
4424 | if (PyErr_Occurred()) SWIG_fail; | |
4425 | } | |
4426 | Py_INCREF(Py_None); resultobj = Py_None; | |
4427 | return resultobj; | |
4428 | fail: | |
4429 | return NULL; | |
4430 | } | |
4431 | ||
4432 | ||
c32bde28 | 4433 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4434 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4435 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4436 | wxIconBundle *arg2 = 0 ; | |
4437 | PyObject * obj0 = 0 ; | |
4438 | PyObject * obj1 = 0 ; | |
4439 | char *kwnames[] = { | |
4440 | (char *) "self",(char *) "icons", NULL | |
4441 | }; | |
4442 | ||
4443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4446 | { | |
4447 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0); | |
4448 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4449 | if (arg2 == NULL) { | |
4450 | SWIG_null_ref("wxIconBundle"); | |
4451 | } | |
4452 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4453 | } |
4454 | { | |
4455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4456 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
4457 | ||
4458 | wxPyEndAllowThreads(__tstate); | |
4459 | if (PyErr_Occurred()) SWIG_fail; | |
4460 | } | |
4461 | Py_INCREF(Py_None); resultobj = Py_None; | |
4462 | return resultobj; | |
4463 | fail: | |
4464 | return NULL; | |
4465 | } | |
4466 | ||
4467 | ||
c32bde28 | 4468 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4469 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4470 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4471 | bool arg2 ; | |
4472 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
4473 | bool result; | |
4474 | PyObject * obj0 = 0 ; | |
4475 | PyObject * obj1 = 0 ; | |
994141e6 | 4476 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4477 | char *kwnames[] = { |
4478 | (char *) "self",(char *) "show",(char *) "style", NULL | |
4479 | }; | |
4480 | ||
994141e6 | 4481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
4482 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4483 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4484 | { | |
32fe5131 | 4485 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
4486 | if (SWIG_arg_fail(2)) SWIG_fail; |
4487 | } | |
994141e6 | 4488 | if (obj2) { |
093d3ff1 | 4489 | { |
32fe5131 | 4490 | arg3 = static_cast<long >(SWIG_As_long(obj2)); |
093d3ff1 RD |
4491 | if (SWIG_arg_fail(3)) SWIG_fail; |
4492 | } | |
994141e6 | 4493 | } |
d14a1e28 RD |
4494 | { |
4495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4496 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
4497 | ||
4498 | wxPyEndAllowThreads(__tstate); | |
4499 | if (PyErr_Occurred()) SWIG_fail; | |
4500 | } | |
4f89f6a3 RD |
4501 | { |
4502 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4503 | } | |
d14a1e28 RD |
4504 | return resultobj; |
4505 | fail: | |
4506 | return NULL; | |
4507 | } | |
4508 | ||
4509 | ||
c32bde28 | 4510 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4511 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4512 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4513 | bool result; | |
4514 | PyObject * obj0 = 0 ; | |
4515 | char *kwnames[] = { | |
4516 | (char *) "self", NULL | |
4517 | }; | |
4518 | ||
4519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4520 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4521 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4522 | { |
4523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4524 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
4525 | ||
4526 | wxPyEndAllowThreads(__tstate); | |
4527 | if (PyErr_Occurred()) SWIG_fail; | |
4528 | } | |
4f89f6a3 RD |
4529 | { |
4530 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4531 | } | |
d14a1e28 RD |
4532 | return resultobj; |
4533 | fail: | |
4534 | return NULL; | |
4535 | } | |
4536 | ||
4537 | ||
c32bde28 | 4538 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4539 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4540 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4541 | wxString *arg2 = 0 ; | |
ae8162c8 | 4542 | bool temp2 = false ; |
d14a1e28 RD |
4543 | PyObject * obj0 = 0 ; |
4544 | PyObject * obj1 = 0 ; | |
4545 | char *kwnames[] = { | |
4546 | (char *) "self",(char *) "title", NULL | |
4547 | }; | |
4548 | ||
4549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4550 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4551 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4552 | { |
4553 | arg2 = wxString_in_helper(obj1); | |
4554 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 4555 | temp2 = true; |
d14a1e28 RD |
4556 | } |
4557 | { | |
4558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4559 | (arg1)->SetTitle((wxString const &)*arg2); | |
4560 | ||
4561 | wxPyEndAllowThreads(__tstate); | |
4562 | if (PyErr_Occurred()) SWIG_fail; | |
4563 | } | |
4564 | Py_INCREF(Py_None); resultobj = Py_None; | |
4565 | { | |
4566 | if (temp2) | |
4567 | delete arg2; | |
4568 | } | |
4569 | return resultobj; | |
4570 | fail: | |
4571 | { | |
4572 | if (temp2) | |
4573 | delete arg2; | |
4574 | } | |
4575 | return NULL; | |
4576 | } | |
4577 | ||
4578 | ||
c32bde28 | 4579 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4580 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4581 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4582 | wxString result; | |
4583 | PyObject * obj0 = 0 ; | |
4584 | char *kwnames[] = { | |
4585 | (char *) "self", NULL | |
4586 | }; | |
4587 | ||
4588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4589 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4590 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4591 | { |
4592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4593 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
4594 | ||
4595 | wxPyEndAllowThreads(__tstate); | |
4596 | if (PyErr_Occurred()) SWIG_fail; | |
4597 | } | |
4598 | { | |
4599 | #if wxUSE_UNICODE | |
4600 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4601 | #else | |
4602 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4603 | #endif | |
4604 | } | |
4605 | return resultobj; | |
4606 | fail: | |
4607 | return NULL; | |
4608 | } | |
4609 | ||
4610 | ||
c32bde28 | 4611 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4612 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4613 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4614 | wxRegion *arg2 = 0 ; | |
4615 | bool result; | |
4616 | PyObject * obj0 = 0 ; | |
4617 | PyObject * obj1 = 0 ; | |
4618 | char *kwnames[] = { | |
4619 | (char *) "self",(char *) "region", NULL | |
4620 | }; | |
4621 | ||
4622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4623 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4624 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4625 | { | |
4626 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); | |
4627 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4628 | if (arg2 == NULL) { | |
4629 | SWIG_null_ref("wxRegion"); | |
4630 | } | |
4631 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4632 | } |
4633 | { | |
4634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4635 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
4636 | ||
4637 | wxPyEndAllowThreads(__tstate); | |
4638 | if (PyErr_Occurred()) SWIG_fail; | |
4639 | } | |
4f89f6a3 RD |
4640 | { |
4641 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4642 | } | |
d14a1e28 RD |
4643 | return resultobj; |
4644 | fail: | |
4645 | return NULL; | |
4646 | } | |
4647 | ||
4648 | ||
c32bde28 | 4649 | static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4650 | PyObject *resultobj = NULL; |
c32bde28 RD |
4651 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4652 | int arg2 = (int) wxUSER_ATTENTION_INFO ; | |
4653 | PyObject * obj0 = 0 ; | |
4654 | PyObject * obj1 = 0 ; | |
4655 | char *kwnames[] = { | |
4656 | (char *) "self",(char *) "flags", NULL | |
4657 | }; | |
4658 | ||
4659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4660 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4661 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c32bde28 | 4662 | if (obj1) { |
093d3ff1 | 4663 | { |
32fe5131 | 4664 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
4665 | if (SWIG_arg_fail(2)) SWIG_fail; |
4666 | } | |
c32bde28 RD |
4667 | } |
4668 | { | |
4669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4670 | (arg1)->RequestUserAttention(arg2); | |
4671 | ||
4672 | wxPyEndAllowThreads(__tstate); | |
4673 | if (PyErr_Occurred()) SWIG_fail; | |
4674 | } | |
4675 | Py_INCREF(Py_None); resultobj = Py_None; | |
4676 | return resultobj; | |
4677 | fail: | |
4678 | return NULL; | |
4679 | } | |
4680 | ||
4681 | ||
b6294124 | 4682 | static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4683 | PyObject *resultobj = NULL; |
b6294124 RD |
4684 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4685 | bool result; | |
4686 | PyObject * obj0 = 0 ; | |
4687 | char *kwnames[] = { | |
4688 | (char *) "self", NULL | |
4689 | }; | |
4690 | ||
4691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b6294124 RD |
4694 | { |
4695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4696 | result = (bool)(arg1)->IsActive(); | |
4697 | ||
4698 | wxPyEndAllowThreads(__tstate); | |
4699 | if (PyErr_Occurred()) SWIG_fail; | |
4700 | } | |
4701 | { | |
4702 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4703 | } | |
4704 | return resultobj; | |
4705 | fail: | |
4706 | return NULL; | |
4707 | } | |
4708 | ||
4709 | ||
84f85550 | 4710 | static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4711 | PyObject *resultobj = NULL; |
84f85550 RD |
4712 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4713 | bool arg2 ; | |
4714 | PyObject * obj0 = 0 ; | |
4715 | PyObject * obj1 = 0 ; | |
4716 | char *kwnames[] = { | |
4717 | (char *) "self",(char *) "on", NULL | |
4718 | }; | |
4719 | ||
4720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4721 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4722 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4723 | { | |
32fe5131 | 4724 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
4725 | if (SWIG_arg_fail(2)) SWIG_fail; |
4726 | } | |
84f85550 RD |
4727 | { |
4728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4729 | wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2); | |
4730 | ||
4731 | wxPyEndAllowThreads(__tstate); | |
4732 | if (PyErr_Occurred()) SWIG_fail; | |
4733 | } | |
4734 | Py_INCREF(Py_None); resultobj = Py_None; | |
4735 | return resultobj; | |
4736 | fail: | |
4737 | return NULL; | |
4738 | } | |
4739 | ||
4740 | ||
4741 | static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 4742 | PyObject *resultobj = NULL; |
84f85550 RD |
4743 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4744 | bool result; | |
4745 | PyObject * obj0 = 0 ; | |
4746 | char *kwnames[] = { | |
4747 | (char *) "self", NULL | |
4748 | }; | |
4749 | ||
4750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4751 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4752 | if (SWIG_arg_fail(1)) SWIG_fail; | |
84f85550 RD |
4753 | { |
4754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4755 | result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1); | |
4756 | ||
4757 | wxPyEndAllowThreads(__tstate); | |
4758 | if (PyErr_Occurred()) SWIG_fail; | |
4759 | } | |
4760 | { | |
4761 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4762 | } | |
4763 | return resultobj; | |
4764 | fail: | |
4765 | return NULL; | |
4766 | } | |
4767 | ||
4768 | ||
b1fcee84 RD |
4769 | static PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
4770 | PyObject *resultobj = NULL; | |
4771 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4772 | int arg2 = (int) wxBOTH ; | |
4773 | PyObject * obj0 = 0 ; | |
4774 | PyObject * obj1 = 0 ; | |
4775 | char *kwnames[] = { | |
4776 | (char *) "self",(char *) "dir", NULL | |
4777 | }; | |
4778 | ||
4779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail; | |
4780 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); | |
4781 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4782 | if (obj1) { | |
4783 | { | |
4784 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4785 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4786 | } | |
4787 | } | |
4788 | { | |
4789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4790 | (arg1)->CenterOnScreen(arg2); | |
4791 | ||
4792 | wxPyEndAllowThreads(__tstate); | |
4793 | if (PyErr_Occurred()) SWIG_fail; | |
4794 | } | |
4795 | Py_INCREF(Py_None); resultobj = Py_None; | |
4796 | return resultobj; | |
4797 | fail: | |
4798 | return NULL; | |
4799 | } | |
4800 | ||
4801 | ||
c32bde28 | 4802 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4803 | PyObject *obj; |
4804 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4805 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
4806 | Py_INCREF(obj); | |
4807 | return Py_BuildValue((char *)""); | |
4808 | } | |
c32bde28 | 4809 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4810 | PyObject *resultobj = NULL; |
d14a1e28 | 4811 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 RD |
4812 | int arg2 = (int) (int)-1 ; |
4813 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4814 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
4815 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4816 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4817 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4818 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4819 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4820 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4821 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4822 | wxFrame *result; | |
ae8162c8 | 4823 | bool temp3 = false ; |
d14a1e28 RD |
4824 | wxPoint temp4 ; |
4825 | wxSize temp5 ; | |
ae8162c8 | 4826 | bool temp7 = false ; |
d14a1e28 | 4827 | PyObject * obj0 = 0 ; |
994141e6 | 4828 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4829 | PyObject * obj2 = 0 ; |
4830 | PyObject * obj3 = 0 ; | |
4831 | PyObject * obj4 = 0 ; | |
994141e6 | 4832 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4833 | PyObject * obj6 = 0 ; |
4834 | char *kwnames[] = { | |
4835 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4836 | }; | |
4837 | ||
248ed943 | 4838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
4839 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
4840 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 4841 | if (obj1) { |
093d3ff1 | 4842 | { |
32fe5131 | 4843 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
4844 | if (SWIG_arg_fail(2)) SWIG_fail; |
4845 | } | |
248ed943 RD |
4846 | } |
4847 | if (obj2) { | |
4848 | { | |
4849 | arg3 = wxString_in_helper(obj2); | |
4850 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 4851 | temp3 = true; |
248ed943 | 4852 | } |
d14a1e28 RD |
4853 | } |
4854 | if (obj3) { | |
4855 | { | |
4856 | arg4 = &temp4; | |
4857 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4858 | } | |
4859 | } | |
4860 | if (obj4) { | |
4861 | { | |
4862 | arg5 = &temp5; | |
4863 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4864 | } | |
4865 | } | |
994141e6 | 4866 | if (obj5) { |
093d3ff1 | 4867 | { |
32fe5131 | 4868 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
4869 | if (SWIG_arg_fail(6)) SWIG_fail; |
4870 | } | |
994141e6 | 4871 | } |
d14a1e28 RD |
4872 | if (obj6) { |
4873 | { | |
4874 | arg7 = wxString_in_helper(obj6); | |
4875 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 4876 | temp7 = true; |
d14a1e28 RD |
4877 | } |
4878 | } | |
4879 | { | |
e3b71cb8 | 4880 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4882 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4883 | ||
4884 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4885 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4886 | } |
b0f7404b | 4887 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d14a1e28 RD |
4888 | { |
4889 | if (temp3) | |
4890 | delete arg3; | |
4891 | } | |
4892 | { | |
4893 | if (temp7) | |
4894 | delete arg7; | |
4895 | } | |
4896 | return resultobj; | |
4897 | fail: | |
4898 | { | |
4899 | if (temp3) | |
4900 | delete arg3; | |
4901 | } | |
4902 | { | |
4903 | if (temp7) | |
4904 | delete arg7; | |
4905 | } | |
4906 | return NULL; | |
4907 | } | |
4908 | ||
4909 | ||
c32bde28 | 4910 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4911 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4912 | wxFrame *result; |
4913 | char *kwnames[] = { | |
4914 | NULL | |
4915 | }; | |
4916 | ||
4917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
4918 | { | |
e3b71cb8 | 4919 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4921 | result = (wxFrame *)new wxFrame(); | |
4922 | ||
4923 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4924 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4925 | } |
b0f7404b | 4926 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d14a1e28 RD |
4927 | return resultobj; |
4928 | fail: | |
4929 | return NULL; | |
4930 | } | |
4931 | ||
4932 | ||
c32bde28 | 4933 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4934 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4935 | wxFrame *arg1 = (wxFrame *) 0 ; |
4936 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4937 | int arg3 = (int) (int)-1 ; |
4938 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4939 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
4940 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4941 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4942 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4943 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4944 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4945 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4946 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4947 | bool result; | |
ae8162c8 | 4948 | bool temp4 = false ; |
d14a1e28 RD |
4949 | wxPoint temp5 ; |
4950 | wxSize temp6 ; | |
ae8162c8 | 4951 | bool temp8 = false ; |
d14a1e28 RD |
4952 | PyObject * obj0 = 0 ; |
4953 | PyObject * obj1 = 0 ; | |
994141e6 | 4954 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4955 | PyObject * obj3 = 0 ; |
4956 | PyObject * obj4 = 0 ; | |
4957 | PyObject * obj5 = 0 ; | |
994141e6 | 4958 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4959 | PyObject * obj7 = 0 ; |
4960 | char *kwnames[] = { | |
4961 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4962 | }; | |
4963 | ||
248ed943 | 4964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
4965 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4966 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4967 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4968 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 4969 | if (obj2) { |
093d3ff1 | 4970 | { |
32fe5131 | 4971 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
4972 | if (SWIG_arg_fail(3)) SWIG_fail; |
4973 | } | |
248ed943 RD |
4974 | } |
4975 | if (obj3) { | |
4976 | { | |
4977 | arg4 = wxString_in_helper(obj3); | |
4978 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 4979 | temp4 = true; |
248ed943 | 4980 | } |
d14a1e28 RD |
4981 | } |
4982 | if (obj4) { | |
4983 | { | |
4984 | arg5 = &temp5; | |
4985 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4986 | } | |
4987 | } | |
4988 | if (obj5) { | |
4989 | { | |
4990 | arg6 = &temp6; | |
4991 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4992 | } | |
4993 | } | |
994141e6 | 4994 | if (obj6) { |
093d3ff1 | 4995 | { |
32fe5131 | 4996 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
093d3ff1 RD |
4997 | if (SWIG_arg_fail(7)) SWIG_fail; |
4998 | } | |
994141e6 | 4999 | } |
d14a1e28 RD |
5000 | if (obj7) { |
5001 | { | |
5002 | arg8 = wxString_in_helper(obj7); | |
5003 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 5004 | temp8 = true; |
d14a1e28 RD |
5005 | } |
5006 | } | |
5007 | { | |
5008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5009 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
5010 | ||
5011 | wxPyEndAllowThreads(__tstate); | |
5012 | if (PyErr_Occurred()) SWIG_fail; | |
5013 | } | |
4f89f6a3 RD |
5014 | { |
5015 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5016 | } | |
d14a1e28 RD |
5017 | { |
5018 | if (temp4) | |
5019 | delete arg4; | |
5020 | } | |
5021 | { | |
5022 | if (temp8) | |
5023 | delete arg8; | |
5024 | } | |
5025 | return resultobj; | |
5026 | fail: | |
5027 | { | |
5028 | if (temp4) | |
5029 | delete arg4; | |
5030 | } | |
5031 | { | |
5032 | if (temp8) | |
5033 | delete arg8; | |
5034 | } | |
5035 | return NULL; | |
5036 | } | |
5037 | ||
5038 | ||
c32bde28 | 5039 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5040 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5041 | wxFrame *arg1 = (wxFrame *) 0 ; |
5042 | wxPoint result; | |
5043 | PyObject * obj0 = 0 ; | |
5044 | char *kwnames[] = { | |
5045 | (char *) "self", NULL | |
5046 | }; | |
5047 | ||
5048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5049 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5050 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5051 | { |
5052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5053 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
5054 | ||
5055 | wxPyEndAllowThreads(__tstate); | |
5056 | if (PyErr_Occurred()) SWIG_fail; | |
5057 | } | |
5058 | { | |
5059 | wxPoint * resultptr; | |
32fe5131 | 5060 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 5061 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
5062 | } |
5063 | return resultobj; | |
5064 | fail: | |
5065 | return NULL; | |
5066 | } | |
5067 | ||
5068 | ||
c32bde28 | 5069 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5070 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5071 | wxFrame *arg1 = (wxFrame *) 0 ; |
5072 | PyObject * obj0 = 0 ; | |
5073 | char *kwnames[] = { | |
5074 | (char *) "self", NULL | |
5075 | }; | |
5076 | ||
5077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5078 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5079 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5080 | { |
5081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5082 | (arg1)->SendSizeEvent(); | |
5083 | ||
5084 | wxPyEndAllowThreads(__tstate); | |
5085 | if (PyErr_Occurred()) SWIG_fail; | |
5086 | } | |
5087 | Py_INCREF(Py_None); resultobj = Py_None; | |
5088 | return resultobj; | |
5089 | fail: | |
5090 | return NULL; | |
5091 | } | |
5092 | ||
5093 | ||
c32bde28 | 5094 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5095 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5096 | wxFrame *arg1 = (wxFrame *) 0 ; |
5097 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
5098 | PyObject * obj0 = 0 ; | |
5099 | PyObject * obj1 = 0 ; | |
5100 | char *kwnames[] = { | |
5101 | (char *) "self",(char *) "menubar", NULL | |
5102 | }; | |
5103 | ||
5104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5105 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5106 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5107 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); | |
5108 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5109 | { |
5110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5111 | (arg1)->SetMenuBar(arg2); | |
5112 | ||
5113 | wxPyEndAllowThreads(__tstate); | |
5114 | if (PyErr_Occurred()) SWIG_fail; | |
5115 | } | |
5116 | Py_INCREF(Py_None); resultobj = Py_None; | |
5117 | return resultobj; | |
5118 | fail: | |
5119 | return NULL; | |
5120 | } | |
5121 | ||
5122 | ||
c32bde28 | 5123 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5124 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5125 | wxFrame *arg1 = (wxFrame *) 0 ; |
5126 | wxMenuBar *result; | |
5127 | PyObject * obj0 = 0 ; | |
5128 | char *kwnames[] = { | |
5129 | (char *) "self", NULL | |
5130 | }; | |
5131 | ||
5132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5133 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5134 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5135 | { |
5136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5137 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
5138 | ||
5139 | wxPyEndAllowThreads(__tstate); | |
5140 | if (PyErr_Occurred()) SWIG_fail; | |
5141 | } | |
5142 | { | |
412d302d | 5143 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
5144 | } |
5145 | return resultobj; | |
5146 | fail: | |
5147 | return NULL; | |
5148 | } | |
5149 | ||
5150 | ||
c32bde28 | 5151 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5152 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5153 | wxFrame *arg1 = (wxFrame *) 0 ; |
5154 | int arg2 ; | |
5155 | bool result; | |
5156 | PyObject * obj0 = 0 ; | |
994141e6 | 5157 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5158 | char *kwnames[] = { |
5159 | (char *) "self",(char *) "winid", NULL | |
5160 | }; | |
5161 | ||
994141e6 | 5162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
5163 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5164 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5165 | { | |
32fe5131 | 5166 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5167 | if (SWIG_arg_fail(2)) SWIG_fail; |
5168 | } | |
d14a1e28 RD |
5169 | { |
5170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5171 | result = (bool)(arg1)->ProcessCommand(arg2); | |
5172 | ||
5173 | wxPyEndAllowThreads(__tstate); | |
5174 | if (PyErr_Occurred()) SWIG_fail; | |
5175 | } | |
4f89f6a3 RD |
5176 | { |
5177 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5178 | } | |
d14a1e28 RD |
5179 | return resultobj; |
5180 | fail: | |
5181 | return NULL; | |
5182 | } | |
5183 | ||
5184 | ||
c32bde28 | 5185 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5186 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5187 | wxFrame *arg1 = (wxFrame *) 0 ; |
5188 | int arg2 = (int) 1 ; | |
6d88e192 | 5189 | long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ; |
e811c8ce | 5190 | int arg4 = (int) 0 ; |
d14a1e28 RD |
5191 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
5192 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
5193 | wxStatusBar *result; | |
ae8162c8 | 5194 | bool temp5 = false ; |
d14a1e28 | 5195 | PyObject * obj0 = 0 ; |
994141e6 RD |
5196 | PyObject * obj1 = 0 ; |
5197 | PyObject * obj2 = 0 ; | |
5198 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5199 | PyObject * obj4 = 0 ; |
5200 | char *kwnames[] = { | |
5201 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5202 | }; | |
5203 | ||
994141e6 | 5204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
5205 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5206 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 5207 | if (obj1) { |
093d3ff1 | 5208 | { |
32fe5131 | 5209 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5210 | if (SWIG_arg_fail(2)) SWIG_fail; |
5211 | } | |
994141e6 RD |
5212 | } |
5213 | if (obj2) { | |
093d3ff1 | 5214 | { |
32fe5131 | 5215 | arg3 = static_cast<long >(SWIG_As_long(obj2)); |
093d3ff1 RD |
5216 | if (SWIG_arg_fail(3)) SWIG_fail; |
5217 | } | |
994141e6 RD |
5218 | } |
5219 | if (obj3) { | |
093d3ff1 | 5220 | { |
32fe5131 | 5221 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
5222 | if (SWIG_arg_fail(4)) SWIG_fail; |
5223 | } | |
994141e6 | 5224 | } |
d14a1e28 RD |
5225 | if (obj4) { |
5226 | { | |
5227 | arg5 = wxString_in_helper(obj4); | |
5228 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 5229 | temp5 = true; |
d14a1e28 RD |
5230 | } |
5231 | } | |
5232 | { | |
5233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5234 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
5235 | ||
5236 | wxPyEndAllowThreads(__tstate); | |
5237 | if (PyErr_Occurred()) SWIG_fail; | |
5238 | } | |
5239 | { | |
7e08d4ef | 5240 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
5241 | } |
5242 | { | |
5243 | if (temp5) | |
5244 | delete arg5; | |
5245 | } | |
5246 | return resultobj; | |
5247 | fail: | |
5248 | { | |
5249 | if (temp5) | |
5250 | delete arg5; | |
5251 | } | |
5252 | return NULL; | |
5253 | } | |
5254 | ||
5255 | ||
c32bde28 | 5256 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5257 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5258 | wxFrame *arg1 = (wxFrame *) 0 ; |
5259 | wxStatusBar *result; | |
5260 | PyObject * obj0 = 0 ; | |
5261 | char *kwnames[] = { | |
5262 | (char *) "self", NULL | |
5263 | }; | |
5264 | ||
5265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5266 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5267 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5268 | { |
5269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5270 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
5271 | ||
5272 | wxPyEndAllowThreads(__tstate); | |
5273 | if (PyErr_Occurred()) SWIG_fail; | |
5274 | } | |
5275 | { | |
7e08d4ef | 5276 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
5277 | } |
5278 | return resultobj; | |
5279 | fail: | |
5280 | return NULL; | |
5281 | } | |
5282 | ||
5283 | ||
c32bde28 | 5284 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5285 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5286 | wxFrame *arg1 = (wxFrame *) 0 ; |
5287 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
5288 | PyObject * obj0 = 0 ; | |
5289 | PyObject * obj1 = 0 ; | |
5290 | char *kwnames[] = { | |
5291 | (char *) "self",(char *) "statBar", NULL | |
5292 | }; | |
5293 | ||
5294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5297 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); | |
5298 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5299 | { |
5300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5301 | (arg1)->SetStatusBar(arg2); | |
5302 | ||
5303 | wxPyEndAllowThreads(__tstate); | |
5304 | if (PyErr_Occurred()) SWIG_fail; | |
5305 | } | |
5306 | Py_INCREF(Py_None); resultobj = Py_None; | |
5307 | return resultobj; | |
5308 | fail: | |
5309 | return NULL; | |
5310 | } | |
5311 | ||
5312 | ||
c32bde28 | 5313 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5314 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5315 | wxFrame *arg1 = (wxFrame *) 0 ; |
5316 | wxString *arg2 = 0 ; | |
5317 | int arg3 = (int) 0 ; | |
ae8162c8 | 5318 | bool temp2 = false ; |
d14a1e28 RD |
5319 | PyObject * obj0 = 0 ; |
5320 | PyObject * obj1 = 0 ; | |
994141e6 | 5321 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5322 | char *kwnames[] = { |
5323 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5324 | }; | |
5325 | ||
994141e6 | 5326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
5327 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5328 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5329 | { |
5330 | arg2 = wxString_in_helper(obj1); | |
5331 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5332 | temp2 = true; |
d14a1e28 | 5333 | } |
994141e6 | 5334 | if (obj2) { |
093d3ff1 | 5335 | { |
32fe5131 | 5336 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5337 | if (SWIG_arg_fail(3)) SWIG_fail; |
5338 | } | |
994141e6 | 5339 | } |
d14a1e28 RD |
5340 | { |
5341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5342 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5343 | ||
5344 | wxPyEndAllowThreads(__tstate); | |
5345 | if (PyErr_Occurred()) SWIG_fail; | |
5346 | } | |
5347 | Py_INCREF(Py_None); resultobj = Py_None; | |
5348 | { | |
5349 | if (temp2) | |
5350 | delete arg2; | |
5351 | } | |
5352 | return resultobj; | |
5353 | fail: | |
5354 | { | |
5355 | if (temp2) | |
5356 | delete arg2; | |
5357 | } | |
5358 | return NULL; | |
5359 | } | |
5360 | ||
5361 | ||
c32bde28 | 5362 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5363 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5364 | wxFrame *arg1 = (wxFrame *) 0 ; |
5365 | int arg2 ; | |
5366 | int *arg3 = (int *) 0 ; | |
5367 | PyObject * obj0 = 0 ; | |
5368 | PyObject * obj1 = 0 ; | |
5369 | char *kwnames[] = { | |
5370 | (char *) "self",(char *) "widths", NULL | |
5371 | }; | |
5372 | ||
5373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5374 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5375 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5376 | { |
5377 | arg2 = PyList_Size(obj1); | |
5378 | arg3 = int_LIST_helper(obj1); | |
5379 | if (arg3 == NULL) SWIG_fail; | |
5380 | } | |
5381 | { | |
5382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5383 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5384 | ||
5385 | wxPyEndAllowThreads(__tstate); | |
5386 | if (PyErr_Occurred()) SWIG_fail; | |
5387 | } | |
5388 | Py_INCREF(Py_None); resultobj = Py_None; | |
5389 | { | |
5390 | if (arg3) delete [] arg3; | |
5391 | } | |
5392 | return resultobj; | |
5393 | fail: | |
5394 | { | |
5395 | if (arg3) delete [] arg3; | |
5396 | } | |
5397 | return NULL; | |
5398 | } | |
5399 | ||
5400 | ||
c32bde28 | 5401 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5402 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5403 | wxFrame *arg1 = (wxFrame *) 0 ; |
5404 | wxString *arg2 = 0 ; | |
5405 | int arg3 = (int) 0 ; | |
ae8162c8 | 5406 | bool temp2 = false ; |
d14a1e28 RD |
5407 | PyObject * obj0 = 0 ; |
5408 | PyObject * obj1 = 0 ; | |
994141e6 | 5409 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5410 | char *kwnames[] = { |
5411 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5412 | }; | |
5413 | ||
994141e6 | 5414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
5415 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5416 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5417 | { |
5418 | arg2 = wxString_in_helper(obj1); | |
5419 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5420 | temp2 = true; |
d14a1e28 | 5421 | } |
994141e6 | 5422 | if (obj2) { |
093d3ff1 | 5423 | { |
32fe5131 | 5424 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5425 | if (SWIG_arg_fail(3)) SWIG_fail; |
5426 | } | |
994141e6 | 5427 | } |
d14a1e28 RD |
5428 | { |
5429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5430 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5431 | ||
5432 | wxPyEndAllowThreads(__tstate); | |
5433 | if (PyErr_Occurred()) SWIG_fail; | |
5434 | } | |
5435 | Py_INCREF(Py_None); resultobj = Py_None; | |
5436 | { | |
5437 | if (temp2) | |
5438 | delete arg2; | |
5439 | } | |
5440 | return resultobj; | |
5441 | fail: | |
5442 | { | |
5443 | if (temp2) | |
5444 | delete arg2; | |
5445 | } | |
5446 | return NULL; | |
5447 | } | |
5448 | ||
5449 | ||
c32bde28 | 5450 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5451 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5452 | wxFrame *arg1 = (wxFrame *) 0 ; |
5453 | int arg2 = (int) 0 ; | |
5454 | PyObject * obj0 = 0 ; | |
994141e6 | 5455 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5456 | char *kwnames[] = { |
5457 | (char *) "self",(char *) "number", NULL | |
5458 | }; | |
5459 | ||
994141e6 | 5460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
5461 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5462 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 5463 | if (obj1) { |
093d3ff1 | 5464 | { |
32fe5131 | 5465 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5466 | if (SWIG_arg_fail(2)) SWIG_fail; |
5467 | } | |
994141e6 | 5468 | } |
d14a1e28 RD |
5469 | { |
5470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5471 | (arg1)->PopStatusText(arg2); | |
5472 | ||
5473 | wxPyEndAllowThreads(__tstate); | |
5474 | if (PyErr_Occurred()) SWIG_fail; | |
5475 | } | |
5476 | Py_INCREF(Py_None); resultobj = Py_None; | |
5477 | return resultobj; | |
5478 | fail: | |
5479 | return NULL; | |
5480 | } | |
5481 | ||
5482 | ||
c32bde28 | 5483 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5484 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5485 | wxFrame *arg1 = (wxFrame *) 0 ; |
5486 | int arg2 ; | |
5487 | PyObject * obj0 = 0 ; | |
994141e6 | 5488 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5489 | char *kwnames[] = { |
5490 | (char *) "self",(char *) "n", NULL | |
5491 | }; | |
5492 | ||
994141e6 | 5493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
5494 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5495 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5496 | { | |
32fe5131 | 5497 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5498 | if (SWIG_arg_fail(2)) SWIG_fail; |
5499 | } | |
d14a1e28 RD |
5500 | { |
5501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5502 | (arg1)->SetStatusBarPane(arg2); | |
5503 | ||
5504 | wxPyEndAllowThreads(__tstate); | |
5505 | if (PyErr_Occurred()) SWIG_fail; | |
5506 | } | |
5507 | Py_INCREF(Py_None); resultobj = Py_None; | |
5508 | return resultobj; | |
5509 | fail: | |
5510 | return NULL; | |
5511 | } | |
5512 | ||
5513 | ||
c32bde28 | 5514 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5515 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5516 | wxFrame *arg1 = (wxFrame *) 0 ; |
5517 | int result; | |
5518 | PyObject * obj0 = 0 ; | |
5519 | char *kwnames[] = { | |
5520 | (char *) "self", NULL | |
5521 | }; | |
5522 | ||
5523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5524 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5525 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5526 | { |
5527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5528 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
5529 | ||
5530 | wxPyEndAllowThreads(__tstate); | |
5531 | if (PyErr_Occurred()) SWIG_fail; | |
5532 | } | |
093d3ff1 | 5533 | { |
32fe5131 | 5534 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 5535 | } |
d14a1e28 RD |
5536 | return resultobj; |
5537 | fail: | |
5538 | return NULL; | |
5539 | } | |
5540 | ||
5541 | ||
c32bde28 | 5542 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5543 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5544 | wxFrame *arg1 = (wxFrame *) 0 ; |
5545 | long arg2 = (long) -1 ; | |
e811c8ce | 5546 | int arg3 = (int) -1 ; |
d14a1e28 RD |
5547 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
5548 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5549 | wxToolBar *result; | |
ae8162c8 | 5550 | bool temp4 = false ; |
d14a1e28 | 5551 | PyObject * obj0 = 0 ; |
994141e6 RD |
5552 | PyObject * obj1 = 0 ; |
5553 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5554 | PyObject * obj3 = 0 ; |
5555 | char *kwnames[] = { | |
5556 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5557 | }; | |
5558 | ||
994141e6 | 5559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
5560 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5561 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 5562 | if (obj1) { |
093d3ff1 | 5563 | { |
32fe5131 | 5564 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
5565 | if (SWIG_arg_fail(2)) SWIG_fail; |
5566 | } | |
994141e6 RD |
5567 | } |
5568 | if (obj2) { | |
093d3ff1 | 5569 | { |
32fe5131 | 5570 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5571 | if (SWIG_arg_fail(3)) SWIG_fail; |
5572 | } | |
994141e6 | 5573 | } |
d14a1e28 RD |
5574 | if (obj3) { |
5575 | { | |
5576 | arg4 = wxString_in_helper(obj3); | |
5577 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 5578 | temp4 = true; |
d14a1e28 RD |
5579 | } |
5580 | } | |
5581 | { | |
5582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5583 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
5584 | ||
5585 | wxPyEndAllowThreads(__tstate); | |
5586 | if (PyErr_Occurred()) SWIG_fail; | |
5587 | } | |
5588 | { | |
7e08d4ef | 5589 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
5590 | } |
5591 | { | |
5592 | if (temp4) | |
5593 | delete arg4; | |
5594 | } | |
5595 | return resultobj; | |
5596 | fail: | |
5597 | { | |
5598 | if (temp4) | |
5599 | delete arg4; | |
5600 | } | |
5601 | return NULL; | |
5602 | } | |
5603 | ||
5604 | ||
c32bde28 | 5605 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5606 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5607 | wxFrame *arg1 = (wxFrame *) 0 ; |
5608 | wxToolBar *result; | |
5609 | PyObject * obj0 = 0 ; | |
5610 | char *kwnames[] = { | |
5611 | (char *) "self", NULL | |
5612 | }; | |
5613 | ||
5614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5615 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5616 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5617 | { |
5618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5619 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
5620 | ||
5621 | wxPyEndAllowThreads(__tstate); | |
5622 | if (PyErr_Occurred()) SWIG_fail; | |
5623 | } | |
5624 | { | |
7e08d4ef | 5625 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
5626 | } |
5627 | return resultobj; | |
5628 | fail: | |
5629 | return NULL; | |
5630 | } | |
5631 | ||
5632 | ||
c32bde28 | 5633 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5634 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5635 | wxFrame *arg1 = (wxFrame *) 0 ; |
5636 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
5637 | PyObject * obj0 = 0 ; | |
5638 | PyObject * obj1 = 0 ; | |
5639 | char *kwnames[] = { | |
5640 | (char *) "self",(char *) "toolbar", NULL | |
5641 | }; | |
5642 | ||
5643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5646 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0); | |
5647 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5648 | { |
5649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5650 | (arg1)->SetToolBar(arg2); | |
5651 | ||
5652 | wxPyEndAllowThreads(__tstate); | |
5653 | if (PyErr_Occurred()) SWIG_fail; | |
5654 | } | |
5655 | Py_INCREF(Py_None); resultobj = Py_None; | |
5656 | return resultobj; | |
5657 | fail: | |
5658 | return NULL; | |
5659 | } | |
5660 | ||
5661 | ||
c32bde28 | 5662 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5663 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5664 | wxFrame *arg1 = (wxFrame *) 0 ; |
5665 | wxString *arg2 = 0 ; | |
5666 | bool arg3 ; | |
ae8162c8 | 5667 | bool temp2 = false ; |
d14a1e28 RD |
5668 | PyObject * obj0 = 0 ; |
5669 | PyObject * obj1 = 0 ; | |
5670 | PyObject * obj2 = 0 ; | |
5671 | char *kwnames[] = { | |
5672 | (char *) "self",(char *) "text",(char *) "show", NULL | |
5673 | }; | |
5674 | ||
5675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
5676 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5677 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5678 | { |
5679 | arg2 = wxString_in_helper(obj1); | |
5680 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5681 | temp2 = true; |
d14a1e28 | 5682 | } |
093d3ff1 | 5683 | { |
32fe5131 | 5684 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
5685 | if (SWIG_arg_fail(3)) SWIG_fail; |
5686 | } | |
d14a1e28 RD |
5687 | { |
5688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5689 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
5690 | ||
5691 | wxPyEndAllowThreads(__tstate); | |
5692 | if (PyErr_Occurred()) SWIG_fail; | |
5693 | } | |
5694 | Py_INCREF(Py_None); resultobj = Py_None; | |
5695 | { | |
5696 | if (temp2) | |
5697 | delete arg2; | |
5698 | } | |
5699 | return resultobj; | |
5700 | fail: | |
5701 | { | |
5702 | if (temp2) | |
5703 | delete arg2; | |
5704 | } | |
5705 | return NULL; | |
5706 | } | |
5707 | ||
5708 | ||
c32bde28 | 5709 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5710 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5711 | wxFrame *arg1 = (wxFrame *) 0 ; |
5712 | wxMenu *arg2 = (wxMenu *) NULL ; | |
5713 | PyObject * obj0 = 0 ; | |
5714 | PyObject * obj1 = 0 ; | |
5715 | char *kwnames[] = { | |
5716 | (char *) "self",(char *) "menu", NULL | |
5717 | }; | |
5718 | ||
5719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5720 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5721 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 5722 | if (obj1) { |
093d3ff1 RD |
5723 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); |
5724 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5725 | } |
5726 | { | |
5727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5728 | (arg1)->DoMenuUpdates(arg2); | |
5729 | ||
5730 | wxPyEndAllowThreads(__tstate); | |
5731 | if (PyErr_Occurred()) SWIG_fail; | |
5732 | } | |
5733 | Py_INCREF(Py_None); resultobj = Py_None; | |
5734 | return resultobj; | |
5735 | fail: | |
5736 | return NULL; | |
5737 | } | |
5738 | ||
5739 | ||
c32bde28 | 5740 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5741 | PyObject *resultobj = NULL; |
093d3ff1 | 5742 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
5743 | wxVisualAttributes result; |
5744 | PyObject * obj0 = 0 ; | |
5745 | char *kwnames[] = { | |
5746 | (char *) "variant", NULL | |
5747 | }; | |
5748 | ||
5749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5750 | if (obj0) { | |
093d3ff1 | 5751 | { |
32fe5131 | 5752 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
5753 | if (SWIG_arg_fail(1)) SWIG_fail; |
5754 | } | |
22bfe96c RD |
5755 | } |
5756 | { | |
e3b71cb8 | 5757 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 5758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 5759 | result = wxFrame::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
5760 | |
5761 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5762 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
5763 | } |
5764 | { | |
5765 | wxVisualAttributes * resultptr; | |
32fe5131 | 5766 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
5767 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
5768 | } | |
5769 | return resultobj; | |
5770 | fail: | |
5771 | return NULL; | |
5772 | } | |
5773 | ||
5774 | ||
c32bde28 | 5775 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5776 | PyObject *obj; |
5777 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5778 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
5779 | Py_INCREF(obj); | |
5780 | return Py_BuildValue((char *)""); | |
5781 | } | |
c32bde28 | 5782 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5783 | PyObject *resultobj = NULL; |
d14a1e28 | 5784 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 RD |
5785 | int arg2 = (int) (int)-1 ; |
5786 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
5787 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
5788 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5789 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5790 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5791 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5792 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5793 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
5794 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5795 | wxDialog *result; | |
ae8162c8 | 5796 | bool temp3 = false ; |
d14a1e28 RD |
5797 | wxPoint temp4 ; |
5798 | wxSize temp5 ; | |
ae8162c8 | 5799 | bool temp7 = false ; |
d14a1e28 | 5800 | PyObject * obj0 = 0 ; |
994141e6 | 5801 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5802 | PyObject * obj2 = 0 ; |
5803 | PyObject * obj3 = 0 ; | |
5804 | PyObject * obj4 = 0 ; | |
994141e6 | 5805 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5806 | PyObject * obj6 = 0 ; |
5807 | char *kwnames[] = { | |
5808 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5809 | }; | |
5810 | ||
248ed943 | 5811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
5812 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
5813 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 5814 | if (obj1) { |
093d3ff1 | 5815 | { |
32fe5131 | 5816 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5817 | if (SWIG_arg_fail(2)) SWIG_fail; |
5818 | } | |
248ed943 RD |
5819 | } |
5820 | if (obj2) { | |
5821 | { | |
5822 | arg3 = wxString_in_helper(obj2); | |
5823 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 5824 | temp3 = true; |
248ed943 | 5825 | } |
d14a1e28 RD |
5826 | } |
5827 | if (obj3) { | |
5828 | { | |
5829 | arg4 = &temp4; | |
5830 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5831 | } | |
5832 | } | |
5833 | if (obj4) { | |
5834 | { | |
5835 | arg5 = &temp5; | |
5836 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5837 | } | |
5838 | } | |
994141e6 | 5839 | if (obj5) { |
093d3ff1 | 5840 | { |
32fe5131 | 5841 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
5842 | if (SWIG_arg_fail(6)) SWIG_fail; |
5843 | } | |
994141e6 | 5844 | } |
d14a1e28 RD |
5845 | if (obj6) { |
5846 | { | |
5847 | arg7 = wxString_in_helper(obj6); | |
5848 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 5849 | temp7 = true; |
d14a1e28 RD |
5850 | } |
5851 | } | |
5852 | { | |
e3b71cb8 | 5853 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5855 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5856 | ||
5857 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5858 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5859 | } |
b0f7404b | 5860 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
5861 | { |
5862 | if (temp3) | |
5863 | delete arg3; | |
5864 | } | |
5865 | { | |
5866 | if (temp7) | |
5867 | delete arg7; | |
5868 | } | |
5869 | return resultobj; | |
5870 | fail: | |
5871 | { | |
5872 | if (temp3) | |
5873 | delete arg3; | |
5874 | } | |
5875 | { | |
5876 | if (temp7) | |
5877 | delete arg7; | |
5878 | } | |
5879 | return NULL; | |
5880 | } | |
5881 | ||
5882 | ||
c32bde28 | 5883 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5884 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5885 | wxDialog *result; |
5886 | char *kwnames[] = { | |
5887 | NULL | |
5888 | }; | |
5889 | ||
5890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
5891 | { | |
e3b71cb8 | 5892 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5894 | result = (wxDialog *)new wxDialog(); | |
5895 | ||
5896 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5897 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5898 | } |
b0f7404b | 5899 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
5900 | return resultobj; |
5901 | fail: | |
5902 | return NULL; | |
5903 | } | |
5904 | ||
5905 | ||
c32bde28 | 5906 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5907 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5908 | wxDialog *arg1 = (wxDialog *) 0 ; |
5909 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
5910 | int arg3 = (int) (int)-1 ; |
5911 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
5912 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
5913 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
5914 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
5915 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
5916 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
5917 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5918 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
5919 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
5920 | bool result; | |
ae8162c8 | 5921 | bool temp4 = false ; |
d14a1e28 RD |
5922 | wxPoint temp5 ; |
5923 | wxSize temp6 ; | |
ae8162c8 | 5924 | bool temp8 = false ; |
d14a1e28 RD |
5925 | PyObject * obj0 = 0 ; |
5926 | PyObject * obj1 = 0 ; | |
994141e6 | 5927 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5928 | PyObject * obj3 = 0 ; |
5929 | PyObject * obj4 = 0 ; | |
5930 | PyObject * obj5 = 0 ; | |
994141e6 | 5931 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
5932 | PyObject * obj7 = 0 ; |
5933 | char *kwnames[] = { | |
5934 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5935 | }; | |
5936 | ||
248ed943 | 5937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
5938 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5939 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5940 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
5941 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 5942 | if (obj2) { |
093d3ff1 | 5943 | { |
32fe5131 | 5944 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5945 | if (SWIG_arg_fail(3)) SWIG_fail; |
5946 | } | |
248ed943 RD |
5947 | } |
5948 | if (obj3) { | |
5949 | { | |
5950 | arg4 = wxString_in_helper(obj3); | |
5951 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 5952 | temp4 = true; |
248ed943 | 5953 | } |
d14a1e28 RD |
5954 | } |
5955 | if (obj4) { | |
5956 | { | |
5957 | arg5 = &temp5; | |
5958 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
5959 | } | |
5960 | } | |
5961 | if (obj5) { | |
5962 | { | |
5963 | arg6 = &temp6; | |
5964 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
5965 | } | |
5966 | } | |
994141e6 | 5967 | if (obj6) { |
093d3ff1 | 5968 | { |
32fe5131 | 5969 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
093d3ff1 RD |
5970 | if (SWIG_arg_fail(7)) SWIG_fail; |
5971 | } | |
994141e6 | 5972 | } |
d14a1e28 RD |
5973 | if (obj7) { |
5974 | { | |
5975 | arg8 = wxString_in_helper(obj7); | |
5976 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 5977 | temp8 = true; |
d14a1e28 RD |
5978 | } |
5979 | } | |
5980 | { | |
5981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5982 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
5983 | ||
5984 | wxPyEndAllowThreads(__tstate); | |
5985 | if (PyErr_Occurred()) SWIG_fail; | |
5986 | } | |
4f89f6a3 RD |
5987 | { |
5988 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5989 | } | |
d14a1e28 RD |
5990 | { |
5991 | if (temp4) | |
5992 | delete arg4; | |
5993 | } | |
5994 | { | |
5995 | if (temp8) | |
5996 | delete arg8; | |
5997 | } | |
5998 | return resultobj; | |
5999 | fail: | |
6000 | { | |
6001 | if (temp4) | |
6002 | delete arg4; | |
6003 | } | |
6004 | { | |
6005 | if (temp8) | |
6006 | delete arg8; | |
6007 | } | |
6008 | return NULL; | |
6009 | } | |
6010 | ||
6011 | ||
c32bde28 | 6012 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6013 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6014 | wxDialog *arg1 = (wxDialog *) 0 ; |
6015 | int arg2 ; | |
6016 | PyObject * obj0 = 0 ; | |
994141e6 | 6017 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6018 | char *kwnames[] = { |
6019 | (char *) "self",(char *) "returnCode", NULL | |
6020 | }; | |
6021 | ||
994141e6 | 6022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
6023 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6024 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6025 | { | |
32fe5131 | 6026 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
6027 | if (SWIG_arg_fail(2)) SWIG_fail; |
6028 | } | |
d14a1e28 RD |
6029 | { |
6030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6031 | (arg1)->SetReturnCode(arg2); | |
6032 | ||
6033 | wxPyEndAllowThreads(__tstate); | |
6034 | if (PyErr_Occurred()) SWIG_fail; | |
6035 | } | |
6036 | Py_INCREF(Py_None); resultobj = Py_None; | |
6037 | return resultobj; | |
6038 | fail: | |
6039 | return NULL; | |
6040 | } | |
6041 | ||
6042 | ||
c32bde28 | 6043 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6044 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6045 | wxDialog *arg1 = (wxDialog *) 0 ; |
6046 | int result; | |
6047 | PyObject * obj0 = 0 ; | |
6048 | char *kwnames[] = { | |
6049 | (char *) "self", NULL | |
6050 | }; | |
6051 | ||
6052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6055 | { |
6056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6057 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
6058 | ||
6059 | wxPyEndAllowThreads(__tstate); | |
6060 | if (PyErr_Occurred()) SWIG_fail; | |
6061 | } | |
093d3ff1 | 6062 | { |
32fe5131 | 6063 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 6064 | } |
d14a1e28 RD |
6065 | return resultobj; |
6066 | fail: | |
6067 | return NULL; | |
6068 | } | |
6069 | ||
6070 | ||
b1fcee84 RD |
6071 | static PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *, PyObject *args, PyObject *kwargs) { |
6072 | PyObject *resultobj = NULL; | |
6073 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6074 | int arg2 ; | |
6075 | PyObject * obj0 = 0 ; | |
6076 | PyObject * obj1 = 0 ; | |
6077 | char *kwnames[] = { | |
6078 | (char *) "self",(char *) "affirmativeId", NULL | |
6079 | }; | |
6080 | ||
6081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) goto fail; | |
6082 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); | |
6083 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6084 | { | |
6085 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6086 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6087 | } | |
6088 | { | |
6089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6090 | (arg1)->SetAffirmativeId(arg2); | |
6091 | ||
6092 | wxPyEndAllowThreads(__tstate); | |
6093 | if (PyErr_Occurred()) SWIG_fail; | |
6094 | } | |
6095 | Py_INCREF(Py_None); resultobj = Py_None; | |
6096 | return resultobj; | |
6097 | fail: | |
6098 | return NULL; | |
6099 | } | |
6100 | ||
6101 | ||
6102 | static PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *, PyObject *args, PyObject *kwargs) { | |
6103 | PyObject *resultobj = NULL; | |
6104 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6105 | int result; | |
6106 | PyObject * obj0 = 0 ; | |
6107 | char *kwnames[] = { | |
6108 | (char *) "self", NULL | |
6109 | }; | |
6110 | ||
6111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetAffirmativeId",kwnames,&obj0)) goto fail; | |
6112 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); | |
6113 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6114 | { | |
6115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6116 | result = (int)((wxDialog const *)arg1)->GetAffirmativeId(); | |
6117 | ||
6118 | wxPyEndAllowThreads(__tstate); | |
6119 | if (PyErr_Occurred()) SWIG_fail; | |
6120 | } | |
6121 | { | |
6122 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6123 | } | |
6124 | return resultobj; | |
6125 | fail: | |
6126 | return NULL; | |
6127 | } | |
6128 | ||
6129 | ||
6130 | static PyObject *_wrap_Dialog_SetEscapeId(PyObject *, PyObject *args, PyObject *kwargs) { | |
6131 | PyObject *resultobj = NULL; | |
6132 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6133 | int arg2 ; | |
6134 | PyObject * obj0 = 0 ; | |
6135 | PyObject * obj1 = 0 ; | |
6136 | char *kwnames[] = { | |
6137 | (char *) "self",(char *) "escapeId", NULL | |
6138 | }; | |
6139 | ||
6140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) goto fail; | |
6141 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); | |
6142 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6143 | { | |
6144 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6145 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6146 | } | |
6147 | { | |
6148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6149 | (arg1)->SetEscapeId(arg2); | |
6150 | ||
6151 | wxPyEndAllowThreads(__tstate); | |
6152 | if (PyErr_Occurred()) SWIG_fail; | |
6153 | } | |
6154 | Py_INCREF(Py_None); resultobj = Py_None; | |
6155 | return resultobj; | |
6156 | fail: | |
6157 | return NULL; | |
6158 | } | |
6159 | ||
6160 | ||
6161 | static PyObject *_wrap_Dialog_GetEscapeId(PyObject *, PyObject *args, PyObject *kwargs) { | |
6162 | PyObject *resultobj = NULL; | |
6163 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6164 | int result; | |
6165 | PyObject * obj0 = 0 ; | |
6166 | char *kwnames[] = { | |
6167 | (char *) "self", NULL | |
6168 | }; | |
6169 | ||
6170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetEscapeId",kwnames,&obj0)) goto fail; | |
6171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); | |
6172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6173 | { | |
6174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6175 | result = (int)((wxDialog const *)arg1)->GetEscapeId(); | |
6176 | ||
6177 | wxPyEndAllowThreads(__tstate); | |
6178 | if (PyErr_Occurred()) SWIG_fail; | |
6179 | } | |
6180 | { | |
6181 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6182 | } | |
6183 | return resultobj; | |
6184 | fail: | |
6185 | return NULL; | |
6186 | } | |
6187 | ||
6188 | ||
c32bde28 | 6189 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6190 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6191 | wxDialog *arg1 = (wxDialog *) 0 ; |
6192 | wxString *arg2 = 0 ; | |
6193 | wxSizer *result; | |
ae8162c8 | 6194 | bool temp2 = false ; |
d14a1e28 RD |
6195 | PyObject * obj0 = 0 ; |
6196 | PyObject * obj1 = 0 ; | |
6197 | char *kwnames[] = { | |
6198 | (char *) "self",(char *) "message", NULL | |
6199 | }; | |
6200 | ||
6201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6202 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6203 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6204 | { |
6205 | arg2 = wxString_in_helper(obj1); | |
6206 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 6207 | temp2 = true; |
d14a1e28 RD |
6208 | } |
6209 | { | |
6210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6211 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
6212 | ||
6213 | wxPyEndAllowThreads(__tstate); | |
6214 | if (PyErr_Occurred()) SWIG_fail; | |
6215 | } | |
6216 | { | |
7e08d4ef | 6217 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
6218 | } |
6219 | { | |
6220 | if (temp2) | |
6221 | delete arg2; | |
6222 | } | |
6223 | return resultobj; | |
6224 | fail: | |
6225 | { | |
6226 | if (temp2) | |
6227 | delete arg2; | |
6228 | } | |
6229 | return NULL; | |
6230 | } | |
6231 | ||
6232 | ||
c32bde28 | 6233 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6234 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6235 | wxDialog *arg1 = (wxDialog *) 0 ; |
6236 | long arg2 ; | |
32fe5131 RD |
6237 | bool arg3 = (bool) false ; |
6238 | int arg4 = (int) 0 ; | |
d14a1e28 RD |
6239 | wxSizer *result; |
6240 | PyObject * obj0 = 0 ; | |
994141e6 | 6241 | PyObject * obj1 = 0 ; |
32fe5131 RD |
6242 | PyObject * obj2 = 0 ; |
6243 | PyObject * obj3 = 0 ; | |
d14a1e28 | 6244 | char *kwnames[] = { |
32fe5131 | 6245 | (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL |
d14a1e28 RD |
6246 | }; |
6247 | ||
32fe5131 | 6248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
6249 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6250 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6251 | { | |
32fe5131 | 6252 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
6253 | if (SWIG_arg_fail(2)) SWIG_fail; |
6254 | } | |
32fe5131 RD |
6255 | if (obj2) { |
6256 | { | |
6257 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
6258 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6259 | } | |
6260 | } | |
6261 | if (obj3) { | |
6262 | { | |
6263 | arg4 = static_cast<int >(SWIG_As_int(obj3)); | |
6264 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6265 | } | |
6266 | } | |
d14a1e28 RD |
6267 | { |
6268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 6269 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4); |
d14a1e28 RD |
6270 | |
6271 | wxPyEndAllowThreads(__tstate); | |
6272 | if (PyErr_Occurred()) SWIG_fail; | |
6273 | } | |
6274 | { | |
7e08d4ef | 6275 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
6276 | } |
6277 | return resultobj; | |
6278 | fail: | |
6279 | return NULL; | |
6280 | } | |
6281 | ||
6282 | ||
e505d15e | 6283 | static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6284 | PyObject *resultobj = NULL; |
e505d15e RD |
6285 | wxDialog *arg1 = (wxDialog *) 0 ; |
6286 | long arg2 ; | |
6287 | wxStdDialogButtonSizer *result; | |
6288 | PyObject * obj0 = 0 ; | |
6289 | PyObject * obj1 = 0 ; | |
6290 | char *kwnames[] = { | |
6291 | (char *) "self",(char *) "flags", NULL | |
6292 | }; | |
6293 | ||
6294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
6295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); | |
6296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6297 | { | |
32fe5131 | 6298 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
e505d15e RD |
6299 | if (SWIG_arg_fail(2)) SWIG_fail; |
6300 | } | |
6301 | { | |
6302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6303 | result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2); | |
6304 | ||
6305 | wxPyEndAllowThreads(__tstate); | |
6306 | if (PyErr_Occurred()) SWIG_fail; | |
6307 | } | |
6308 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0); | |
6309 | return resultobj; | |
6310 | fail: | |
6311 | return NULL; | |
6312 | } | |
6313 | ||
6314 | ||
c32bde28 | 6315 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6316 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6317 | wxDialog *arg1 = (wxDialog *) 0 ; |
6318 | bool result; | |
6319 | PyObject * obj0 = 0 ; | |
6320 | char *kwnames[] = { | |
6321 | (char *) "self", NULL | |
6322 | }; | |
6323 | ||
6324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6325 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6327 | { |
6328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6329 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
6330 | ||
6331 | wxPyEndAllowThreads(__tstate); | |
6332 | if (PyErr_Occurred()) SWIG_fail; | |
6333 | } | |
4f89f6a3 RD |
6334 | { |
6335 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6336 | } | |
d14a1e28 RD |
6337 | return resultobj; |
6338 | fail: | |
6339 | return NULL; | |
6340 | } | |
6341 | ||
6342 | ||
c32bde28 | 6343 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6344 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6345 | wxDialog *arg1 = (wxDialog *) 0 ; |
6346 | int result; | |
6347 | PyObject * obj0 = 0 ; | |
6348 | char *kwnames[] = { | |
6349 | (char *) "self", NULL | |
6350 | }; | |
6351 | ||
6352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6355 | { |
6356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6357 | result = (int)(arg1)->ShowModal(); | |
6358 | ||
6359 | wxPyEndAllowThreads(__tstate); | |
6360 | if (PyErr_Occurred()) SWIG_fail; | |
6361 | } | |
093d3ff1 | 6362 | { |
32fe5131 | 6363 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 6364 | } |
d14a1e28 RD |
6365 | return resultobj; |
6366 | fail: | |
6367 | return NULL; | |
6368 | } | |
6369 | ||
6370 | ||
c32bde28 | 6371 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6372 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6373 | wxDialog *arg1 = (wxDialog *) 0 ; |
6374 | int arg2 ; | |
6375 | PyObject * obj0 = 0 ; | |
994141e6 | 6376 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6377 | char *kwnames[] = { |
6378 | (char *) "self",(char *) "retCode", NULL | |
6379 | }; | |
6380 | ||
994141e6 | 6381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
6382 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6383 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6384 | { | |
32fe5131 | 6385 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
6386 | if (SWIG_arg_fail(2)) SWIG_fail; |
6387 | } | |
d14a1e28 RD |
6388 | { |
6389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6390 | (arg1)->EndModal(arg2); | |
6391 | ||
6392 | wxPyEndAllowThreads(__tstate); | |
6393 | if (PyErr_Occurred()) SWIG_fail; | |
6394 | } | |
6395 | Py_INCREF(Py_None); resultobj = Py_None; | |
6396 | return resultobj; | |
6397 | fail: | |
6398 | return NULL; | |
6399 | } | |
6400 | ||
6401 | ||
c32bde28 | 6402 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6403 | PyObject *resultobj = NULL; |
093d3ff1 | 6404 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
6405 | wxVisualAttributes result; |
6406 | PyObject * obj0 = 0 ; | |
6407 | char *kwnames[] = { | |
6408 | (char *) "variant", NULL | |
6409 | }; | |
6410 | ||
6411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6412 | if (obj0) { | |
093d3ff1 | 6413 | { |
32fe5131 | 6414 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
6415 | if (SWIG_arg_fail(1)) SWIG_fail; |
6416 | } | |
22bfe96c RD |
6417 | } |
6418 | { | |
e3b71cb8 | 6419 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 6420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 6421 | result = wxDialog::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
6422 | |
6423 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6424 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
6425 | } |
6426 | { | |
6427 | wxVisualAttributes * resultptr; | |
32fe5131 | 6428 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
6429 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
6430 | } | |
6431 | return resultobj; | |
6432 | fail: | |
6433 | return NULL; | |
6434 | } | |
6435 | ||
6436 | ||
c32bde28 | 6437 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6438 | PyObject *obj; |
6439 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6440 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
6441 | Py_INCREF(obj); | |
6442 | return Py_BuildValue((char *)""); | |
6443 | } | |
c32bde28 | 6444 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6445 | PyObject *resultobj = NULL; |
d14a1e28 | 6446 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 RD |
6447 | int arg2 = (int) (int)-1 ; |
6448 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6449 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
6450 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6451 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6452 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6453 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6454 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
6455 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
6456 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6457 | wxMiniFrame *result; | |
ae8162c8 | 6458 | bool temp3 = false ; |
d14a1e28 RD |
6459 | wxPoint temp4 ; |
6460 | wxSize temp5 ; | |
ae8162c8 | 6461 | bool temp7 = false ; |
d14a1e28 | 6462 | PyObject * obj0 = 0 ; |
994141e6 | 6463 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6464 | PyObject * obj2 = 0 ; |
6465 | PyObject * obj3 = 0 ; | |
6466 | PyObject * obj4 = 0 ; | |
994141e6 | 6467 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6468 | PyObject * obj6 = 0 ; |
6469 | char *kwnames[] = { | |
6470 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6471 | }; | |
6472 | ||
248ed943 | 6473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
6474 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6475 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 6476 | if (obj1) { |
093d3ff1 | 6477 | { |
32fe5131 | 6478 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
6479 | if (SWIG_arg_fail(2)) SWIG_fail; |
6480 | } | |
248ed943 RD |
6481 | } |
6482 | if (obj2) { | |
6483 | { | |
6484 | arg3 = wxString_in_helper(obj2); | |
6485 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 6486 | temp3 = true; |
248ed943 | 6487 | } |
d14a1e28 RD |
6488 | } |
6489 | if (obj3) { | |
6490 | { | |
6491 | arg4 = &temp4; | |
6492 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6493 | } | |
6494 | } | |
6495 | if (obj4) { | |
6496 | { | |
6497 | arg5 = &temp5; | |
6498 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6499 | } | |
6500 | } | |
994141e6 | 6501 | if (obj5) { |
093d3ff1 | 6502 | { |
32fe5131 | 6503 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
6504 | if (SWIG_arg_fail(6)) SWIG_fail; |
6505 | } | |
994141e6 | 6506 | } |
d14a1e28 RD |
6507 | if (obj6) { |
6508 | { | |
6509 | arg7 = wxString_in_helper(obj6); | |
6510 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 6511 | temp7 = true; |
d14a1e28 RD |
6512 | } |
6513 | } | |
6514 | { | |
e3b71cb8 | 6515 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6517 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6518 | ||
6519 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6520 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6521 | } |
15afbcd0 | 6522 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
6523 | { |
6524 | if (temp3) | |
6525 | delete arg3; | |
6526 | } | |
6527 | { | |
6528 | if (temp7) | |
6529 | delete arg7; | |
6530 | } | |
6531 | return resultobj; | |
6532 | fail: | |
6533 | { | |
6534 | if (temp3) | |
6535 | delete arg3; | |
6536 | } | |
6537 | { | |
6538 | if (temp7) | |
6539 | delete arg7; | |
6540 | } | |
6541 | return NULL; | |
6542 | } | |
6543 | ||
6544 | ||
c32bde28 | 6545 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6546 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6547 | wxMiniFrame *result; |
6548 | char *kwnames[] = { | |
6549 | NULL | |
6550 | }; | |
6551 | ||
6552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
6553 | { | |
e3b71cb8 | 6554 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6556 | result = (wxMiniFrame *)new wxMiniFrame(); | |
6557 | ||
6558 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6559 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6560 | } |
15afbcd0 | 6561 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
6562 | return resultobj; |
6563 | fail: | |
6564 | return NULL; | |
6565 | } | |
6566 | ||
6567 | ||
c32bde28 | 6568 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6569 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6570 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; |
6571 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
6572 | int arg3 = (int) (int)-1 ; |
6573 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
6574 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
6575 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
6576 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
6577 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
6578 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
6579 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
6580 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
6581 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
6582 | bool result; | |
ae8162c8 | 6583 | bool temp4 = false ; |
d14a1e28 RD |
6584 | wxPoint temp5 ; |
6585 | wxSize temp6 ; | |
ae8162c8 | 6586 | bool temp8 = false ; |
d14a1e28 RD |
6587 | PyObject * obj0 = 0 ; |
6588 | PyObject * obj1 = 0 ; | |
994141e6 | 6589 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6590 | PyObject * obj3 = 0 ; |
6591 | PyObject * obj4 = 0 ; | |
6592 | PyObject * obj5 = 0 ; | |
994141e6 | 6593 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
6594 | PyObject * obj7 = 0 ; |
6595 | char *kwnames[] = { | |
6596 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6597 | }; | |
6598 | ||
248ed943 | 6599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
6600 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0); |
6601 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6602 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6603 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 6604 | if (obj2) { |
093d3ff1 | 6605 | { |
32fe5131 | 6606 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
6607 | if (SWIG_arg_fail(3)) SWIG_fail; |
6608 | } | |
248ed943 RD |
6609 | } |
6610 | if (obj3) { | |
6611 | { | |
6612 | arg4 = wxString_in_helper(obj3); | |
6613 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 6614 | temp4 = true; |
248ed943 | 6615 | } |
d14a1e28 RD |
6616 | } |
6617 | if (obj4) { | |
6618 | { | |
6619 | arg5 = &temp5; | |
6620 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
6621 | } | |
6622 | } | |
6623 | if (obj5) { | |
6624 | { | |
6625 | arg6 = &temp6; | |
6626 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
6627 | } | |
6628 | } | |
994141e6 | 6629 | if (obj6) { |
093d3ff1 | 6630 | { |
32fe5131 | 6631 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
093d3ff1 RD |
6632 | if (SWIG_arg_fail(7)) SWIG_fail; |
6633 | } | |
994141e6 | 6634 | } |
d14a1e28 RD |
6635 | if (obj7) { |
6636 | { | |
6637 | arg8 = wxString_in_helper(obj7); | |
6638 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 6639 | temp8 = true; |
d14a1e28 RD |
6640 | } |
6641 | } | |
6642 | { | |
6643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6644 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
6645 | ||
6646 | wxPyEndAllowThreads(__tstate); | |
6647 | if (PyErr_Occurred()) SWIG_fail; | |
6648 | } | |
4f89f6a3 RD |
6649 | { |
6650 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6651 | } | |
d14a1e28 RD |
6652 | { |
6653 | if (temp4) | |
6654 | delete arg4; | |
6655 | } | |
6656 | { | |
6657 | if (temp8) | |
6658 | delete arg8; | |
6659 | } | |
6660 | return resultobj; | |
6661 | fail: | |
6662 | { | |
6663 | if (temp4) | |
6664 | delete arg4; | |
6665 | } | |
6666 | { | |
6667 | if (temp8) | |
6668 | delete arg8; | |
6669 | } | |
6670 | return NULL; | |
6671 | } | |
6672 | ||
6673 | ||
c32bde28 | 6674 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6675 | PyObject *obj; |
6676 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6677 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
6678 | Py_INCREF(obj); | |
6679 | return Py_BuildValue((char *)""); | |
6680 | } | |
c32bde28 | 6681 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6682 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6683 | wxBitmap *arg1 = 0 ; |
6684 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 6685 | int arg3 ; |
d14a1e28 RD |
6686 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6687 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6688 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6689 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6690 | long arg6 = (long) wxNO_BORDER ; | |
6691 | wxSplashScreenWindow *result; | |
6692 | wxPoint temp4 ; | |
6693 | wxSize temp5 ; | |
6694 | PyObject * obj0 = 0 ; | |
6695 | PyObject * obj1 = 0 ; | |
994141e6 | 6696 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6697 | PyObject * obj3 = 0 ; |
6698 | PyObject * obj4 = 0 ; | |
994141e6 | 6699 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6700 | char *kwnames[] = { |
6701 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6702 | }; | |
6703 | ||
994141e6 | 6704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
6705 | { |
6706 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6707 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6708 | if (arg1 == NULL) { | |
6709 | SWIG_null_ref("wxBitmap"); | |
6710 | } | |
6711 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6712 | } | |
6713 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6714 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6715 | { | |
32fe5131 | 6716 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
6717 | if (SWIG_arg_fail(3)) SWIG_fail; |
6718 | } | |
d14a1e28 RD |
6719 | if (obj3) { |
6720 | { | |
6721 | arg4 = &temp4; | |
6722 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6723 | } | |
6724 | } | |
6725 | if (obj4) { | |
6726 | { | |
6727 | arg5 = &temp5; | |
6728 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6729 | } | |
6730 | } | |
994141e6 | 6731 | if (obj5) { |
093d3ff1 | 6732 | { |
32fe5131 | 6733 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
6734 | if (SWIG_arg_fail(6)) SWIG_fail; |
6735 | } | |
994141e6 | 6736 | } |
d14a1e28 | 6737 | { |
e3b71cb8 | 6738 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6740 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
6741 | ||
6742 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6743 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6744 | } |
15afbcd0 | 6745 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
6746 | return resultobj; |
6747 | fail: | |
6748 | return NULL; | |
6749 | } | |
6750 | ||
6751 | ||
c32bde28 | 6752 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6753 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6754 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; |
6755 | wxBitmap *arg2 = 0 ; | |
6756 | PyObject * obj0 = 0 ; | |
6757 | PyObject * obj1 = 0 ; | |
6758 | char *kwnames[] = { | |
6759 | (char *) "self",(char *) "bitmap", NULL | |
6760 | }; | |
6761 | ||
6762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6763 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6764 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6765 | { | |
6766 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6767 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6768 | if (arg2 == NULL) { | |
6769 | SWIG_null_ref("wxBitmap"); | |
6770 | } | |
6771 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
6772 | } |
6773 | { | |
6774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6775 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
6776 | ||
6777 | wxPyEndAllowThreads(__tstate); | |
6778 | if (PyErr_Occurred()) SWIG_fail; | |
6779 | } | |
6780 | Py_INCREF(Py_None); resultobj = Py_None; | |
6781 | return resultobj; | |
6782 | fail: | |
6783 | return NULL; | |
6784 | } | |
6785 | ||
6786 | ||
c32bde28 | 6787 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6788 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6789 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; |
6790 | wxBitmap *result; | |
6791 | PyObject * obj0 = 0 ; | |
6792 | char *kwnames[] = { | |
6793 | (char *) "self", NULL | |
6794 | }; | |
6795 | ||
6796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6797 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6798 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6799 | { |
6800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6801 | { | |
6802 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
6803 | result = (wxBitmap *) &_result_ref; | |
6804 | } | |
6805 | ||
6806 | wxPyEndAllowThreads(__tstate); | |
6807 | if (PyErr_Occurred()) SWIG_fail; | |
6808 | } | |
4276dc52 RD |
6809 | { |
6810 | wxBitmap* resultptr = new wxBitmap(*result); | |
6811 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
6812 | } | |
d14a1e28 RD |
6813 | return resultobj; |
6814 | fail: | |
6815 | return NULL; | |
6816 | } | |
6817 | ||
6818 | ||
c32bde28 | 6819 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6820 | PyObject *obj; |
6821 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6822 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
6823 | Py_INCREF(obj); | |
6824 | return Py_BuildValue((char *)""); | |
6825 | } | |
c32bde28 | 6826 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6827 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6828 | wxBitmap *arg1 = 0 ; |
6829 | long arg2 ; | |
6830 | int arg3 ; | |
6831 | wxWindow *arg4 = (wxWindow *) 0 ; | |
248ed943 | 6832 | int arg5 = (int) -1 ; |
d14a1e28 RD |
6833 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
6834 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
6835 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
6836 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
6837 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
6838 | wxSplashScreen *result; | |
6839 | wxPoint temp6 ; | |
6840 | wxSize temp7 ; | |
6841 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6842 | PyObject * obj1 = 0 ; |
6843 | PyObject * obj2 = 0 ; | |
d14a1e28 | 6844 | PyObject * obj3 = 0 ; |
994141e6 | 6845 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6846 | PyObject * obj5 = 0 ; |
6847 | PyObject * obj6 = 0 ; | |
994141e6 | 6848 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
6849 | char *kwnames[] = { |
6850 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6851 | }; | |
6852 | ||
248ed943 | 6853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
6854 | { |
6855 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6856 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6857 | if (arg1 == NULL) { | |
6858 | SWIG_null_ref("wxBitmap"); | |
6859 | } | |
6860 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6861 | } | |
6862 | { | |
32fe5131 | 6863 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
6864 | if (SWIG_arg_fail(2)) SWIG_fail; |
6865 | } | |
6866 | { | |
32fe5131 | 6867 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
6868 | if (SWIG_arg_fail(3)) SWIG_fail; |
6869 | } | |
6870 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6871 | if (SWIG_arg_fail(4)) SWIG_fail; | |
248ed943 | 6872 | if (obj4) { |
093d3ff1 | 6873 | { |
32fe5131 | 6874 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
6875 | if (SWIG_arg_fail(5)) SWIG_fail; |
6876 | } | |
248ed943 | 6877 | } |
d14a1e28 RD |
6878 | if (obj5) { |
6879 | { | |
6880 | arg6 = &temp6; | |
6881 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
6882 | } | |
6883 | } | |
6884 | if (obj6) { | |
6885 | { | |
6886 | arg7 = &temp7; | |
6887 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
6888 | } | |
6889 | } | |
994141e6 | 6890 | if (obj7) { |
093d3ff1 | 6891 | { |
32fe5131 | 6892 | arg8 = static_cast<long >(SWIG_As_long(obj7)); |
093d3ff1 RD |
6893 | if (SWIG_arg_fail(8)) SWIG_fail; |
6894 | } | |
994141e6 | 6895 | } |
d14a1e28 | 6896 | { |
e3b71cb8 | 6897 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6899 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
6900 | ||
6901 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6902 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6903 | } |
15afbcd0 | 6904 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
6905 | return resultobj; |
6906 | fail: | |
6907 | return NULL; | |
6908 | } | |
6909 | ||
6910 | ||
c32bde28 | 6911 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6912 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6913 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; |
6914 | long result; | |
6915 | PyObject * obj0 = 0 ; | |
6916 | char *kwnames[] = { | |
6917 | (char *) "self", NULL | |
6918 | }; | |
6919 | ||
6920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6923 | { |
6924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6925 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
6926 | ||
6927 | wxPyEndAllowThreads(__tstate); | |
6928 | if (PyErr_Occurred()) SWIG_fail; | |
6929 | } | |
093d3ff1 | 6930 | { |
32fe5131 | 6931 | resultobj = SWIG_From_long(static_cast<long >(result)); |
093d3ff1 | 6932 | } |
d14a1e28 RD |
6933 | return resultobj; |
6934 | fail: | |
6935 | return NULL; | |
6936 | } | |
6937 | ||
6938 | ||
c32bde28 | 6939 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6940 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6941 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; |
6942 | wxSplashScreenWindow *result; | |
6943 | PyObject * obj0 = 0 ; | |
6944 | char *kwnames[] = { | |
6945 | (char *) "self", NULL | |
6946 | }; | |
6947 | ||
6948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6949 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6950 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6951 | { |
6952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6953 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
6954 | ||
6955 | wxPyEndAllowThreads(__tstate); | |
6956 | if (PyErr_Occurred()) SWIG_fail; | |
6957 | } | |
15afbcd0 | 6958 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
6959 | return resultobj; |
6960 | fail: | |
6961 | return NULL; | |
6962 | } | |
6963 | ||
6964 | ||
c32bde28 | 6965 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6966 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6967 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; |
6968 | int result; | |
6969 | PyObject * obj0 = 0 ; | |
6970 | char *kwnames[] = { | |
6971 | (char *) "self", NULL | |
6972 | }; | |
6973 | ||
6974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6977 | { |
6978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6979 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
6980 | ||
6981 | wxPyEndAllowThreads(__tstate); | |
6982 | if (PyErr_Occurred()) SWIG_fail; | |
6983 | } | |
093d3ff1 | 6984 | { |
32fe5131 | 6985 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 6986 | } |
d14a1e28 RD |
6987 | return resultobj; |
6988 | fail: | |
6989 | return NULL; | |
6990 | } | |
6991 | ||
6992 | ||
c32bde28 | 6993 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6994 | PyObject *obj; |
6995 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6996 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
6997 | Py_INCREF(obj); | |
6998 | return Py_BuildValue((char *)""); | |
6999 | } | |
c32bde28 | 7000 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7001 | PyObject *resultobj = NULL; |
d14a1e28 | 7002 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 7003 | int arg2 = (int) -1 ; |
6d88e192 | 7004 | long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ; |
d14a1e28 RD |
7005 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
7006 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7007 | wxStatusBar *result; | |
ae8162c8 | 7008 | bool temp4 = false ; |
d14a1e28 | 7009 | PyObject * obj0 = 0 ; |
994141e6 RD |
7010 | PyObject * obj1 = 0 ; |
7011 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7012 | PyObject * obj3 = 0 ; |
7013 | char *kwnames[] = { | |
7014 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
7015 | }; | |
7016 | ||
994141e6 | 7017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
7018 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7019 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 7020 | if (obj1) { |
093d3ff1 | 7021 | { |
32fe5131 | 7022 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7023 | if (SWIG_arg_fail(2)) SWIG_fail; |
7024 | } | |
994141e6 RD |
7025 | } |
7026 | if (obj2) { | |
093d3ff1 | 7027 | { |
32fe5131 | 7028 | arg3 = static_cast<long >(SWIG_As_long(obj2)); |
093d3ff1 RD |
7029 | if (SWIG_arg_fail(3)) SWIG_fail; |
7030 | } | |
994141e6 | 7031 | } |
d14a1e28 RD |
7032 | if (obj3) { |
7033 | { | |
7034 | arg4 = wxString_in_helper(obj3); | |
7035 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 7036 | temp4 = true; |
d14a1e28 RD |
7037 | } |
7038 | } | |
7039 | { | |
e3b71cb8 | 7040 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7042 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
7043 | ||
7044 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7045 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7046 | } |
b0f7404b | 7047 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d14a1e28 RD |
7048 | { |
7049 | if (temp4) | |
7050 | delete arg4; | |
7051 | } | |
7052 | return resultobj; | |
7053 | fail: | |
7054 | { | |
7055 | if (temp4) | |
7056 | delete arg4; | |
7057 | } | |
7058 | return NULL; | |
7059 | } | |
7060 | ||
7061 | ||
c32bde28 | 7062 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7063 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7064 | wxStatusBar *result; |
7065 | char *kwnames[] = { | |
7066 | NULL | |
7067 | }; | |
7068 | ||
7069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
7070 | { | |
e3b71cb8 | 7071 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7073 | result = (wxStatusBar *)new wxStatusBar(); | |
7074 | ||
7075 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7076 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7077 | } |
b0f7404b | 7078 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d14a1e28 RD |
7079 | return resultobj; |
7080 | fail: | |
7081 | return NULL; | |
7082 | } | |
7083 | ||
7084 | ||
c32bde28 | 7085 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7086 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7087 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7088 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 7089 | int arg3 = (int) -1 ; |
d14a1e28 RD |
7090 | long arg4 = (long) wxST_SIZEGRIP ; |
7091 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
7092 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
7093 | bool result; | |
ae8162c8 | 7094 | bool temp5 = false ; |
d14a1e28 RD |
7095 | PyObject * obj0 = 0 ; |
7096 | PyObject * obj1 = 0 ; | |
994141e6 RD |
7097 | PyObject * obj2 = 0 ; |
7098 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7099 | PyObject * obj4 = 0 ; |
7100 | char *kwnames[] = { | |
7101 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
7102 | }; | |
7103 | ||
248ed943 | 7104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
7105 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7106 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7107 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7108 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 7109 | if (obj2) { |
093d3ff1 | 7110 | { |
32fe5131 | 7111 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
7112 | if (SWIG_arg_fail(3)) SWIG_fail; |
7113 | } | |
248ed943 | 7114 | } |
994141e6 | 7115 | if (obj3) { |
093d3ff1 | 7116 | { |
32fe5131 | 7117 | arg4 = static_cast<long >(SWIG_As_long(obj3)); |
093d3ff1 RD |
7118 | if (SWIG_arg_fail(4)) SWIG_fail; |
7119 | } | |
994141e6 | 7120 | } |
d14a1e28 RD |
7121 | if (obj4) { |
7122 | { | |
7123 | arg5 = wxString_in_helper(obj4); | |
7124 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 7125 | temp5 = true; |
d14a1e28 RD |
7126 | } |
7127 | } | |
7128 | { | |
7129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7130 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
7131 | ||
7132 | wxPyEndAllowThreads(__tstate); | |
7133 | if (PyErr_Occurred()) SWIG_fail; | |
7134 | } | |
4f89f6a3 RD |
7135 | { |
7136 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7137 | } | |
d14a1e28 RD |
7138 | { |
7139 | if (temp5) | |
7140 | delete arg5; | |
7141 | } | |
7142 | return resultobj; | |
7143 | fail: | |
7144 | { | |
7145 | if (temp5) | |
7146 | delete arg5; | |
7147 | } | |
7148 | return NULL; | |
7149 | } | |
7150 | ||
7151 | ||
c32bde28 | 7152 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7153 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7154 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7155 | int arg2 = (int) 1 ; | |
7156 | PyObject * obj0 = 0 ; | |
994141e6 | 7157 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7158 | char *kwnames[] = { |
7159 | (char *) "self",(char *) "number", NULL | |
7160 | }; | |
7161 | ||
994141e6 | 7162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7163 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7164 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 7165 | if (obj1) { |
093d3ff1 | 7166 | { |
32fe5131 | 7167 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7168 | if (SWIG_arg_fail(2)) SWIG_fail; |
7169 | } | |
994141e6 | 7170 | } |
d14a1e28 RD |
7171 | { |
7172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7173 | (arg1)->SetFieldsCount(arg2); | |
7174 | ||
7175 | wxPyEndAllowThreads(__tstate); | |
7176 | if (PyErr_Occurred()) SWIG_fail; | |
7177 | } | |
7178 | Py_INCREF(Py_None); resultobj = Py_None; | |
7179 | return resultobj; | |
7180 | fail: | |
7181 | return NULL; | |
7182 | } | |
7183 | ||
7184 | ||
c32bde28 | 7185 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7186 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7187 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7188 | int result; | |
7189 | PyObject * obj0 = 0 ; | |
7190 | char *kwnames[] = { | |
7191 | (char *) "self", NULL | |
7192 | }; | |
7193 | ||
7194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7195 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7196 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7197 | { |
7198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7199 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
7200 | ||
7201 | wxPyEndAllowThreads(__tstate); | |
7202 | if (PyErr_Occurred()) SWIG_fail; | |
7203 | } | |
093d3ff1 | 7204 | { |
32fe5131 | 7205 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 7206 | } |
d14a1e28 RD |
7207 | return resultobj; |
7208 | fail: | |
7209 | return NULL; | |
7210 | } | |
7211 | ||
7212 | ||
c32bde28 | 7213 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7214 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7215 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7216 | wxString *arg2 = 0 ; | |
7217 | int arg3 = (int) 0 ; | |
ae8162c8 | 7218 | bool temp2 = false ; |
d14a1e28 RD |
7219 | PyObject * obj0 = 0 ; |
7220 | PyObject * obj1 = 0 ; | |
994141e6 | 7221 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7222 | char *kwnames[] = { |
7223 | (char *) "self",(char *) "text",(char *) "number", NULL | |
7224 | }; | |
7225 | ||
994141e6 | 7226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
7227 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7228 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7229 | { |
7230 | arg2 = wxString_in_helper(obj1); | |
7231 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7232 | temp2 = true; |
d14a1e28 | 7233 | } |
994141e6 | 7234 | if (obj2) { |
093d3ff1 | 7235 | { |
32fe5131 | 7236 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
7237 | if (SWIG_arg_fail(3)) SWIG_fail; |
7238 | } | |
994141e6 | 7239 | } |
d14a1e28 RD |
7240 | { |
7241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7242 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
7243 | ||
7244 | wxPyEndAllowThreads(__tstate); | |
7245 | if (PyErr_Occurred()) SWIG_fail; | |
7246 | } | |
7247 | Py_INCREF(Py_None); resultobj = Py_None; | |
7248 | { | |
7249 | if (temp2) | |
7250 | delete arg2; | |
7251 | } | |
7252 | return resultobj; | |
7253 | fail: | |
7254 | { | |
7255 | if (temp2) | |
7256 | delete arg2; | |
7257 | } | |
7258 | return NULL; | |
7259 | } | |
7260 | ||
7261 | ||
c32bde28 | 7262 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7263 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7264 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7265 | int arg2 = (int) 0 ; | |
7266 | wxString result; | |
7267 | PyObject * obj0 = 0 ; | |
994141e6 | 7268 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7269 | char *kwnames[] = { |
7270 | (char *) "self",(char *) "number", NULL | |
7271 | }; | |
7272 | ||
994141e6 | 7273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7274 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7275 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 7276 | if (obj1) { |
093d3ff1 | 7277 | { |
32fe5131 | 7278 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7279 | if (SWIG_arg_fail(2)) SWIG_fail; |
7280 | } | |
994141e6 | 7281 | } |
d14a1e28 RD |
7282 | { |
7283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7284 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
7285 | ||
7286 | wxPyEndAllowThreads(__tstate); | |
7287 | if (PyErr_Occurred()) SWIG_fail; | |
7288 | } | |
7289 | { | |
7290 | #if wxUSE_UNICODE | |
7291 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7292 | #else | |
7293 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7294 | #endif | |
7295 | } | |
7296 | return resultobj; | |
7297 | fail: | |
7298 | return NULL; | |
7299 | } | |
7300 | ||
7301 | ||
c32bde28 | 7302 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7303 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7304 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7305 | wxString *arg2 = 0 ; | |
7306 | int arg3 = (int) 0 ; | |
ae8162c8 | 7307 | bool temp2 = false ; |
d14a1e28 RD |
7308 | PyObject * obj0 = 0 ; |
7309 | PyObject * obj1 = 0 ; | |
994141e6 | 7310 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7311 | char *kwnames[] = { |
7312 | (char *) "self",(char *) "text",(char *) "number", NULL | |
7313 | }; | |
7314 | ||
994141e6 | 7315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
7316 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7317 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7318 | { |
7319 | arg2 = wxString_in_helper(obj1); | |
7320 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7321 | temp2 = true; |
d14a1e28 | 7322 | } |
994141e6 | 7323 | if (obj2) { |
093d3ff1 | 7324 | { |
32fe5131 | 7325 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
7326 | if (SWIG_arg_fail(3)) SWIG_fail; |
7327 | } | |
994141e6 | 7328 | } |
d14a1e28 RD |
7329 | { |
7330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7331 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
7332 | ||
7333 | wxPyEndAllowThreads(__tstate); | |
7334 | if (PyErr_Occurred()) SWIG_fail; | |
7335 | } | |
7336 | Py_INCREF(Py_None); resultobj = Py_None; | |
7337 | { | |
7338 | if (temp2) | |
7339 | delete arg2; | |
7340 | } | |
7341 | return resultobj; | |
7342 | fail: | |
7343 | { | |
7344 | if (temp2) | |
7345 | delete arg2; | |
7346 | } | |
7347 | return NULL; | |
7348 | } | |
7349 | ||
7350 | ||
c32bde28 | 7351 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7352 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7353 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7354 | int arg2 = (int) 0 ; | |
7355 | PyObject * obj0 = 0 ; | |
994141e6 | 7356 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7357 | char *kwnames[] = { |
7358 | (char *) "self",(char *) "number", NULL | |
7359 | }; | |
7360 | ||
994141e6 | 7361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7362 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7363 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 7364 | if (obj1) { |
093d3ff1 | 7365 | { |
32fe5131 | 7366 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7367 | if (SWIG_arg_fail(2)) SWIG_fail; |
7368 | } | |
994141e6 | 7369 | } |
d14a1e28 RD |
7370 | { |
7371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7372 | (arg1)->PopStatusText(arg2); | |
7373 | ||
7374 | wxPyEndAllowThreads(__tstate); | |
7375 | if (PyErr_Occurred()) SWIG_fail; | |
7376 | } | |
7377 | Py_INCREF(Py_None); resultobj = Py_None; | |
7378 | return resultobj; | |
7379 | fail: | |
7380 | return NULL; | |
7381 | } | |
7382 | ||
7383 | ||
c32bde28 | 7384 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7385 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7386 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7387 | int arg2 ; | |
7388 | int *arg3 = (int *) 0 ; | |
7389 | PyObject * obj0 = 0 ; | |
7390 | PyObject * obj1 = 0 ; | |
7391 | char *kwnames[] = { | |
7392 | (char *) "self",(char *) "widths", NULL | |
7393 | }; | |
7394 | ||
7395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7396 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7397 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7398 | { |
7399 | arg2 = PyList_Size(obj1); | |
7400 | arg3 = int_LIST_helper(obj1); | |
7401 | if (arg3 == NULL) SWIG_fail; | |
7402 | } | |
7403 | { | |
7404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7405 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
7406 | ||
7407 | wxPyEndAllowThreads(__tstate); | |
7408 | if (PyErr_Occurred()) SWIG_fail; | |
7409 | } | |
7410 | Py_INCREF(Py_None); resultobj = Py_None; | |
7411 | { | |
7412 | if (arg3) delete [] arg3; | |
7413 | } | |
7414 | return resultobj; | |
7415 | fail: | |
7416 | { | |
7417 | if (arg3) delete [] arg3; | |
7418 | } | |
7419 | return NULL; | |
7420 | } | |
7421 | ||
7422 | ||
c32bde28 | 7423 | static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7424 | PyObject *resultobj = NULL; |
f16ab95d RD |
7425 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7426 | int arg2 ; | |
7427 | int *arg3 = (int *) 0 ; | |
7428 | PyObject * obj0 = 0 ; | |
7429 | PyObject * obj1 = 0 ; | |
7430 | char *kwnames[] = { | |
7431 | (char *) "self",(char *) "styles", NULL | |
7432 | }; | |
7433 | ||
7434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7435 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7436 | if (SWIG_arg_fail(1)) SWIG_fail; | |
f16ab95d RD |
7437 | { |
7438 | arg2 = PyList_Size(obj1); | |
7439 | arg3 = int_LIST_helper(obj1); | |
7440 | if (arg3 == NULL) SWIG_fail; | |
7441 | } | |
7442 | { | |
7443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7444 | (arg1)->SetStatusStyles(arg2,(int const *)arg3); | |
7445 | ||
7446 | wxPyEndAllowThreads(__tstate); | |
7447 | if (PyErr_Occurred()) SWIG_fail; | |
7448 | } | |
7449 | Py_INCREF(Py_None); resultobj = Py_None; | |
7450 | { | |
7451 | if (arg3) delete [] arg3; | |
7452 | } | |
7453 | return resultobj; | |
7454 | fail: | |
7455 | { | |
7456 | if (arg3) delete [] arg3; | |
7457 | } | |
7458 | return NULL; | |
7459 | } | |
7460 | ||
7461 | ||
c32bde28 | 7462 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7463 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7464 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7465 | int arg2 ; | |
7722248d | 7466 | wxRect result; |
d14a1e28 | 7467 | PyObject * obj0 = 0 ; |
994141e6 | 7468 | PyObject * obj1 = 0 ; |
d14a1e28 | 7469 | char *kwnames[] = { |
7722248d | 7470 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
7471 | }; |
7472 | ||
994141e6 | 7473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7474 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7475 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7476 | { | |
32fe5131 | 7477 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7478 | if (SWIG_arg_fail(2)) SWIG_fail; |
7479 | } | |
d14a1e28 RD |
7480 | { |
7481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7722248d | 7482 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
7483 | |
7484 | wxPyEndAllowThreads(__tstate); | |
7485 | if (PyErr_Occurred()) SWIG_fail; | |
7486 | } | |
7722248d RD |
7487 | { |
7488 | wxRect * resultptr; | |
32fe5131 | 7489 | resultptr = new wxRect(static_cast<wxRect & >(result)); |
15afbcd0 | 7490 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7722248d | 7491 | } |
d14a1e28 RD |
7492 | return resultobj; |
7493 | fail: | |
7494 | return NULL; | |
7495 | } | |
7496 | ||
7497 | ||
c32bde28 | 7498 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7499 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7500 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7501 | int arg2 ; | |
7502 | PyObject * obj0 = 0 ; | |
994141e6 | 7503 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7504 | char *kwnames[] = { |
7505 | (char *) "self",(char *) "height", NULL | |
7506 | }; | |
7507 | ||
994141e6 | 7508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7511 | { | |
32fe5131 | 7512 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7513 | if (SWIG_arg_fail(2)) SWIG_fail; |
7514 | } | |
d14a1e28 RD |
7515 | { |
7516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7517 | (arg1)->SetMinHeight(arg2); | |
7518 | ||
7519 | wxPyEndAllowThreads(__tstate); | |
7520 | if (PyErr_Occurred()) SWIG_fail; | |
7521 | } | |
7522 | Py_INCREF(Py_None); resultobj = Py_None; | |
7523 | return resultobj; | |
7524 | fail: | |
7525 | return NULL; | |
7526 | } | |
7527 | ||
7528 | ||
c32bde28 | 7529 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7530 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7531 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7532 | int result; | |
7533 | PyObject * obj0 = 0 ; | |
7534 | char *kwnames[] = { | |
7535 | (char *) "self", NULL | |
7536 | }; | |
7537 | ||
7538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7539 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7540 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7541 | { |
7542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7543 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
7544 | ||
7545 | wxPyEndAllowThreads(__tstate); | |
7546 | if (PyErr_Occurred()) SWIG_fail; | |
7547 | } | |
093d3ff1 | 7548 | { |
32fe5131 | 7549 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 7550 | } |
d14a1e28 RD |
7551 | return resultobj; |
7552 | fail: | |
7553 | return NULL; | |
7554 | } | |
7555 | ||
7556 | ||
c32bde28 | 7557 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7558 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7559 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7560 | int result; | |
7561 | PyObject * obj0 = 0 ; | |
7562 | char *kwnames[] = { | |
7563 | (char *) "self", NULL | |
7564 | }; | |
7565 | ||
7566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7567 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7568 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7569 | { |
7570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7571 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
7572 | ||
7573 | wxPyEndAllowThreads(__tstate); | |
7574 | if (PyErr_Occurred()) SWIG_fail; | |
7575 | } | |
093d3ff1 | 7576 | { |
32fe5131 | 7577 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 7578 | } |
d14a1e28 RD |
7579 | return resultobj; |
7580 | fail: | |
7581 | return NULL; | |
7582 | } | |
7583 | ||
7584 | ||
c32bde28 | 7585 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7586 | PyObject *resultobj = NULL; |
093d3ff1 | 7587 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
7588 | wxVisualAttributes result; |
7589 | PyObject * obj0 = 0 ; | |
7590 | char *kwnames[] = { | |
7591 | (char *) "variant", NULL | |
7592 | }; | |
7593 | ||
7594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
7595 | if (obj0) { | |
093d3ff1 | 7596 | { |
32fe5131 | 7597 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
7598 | if (SWIG_arg_fail(1)) SWIG_fail; |
7599 | } | |
22bfe96c RD |
7600 | } |
7601 | { | |
e3b71cb8 | 7602 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 7603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 7604 | result = wxStatusBar::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
7605 | |
7606 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7607 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
7608 | } |
7609 | { | |
7610 | wxVisualAttributes * resultptr; | |
32fe5131 | 7611 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
7612 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
7613 | } | |
7614 | return resultobj; | |
7615 | fail: | |
7616 | return NULL; | |
7617 | } | |
7618 | ||
7619 | ||
c32bde28 | 7620 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7621 | PyObject *obj; |
7622 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7623 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
7624 | Py_INCREF(obj); | |
7625 | return Py_BuildValue((char *)""); | |
7626 | } | |
c32bde28 | 7627 | static int _wrap_SplitterNameStr_set(PyObject *) { |
b2dc1044 RD |
7628 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
7629 | return 1; | |
7630 | } | |
7631 | ||
7632 | ||
093d3ff1 | 7633 | static PyObject *_wrap_SplitterNameStr_get(void) { |
32fe5131 | 7634 | PyObject *pyobj = NULL; |
b2dc1044 RD |
7635 | |
7636 | { | |
7637 | #if wxUSE_UNICODE | |
7638 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7639 | #else | |
7640 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7641 | #endif | |
7642 | } | |
7643 | return pyobj; | |
7644 | } | |
7645 | ||
7646 | ||
c32bde28 | 7647 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7648 | PyObject *resultobj = NULL; |
d14a1e28 | 7649 | wxWindow *arg1 = (wxWindow *) 0 ; |
74a57fcd | 7650 | int arg2 = (int) -1 ; |
d14a1e28 RD |
7651 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7652 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7653 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7654 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7655 | long arg5 = (long) wxSP_3D ; | |
7656 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
7657 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7658 | wxSplitterWindow *result; | |
7659 | wxPoint temp3 ; | |
7660 | wxSize temp4 ; | |
ae8162c8 | 7661 | bool temp6 = false ; |
d14a1e28 | 7662 | PyObject * obj0 = 0 ; |
994141e6 | 7663 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7664 | PyObject * obj2 = 0 ; |
7665 | PyObject * obj3 = 0 ; | |
994141e6 | 7666 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7667 | PyObject * obj5 = 0 ; |
7668 | char *kwnames[] = { | |
994141e6 | 7669 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
7670 | }; |
7671 | ||
74a57fcd | 7672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
7673 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7674 | if (SWIG_arg_fail(1)) SWIG_fail; | |
74a57fcd | 7675 | if (obj1) { |
093d3ff1 | 7676 | { |
32fe5131 | 7677 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7678 | if (SWIG_arg_fail(2)) SWIG_fail; |
7679 | } | |
74a57fcd | 7680 | } |
d14a1e28 RD |
7681 | if (obj2) { |
7682 | { | |
7683 | arg3 = &temp3; | |
7684 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7685 | } | |
7686 | } | |
7687 | if (obj3) { | |
7688 | { | |
7689 | arg4 = &temp4; | |
7690 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7691 | } | |
7692 | } | |
15afbcd0 | 7693 | if (obj4) { |
093d3ff1 | 7694 | { |
32fe5131 | 7695 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
7696 | if (SWIG_arg_fail(5)) SWIG_fail; |
7697 | } | |
994141e6 | 7698 | } |
d14a1e28 RD |
7699 | if (obj5) { |
7700 | { | |
7701 | arg6 = wxString_in_helper(obj5); | |
7702 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 7703 | temp6 = true; |
d14a1e28 RD |
7704 | } |
7705 | } | |
7706 | { | |
e3b71cb8 | 7707 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7709 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7710 | ||
7711 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7712 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7713 | } |
15afbcd0 | 7714 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
7715 | { |
7716 | if (temp6) | |
7717 | delete arg6; | |
7718 | } | |
7719 | return resultobj; | |
7720 | fail: | |
7721 | { | |
7722 | if (temp6) | |
7723 | delete arg6; | |
7724 | } | |
7725 | return NULL; | |
7726 | } | |
7727 | ||
7728 | ||
c32bde28 | 7729 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7730 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7731 | wxSplitterWindow *result; |
7732 | char *kwnames[] = { | |
7733 | NULL | |
7734 | }; | |
7735 | ||
7736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
7737 | { | |
e3b71cb8 | 7738 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7740 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
7741 | ||
7742 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7743 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7744 | } |
15afbcd0 | 7745 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
7746 | return resultobj; |
7747 | fail: | |
7748 | return NULL; | |
7749 | } | |
7750 | ||
7751 | ||
c32bde28 | 7752 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7753 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7754 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7755 | wxWindow *arg2 = (wxWindow *) 0 ; | |
74a57fcd | 7756 | int arg3 = (int) -1 ; |
d14a1e28 RD |
7757 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7758 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7759 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7760 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7761 | long arg6 = (long) wxSP_3D ; | |
7762 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
7763 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7764 | bool result; | |
7765 | wxPoint temp4 ; | |
7766 | wxSize temp5 ; | |
ae8162c8 | 7767 | bool temp7 = false ; |
d14a1e28 RD |
7768 | PyObject * obj0 = 0 ; |
7769 | PyObject * obj1 = 0 ; | |
994141e6 | 7770 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7771 | PyObject * obj3 = 0 ; |
7772 | PyObject * obj4 = 0 ; | |
994141e6 | 7773 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7774 | PyObject * obj6 = 0 ; |
7775 | char *kwnames[] = { | |
994141e6 | 7776 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
7777 | }; |
7778 | ||
74a57fcd | 7779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
7780 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7781 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7782 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7783 | if (SWIG_arg_fail(2)) SWIG_fail; | |
74a57fcd | 7784 | if (obj2) { |
093d3ff1 | 7785 | { |
32fe5131 | 7786 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
7787 | if (SWIG_arg_fail(3)) SWIG_fail; |
7788 | } | |
74a57fcd | 7789 | } |
d14a1e28 RD |
7790 | if (obj3) { |
7791 | { | |
7792 | arg4 = &temp4; | |
7793 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7794 | } | |
7795 | } | |
7796 | if (obj4) { | |
7797 | { | |
7798 | arg5 = &temp5; | |
7799 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7800 | } | |
7801 | } | |
994141e6 | 7802 | if (obj5) { |
093d3ff1 | 7803 | { |
32fe5131 | 7804 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
7805 | if (SWIG_arg_fail(6)) SWIG_fail; |
7806 | } | |
994141e6 | 7807 | } |
d14a1e28 RD |
7808 | if (obj6) { |
7809 | { | |
7810 | arg7 = wxString_in_helper(obj6); | |
7811 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 7812 | temp7 = true; |
d14a1e28 RD |
7813 | } |
7814 | } | |
7815 | { | |
7816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7817 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7818 | ||
7819 | wxPyEndAllowThreads(__tstate); | |
7820 | if (PyErr_Occurred()) SWIG_fail; | |
7821 | } | |
4f89f6a3 RD |
7822 | { |
7823 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7824 | } | |
d14a1e28 RD |
7825 | { |
7826 | if (temp7) | |
7827 | delete arg7; | |
7828 | } | |
7829 | return resultobj; | |
7830 | fail: | |
7831 | { | |
7832 | if (temp7) | |
7833 | delete arg7; | |
7834 | } | |
7835 | return NULL; | |
7836 | } | |
7837 | ||
7838 | ||
c32bde28 | 7839 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7840 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7841 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7842 | wxWindow *result; | |
7843 | PyObject * obj0 = 0 ; | |
7844 | char *kwnames[] = { | |
7845 | (char *) "self", NULL | |
7846 | }; | |
7847 | ||
7848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7849 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7850 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7851 | { |
7852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7853 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
7854 | ||
7855 | wxPyEndAllowThreads(__tstate); | |
7856 | if (PyErr_Occurred()) SWIG_fail; | |
7857 | } | |
7858 | { | |
412d302d | 7859 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
7860 | } |
7861 | return resultobj; | |
7862 | fail: | |
7863 | return NULL; | |
7864 | } | |
7865 | ||
7866 | ||
c32bde28 | 7867 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7868 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7869 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7870 | wxWindow *result; | |
7871 | PyObject * obj0 = 0 ; | |
7872 | char *kwnames[] = { | |
7873 | (char *) "self", NULL | |
7874 | }; | |
7875 | ||
7876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7877 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7878 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7879 | { |
7880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7881 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
7882 | ||
7883 | wxPyEndAllowThreads(__tstate); | |
7884 | if (PyErr_Occurred()) SWIG_fail; | |
7885 | } | |
7886 | { | |
412d302d | 7887 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
7888 | } |
7889 | return resultobj; | |
7890 | fail: | |
7891 | return NULL; | |
7892 | } | |
7893 | ||
7894 | ||
c32bde28 | 7895 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7896 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7897 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7898 | int arg2 ; | |
7899 | PyObject * obj0 = 0 ; | |
994141e6 | 7900 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7901 | char *kwnames[] = { |
7902 | (char *) "self",(char *) "mode", NULL | |
7903 | }; | |
7904 | ||
994141e6 | 7905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7908 | { | |
32fe5131 | 7909 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7910 | if (SWIG_arg_fail(2)) SWIG_fail; |
7911 | } | |
d14a1e28 RD |
7912 | { |
7913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7914 | (arg1)->SetSplitMode(arg2); | |
7915 | ||
7916 | wxPyEndAllowThreads(__tstate); | |
7917 | if (PyErr_Occurred()) SWIG_fail; | |
7918 | } | |
7919 | Py_INCREF(Py_None); resultobj = Py_None; | |
7920 | return resultobj; | |
7921 | fail: | |
7922 | return NULL; | |
7923 | } | |
7924 | ||
7925 | ||
c32bde28 | 7926 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7927 | PyObject *resultobj = NULL; |
d14a1e28 | 7928 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
093d3ff1 | 7929 | wxSplitMode result; |
d14a1e28 RD |
7930 | PyObject * obj0 = 0 ; |
7931 | char *kwnames[] = { | |
7932 | (char *) "self", NULL | |
7933 | }; | |
7934 | ||
7935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7936 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7937 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7938 | { |
7939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 7940 | result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode(); |
d14a1e28 RD |
7941 | |
7942 | wxPyEndAllowThreads(__tstate); | |
7943 | if (PyErr_Occurred()) SWIG_fail; | |
7944 | } | |
093d3ff1 | 7945 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
7946 | return resultobj; |
7947 | fail: | |
7948 | return NULL; | |
7949 | } | |
7950 | ||
7951 | ||
c32bde28 | 7952 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7953 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7954 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7955 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7956 | PyObject * obj0 = 0 ; | |
7957 | PyObject * obj1 = 0 ; | |
7958 | char *kwnames[] = { | |
7959 | (char *) "self",(char *) "window", NULL | |
7960 | }; | |
7961 | ||
7962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7965 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7966 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
7967 | { |
7968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7969 | (arg1)->Initialize(arg2); | |
7970 | ||
7971 | wxPyEndAllowThreads(__tstate); | |
7972 | if (PyErr_Occurred()) SWIG_fail; | |
7973 | } | |
7974 | Py_INCREF(Py_None); resultobj = Py_None; | |
7975 | return resultobj; | |
7976 | fail: | |
7977 | return NULL; | |
7978 | } | |
7979 | ||
7980 | ||
c32bde28 | 7981 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7982 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7983 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7984 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7985 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7986 | int arg4 = (int) 0 ; | |
7987 | bool result; | |
7988 | PyObject * obj0 = 0 ; | |
7989 | PyObject * obj1 = 0 ; | |
7990 | PyObject * obj2 = 0 ; | |
994141e6 | 7991 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
7992 | char *kwnames[] = { |
7993 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7994 | }; | |
7995 | ||
994141e6 | 7996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
7997 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7998 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7999 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8000 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8001 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8002 | if (SWIG_arg_fail(3)) SWIG_fail; | |
994141e6 | 8003 | if (obj3) { |
093d3ff1 | 8004 | { |
32fe5131 | 8005 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
8006 | if (SWIG_arg_fail(4)) SWIG_fail; |
8007 | } | |
994141e6 | 8008 | } |
d14a1e28 RD |
8009 | { |
8010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8011 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
8012 | ||
8013 | wxPyEndAllowThreads(__tstate); | |
8014 | if (PyErr_Occurred()) SWIG_fail; | |
8015 | } | |
4f89f6a3 RD |
8016 | { |
8017 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8018 | } | |
d14a1e28 RD |
8019 | return resultobj; |
8020 | fail: | |
8021 | return NULL; | |
8022 | } | |
8023 | ||
8024 | ||
c32bde28 | 8025 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8026 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8027 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8028 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8029 | wxWindow *arg3 = (wxWindow *) 0 ; | |
8030 | int arg4 = (int) 0 ; | |
8031 | bool result; | |
8032 | PyObject * obj0 = 0 ; | |
8033 | PyObject * obj1 = 0 ; | |
8034 | PyObject * obj2 = 0 ; | |
994141e6 | 8035 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
8036 | char *kwnames[] = { |
8037 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
8038 | }; | |
8039 | ||
994141e6 | 8040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
8041 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8042 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8043 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8044 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8045 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8046 | if (SWIG_arg_fail(3)) SWIG_fail; | |
994141e6 | 8047 | if (obj3) { |
093d3ff1 | 8048 | { |
32fe5131 | 8049 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
8050 | if (SWIG_arg_fail(4)) SWIG_fail; |
8051 | } | |
994141e6 | 8052 | } |
d14a1e28 RD |
8053 | { |
8054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8055 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
8056 | ||
8057 | wxPyEndAllowThreads(__tstate); | |
8058 | if (PyErr_Occurred()) SWIG_fail; | |
8059 | } | |
4f89f6a3 RD |
8060 | { |
8061 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8062 | } | |
d14a1e28 RD |
8063 | return resultobj; |
8064 | fail: | |
8065 | return NULL; | |
8066 | } | |
8067 | ||
8068 | ||
c32bde28 | 8069 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8070 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8071 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8072 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8073 | bool result; | |
8074 | PyObject * obj0 = 0 ; | |
8075 | PyObject * obj1 = 0 ; | |
8076 | char *kwnames[] = { | |
8077 | (char *) "self",(char *) "toRemove", NULL | |
8078 | }; | |
8079 | ||
8080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8081 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8082 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 8083 | if (obj1) { |
093d3ff1 RD |
8084 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
8085 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
8086 | } |
8087 | { | |
8088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8089 | result = (bool)(arg1)->Unsplit(arg2); | |
8090 | ||
8091 | wxPyEndAllowThreads(__tstate); | |
8092 | if (PyErr_Occurred()) SWIG_fail; | |
8093 | } | |
4f89f6a3 RD |
8094 | { |
8095 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8096 | } | |
d14a1e28 RD |
8097 | return resultobj; |
8098 | fail: | |
8099 | return NULL; | |
8100 | } | |
8101 | ||
8102 | ||
c32bde28 | 8103 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8104 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8105 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8106 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8107 | wxWindow *arg3 = (wxWindow *) 0 ; | |
8108 | bool result; | |
8109 | PyObject * obj0 = 0 ; | |
8110 | PyObject * obj1 = 0 ; | |
8111 | PyObject * obj2 = 0 ; | |
8112 | char *kwnames[] = { | |
8113 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
8114 | }; | |
8115 | ||
8116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
8117 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8118 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8119 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8120 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8121 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8122 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
8123 | { |
8124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8125 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
8126 | ||
8127 | wxPyEndAllowThreads(__tstate); | |
8128 | if (PyErr_Occurred()) SWIG_fail; | |
8129 | } | |
4f89f6a3 RD |
8130 | { |
8131 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8132 | } | |
d14a1e28 RD |
8133 | return resultobj; |
8134 | fail: | |
8135 | return NULL; | |
8136 | } | |
8137 | ||
8138 | ||
c32bde28 | 8139 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8140 | PyObject *resultobj = NULL; |
d00d1b88 RD |
8141 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8142 | PyObject * obj0 = 0 ; | |
8143 | char *kwnames[] = { | |
8144 | (char *) "self", NULL | |
8145 | }; | |
8146 | ||
8147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8148 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8149 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d00d1b88 RD |
8150 | { |
8151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8152 | (arg1)->UpdateSize(); | |
8153 | ||
8154 | wxPyEndAllowThreads(__tstate); | |
8155 | if (PyErr_Occurred()) SWIG_fail; | |
8156 | } | |
8157 | Py_INCREF(Py_None); resultobj = Py_None; | |
8158 | return resultobj; | |
8159 | fail: | |
8160 | return NULL; | |
8161 | } | |
8162 | ||
8163 | ||
c32bde28 | 8164 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8165 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8166 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8167 | bool result; | |
8168 | PyObject * obj0 = 0 ; | |
8169 | char *kwnames[] = { | |
8170 | (char *) "self", NULL | |
8171 | }; | |
8172 | ||
8173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8174 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8175 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8176 | { |
8177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8178 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
8179 | ||
8180 | wxPyEndAllowThreads(__tstate); | |
8181 | if (PyErr_Occurred()) SWIG_fail; | |
8182 | } | |
4f89f6a3 RD |
8183 | { |
8184 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8185 | } | |
d14a1e28 RD |
8186 | return resultobj; |
8187 | fail: | |
8188 | return NULL; | |
8189 | } | |
8190 | ||
8191 | ||
c32bde28 | 8192 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8193 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8194 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8195 | int arg2 ; | |
8196 | PyObject * obj0 = 0 ; | |
994141e6 | 8197 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8198 | char *kwnames[] = { |
8199 | (char *) "self",(char *) "width", NULL | |
8200 | }; | |
8201 | ||
994141e6 | 8202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8205 | { | |
32fe5131 | 8206 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8207 | if (SWIG_arg_fail(2)) SWIG_fail; |
8208 | } | |
d14a1e28 RD |
8209 | { |
8210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8211 | (arg1)->SetSashSize(arg2); | |
8212 | ||
8213 | wxPyEndAllowThreads(__tstate); | |
8214 | if (PyErr_Occurred()) SWIG_fail; | |
8215 | } | |
8216 | Py_INCREF(Py_None); resultobj = Py_None; | |
8217 | return resultobj; | |
8218 | fail: | |
8219 | return NULL; | |
8220 | } | |
8221 | ||
8222 | ||
c32bde28 | 8223 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8224 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8225 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8226 | int arg2 ; | |
8227 | PyObject * obj0 = 0 ; | |
994141e6 | 8228 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8229 | char *kwnames[] = { |
8230 | (char *) "self",(char *) "width", NULL | |
8231 | }; | |
8232 | ||
994141e6 | 8233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8234 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8235 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8236 | { | |
32fe5131 | 8237 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8238 | if (SWIG_arg_fail(2)) SWIG_fail; |
8239 | } | |
d14a1e28 RD |
8240 | { |
8241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8242 | (arg1)->SetBorderSize(arg2); | |
8243 | ||
8244 | wxPyEndAllowThreads(__tstate); | |
8245 | if (PyErr_Occurred()) SWIG_fail; | |
8246 | } | |
8247 | Py_INCREF(Py_None); resultobj = Py_None; | |
8248 | return resultobj; | |
8249 | fail: | |
8250 | return NULL; | |
8251 | } | |
8252 | ||
8253 | ||
c32bde28 | 8254 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8255 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8256 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8257 | int result; | |
8258 | PyObject * obj0 = 0 ; | |
8259 | char *kwnames[] = { | |
8260 | (char *) "self", NULL | |
8261 | }; | |
8262 | ||
8263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8264 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8265 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8266 | { |
8267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8268 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
8269 | ||
8270 | wxPyEndAllowThreads(__tstate); | |
8271 | if (PyErr_Occurred()) SWIG_fail; | |
8272 | } | |
093d3ff1 | 8273 | { |
32fe5131 | 8274 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8275 | } |
d14a1e28 RD |
8276 | return resultobj; |
8277 | fail: | |
8278 | return NULL; | |
8279 | } | |
8280 | ||
8281 | ||
c32bde28 | 8282 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8283 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8284 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8285 | int result; | |
8286 | PyObject * obj0 = 0 ; | |
8287 | char *kwnames[] = { | |
8288 | (char *) "self", NULL | |
8289 | }; | |
8290 | ||
8291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8292 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8293 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8294 | { |
8295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8296 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
8297 | ||
8298 | wxPyEndAllowThreads(__tstate); | |
8299 | if (PyErr_Occurred()) SWIG_fail; | |
8300 | } | |
093d3ff1 | 8301 | { |
32fe5131 | 8302 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8303 | } |
d14a1e28 RD |
8304 | return resultobj; |
8305 | fail: | |
8306 | return NULL; | |
8307 | } | |
8308 | ||
8309 | ||
c32bde28 | 8310 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8311 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8312 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8313 | int arg2 ; | |
ae8162c8 | 8314 | bool arg3 = (bool) true ; |
d14a1e28 | 8315 | PyObject * obj0 = 0 ; |
994141e6 | 8316 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8317 | PyObject * obj2 = 0 ; |
8318 | char *kwnames[] = { | |
8319 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
8320 | }; | |
8321 | ||
994141e6 | 8322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
8323 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8324 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8325 | { | |
32fe5131 | 8326 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8327 | if (SWIG_arg_fail(2)) SWIG_fail; |
8328 | } | |
d14a1e28 | 8329 | if (obj2) { |
093d3ff1 | 8330 | { |
32fe5131 | 8331 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
8332 | if (SWIG_arg_fail(3)) SWIG_fail; |
8333 | } | |
d14a1e28 RD |
8334 | } |
8335 | { | |
8336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8337 | (arg1)->SetSashPosition(arg2,arg3); | |
8338 | ||
8339 | wxPyEndAllowThreads(__tstate); | |
8340 | if (PyErr_Occurred()) SWIG_fail; | |
8341 | } | |
8342 | Py_INCREF(Py_None); resultobj = Py_None; | |
8343 | return resultobj; | |
8344 | fail: | |
8345 | return NULL; | |
8346 | } | |
8347 | ||
8348 | ||
c32bde28 | 8349 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8350 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8351 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8352 | int result; | |
8353 | PyObject * obj0 = 0 ; | |
8354 | char *kwnames[] = { | |
8355 | (char *) "self", NULL | |
8356 | }; | |
8357 | ||
8358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8359 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8360 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8361 | { |
8362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8363 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
8364 | ||
8365 | wxPyEndAllowThreads(__tstate); | |
8366 | if (PyErr_Occurred()) SWIG_fail; | |
8367 | } | |
093d3ff1 | 8368 | { |
32fe5131 | 8369 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8370 | } |
d14a1e28 RD |
8371 | return resultobj; |
8372 | fail: | |
8373 | return NULL; | |
8374 | } | |
8375 | ||
8376 | ||
5cbf236d | 8377 | static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8378 | PyObject *resultobj = NULL; |
5cbf236d RD |
8379 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8380 | double arg2 ; | |
8381 | PyObject * obj0 = 0 ; | |
8382 | PyObject * obj1 = 0 ; | |
8383 | char *kwnames[] = { | |
8384 | (char *) "self",(char *) "gravity", NULL | |
8385 | }; | |
8386 | ||
8387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8388 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8389 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8390 | { | |
32fe5131 | 8391 | arg2 = static_cast<double >(SWIG_As_double(obj1)); |
093d3ff1 RD |
8392 | if (SWIG_arg_fail(2)) SWIG_fail; |
8393 | } | |
5cbf236d RD |
8394 | { |
8395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8396 | (arg1)->SetSashGravity(arg2); | |
8397 | ||
8398 | wxPyEndAllowThreads(__tstate); | |
8399 | if (PyErr_Occurred()) SWIG_fail; | |
8400 | } | |
8401 | Py_INCREF(Py_None); resultobj = Py_None; | |
8402 | return resultobj; | |
8403 | fail: | |
8404 | return NULL; | |
8405 | } | |
8406 | ||
8407 | ||
8408 | static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 8409 | PyObject *resultobj = NULL; |
5cbf236d RD |
8410 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8411 | double result; | |
8412 | PyObject * obj0 = 0 ; | |
8413 | char *kwnames[] = { | |
8414 | (char *) "self", NULL | |
8415 | }; | |
8416 | ||
8417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8418 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8419 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
8420 | { |
8421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8422 | result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity(); | |
8423 | ||
8424 | wxPyEndAllowThreads(__tstate); | |
8425 | if (PyErr_Occurred()) SWIG_fail; | |
8426 | } | |
093d3ff1 | 8427 | { |
32fe5131 | 8428 | resultobj = SWIG_From_double(static_cast<double >(result)); |
093d3ff1 | 8429 | } |
5cbf236d RD |
8430 | return resultobj; |
8431 | fail: | |
8432 | return NULL; | |
8433 | } | |
8434 | ||
8435 | ||
c32bde28 | 8436 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8437 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8438 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8439 | int arg2 ; | |
8440 | PyObject * obj0 = 0 ; | |
994141e6 | 8441 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8442 | char *kwnames[] = { |
8443 | (char *) "self",(char *) "min", NULL | |
8444 | }; | |
8445 | ||
994141e6 | 8446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8447 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8448 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8449 | { | |
32fe5131 | 8450 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8451 | if (SWIG_arg_fail(2)) SWIG_fail; |
8452 | } | |
d14a1e28 RD |
8453 | { |
8454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8455 | (arg1)->SetMinimumPaneSize(arg2); | |
8456 | ||
8457 | wxPyEndAllowThreads(__tstate); | |
8458 | if (PyErr_Occurred()) SWIG_fail; | |
8459 | } | |
8460 | Py_INCREF(Py_None); resultobj = Py_None; | |
8461 | return resultobj; | |
8462 | fail: | |
8463 | return NULL; | |
8464 | } | |
8465 | ||
8466 | ||
c32bde28 | 8467 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8468 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8469 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8470 | int result; | |
8471 | PyObject * obj0 = 0 ; | |
8472 | char *kwnames[] = { | |
8473 | (char *) "self", NULL | |
8474 | }; | |
8475 | ||
8476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8477 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8478 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8479 | { |
8480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8481 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
8482 | ||
8483 | wxPyEndAllowThreads(__tstate); | |
8484 | if (PyErr_Occurred()) SWIG_fail; | |
8485 | } | |
093d3ff1 | 8486 | { |
32fe5131 | 8487 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8488 | } |
d14a1e28 RD |
8489 | return resultobj; |
8490 | fail: | |
8491 | return NULL; | |
8492 | } | |
8493 | ||
8494 | ||
c32bde28 | 8495 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8496 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8497 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8498 | int arg2 ; | |
8499 | int arg3 ; | |
8500 | int arg4 = (int) 5 ; | |
8501 | bool result; | |
8502 | PyObject * obj0 = 0 ; | |
994141e6 RD |
8503 | PyObject * obj1 = 0 ; |
8504 | PyObject * obj2 = 0 ; | |
8505 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
8506 | char *kwnames[] = { |
8507 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
8508 | }; | |
8509 | ||
994141e6 | 8510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
8511 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8512 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8513 | { | |
32fe5131 | 8514 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8515 | if (SWIG_arg_fail(2)) SWIG_fail; |
8516 | } | |
8517 | { | |
32fe5131 | 8518 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
8519 | if (SWIG_arg_fail(3)) SWIG_fail; |
8520 | } | |
994141e6 | 8521 | if (obj3) { |
093d3ff1 | 8522 | { |
32fe5131 | 8523 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
8524 | if (SWIG_arg_fail(4)) SWIG_fail; |
8525 | } | |
994141e6 | 8526 | } |
d14a1e28 RD |
8527 | { |
8528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8529 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
8530 | ||
8531 | wxPyEndAllowThreads(__tstate); | |
8532 | if (PyErr_Occurred()) SWIG_fail; | |
8533 | } | |
4f89f6a3 RD |
8534 | { |
8535 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8536 | } | |
d14a1e28 RD |
8537 | return resultobj; |
8538 | fail: | |
8539 | return NULL; | |
8540 | } | |
8541 | ||
8542 | ||
c32bde28 | 8543 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8544 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8545 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8546 | PyObject * obj0 = 0 ; | |
8547 | char *kwnames[] = { | |
8548 | (char *) "self", NULL | |
8549 | }; | |
8550 | ||
8551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8552 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8553 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8554 | { |
8555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8556 | (arg1)->SizeWindows(); | |
8557 | ||
8558 | wxPyEndAllowThreads(__tstate); | |
8559 | if (PyErr_Occurred()) SWIG_fail; | |
8560 | } | |
8561 | Py_INCREF(Py_None); resultobj = Py_None; | |
8562 | return resultobj; | |
8563 | fail: | |
8564 | return NULL; | |
8565 | } | |
8566 | ||
8567 | ||
c32bde28 | 8568 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8569 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8570 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8571 | bool arg2 ; | |
8572 | PyObject * obj0 = 0 ; | |
8573 | PyObject * obj1 = 0 ; | |
8574 | char *kwnames[] = { | |
8575 | (char *) "self",(char *) "needUpdating", NULL | |
8576 | }; | |
8577 | ||
8578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8579 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8580 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8581 | { | |
32fe5131 | 8582 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
8583 | if (SWIG_arg_fail(2)) SWIG_fail; |
8584 | } | |
d14a1e28 RD |
8585 | { |
8586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8587 | (arg1)->SetNeedUpdating(arg2); | |
8588 | ||
8589 | wxPyEndAllowThreads(__tstate); | |
8590 | if (PyErr_Occurred()) SWIG_fail; | |
8591 | } | |
8592 | Py_INCREF(Py_None); resultobj = Py_None; | |
8593 | return resultobj; | |
8594 | fail: | |
8595 | return NULL; | |
8596 | } | |
8597 | ||
8598 | ||
c32bde28 | 8599 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8600 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8601 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8602 | bool result; | |
8603 | PyObject * obj0 = 0 ; | |
8604 | char *kwnames[] = { | |
8605 | (char *) "self", NULL | |
8606 | }; | |
8607 | ||
8608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8611 | { |
8612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8613 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
8614 | ||
8615 | wxPyEndAllowThreads(__tstate); | |
8616 | if (PyErr_Occurred()) SWIG_fail; | |
8617 | } | |
4f89f6a3 RD |
8618 | { |
8619 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8620 | } | |
d14a1e28 RD |
8621 | return resultobj; |
8622 | fail: | |
8623 | return NULL; | |
8624 | } | |
8625 | ||
8626 | ||
c32bde28 | 8627 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8628 | PyObject *resultobj = NULL; |
093d3ff1 | 8629 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
8630 | wxVisualAttributes result; |
8631 | PyObject * obj0 = 0 ; | |
8632 | char *kwnames[] = { | |
8633 | (char *) "variant", NULL | |
8634 | }; | |
8635 | ||
8636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
8637 | if (obj0) { | |
093d3ff1 | 8638 | { |
32fe5131 | 8639 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
8640 | if (SWIG_arg_fail(1)) SWIG_fail; |
8641 | } | |
22bfe96c RD |
8642 | } |
8643 | { | |
e3b71cb8 | 8644 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 8645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 8646 | result = wxSplitterWindow::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
8647 | |
8648 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8649 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
8650 | } |
8651 | { | |
8652 | wxVisualAttributes * resultptr; | |
32fe5131 | 8653 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
8654 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
8655 | } | |
8656 | return resultobj; | |
8657 | fail: | |
8658 | return NULL; | |
8659 | } | |
8660 | ||
8661 | ||
c32bde28 | 8662 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8663 | PyObject *obj; |
8664 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8665 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
8666 | Py_INCREF(obj); | |
8667 | return Py_BuildValue((char *)""); | |
8668 | } | |
c32bde28 | 8669 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8670 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8671 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
8672 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
8673 | wxSplitterEvent *result; | |
994141e6 | 8674 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
8675 | PyObject * obj1 = 0 ; |
8676 | char *kwnames[] = { | |
8677 | (char *) "type",(char *) "splitter", NULL | |
8678 | }; | |
8679 | ||
994141e6 RD |
8680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
8681 | if (obj0) { | |
093d3ff1 | 8682 | { |
32fe5131 | 8683 | arg1 = static_cast<wxEventType >(SWIG_As_int(obj0)); |
093d3ff1 RD |
8684 | if (SWIG_arg_fail(1)) SWIG_fail; |
8685 | } | |
994141e6 | 8686 | } |
d14a1e28 | 8687 | if (obj1) { |
093d3ff1 RD |
8688 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8689 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
8690 | } |
8691 | { | |
8692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8693 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
8694 | ||
8695 | wxPyEndAllowThreads(__tstate); | |
8696 | if (PyErr_Occurred()) SWIG_fail; | |
8697 | } | |
15afbcd0 | 8698 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
8699 | return resultobj; |
8700 | fail: | |
8701 | return NULL; | |
8702 | } | |
8703 | ||
8704 | ||
c32bde28 | 8705 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8706 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8707 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; |
8708 | int arg2 ; | |
8709 | PyObject * obj0 = 0 ; | |
994141e6 | 8710 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8711 | char *kwnames[] = { |
8712 | (char *) "self",(char *) "pos", NULL | |
8713 | }; | |
8714 | ||
994141e6 | 8715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8716 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8717 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8718 | { | |
32fe5131 | 8719 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8720 | if (SWIG_arg_fail(2)) SWIG_fail; |
8721 | } | |
d14a1e28 RD |
8722 | { |
8723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8724 | (arg1)->SetSashPosition(arg2); | |
8725 | ||
8726 | wxPyEndAllowThreads(__tstate); | |
8727 | if (PyErr_Occurred()) SWIG_fail; | |
8728 | } | |
8729 | Py_INCREF(Py_None); resultobj = Py_None; | |
8730 | return resultobj; | |
8731 | fail: | |
8732 | return NULL; | |
8733 | } | |
8734 | ||
8735 | ||
c32bde28 | 8736 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8737 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8738 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; |
8739 | int result; | |
8740 | PyObject * obj0 = 0 ; | |
8741 | char *kwnames[] = { | |
8742 | (char *) "self", NULL | |
8743 | }; | |
8744 | ||
8745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8748 | { |
8749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8750 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
8751 | ||
8752 | wxPyEndAllowThreads(__tstate); | |
8753 | if (PyErr_Occurred()) SWIG_fail; | |
8754 | } | |
093d3ff1 | 8755 | { |
32fe5131 | 8756 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8757 | } |
d14a1e28 RD |
8758 | return resultobj; |
8759 | fail: | |
8760 | return NULL; | |
8761 | } | |
8762 | ||
8763 | ||
c32bde28 | 8764 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8765 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8766 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; |
8767 | wxWindow *result; | |
8768 | PyObject * obj0 = 0 ; | |
8769 | char *kwnames[] = { | |
8770 | (char *) "self", NULL | |
8771 | }; | |
8772 | ||
8773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8774 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8775 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8776 | { |
8777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8778 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
8779 | ||
8780 | wxPyEndAllowThreads(__tstate); | |
8781 | if (PyErr_Occurred()) SWIG_fail; | |
8782 | } | |
8783 | { | |
412d302d | 8784 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
8785 | } |
8786 | return resultobj; | |
8787 | fail: | |
8788 | return NULL; | |
8789 | } | |
8790 | ||
8791 | ||
c32bde28 | 8792 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8793 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8794 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; |
8795 | int result; | |
8796 | PyObject * obj0 = 0 ; | |
8797 | char *kwnames[] = { | |
8798 | (char *) "self", NULL | |
8799 | }; | |
8800 | ||
8801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8802 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8803 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8804 | { |
8805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8806 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
8807 | ||
8808 | wxPyEndAllowThreads(__tstate); | |
8809 | if (PyErr_Occurred()) SWIG_fail; | |
8810 | } | |
093d3ff1 | 8811 | { |
32fe5131 | 8812 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8813 | } |
d14a1e28 RD |
8814 | return resultobj; |
8815 | fail: | |
8816 | return NULL; | |
8817 | } | |
8818 | ||
8819 | ||
c32bde28 | 8820 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8821 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8822 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; |
8823 | int result; | |
8824 | PyObject * obj0 = 0 ; | |
8825 | char *kwnames[] = { | |
8826 | (char *) "self", NULL | |
8827 | }; | |
8828 | ||
8829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8830 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8831 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8832 | { |
8833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8834 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
8835 | ||
8836 | wxPyEndAllowThreads(__tstate); | |
8837 | if (PyErr_Occurred()) SWIG_fail; | |
8838 | } | |
093d3ff1 | 8839 | { |
32fe5131 | 8840 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8841 | } |
d14a1e28 RD |
8842 | return resultobj; |
8843 | fail: | |
8844 | return NULL; | |
8845 | } | |
8846 | ||
8847 | ||
c32bde28 | 8848 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8849 | PyObject *obj; |
8850 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8851 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
8852 | Py_INCREF(obj); | |
8853 | return Py_BuildValue((char *)""); | |
8854 | } | |
c32bde28 | 8855 | static int _wrap_SashNameStr_set(PyObject *) { |
b2dc1044 RD |
8856 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
8857 | return 1; | |
8858 | } | |
8859 | ||
8860 | ||
093d3ff1 | 8861 | static PyObject *_wrap_SashNameStr_get(void) { |
32fe5131 | 8862 | PyObject *pyobj = NULL; |
b2dc1044 RD |
8863 | |
8864 | { | |
8865 | #if wxUSE_UNICODE | |
8866 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8867 | #else | |
8868 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8869 | #endif | |
8870 | } | |
8871 | return pyobj; | |
8872 | } | |
8873 | ||
8874 | ||
c32bde28 | 8875 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
b2dc1044 RD |
8876 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
8877 | return 1; | |
8878 | } | |
8879 | ||
8880 | ||
093d3ff1 | 8881 | static PyObject *_wrap_SashLayoutNameStr_get(void) { |
32fe5131 | 8882 | PyObject *pyobj = NULL; |
b2dc1044 RD |
8883 | |
8884 | { | |
8885 | #if wxUSE_UNICODE | |
8886 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8887 | #else | |
8888 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8889 | #endif | |
8890 | } | |
8891 | return pyobj; | |
8892 | } | |
8893 | ||
8894 | ||
c32bde28 | 8895 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8896 | PyObject *resultobj = NULL; |
d14a1e28 | 8897 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 8898 | int arg2 = (int) -1 ; |
d14a1e28 RD |
8899 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8900 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8901 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8902 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8903 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8904 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
8905 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8906 | wxSashWindow *result; | |
8907 | wxPoint temp3 ; | |
8908 | wxSize temp4 ; | |
ae8162c8 | 8909 | bool temp6 = false ; |
d14a1e28 | 8910 | PyObject * obj0 = 0 ; |
994141e6 | 8911 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8912 | PyObject * obj2 = 0 ; |
8913 | PyObject * obj3 = 0 ; | |
994141e6 | 8914 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8915 | PyObject * obj5 = 0 ; |
8916 | char *kwnames[] = { | |
8917 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8918 | }; | |
8919 | ||
248ed943 | 8920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
8921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
8922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 8923 | if (obj1) { |
093d3ff1 | 8924 | { |
32fe5131 | 8925 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8926 | if (SWIG_arg_fail(2)) SWIG_fail; |
8927 | } | |
248ed943 | 8928 | } |
d14a1e28 RD |
8929 | if (obj2) { |
8930 | { | |
8931 | arg3 = &temp3; | |
8932 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8933 | } | |
8934 | } | |
8935 | if (obj3) { | |
8936 | { | |
8937 | arg4 = &temp4; | |
8938 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8939 | } | |
8940 | } | |
994141e6 | 8941 | if (obj4) { |
093d3ff1 | 8942 | { |
32fe5131 | 8943 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
8944 | if (SWIG_arg_fail(5)) SWIG_fail; |
8945 | } | |
994141e6 | 8946 | } |
d14a1e28 RD |
8947 | if (obj5) { |
8948 | { | |
8949 | arg6 = wxString_in_helper(obj5); | |
8950 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 8951 | temp6 = true; |
d14a1e28 RD |
8952 | } |
8953 | } | |
8954 | { | |
e3b71cb8 | 8955 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8957 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8958 | ||
8959 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8960 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8961 | } |
15afbcd0 | 8962 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
8963 | { |
8964 | if (temp6) | |
8965 | delete arg6; | |
8966 | } | |
8967 | return resultobj; | |
8968 | fail: | |
8969 | { | |
8970 | if (temp6) | |
8971 | delete arg6; | |
8972 | } | |
8973 | return NULL; | |
8974 | } | |
8975 | ||
8976 | ||
c32bde28 | 8977 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8978 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8979 | wxSashWindow *result; |
8980 | char *kwnames[] = { | |
8981 | NULL | |
8982 | }; | |
8983 | ||
8984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
8985 | { | |
e3b71cb8 | 8986 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8988 | result = (wxSashWindow *)new wxSashWindow(); | |
8989 | ||
8990 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8991 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8992 | } |
15afbcd0 | 8993 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
8994 | return resultobj; |
8995 | fail: | |
8996 | return NULL; | |
8997 | } | |
8998 | ||
8999 | ||
c32bde28 | 9000 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9001 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9002 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9003 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 9004 | int arg3 = (int) -1 ; |
d14a1e28 RD |
9005 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9006 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9007 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9008 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9009 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
9010 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
9011 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9012 | bool result; | |
9013 | wxPoint temp4 ; | |
9014 | wxSize temp5 ; | |
ae8162c8 | 9015 | bool temp7 = false ; |
d14a1e28 RD |
9016 | PyObject * obj0 = 0 ; |
9017 | PyObject * obj1 = 0 ; | |
994141e6 | 9018 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9019 | PyObject * obj3 = 0 ; |
9020 | PyObject * obj4 = 0 ; | |
994141e6 | 9021 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9022 | PyObject * obj6 = 0 ; |
9023 | char *kwnames[] = { | |
9024 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9025 | }; | |
9026 | ||
248ed943 | 9027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
9028 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9029 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9030 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
9031 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 9032 | if (obj2) { |
093d3ff1 | 9033 | { |
32fe5131 | 9034 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
9035 | if (SWIG_arg_fail(3)) SWIG_fail; |
9036 | } | |
248ed943 | 9037 | } |
d14a1e28 RD |
9038 | if (obj3) { |
9039 | { | |
9040 | arg4 = &temp4; | |
9041 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9042 | } | |
9043 | } | |
9044 | if (obj4) { | |
9045 | { | |
9046 | arg5 = &temp5; | |
9047 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9048 | } | |
9049 | } | |
994141e6 | 9050 | if (obj5) { |
093d3ff1 | 9051 | { |
32fe5131 | 9052 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
9053 | if (SWIG_arg_fail(6)) SWIG_fail; |
9054 | } | |
994141e6 | 9055 | } |
d14a1e28 RD |
9056 | if (obj6) { |
9057 | { | |
9058 | arg7 = wxString_in_helper(obj6); | |
9059 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 9060 | temp7 = true; |
d14a1e28 RD |
9061 | } |
9062 | } | |
9063 | { | |
9064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9065 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9066 | ||
9067 | wxPyEndAllowThreads(__tstate); | |
9068 | if (PyErr_Occurred()) SWIG_fail; | |
9069 | } | |
4f89f6a3 RD |
9070 | { |
9071 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9072 | } | |
d14a1e28 RD |
9073 | { |
9074 | if (temp7) | |
9075 | delete arg7; | |
9076 | } | |
9077 | return resultobj; | |
9078 | fail: | |
9079 | { | |
9080 | if (temp7) | |
9081 | delete arg7; | |
9082 | } | |
9083 | return NULL; | |
9084 | } | |
9085 | ||
9086 | ||
c32bde28 | 9087 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9088 | PyObject *resultobj = NULL; |
d14a1e28 | 9089 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
093d3ff1 | 9090 | wxSashEdgePosition arg2 ; |
d14a1e28 RD |
9091 | bool arg3 ; |
9092 | PyObject * obj0 = 0 ; | |
994141e6 | 9093 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9094 | PyObject * obj2 = 0 ; |
9095 | char *kwnames[] = { | |
9096 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
9097 | }; | |
9098 | ||
994141e6 | 9099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
9100 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9101 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9102 | { | |
32fe5131 | 9103 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9104 | if (SWIG_arg_fail(2)) SWIG_fail; |
9105 | } | |
9106 | { | |
32fe5131 | 9107 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
9108 | if (SWIG_arg_fail(3)) SWIG_fail; |
9109 | } | |
d14a1e28 RD |
9110 | { |
9111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9112 | (arg1)->SetSashVisible(arg2,arg3); |
d14a1e28 RD |
9113 | |
9114 | wxPyEndAllowThreads(__tstate); | |
9115 | if (PyErr_Occurred()) SWIG_fail; | |
9116 | } | |
9117 | Py_INCREF(Py_None); resultobj = Py_None; | |
9118 | return resultobj; | |
9119 | fail: | |
9120 | return NULL; | |
9121 | } | |
9122 | ||
9123 | ||
c32bde28 | 9124 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9125 | PyObject *resultobj = NULL; |
d14a1e28 | 9126 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
093d3ff1 | 9127 | wxSashEdgePosition arg2 ; |
d14a1e28 RD |
9128 | bool result; |
9129 | PyObject * obj0 = 0 ; | |
994141e6 | 9130 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9131 | char *kwnames[] = { |
9132 | (char *) "self",(char *) "edge", NULL | |
9133 | }; | |
9134 | ||
994141e6 | 9135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9136 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9137 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9138 | { | |
32fe5131 | 9139 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9140 | if (SWIG_arg_fail(2)) SWIG_fail; |
9141 | } | |
d14a1e28 RD |
9142 | { |
9143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9144 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2); |
d14a1e28 RD |
9145 | |
9146 | wxPyEndAllowThreads(__tstate); | |
9147 | if (PyErr_Occurred()) SWIG_fail; | |
9148 | } | |
4f89f6a3 RD |
9149 | { |
9150 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9151 | } | |
d14a1e28 RD |
9152 | return resultobj; |
9153 | fail: | |
9154 | return NULL; | |
9155 | } | |
9156 | ||
9157 | ||
c32bde28 | 9158 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9159 | PyObject *resultobj = NULL; |
d14a1e28 | 9160 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
093d3ff1 | 9161 | wxSashEdgePosition arg2 ; |
d14a1e28 RD |
9162 | bool arg3 ; |
9163 | PyObject * obj0 = 0 ; | |
994141e6 | 9164 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9165 | PyObject * obj2 = 0 ; |
9166 | char *kwnames[] = { | |
9167 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
9168 | }; | |
9169 | ||
994141e6 | 9170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
9171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9173 | { | |
32fe5131 | 9174 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9175 | if (SWIG_arg_fail(2)) SWIG_fail; |
9176 | } | |
9177 | { | |
32fe5131 | 9178 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
9179 | if (SWIG_arg_fail(3)) SWIG_fail; |
9180 | } | |
d14a1e28 RD |
9181 | { |
9182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9183 | (arg1)->SetSashBorder(arg2,arg3); |
d14a1e28 RD |
9184 | |
9185 | wxPyEndAllowThreads(__tstate); | |
9186 | if (PyErr_Occurred()) SWIG_fail; | |
9187 | } | |
9188 | Py_INCREF(Py_None); resultobj = Py_None; | |
9189 | return resultobj; | |
9190 | fail: | |
9191 | return NULL; | |
9192 | } | |
9193 | ||
9194 | ||
c32bde28 | 9195 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9196 | PyObject *resultobj = NULL; |
d14a1e28 | 9197 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
093d3ff1 | 9198 | wxSashEdgePosition arg2 ; |
d14a1e28 RD |
9199 | bool result; |
9200 | PyObject * obj0 = 0 ; | |
994141e6 | 9201 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9202 | char *kwnames[] = { |
9203 | (char *) "self",(char *) "edge", NULL | |
9204 | }; | |
9205 | ||
994141e6 | 9206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9207 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9208 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9209 | { | |
32fe5131 | 9210 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9211 | if (SWIG_arg_fail(2)) SWIG_fail; |
9212 | } | |
d14a1e28 RD |
9213 | { |
9214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9215 | result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2); |
d14a1e28 RD |
9216 | |
9217 | wxPyEndAllowThreads(__tstate); | |
9218 | if (PyErr_Occurred()) SWIG_fail; | |
9219 | } | |
4f89f6a3 RD |
9220 | { |
9221 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9222 | } | |
d14a1e28 RD |
9223 | return resultobj; |
9224 | fail: | |
9225 | return NULL; | |
9226 | } | |
9227 | ||
9228 | ||
c32bde28 | 9229 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9230 | PyObject *resultobj = NULL; |
d14a1e28 | 9231 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
093d3ff1 | 9232 | wxSashEdgePosition arg2 ; |
d14a1e28 RD |
9233 | int result; |
9234 | PyObject * obj0 = 0 ; | |
994141e6 | 9235 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9236 | char *kwnames[] = { |
9237 | (char *) "self",(char *) "edge", NULL | |
9238 | }; | |
9239 | ||
994141e6 | 9240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9241 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9242 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9243 | { | |
32fe5131 | 9244 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9245 | if (SWIG_arg_fail(2)) SWIG_fail; |
9246 | } | |
d14a1e28 RD |
9247 | { |
9248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9249 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2); |
d14a1e28 RD |
9250 | |
9251 | wxPyEndAllowThreads(__tstate); | |
9252 | if (PyErr_Occurred()) SWIG_fail; | |
9253 | } | |
093d3ff1 | 9254 | { |
32fe5131 | 9255 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9256 | } |
d14a1e28 RD |
9257 | return resultobj; |
9258 | fail: | |
9259 | return NULL; | |
9260 | } | |
9261 | ||
9262 | ||
c32bde28 | 9263 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9264 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9265 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9266 | int arg2 ; | |
9267 | PyObject * obj0 = 0 ; | |
994141e6 | 9268 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9269 | char *kwnames[] = { |
9270 | (char *) "self",(char *) "width", NULL | |
9271 | }; | |
9272 | ||
994141e6 | 9273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9274 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9275 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9276 | { | |
32fe5131 | 9277 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9278 | if (SWIG_arg_fail(2)) SWIG_fail; |
9279 | } | |
d14a1e28 RD |
9280 | { |
9281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9282 | (arg1)->SetDefaultBorderSize(arg2); | |
9283 | ||
9284 | wxPyEndAllowThreads(__tstate); | |
9285 | if (PyErr_Occurred()) SWIG_fail; | |
9286 | } | |
9287 | Py_INCREF(Py_None); resultobj = Py_None; | |
9288 | return resultobj; | |
9289 | fail: | |
9290 | return NULL; | |
9291 | } | |
9292 | ||
9293 | ||
c32bde28 | 9294 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9295 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9296 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9297 | int result; | |
9298 | PyObject * obj0 = 0 ; | |
9299 | char *kwnames[] = { | |
9300 | (char *) "self", NULL | |
9301 | }; | |
9302 | ||
9303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9304 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9305 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9306 | { |
9307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9308 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
9309 | ||
9310 | wxPyEndAllowThreads(__tstate); | |
9311 | if (PyErr_Occurred()) SWIG_fail; | |
9312 | } | |
093d3ff1 | 9313 | { |
32fe5131 | 9314 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9315 | } |
d14a1e28 RD |
9316 | return resultobj; |
9317 | fail: | |
9318 | return NULL; | |
9319 | } | |
9320 | ||
9321 | ||
c32bde28 | 9322 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9323 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9324 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9325 | int arg2 ; | |
9326 | PyObject * obj0 = 0 ; | |
994141e6 | 9327 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9328 | char *kwnames[] = { |
9329 | (char *) "self",(char *) "width", NULL | |
9330 | }; | |
9331 | ||
994141e6 | 9332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9335 | { | |
32fe5131 | 9336 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9337 | if (SWIG_arg_fail(2)) SWIG_fail; |
9338 | } | |
d14a1e28 RD |
9339 | { |
9340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9341 | (arg1)->SetExtraBorderSize(arg2); | |
9342 | ||
9343 | wxPyEndAllowThreads(__tstate); | |
9344 | if (PyErr_Occurred()) SWIG_fail; | |
9345 | } | |
9346 | Py_INCREF(Py_None); resultobj = Py_None; | |
9347 | return resultobj; | |
9348 | fail: | |
9349 | return NULL; | |
9350 | } | |
9351 | ||
9352 | ||
c32bde28 | 9353 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9354 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9355 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9356 | int result; | |
9357 | PyObject * obj0 = 0 ; | |
9358 | char *kwnames[] = { | |
9359 | (char *) "self", NULL | |
9360 | }; | |
9361 | ||
9362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9363 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9364 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9365 | { |
9366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9367 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
9368 | ||
9369 | wxPyEndAllowThreads(__tstate); | |
9370 | if (PyErr_Occurred()) SWIG_fail; | |
9371 | } | |
093d3ff1 | 9372 | { |
32fe5131 | 9373 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9374 | } |
d14a1e28 RD |
9375 | return resultobj; |
9376 | fail: | |
9377 | return NULL; | |
9378 | } | |
9379 | ||
9380 | ||
c32bde28 | 9381 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9382 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9383 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9384 | int arg2 ; | |
9385 | PyObject * obj0 = 0 ; | |
994141e6 | 9386 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9387 | char *kwnames[] = { |
9388 | (char *) "self",(char *) "min", NULL | |
9389 | }; | |
9390 | ||
994141e6 | 9391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9392 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9393 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9394 | { | |
32fe5131 | 9395 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9396 | if (SWIG_arg_fail(2)) SWIG_fail; |
9397 | } | |
d14a1e28 RD |
9398 | { |
9399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9400 | (arg1)->SetMinimumSizeX(arg2); | |
9401 | ||
9402 | wxPyEndAllowThreads(__tstate); | |
9403 | if (PyErr_Occurred()) SWIG_fail; | |
9404 | } | |
9405 | Py_INCREF(Py_None); resultobj = Py_None; | |
9406 | return resultobj; | |
9407 | fail: | |
9408 | return NULL; | |
9409 | } | |
9410 | ||
9411 | ||
c32bde28 | 9412 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9413 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9414 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9415 | int arg2 ; | |
9416 | PyObject * obj0 = 0 ; | |
994141e6 | 9417 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9418 | char *kwnames[] = { |
9419 | (char *) "self",(char *) "min", NULL | |
9420 | }; | |
9421 | ||
994141e6 | 9422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9423 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9424 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9425 | { | |
32fe5131 | 9426 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9427 | if (SWIG_arg_fail(2)) SWIG_fail; |
9428 | } | |
d14a1e28 RD |
9429 | { |
9430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9431 | (arg1)->SetMinimumSizeY(arg2); | |
9432 | ||
9433 | wxPyEndAllowThreads(__tstate); | |
9434 | if (PyErr_Occurred()) SWIG_fail; | |
9435 | } | |
9436 | Py_INCREF(Py_None); resultobj = Py_None; | |
9437 | return resultobj; | |
9438 | fail: | |
9439 | return NULL; | |
9440 | } | |
9441 | ||
9442 | ||
c32bde28 | 9443 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9444 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9445 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9446 | int result; | |
9447 | PyObject * obj0 = 0 ; | |
9448 | char *kwnames[] = { | |
9449 | (char *) "self", NULL | |
9450 | }; | |
9451 | ||
9452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9453 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9454 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9455 | { |
9456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9457 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
9458 | ||
9459 | wxPyEndAllowThreads(__tstate); | |
9460 | if (PyErr_Occurred()) SWIG_fail; | |
9461 | } | |
093d3ff1 | 9462 | { |
32fe5131 | 9463 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9464 | } |
d14a1e28 RD |
9465 | return resultobj; |
9466 | fail: | |
9467 | return NULL; | |
9468 | } | |
9469 | ||
9470 | ||
c32bde28 | 9471 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9472 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9473 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9474 | int result; | |
9475 | PyObject * obj0 = 0 ; | |
9476 | char *kwnames[] = { | |
9477 | (char *) "self", NULL | |
9478 | }; | |
9479 | ||
9480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9481 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9482 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9483 | { |
9484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9485 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
9486 | ||
9487 | wxPyEndAllowThreads(__tstate); | |
9488 | if (PyErr_Occurred()) SWIG_fail; | |
9489 | } | |
093d3ff1 | 9490 | { |
32fe5131 | 9491 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9492 | } |
d14a1e28 RD |
9493 | return resultobj; |
9494 | fail: | |
9495 | return NULL; | |
9496 | } | |
9497 | ||
9498 | ||
c32bde28 | 9499 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9500 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9501 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9502 | int arg2 ; | |
9503 | PyObject * obj0 = 0 ; | |
994141e6 | 9504 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9505 | char *kwnames[] = { |
9506 | (char *) "self",(char *) "max", NULL | |
9507 | }; | |
9508 | ||
994141e6 | 9509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9510 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9511 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9512 | { | |
32fe5131 | 9513 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9514 | if (SWIG_arg_fail(2)) SWIG_fail; |
9515 | } | |
d14a1e28 RD |
9516 | { |
9517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9518 | (arg1)->SetMaximumSizeX(arg2); | |
9519 | ||
9520 | wxPyEndAllowThreads(__tstate); | |
9521 | if (PyErr_Occurred()) SWIG_fail; | |
9522 | } | |
9523 | Py_INCREF(Py_None); resultobj = Py_None; | |
9524 | return resultobj; | |
9525 | fail: | |
9526 | return NULL; | |
9527 | } | |
9528 | ||
9529 | ||
c32bde28 | 9530 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9531 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9532 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9533 | int arg2 ; | |
9534 | PyObject * obj0 = 0 ; | |
994141e6 | 9535 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9536 | char *kwnames[] = { |
9537 | (char *) "self",(char *) "max", NULL | |
9538 | }; | |
9539 | ||
994141e6 | 9540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9541 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9542 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9543 | { | |
32fe5131 | 9544 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9545 | if (SWIG_arg_fail(2)) SWIG_fail; |
9546 | } | |
d14a1e28 RD |
9547 | { |
9548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9549 | (arg1)->SetMaximumSizeY(arg2); | |
9550 | ||
9551 | wxPyEndAllowThreads(__tstate); | |
9552 | if (PyErr_Occurred()) SWIG_fail; | |
9553 | } | |
9554 | Py_INCREF(Py_None); resultobj = Py_None; | |
9555 | return resultobj; | |
9556 | fail: | |
9557 | return NULL; | |
9558 | } | |
9559 | ||
9560 | ||
c32bde28 | 9561 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9562 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9563 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9564 | int result; | |
9565 | PyObject * obj0 = 0 ; | |
9566 | char *kwnames[] = { | |
9567 | (char *) "self", NULL | |
9568 | }; | |
9569 | ||
9570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9571 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9572 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9573 | { |
9574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9575 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
9576 | ||
9577 | wxPyEndAllowThreads(__tstate); | |
9578 | if (PyErr_Occurred()) SWIG_fail; | |
9579 | } | |
093d3ff1 | 9580 | { |
32fe5131 | 9581 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9582 | } |
d14a1e28 RD |
9583 | return resultobj; |
9584 | fail: | |
9585 | return NULL; | |
9586 | } | |
9587 | ||
9588 | ||
c32bde28 | 9589 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9590 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9591 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9592 | int result; | |
9593 | PyObject * obj0 = 0 ; | |
9594 | char *kwnames[] = { | |
9595 | (char *) "self", NULL | |
9596 | }; | |
9597 | ||
9598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9599 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9600 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9601 | { |
9602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9603 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
9604 | ||
9605 | wxPyEndAllowThreads(__tstate); | |
9606 | if (PyErr_Occurred()) SWIG_fail; | |
9607 | } | |
093d3ff1 | 9608 | { |
32fe5131 | 9609 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9610 | } |
d14a1e28 RD |
9611 | return resultobj; |
9612 | fail: | |
9613 | return NULL; | |
9614 | } | |
9615 | ||
9616 | ||
c32bde28 | 9617 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9618 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9619 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9620 | int arg2 ; | |
9621 | int arg3 ; | |
9622 | int arg4 = (int) 2 ; | |
093d3ff1 | 9623 | wxSashEdgePosition result; |
d14a1e28 | 9624 | PyObject * obj0 = 0 ; |
994141e6 RD |
9625 | PyObject * obj1 = 0 ; |
9626 | PyObject * obj2 = 0 ; | |
9627 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
9628 | char *kwnames[] = { |
9629 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
9630 | }; | |
9631 | ||
994141e6 | 9632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
9633 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9634 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9635 | { | |
32fe5131 | 9636 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9637 | if (SWIG_arg_fail(2)) SWIG_fail; |
9638 | } | |
9639 | { | |
32fe5131 | 9640 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
9641 | if (SWIG_arg_fail(3)) SWIG_fail; |
9642 | } | |
994141e6 | 9643 | if (obj3) { |
093d3ff1 | 9644 | { |
32fe5131 | 9645 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
9646 | if (SWIG_arg_fail(4)) SWIG_fail; |
9647 | } | |
994141e6 | 9648 | } |
d14a1e28 RD |
9649 | { |
9650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9651 | result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4); |
d14a1e28 RD |
9652 | |
9653 | wxPyEndAllowThreads(__tstate); | |
9654 | if (PyErr_Occurred()) SWIG_fail; | |
9655 | } | |
093d3ff1 | 9656 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
9657 | return resultobj; |
9658 | fail: | |
9659 | return NULL; | |
9660 | } | |
9661 | ||
9662 | ||
c32bde28 | 9663 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9664 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9665 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9666 | PyObject * obj0 = 0 ; | |
9667 | char *kwnames[] = { | |
9668 | (char *) "self", NULL | |
9669 | }; | |
9670 | ||
9671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9672 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9673 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9674 | { |
9675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9676 | (arg1)->SizeWindows(); | |
9677 | ||
9678 | wxPyEndAllowThreads(__tstate); | |
9679 | if (PyErr_Occurred()) SWIG_fail; | |
9680 | } | |
9681 | Py_INCREF(Py_None); resultobj = Py_None; | |
9682 | return resultobj; | |
9683 | fail: | |
9684 | return NULL; | |
9685 | } | |
9686 | ||
9687 | ||
c32bde28 | 9688 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9689 | PyObject *obj; |
9690 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9691 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
9692 | Py_INCREF(obj); | |
9693 | return Py_BuildValue((char *)""); | |
9694 | } | |
c32bde28 | 9695 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9696 | PyObject *resultobj = NULL; |
d14a1e28 | 9697 | int arg1 = (int) 0 ; |
093d3ff1 | 9698 | wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ; |
d14a1e28 | 9699 | wxSashEvent *result; |
994141e6 RD |
9700 | PyObject * obj0 = 0 ; |
9701 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
9702 | char *kwnames[] = { |
9703 | (char *) "id",(char *) "edge", NULL | |
9704 | }; | |
9705 | ||
994141e6 RD |
9706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
9707 | if (obj0) { | |
093d3ff1 | 9708 | { |
32fe5131 | 9709 | arg1 = static_cast<int >(SWIG_As_int(obj0)); |
093d3ff1 RD |
9710 | if (SWIG_arg_fail(1)) SWIG_fail; |
9711 | } | |
994141e6 RD |
9712 | } |
9713 | if (obj1) { | |
093d3ff1 | 9714 | { |
32fe5131 | 9715 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9716 | if (SWIG_arg_fail(2)) SWIG_fail; |
9717 | } | |
994141e6 | 9718 | } |
d14a1e28 RD |
9719 | { |
9720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9721 | result = (wxSashEvent *)new wxSashEvent(arg1,arg2); |
d14a1e28 RD |
9722 | |
9723 | wxPyEndAllowThreads(__tstate); | |
9724 | if (PyErr_Occurred()) SWIG_fail; | |
9725 | } | |
15afbcd0 | 9726 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
9727 | return resultobj; |
9728 | fail: | |
9729 | return NULL; | |
9730 | } | |
9731 | ||
9732 | ||
c32bde28 | 9733 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9734 | PyObject *resultobj = NULL; |
d14a1e28 | 9735 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
093d3ff1 | 9736 | wxSashEdgePosition arg2 ; |
d14a1e28 | 9737 | PyObject * obj0 = 0 ; |
994141e6 | 9738 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9739 | char *kwnames[] = { |
9740 | (char *) "self",(char *) "edge", NULL | |
9741 | }; | |
9742 | ||
994141e6 | 9743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9744 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9745 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9746 | { | |
32fe5131 | 9747 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9748 | if (SWIG_arg_fail(2)) SWIG_fail; |
9749 | } | |
d14a1e28 RD |
9750 | { |
9751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9752 | (arg1)->SetEdge(arg2); |
d14a1e28 RD |
9753 | |
9754 | wxPyEndAllowThreads(__tstate); | |
9755 | if (PyErr_Occurred()) SWIG_fail; | |
9756 | } | |
9757 | Py_INCREF(Py_None); resultobj = Py_None; | |
9758 | return resultobj; | |
9759 | fail: | |
9760 | return NULL; | |
9761 | } | |
9762 | ||
9763 | ||
c32bde28 | 9764 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9765 | PyObject *resultobj = NULL; |
d14a1e28 | 9766 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
093d3ff1 | 9767 | wxSashEdgePosition result; |
d14a1e28 RD |
9768 | PyObject * obj0 = 0 ; |
9769 | char *kwnames[] = { | |
9770 | (char *) "self", NULL | |
9771 | }; | |
9772 | ||
9773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9774 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9775 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9776 | { |
9777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9778 | result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge(); |
d14a1e28 RD |
9779 | |
9780 | wxPyEndAllowThreads(__tstate); | |
9781 | if (PyErr_Occurred()) SWIG_fail; | |
9782 | } | |
093d3ff1 | 9783 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
9784 | return resultobj; |
9785 | fail: | |
9786 | return NULL; | |
9787 | } | |
9788 | ||
9789 | ||
c32bde28 | 9790 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9791 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9792 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
9793 | wxRect *arg2 = 0 ; | |
9794 | wxRect temp2 ; | |
9795 | PyObject * obj0 = 0 ; | |
9796 | PyObject * obj1 = 0 ; | |
9797 | char *kwnames[] = { | |
9798 | (char *) "self",(char *) "rect", NULL | |
9799 | }; | |
9800 | ||
9801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9802 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9803 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9804 | { |
9805 | arg2 = &temp2; | |
9806 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9807 | } | |
9808 | { | |
9809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9810 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
9811 | ||
9812 | wxPyEndAllowThreads(__tstate); | |
9813 | if (PyErr_Occurred()) SWIG_fail; | |
9814 | } | |
9815 | Py_INCREF(Py_None); resultobj = Py_None; | |
9816 | return resultobj; | |
9817 | fail: | |
9818 | return NULL; | |
9819 | } | |
9820 | ||
9821 | ||
c32bde28 | 9822 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9823 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9824 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
9825 | wxRect result; | |
9826 | PyObject * obj0 = 0 ; | |
9827 | char *kwnames[] = { | |
9828 | (char *) "self", NULL | |
9829 | }; | |
9830 | ||
9831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9832 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9833 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9834 | { |
9835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9836 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
9837 | ||
9838 | wxPyEndAllowThreads(__tstate); | |
9839 | if (PyErr_Occurred()) SWIG_fail; | |
9840 | } | |
9841 | { | |
9842 | wxRect * resultptr; | |
32fe5131 | 9843 | resultptr = new wxRect(static_cast<wxRect & >(result)); |
15afbcd0 | 9844 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
9845 | } |
9846 | return resultobj; | |
9847 | fail: | |
9848 | return NULL; | |
9849 | } | |
9850 | ||
9851 | ||
c32bde28 | 9852 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9853 | PyObject *resultobj = NULL; |
d14a1e28 | 9854 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
093d3ff1 | 9855 | wxSashDragStatus arg2 ; |
d14a1e28 | 9856 | PyObject * obj0 = 0 ; |
994141e6 | 9857 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9858 | char *kwnames[] = { |
9859 | (char *) "self",(char *) "status", NULL | |
9860 | }; | |
9861 | ||
994141e6 | 9862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9863 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9864 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9865 | { | |
32fe5131 | 9866 | arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9867 | if (SWIG_arg_fail(2)) SWIG_fail; |
9868 | } | |
d14a1e28 RD |
9869 | { |
9870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9871 | (arg1)->SetDragStatus(arg2); |
d14a1e28 RD |
9872 | |
9873 | wxPyEndAllowThreads(__tstate); | |
9874 | if (PyErr_Occurred()) SWIG_fail; | |
9875 | } | |
9876 | Py_INCREF(Py_None); resultobj = Py_None; | |
9877 | return resultobj; | |
9878 | fail: | |
9879 | return NULL; | |
9880 | } | |
9881 | ||
9882 | ||
c32bde28 | 9883 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9884 | PyObject *resultobj = NULL; |
d14a1e28 | 9885 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
093d3ff1 | 9886 | wxSashDragStatus result; |
d14a1e28 RD |
9887 | PyObject * obj0 = 0 ; |
9888 | char *kwnames[] = { | |
9889 | (char *) "self", NULL | |
9890 | }; | |
9891 | ||
9892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9893 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9894 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9895 | { |
9896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9897 | result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus(); |
d14a1e28 RD |
9898 | |
9899 | wxPyEndAllowThreads(__tstate); | |
9900 | if (PyErr_Occurred()) SWIG_fail; | |
9901 | } | |
093d3ff1 | 9902 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
9903 | return resultobj; |
9904 | fail: | |
9905 | return NULL; | |
9906 | } | |
9907 | ||
9908 | ||
c32bde28 | 9909 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9910 | PyObject *obj; |
9911 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9912 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
9913 | Py_INCREF(obj); | |
9914 | return Py_BuildValue((char *)""); | |
9915 | } | |
c32bde28 | 9916 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9917 | PyObject *resultobj = NULL; |
e811c8ce | 9918 | int arg1 = (int) 0 ; |
d14a1e28 | 9919 | wxQueryLayoutInfoEvent *result; |
994141e6 | 9920 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
9921 | char *kwnames[] = { |
9922 | (char *) "id", NULL | |
9923 | }; | |
9924 | ||
994141e6 RD |
9925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
9926 | if (obj0) { | |
093d3ff1 | 9927 | { |
32fe5131 | 9928 | arg1 = static_cast<int >(SWIG_As_int(obj0)); |
093d3ff1 RD |
9929 | if (SWIG_arg_fail(1)) SWIG_fail; |
9930 | } | |
994141e6 | 9931 | } |
d14a1e28 RD |
9932 | { |
9933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9934 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
9935 | ||
9936 | wxPyEndAllowThreads(__tstate); | |
9937 | if (PyErr_Occurred()) SWIG_fail; | |
9938 | } | |
15afbcd0 | 9939 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
9940 | return resultobj; |
9941 | fail: | |
9942 | return NULL; | |
9943 | } | |
9944 | ||
9945 | ||
c32bde28 | 9946 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9947 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9948 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
9949 | int arg2 ; | |
9950 | PyObject * obj0 = 0 ; | |
994141e6 | 9951 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9952 | char *kwnames[] = { |
9953 | (char *) "self",(char *) "length", NULL | |
9954 | }; | |
9955 | ||
994141e6 | 9956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9957 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9958 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9959 | { | |
32fe5131 | 9960 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9961 | if (SWIG_arg_fail(2)) SWIG_fail; |
9962 | } | |
d14a1e28 RD |
9963 | { |
9964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9965 | (arg1)->SetRequestedLength(arg2); | |
9966 | ||
9967 | wxPyEndAllowThreads(__tstate); | |
9968 | if (PyErr_Occurred()) SWIG_fail; | |
9969 | } | |
9970 | Py_INCREF(Py_None); resultobj = Py_None; | |
9971 | return resultobj; | |
9972 | fail: | |
9973 | return NULL; | |
9974 | } | |
9975 | ||
9976 | ||
c32bde28 | 9977 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9978 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9979 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
9980 | int result; | |
9981 | PyObject * obj0 = 0 ; | |
9982 | char *kwnames[] = { | |
9983 | (char *) "self", NULL | |
9984 | }; | |
9985 | ||
9986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9987 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9988 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9989 | { |
9990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9991 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
9992 | ||
9993 | wxPyEndAllowThreads(__tstate); | |
9994 | if (PyErr_Occurred()) SWIG_fail; | |
9995 | } | |
093d3ff1 | 9996 | { |
32fe5131 | 9997 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9998 | } |
d14a1e28 RD |
9999 | return resultobj; |
10000 | fail: | |
10001 | return NULL; | |
10002 | } | |
10003 | ||
10004 | ||
c32bde28 | 10005 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10006 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10007 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
10008 | int arg2 ; | |
10009 | PyObject * obj0 = 0 ; | |
994141e6 | 10010 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10011 | char *kwnames[] = { |
10012 | (char *) "self",(char *) "flags", NULL | |
10013 | }; | |
10014 | ||
994141e6 | 10015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10016 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10017 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10018 | { | |
32fe5131 | 10019 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10020 | if (SWIG_arg_fail(2)) SWIG_fail; |
10021 | } | |
d14a1e28 RD |
10022 | { |
10023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10024 | (arg1)->SetFlags(arg2); | |
10025 | ||
10026 | wxPyEndAllowThreads(__tstate); | |
10027 | if (PyErr_Occurred()) SWIG_fail; | |
10028 | } | |
10029 | Py_INCREF(Py_None); resultobj = Py_None; | |
10030 | return resultobj; | |
10031 | fail: | |
10032 | return NULL; | |
10033 | } | |
10034 | ||
10035 | ||
c32bde28 | 10036 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10037 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10038 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
10039 | int result; | |
10040 | PyObject * obj0 = 0 ; | |
10041 | char *kwnames[] = { | |
10042 | (char *) "self", NULL | |
10043 | }; | |
10044 | ||
10045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10046 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10047 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10048 | { |
10049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10050 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
10051 | ||
10052 | wxPyEndAllowThreads(__tstate); | |
10053 | if (PyErr_Occurred()) SWIG_fail; | |
10054 | } | |
093d3ff1 | 10055 | { |
32fe5131 | 10056 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 10057 | } |
d14a1e28 RD |
10058 | return resultobj; |
10059 | fail: | |
10060 | return NULL; | |
10061 | } | |
10062 | ||
10063 | ||
c32bde28 | 10064 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10065 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10066 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
10067 | wxSize *arg2 = 0 ; | |
10068 | wxSize temp2 ; | |
10069 | PyObject * obj0 = 0 ; | |
10070 | PyObject * obj1 = 0 ; | |
10071 | char *kwnames[] = { | |
10072 | (char *) "self",(char *) "size", NULL | |
10073 | }; | |
10074 | ||
10075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10076 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10077 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10078 | { |
10079 | arg2 = &temp2; | |
10080 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
10081 | } | |
10082 | { | |
10083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10084 | (arg1)->SetSize((wxSize const &)*arg2); | |
10085 | ||
10086 | wxPyEndAllowThreads(__tstate); | |
10087 | if (PyErr_Occurred()) SWIG_fail; | |
10088 | } | |
10089 | Py_INCREF(Py_None); resultobj = Py_None; | |
10090 | return resultobj; | |
10091 | fail: | |
10092 | return NULL; | |
10093 | } | |
10094 | ||
10095 | ||
c32bde28 | 10096 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10097 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10098 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
10099 | wxSize result; | |
10100 | PyObject * obj0 = 0 ; | |
10101 | char *kwnames[] = { | |
10102 | (char *) "self", NULL | |
10103 | }; | |
10104 | ||
10105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10106 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10107 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10108 | { |
10109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10110 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
10111 | ||
10112 | wxPyEndAllowThreads(__tstate); | |
10113 | if (PyErr_Occurred()) SWIG_fail; | |
10114 | } | |
10115 | { | |
10116 | wxSize * resultptr; | |
32fe5131 | 10117 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 10118 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
10119 | } |
10120 | return resultobj; | |
10121 | fail: | |
10122 | return NULL; | |
10123 | } | |
10124 | ||
10125 | ||
c32bde28 | 10126 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10127 | PyObject *resultobj = NULL; |
d14a1e28 | 10128 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
093d3ff1 | 10129 | wxLayoutOrientation arg2 ; |
d14a1e28 | 10130 | PyObject * obj0 = 0 ; |
994141e6 | 10131 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10132 | char *kwnames[] = { |
10133 | (char *) "self",(char *) "orient", NULL | |
10134 | }; | |
10135 | ||
994141e6 | 10136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10137 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10138 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10139 | { | |
32fe5131 | 10140 | arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10141 | if (SWIG_arg_fail(2)) SWIG_fail; |
10142 | } | |
d14a1e28 RD |
10143 | { |
10144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 10145 | (arg1)->SetOrientation(arg2); |
d14a1e28 RD |
10146 | |
10147 | wxPyEndAllowThreads(__tstate); | |
10148 | if (PyErr_Occurred()) SWIG_fail; | |
10149 | } | |
10150 | Py_INCREF(Py_None); resultobj = Py_None; | |
10151 | return resultobj; | |
10152 | fail: | |
10153 | return NULL; | |
10154 | } | |
10155 | ||
10156 | ||
c32bde28 | 10157 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10158 | PyObject *resultobj = NULL; |
d14a1e28 | 10159 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
093d3ff1 | 10160 | wxLayoutOrientation result; |
d14a1e28 RD |
10161 | PyObject * obj0 = 0 ; |
10162 | char *kwnames[] = { | |
10163 | (char *) "self", NULL | |
10164 | }; | |
10165 | ||
10166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10167 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10168 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10169 | { |
10170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 10171 | result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); |
d14a1e28 RD |
10172 | |
10173 | wxPyEndAllowThreads(__tstate); | |
10174 | if (PyErr_Occurred()) SWIG_fail; | |
10175 | } | |
093d3ff1 | 10176 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
10177 | return resultobj; |
10178 | fail: | |
10179 | return NULL; | |
10180 | } | |
10181 | ||
10182 | ||
c32bde28 | 10183 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10184 | PyObject *resultobj = NULL; |
d14a1e28 | 10185 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
093d3ff1 | 10186 | wxLayoutAlignment arg2 ; |
d14a1e28 | 10187 | PyObject * obj0 = 0 ; |
994141e6 | 10188 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10189 | char *kwnames[] = { |
10190 | (char *) "self",(char *) "align", NULL | |
10191 | }; | |
10192 | ||
994141e6 | 10193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10194 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10195 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10196 | { | |
32fe5131 | 10197 | arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10198 | if (SWIG_arg_fail(2)) SWIG_fail; |
10199 | } | |
d14a1e28 RD |
10200 | { |
10201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 10202 | (arg1)->SetAlignment(arg2); |
d14a1e28 RD |
10203 | |
10204 | wxPyEndAllowThreads(__tstate); | |
10205 | if (PyErr_Occurred()) SWIG_fail; | |
10206 | } | |
10207 | Py_INCREF(Py_None); resultobj = Py_None; | |
10208 | return resultobj; | |
10209 | fail: | |
10210 | return NULL; | |
10211 | } | |
10212 | ||
10213 | ||
c32bde28 | 10214 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10215 | PyObject *resultobj = NULL; |
d14a1e28 | 10216 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
093d3ff1 | 10217 | wxLayoutAlignment result; |
d14a1e28 RD |
10218 | PyObject * obj0 = 0 ; |
10219 | char *kwnames[] = { | |
10220 | (char *) "self", NULL | |
10221 | }; | |
10222 | ||
10223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10224 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10225 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10226 | { |
10227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 10228 | result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); |
d14a1e28 RD |
10229 | |
10230 | wxPyEndAllowThreads(__tstate); | |
10231 | if (PyErr_Occurred()) SWIG_fail; | |
10232 | } | |
093d3ff1 | 10233 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
10234 | return resultobj; |
10235 | fail: | |
10236 | return NULL; | |
10237 | } | |
10238 | ||
10239 | ||
c32bde28 | 10240 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10241 | PyObject *obj; |
10242 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10243 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
10244 | Py_INCREF(obj); | |
10245 | return Py_BuildValue((char *)""); | |
10246 | } | |
c32bde28 | 10247 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10248 | PyObject *resultobj = NULL; |
e811c8ce | 10249 | int arg1 = (int) 0 ; |
d14a1e28 | 10250 | wxCalculateLayoutEvent *result; |
994141e6 | 10251 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10252 | char *kwnames[] = { |
10253 | (char *) "id", NULL | |
10254 | }; | |
10255 | ||
994141e6 RD |
10256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
10257 | if (obj0) { | |
093d3ff1 | 10258 | { |
32fe5131 | 10259 | arg1 = static_cast<int >(SWIG_As_int(obj0)); |
093d3ff1 RD |
10260 | if (SWIG_arg_fail(1)) SWIG_fail; |
10261 | } | |
994141e6 | 10262 | } |
d14a1e28 RD |
10263 | { |
10264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10265 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
10266 | ||
10267 | wxPyEndAllowThreads(__tstate); | |
10268 | if (PyErr_Occurred()) SWIG_fail; | |
10269 | } | |
15afbcd0 | 10270 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
10271 | return resultobj; |
10272 | fail: | |
10273 | return NULL; | |
10274 | } | |
10275 | ||
10276 | ||
c32bde28 | 10277 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10278 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10279 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; |
10280 | int arg2 ; | |
10281 | PyObject * obj0 = 0 ; | |
994141e6 | 10282 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10283 | char *kwnames[] = { |
10284 | (char *) "self",(char *) "flags", NULL | |
10285 | }; | |
10286 | ||
994141e6 | 10287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10288 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10289 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10290 | { | |
32fe5131 | 10291 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10292 | if (SWIG_arg_fail(2)) SWIG_fail; |
10293 | } | |
d14a1e28 RD |
10294 | { |
10295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10296 | (arg1)->SetFlags(arg2); | |
10297 | ||
10298 | wxPyEndAllowThreads(__tstate); | |
10299 | if (PyErr_Occurred()) SWIG_fail; | |
10300 | } | |
10301 | Py_INCREF(Py_None); resultobj = Py_None; | |
10302 | return resultobj; | |
10303 | fail: | |
10304 | return NULL; | |
10305 | } | |
10306 | ||
10307 | ||
c32bde28 | 10308 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10309 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10310 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; |
10311 | int result; | |
10312 | PyObject * obj0 = 0 ; | |
10313 | char *kwnames[] = { | |
10314 | (char *) "self", NULL | |
10315 | }; | |
10316 | ||
10317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10318 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10319 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10320 | { |
10321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10322 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
10323 | ||
10324 | wxPyEndAllowThreads(__tstate); | |
10325 | if (PyErr_Occurred()) SWIG_fail; | |
10326 | } | |
093d3ff1 | 10327 | { |
32fe5131 | 10328 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 10329 | } |
d14a1e28 RD |
10330 | return resultobj; |
10331 | fail: | |
10332 | return NULL; | |
10333 | } | |
10334 | ||
10335 | ||
c32bde28 | 10336 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10337 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10338 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; |
10339 | wxRect *arg2 = 0 ; | |
10340 | wxRect temp2 ; | |
10341 | PyObject * obj0 = 0 ; | |
10342 | PyObject * obj1 = 0 ; | |
10343 | char *kwnames[] = { | |
10344 | (char *) "self",(char *) "rect", NULL | |
10345 | }; | |
10346 | ||
10347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10348 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10349 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10350 | { |
10351 | arg2 = &temp2; | |
10352 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
10353 | } | |
10354 | { | |
10355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10356 | (arg1)->SetRect((wxRect const &)*arg2); | |
10357 | ||
10358 | wxPyEndAllowThreads(__tstate); | |
10359 | if (PyErr_Occurred()) SWIG_fail; | |
10360 | } | |
10361 | Py_INCREF(Py_None); resultobj = Py_None; | |
10362 | return resultobj; | |
10363 | fail: | |
10364 | return NULL; | |
10365 | } | |
10366 | ||
10367 | ||
c32bde28 | 10368 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10369 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10370 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; |
10371 | wxRect result; | |
10372 | PyObject * obj0 = 0 ; | |
10373 | char *kwnames[] = { | |
10374 | (char *) "self", NULL | |
10375 | }; | |
10376 | ||
10377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10378 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10379 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10380 | { |
10381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10382 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
10383 | ||
10384 | wxPyEndAllowThreads(__tstate); | |
10385 | if (PyErr_Occurred()) SWIG_fail; | |
10386 | } | |
10387 | { | |
10388 | wxRect * resultptr; | |
32fe5131 | 10389 | resultptr = new wxRect(static_cast<wxRect & >(result)); |
15afbcd0 | 10390 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
10391 | } |
10392 | return resultobj; | |
10393 | fail: | |
10394 | return NULL; | |
10395 | } | |
10396 | ||
10397 | ||
c32bde28 | 10398 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10399 | PyObject *obj; |
10400 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10401 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
10402 | Py_INCREF(obj); | |
10403 | return Py_BuildValue((char *)""); | |
10404 | } | |
c32bde28 | 10405 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10406 | PyObject *resultobj = NULL; |
d14a1e28 | 10407 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 10408 | int arg2 = (int) -1 ; |
d14a1e28 RD |
10409 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10410 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10411 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10412 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10413 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10414 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
10415 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10416 | wxSashLayoutWindow *result; | |
10417 | wxPoint temp3 ; | |
10418 | wxSize temp4 ; | |
ae8162c8 | 10419 | bool temp6 = false ; |
d14a1e28 | 10420 | PyObject * obj0 = 0 ; |
994141e6 | 10421 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10422 | PyObject * obj2 = 0 ; |
10423 | PyObject * obj3 = 0 ; | |
994141e6 | 10424 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10425 | PyObject * obj5 = 0 ; |
10426 | char *kwnames[] = { | |
10427 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10428 | }; | |
10429 | ||
248ed943 | 10430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
10431 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10432 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 10433 | if (obj1) { |
093d3ff1 | 10434 | { |
32fe5131 | 10435 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10436 | if (SWIG_arg_fail(2)) SWIG_fail; |
10437 | } | |
248ed943 | 10438 | } |
d14a1e28 RD |
10439 | if (obj2) { |
10440 | { | |
10441 | arg3 = &temp3; | |
10442 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10443 | } | |
10444 | } | |
10445 | if (obj3) { | |
10446 | { | |
10447 | arg4 = &temp4; | |
10448 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10449 | } | |
10450 | } | |
994141e6 | 10451 | if (obj4) { |
093d3ff1 | 10452 | { |
32fe5131 | 10453 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
10454 | if (SWIG_arg_fail(5)) SWIG_fail; |
10455 | } | |
994141e6 | 10456 | } |
d14a1e28 RD |
10457 | if (obj5) { |
10458 | { | |
10459 | arg6 = wxString_in_helper(obj5); | |
10460 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 10461 | temp6 = true; |
d14a1e28 RD |
10462 | } |
10463 | } | |
10464 | { | |
e3b71cb8 | 10465 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10467 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10468 | ||
10469 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10470 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10471 | } |
15afbcd0 | 10472 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
10473 | { |
10474 | if (temp6) | |
10475 | delete arg6; | |
10476 | } | |
10477 | return resultobj; | |
10478 | fail: | |
10479 | { | |
10480 | if (temp6) | |
10481 | delete arg6; | |
10482 | } | |
10483 | return NULL; | |
10484 | } | |
10485 | ||
10486 | ||
c32bde28 | 10487 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10488 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10489 | wxSashLayoutWindow *result; |
10490 | char *kwnames[] = { | |
10491 | NULL | |
10492 | }; | |
10493 | ||
10494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
10495 | { | |
e3b71cb8 | 10496 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10498 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
10499 | ||
10500 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10501 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10502 | } |
15afbcd0 | 10503 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
10504 | return resultobj; |
10505 | fail: | |
10506 | return NULL; | |
10507 | } | |
10508 | ||
10509 | ||
c32bde28 | 10510 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10511 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10512 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
10513 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 10514 | int arg3 = (int) -1 ; |
d14a1e28 RD |
10515 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10516 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10517 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10518 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10519 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10520 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
10521 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10522 | bool result; | |
10523 | wxPoint temp4 ; | |
10524 | wxSize temp5 ; | |
ae8162c8 | 10525 | bool temp7 = false ; |
d14a1e28 RD |
10526 | PyObject * obj0 = 0 ; |
10527 | PyObject * obj1 = 0 ; | |
994141e6 | 10528 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10529 | PyObject * obj3 = 0 ; |
10530 | PyObject * obj4 = 0 ; | |
994141e6 | 10531 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10532 | PyObject * obj6 = 0 ; |
10533 | char *kwnames[] = { | |
10534 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10535 | }; | |
10536 | ||
248ed943 | 10537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
10538 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10539 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10540 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10541 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 10542 | if (obj2) { |
093d3ff1 | 10543 | { |
32fe5131 | 10544 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
10545 | if (SWIG_arg_fail(3)) SWIG_fail; |
10546 | } | |
248ed943 | 10547 | } |
d14a1e28 RD |
10548 | if (obj3) { |
10549 | { | |
10550 | arg4 = &temp4; | |
10551 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10552 | } | |
10553 | } | |
10554 | if (obj4) { | |
10555 | { | |
10556 | arg5 = &temp5; | |
10557 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10558 | } | |
10559 | } | |
994141e6 | 10560 | if (obj5) { |
093d3ff1 | 10561 | { |
32fe5131 | 10562 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
10563 | if (SWIG_arg_fail(6)) SWIG_fail; |
10564 | } | |
994141e6 | 10565 | } |
d14a1e28 RD |
10566 | if (obj6) { |
10567 | { | |
10568 | arg7 = wxString_in_helper(obj6); | |
10569 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 10570 | temp7 = true; |
d14a1e28 RD |
10571 | } |
10572 | } | |
10573 | { | |
10574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10575 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10576 | ||
10577 | wxPyEndAllowThreads(__tstate); | |
10578 | if (PyErr_Occurred()) SWIG_fail; | |
10579 | } | |
4f89f6a3 RD |
10580 | { |
10581 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10582 | } | |
d14a1e28 RD |
10583 | { |
10584 | if (temp7) | |
10585 | delete arg7; | |
10586 | } | |
10587 | return resultobj; | |
10588 | fail: | |
10589 | { | |
10590 | if (temp7) | |
10591 | delete arg7; | |
10592 | } | |
10593 | return NULL; | |
10594 | } | |
10595 | ||
10596 | ||
c32bde28 | 10597 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10598 | PyObject *resultobj = NULL; |
d14a1e28 | 10599 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
093d3ff1 | 10600 | wxLayoutAlignment result; |
d14a1e28 RD |
10601 | PyObject * obj0 = 0 ; |
10602 | char *kwnames[] = { | |
10603 | (char *) "self", NULL | |
10604 | }; | |
10605 | ||
10606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10607 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10608 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10609 | { |
10610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 10611 | result = (wxLayoutAlignment)(arg1)->GetAlignment(); |
d14a1e28 RD |
10612 | |
10613 | wxPyEndAllowThreads(__tstate); | |
10614 | if (PyErr_Occurred()) SWIG_fail; | |
10615 | } | |
093d3ff1 | 10616 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
10617 | return resultobj; |
10618 | fail: | |
10619 | return NULL; | |
10620 | } | |
10621 | ||
10622 | ||
c32bde28 | 10623 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10624 | PyObject *resultobj = NULL; |
d14a1e28 | 10625 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
093d3ff1 | 10626 | wxLayoutOrientation result; |
d14a1e28 RD |
10627 | PyObject * obj0 = 0 ; |
10628 | char *kwnames[] = { | |
10629 | (char *) "self", NULL | |
10630 | }; | |
10631 | ||
10632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10633 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10634 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10635 | { |
10636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 10637 | result = (wxLayoutOrientation)(arg1)->GetOrientation(); |
d14a1e28 RD |
10638 | |
10639 | wxPyEndAllowThreads(__tstate); | |
10640 | if (PyErr_Occurred()) SWIG_fail; | |
10641 | } | |
093d3ff1 | 10642 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
10643 | return resultobj; |
10644 | fail: | |
10645 | return NULL; | |
10646 | } | |
10647 | ||
10648 | ||
c32bde28 | 10649 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10650 | PyObject *resultobj = NULL; |
d14a1e28 | 10651 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
093d3ff1 | 10652 | wxLayoutAlignment arg2 ; |
d14a1e28 | 10653 | PyObject * obj0 = 0 ; |
994141e6 | 10654 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10655 | char *kwnames[] = { |
10656 | (char *) "self",(char *) "alignment", NULL | |
10657 | }; | |
10658 | ||
994141e6 | 10659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10660 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10661 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10662 | { | |
32fe5131 | 10663 | arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10664 | if (SWIG_arg_fail(2)) SWIG_fail; |
10665 | } | |
d14a1e28 RD |
10666 | { |
10667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 10668 | (arg1)->SetAlignment(arg2); |
d14a1e28 RD |
10669 | |
10670 | wxPyEndAllowThreads(__tstate); | |
10671 | if (PyErr_Occurred()) SWIG_fail; | |
10672 | } | |
10673 | Py_INCREF(Py_None); resultobj = Py_None; | |
10674 | return resultobj; | |
10675 | fail: | |
10676 | return NULL; | |
10677 | } | |
10678 | ||
10679 | ||
c32bde28 | 10680 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10681 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10682 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
10683 | wxSize *arg2 = 0 ; | |
10684 | wxSize temp2 ; | |
10685 | PyObject * obj0 = 0 ; | |
10686 | PyObject * obj1 = 0 ; | |
10687 | char *kwnames[] = { | |
10688 | (char *) "self",(char *) "size", NULL | |
10689 | }; | |
10690 | ||
10691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10694 | { |
10695 | arg2 = &temp2; | |
10696 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
10697 | } | |
10698 | { | |
10699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10700 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
10701 | ||
10702 | wxPyEndAllowThreads(__tstate); | |
10703 | if (PyErr_Occurred()) SWIG_fail; | |
10704 | } | |
10705 | Py_INCREF(Py_None); resultobj = Py_None; | |
10706 | return resultobj; | |
10707 | fail: | |
10708 | return NULL; | |
10709 | } | |
10710 | ||
10711 | ||
c32bde28 | 10712 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10713 | PyObject *resultobj = NULL; |
d14a1e28 | 10714 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
093d3ff1 | 10715 | wxLayoutOrientation arg2 ; |
d14a1e28 | 10716 | PyObject * obj0 = 0 ; |
994141e6 | 10717 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10718 | char *kwnames[] = { |
10719 | (char *) "self",(char *) "orientation", NULL | |
10720 | }; | |
10721 | ||
994141e6 | 10722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10723 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10725 | { | |
32fe5131 | 10726 | arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10727 | if (SWIG_arg_fail(2)) SWIG_fail; |
10728 | } | |
d14a1e28 RD |
10729 | { |
10730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 10731 | (arg1)->SetOrientation(arg2); |
d14a1e28 RD |
10732 | |
10733 | wxPyEndAllowThreads(__tstate); | |
10734 | if (PyErr_Occurred()) SWIG_fail; | |
10735 | } | |
10736 | Py_INCREF(Py_None); resultobj = Py_None; | |
10737 | return resultobj; | |
10738 | fail: | |
10739 | return NULL; | |
10740 | } | |
10741 | ||
10742 | ||
c32bde28 | 10743 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10744 | PyObject *obj; |
10745 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10746 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
10747 | Py_INCREF(obj); | |
10748 | return Py_BuildValue((char *)""); | |
10749 | } | |
c32bde28 | 10750 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10751 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10752 | wxLayoutAlgorithm *result; |
10753 | char *kwnames[] = { | |
10754 | NULL | |
10755 | }; | |
10756 | ||
10757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
10758 | { | |
10759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10760 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
10761 | ||
10762 | wxPyEndAllowThreads(__tstate); | |
10763 | if (PyErr_Occurred()) SWIG_fail; | |
10764 | } | |
15afbcd0 | 10765 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
10766 | return resultobj; |
10767 | fail: | |
10768 | return NULL; | |
10769 | } | |
10770 | ||
10771 | ||
c32bde28 | 10772 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10773 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10774 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; |
10775 | PyObject * obj0 = 0 ; | |
10776 | char *kwnames[] = { | |
10777 | (char *) "self", NULL | |
10778 | }; | |
10779 | ||
10780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10781 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10782 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10783 | { |
10784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10785 | delete arg1; | |
10786 | ||
10787 | wxPyEndAllowThreads(__tstate); | |
10788 | if (PyErr_Occurred()) SWIG_fail; | |
10789 | } | |
10790 | Py_INCREF(Py_None); resultobj = Py_None; | |
10791 | return resultobj; | |
10792 | fail: | |
10793 | return NULL; | |
10794 | } | |
10795 | ||
10796 | ||
c32bde28 | 10797 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10798 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10799 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; |
10800 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
10801 | wxRect *arg3 = (wxRect *) NULL ; | |
10802 | bool result; | |
10803 | PyObject * obj0 = 0 ; | |
10804 | PyObject * obj1 = 0 ; | |
10805 | PyObject * obj2 = 0 ; | |
10806 | char *kwnames[] = { | |
10807 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
10808 | }; | |
10809 | ||
10810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10811 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10812 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10813 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
10814 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 10815 | if (obj2) { |
093d3ff1 RD |
10816 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
10817 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
10818 | } |
10819 | { | |
10820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10821 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
10822 | ||
10823 | wxPyEndAllowThreads(__tstate); | |
10824 | if (PyErr_Occurred()) SWIG_fail; | |
10825 | } | |
4f89f6a3 RD |
10826 | { |
10827 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10828 | } | |
d14a1e28 RD |
10829 | return resultobj; |
10830 | fail: | |
10831 | return NULL; | |
10832 | } | |
10833 | ||
10834 | ||
c32bde28 | 10835 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10836 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10837 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; |
10838 | wxFrame *arg2 = (wxFrame *) 0 ; | |
10839 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10840 | bool result; | |
10841 | PyObject * obj0 = 0 ; | |
10842 | PyObject * obj1 = 0 ; | |
10843 | PyObject * obj2 = 0 ; | |
10844 | char *kwnames[] = { | |
10845 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
10846 | }; | |
10847 | ||
10848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10849 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10850 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10851 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
10852 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 10853 | if (obj2) { |
093d3ff1 RD |
10854 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10855 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
10856 | } |
10857 | { | |
10858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10859 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
10860 | ||
10861 | wxPyEndAllowThreads(__tstate); | |
10862 | if (PyErr_Occurred()) SWIG_fail; | |
10863 | } | |
4f89f6a3 RD |
10864 | { |
10865 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10866 | } | |
d14a1e28 RD |
10867 | return resultobj; |
10868 | fail: | |
10869 | return NULL; | |
10870 | } | |
10871 | ||
10872 | ||
c32bde28 | 10873 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10874 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10875 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; |
10876 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10877 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10878 | bool result; | |
10879 | PyObject * obj0 = 0 ; | |
10880 | PyObject * obj1 = 0 ; | |
10881 | PyObject * obj2 = 0 ; | |
10882 | char *kwnames[] = { | |
10883 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
10884 | }; | |
10885 | ||
10886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10887 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10888 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10889 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10890 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 10891 | if (obj2) { |
093d3ff1 RD |
10892 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10893 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
10894 | } |
10895 | { | |
10896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10897 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
10898 | ||
10899 | wxPyEndAllowThreads(__tstate); | |
10900 | if (PyErr_Occurred()) SWIG_fail; | |
10901 | } | |
4f89f6a3 RD |
10902 | { |
10903 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10904 | } | |
d14a1e28 RD |
10905 | return resultobj; |
10906 | fail: | |
10907 | return NULL; | |
10908 | } | |
10909 | ||
10910 | ||
c32bde28 | 10911 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10912 | PyObject *obj; |
10913 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10914 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
10915 | Py_INCREF(obj); | |
10916 | return Py_BuildValue((char *)""); | |
10917 | } | |
c32bde28 | 10918 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10919 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10920 | wxWindow *arg1 = (wxWindow *) 0 ; |
10921 | int arg2 = (int) wxBORDER_NONE ; | |
10922 | wxPopupWindow *result; | |
10923 | PyObject * obj0 = 0 ; | |
994141e6 | 10924 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10925 | char *kwnames[] = { |
10926 | (char *) "parent",(char *) "flags", NULL | |
10927 | }; | |
10928 | ||
994141e6 | 10929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10930 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10931 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 10932 | if (obj1) { |
093d3ff1 | 10933 | { |
32fe5131 | 10934 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10935 | if (SWIG_arg_fail(2)) SWIG_fail; |
10936 | } | |
994141e6 | 10937 | } |
d14a1e28 | 10938 | { |
e3b71cb8 | 10939 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10941 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
10942 | ||
10943 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10944 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10945 | } |
15afbcd0 | 10946 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
10947 | return resultobj; |
10948 | fail: | |
10949 | return NULL; | |
10950 | } | |
10951 | ||
10952 | ||
c32bde28 | 10953 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10954 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10955 | wxPopupWindow *result; |
10956 | char *kwnames[] = { | |
10957 | NULL | |
10958 | }; | |
10959 | ||
10960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
10961 | { | |
e3b71cb8 | 10962 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10964 | result = (wxPopupWindow *)new wxPopupWindow(); | |
10965 | ||
10966 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10967 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10968 | } |
15afbcd0 | 10969 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
10970 | return resultobj; |
10971 | fail: | |
10972 | return NULL; | |
10973 | } | |
10974 | ||
10975 | ||
c32bde28 | 10976 | static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10977 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10978 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; |
10979 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10980 | int arg3 = (int) wxBORDER_NONE ; | |
10981 | bool result; | |
10982 | PyObject * obj0 = 0 ; | |
10983 | PyObject * obj1 = 0 ; | |
994141e6 | 10984 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10985 | char *kwnames[] = { |
10986 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
10987 | }; | |
10988 | ||
994141e6 | 10989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
10990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0); |
10991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10992 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10993 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 10994 | if (obj2) { |
093d3ff1 | 10995 | { |
32fe5131 | 10996 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
10997 | if (SWIG_arg_fail(3)) SWIG_fail; |
10998 | } | |
994141e6 | 10999 | } |
d14a1e28 RD |
11000 | { |
11001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11002 | result = (bool)(arg1)->Create(arg2,arg3); | |
11003 | ||
11004 | wxPyEndAllowThreads(__tstate); | |
11005 | if (PyErr_Occurred()) SWIG_fail; | |
11006 | } | |
4f89f6a3 RD |
11007 | { |
11008 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11009 | } | |
d14a1e28 RD |
11010 | return resultobj; |
11011 | fail: | |
11012 | return NULL; | |
11013 | } | |
11014 | ||
11015 | ||
c32bde28 | 11016 | static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11017 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11018 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; |
11019 | wxPoint *arg2 = 0 ; | |
11020 | wxSize *arg3 = 0 ; | |
11021 | wxPoint temp2 ; | |
11022 | wxSize temp3 ; | |
11023 | PyObject * obj0 = 0 ; | |
11024 | PyObject * obj1 = 0 ; | |
11025 | PyObject * obj2 = 0 ; | |
11026 | char *kwnames[] = { | |
11027 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
11028 | }; | |
11029 | ||
11030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
11031 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0); |
11032 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11033 | { |
11034 | arg2 = &temp2; | |
11035 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
11036 | } | |
11037 | { | |
11038 | arg3 = &temp3; | |
11039 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
11040 | } | |
11041 | { | |
11042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11043 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
11044 | ||
11045 | wxPyEndAllowThreads(__tstate); | |
11046 | if (PyErr_Occurred()) SWIG_fail; | |
11047 | } | |
11048 | Py_INCREF(Py_None); resultobj = Py_None; | |
11049 | return resultobj; | |
11050 | fail: | |
11051 | return NULL; | |
11052 | } | |
11053 | ||
11054 | ||
c32bde28 | 11055 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11056 | PyObject *obj; |
11057 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11058 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
11059 | Py_INCREF(obj); | |
11060 | return Py_BuildValue((char *)""); | |
11061 | } | |
c32bde28 | 11062 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11063 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11064 | wxWindow *arg1 = (wxWindow *) 0 ; |
11065 | int arg2 = (int) wxBORDER_NONE ; | |
11066 | wxPyPopupTransientWindow *result; | |
11067 | PyObject * obj0 = 0 ; | |
994141e6 | 11068 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11069 | char *kwnames[] = { |
11070 | (char *) "parent",(char *) "style", NULL | |
11071 | }; | |
11072 | ||
994141e6 | 11073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
11074 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11075 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 11076 | if (obj1) { |
093d3ff1 | 11077 | { |
32fe5131 | 11078 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
11079 | if (SWIG_arg_fail(2)) SWIG_fail; |
11080 | } | |
994141e6 | 11081 | } |
d14a1e28 | 11082 | { |
e3b71cb8 | 11083 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11085 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
11086 | ||
11087 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11088 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11089 | } |
15afbcd0 | 11090 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
11091 | return resultobj; |
11092 | fail: | |
11093 | return NULL; | |
11094 | } | |
11095 | ||
11096 | ||
c32bde28 | 11097 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11098 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11099 | wxPyPopupTransientWindow *result; |
11100 | char *kwnames[] = { | |
11101 | NULL | |
11102 | }; | |
11103 | ||
11104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
11105 | { | |
e3b71cb8 | 11106 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11108 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
11109 | ||
11110 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11111 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11112 | } |
15afbcd0 | 11113 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
11114 | return resultobj; |
11115 | fail: | |
11116 | return NULL; | |
11117 | } | |
11118 | ||
11119 | ||
c32bde28 | 11120 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11121 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11122 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; |
11123 | PyObject *arg2 = (PyObject *) 0 ; | |
11124 | PyObject *arg3 = (PyObject *) 0 ; | |
11125 | PyObject * obj0 = 0 ; | |
11126 | PyObject * obj1 = 0 ; | |
11127 | PyObject * obj2 = 0 ; | |
11128 | char *kwnames[] = { | |
11129 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
11130 | }; | |
11131 | ||
11132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
11133 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0); |
11134 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11135 | arg2 = obj1; |
11136 | arg3 = obj2; | |
11137 | { | |
11138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11139 | (arg1)->_setCallbackInfo(arg2,arg3); | |
11140 | ||
11141 | wxPyEndAllowThreads(__tstate); | |
11142 | if (PyErr_Occurred()) SWIG_fail; | |
11143 | } | |
11144 | Py_INCREF(Py_None); resultobj = Py_None; | |
11145 | return resultobj; | |
11146 | fail: | |
11147 | return NULL; | |
11148 | } | |
11149 | ||
11150 | ||
c32bde28 | 11151 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11152 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11153 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; |
11154 | wxWindow *arg2 = (wxWindow *) NULL ; | |
11155 | PyObject * obj0 = 0 ; | |
11156 | PyObject * obj1 = 0 ; | |
11157 | char *kwnames[] = { | |
11158 | (char *) "self",(char *) "focus", NULL | |
11159 | }; | |
11160 | ||
11161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11162 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0); |
11163 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 11164 | if (obj1) { |
093d3ff1 RD |
11165 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11166 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
11167 | } |
11168 | { | |
11169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11170 | (arg1)->Popup(arg2); | |
11171 | ||
11172 | wxPyEndAllowThreads(__tstate); | |
11173 | if (PyErr_Occurred()) SWIG_fail; | |
11174 | } | |
11175 | Py_INCREF(Py_None); resultobj = Py_None; | |
11176 | return resultobj; | |
11177 | fail: | |
11178 | return NULL; | |
11179 | } | |
11180 | ||
11181 | ||
c32bde28 | 11182 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11183 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11184 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; |
11185 | PyObject * obj0 = 0 ; | |
11186 | char *kwnames[] = { | |
11187 | (char *) "self", NULL | |
11188 | }; | |
11189 | ||
11190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11191 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0); |
11192 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11193 | { |
11194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11195 | (arg1)->Dismiss(); | |
11196 | ||
11197 | wxPyEndAllowThreads(__tstate); | |
11198 | if (PyErr_Occurred()) SWIG_fail; | |
11199 | } | |
11200 | Py_INCREF(Py_None); resultobj = Py_None; | |
11201 | return resultobj; | |
11202 | fail: | |
11203 | return NULL; | |
11204 | } | |
11205 | ||
11206 | ||
c32bde28 | 11207 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11208 | PyObject *obj; |
11209 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11210 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
11211 | Py_INCREF(obj); | |
11212 | return Py_BuildValue((char *)""); | |
11213 | } | |
c32bde28 | 11214 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11215 | PyObject *resultobj = NULL; |
d14a1e28 | 11216 | wxWindow *arg1 = (wxWindow *) 0 ; |
fd3f2efe | 11217 | wxString *arg2 = 0 ; |
e811c8ce | 11218 | int arg3 = (int) 100 ; |
d14a1e28 RD |
11219 | wxRect *arg4 = (wxRect *) NULL ; |
11220 | wxTipWindow *result; | |
ae8162c8 | 11221 | bool temp2 = false ; |
d14a1e28 RD |
11222 | PyObject * obj0 = 0 ; |
11223 | PyObject * obj1 = 0 ; | |
994141e6 | 11224 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
11225 | PyObject * obj3 = 0 ; |
11226 | char *kwnames[] = { | |
11227 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
11228 | }; | |
11229 | ||
994141e6 | 11230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
11231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
fd3f2efe RD |
11233 | { |
11234 | arg2 = wxString_in_helper(obj1); | |
11235 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 11236 | temp2 = true; |
fd3f2efe | 11237 | } |
994141e6 | 11238 | if (obj2) { |
093d3ff1 | 11239 | { |
32fe5131 | 11240 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
11241 | if (SWIG_arg_fail(3)) SWIG_fail; |
11242 | } | |
994141e6 | 11243 | } |
d14a1e28 | 11244 | if (obj3) { |
093d3ff1 RD |
11245 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
11246 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d14a1e28 RD |
11247 | } |
11248 | { | |
e3b71cb8 | 11249 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 11250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
fd3f2efe | 11251 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
11252 | |
11253 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11254 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11255 | } |
15afbcd0 | 11256 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
fd3f2efe RD |
11257 | { |
11258 | if (temp2) | |
11259 | delete arg2; | |
11260 | } | |
d14a1e28 RD |
11261 | return resultobj; |
11262 | fail: | |
fd3f2efe RD |
11263 | { |
11264 | if (temp2) | |
11265 | delete arg2; | |
11266 | } | |
d14a1e28 RD |
11267 | return NULL; |
11268 | } | |
11269 | ||
11270 | ||
c32bde28 | 11271 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11272 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11273 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; |
11274 | wxRect *arg2 = 0 ; | |
11275 | wxRect temp2 ; | |
11276 | PyObject * obj0 = 0 ; | |
11277 | PyObject * obj1 = 0 ; | |
11278 | char *kwnames[] = { | |
11279 | (char *) "self",(char *) "rectBound", NULL | |
11280 | }; | |
11281 | ||
11282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
11284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11285 | { |
11286 | arg2 = &temp2; | |
11287 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
11288 | } | |
11289 | { | |
11290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11291 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
11292 | ||
11293 | wxPyEndAllowThreads(__tstate); | |
11294 | if (PyErr_Occurred()) SWIG_fail; | |
11295 | } | |
11296 | Py_INCREF(Py_None); resultobj = Py_None; | |
11297 | return resultobj; | |
11298 | fail: | |
11299 | return NULL; | |
11300 | } | |
11301 | ||
11302 | ||
c32bde28 | 11303 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11304 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11305 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; |
11306 | PyObject * obj0 = 0 ; | |
11307 | char *kwnames[] = { | |
11308 | (char *) "self", NULL | |
11309 | }; | |
11310 | ||
11311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
11313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11314 | { |
11315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11316 | (arg1)->Close(); | |
11317 | ||
11318 | wxPyEndAllowThreads(__tstate); | |
11319 | if (PyErr_Occurred()) SWIG_fail; | |
11320 | } | |
11321 | Py_INCREF(Py_None); resultobj = Py_None; | |
11322 | return resultobj; | |
11323 | fail: | |
11324 | return NULL; | |
11325 | } | |
11326 | ||
11327 | ||
c32bde28 | 11328 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11329 | PyObject *obj; |
11330 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11331 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
11332 | Py_INCREF(obj); | |
11333 | return Py_BuildValue((char *)""); | |
11334 | } | |
c32bde28 | 11335 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11336 | PyObject *resultobj = NULL; |
d14a1e28 | 11337 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 11338 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
11339 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
11340 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
11341 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
11342 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
11343 | long arg5 = (long) 0 ; | |
11344 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
11345 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
11346 | wxPyVScrolledWindow *result; | |
11347 | wxPoint temp3 ; | |
11348 | wxSize temp4 ; | |
ae8162c8 | 11349 | bool temp6 = false ; |
d14a1e28 | 11350 | PyObject * obj0 = 0 ; |
994141e6 | 11351 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11352 | PyObject * obj2 = 0 ; |
11353 | PyObject * obj3 = 0 ; | |
994141e6 | 11354 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
11355 | PyObject * obj5 = 0 ; |
11356 | char *kwnames[] = { | |
11357 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11358 | }; | |
11359 | ||
994141e6 | 11360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
11361 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11362 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 11363 | if (obj1) { |
093d3ff1 | 11364 | { |
32fe5131 | 11365 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
11366 | if (SWIG_arg_fail(2)) SWIG_fail; |
11367 | } | |
994141e6 | 11368 | } |
d14a1e28 RD |
11369 | if (obj2) { |
11370 | { | |
11371 | arg3 = &temp3; | |
11372 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
11373 | } | |
11374 | } | |
11375 | if (obj3) { | |
11376 | { | |
11377 | arg4 = &temp4; | |
11378 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
11379 | } | |
11380 | } | |
994141e6 | 11381 | if (obj4) { |
093d3ff1 | 11382 | { |
32fe5131 | 11383 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
11384 | if (SWIG_arg_fail(5)) SWIG_fail; |
11385 | } | |
994141e6 | 11386 | } |
d14a1e28 RD |
11387 | if (obj5) { |
11388 | { | |
11389 | arg6 = wxString_in_helper(obj5); | |
11390 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 11391 | temp6 = true; |
d14a1e28 RD |
11392 | } |
11393 | } | |
11394 | { | |
e3b71cb8 | 11395 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11397 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
11398 | ||
11399 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11400 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11401 | } |
15afbcd0 | 11402 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
11403 | { |
11404 | if (temp6) | |
11405 | delete arg6; | |
11406 | } | |
11407 | return resultobj; | |
11408 | fail: | |
11409 | { | |
11410 | if (temp6) | |
11411 | delete arg6; | |
11412 | } | |
11413 | return NULL; | |
11414 | } | |
11415 | ||
11416 | ||
c32bde28 | 11417 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11418 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11419 | wxPyVScrolledWindow *result; |
11420 | char *kwnames[] = { | |
11421 | NULL | |
11422 | }; | |
11423 | ||
11424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
11425 | { | |
e3b71cb8 | 11426 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11428 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
11429 | ||
11430 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11431 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11432 | } |
15afbcd0 | 11433 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
11434 | return resultobj; |
11435 | fail: | |
11436 | return NULL; | |
11437 | } | |
11438 | ||
11439 | ||
c32bde28 | 11440 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11441 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11442 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11443 | PyObject *arg2 = (PyObject *) 0 ; | |
11444 | PyObject *arg3 = (PyObject *) 0 ; | |
11445 | PyObject * obj0 = 0 ; | |
11446 | PyObject * obj1 = 0 ; | |
11447 | PyObject * obj2 = 0 ; | |
11448 | char *kwnames[] = { | |
11449 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
11450 | }; | |
11451 | ||
11452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
11453 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11454 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11455 | arg2 = obj1; |
11456 | arg3 = obj2; | |
11457 | { | |
11458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11459 | (arg1)->_setCallbackInfo(arg2,arg3); | |
11460 | ||
11461 | wxPyEndAllowThreads(__tstate); | |
11462 | if (PyErr_Occurred()) SWIG_fail; | |
11463 | } | |
11464 | Py_INCREF(Py_None); resultobj = Py_None; | |
11465 | return resultobj; | |
11466 | fail: | |
11467 | return NULL; | |
11468 | } | |
11469 | ||
11470 | ||
c32bde28 | 11471 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11472 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11473 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11474 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 11475 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
11476 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
11477 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11478 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11479 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11480 | long arg6 = (long) 0 ; | |
11481 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
11482 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11483 | bool result; | |
11484 | wxPoint temp4 ; | |
11485 | wxSize temp5 ; | |
ae8162c8 | 11486 | bool temp7 = false ; |
d14a1e28 RD |
11487 | PyObject * obj0 = 0 ; |
11488 | PyObject * obj1 = 0 ; | |
994141e6 | 11489 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
11490 | PyObject * obj3 = 0 ; |
11491 | PyObject * obj4 = 0 ; | |
994141e6 | 11492 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11493 | PyObject * obj6 = 0 ; |
11494 | char *kwnames[] = { | |
11495 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11496 | }; | |
11497 | ||
994141e6 | 11498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
11499 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11500 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11501 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
11502 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 11503 | if (obj2) { |
093d3ff1 | 11504 | { |
32fe5131 | 11505 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
11506 | if (SWIG_arg_fail(3)) SWIG_fail; |
11507 | } | |
994141e6 | 11508 | } |
d14a1e28 RD |
11509 | if (obj3) { |
11510 | { | |
11511 | arg4 = &temp4; | |
11512 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11513 | } | |
11514 | } | |
11515 | if (obj4) { | |
11516 | { | |
11517 | arg5 = &temp5; | |
11518 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11519 | } | |
11520 | } | |
994141e6 | 11521 | if (obj5) { |
093d3ff1 | 11522 | { |
32fe5131 | 11523 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
11524 | if (SWIG_arg_fail(6)) SWIG_fail; |
11525 | } | |
994141e6 | 11526 | } |
d14a1e28 RD |
11527 | if (obj6) { |
11528 | { | |
11529 | arg7 = wxString_in_helper(obj6); | |
11530 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 11531 | temp7 = true; |
d14a1e28 RD |
11532 | } |
11533 | } | |
11534 | { | |
11535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11536 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11537 | ||
11538 | wxPyEndAllowThreads(__tstate); | |
11539 | if (PyErr_Occurred()) SWIG_fail; | |
11540 | } | |
4f89f6a3 RD |
11541 | { |
11542 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11543 | } | |
d14a1e28 RD |
11544 | { |
11545 | if (temp7) | |
11546 | delete arg7; | |
11547 | } | |
11548 | return resultobj; | |
11549 | fail: | |
11550 | { | |
11551 | if (temp7) | |
11552 | delete arg7; | |
11553 | } | |
11554 | return NULL; | |
11555 | } | |
11556 | ||
11557 | ||
c32bde28 | 11558 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11559 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11560 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11561 | size_t arg2 ; | |
11562 | PyObject * obj0 = 0 ; | |
11563 | PyObject * obj1 = 0 ; | |
11564 | char *kwnames[] = { | |
11565 | (char *) "self",(char *) "count", NULL | |
11566 | }; | |
11567 | ||
11568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11569 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11570 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11571 | { | |
32fe5131 | 11572 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
11573 | if (SWIG_arg_fail(2)) SWIG_fail; |
11574 | } | |
d14a1e28 RD |
11575 | { |
11576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11577 | (arg1)->SetLineCount(arg2); | |
11578 | ||
11579 | wxPyEndAllowThreads(__tstate); | |
11580 | if (PyErr_Occurred()) SWIG_fail; | |
11581 | } | |
11582 | Py_INCREF(Py_None); resultobj = Py_None; | |
11583 | return resultobj; | |
11584 | fail: | |
11585 | return NULL; | |
11586 | } | |
11587 | ||
11588 | ||
c32bde28 | 11589 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11590 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11591 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11592 | size_t arg2 ; | |
11593 | bool result; | |
11594 | PyObject * obj0 = 0 ; | |
11595 | PyObject * obj1 = 0 ; | |
11596 | char *kwnames[] = { | |
11597 | (char *) "self",(char *) "line", NULL | |
11598 | }; | |
11599 | ||
11600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11601 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11602 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11603 | { | |
32fe5131 | 11604 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
11605 | if (SWIG_arg_fail(2)) SWIG_fail; |
11606 | } | |
d14a1e28 RD |
11607 | { |
11608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11609 | result = (bool)(arg1)->ScrollToLine(arg2); | |
11610 | ||
11611 | wxPyEndAllowThreads(__tstate); | |
11612 | if (PyErr_Occurred()) SWIG_fail; | |
11613 | } | |
4f89f6a3 RD |
11614 | { |
11615 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11616 | } | |
d14a1e28 RD |
11617 | return resultobj; |
11618 | fail: | |
11619 | return NULL; | |
11620 | } | |
11621 | ||
11622 | ||
c32bde28 | 11623 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11624 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11625 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11626 | int arg2 ; | |
11627 | bool result; | |
11628 | PyObject * obj0 = 0 ; | |
994141e6 | 11629 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11630 | char *kwnames[] = { |
11631 | (char *) "self",(char *) "lines", NULL | |
11632 | }; | |
11633 | ||
994141e6 | 11634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
11635 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11636 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11637 | { | |
32fe5131 | 11638 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
11639 | if (SWIG_arg_fail(2)) SWIG_fail; |
11640 | } | |
d14a1e28 RD |
11641 | { |
11642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11643 | result = (bool)(arg1)->ScrollLines(arg2); | |
11644 | ||
11645 | wxPyEndAllowThreads(__tstate); | |
11646 | if (PyErr_Occurred()) SWIG_fail; | |
11647 | } | |
4f89f6a3 RD |
11648 | { |
11649 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11650 | } | |
d14a1e28 RD |
11651 | return resultobj; |
11652 | fail: | |
11653 | return NULL; | |
11654 | } | |
11655 | ||
11656 | ||
c32bde28 | 11657 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11658 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11659 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11660 | int arg2 ; | |
11661 | bool result; | |
11662 | PyObject * obj0 = 0 ; | |
994141e6 | 11663 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11664 | char *kwnames[] = { |
11665 | (char *) "self",(char *) "pages", NULL | |
11666 | }; | |
11667 | ||
994141e6 | 11668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
11669 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11670 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11671 | { | |
32fe5131 | 11672 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
11673 | if (SWIG_arg_fail(2)) SWIG_fail; |
11674 | } | |
d14a1e28 RD |
11675 | { |
11676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11677 | result = (bool)(arg1)->ScrollPages(arg2); | |
11678 | ||
11679 | wxPyEndAllowThreads(__tstate); | |
11680 | if (PyErr_Occurred()) SWIG_fail; | |
11681 | } | |
4f89f6a3 RD |
11682 | { |
11683 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11684 | } | |
d14a1e28 RD |
11685 | return resultobj; |
11686 | fail: | |
11687 | return NULL; | |
11688 | } | |
11689 | ||
11690 | ||
c32bde28 | 11691 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11692 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11693 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11694 | size_t arg2 ; | |
11695 | PyObject * obj0 = 0 ; | |
11696 | PyObject * obj1 = 0 ; | |
11697 | char *kwnames[] = { | |
11698 | (char *) "self",(char *) "line", NULL | |
11699 | }; | |
11700 | ||
11701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11702 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11703 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11704 | { | |
32fe5131 | 11705 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
11706 | if (SWIG_arg_fail(2)) SWIG_fail; |
11707 | } | |
d14a1e28 RD |
11708 | { |
11709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11710 | (arg1)->RefreshLine(arg2); | |
11711 | ||
11712 | wxPyEndAllowThreads(__tstate); | |
11713 | if (PyErr_Occurred()) SWIG_fail; | |
11714 | } | |
11715 | Py_INCREF(Py_None); resultobj = Py_None; | |
11716 | return resultobj; | |
11717 | fail: | |
11718 | return NULL; | |
11719 | } | |
11720 | ||
11721 | ||
c32bde28 | 11722 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11723 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11724 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11725 | size_t arg2 ; | |
11726 | size_t arg3 ; | |
11727 | PyObject * obj0 = 0 ; | |
11728 | PyObject * obj1 = 0 ; | |
11729 | PyObject * obj2 = 0 ; | |
11730 | char *kwnames[] = { | |
11731 | (char *) "self",(char *) "from",(char *) "to", NULL | |
11732 | }; | |
11733 | ||
11734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
11735 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11736 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11737 | { | |
32fe5131 | 11738 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
11739 | if (SWIG_arg_fail(2)) SWIG_fail; |
11740 | } | |
11741 | { | |
32fe5131 | 11742 | arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2)); |
093d3ff1 RD |
11743 | if (SWIG_arg_fail(3)) SWIG_fail; |
11744 | } | |
d14a1e28 RD |
11745 | { |
11746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11747 | (arg1)->RefreshLines(arg2,arg3); | |
11748 | ||
11749 | wxPyEndAllowThreads(__tstate); | |
11750 | if (PyErr_Occurred()) SWIG_fail; | |
11751 | } | |
11752 | Py_INCREF(Py_None); resultobj = Py_None; | |
11753 | return resultobj; | |
11754 | fail: | |
11755 | return NULL; | |
11756 | } | |
11757 | ||
11758 | ||
c32bde28 | 11759 | static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11760 | PyObject *resultobj = NULL; |
d14a1e28 | 11761 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
e811c8ce RD |
11762 | int arg2 ; |
11763 | int arg3 ; | |
d14a1e28 RD |
11764 | int result; |
11765 | PyObject * obj0 = 0 ; | |
994141e6 RD |
11766 | PyObject * obj1 = 0 ; |
11767 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
11768 | char *kwnames[] = { |
11769 | (char *) "self",(char *) "x",(char *) "y", NULL | |
11770 | }; | |
11771 | ||
354693ff | 11772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
11773 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11774 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11775 | { | |
32fe5131 | 11776 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
11777 | if (SWIG_arg_fail(2)) SWIG_fail; |
11778 | } | |
11779 | { | |
32fe5131 | 11780 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
11781 | if (SWIG_arg_fail(3)) SWIG_fail; |
11782 | } | |
d14a1e28 RD |
11783 | { |
11784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11785 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
11786 | ||
11787 | wxPyEndAllowThreads(__tstate); | |
11788 | if (PyErr_Occurred()) SWIG_fail; | |
11789 | } | |
093d3ff1 | 11790 | { |
32fe5131 | 11791 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 11792 | } |
d14a1e28 RD |
11793 | return resultobj; |
11794 | fail: | |
11795 | return NULL; | |
11796 | } | |
11797 | ||
11798 | ||
c32bde28 | 11799 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11800 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11801 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11802 | wxPoint *arg2 = 0 ; | |
11803 | int result; | |
11804 | wxPoint temp2 ; | |
11805 | PyObject * obj0 = 0 ; | |
11806 | PyObject * obj1 = 0 ; | |
11807 | char *kwnames[] = { | |
11808 | (char *) "self",(char *) "pt", NULL | |
11809 | }; | |
11810 | ||
11811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11812 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11813 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11814 | { |
11815 | arg2 = &temp2; | |
11816 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
11817 | } | |
11818 | { | |
11819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11820 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
11821 | ||
11822 | wxPyEndAllowThreads(__tstate); | |
11823 | if (PyErr_Occurred()) SWIG_fail; | |
11824 | } | |
093d3ff1 | 11825 | { |
32fe5131 | 11826 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 11827 | } |
d14a1e28 RD |
11828 | return resultobj; |
11829 | fail: | |
11830 | return NULL; | |
11831 | } | |
11832 | ||
11833 | ||
c32bde28 | 11834 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11835 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11836 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11837 | PyObject * obj0 = 0 ; | |
11838 | char *kwnames[] = { | |
11839 | (char *) "self", NULL | |
11840 | }; | |
11841 | ||
11842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11845 | { |
11846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11847 | (arg1)->RefreshAll(); | |
11848 | ||
11849 | wxPyEndAllowThreads(__tstate); | |
11850 | if (PyErr_Occurred()) SWIG_fail; | |
11851 | } | |
11852 | Py_INCREF(Py_None); resultobj = Py_None; | |
11853 | return resultobj; | |
11854 | fail: | |
11855 | return NULL; | |
11856 | } | |
11857 | ||
11858 | ||
c32bde28 | 11859 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11860 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11861 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11862 | size_t result; | |
11863 | PyObject * obj0 = 0 ; | |
11864 | char *kwnames[] = { | |
11865 | (char *) "self", NULL | |
11866 | }; | |
11867 | ||
11868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11869 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11870 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11871 | { |
11872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11873 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
11874 | ||
11875 | wxPyEndAllowThreads(__tstate); | |
11876 | if (PyErr_Occurred()) SWIG_fail; | |
11877 | } | |
093d3ff1 | 11878 | { |
32fe5131 | 11879 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 11880 | } |
d14a1e28 RD |
11881 | return resultobj; |
11882 | fail: | |
11883 | return NULL; | |
11884 | } | |
11885 | ||
11886 | ||
70b7a5fe | 11887 | static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11888 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11889 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11890 | size_t result; | |
11891 | PyObject * obj0 = 0 ; | |
11892 | char *kwnames[] = { | |
11893 | (char *) "self", NULL | |
11894 | }; | |
11895 | ||
70b7a5fe | 11896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
11897 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11898 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11899 | { |
11900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
70b7a5fe | 11901 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin(); |
d14a1e28 RD |
11902 | |
11903 | wxPyEndAllowThreads(__tstate); | |
11904 | if (PyErr_Occurred()) SWIG_fail; | |
11905 | } | |
093d3ff1 | 11906 | { |
32fe5131 | 11907 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 11908 | } |
d14a1e28 RD |
11909 | return resultobj; |
11910 | fail: | |
11911 | return NULL; | |
11912 | } | |
11913 | ||
11914 | ||
70b7a5fe | 11915 | static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11916 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11917 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11918 | size_t result; | |
11919 | PyObject * obj0 = 0 ; | |
11920 | char *kwnames[] = { | |
11921 | (char *) "self", NULL | |
11922 | }; | |
11923 | ||
70b7a5fe | 11924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
11925 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11926 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11927 | { |
11928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
70b7a5fe | 11929 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd(); |
d14a1e28 RD |
11930 | |
11931 | wxPyEndAllowThreads(__tstate); | |
11932 | if (PyErr_Occurred()) SWIG_fail; | |
11933 | } | |
093d3ff1 | 11934 | { |
32fe5131 | 11935 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 11936 | } |
d14a1e28 RD |
11937 | return resultobj; |
11938 | fail: | |
11939 | return NULL; | |
11940 | } | |
11941 | ||
11942 | ||
c32bde28 | 11943 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11944 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11945 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11946 | size_t arg2 ; | |
11947 | bool result; | |
11948 | PyObject * obj0 = 0 ; | |
11949 | PyObject * obj1 = 0 ; | |
11950 | char *kwnames[] = { | |
11951 | (char *) "self",(char *) "line", NULL | |
11952 | }; | |
11953 | ||
11954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11955 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11956 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11957 | { | |
32fe5131 | 11958 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
11959 | if (SWIG_arg_fail(2)) SWIG_fail; |
11960 | } | |
d14a1e28 RD |
11961 | { |
11962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11963 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
11964 | ||
11965 | wxPyEndAllowThreads(__tstate); | |
11966 | if (PyErr_Occurred()) SWIG_fail; | |
11967 | } | |
4f89f6a3 RD |
11968 | { |
11969 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11970 | } | |
d14a1e28 RD |
11971 | return resultobj; |
11972 | fail: | |
11973 | return NULL; | |
11974 | } | |
11975 | ||
11976 | ||
70b7a5fe | 11977 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11978 | PyObject *resultobj = NULL; |
70b7a5fe RD |
11979 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11980 | size_t result; | |
11981 | PyObject * obj0 = 0 ; | |
11982 | char *kwnames[] = { | |
11983 | (char *) "self", NULL | |
11984 | }; | |
11985 | ||
11986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
11987 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
11988 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11989 | { | |
11990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11991 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
11992 | ||
11993 | wxPyEndAllowThreads(__tstate); | |
11994 | if (PyErr_Occurred()) SWIG_fail; | |
11995 | } | |
11996 | { | |
32fe5131 | 11997 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
70b7a5fe RD |
11998 | } |
11999 | return resultobj; | |
12000 | fail: | |
12001 | return NULL; | |
12002 | } | |
12003 | ||
12004 | ||
12005 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 12006 | PyObject *resultobj = NULL; |
70b7a5fe RD |
12007 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
12008 | size_t result; | |
12009 | PyObject * obj0 = 0 ; | |
12010 | char *kwnames[] = { | |
12011 | (char *) "self", NULL | |
12012 | }; | |
12013 | ||
12014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
12015 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
12016 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12017 | { | |
12018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12019 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
12020 | ||
12021 | wxPyEndAllowThreads(__tstate); | |
12022 | if (PyErr_Occurred()) SWIG_fail; | |
12023 | } | |
12024 | { | |
32fe5131 | 12025 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
70b7a5fe RD |
12026 | } |
12027 | return resultobj; | |
12028 | fail: | |
12029 | return NULL; | |
12030 | } | |
12031 | ||
12032 | ||
c32bde28 | 12033 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12034 | PyObject *obj; |
12035 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12036 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
12037 | Py_INCREF(obj); | |
12038 | return Py_BuildValue((char *)""); | |
12039 | } | |
c32bde28 | 12040 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
b2dc1044 RD |
12041 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
12042 | return 1; | |
12043 | } | |
12044 | ||
12045 | ||
093d3ff1 | 12046 | static PyObject *_wrap_VListBoxNameStr_get(void) { |
32fe5131 | 12047 | PyObject *pyobj = NULL; |
b2dc1044 RD |
12048 | |
12049 | { | |
12050 | #if wxUSE_UNICODE | |
12051 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
12052 | #else | |
12053 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
12054 | #endif | |
12055 | } | |
12056 | return pyobj; | |
12057 | } | |
12058 | ||
12059 | ||
c32bde28 | 12060 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12061 | PyObject *resultobj = NULL; |
d14a1e28 | 12062 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 12063 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
12064 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
12065 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12066 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12067 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12068 | long arg5 = (long) 0 ; | |
12069 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
12070 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
12071 | wxPyVListBox *result; | |
12072 | wxPoint temp3 ; | |
12073 | wxSize temp4 ; | |
ae8162c8 | 12074 | bool temp6 = false ; |
d14a1e28 | 12075 | PyObject * obj0 = 0 ; |
994141e6 | 12076 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12077 | PyObject * obj2 = 0 ; |
12078 | PyObject * obj3 = 0 ; | |
994141e6 | 12079 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12080 | PyObject * obj5 = 0 ; |
12081 | char *kwnames[] = { | |
12082 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12083 | }; | |
12084 | ||
994141e6 | 12085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
12086 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
12087 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 12088 | if (obj1) { |
093d3ff1 | 12089 | { |
32fe5131 | 12090 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
12091 | if (SWIG_arg_fail(2)) SWIG_fail; |
12092 | } | |
994141e6 | 12093 | } |
d14a1e28 RD |
12094 | if (obj2) { |
12095 | { | |
12096 | arg3 = &temp3; | |
12097 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12098 | } | |
12099 | } | |
12100 | if (obj3) { | |
12101 | { | |
12102 | arg4 = &temp4; | |
12103 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12104 | } | |
12105 | } | |
994141e6 | 12106 | if (obj4) { |
093d3ff1 | 12107 | { |
32fe5131 | 12108 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
12109 | if (SWIG_arg_fail(5)) SWIG_fail; |
12110 | } | |
994141e6 | 12111 | } |
d14a1e28 RD |
12112 | if (obj5) { |
12113 | { | |
12114 | arg6 = wxString_in_helper(obj5); | |
12115 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 12116 | temp6 = true; |
d14a1e28 RD |
12117 | } |
12118 | } | |
12119 | { | |
e3b71cb8 | 12120 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12122 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
12123 | ||
12124 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12125 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12126 | } |
15afbcd0 | 12127 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
12128 | { |
12129 | if (temp6) | |
12130 | delete arg6; | |
12131 | } | |
12132 | return resultobj; | |
12133 | fail: | |
12134 | { | |
12135 | if (temp6) | |
12136 | delete arg6; | |
12137 | } | |
12138 | return NULL; | |
12139 | } | |
12140 | ||
12141 | ||
c32bde28 | 12142 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12143 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12144 | wxPyVListBox *result; |
12145 | char *kwnames[] = { | |
12146 | NULL | |
12147 | }; | |
12148 | ||
12149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
12150 | { | |
e3b71cb8 | 12151 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12153 | result = (wxPyVListBox *)new wxPyVListBox(); | |
12154 | ||
12155 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12156 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12157 | } |
15afbcd0 | 12158 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
12159 | return resultobj; |
12160 | fail: | |
12161 | return NULL; | |
12162 | } | |
12163 | ||
12164 | ||
c32bde28 | 12165 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12166 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12167 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12168 | PyObject *arg2 = (PyObject *) 0 ; | |
12169 | PyObject *arg3 = (PyObject *) 0 ; | |
12170 | PyObject * obj0 = 0 ; | |
12171 | PyObject * obj1 = 0 ; | |
12172 | PyObject * obj2 = 0 ; | |
12173 | char *kwnames[] = { | |
12174 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
12175 | }; | |
12176 | ||
12177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
12178 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12179 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12180 | arg2 = obj1; |
12181 | arg3 = obj2; | |
12182 | { | |
12183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12184 | (arg1)->_setCallbackInfo(arg2,arg3); | |
12185 | ||
12186 | wxPyEndAllowThreads(__tstate); | |
12187 | if (PyErr_Occurred()) SWIG_fail; | |
12188 | } | |
12189 | Py_INCREF(Py_None); resultobj = Py_None; | |
12190 | return resultobj; | |
12191 | fail: | |
12192 | return NULL; | |
12193 | } | |
12194 | ||
12195 | ||
c32bde28 | 12196 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12197 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12198 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12199 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 12200 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
12201 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
12202 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12203 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12204 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12205 | long arg6 = (long) 0 ; | |
12206 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
12207 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
12208 | bool result; | |
12209 | wxPoint temp4 ; | |
12210 | wxSize temp5 ; | |
ae8162c8 | 12211 | bool temp7 = false ; |
d14a1e28 RD |
12212 | PyObject * obj0 = 0 ; |
12213 | PyObject * obj1 = 0 ; | |
994141e6 | 12214 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
12215 | PyObject * obj3 = 0 ; |
12216 | PyObject * obj4 = 0 ; | |
994141e6 | 12217 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
12218 | PyObject * obj6 = 0 ; |
12219 | char *kwnames[] = { | |
12220 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12221 | }; | |
12222 | ||
994141e6 | 12223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
12224 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12225 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12226 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
12227 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 12228 | if (obj2) { |
093d3ff1 | 12229 | { |
32fe5131 | 12230 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
12231 | if (SWIG_arg_fail(3)) SWIG_fail; |
12232 | } | |
994141e6 | 12233 | } |
d14a1e28 RD |
12234 | if (obj3) { |
12235 | { | |
12236 | arg4 = &temp4; | |
12237 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12238 | } | |
12239 | } | |
12240 | if (obj4) { | |
12241 | { | |
12242 | arg5 = &temp5; | |
12243 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12244 | } | |
12245 | } | |
994141e6 | 12246 | if (obj5) { |
093d3ff1 | 12247 | { |
32fe5131 | 12248 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
12249 | if (SWIG_arg_fail(6)) SWIG_fail; |
12250 | } | |
994141e6 | 12251 | } |
d14a1e28 RD |
12252 | if (obj6) { |
12253 | { | |
12254 | arg7 = wxString_in_helper(obj6); | |
12255 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 12256 | temp7 = true; |
d14a1e28 RD |
12257 | } |
12258 | } | |
12259 | { | |
12260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12261 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
12262 | ||
12263 | wxPyEndAllowThreads(__tstate); | |
12264 | if (PyErr_Occurred()) SWIG_fail; | |
12265 | } | |
4f89f6a3 RD |
12266 | { |
12267 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12268 | } | |
d14a1e28 RD |
12269 | { |
12270 | if (temp7) | |
12271 | delete arg7; | |
12272 | } | |
12273 | return resultobj; | |
12274 | fail: | |
12275 | { | |
12276 | if (temp7) | |
12277 | delete arg7; | |
12278 | } | |
12279 | return NULL; | |
12280 | } | |
12281 | ||
12282 | ||
c32bde28 | 12283 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12284 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12285 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12286 | size_t result; | |
12287 | PyObject * obj0 = 0 ; | |
12288 | char *kwnames[] = { | |
12289 | (char *) "self", NULL | |
12290 | }; | |
12291 | ||
12292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12293 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12294 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12295 | { |
12296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12297 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
12298 | ||
12299 | wxPyEndAllowThreads(__tstate); | |
12300 | if (PyErr_Occurred()) SWIG_fail; | |
12301 | } | |
093d3ff1 | 12302 | { |
32fe5131 | 12303 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 12304 | } |
d14a1e28 RD |
12305 | return resultobj; |
12306 | fail: | |
12307 | return NULL; | |
12308 | } | |
12309 | ||
12310 | ||
c32bde28 | 12311 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12312 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12313 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12314 | bool result; | |
12315 | PyObject * obj0 = 0 ; | |
12316 | char *kwnames[] = { | |
12317 | (char *) "self", NULL | |
12318 | }; | |
12319 | ||
12320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12323 | { |
12324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12325 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
12326 | ||
12327 | wxPyEndAllowThreads(__tstate); | |
12328 | if (PyErr_Occurred()) SWIG_fail; | |
12329 | } | |
4f89f6a3 RD |
12330 | { |
12331 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12332 | } | |
d14a1e28 RD |
12333 | return resultobj; |
12334 | fail: | |
12335 | return NULL; | |
12336 | } | |
12337 | ||
12338 | ||
c32bde28 | 12339 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12340 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12341 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12342 | int result; | |
12343 | PyObject * obj0 = 0 ; | |
12344 | char *kwnames[] = { | |
12345 | (char *) "self", NULL | |
12346 | }; | |
12347 | ||
12348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12349 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12350 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12351 | { |
12352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12353 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
12354 | ||
12355 | wxPyEndAllowThreads(__tstate); | |
12356 | if (PyErr_Occurred()) SWIG_fail; | |
12357 | } | |
093d3ff1 | 12358 | { |
32fe5131 | 12359 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 12360 | } |
d14a1e28 RD |
12361 | return resultobj; |
12362 | fail: | |
12363 | return NULL; | |
12364 | } | |
12365 | ||
12366 | ||
c32bde28 | 12367 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12368 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12369 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12370 | size_t arg2 ; | |
12371 | bool result; | |
12372 | PyObject * obj0 = 0 ; | |
12373 | PyObject * obj1 = 0 ; | |
12374 | char *kwnames[] = { | |
12375 | (char *) "self",(char *) "item", NULL | |
12376 | }; | |
12377 | ||
12378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12379 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12380 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12381 | { | |
32fe5131 | 12382 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12383 | if (SWIG_arg_fail(2)) SWIG_fail; |
12384 | } | |
d14a1e28 RD |
12385 | { |
12386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12387 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
12388 | ||
12389 | wxPyEndAllowThreads(__tstate); | |
12390 | if (PyErr_Occurred()) SWIG_fail; | |
12391 | } | |
4f89f6a3 RD |
12392 | { |
12393 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12394 | } | |
d14a1e28 RD |
12395 | return resultobj; |
12396 | fail: | |
12397 | return NULL; | |
12398 | } | |
12399 | ||
12400 | ||
c32bde28 | 12401 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12402 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12403 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12404 | size_t arg2 ; | |
12405 | bool result; | |
12406 | PyObject * obj0 = 0 ; | |
12407 | PyObject * obj1 = 0 ; | |
12408 | char *kwnames[] = { | |
12409 | (char *) "self",(char *) "item", NULL | |
12410 | }; | |
12411 | ||
12412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12415 | { | |
32fe5131 | 12416 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12417 | if (SWIG_arg_fail(2)) SWIG_fail; |
12418 | } | |
d14a1e28 RD |
12419 | { |
12420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12421 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
12422 | ||
12423 | wxPyEndAllowThreads(__tstate); | |
12424 | if (PyErr_Occurred()) SWIG_fail; | |
12425 | } | |
4f89f6a3 RD |
12426 | { |
12427 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12428 | } | |
d14a1e28 RD |
12429 | return resultobj; |
12430 | fail: | |
12431 | return NULL; | |
12432 | } | |
12433 | ||
12434 | ||
c32bde28 | 12435 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12436 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12437 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12438 | size_t result; | |
12439 | PyObject * obj0 = 0 ; | |
12440 | char *kwnames[] = { | |
12441 | (char *) "self", NULL | |
12442 | }; | |
12443 | ||
12444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12447 | { |
12448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12449 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
12450 | ||
12451 | wxPyEndAllowThreads(__tstate); | |
12452 | if (PyErr_Occurred()) SWIG_fail; | |
12453 | } | |
093d3ff1 | 12454 | { |
32fe5131 | 12455 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 12456 | } |
d14a1e28 RD |
12457 | return resultobj; |
12458 | fail: | |
12459 | return NULL; | |
12460 | } | |
12461 | ||
12462 | ||
c32bde28 | 12463 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12464 | PyObject *resultobj = NULL; |
d14a1e28 | 12465 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
09c21d3b | 12466 | PyObject *result; |
d14a1e28 | 12467 | PyObject * obj0 = 0 ; |
d14a1e28 | 12468 | char *kwnames[] = { |
09c21d3b | 12469 | (char *) "self", NULL |
d14a1e28 RD |
12470 | }; |
12471 | ||
09c21d3b | 12472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
12473 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12474 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12475 | { |
12476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 12477 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d14a1e28 RD |
12478 | |
12479 | wxPyEndAllowThreads(__tstate); | |
12480 | if (PyErr_Occurred()) SWIG_fail; | |
12481 | } | |
09c21d3b | 12482 | resultobj = result; |
d14a1e28 RD |
12483 | return resultobj; |
12484 | fail: | |
12485 | return NULL; | |
12486 | } | |
12487 | ||
12488 | ||
c32bde28 | 12489 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12490 | PyObject *resultobj = NULL; |
d14a1e28 | 12491 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
09c21d3b RD |
12492 | unsigned long arg2 ; |
12493 | PyObject *result; | |
d14a1e28 RD |
12494 | PyObject * obj0 = 0 ; |
12495 | PyObject * obj1 = 0 ; | |
12496 | char *kwnames[] = { | |
12497 | (char *) "self",(char *) "cookie", NULL | |
12498 | }; | |
12499 | ||
12500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12501 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12502 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12503 | { | |
32fe5131 | 12504 | arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12505 | if (SWIG_arg_fail(2)) SWIG_fail; |
12506 | } | |
d14a1e28 RD |
12507 | { |
12508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 12509 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d14a1e28 RD |
12510 | |
12511 | wxPyEndAllowThreads(__tstate); | |
12512 | if (PyErr_Occurred()) SWIG_fail; | |
12513 | } | |
09c21d3b | 12514 | resultobj = result; |
d14a1e28 RD |
12515 | return resultobj; |
12516 | fail: | |
12517 | return NULL; | |
12518 | } | |
12519 | ||
12520 | ||
c32bde28 | 12521 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12522 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12523 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12524 | wxPoint result; | |
12525 | PyObject * obj0 = 0 ; | |
12526 | char *kwnames[] = { | |
12527 | (char *) "self", NULL | |
12528 | }; | |
12529 | ||
12530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12531 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12532 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12533 | { |
12534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12535 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
12536 | ||
12537 | wxPyEndAllowThreads(__tstate); | |
12538 | if (PyErr_Occurred()) SWIG_fail; | |
12539 | } | |
12540 | { | |
12541 | wxPoint * resultptr; | |
32fe5131 | 12542 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 12543 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
12544 | } |
12545 | return resultobj; | |
12546 | fail: | |
12547 | return NULL; | |
12548 | } | |
12549 | ||
12550 | ||
c32bde28 | 12551 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12552 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12553 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12554 | wxColour *result; | |
12555 | PyObject * obj0 = 0 ; | |
12556 | char *kwnames[] = { | |
12557 | (char *) "self", NULL | |
12558 | }; | |
12559 | ||
12560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12561 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12562 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12563 | { |
12564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12565 | { | |
12566 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
12567 | result = (wxColour *) &_result_ref; | |
12568 | } | |
12569 | ||
12570 | wxPyEndAllowThreads(__tstate); | |
12571 | if (PyErr_Occurred()) SWIG_fail; | |
12572 | } | |
15afbcd0 | 12573 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
12574 | return resultobj; |
12575 | fail: | |
12576 | return NULL; | |
12577 | } | |
12578 | ||
12579 | ||
c32bde28 | 12580 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12581 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12582 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12583 | size_t arg2 ; | |
12584 | PyObject * obj0 = 0 ; | |
12585 | PyObject * obj1 = 0 ; | |
12586 | char *kwnames[] = { | |
12587 | (char *) "self",(char *) "count", NULL | |
12588 | }; | |
12589 | ||
12590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12591 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12592 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12593 | { | |
32fe5131 | 12594 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12595 | if (SWIG_arg_fail(2)) SWIG_fail; |
12596 | } | |
d14a1e28 RD |
12597 | { |
12598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12599 | (arg1)->SetItemCount(arg2); | |
12600 | ||
12601 | wxPyEndAllowThreads(__tstate); | |
12602 | if (PyErr_Occurred()) SWIG_fail; | |
12603 | } | |
12604 | Py_INCREF(Py_None); resultobj = Py_None; | |
12605 | return resultobj; | |
12606 | fail: | |
12607 | return NULL; | |
12608 | } | |
12609 | ||
12610 | ||
c32bde28 | 12611 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12612 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12613 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12614 | PyObject * obj0 = 0 ; | |
12615 | char *kwnames[] = { | |
12616 | (char *) "self", NULL | |
12617 | }; | |
12618 | ||
12619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12620 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12621 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12622 | { |
12623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12624 | (arg1)->Clear(); | |
12625 | ||
12626 | wxPyEndAllowThreads(__tstate); | |
12627 | if (PyErr_Occurred()) SWIG_fail; | |
12628 | } | |
12629 | Py_INCREF(Py_None); resultobj = Py_None; | |
12630 | return resultobj; | |
12631 | fail: | |
12632 | return NULL; | |
12633 | } | |
12634 | ||
12635 | ||
c32bde28 | 12636 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12637 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12638 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12639 | int arg2 ; | |
12640 | PyObject * obj0 = 0 ; | |
994141e6 | 12641 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12642 | char *kwnames[] = { |
12643 | (char *) "self",(char *) "selection", NULL | |
12644 | }; | |
12645 | ||
994141e6 | 12646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
12647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12649 | { | |
32fe5131 | 12650 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
12651 | if (SWIG_arg_fail(2)) SWIG_fail; |
12652 | } | |
d14a1e28 RD |
12653 | { |
12654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12655 | (arg1)->SetSelection(arg2); | |
12656 | ||
12657 | wxPyEndAllowThreads(__tstate); | |
12658 | if (PyErr_Occurred()) SWIG_fail; | |
12659 | } | |
12660 | Py_INCREF(Py_None); resultobj = Py_None; | |
12661 | return resultobj; | |
12662 | fail: | |
12663 | return NULL; | |
12664 | } | |
12665 | ||
12666 | ||
c32bde28 | 12667 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12668 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12669 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12670 | size_t arg2 ; | |
ae8162c8 | 12671 | bool arg3 = (bool) true ; |
d14a1e28 RD |
12672 | bool result; |
12673 | PyObject * obj0 = 0 ; | |
12674 | PyObject * obj1 = 0 ; | |
12675 | PyObject * obj2 = 0 ; | |
12676 | char *kwnames[] = { | |
12677 | (char *) "self",(char *) "item",(char *) "select", NULL | |
12678 | }; | |
12679 | ||
12680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
12681 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12682 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12683 | { | |
32fe5131 | 12684 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12685 | if (SWIG_arg_fail(2)) SWIG_fail; |
12686 | } | |
a41e16b6 | 12687 | if (obj2) { |
093d3ff1 | 12688 | { |
32fe5131 | 12689 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
12690 | if (SWIG_arg_fail(3)) SWIG_fail; |
12691 | } | |
a41e16b6 | 12692 | } |
d14a1e28 RD |
12693 | { |
12694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12695 | result = (bool)(arg1)->Select(arg2,arg3); | |
12696 | ||
12697 | wxPyEndAllowThreads(__tstate); | |
12698 | if (PyErr_Occurred()) SWIG_fail; | |
12699 | } | |
4f89f6a3 RD |
12700 | { |
12701 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12702 | } | |
d14a1e28 RD |
12703 | return resultobj; |
12704 | fail: | |
12705 | return NULL; | |
12706 | } | |
12707 | ||
12708 | ||
c32bde28 | 12709 | static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12710 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12711 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12712 | size_t arg2 ; | |
12713 | size_t arg3 ; | |
12714 | bool result; | |
12715 | PyObject * obj0 = 0 ; | |
12716 | PyObject * obj1 = 0 ; | |
12717 | PyObject * obj2 = 0 ; | |
15afbcd0 RD |
12718 | char *kwnames[] = { |
12719 | (char *) "self",(char *) "from",(char *) "to", NULL | |
12720 | }; | |
12721 | ||
12722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
12723 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12725 | { | |
32fe5131 | 12726 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12727 | if (SWIG_arg_fail(2)) SWIG_fail; |
12728 | } | |
12729 | { | |
32fe5131 | 12730 | arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2)); |
093d3ff1 RD |
12731 | if (SWIG_arg_fail(3)) SWIG_fail; |
12732 | } | |
d14a1e28 RD |
12733 | { |
12734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12735 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
12736 | ||
12737 | wxPyEndAllowThreads(__tstate); | |
12738 | if (PyErr_Occurred()) SWIG_fail; | |
12739 | } | |
4f89f6a3 RD |
12740 | { |
12741 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12742 | } | |
d14a1e28 RD |
12743 | return resultobj; |
12744 | fail: | |
12745 | return NULL; | |
12746 | } | |
12747 | ||
12748 | ||
c32bde28 | 12749 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12750 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12751 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12752 | size_t arg2 ; | |
12753 | PyObject * obj0 = 0 ; | |
12754 | PyObject * obj1 = 0 ; | |
12755 | char *kwnames[] = { | |
12756 | (char *) "self",(char *) "item", NULL | |
12757 | }; | |
12758 | ||
12759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12760 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12761 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12762 | { | |
32fe5131 | 12763 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12764 | if (SWIG_arg_fail(2)) SWIG_fail; |
12765 | } | |
d14a1e28 RD |
12766 | { |
12767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12768 | (arg1)->Toggle(arg2); | |
12769 | ||
12770 | wxPyEndAllowThreads(__tstate); | |
12771 | if (PyErr_Occurred()) SWIG_fail; | |
12772 | } | |
12773 | Py_INCREF(Py_None); resultobj = Py_None; | |
12774 | return resultobj; | |
12775 | fail: | |
12776 | return NULL; | |
12777 | } | |
12778 | ||
12779 | ||
c32bde28 | 12780 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12781 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12782 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12783 | bool result; | |
12784 | PyObject * obj0 = 0 ; | |
12785 | char *kwnames[] = { | |
12786 | (char *) "self", NULL | |
12787 | }; | |
12788 | ||
12789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12790 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12791 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12792 | { |
12793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12794 | result = (bool)(arg1)->SelectAll(); | |
12795 | ||
12796 | wxPyEndAllowThreads(__tstate); | |
12797 | if (PyErr_Occurred()) SWIG_fail; | |
12798 | } | |
4f89f6a3 RD |
12799 | { |
12800 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12801 | } | |
d14a1e28 RD |
12802 | return resultobj; |
12803 | fail: | |
12804 | return NULL; | |
12805 | } | |
12806 | ||
12807 | ||
c32bde28 | 12808 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12809 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12810 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12811 | bool result; | |
12812 | PyObject * obj0 = 0 ; | |
12813 | char *kwnames[] = { | |
12814 | (char *) "self", NULL | |
12815 | }; | |
12816 | ||
12817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12818 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12819 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12820 | { |
12821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12822 | result = (bool)(arg1)->DeselectAll(); | |
12823 | ||
12824 | wxPyEndAllowThreads(__tstate); | |
12825 | if (PyErr_Occurred()) SWIG_fail; | |
12826 | } | |
4f89f6a3 RD |
12827 | { |
12828 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12829 | } | |
d14a1e28 RD |
12830 | return resultobj; |
12831 | fail: | |
12832 | return NULL; | |
12833 | } | |
12834 | ||
12835 | ||
c32bde28 | 12836 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12837 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12838 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12839 | wxPoint *arg2 = 0 ; | |
12840 | wxPoint temp2 ; | |
12841 | PyObject * obj0 = 0 ; | |
12842 | PyObject * obj1 = 0 ; | |
12843 | char *kwnames[] = { | |
12844 | (char *) "self",(char *) "pt", NULL | |
12845 | }; | |
12846 | ||
12847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12848 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12849 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12850 | { |
12851 | arg2 = &temp2; | |
12852 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
12853 | } | |
12854 | { | |
12855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12856 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
12857 | ||
12858 | wxPyEndAllowThreads(__tstate); | |
12859 | if (PyErr_Occurred()) SWIG_fail; | |
12860 | } | |
12861 | Py_INCREF(Py_None); resultobj = Py_None; | |
12862 | return resultobj; | |
12863 | fail: | |
12864 | return NULL; | |
12865 | } | |
12866 | ||
12867 | ||
c32bde28 | 12868 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12869 | PyObject *resultobj = NULL; |
d14a1e28 | 12870 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
e811c8ce RD |
12871 | int arg2 ; |
12872 | int arg3 ; | |
d14a1e28 | 12873 | PyObject * obj0 = 0 ; |
994141e6 RD |
12874 | PyObject * obj1 = 0 ; |
12875 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12876 | char *kwnames[] = { |
12877 | (char *) "self",(char *) "x",(char *) "y", NULL | |
12878 | }; | |
12879 | ||
994141e6 | 12880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
12881 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12882 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12883 | { | |
32fe5131 | 12884 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
12885 | if (SWIG_arg_fail(2)) SWIG_fail; |
12886 | } | |
12887 | { | |
32fe5131 | 12888 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
12889 | if (SWIG_arg_fail(3)) SWIG_fail; |
12890 | } | |
d14a1e28 RD |
12891 | { |
12892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12893 | (arg1)->SetMargins(arg2,arg3); | |
12894 | ||
12895 | wxPyEndAllowThreads(__tstate); | |
12896 | if (PyErr_Occurred()) SWIG_fail; | |
12897 | } | |
12898 | Py_INCREF(Py_None); resultobj = Py_None; | |
12899 | return resultobj; | |
12900 | fail: | |
12901 | return NULL; | |
12902 | } | |
12903 | ||
12904 | ||
c32bde28 | 12905 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12906 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12907 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12908 | wxColour *arg2 = 0 ; | |
12909 | wxColour temp2 ; | |
12910 | PyObject * obj0 = 0 ; | |
12911 | PyObject * obj1 = 0 ; | |
12912 | char *kwnames[] = { | |
12913 | (char *) "self",(char *) "col", NULL | |
12914 | }; | |
12915 | ||
12916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12917 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12918 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12919 | { |
12920 | arg2 = &temp2; | |
12921 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12922 | } | |
12923 | { | |
12924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12925 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
12926 | ||
12927 | wxPyEndAllowThreads(__tstate); | |
12928 | if (PyErr_Occurred()) SWIG_fail; | |
12929 | } | |
12930 | Py_INCREF(Py_None); resultobj = Py_None; | |
12931 | return resultobj; | |
12932 | fail: | |
12933 | return NULL; | |
12934 | } | |
12935 | ||
12936 | ||
c32bde28 | 12937 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12938 | PyObject *obj; |
12939 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12940 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
12941 | Py_INCREF(obj); | |
12942 | return Py_BuildValue((char *)""); | |
12943 | } | |
c32bde28 | 12944 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12945 | PyObject *resultobj = NULL; |
d14a1e28 | 12946 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 12947 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
12948 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
12949 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12950 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12951 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12952 | long arg5 = (long) 0 ; | |
12953 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
12954 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
12955 | wxPyHtmlListBox *result; | |
12956 | wxPoint temp3 ; | |
12957 | wxSize temp4 ; | |
ae8162c8 | 12958 | bool temp6 = false ; |
d14a1e28 | 12959 | PyObject * obj0 = 0 ; |
994141e6 | 12960 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12961 | PyObject * obj2 = 0 ; |
12962 | PyObject * obj3 = 0 ; | |
994141e6 | 12963 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12964 | PyObject * obj5 = 0 ; |
12965 | char *kwnames[] = { | |
12966 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12967 | }; | |
12968 | ||
994141e6 | 12969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
12970 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
12971 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 12972 | if (obj1) { |
093d3ff1 | 12973 | { |
32fe5131 | 12974 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
12975 | if (SWIG_arg_fail(2)) SWIG_fail; |
12976 | } | |
994141e6 | 12977 | } |
d14a1e28 RD |
12978 | if (obj2) { |
12979 | { | |
12980 | arg3 = &temp3; | |
12981 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12982 | } | |
12983 | } | |
12984 | if (obj3) { | |
12985 | { | |
12986 | arg4 = &temp4; | |
12987 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12988 | } | |
12989 | } | |
994141e6 | 12990 | if (obj4) { |
093d3ff1 | 12991 | { |
32fe5131 | 12992 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
12993 | if (SWIG_arg_fail(5)) SWIG_fail; |
12994 | } | |
994141e6 | 12995 | } |
d14a1e28 RD |
12996 | if (obj5) { |
12997 | { | |
12998 | arg6 = wxString_in_helper(obj5); | |
12999 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 13000 | temp6 = true; |
d14a1e28 RD |
13001 | } |
13002 | } | |
13003 | { | |
e3b71cb8 | 13004 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13006 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
13007 | ||
13008 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13009 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13010 | } |
15afbcd0 | 13011 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
13012 | { |
13013 | if (temp6) | |
13014 | delete arg6; | |
13015 | } | |
13016 | return resultobj; | |
13017 | fail: | |
13018 | { | |
13019 | if (temp6) | |
13020 | delete arg6; | |
13021 | } | |
13022 | return NULL; | |
13023 | } | |
13024 | ||
13025 | ||
c32bde28 | 13026 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13027 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13028 | wxPyHtmlListBox *result; |
13029 | char *kwnames[] = { | |
13030 | NULL | |
13031 | }; | |
13032 | ||
13033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
13034 | { | |
e3b71cb8 | 13035 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13037 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
13038 | ||
13039 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13040 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13041 | } |
15afbcd0 | 13042 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
13043 | return resultobj; |
13044 | fail: | |
13045 | return NULL; | |
13046 | } | |
13047 | ||
13048 | ||
c32bde28 | 13049 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13050 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13051 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; |
13052 | PyObject *arg2 = (PyObject *) 0 ; | |
13053 | PyObject *arg3 = (PyObject *) 0 ; | |
13054 | PyObject * obj0 = 0 ; | |
13055 | PyObject * obj1 = 0 ; | |
13056 | PyObject * obj2 = 0 ; | |
13057 | char *kwnames[] = { | |
13058 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
13059 | }; | |
13060 | ||
13061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
13062 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
13063 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13064 | arg2 = obj1; |
13065 | arg3 = obj2; | |
13066 | { | |
13067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13068 | (arg1)->_setCallbackInfo(arg2,arg3); | |
13069 | ||
13070 | wxPyEndAllowThreads(__tstate); | |
13071 | if (PyErr_Occurred()) SWIG_fail; | |
13072 | } | |
13073 | Py_INCREF(Py_None); resultobj = Py_None; | |
13074 | return resultobj; | |
13075 | fail: | |
13076 | return NULL; | |
13077 | } | |
13078 | ||
13079 | ||
c32bde28 | 13080 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13081 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13082 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; |
13083 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 13084 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
13085 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
13086 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
13087 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
13088 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
13089 | long arg6 = (long) 0 ; | |
13090 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
13091 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13092 | bool result; | |
13093 | wxPoint temp4 ; | |
13094 | wxSize temp5 ; | |
ae8162c8 | 13095 | bool temp7 = false ; |
d14a1e28 RD |
13096 | PyObject * obj0 = 0 ; |
13097 | PyObject * obj1 = 0 ; | |
994141e6 | 13098 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
13099 | PyObject * obj3 = 0 ; |
13100 | PyObject * obj4 = 0 ; | |
994141e6 | 13101 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
13102 | PyObject * obj6 = 0 ; |
13103 | char *kwnames[] = { | |
13104 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
13105 | }; | |
13106 | ||
994141e6 | 13107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
13108 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
13109 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13110 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
13111 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 13112 | if (obj2) { |
093d3ff1 | 13113 | { |
32fe5131 | 13114 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
13115 | if (SWIG_arg_fail(3)) SWIG_fail; |
13116 | } | |
994141e6 | 13117 | } |
d14a1e28 RD |
13118 | if (obj3) { |
13119 | { | |
13120 | arg4 = &temp4; | |
13121 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
13122 | } | |
13123 | } | |
13124 | if (obj4) { | |
13125 | { | |
13126 | arg5 = &temp5; | |
13127 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
13128 | } | |
13129 | } | |
994141e6 | 13130 | if (obj5) { |
093d3ff1 | 13131 | { |
32fe5131 | 13132 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
13133 | if (SWIG_arg_fail(6)) SWIG_fail; |
13134 | } | |
994141e6 | 13135 | } |
d14a1e28 RD |
13136 | if (obj6) { |
13137 | { | |
13138 | arg7 = wxString_in_helper(obj6); | |
13139 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 13140 | temp7 = true; |
d14a1e28 RD |
13141 | } |
13142 | } | |
13143 | { | |
13144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13145 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
13146 | ||
13147 | wxPyEndAllowThreads(__tstate); | |
13148 | if (PyErr_Occurred()) SWIG_fail; | |
13149 | } | |
4f89f6a3 RD |
13150 | { |
13151 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13152 | } | |
d14a1e28 RD |
13153 | { |
13154 | if (temp7) | |
13155 | delete arg7; | |
13156 | } | |
13157 | return resultobj; | |
13158 | fail: | |
13159 | { | |
13160 | if (temp7) | |
13161 | delete arg7; | |
13162 | } | |
13163 | return NULL; | |
13164 | } | |
13165 | ||
13166 | ||
c32bde28 | 13167 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13168 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13169 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; |
13170 | PyObject * obj0 = 0 ; | |
13171 | char *kwnames[] = { | |
13172 | (char *) "self", NULL | |
13173 | }; | |
13174 | ||
13175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13176 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
13177 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13178 | { |
13179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13180 | (arg1)->RefreshAll(); | |
13181 | ||
13182 | wxPyEndAllowThreads(__tstate); | |
13183 | if (PyErr_Occurred()) SWIG_fail; | |
13184 | } | |
13185 | Py_INCREF(Py_None); resultobj = Py_None; | |
13186 | return resultobj; | |
13187 | fail: | |
13188 | return NULL; | |
13189 | } | |
13190 | ||
13191 | ||
c32bde28 | 13192 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13193 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13194 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; |
13195 | size_t arg2 ; | |
13196 | PyObject * obj0 = 0 ; | |
13197 | PyObject * obj1 = 0 ; | |
13198 | char *kwnames[] = { | |
13199 | (char *) "self",(char *) "count", NULL | |
13200 | }; | |
13201 | ||
13202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
13204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13205 | { | |
32fe5131 | 13206 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
13207 | if (SWIG_arg_fail(2)) SWIG_fail; |
13208 | } | |
d14a1e28 RD |
13209 | { |
13210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13211 | (arg1)->SetItemCount(arg2); | |
13212 | ||
13213 | wxPyEndAllowThreads(__tstate); | |
13214 | if (PyErr_Occurred()) SWIG_fail; | |
13215 | } | |
13216 | Py_INCREF(Py_None); resultobj = Py_None; | |
13217 | return resultobj; | |
13218 | fail: | |
13219 | return NULL; | |
13220 | } | |
13221 | ||
13222 | ||
c32bde28 | 13223 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13224 | PyObject *resultobj = NULL; |
7fdaaabe RD |
13225 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; |
13226 | wxFileSystem *result; | |
13227 | PyObject * obj0 = 0 ; | |
13228 | char *kwnames[] = { | |
13229 | (char *) "self", NULL | |
13230 | }; | |
13231 | ||
13232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
13234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7fdaaabe RD |
13235 | { |
13236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13237 | { | |
13238 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
13239 | result = (wxFileSystem *) &_result_ref; | |
13240 | } | |
13241 | ||
13242 | wxPyEndAllowThreads(__tstate); | |
13243 | if (PyErr_Occurred()) SWIG_fail; | |
13244 | } | |
13245 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
13246 | return resultobj; | |
13247 | fail: | |
13248 | return NULL; | |
13249 | } | |
13250 | ||
13251 | ||
c32bde28 | 13252 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13253 | PyObject *obj; |
13254 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13255 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
13256 | Py_INCREF(obj); | |
13257 | return Py_BuildValue((char *)""); | |
13258 | } | |
c32bde28 | 13259 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13260 | PyObject *resultobj = NULL; |
5e483524 | 13261 | wxPyTaskBarIcon *result; |
d14a1e28 RD |
13262 | char *kwnames[] = { |
13263 | NULL | |
13264 | }; | |
13265 | ||
13266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
13267 | { | |
e3b71cb8 | 13268 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 13269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5e483524 | 13270 | result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon(); |
d14a1e28 RD |
13271 | |
13272 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13273 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13274 | } |
5e483524 | 13275 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1); |
d14a1e28 RD |
13276 | return resultobj; |
13277 | fail: | |
13278 | return NULL; | |
13279 | } | |
13280 | ||
13281 | ||
7e08d4ef RD |
13282 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
13283 | PyObject *resultobj = NULL; | |
13284 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; | |
13285 | PyObject * obj0 = 0 ; | |
13286 | char *kwnames[] = { | |
13287 | (char *) "self", NULL | |
13288 | }; | |
13289 | ||
13290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
13291 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); | |
13292 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13293 | { | |
13294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13295 | delete arg1; | |
13296 | ||
13297 | wxPyEndAllowThreads(__tstate); | |
13298 | if (PyErr_Occurred()) SWIG_fail; | |
13299 | } | |
13300 | Py_INCREF(Py_None); resultobj = Py_None; | |
13301 | return resultobj; | |
13302 | fail: | |
13303 | return NULL; | |
13304 | } | |
13305 | ||
13306 | ||
5e483524 | 13307 | static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13308 | PyObject *resultobj = NULL; |
5e483524 RD |
13309 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
13310 | PyObject *arg2 = (PyObject *) 0 ; | |
13311 | PyObject *arg3 = (PyObject *) 0 ; | |
13312 | int arg4 ; | |
d14a1e28 | 13313 | PyObject * obj0 = 0 ; |
5e483524 RD |
13314 | PyObject * obj1 = 0 ; |
13315 | PyObject * obj2 = 0 ; | |
13316 | PyObject * obj3 = 0 ; | |
d14a1e28 | 13317 | char *kwnames[] = { |
5e483524 | 13318 | (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL |
d14a1e28 RD |
13319 | }; |
13320 | ||
5e483524 | 13321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
13322 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13323 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
13324 | arg2 = obj1; |
13325 | arg3 = obj2; | |
093d3ff1 | 13326 | { |
32fe5131 | 13327 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
13328 | if (SWIG_arg_fail(4)) SWIG_fail; |
13329 | } | |
d14a1e28 RD |
13330 | { |
13331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 13332 | (arg1)->_setCallbackInfo(arg2,arg3,arg4); |
d14a1e28 RD |
13333 | |
13334 | wxPyEndAllowThreads(__tstate); | |
13335 | if (PyErr_Occurred()) SWIG_fail; | |
13336 | } | |
13337 | Py_INCREF(Py_None); resultobj = Py_None; | |
13338 | return resultobj; | |
13339 | fail: | |
13340 | return NULL; | |
13341 | } | |
13342 | ||
13343 | ||
c32bde28 | 13344 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13345 | PyObject *resultobj = NULL; |
5e483524 | 13346 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
74a57fcd RD |
13347 | PyObject * obj0 = 0 ; |
13348 | char *kwnames[] = { | |
13349 | (char *) "self", NULL | |
13350 | }; | |
13351 | ||
13352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
74a57fcd RD |
13355 | { |
13356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 13357 | wxPyTaskBarIcon_Destroy(arg1); |
74a57fcd RD |
13358 | |
13359 | wxPyEndAllowThreads(__tstate); | |
13360 | if (PyErr_Occurred()) SWIG_fail; | |
13361 | } | |
13362 | Py_INCREF(Py_None); resultobj = Py_None; | |
13363 | return resultobj; | |
13364 | fail: | |
13365 | return NULL; | |
13366 | } | |
13367 | ||
13368 | ||
c32bde28 | 13369 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13370 | PyObject *resultobj = NULL; |
5e483524 | 13371 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
13372 | bool result; |
13373 | PyObject * obj0 = 0 ; | |
13374 | char *kwnames[] = { | |
13375 | (char *) "self", NULL | |
13376 | }; | |
13377 | ||
13378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13379 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13380 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13381 | { |
13382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 13383 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk(); |
d14a1e28 RD |
13384 | |
13385 | wxPyEndAllowThreads(__tstate); | |
13386 | if (PyErr_Occurred()) SWIG_fail; | |
13387 | } | |
4f89f6a3 RD |
13388 | { |
13389 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13390 | } | |
d14a1e28 RD |
13391 | return resultobj; |
13392 | fail: | |
13393 | return NULL; | |
13394 | } | |
13395 | ||
13396 | ||
c32bde28 | 13397 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13398 | PyObject *resultobj = NULL; |
5e483524 | 13399 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
13400 | bool result; |
13401 | PyObject * obj0 = 0 ; | |
13402 | char *kwnames[] = { | |
13403 | (char *) "self", NULL | |
13404 | }; | |
13405 | ||
13406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13407 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13408 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13409 | { |
13410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 13411 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled(); |
d14a1e28 RD |
13412 | |
13413 | wxPyEndAllowThreads(__tstate); | |
13414 | if (PyErr_Occurred()) SWIG_fail; | |
13415 | } | |
4f89f6a3 RD |
13416 | { |
13417 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13418 | } | |
d14a1e28 RD |
13419 | return resultobj; |
13420 | fail: | |
13421 | return NULL; | |
13422 | } | |
13423 | ||
13424 | ||
c32bde28 | 13425 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13426 | PyObject *resultobj = NULL; |
5e483524 | 13427 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
13428 | wxIcon *arg2 = 0 ; |
13429 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13430 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13431 | bool result; | |
ae8162c8 | 13432 | bool temp3 = false ; |
d14a1e28 RD |
13433 | PyObject * obj0 = 0 ; |
13434 | PyObject * obj1 = 0 ; | |
13435 | PyObject * obj2 = 0 ; | |
13436 | char *kwnames[] = { | |
13437 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
13438 | }; | |
13439 | ||
13440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
13441 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13442 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13443 | { | |
13444 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
13445 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13446 | if (arg2 == NULL) { | |
13447 | SWIG_null_ref("wxIcon"); | |
13448 | } | |
13449 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
13450 | } |
13451 | if (obj2) { | |
13452 | { | |
13453 | arg3 = wxString_in_helper(obj2); | |
13454 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 13455 | temp3 = true; |
d14a1e28 RD |
13456 | } |
13457 | } | |
13458 | { | |
13459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13460 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
13461 | ||
13462 | wxPyEndAllowThreads(__tstate); | |
13463 | if (PyErr_Occurred()) SWIG_fail; | |
13464 | } | |
4f89f6a3 RD |
13465 | { |
13466 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13467 | } | |
d14a1e28 RD |
13468 | { |
13469 | if (temp3) | |
13470 | delete arg3; | |
13471 | } | |
13472 | return resultobj; | |
13473 | fail: | |
13474 | { | |
13475 | if (temp3) | |
13476 | delete arg3; | |
13477 | } | |
13478 | return NULL; | |
13479 | } | |
13480 | ||
13481 | ||
c32bde28 | 13482 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13483 | PyObject *resultobj = NULL; |
5e483524 | 13484 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
13485 | bool result; |
13486 | PyObject * obj0 = 0 ; | |
13487 | char *kwnames[] = { | |
13488 | (char *) "self", NULL | |
13489 | }; | |
13490 | ||
13491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13492 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13493 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13494 | { |
13495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13496 | result = (bool)(arg1)->RemoveIcon(); | |
13497 | ||
13498 | wxPyEndAllowThreads(__tstate); | |
13499 | if (PyErr_Occurred()) SWIG_fail; | |
13500 | } | |
4f89f6a3 RD |
13501 | { |
13502 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13503 | } | |
d14a1e28 RD |
13504 | return resultobj; |
13505 | fail: | |
13506 | return NULL; | |
13507 | } | |
13508 | ||
13509 | ||
c32bde28 | 13510 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13511 | PyObject *resultobj = NULL; |
5e483524 | 13512 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
13513 | wxMenu *arg2 = (wxMenu *) 0 ; |
13514 | bool result; | |
13515 | PyObject * obj0 = 0 ; | |
13516 | PyObject * obj1 = 0 ; | |
13517 | char *kwnames[] = { | |
13518 | (char *) "self",(char *) "menu", NULL | |
13519 | }; | |
13520 | ||
13521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13524 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); | |
13525 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
13526 | { |
13527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13528 | result = (bool)(arg1)->PopupMenu(arg2); | |
13529 | ||
13530 | wxPyEndAllowThreads(__tstate); | |
13531 | if (PyErr_Occurred()) SWIG_fail; | |
13532 | } | |
4f89f6a3 RD |
13533 | { |
13534 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13535 | } | |
d14a1e28 RD |
13536 | return resultobj; |
13537 | fail: | |
13538 | return NULL; | |
13539 | } | |
13540 | ||
13541 | ||
c32bde28 | 13542 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13543 | PyObject *obj; |
13544 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5e483524 | 13545 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj); |
d14a1e28 RD |
13546 | Py_INCREF(obj); |
13547 | return Py_BuildValue((char *)""); | |
13548 | } | |
c32bde28 | 13549 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13550 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13551 | wxEventType arg1 ; |
13552 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
13553 | wxTaskBarIconEvent *result; | |
994141e6 | 13554 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
13555 | PyObject * obj1 = 0 ; |
13556 | char *kwnames[] = { | |
13557 | (char *) "evtType",(char *) "tbIcon", NULL | |
13558 | }; | |
13559 | ||
994141e6 | 13560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 | 13561 | { |
32fe5131 | 13562 | arg1 = static_cast<wxEventType >(SWIG_As_int(obj0)); |
093d3ff1 RD |
13563 | if (SWIG_arg_fail(1)) SWIG_fail; |
13564 | } | |
13565 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); | |
13566 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
13567 | { |
13568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13569 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
13570 | ||
13571 | wxPyEndAllowThreads(__tstate); | |
13572 | if (PyErr_Occurred()) SWIG_fail; | |
13573 | } | |
15afbcd0 | 13574 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
13575 | return resultobj; |
13576 | fail: | |
13577 | return NULL; | |
13578 | } | |
13579 | ||
13580 | ||
c32bde28 | 13581 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13582 | PyObject *obj; |
13583 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13584 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
13585 | Py_INCREF(obj); | |
13586 | return Py_BuildValue((char *)""); | |
13587 | } | |
c32bde28 | 13588 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
b2dc1044 RD |
13589 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
13590 | return 1; | |
13591 | } | |
13592 | ||
13593 | ||
093d3ff1 | 13594 | static PyObject *_wrap_FileSelectorPromptStr_get(void) { |
32fe5131 | 13595 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13596 | |
13597 | { | |
13598 | #if wxUSE_UNICODE | |
13599 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
13600 | #else | |
13601 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
13602 | #endif | |
13603 | } | |
13604 | return pyobj; | |
13605 | } | |
13606 | ||
13607 | ||
c32bde28 | 13608 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
b2dc1044 RD |
13609 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
13610 | return 1; | |
13611 | } | |
13612 | ||
13613 | ||
093d3ff1 | 13614 | static PyObject *_wrap_DirSelectorPromptStr_get(void) { |
32fe5131 | 13615 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13616 | |
13617 | { | |
13618 | #if wxUSE_UNICODE | |
13619 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13620 | #else | |
13621 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13622 | #endif | |
13623 | } | |
13624 | return pyobj; | |
13625 | } | |
13626 | ||
13627 | ||
c32bde28 | 13628 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
b2dc1044 RD |
13629 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
13630 | return 1; | |
13631 | } | |
13632 | ||
13633 | ||
093d3ff1 | 13634 | static PyObject *_wrap_DirDialogNameStr_get(void) { |
32fe5131 | 13635 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13636 | |
13637 | { | |
13638 | #if wxUSE_UNICODE | |
13639 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13640 | #else | |
13641 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13642 | #endif | |
13643 | } | |
13644 | return pyobj; | |
13645 | } | |
13646 | ||
13647 | ||
c32bde28 | 13648 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
b2dc1044 RD |
13649 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
13650 | return 1; | |
13651 | } | |
13652 | ||
13653 | ||
093d3ff1 | 13654 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { |
32fe5131 | 13655 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13656 | |
13657 | { | |
13658 | #if wxUSE_UNICODE | |
13659 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13660 | #else | |
13661 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13662 | #endif | |
13663 | } | |
13664 | return pyobj; | |
13665 | } | |
13666 | ||
13667 | ||
c32bde28 | 13668 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
b2dc1044 RD |
13669 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
13670 | return 1; | |
13671 | } | |
13672 | ||
13673 | ||
093d3ff1 | 13674 | static PyObject *_wrap_GetTextFromUserPromptStr_get(void) { |
32fe5131 | 13675 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13676 | |
13677 | { | |
13678 | #if wxUSE_UNICODE | |
13679 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13680 | #else | |
13681 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13682 | #endif | |
13683 | } | |
13684 | return pyobj; | |
13685 | } | |
13686 | ||
13687 | ||
c32bde28 | 13688 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
b2dc1044 RD |
13689 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
13690 | return 1; | |
13691 | } | |
13692 | ||
13693 | ||
093d3ff1 | 13694 | static PyObject *_wrap_MessageBoxCaptionStr_get(void) { |
32fe5131 | 13695 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13696 | |
13697 | { | |
13698 | #if wxUSE_UNICODE | |
13699 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13700 | #else | |
13701 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13702 | #endif | |
13703 | } | |
13704 | return pyobj; | |
13705 | } | |
13706 | ||
13707 | ||
c32bde28 | 13708 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13709 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13710 | wxColourData *result; |
13711 | char *kwnames[] = { | |
13712 | NULL | |
13713 | }; | |
13714 | ||
13715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
13716 | { | |
13717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13718 | result = (wxColourData *)new wxColourData(); | |
13719 | ||
13720 | wxPyEndAllowThreads(__tstate); | |
13721 | if (PyErr_Occurred()) SWIG_fail; | |
13722 | } | |
15afbcd0 | 13723 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
13724 | return resultobj; |
13725 | fail: | |
13726 | return NULL; | |
13727 | } | |
13728 | ||
13729 | ||
c32bde28 | 13730 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13731 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13732 | wxColourData *arg1 = (wxColourData *) 0 ; |
13733 | PyObject * obj0 = 0 ; | |
13734 | char *kwnames[] = { | |
13735 | (char *) "self", NULL | |
13736 | }; | |
13737 | ||
13738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13740 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13741 | { |
13742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13743 | delete arg1; | |
13744 | ||
13745 | wxPyEndAllowThreads(__tstate); | |
13746 | if (PyErr_Occurred()) SWIG_fail; | |
13747 | } | |
13748 | Py_INCREF(Py_None); resultobj = Py_None; | |
13749 | return resultobj; | |
13750 | fail: | |
13751 | return NULL; | |
13752 | } | |
13753 | ||
13754 | ||
c32bde28 | 13755 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13756 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13757 | wxColourData *arg1 = (wxColourData *) 0 ; |
13758 | bool result; | |
13759 | PyObject * obj0 = 0 ; | |
13760 | char *kwnames[] = { | |
13761 | (char *) "self", NULL | |
13762 | }; | |
13763 | ||
13764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13765 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13766 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13767 | { |
13768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13769 | result = (bool)(arg1)->GetChooseFull(); | |
13770 | ||
13771 | wxPyEndAllowThreads(__tstate); | |
13772 | if (PyErr_Occurred()) SWIG_fail; | |
13773 | } | |
4f89f6a3 RD |
13774 | { |
13775 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13776 | } | |
d14a1e28 RD |
13777 | return resultobj; |
13778 | fail: | |
13779 | return NULL; | |
13780 | } | |
13781 | ||
13782 | ||
c32bde28 | 13783 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13784 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13785 | wxColourData *arg1 = (wxColourData *) 0 ; |
13786 | wxColour result; | |
13787 | PyObject * obj0 = 0 ; | |
13788 | char *kwnames[] = { | |
13789 | (char *) "self", NULL | |
13790 | }; | |
13791 | ||
13792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13793 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13794 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13795 | { |
13796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13797 | result = (arg1)->GetColour(); | |
13798 | ||
13799 | wxPyEndAllowThreads(__tstate); | |
13800 | if (PyErr_Occurred()) SWIG_fail; | |
13801 | } | |
13802 | { | |
13803 | wxColour * resultptr; | |
32fe5131 | 13804 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
15afbcd0 | 13805 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
13806 | } |
13807 | return resultobj; | |
13808 | fail: | |
13809 | return NULL; | |
13810 | } | |
13811 | ||
13812 | ||
c32bde28 | 13813 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13814 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13815 | wxColourData *arg1 = (wxColourData *) 0 ; |
13816 | int arg2 ; | |
13817 | wxColour result; | |
13818 | PyObject * obj0 = 0 ; | |
994141e6 | 13819 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13820 | char *kwnames[] = { |
13821 | (char *) "self",(char *) "i", NULL | |
13822 | }; | |
13823 | ||
994141e6 | 13824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
13825 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13826 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13827 | { | |
32fe5131 | 13828 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
13829 | if (SWIG_arg_fail(2)) SWIG_fail; |
13830 | } | |
d14a1e28 RD |
13831 | { |
13832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13833 | result = (arg1)->GetCustomColour(arg2); | |
13834 | ||
13835 | wxPyEndAllowThreads(__tstate); | |
13836 | if (PyErr_Occurred()) SWIG_fail; | |
13837 | } | |
13838 | { | |
13839 | wxColour * resultptr; | |
32fe5131 | 13840 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
15afbcd0 | 13841 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
13842 | } |
13843 | return resultobj; | |
13844 | fail: | |
13845 | return NULL; | |
13846 | } | |
13847 | ||
13848 | ||
c32bde28 | 13849 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13850 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13851 | wxColourData *arg1 = (wxColourData *) 0 ; |
13852 | int arg2 ; | |
13853 | PyObject * obj0 = 0 ; | |
994141e6 | 13854 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13855 | char *kwnames[] = { |
13856 | (char *) "self",(char *) "flag", NULL | |
13857 | }; | |
13858 | ||
994141e6 | 13859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
13860 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13861 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13862 | { | |
32fe5131 | 13863 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
13864 | if (SWIG_arg_fail(2)) SWIG_fail; |
13865 | } | |
d14a1e28 RD |
13866 | { |
13867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13868 | (arg1)->SetChooseFull(arg2); | |
13869 | ||
13870 | wxPyEndAllowThreads(__tstate); | |
13871 | if (PyErr_Occurred()) SWIG_fail; | |
13872 | } | |
13873 | Py_INCREF(Py_None); resultobj = Py_None; | |
13874 | return resultobj; | |
13875 | fail: | |
13876 | return NULL; | |
13877 | } | |
13878 | ||
13879 | ||
c32bde28 | 13880 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13881 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13882 | wxColourData *arg1 = (wxColourData *) 0 ; |
13883 | wxColour *arg2 = 0 ; | |
13884 | wxColour temp2 ; | |
13885 | PyObject * obj0 = 0 ; | |
13886 | PyObject * obj1 = 0 ; | |
13887 | char *kwnames[] = { | |
13888 | (char *) "self",(char *) "colour", NULL | |
13889 | }; | |
13890 | ||
13891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13892 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13893 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13894 | { |
13895 | arg2 = &temp2; | |
13896 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13897 | } | |
13898 | { | |
13899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13900 | (arg1)->SetColour((wxColour const &)*arg2); | |
13901 | ||
13902 | wxPyEndAllowThreads(__tstate); | |
13903 | if (PyErr_Occurred()) SWIG_fail; | |
13904 | } | |
13905 | Py_INCREF(Py_None); resultobj = Py_None; | |
13906 | return resultobj; | |
13907 | fail: | |
13908 | return NULL; | |
13909 | } | |
13910 | ||
13911 | ||
c32bde28 | 13912 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13913 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13914 | wxColourData *arg1 = (wxColourData *) 0 ; |
13915 | int arg2 ; | |
13916 | wxColour *arg3 = 0 ; | |
13917 | wxColour temp3 ; | |
13918 | PyObject * obj0 = 0 ; | |
994141e6 | 13919 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13920 | PyObject * obj2 = 0 ; |
13921 | char *kwnames[] = { | |
13922 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
13923 | }; | |
13924 | ||
994141e6 | 13925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
13926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13928 | { | |
32fe5131 | 13929 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
13930 | if (SWIG_arg_fail(2)) SWIG_fail; |
13931 | } | |
d14a1e28 RD |
13932 | { |
13933 | arg3 = &temp3; | |
13934 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13935 | } | |
13936 | { | |
13937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13938 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
13939 | ||
13940 | wxPyEndAllowThreads(__tstate); | |
13941 | if (PyErr_Occurred()) SWIG_fail; | |
13942 | } | |
13943 | Py_INCREF(Py_None); resultobj = Py_None; | |
13944 | return resultobj; | |
13945 | fail: | |
13946 | return NULL; | |
13947 | } | |
13948 | ||
13949 | ||
c32bde28 | 13950 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13951 | PyObject *obj; |
13952 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13953 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
13954 | Py_INCREF(obj); | |
13955 | return Py_BuildValue((char *)""); | |
13956 | } | |
c32bde28 | 13957 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13958 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13959 | wxWindow *arg1 = (wxWindow *) 0 ; |
13960 | wxColourData *arg2 = (wxColourData *) NULL ; | |
13961 | wxColourDialog *result; | |
13962 | PyObject * obj0 = 0 ; | |
13963 | PyObject * obj1 = 0 ; | |
13964 | char *kwnames[] = { | |
13965 | (char *) "parent",(char *) "data", NULL | |
13966 | }; | |
13967 | ||
13968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13969 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13970 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 13971 | if (obj1) { |
093d3ff1 RD |
13972 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13973 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
13974 | } |
13975 | { | |
e3b71cb8 | 13976 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13978 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
13979 | ||
13980 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13981 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13982 | } |
15afbcd0 | 13983 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
13984 | return resultobj; |
13985 | fail: | |
13986 | return NULL; | |
13987 | } | |
13988 | ||
13989 | ||
c32bde28 | 13990 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13991 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13992 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; |
13993 | wxColourData *result; | |
13994 | PyObject * obj0 = 0 ; | |
13995 | char *kwnames[] = { | |
13996 | (char *) "self", NULL | |
13997 | }; | |
13998 | ||
13999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14000 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0); |
14001 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14002 | { |
14003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14004 | { | |
14005 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
14006 | result = (wxColourData *) &_result_ref; | |
14007 | } | |
14008 | ||
14009 | wxPyEndAllowThreads(__tstate); | |
14010 | if (PyErr_Occurred()) SWIG_fail; | |
14011 | } | |
15afbcd0 | 14012 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
14013 | return resultobj; |
14014 | fail: | |
14015 | return NULL; | |
14016 | } | |
14017 | ||
14018 | ||
c32bde28 | 14019 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14020 | PyObject *obj; |
14021 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14022 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
14023 | Py_INCREF(obj); | |
14024 | return Py_BuildValue((char *)""); | |
14025 | } | |
32fe5131 RD |
14026 | static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) { |
14027 | PyObject *resultobj = NULL; | |
14028 | wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ; | |
14029 | wxColour const &arg2_defvalue = wxNullColour ; | |
14030 | wxColour *arg2 = (wxColour *) &arg2_defvalue ; | |
14031 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14032 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14033 | wxColour result; | |
14034 | wxColour temp2 ; | |
14035 | bool temp3 = false ; | |
14036 | PyObject * obj0 = 0 ; | |
14037 | PyObject * obj1 = 0 ; | |
14038 | PyObject * obj2 = 0 ; | |
14039 | char *kwnames[] = { | |
14040 | (char *) "parent",(char *) "colInit",(char *) "caption", NULL | |
14041 | }; | |
14042 | ||
14043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14044 | if (obj0) { | |
14045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
14046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14047 | } | |
14048 | if (obj1) { | |
14049 | { | |
14050 | arg2 = &temp2; | |
14051 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
14052 | } | |
14053 | } | |
14054 | if (obj2) { | |
14055 | { | |
14056 | arg3 = wxString_in_helper(obj2); | |
14057 | if (arg3 == NULL) SWIG_fail; | |
14058 | temp3 = true; | |
14059 | } | |
14060 | } | |
14061 | { | |
14062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14063 | result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3); | |
14064 | ||
14065 | wxPyEndAllowThreads(__tstate); | |
14066 | if (PyErr_Occurred()) SWIG_fail; | |
14067 | } | |
14068 | { | |
14069 | wxColour * resultptr; | |
14070 | resultptr = new wxColour(static_cast<wxColour & >(result)); | |
14071 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
14072 | } | |
14073 | { | |
14074 | if (temp3) | |
14075 | delete arg3; | |
14076 | } | |
14077 | return resultobj; | |
14078 | fail: | |
14079 | { | |
14080 | if (temp3) | |
14081 | delete arg3; | |
14082 | } | |
14083 | return NULL; | |
14084 | } | |
14085 | ||
14086 | ||
c32bde28 | 14087 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14088 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14089 | wxWindow *arg1 = (wxWindow *) 0 ; |
14090 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
14091 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
14092 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14093 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14094 | long arg4 = (long) 0 ; | |
14095 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14096 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14097 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14098 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14099 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
14100 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14101 | wxDirDialog *result; | |
ae8162c8 RD |
14102 | bool temp2 = false ; |
14103 | bool temp3 = false ; | |
d14a1e28 RD |
14104 | wxPoint temp5 ; |
14105 | wxSize temp6 ; | |
ae8162c8 | 14106 | bool temp7 = false ; |
d14a1e28 RD |
14107 | PyObject * obj0 = 0 ; |
14108 | PyObject * obj1 = 0 ; | |
14109 | PyObject * obj2 = 0 ; | |
994141e6 | 14110 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
14111 | PyObject * obj4 = 0 ; |
14112 | PyObject * obj5 = 0 ; | |
14113 | PyObject * obj6 = 0 ; | |
14114 | char *kwnames[] = { | |
14115 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
14116 | }; | |
14117 | ||
994141e6 | 14118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
14119 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14120 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14121 | if (obj1) { |
14122 | { | |
14123 | arg2 = wxString_in_helper(obj1); | |
14124 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14125 | temp2 = true; |
d14a1e28 RD |
14126 | } |
14127 | } | |
14128 | if (obj2) { | |
14129 | { | |
14130 | arg3 = wxString_in_helper(obj2); | |
14131 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14132 | temp3 = true; |
d14a1e28 RD |
14133 | } |
14134 | } | |
994141e6 | 14135 | if (obj3) { |
093d3ff1 | 14136 | { |
32fe5131 | 14137 | arg4 = static_cast<long >(SWIG_As_long(obj3)); |
093d3ff1 RD |
14138 | if (SWIG_arg_fail(4)) SWIG_fail; |
14139 | } | |
994141e6 | 14140 | } |
d14a1e28 RD |
14141 | if (obj4) { |
14142 | { | |
14143 | arg5 = &temp5; | |
14144 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14145 | } | |
14146 | } | |
14147 | if (obj5) { | |
14148 | { | |
14149 | arg6 = &temp6; | |
14150 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14151 | } | |
14152 | } | |
14153 | if (obj6) { | |
14154 | { | |
14155 | arg7 = wxString_in_helper(obj6); | |
14156 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 14157 | temp7 = true; |
d14a1e28 RD |
14158 | } |
14159 | } | |
14160 | { | |
e3b71cb8 | 14161 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14163 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
14164 | ||
14165 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14166 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14167 | } |
15afbcd0 | 14168 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
14169 | { |
14170 | if (temp2) | |
14171 | delete arg2; | |
14172 | } | |
14173 | { | |
14174 | if (temp3) | |
14175 | delete arg3; | |
14176 | } | |
14177 | { | |
14178 | if (temp7) | |
14179 | delete arg7; | |
14180 | } | |
14181 | return resultobj; | |
14182 | fail: | |
14183 | { | |
14184 | if (temp2) | |
14185 | delete arg2; | |
14186 | } | |
14187 | { | |
14188 | if (temp3) | |
14189 | delete arg3; | |
14190 | } | |
14191 | { | |
14192 | if (temp7) | |
14193 | delete arg7; | |
14194 | } | |
14195 | return NULL; | |
14196 | } | |
14197 | ||
14198 | ||
c32bde28 | 14199 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14200 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14201 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
14202 | wxString result; | |
14203 | PyObject * obj0 = 0 ; | |
14204 | char *kwnames[] = { | |
14205 | (char *) "self", NULL | |
14206 | }; | |
14207 | ||
14208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14209 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
14210 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14211 | { |
14212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14213 | result = (arg1)->GetPath(); | |
14214 | ||
14215 | wxPyEndAllowThreads(__tstate); | |
14216 | if (PyErr_Occurred()) SWIG_fail; | |
14217 | } | |
14218 | { | |
14219 | #if wxUSE_UNICODE | |
14220 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14221 | #else | |
14222 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14223 | #endif | |
14224 | } | |
14225 | return resultobj; | |
14226 | fail: | |
14227 | return NULL; | |
14228 | } | |
14229 | ||
14230 | ||
c32bde28 | 14231 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14232 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14233 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
14234 | wxString result; | |
14235 | PyObject * obj0 = 0 ; | |
14236 | char *kwnames[] = { | |
14237 | (char *) "self", NULL | |
14238 | }; | |
14239 | ||
14240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14241 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
14242 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14243 | { |
14244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14245 | result = (arg1)->GetMessage(); | |
14246 | ||
14247 | wxPyEndAllowThreads(__tstate); | |
14248 | if (PyErr_Occurred()) SWIG_fail; | |
14249 | } | |
14250 | { | |
14251 | #if wxUSE_UNICODE | |
14252 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14253 | #else | |
14254 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14255 | #endif | |
14256 | } | |
14257 | return resultobj; | |
14258 | fail: | |
14259 | return NULL; | |
14260 | } | |
14261 | ||
14262 | ||
c32bde28 | 14263 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14264 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14265 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
14266 | long result; | |
14267 | PyObject * obj0 = 0 ; | |
14268 | char *kwnames[] = { | |
14269 | (char *) "self", NULL | |
14270 | }; | |
14271 | ||
14272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
14274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14275 | { |
14276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14277 | result = (long)(arg1)->GetStyle(); | |
14278 | ||
14279 | wxPyEndAllowThreads(__tstate); | |
14280 | if (PyErr_Occurred()) SWIG_fail; | |
14281 | } | |
093d3ff1 | 14282 | { |
32fe5131 | 14283 | resultobj = SWIG_From_long(static_cast<long >(result)); |
093d3ff1 | 14284 | } |
d14a1e28 RD |
14285 | return resultobj; |
14286 | fail: | |
14287 | return NULL; | |
14288 | } | |
14289 | ||
14290 | ||
c32bde28 | 14291 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14292 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14293 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
14294 | wxString *arg2 = 0 ; | |
ae8162c8 | 14295 | bool temp2 = false ; |
d14a1e28 RD |
14296 | PyObject * obj0 = 0 ; |
14297 | PyObject * obj1 = 0 ; | |
14298 | char *kwnames[] = { | |
14299 | (char *) "self",(char *) "message", NULL | |
14300 | }; | |
14301 | ||
14302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14303 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
14304 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14305 | { |
14306 | arg2 = wxString_in_helper(obj1); | |
14307 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14308 | temp2 = true; |
d14a1e28 RD |
14309 | } |
14310 | { | |
14311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14312 | (arg1)->SetMessage((wxString const &)*arg2); | |
14313 | ||
14314 | wxPyEndAllowThreads(__tstate); | |
14315 | if (PyErr_Occurred()) SWIG_fail; | |
14316 | } | |
14317 | Py_INCREF(Py_None); resultobj = Py_None; | |
14318 | { | |
14319 | if (temp2) | |
14320 | delete arg2; | |
14321 | } | |
14322 | return resultobj; | |
14323 | fail: | |
14324 | { | |
14325 | if (temp2) | |
14326 | delete arg2; | |
14327 | } | |
14328 | return NULL; | |
14329 | } | |
14330 | ||
14331 | ||
c32bde28 | 14332 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14333 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14334 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
14335 | wxString *arg2 = 0 ; | |
ae8162c8 | 14336 | bool temp2 = false ; |
d14a1e28 RD |
14337 | PyObject * obj0 = 0 ; |
14338 | PyObject * obj1 = 0 ; | |
14339 | char *kwnames[] = { | |
14340 | (char *) "self",(char *) "path", NULL | |
14341 | }; | |
14342 | ||
14343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14344 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
14345 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14346 | { |
14347 | arg2 = wxString_in_helper(obj1); | |
14348 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14349 | temp2 = true; |
d14a1e28 RD |
14350 | } |
14351 | { | |
14352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14353 | (arg1)->SetPath((wxString const &)*arg2); | |
14354 | ||
14355 | wxPyEndAllowThreads(__tstate); | |
14356 | if (PyErr_Occurred()) SWIG_fail; | |
14357 | } | |
14358 | Py_INCREF(Py_None); resultobj = Py_None; | |
14359 | { | |
14360 | if (temp2) | |
14361 | delete arg2; | |
14362 | } | |
14363 | return resultobj; | |
14364 | fail: | |
14365 | { | |
14366 | if (temp2) | |
14367 | delete arg2; | |
14368 | } | |
14369 | return NULL; | |
14370 | } | |
14371 | ||
14372 | ||
c32bde28 | 14373 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14374 | PyObject *obj; |
14375 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14376 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
14377 | Py_INCREF(obj); | |
14378 | return Py_BuildValue((char *)""); | |
14379 | } | |
c32bde28 | 14380 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14381 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14382 | wxWindow *arg1 = (wxWindow *) 0 ; |
14383 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
14384 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
14385 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14386 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14387 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14388 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
14389 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
14390 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
14391 | long arg6 = (long) 0 ; | |
14392 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14393 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14394 | wxFileDialog *result; | |
ae8162c8 RD |
14395 | bool temp2 = false ; |
14396 | bool temp3 = false ; | |
14397 | bool temp4 = false ; | |
14398 | bool temp5 = false ; | |
d14a1e28 RD |
14399 | wxPoint temp7 ; |
14400 | PyObject * obj0 = 0 ; | |
14401 | PyObject * obj1 = 0 ; | |
14402 | PyObject * obj2 = 0 ; | |
14403 | PyObject * obj3 = 0 ; | |
14404 | PyObject * obj4 = 0 ; | |
994141e6 | 14405 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14406 | PyObject * obj6 = 0 ; |
14407 | char *kwnames[] = { | |
14408 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
14409 | }; | |
14410 | ||
994141e6 | 14411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
14412 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14413 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14414 | if (obj1) { |
14415 | { | |
14416 | arg2 = wxString_in_helper(obj1); | |
14417 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14418 | temp2 = true; |
d14a1e28 RD |
14419 | } |
14420 | } | |
14421 | if (obj2) { | |
14422 | { | |
14423 | arg3 = wxString_in_helper(obj2); | |
14424 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14425 | temp3 = true; |
d14a1e28 RD |
14426 | } |
14427 | } | |
14428 | if (obj3) { | |
14429 | { | |
14430 | arg4 = wxString_in_helper(obj3); | |
14431 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 14432 | temp4 = true; |
d14a1e28 RD |
14433 | } |
14434 | } | |
14435 | if (obj4) { | |
14436 | { | |
14437 | arg5 = wxString_in_helper(obj4); | |
14438 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 14439 | temp5 = true; |
d14a1e28 RD |
14440 | } |
14441 | } | |
994141e6 | 14442 | if (obj5) { |
093d3ff1 | 14443 | { |
32fe5131 | 14444 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
14445 | if (SWIG_arg_fail(6)) SWIG_fail; |
14446 | } | |
994141e6 | 14447 | } |
d14a1e28 RD |
14448 | if (obj6) { |
14449 | { | |
14450 | arg7 = &temp7; | |
14451 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
14452 | } | |
14453 | } | |
14454 | { | |
e3b71cb8 | 14455 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14457 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
14458 | ||
14459 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14460 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14461 | } |
15afbcd0 | 14462 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
14463 | { |
14464 | if (temp2) | |
14465 | delete arg2; | |
14466 | } | |
14467 | { | |
14468 | if (temp3) | |
14469 | delete arg3; | |
14470 | } | |
14471 | { | |
14472 | if (temp4) | |
14473 | delete arg4; | |
14474 | } | |
14475 | { | |
14476 | if (temp5) | |
14477 | delete arg5; | |
14478 | } | |
14479 | return resultobj; | |
14480 | fail: | |
14481 | { | |
14482 | if (temp2) | |
14483 | delete arg2; | |
14484 | } | |
14485 | { | |
14486 | if (temp3) | |
14487 | delete arg3; | |
14488 | } | |
14489 | { | |
14490 | if (temp4) | |
14491 | delete arg4; | |
14492 | } | |
14493 | { | |
14494 | if (temp5) | |
14495 | delete arg5; | |
14496 | } | |
14497 | return NULL; | |
14498 | } | |
14499 | ||
14500 | ||
c32bde28 | 14501 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14502 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14503 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14504 | wxString *arg2 = 0 ; | |
ae8162c8 | 14505 | bool temp2 = false ; |
d14a1e28 RD |
14506 | PyObject * obj0 = 0 ; |
14507 | PyObject * obj1 = 0 ; | |
14508 | char *kwnames[] = { | |
14509 | (char *) "self",(char *) "message", NULL | |
14510 | }; | |
14511 | ||
14512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14513 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14514 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14515 | { |
14516 | arg2 = wxString_in_helper(obj1); | |
14517 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14518 | temp2 = true; |
d14a1e28 RD |
14519 | } |
14520 | { | |
14521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14522 | (arg1)->SetMessage((wxString const &)*arg2); | |
14523 | ||
14524 | wxPyEndAllowThreads(__tstate); | |
14525 | if (PyErr_Occurred()) SWIG_fail; | |
14526 | } | |
14527 | Py_INCREF(Py_None); resultobj = Py_None; | |
14528 | { | |
14529 | if (temp2) | |
14530 | delete arg2; | |
14531 | } | |
14532 | return resultobj; | |
14533 | fail: | |
14534 | { | |
14535 | if (temp2) | |
14536 | delete arg2; | |
14537 | } | |
14538 | return NULL; | |
14539 | } | |
14540 | ||
14541 | ||
c32bde28 | 14542 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14543 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14544 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14545 | wxString *arg2 = 0 ; | |
ae8162c8 | 14546 | bool temp2 = false ; |
d14a1e28 RD |
14547 | PyObject * obj0 = 0 ; |
14548 | PyObject * obj1 = 0 ; | |
14549 | char *kwnames[] = { | |
14550 | (char *) "self",(char *) "path", NULL | |
14551 | }; | |
14552 | ||
14553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14554 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14555 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14556 | { |
14557 | arg2 = wxString_in_helper(obj1); | |
14558 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14559 | temp2 = true; |
d14a1e28 RD |
14560 | } |
14561 | { | |
14562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14563 | (arg1)->SetPath((wxString const &)*arg2); | |
14564 | ||
14565 | wxPyEndAllowThreads(__tstate); | |
14566 | if (PyErr_Occurred()) SWIG_fail; | |
14567 | } | |
14568 | Py_INCREF(Py_None); resultobj = Py_None; | |
14569 | { | |
14570 | if (temp2) | |
14571 | delete arg2; | |
14572 | } | |
14573 | return resultobj; | |
14574 | fail: | |
14575 | { | |
14576 | if (temp2) | |
14577 | delete arg2; | |
14578 | } | |
14579 | return NULL; | |
14580 | } | |
14581 | ||
14582 | ||
c32bde28 | 14583 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14584 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14585 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14586 | wxString *arg2 = 0 ; | |
ae8162c8 | 14587 | bool temp2 = false ; |
d14a1e28 RD |
14588 | PyObject * obj0 = 0 ; |
14589 | PyObject * obj1 = 0 ; | |
14590 | char *kwnames[] = { | |
14591 | (char *) "self",(char *) "dir", NULL | |
14592 | }; | |
14593 | ||
14594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14595 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14596 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14597 | { |
14598 | arg2 = wxString_in_helper(obj1); | |
14599 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14600 | temp2 = true; |
d14a1e28 RD |
14601 | } |
14602 | { | |
14603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14604 | (arg1)->SetDirectory((wxString const &)*arg2); | |
14605 | ||
14606 | wxPyEndAllowThreads(__tstate); | |
14607 | if (PyErr_Occurred()) SWIG_fail; | |
14608 | } | |
14609 | Py_INCREF(Py_None); resultobj = Py_None; | |
14610 | { | |
14611 | if (temp2) | |
14612 | delete arg2; | |
14613 | } | |
14614 | return resultobj; | |
14615 | fail: | |
14616 | { | |
14617 | if (temp2) | |
14618 | delete arg2; | |
14619 | } | |
14620 | return NULL; | |
14621 | } | |
14622 | ||
14623 | ||
c32bde28 | 14624 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14625 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14626 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14627 | wxString *arg2 = 0 ; | |
ae8162c8 | 14628 | bool temp2 = false ; |
d14a1e28 RD |
14629 | PyObject * obj0 = 0 ; |
14630 | PyObject * obj1 = 0 ; | |
14631 | char *kwnames[] = { | |
14632 | (char *) "self",(char *) "name", NULL | |
14633 | }; | |
14634 | ||
14635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14636 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14637 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14638 | { |
14639 | arg2 = wxString_in_helper(obj1); | |
14640 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14641 | temp2 = true; |
d14a1e28 RD |
14642 | } |
14643 | { | |
14644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14645 | (arg1)->SetFilename((wxString const &)*arg2); | |
14646 | ||
14647 | wxPyEndAllowThreads(__tstate); | |
14648 | if (PyErr_Occurred()) SWIG_fail; | |
14649 | } | |
14650 | Py_INCREF(Py_None); resultobj = Py_None; | |
14651 | { | |
14652 | if (temp2) | |
14653 | delete arg2; | |
14654 | } | |
14655 | return resultobj; | |
14656 | fail: | |
14657 | { | |
14658 | if (temp2) | |
14659 | delete arg2; | |
14660 | } | |
14661 | return NULL; | |
14662 | } | |
14663 | ||
14664 | ||
c32bde28 | 14665 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14666 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14667 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14668 | wxString *arg2 = 0 ; | |
ae8162c8 | 14669 | bool temp2 = false ; |
d14a1e28 RD |
14670 | PyObject * obj0 = 0 ; |
14671 | PyObject * obj1 = 0 ; | |
14672 | char *kwnames[] = { | |
14673 | (char *) "self",(char *) "wildCard", NULL | |
14674 | }; | |
14675 | ||
14676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14677 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14678 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14679 | { |
14680 | arg2 = wxString_in_helper(obj1); | |
14681 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14682 | temp2 = true; |
d14a1e28 RD |
14683 | } |
14684 | { | |
14685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14686 | (arg1)->SetWildcard((wxString const &)*arg2); | |
14687 | ||
14688 | wxPyEndAllowThreads(__tstate); | |
14689 | if (PyErr_Occurred()) SWIG_fail; | |
14690 | } | |
14691 | Py_INCREF(Py_None); resultobj = Py_None; | |
14692 | { | |
14693 | if (temp2) | |
14694 | delete arg2; | |
14695 | } | |
14696 | return resultobj; | |
14697 | fail: | |
14698 | { | |
14699 | if (temp2) | |
14700 | delete arg2; | |
14701 | } | |
14702 | return NULL; | |
14703 | } | |
14704 | ||
14705 | ||
c32bde28 | 14706 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14707 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14708 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14709 | long arg2 ; | |
14710 | PyObject * obj0 = 0 ; | |
994141e6 | 14711 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14712 | char *kwnames[] = { |
14713 | (char *) "self",(char *) "style", NULL | |
14714 | }; | |
14715 | ||
994141e6 | 14716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
14717 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14718 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14719 | { | |
32fe5131 | 14720 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
14721 | if (SWIG_arg_fail(2)) SWIG_fail; |
14722 | } | |
d14a1e28 RD |
14723 | { |
14724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14725 | (arg1)->SetStyle(arg2); | |
14726 | ||
14727 | wxPyEndAllowThreads(__tstate); | |
14728 | if (PyErr_Occurred()) SWIG_fail; | |
14729 | } | |
14730 | Py_INCREF(Py_None); resultobj = Py_None; | |
14731 | return resultobj; | |
14732 | fail: | |
14733 | return NULL; | |
14734 | } | |
14735 | ||
14736 | ||
c32bde28 | 14737 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14738 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14739 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14740 | int arg2 ; | |
14741 | PyObject * obj0 = 0 ; | |
994141e6 | 14742 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14743 | char *kwnames[] = { |
14744 | (char *) "self",(char *) "filterIndex", NULL | |
14745 | }; | |
14746 | ||
994141e6 | 14747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
14748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14750 | { | |
32fe5131 | 14751 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
14752 | if (SWIG_arg_fail(2)) SWIG_fail; |
14753 | } | |
d14a1e28 RD |
14754 | { |
14755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14756 | (arg1)->SetFilterIndex(arg2); | |
14757 | ||
14758 | wxPyEndAllowThreads(__tstate); | |
14759 | if (PyErr_Occurred()) SWIG_fail; | |
14760 | } | |
14761 | Py_INCREF(Py_None); resultobj = Py_None; | |
14762 | return resultobj; | |
14763 | fail: | |
14764 | return NULL; | |
14765 | } | |
14766 | ||
14767 | ||
c32bde28 | 14768 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14769 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14770 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14771 | wxString result; | |
14772 | PyObject * obj0 = 0 ; | |
14773 | char *kwnames[] = { | |
14774 | (char *) "self", NULL | |
14775 | }; | |
14776 | ||
14777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14778 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14779 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14780 | { |
14781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14782 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
14783 | ||
14784 | wxPyEndAllowThreads(__tstate); | |
14785 | if (PyErr_Occurred()) SWIG_fail; | |
14786 | } | |
14787 | { | |
14788 | #if wxUSE_UNICODE | |
14789 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14790 | #else | |
14791 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14792 | #endif | |
14793 | } | |
14794 | return resultobj; | |
14795 | fail: | |
14796 | return NULL; | |
14797 | } | |
14798 | ||
14799 | ||
c32bde28 | 14800 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14801 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14802 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14803 | wxString result; | |
14804 | PyObject * obj0 = 0 ; | |
14805 | char *kwnames[] = { | |
14806 | (char *) "self", NULL | |
14807 | }; | |
14808 | ||
14809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14810 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14811 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14812 | { |
14813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14814 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
14815 | ||
14816 | wxPyEndAllowThreads(__tstate); | |
14817 | if (PyErr_Occurred()) SWIG_fail; | |
14818 | } | |
14819 | { | |
14820 | #if wxUSE_UNICODE | |
14821 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14822 | #else | |
14823 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14824 | #endif | |
14825 | } | |
14826 | return resultobj; | |
14827 | fail: | |
14828 | return NULL; | |
14829 | } | |
14830 | ||
14831 | ||
c32bde28 | 14832 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14833 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14834 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14835 | wxString result; | |
14836 | PyObject * obj0 = 0 ; | |
14837 | char *kwnames[] = { | |
14838 | (char *) "self", NULL | |
14839 | }; | |
14840 | ||
14841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14842 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14843 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14844 | { |
14845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14846 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
14847 | ||
14848 | wxPyEndAllowThreads(__tstate); | |
14849 | if (PyErr_Occurred()) SWIG_fail; | |
14850 | } | |
14851 | { | |
14852 | #if wxUSE_UNICODE | |
14853 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14854 | #else | |
14855 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14856 | #endif | |
14857 | } | |
14858 | return resultobj; | |
14859 | fail: | |
14860 | return NULL; | |
14861 | } | |
14862 | ||
14863 | ||
c32bde28 | 14864 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14865 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14866 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14867 | wxString result; | |
14868 | PyObject * obj0 = 0 ; | |
14869 | char *kwnames[] = { | |
14870 | (char *) "self", NULL | |
14871 | }; | |
14872 | ||
14873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14874 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14875 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14876 | { |
14877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14878 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
14879 | ||
14880 | wxPyEndAllowThreads(__tstate); | |
14881 | if (PyErr_Occurred()) SWIG_fail; | |
14882 | } | |
14883 | { | |
14884 | #if wxUSE_UNICODE | |
14885 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14886 | #else | |
14887 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14888 | #endif | |
14889 | } | |
14890 | return resultobj; | |
14891 | fail: | |
14892 | return NULL; | |
14893 | } | |
14894 | ||
14895 | ||
c32bde28 | 14896 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14897 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14898 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14899 | wxString result; | |
14900 | PyObject * obj0 = 0 ; | |
14901 | char *kwnames[] = { | |
14902 | (char *) "self", NULL | |
14903 | }; | |
14904 | ||
14905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14908 | { |
14909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14910 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
14911 | ||
14912 | wxPyEndAllowThreads(__tstate); | |
14913 | if (PyErr_Occurred()) SWIG_fail; | |
14914 | } | |
14915 | { | |
14916 | #if wxUSE_UNICODE | |
14917 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14918 | #else | |
14919 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14920 | #endif | |
14921 | } | |
14922 | return resultobj; | |
14923 | fail: | |
14924 | return NULL; | |
14925 | } | |
14926 | ||
14927 | ||
c32bde28 | 14928 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14929 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14930 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14931 | long result; | |
14932 | PyObject * obj0 = 0 ; | |
14933 | char *kwnames[] = { | |
14934 | (char *) "self", NULL | |
14935 | }; | |
14936 | ||
14937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14938 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14939 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14940 | { |
14941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14942 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
14943 | ||
14944 | wxPyEndAllowThreads(__tstate); | |
14945 | if (PyErr_Occurred()) SWIG_fail; | |
14946 | } | |
093d3ff1 | 14947 | { |
32fe5131 | 14948 | resultobj = SWIG_From_long(static_cast<long >(result)); |
093d3ff1 | 14949 | } |
d14a1e28 RD |
14950 | return resultobj; |
14951 | fail: | |
14952 | return NULL; | |
14953 | } | |
14954 | ||
14955 | ||
c32bde28 | 14956 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14957 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14958 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14959 | int result; | |
14960 | PyObject * obj0 = 0 ; | |
14961 | char *kwnames[] = { | |
14962 | (char *) "self", NULL | |
14963 | }; | |
14964 | ||
14965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14966 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14967 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14968 | { |
14969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14970 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
14971 | ||
14972 | wxPyEndAllowThreads(__tstate); | |
14973 | if (PyErr_Occurred()) SWIG_fail; | |
14974 | } | |
093d3ff1 | 14975 | { |
32fe5131 | 14976 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 14977 | } |
d14a1e28 RD |
14978 | return resultobj; |
14979 | fail: | |
14980 | return NULL; | |
14981 | } | |
14982 | ||
14983 | ||
c32bde28 | 14984 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14985 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14986 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14987 | PyObject *result; | |
14988 | PyObject * obj0 = 0 ; | |
14989 | char *kwnames[] = { | |
14990 | (char *) "self", NULL | |
14991 | }; | |
14992 | ||
14993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14994 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14995 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14996 | { |
14997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14998 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
14999 | ||
15000 | wxPyEndAllowThreads(__tstate); | |
15001 | if (PyErr_Occurred()) SWIG_fail; | |
15002 | } | |
15003 | resultobj = result; | |
15004 | return resultobj; | |
15005 | fail: | |
15006 | return NULL; | |
15007 | } | |
15008 | ||
15009 | ||
c32bde28 | 15010 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15011 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15012 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
15013 | PyObject *result; | |
15014 | PyObject * obj0 = 0 ; | |
15015 | char *kwnames[] = { | |
15016 | (char *) "self", NULL | |
15017 | }; | |
15018 | ||
15019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15020 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
15021 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15022 | { |
15023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15024 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
15025 | ||
15026 | wxPyEndAllowThreads(__tstate); | |
15027 | if (PyErr_Occurred()) SWIG_fail; | |
15028 | } | |
15029 | resultobj = result; | |
15030 | return resultobj; | |
15031 | fail: | |
15032 | return NULL; | |
15033 | } | |
15034 | ||
15035 | ||
c32bde28 | 15036 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15037 | PyObject *obj; |
15038 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15039 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
15040 | Py_INCREF(obj); | |
15041 | return Py_BuildValue((char *)""); | |
15042 | } | |
c32bde28 | 15043 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15044 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15045 | wxWindow *arg1 = (wxWindow *) 0 ; |
15046 | wxString *arg2 = 0 ; | |
15047 | wxString *arg3 = 0 ; | |
4d5c3d91 | 15048 | int arg4 = (int) 0 ; |
248ed943 | 15049 | wxString *arg5 = (wxString *) NULL ; |
d14a1e28 RD |
15050 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
15051 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
15052 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
15053 | wxMultiChoiceDialog *result; | |
ae8162c8 RD |
15054 | bool temp2 = false ; |
15055 | bool temp3 = false ; | |
093d3ff1 | 15056 | wxPoint temp7 ; |
d14a1e28 RD |
15057 | PyObject * obj0 = 0 ; |
15058 | PyObject * obj1 = 0 ; | |
15059 | PyObject * obj2 = 0 ; | |
994141e6 | 15060 | PyObject * obj3 = 0 ; |
d14a1e28 | 15061 | PyObject * obj4 = 0 ; |
994141e6 | 15062 | PyObject * obj5 = 0 ; |
d14a1e28 | 15063 | char *kwnames[] = { |
4d5c3d91 | 15064 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
15065 | }; |
15066 | ||
4d5c3d91 | 15067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
15068 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15069 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15070 | { |
15071 | arg2 = wxString_in_helper(obj1); | |
15072 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 15073 | temp2 = true; |
d14a1e28 RD |
15074 | } |
15075 | { | |
15076 | arg3 = wxString_in_helper(obj2); | |
15077 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 15078 | temp3 = true; |
d14a1e28 | 15079 | } |
4d5c3d91 RD |
15080 | if (obj3) { |
15081 | { | |
15082 | arg4 = PyList_Size(obj3); | |
15083 | arg5 = wxString_LIST_helper(obj3); | |
15084 | if (arg5 == NULL) SWIG_fail; | |
15085 | } | |
7eae615b | 15086 | } |
4d5c3d91 | 15087 | if (obj4) { |
093d3ff1 | 15088 | { |
32fe5131 | 15089 | arg6 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
15090 | if (SWIG_arg_fail(6)) SWIG_fail; |
15091 | } | |
994141e6 | 15092 | } |
4d5c3d91 | 15093 | if (obj5) { |
d14a1e28 | 15094 | { |
093d3ff1 | 15095 | arg7 = &temp7; |
4d5c3d91 | 15096 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
d14a1e28 RD |
15097 | } |
15098 | } | |
15099 | { | |
e3b71cb8 | 15100 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15102 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
15103 | ||
15104 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15105 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15106 | } |
15afbcd0 | 15107 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
15108 | { |
15109 | if (temp2) | |
15110 | delete arg2; | |
15111 | } | |
15112 | { | |
15113 | if (temp3) | |
15114 | delete arg3; | |
15115 | } | |
7eae615b | 15116 | { |
4d5c3d91 | 15117 | if (arg5) delete [] arg5; |
7eae615b | 15118 | } |
d14a1e28 RD |
15119 | return resultobj; |
15120 | fail: | |
15121 | { | |
15122 | if (temp2) | |
15123 | delete arg2; | |
15124 | } | |
15125 | { | |
15126 | if (temp3) | |
15127 | delete arg3; | |
15128 | } | |
7eae615b | 15129 | { |
4d5c3d91 | 15130 | if (arg5) delete [] arg5; |
7eae615b | 15131 | } |
d14a1e28 RD |
15132 | return NULL; |
15133 | } | |
15134 | ||
15135 | ||
c32bde28 | 15136 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15137 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15138 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; |
15139 | wxArrayInt *arg2 = 0 ; | |
ae8162c8 | 15140 | bool temp2 = false ; |
d14a1e28 RD |
15141 | PyObject * obj0 = 0 ; |
15142 | PyObject * obj1 = 0 ; | |
15143 | char *kwnames[] = { | |
15144 | (char *) "self",(char *) "selections", NULL | |
15145 | }; | |
15146 | ||
15147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15148 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
15149 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15150 | { |
15151 | if (! PySequence_Check(obj1)) { | |
15152 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
15153 | SWIG_fail; | |
15154 | } | |
15155 | arg2 = new wxArrayInt; | |
ae8162c8 | 15156 | temp2 = true; |
d14a1e28 RD |
15157 | int i, len=PySequence_Length(obj1); |
15158 | for (i=0; i<len; i++) { | |
15159 | PyObject* item = PySequence_GetItem(obj1, i); | |
15160 | PyObject* number = PyNumber_Int(item); | |
15161 | arg2->Add(PyInt_AS_LONG(number)); | |
15162 | Py_DECREF(item); | |
15163 | Py_DECREF(number); | |
15164 | } | |
15165 | } | |
15166 | { | |
15167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15168 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
15169 | ||
15170 | wxPyEndAllowThreads(__tstate); | |
15171 | if (PyErr_Occurred()) SWIG_fail; | |
15172 | } | |
15173 | Py_INCREF(Py_None); resultobj = Py_None; | |
15174 | { | |
3adfb63b | 15175 | if (temp2) delete arg2; |
d14a1e28 RD |
15176 | } |
15177 | return resultobj; | |
15178 | fail: | |
15179 | { | |
3adfb63b | 15180 | if (temp2) delete arg2; |
d14a1e28 RD |
15181 | } |
15182 | return NULL; | |
15183 | } | |
15184 | ||
15185 | ||
c32bde28 | 15186 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15187 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15188 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; |
15189 | PyObject *result; | |
15190 | PyObject * obj0 = 0 ; | |
15191 | char *kwnames[] = { | |
15192 | (char *) "self", NULL | |
15193 | }; | |
15194 | ||
15195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
15197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15198 | { |
15199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15200 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
15201 | ||
15202 | wxPyEndAllowThreads(__tstate); | |
15203 | if (PyErr_Occurred()) SWIG_fail; | |
15204 | } | |
15205 | resultobj = result; | |
15206 | return resultobj; | |
15207 | fail: | |
15208 | return NULL; | |
15209 | } | |
15210 | ||
15211 | ||
c32bde28 | 15212 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15213 | PyObject *obj; |
15214 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15215 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
15216 | Py_INCREF(obj); | |
15217 | return Py_BuildValue((char *)""); | |
15218 | } | |
c32bde28 | 15219 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15220 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15221 | wxWindow *arg1 = (wxWindow *) 0 ; |
15222 | wxString *arg2 = 0 ; | |
15223 | wxString *arg3 = 0 ; | |
15224 | int arg4 ; | |
15225 | wxString *arg5 = (wxString *) 0 ; | |
15226 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
15227 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
15228 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
15229 | wxSingleChoiceDialog *result; | |
ae8162c8 RD |
15230 | bool temp2 = false ; |
15231 | bool temp3 = false ; | |
093d3ff1 | 15232 | wxPoint temp7 ; |
d14a1e28 RD |
15233 | PyObject * obj0 = 0 ; |
15234 | PyObject * obj1 = 0 ; | |
15235 | PyObject * obj2 = 0 ; | |
15236 | PyObject * obj3 = 0 ; | |
994141e6 | 15237 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15238 | PyObject * obj5 = 0 ; |
15239 | char *kwnames[] = { | |
15240 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
15241 | }; | |
15242 | ||
994141e6 | 15243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
15244 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15245 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15246 | { |
15247 | arg2 = wxString_in_helper(obj1); | |
15248 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 15249 | temp2 = true; |
d14a1e28 RD |
15250 | } |
15251 | { | |
15252 | arg3 = wxString_in_helper(obj2); | |
15253 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 15254 | temp3 = true; |
d14a1e28 RD |
15255 | } |
15256 | { | |
15257 | arg4 = PyList_Size(obj3); | |
15258 | arg5 = wxString_LIST_helper(obj3); | |
15259 | if (arg5 == NULL) SWIG_fail; | |
15260 | } | |
994141e6 | 15261 | if (obj4) { |
093d3ff1 | 15262 | { |
32fe5131 | 15263 | arg6 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
15264 | if (SWIG_arg_fail(6)) SWIG_fail; |
15265 | } | |
994141e6 | 15266 | } |
d14a1e28 RD |
15267 | if (obj5) { |
15268 | { | |
093d3ff1 | 15269 | arg7 = &temp7; |
d14a1e28 RD |
15270 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
15271 | } | |
15272 | } | |
15273 | { | |
e3b71cb8 | 15274 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15276 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
15277 | ||
15278 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15279 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15280 | } |
15afbcd0 | 15281 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
15282 | { |
15283 | if (temp2) | |
15284 | delete arg2; | |
15285 | } | |
15286 | { | |
15287 | if (temp3) | |
15288 | delete arg3; | |
15289 | } | |
15290 | { | |
15291 | if (arg5) delete [] arg5; | |
15292 | } | |
15293 | return resultobj; | |
15294 | fail: | |
15295 | { | |
15296 | if (temp2) | |
15297 | delete arg2; | |
15298 | } | |
15299 | { | |
15300 | if (temp3) | |
15301 | delete arg3; | |
15302 | } | |
15303 | { | |
15304 | if (arg5) delete [] arg5; | |
15305 | } | |
15306 | return NULL; | |
15307 | } | |
15308 | ||
15309 | ||
c32bde28 | 15310 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15311 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15312 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; |
15313 | int result; | |
15314 | PyObject * obj0 = 0 ; | |
15315 | char *kwnames[] = { | |
15316 | (char *) "self", NULL | |
15317 | }; | |
15318 | ||
15319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
15321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15322 | { |
15323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15324 | result = (int)(arg1)->GetSelection(); | |
15325 | ||
15326 | wxPyEndAllowThreads(__tstate); | |
15327 | if (PyErr_Occurred()) SWIG_fail; | |
15328 | } | |
093d3ff1 | 15329 | { |
32fe5131 | 15330 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 15331 | } |
d14a1e28 RD |
15332 | return resultobj; |
15333 | fail: | |
15334 | return NULL; | |
15335 | } | |
15336 | ||
15337 | ||
c32bde28 | 15338 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15339 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15340 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; |
15341 | wxString result; | |
15342 | PyObject * obj0 = 0 ; | |
15343 | char *kwnames[] = { | |
15344 | (char *) "self", NULL | |
15345 | }; | |
15346 | ||
15347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15348 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
15349 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15350 | { |
15351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15352 | result = (arg1)->GetStringSelection(); | |
15353 | ||
15354 | wxPyEndAllowThreads(__tstate); | |
15355 | if (PyErr_Occurred()) SWIG_fail; | |
15356 | } | |
15357 | { | |
15358 | #if wxUSE_UNICODE | |
15359 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15360 | #else | |
15361 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15362 | #endif | |
15363 | } | |
15364 | return resultobj; | |
15365 | fail: | |
15366 | return NULL; | |
15367 | } | |
15368 | ||
15369 | ||
c32bde28 | 15370 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15371 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15372 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; |
15373 | int arg2 ; | |
15374 | PyObject * obj0 = 0 ; | |
994141e6 | 15375 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15376 | char *kwnames[] = { |
15377 | (char *) "self",(char *) "sel", NULL | |
15378 | }; | |
15379 | ||
994141e6 | 15380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
15381 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
15382 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15383 | { | |
32fe5131 | 15384 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
15385 | if (SWIG_arg_fail(2)) SWIG_fail; |
15386 | } | |
d14a1e28 RD |
15387 | { |
15388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15389 | (arg1)->SetSelection(arg2); | |
15390 | ||
15391 | wxPyEndAllowThreads(__tstate); | |
15392 | if (PyErr_Occurred()) SWIG_fail; | |
15393 | } | |
15394 | Py_INCREF(Py_None); resultobj = Py_None; | |
15395 | return resultobj; | |
15396 | fail: | |
15397 | return NULL; | |
15398 | } | |
15399 | ||
15400 | ||
c32bde28 | 15401 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15402 | PyObject *obj; |
15403 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15404 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
15405 | Py_INCREF(obj); | |
15406 | return Py_BuildValue((char *)""); | |
15407 | } | |
c32bde28 | 15408 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15409 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15410 | wxWindow *arg1 = (wxWindow *) 0 ; |
15411 | wxString *arg2 = 0 ; | |
15412 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
15413 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15414 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15415 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d3b6e4ff | 15416 | long arg5 = (long) wxTextEntryDialogStyle ; |
d14a1e28 RD |
15417 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
15418 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
15419 | wxTextEntryDialog *result; | |
ae8162c8 RD |
15420 | bool temp2 = false ; |
15421 | bool temp3 = false ; | |
15422 | bool temp4 = false ; | |
d14a1e28 RD |
15423 | wxPoint temp6 ; |
15424 | PyObject * obj0 = 0 ; | |
15425 | PyObject * obj1 = 0 ; | |
15426 | PyObject * obj2 = 0 ; | |
15427 | PyObject * obj3 = 0 ; | |
994141e6 | 15428 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15429 | PyObject * obj5 = 0 ; |
15430 | char *kwnames[] = { | |
15431 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
15432 | }; | |
15433 | ||
994141e6 | 15434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
15435 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15436 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15437 | { |
15438 | arg2 = wxString_in_helper(obj1); | |
15439 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 15440 | temp2 = true; |
d14a1e28 RD |
15441 | } |
15442 | if (obj2) { | |
15443 | { | |
15444 | arg3 = wxString_in_helper(obj2); | |
15445 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 15446 | temp3 = true; |
d14a1e28 RD |
15447 | } |
15448 | } | |
15449 | if (obj3) { | |
15450 | { | |
15451 | arg4 = wxString_in_helper(obj3); | |
15452 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 15453 | temp4 = true; |
d14a1e28 RD |
15454 | } |
15455 | } | |
994141e6 | 15456 | if (obj4) { |
093d3ff1 | 15457 | { |
32fe5131 | 15458 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
15459 | if (SWIG_arg_fail(5)) SWIG_fail; |
15460 | } | |
994141e6 | 15461 | } |
d14a1e28 RD |
15462 | if (obj5) { |
15463 | { | |
15464 | arg6 = &temp6; | |
15465 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
15466 | } | |
15467 | } | |
15468 | { | |
e3b71cb8 | 15469 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15471 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
15472 | ||
15473 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15474 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15475 | } |
15afbcd0 | 15476 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
15477 | { |
15478 | if (temp2) | |
15479 | delete arg2; | |
15480 | } | |
15481 | { | |
15482 | if (temp3) | |
15483 | delete arg3; | |
15484 | } | |
15485 | { | |
15486 | if (temp4) | |
15487 | delete arg4; | |
15488 | } | |
15489 | return resultobj; | |
15490 | fail: | |
15491 | { | |
15492 | if (temp2) | |
15493 | delete arg2; | |
15494 | } | |
15495 | { | |
15496 | if (temp3) | |
15497 | delete arg3; | |
15498 | } | |
15499 | { | |
15500 | if (temp4) | |
15501 | delete arg4; | |
15502 | } | |
15503 | return NULL; | |
15504 | } | |
15505 | ||
15506 | ||
c32bde28 | 15507 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15508 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15509 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; |
15510 | wxString result; | |
15511 | PyObject * obj0 = 0 ; | |
15512 | char *kwnames[] = { | |
15513 | (char *) "self", NULL | |
15514 | }; | |
15515 | ||
15516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15517 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
15518 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15519 | { |
15520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15521 | result = (arg1)->GetValue(); | |
15522 | ||
15523 | wxPyEndAllowThreads(__tstate); | |
15524 | if (PyErr_Occurred()) SWIG_fail; | |
15525 | } | |
15526 | { | |
15527 | #if wxUSE_UNICODE | |
15528 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15529 | #else | |
15530 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15531 | #endif | |
15532 | } | |
15533 | return resultobj; | |
15534 | fail: | |
15535 | return NULL; | |
15536 | } | |
15537 | ||
15538 | ||
c32bde28 | 15539 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15540 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15541 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; |
15542 | wxString *arg2 = 0 ; | |
ae8162c8 | 15543 | bool temp2 = false ; |
d14a1e28 RD |
15544 | PyObject * obj0 = 0 ; |
15545 | PyObject * obj1 = 0 ; | |
15546 | char *kwnames[] = { | |
15547 | (char *) "self",(char *) "value", NULL | |
15548 | }; | |
15549 | ||
15550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15551 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
15552 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15553 | { |
15554 | arg2 = wxString_in_helper(obj1); | |
15555 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 15556 | temp2 = true; |
d14a1e28 RD |
15557 | } |
15558 | { | |
15559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15560 | (arg1)->SetValue((wxString const &)*arg2); | |
15561 | ||
15562 | wxPyEndAllowThreads(__tstate); | |
15563 | if (PyErr_Occurred()) SWIG_fail; | |
15564 | } | |
15565 | Py_INCREF(Py_None); resultobj = Py_None; | |
15566 | { | |
15567 | if (temp2) | |
15568 | delete arg2; | |
15569 | } | |
15570 | return resultobj; | |
15571 | fail: | |
15572 | { | |
15573 | if (temp2) | |
15574 | delete arg2; | |
15575 | } | |
15576 | return NULL; | |
15577 | } | |
15578 | ||
15579 | ||
c32bde28 | 15580 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15581 | PyObject *obj; |
15582 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15583 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
15584 | Py_INCREF(obj); | |
15585 | return Py_BuildValue((char *)""); | |
15586 | } | |
d3b6e4ff RD |
15587 | static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) { |
15588 | PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only."); | |
15589 | return 1; | |
15590 | } | |
15591 | ||
15592 | ||
093d3ff1 | 15593 | static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) { |
32fe5131 | 15594 | PyObject *pyobj = NULL; |
d3b6e4ff RD |
15595 | |
15596 | { | |
15597 | #if wxUSE_UNICODE | |
15598 | pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
15599 | #else | |
15600 | pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
15601 | #endif | |
15602 | } | |
15603 | return pyobj; | |
15604 | } | |
15605 | ||
15606 | ||
15607 | static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15608 | PyObject *resultobj = NULL; |
d3b6e4ff RD |
15609 | wxWindow *arg1 = (wxWindow *) 0 ; |
15610 | wxString *arg2 = 0 ; | |
15611 | wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ; | |
15612 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15613 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15614 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15615 | long arg5 = (long) wxTextEntryDialogStyle ; | |
15616 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
15617 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
15618 | wxPasswordEntryDialog *result; | |
15619 | bool temp2 = false ; | |
15620 | bool temp3 = false ; | |
15621 | bool temp4 = false ; | |
15622 | wxPoint temp6 ; | |
15623 | PyObject * obj0 = 0 ; | |
15624 | PyObject * obj1 = 0 ; | |
15625 | PyObject * obj2 = 0 ; | |
15626 | PyObject * obj3 = 0 ; | |
15627 | PyObject * obj4 = 0 ; | |
15628 | PyObject * obj5 = 0 ; | |
15629 | char *kwnames[] = { | |
15630 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL | |
15631 | }; | |
15632 | ||
15633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
15634 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15635 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d3b6e4ff RD |
15636 | { |
15637 | arg2 = wxString_in_helper(obj1); | |
15638 | if (arg2 == NULL) SWIG_fail; | |
15639 | temp2 = true; | |
15640 | } | |
15641 | if (obj2) { | |
15642 | { | |
15643 | arg3 = wxString_in_helper(obj2); | |
15644 | if (arg3 == NULL) SWIG_fail; | |
15645 | temp3 = true; | |
15646 | } | |
15647 | } | |
15648 | if (obj3) { | |
15649 | { | |
15650 | arg4 = wxString_in_helper(obj3); | |
15651 | if (arg4 == NULL) SWIG_fail; | |
15652 | temp4 = true; | |
15653 | } | |
15654 | } | |
15655 | if (obj4) { | |
093d3ff1 | 15656 | { |
32fe5131 | 15657 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
15658 | if (SWIG_arg_fail(5)) SWIG_fail; |
15659 | } | |
d3b6e4ff RD |
15660 | } |
15661 | if (obj5) { | |
15662 | { | |
15663 | arg6 = &temp6; | |
15664 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
15665 | } | |
15666 | } | |
15667 | { | |
15668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15669 | result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
15670 | ||
15671 | wxPyEndAllowThreads(__tstate); | |
15672 | if (PyErr_Occurred()) SWIG_fail; | |
15673 | } | |
15674 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1); | |
15675 | { | |
15676 | if (temp2) | |
15677 | delete arg2; | |
15678 | } | |
15679 | { | |
15680 | if (temp3) | |
15681 | delete arg3; | |
15682 | } | |
15683 | { | |
15684 | if (temp4) | |
15685 | delete arg4; | |
15686 | } | |
15687 | return resultobj; | |
15688 | fail: | |
15689 | { | |
15690 | if (temp2) | |
15691 | delete arg2; | |
15692 | } | |
15693 | { | |
15694 | if (temp3) | |
15695 | delete arg3; | |
15696 | } | |
15697 | { | |
15698 | if (temp4) | |
15699 | delete arg4; | |
15700 | } | |
15701 | return NULL; | |
15702 | } | |
15703 | ||
15704 | ||
15705 | static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) { | |
15706 | PyObject *obj; | |
15707 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15708 | SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj); | |
15709 | Py_INCREF(obj); | |
15710 | return Py_BuildValue((char *)""); | |
15711 | } | |
c32bde28 | 15712 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15713 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15714 | wxFontData *result; |
15715 | char *kwnames[] = { | |
15716 | NULL | |
15717 | }; | |
15718 | ||
15719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
15720 | { | |
15721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15722 | result = (wxFontData *)new wxFontData(); | |
15723 | ||
15724 | wxPyEndAllowThreads(__tstate); | |
15725 | if (PyErr_Occurred()) SWIG_fail; | |
15726 | } | |
15afbcd0 | 15727 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
15728 | return resultobj; |
15729 | fail: | |
15730 | return NULL; | |
15731 | } | |
15732 | ||
15733 | ||
c32bde28 | 15734 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15735 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15736 | wxFontData *arg1 = (wxFontData *) 0 ; |
15737 | PyObject * obj0 = 0 ; | |
15738 | char *kwnames[] = { | |
15739 | (char *) "self", NULL | |
15740 | }; | |
15741 | ||
15742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15743 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15744 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15745 | { |
15746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15747 | delete arg1; | |
15748 | ||
15749 | wxPyEndAllowThreads(__tstate); | |
15750 | if (PyErr_Occurred()) SWIG_fail; | |
15751 | } | |
15752 | Py_INCREF(Py_None); resultobj = Py_None; | |
15753 | return resultobj; | |
15754 | fail: | |
15755 | return NULL; | |
15756 | } | |
15757 | ||
15758 | ||
c32bde28 | 15759 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15760 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15761 | wxFontData *arg1 = (wxFontData *) 0 ; |
15762 | bool arg2 ; | |
15763 | PyObject * obj0 = 0 ; | |
15764 | PyObject * obj1 = 0 ; | |
15765 | char *kwnames[] = { | |
15766 | (char *) "self",(char *) "enable", NULL | |
15767 | }; | |
15768 | ||
15769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15770 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15771 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15772 | { | |
32fe5131 | 15773 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
15774 | if (SWIG_arg_fail(2)) SWIG_fail; |
15775 | } | |
d14a1e28 RD |
15776 | { |
15777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15778 | (arg1)->EnableEffects(arg2); | |
15779 | ||
15780 | wxPyEndAllowThreads(__tstate); | |
15781 | if (PyErr_Occurred()) SWIG_fail; | |
15782 | } | |
15783 | Py_INCREF(Py_None); resultobj = Py_None; | |
15784 | return resultobj; | |
15785 | fail: | |
15786 | return NULL; | |
15787 | } | |
15788 | ||
15789 | ||
c32bde28 | 15790 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15791 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15792 | wxFontData *arg1 = (wxFontData *) 0 ; |
15793 | bool result; | |
15794 | PyObject * obj0 = 0 ; | |
15795 | char *kwnames[] = { | |
15796 | (char *) "self", NULL | |
15797 | }; | |
15798 | ||
15799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15800 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15801 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15802 | { |
15803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15804 | result = (bool)(arg1)->GetAllowSymbols(); | |
15805 | ||
15806 | wxPyEndAllowThreads(__tstate); | |
15807 | if (PyErr_Occurred()) SWIG_fail; | |
15808 | } | |
4f89f6a3 RD |
15809 | { |
15810 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15811 | } | |
d14a1e28 RD |
15812 | return resultobj; |
15813 | fail: | |
15814 | return NULL; | |
15815 | } | |
15816 | ||
15817 | ||
c32bde28 | 15818 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15819 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15820 | wxFontData *arg1 = (wxFontData *) 0 ; |
15821 | wxColour result; | |
15822 | PyObject * obj0 = 0 ; | |
15823 | char *kwnames[] = { | |
15824 | (char *) "self", NULL | |
15825 | }; | |
15826 | ||
15827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15828 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15829 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15830 | { |
15831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15832 | result = (arg1)->GetColour(); | |
15833 | ||
15834 | wxPyEndAllowThreads(__tstate); | |
15835 | if (PyErr_Occurred()) SWIG_fail; | |
15836 | } | |
15837 | { | |
15838 | wxColour * resultptr; | |
32fe5131 | 15839 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
15afbcd0 | 15840 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
15841 | } |
15842 | return resultobj; | |
15843 | fail: | |
15844 | return NULL; | |
15845 | } | |
15846 | ||
15847 | ||
c32bde28 | 15848 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15849 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15850 | wxFontData *arg1 = (wxFontData *) 0 ; |
15851 | wxFont result; | |
15852 | PyObject * obj0 = 0 ; | |
15853 | char *kwnames[] = { | |
15854 | (char *) "self", NULL | |
15855 | }; | |
15856 | ||
15857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15860 | { |
15861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15862 | result = (arg1)->GetChosenFont(); | |
15863 | ||
15864 | wxPyEndAllowThreads(__tstate); | |
15865 | if (PyErr_Occurred()) SWIG_fail; | |
15866 | } | |
15867 | { | |
15868 | wxFont * resultptr; | |
32fe5131 | 15869 | resultptr = new wxFont(static_cast<wxFont & >(result)); |
15afbcd0 | 15870 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
15871 | } |
15872 | return resultobj; | |
15873 | fail: | |
15874 | return NULL; | |
15875 | } | |
15876 | ||
15877 | ||
c32bde28 | 15878 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15879 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15880 | wxFontData *arg1 = (wxFontData *) 0 ; |
15881 | bool result; | |
15882 | PyObject * obj0 = 0 ; | |
15883 | char *kwnames[] = { | |
15884 | (char *) "self", NULL | |
15885 | }; | |
15886 | ||
15887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15888 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15889 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15890 | { |
15891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15892 | result = (bool)(arg1)->GetEnableEffects(); | |
15893 | ||
15894 | wxPyEndAllowThreads(__tstate); | |
15895 | if (PyErr_Occurred()) SWIG_fail; | |
15896 | } | |
4f89f6a3 RD |
15897 | { |
15898 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15899 | } | |
d14a1e28 RD |
15900 | return resultobj; |
15901 | fail: | |
15902 | return NULL; | |
15903 | } | |
15904 | ||
15905 | ||
c32bde28 | 15906 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15907 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15908 | wxFontData *arg1 = (wxFontData *) 0 ; |
15909 | wxFont result; | |
15910 | PyObject * obj0 = 0 ; | |
15911 | char *kwnames[] = { | |
15912 | (char *) "self", NULL | |
15913 | }; | |
15914 | ||
15915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15918 | { |
15919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15920 | result = (arg1)->GetInitialFont(); | |
15921 | ||
15922 | wxPyEndAllowThreads(__tstate); | |
15923 | if (PyErr_Occurred()) SWIG_fail; | |
15924 | } | |
15925 | { | |
15926 | wxFont * resultptr; | |
32fe5131 | 15927 | resultptr = new wxFont(static_cast<wxFont & >(result)); |
15afbcd0 | 15928 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
15929 | } |
15930 | return resultobj; | |
15931 | fail: | |
15932 | return NULL; | |
15933 | } | |
15934 | ||
15935 | ||
c32bde28 | 15936 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15937 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15938 | wxFontData *arg1 = (wxFontData *) 0 ; |
15939 | bool result; | |
15940 | PyObject * obj0 = 0 ; | |
15941 | char *kwnames[] = { | |
15942 | (char *) "self", NULL | |
15943 | }; | |
15944 | ||
15945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15946 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15947 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15948 | { |
15949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15950 | result = (bool)(arg1)->GetShowHelp(); | |
15951 | ||
15952 | wxPyEndAllowThreads(__tstate); | |
15953 | if (PyErr_Occurred()) SWIG_fail; | |
15954 | } | |
4f89f6a3 RD |
15955 | { |
15956 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15957 | } | |
d14a1e28 RD |
15958 | return resultobj; |
15959 | fail: | |
15960 | return NULL; | |
15961 | } | |
15962 | ||
15963 | ||
c32bde28 | 15964 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15965 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15966 | wxFontData *arg1 = (wxFontData *) 0 ; |
15967 | bool arg2 ; | |
15968 | PyObject * obj0 = 0 ; | |
15969 | PyObject * obj1 = 0 ; | |
15970 | char *kwnames[] = { | |
15971 | (char *) "self",(char *) "allowSymbols", NULL | |
15972 | }; | |
15973 | ||
15974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15977 | { | |
32fe5131 | 15978 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
15979 | if (SWIG_arg_fail(2)) SWIG_fail; |
15980 | } | |
d14a1e28 RD |
15981 | { |
15982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15983 | (arg1)->SetAllowSymbols(arg2); | |
15984 | ||
15985 | wxPyEndAllowThreads(__tstate); | |
15986 | if (PyErr_Occurred()) SWIG_fail; | |
15987 | } | |
15988 | Py_INCREF(Py_None); resultobj = Py_None; | |
15989 | return resultobj; | |
15990 | fail: | |
15991 | return NULL; | |
15992 | } | |
15993 | ||
15994 | ||
c32bde28 | 15995 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15996 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15997 | wxFontData *arg1 = (wxFontData *) 0 ; |
15998 | wxFont *arg2 = 0 ; | |
15999 | PyObject * obj0 = 0 ; | |
16000 | PyObject * obj1 = 0 ; | |
16001 | char *kwnames[] = { | |
16002 | (char *) "self",(char *) "font", NULL | |
16003 | }; | |
16004 | ||
16005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16006 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
16007 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16008 | { | |
16009 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
16010 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16011 | if (arg2 == NULL) { | |
16012 | SWIG_null_ref("wxFont"); | |
16013 | } | |
16014 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
16015 | } |
16016 | { | |
16017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16018 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
16019 | ||
16020 | wxPyEndAllowThreads(__tstate); | |
16021 | if (PyErr_Occurred()) SWIG_fail; | |
16022 | } | |
16023 | Py_INCREF(Py_None); resultobj = Py_None; | |
16024 | return resultobj; | |
16025 | fail: | |
16026 | return NULL; | |
16027 | } | |
16028 | ||
16029 | ||
c32bde28 | 16030 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16031 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16032 | wxFontData *arg1 = (wxFontData *) 0 ; |
16033 | wxColour *arg2 = 0 ; | |
16034 | wxColour temp2 ; | |
16035 | PyObject * obj0 = 0 ; | |
16036 | PyObject * obj1 = 0 ; | |
16037 | char *kwnames[] = { | |
16038 | (char *) "self",(char *) "colour", NULL | |
16039 | }; | |
16040 | ||
16041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16042 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
16043 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16044 | { |
16045 | arg2 = &temp2; | |
16046 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
16047 | } | |
16048 | { | |
16049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16050 | (arg1)->SetColour((wxColour const &)*arg2); | |
16051 | ||
16052 | wxPyEndAllowThreads(__tstate); | |
16053 | if (PyErr_Occurred()) SWIG_fail; | |
16054 | } | |
16055 | Py_INCREF(Py_None); resultobj = Py_None; | |
16056 | return resultobj; | |
16057 | fail: | |
16058 | return NULL; | |
16059 | } | |
16060 | ||
16061 | ||
c32bde28 | 16062 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16063 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16064 | wxFontData *arg1 = (wxFontData *) 0 ; |
16065 | wxFont *arg2 = 0 ; | |
16066 | PyObject * obj0 = 0 ; | |
16067 | PyObject * obj1 = 0 ; | |
16068 | char *kwnames[] = { | |
16069 | (char *) "self",(char *) "font", NULL | |
16070 | }; | |
16071 | ||
16072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16073 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
16074 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16075 | { | |
16076 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
16077 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16078 | if (arg2 == NULL) { | |
16079 | SWIG_null_ref("wxFont"); | |
16080 | } | |
16081 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
16082 | } |
16083 | { | |
16084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16085 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
16086 | ||
16087 | wxPyEndAllowThreads(__tstate); | |
16088 | if (PyErr_Occurred()) SWIG_fail; | |
16089 | } | |
16090 | Py_INCREF(Py_None); resultobj = Py_None; | |
16091 | return resultobj; | |
16092 | fail: | |
16093 | return NULL; | |
16094 | } | |
16095 | ||
16096 | ||
c32bde28 | 16097 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16098 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16099 | wxFontData *arg1 = (wxFontData *) 0 ; |
16100 | int arg2 ; | |
16101 | int arg3 ; | |
16102 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16103 | PyObject * obj1 = 0 ; |
16104 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
16105 | char *kwnames[] = { |
16106 | (char *) "self",(char *) "min",(char *) "max", NULL | |
16107 | }; | |
16108 | ||
994141e6 | 16109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
16110 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
16111 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16112 | { | |
32fe5131 | 16113 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
16114 | if (SWIG_arg_fail(2)) SWIG_fail; |
16115 | } | |
16116 | { | |
32fe5131 | 16117 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
16118 | if (SWIG_arg_fail(3)) SWIG_fail; |
16119 | } | |
d14a1e28 RD |
16120 | { |
16121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16122 | (arg1)->SetRange(arg2,arg3); | |
16123 | ||
16124 | wxPyEndAllowThreads(__tstate); | |
16125 | if (PyErr_Occurred()) SWIG_fail; | |
16126 | } | |
16127 | Py_INCREF(Py_None); resultobj = Py_None; | |
16128 | return resultobj; | |
16129 | fail: | |
16130 | return NULL; | |
16131 | } | |
16132 | ||
16133 | ||
c32bde28 | 16134 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16135 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16136 | wxFontData *arg1 = (wxFontData *) 0 ; |
16137 | bool arg2 ; | |
16138 | PyObject * obj0 = 0 ; | |
16139 | PyObject * obj1 = 0 ; | |
16140 | char *kwnames[] = { | |
16141 | (char *) "self",(char *) "showHelp", NULL | |
16142 | }; | |
16143 | ||
16144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
16146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16147 | { | |
32fe5131 | 16148 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
16149 | if (SWIG_arg_fail(2)) SWIG_fail; |
16150 | } | |
d14a1e28 RD |
16151 | { |
16152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16153 | (arg1)->SetShowHelp(arg2); | |
16154 | ||
16155 | wxPyEndAllowThreads(__tstate); | |
16156 | if (PyErr_Occurred()) SWIG_fail; | |
16157 | } | |
16158 | Py_INCREF(Py_None); resultobj = Py_None; | |
16159 | return resultobj; | |
16160 | fail: | |
16161 | return NULL; | |
16162 | } | |
16163 | ||
16164 | ||
c32bde28 | 16165 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16166 | PyObject *obj; |
16167 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16168 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
16169 | Py_INCREF(obj); | |
16170 | return Py_BuildValue((char *)""); | |
16171 | } | |
c32bde28 | 16172 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16173 | PyObject *resultobj = NULL; |
e498079e RD |
16174 | wxWindow *arg1 = (wxWindow *) 0 ; |
16175 | wxFontData *arg2 = 0 ; | |
16176 | wxFontDialog *result; | |
d14a1e28 | 16177 | PyObject * obj0 = 0 ; |
e498079e | 16178 | PyObject * obj1 = 0 ; |
15afbcd0 RD |
16179 | char *kwnames[] = { |
16180 | (char *) "parent",(char *) "data", NULL | |
16181 | }; | |
d14a1e28 | 16182 | |
15afbcd0 | 16183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
16184 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16185 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16186 | { | |
16187 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); | |
16188 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16189 | if (arg2 == NULL) { | |
16190 | SWIG_null_ref("wxFontData"); | |
16191 | } | |
16192 | if (SWIG_arg_fail(2)) SWIG_fail; | |
e498079e | 16193 | } |
d14a1e28 | 16194 | { |
e3b71cb8 | 16195 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 16196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
e498079e | 16197 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
16198 | |
16199 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16200 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 16201 | } |
15afbcd0 | 16202 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
16203 | return resultobj; |
16204 | fail: | |
16205 | return NULL; | |
16206 | } | |
16207 | ||
16208 | ||
c32bde28 | 16209 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16210 | PyObject *resultobj = NULL; |
d14a1e28 | 16211 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; |
e498079e | 16212 | wxFontData *result; |
d14a1e28 RD |
16213 | PyObject * obj0 = 0 ; |
16214 | char *kwnames[] = { | |
32fe5131 RD |
16215 | (char *) "self", NULL |
16216 | }; | |
16217 | ||
16218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
16219 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0); | |
16220 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16221 | { | |
16222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16223 | { | |
16224 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
16225 | result = (wxFontData *) &_result_ref; | |
16226 | } | |
16227 | ||
16228 | wxPyEndAllowThreads(__tstate); | |
16229 | if (PyErr_Occurred()) SWIG_fail; | |
16230 | } | |
16231 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); | |
16232 | return resultobj; | |
16233 | fail: | |
16234 | return NULL; | |
16235 | } | |
16236 | ||
16237 | ||
16238 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { | |
16239 | PyObject *obj; | |
16240 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16241 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
16242 | Py_INCREF(obj); | |
16243 | return Py_BuildValue((char *)""); | |
16244 | } | |
16245 | static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) { | |
16246 | PyObject *resultobj = NULL; | |
16247 | wxWindow *arg1 = (wxWindow *) NULL ; | |
16248 | wxFont const &arg2_defvalue = wxNullFont ; | |
16249 | wxFont *arg2 = (wxFont *) &arg2_defvalue ; | |
16250 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
16251 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
16252 | wxFont result; | |
16253 | bool temp3 = false ; | |
16254 | PyObject * obj0 = 0 ; | |
16255 | PyObject * obj1 = 0 ; | |
16256 | PyObject * obj2 = 0 ; | |
16257 | char *kwnames[] = { | |
16258 | (char *) "parent",(char *) "fontInit",(char *) "caption", NULL | |
d14a1e28 RD |
16259 | }; |
16260 | ||
32fe5131 RD |
16261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail; |
16262 | if (obj0) { | |
16263 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
16264 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16265 | } | |
16266 | if (obj1) { | |
e498079e | 16267 | { |
32fe5131 RD |
16268 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); |
16269 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16270 | if (arg2 == NULL) { | |
16271 | SWIG_null_ref("wxFont"); | |
16272 | } | |
16273 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16274 | } | |
16275 | } | |
16276 | if (obj2) { | |
16277 | { | |
16278 | arg3 = wxString_in_helper(obj2); | |
16279 | if (arg3 == NULL) SWIG_fail; | |
16280 | temp3 = true; | |
e498079e | 16281 | } |
32fe5131 RD |
16282 | } |
16283 | { | |
16284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16285 | result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3); | |
d14a1e28 RD |
16286 | |
16287 | wxPyEndAllowThreads(__tstate); | |
16288 | if (PyErr_Occurred()) SWIG_fail; | |
16289 | } | |
32fe5131 RD |
16290 | { |
16291 | wxFont * resultptr; | |
16292 | resultptr = new wxFont(static_cast<wxFont & >(result)); | |
16293 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); | |
16294 | } | |
16295 | { | |
16296 | if (temp3) | |
16297 | delete arg3; | |
16298 | } | |
d14a1e28 RD |
16299 | return resultobj; |
16300 | fail: | |
32fe5131 RD |
16301 | { |
16302 | if (temp3) | |
16303 | delete arg3; | |
16304 | } | |
d14a1e28 RD |
16305 | return NULL; |
16306 | } | |
16307 | ||
16308 | ||
c32bde28 | 16309 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16310 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16311 | wxWindow *arg1 = (wxWindow *) 0 ; |
16312 | wxString *arg2 = 0 ; | |
16313 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
16314 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
16315 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
16316 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
16317 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16318 | wxMessageDialog *result; | |
ae8162c8 RD |
16319 | bool temp2 = false ; |
16320 | bool temp3 = false ; | |
d14a1e28 RD |
16321 | wxPoint temp5 ; |
16322 | PyObject * obj0 = 0 ; | |
16323 | PyObject * obj1 = 0 ; | |
16324 | PyObject * obj2 = 0 ; | |
994141e6 | 16325 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
16326 | PyObject * obj4 = 0 ; |
16327 | char *kwnames[] = { | |
16328 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
16329 | }; | |
16330 | ||
994141e6 | 16331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
16332 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16333 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16334 | { |
16335 | arg2 = wxString_in_helper(obj1); | |
16336 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16337 | temp2 = true; |
d14a1e28 RD |
16338 | } |
16339 | if (obj2) { | |
16340 | { | |
16341 | arg3 = wxString_in_helper(obj2); | |
16342 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 16343 | temp3 = true; |
d14a1e28 RD |
16344 | } |
16345 | } | |
994141e6 | 16346 | if (obj3) { |
093d3ff1 | 16347 | { |
32fe5131 | 16348 | arg4 = static_cast<long >(SWIG_As_long(obj3)); |
093d3ff1 RD |
16349 | if (SWIG_arg_fail(4)) SWIG_fail; |
16350 | } | |
994141e6 | 16351 | } |
d14a1e28 RD |
16352 | if (obj4) { |
16353 | { | |
16354 | arg5 = &temp5; | |
16355 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
16356 | } | |
16357 | } | |
16358 | { | |
e3b71cb8 | 16359 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
16360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16361 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
16362 | ||
16363 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16364 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 16365 | } |
15afbcd0 | 16366 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
16367 | { |
16368 | if (temp2) | |
16369 | delete arg2; | |
16370 | } | |
16371 | { | |
16372 | if (temp3) | |
16373 | delete arg3; | |
16374 | } | |
16375 | return resultobj; | |
16376 | fail: | |
16377 | { | |
16378 | if (temp2) | |
16379 | delete arg2; | |
16380 | } | |
16381 | { | |
16382 | if (temp3) | |
16383 | delete arg3; | |
16384 | } | |
16385 | return NULL; | |
16386 | } | |
16387 | ||
16388 | ||
c32bde28 | 16389 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16390 | PyObject *obj; |
16391 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16392 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
16393 | Py_INCREF(obj); | |
16394 | return Py_BuildValue((char *)""); | |
16395 | } | |
c32bde28 | 16396 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16397 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16398 | wxString *arg1 = 0 ; |
16399 | wxString *arg2 = 0 ; | |
16400 | int arg3 = (int) 100 ; | |
16401 | wxWindow *arg4 = (wxWindow *) NULL ; | |
16402 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
16403 | wxProgressDialog *result; | |
ae8162c8 RD |
16404 | bool temp1 = false ; |
16405 | bool temp2 = false ; | |
d14a1e28 RD |
16406 | PyObject * obj0 = 0 ; |
16407 | PyObject * obj1 = 0 ; | |
994141e6 | 16408 | PyObject * obj2 = 0 ; |
d14a1e28 | 16409 | PyObject * obj3 = 0 ; |
994141e6 | 16410 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
16411 | char *kwnames[] = { |
16412 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
16413 | }; | |
16414 | ||
994141e6 | 16415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
16416 | { |
16417 | arg1 = wxString_in_helper(obj0); | |
16418 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 16419 | temp1 = true; |
d14a1e28 RD |
16420 | } |
16421 | { | |
16422 | arg2 = wxString_in_helper(obj1); | |
16423 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16424 | temp2 = true; |
d14a1e28 | 16425 | } |
994141e6 | 16426 | if (obj2) { |
093d3ff1 | 16427 | { |
32fe5131 | 16428 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
16429 | if (SWIG_arg_fail(3)) SWIG_fail; |
16430 | } | |
994141e6 | 16431 | } |
d14a1e28 | 16432 | if (obj3) { |
093d3ff1 RD |
16433 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16434 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d14a1e28 | 16435 | } |
994141e6 | 16436 | if (obj4) { |
093d3ff1 | 16437 | { |
32fe5131 | 16438 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
16439 | if (SWIG_arg_fail(5)) SWIG_fail; |
16440 | } | |
994141e6 | 16441 | } |
d14a1e28 | 16442 | { |
e3b71cb8 | 16443 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
16444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16445 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
16446 | ||
16447 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16448 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 16449 | } |
15afbcd0 | 16450 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
16451 | { |
16452 | if (temp1) | |
16453 | delete arg1; | |
16454 | } | |
16455 | { | |
16456 | if (temp2) | |
16457 | delete arg2; | |
16458 | } | |
16459 | return resultobj; | |
16460 | fail: | |
16461 | { | |
16462 | if (temp1) | |
16463 | delete arg1; | |
16464 | } | |
16465 | { | |
16466 | if (temp2) | |
16467 | delete arg2; | |
16468 | } | |
16469 | return NULL; | |
16470 | } | |
16471 | ||
16472 | ||
c32bde28 | 16473 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16474 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16475 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; |
16476 | int arg2 ; | |
16477 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
16478 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
16479 | bool result; | |
ae8162c8 | 16480 | bool temp3 = false ; |
d14a1e28 | 16481 | PyObject * obj0 = 0 ; |
994141e6 | 16482 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16483 | PyObject * obj2 = 0 ; |
16484 | char *kwnames[] = { | |
16485 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
16486 | }; | |
16487 | ||
994141e6 | 16488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
16489 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
16490 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16491 | { | |
32fe5131 | 16492 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
16493 | if (SWIG_arg_fail(2)) SWIG_fail; |
16494 | } | |
d14a1e28 RD |
16495 | if (obj2) { |
16496 | { | |
16497 | arg3 = wxString_in_helper(obj2); | |
16498 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 16499 | temp3 = true; |
d14a1e28 RD |
16500 | } |
16501 | } | |
16502 | { | |
16503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16504 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
16505 | ||
16506 | wxPyEndAllowThreads(__tstate); | |
16507 | if (PyErr_Occurred()) SWIG_fail; | |
16508 | } | |
4f89f6a3 RD |
16509 | { |
16510 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16511 | } | |
d14a1e28 RD |
16512 | { |
16513 | if (temp3) | |
16514 | delete arg3; | |
16515 | } | |
16516 | return resultobj; | |
16517 | fail: | |
16518 | { | |
16519 | if (temp3) | |
16520 | delete arg3; | |
16521 | } | |
16522 | return NULL; | |
16523 | } | |
16524 | ||
16525 | ||
c32bde28 | 16526 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16527 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16528 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; |
16529 | PyObject * obj0 = 0 ; | |
16530 | char *kwnames[] = { | |
16531 | (char *) "self", NULL | |
16532 | }; | |
16533 | ||
16534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16535 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
16536 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16537 | { |
16538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16539 | (arg1)->Resume(); | |
16540 | ||
16541 | wxPyEndAllowThreads(__tstate); | |
16542 | if (PyErr_Occurred()) SWIG_fail; | |
16543 | } | |
16544 | Py_INCREF(Py_None); resultobj = Py_None; | |
16545 | return resultobj; | |
16546 | fail: | |
16547 | return NULL; | |
16548 | } | |
16549 | ||
16550 | ||
c32bde28 | 16551 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16552 | PyObject *obj; |
16553 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16554 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
16555 | Py_INCREF(obj); | |
16556 | return Py_BuildValue((char *)""); | |
16557 | } | |
c32bde28 | 16558 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16559 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16560 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
16561 | int arg2 = (int) 0 ; | |
16562 | wxFindDialogEvent *result; | |
994141e6 RD |
16563 | PyObject * obj0 = 0 ; |
16564 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
16565 | char *kwnames[] = { |
16566 | (char *) "commandType",(char *) "id", NULL | |
16567 | }; | |
16568 | ||
994141e6 RD |
16569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
16570 | if (obj0) { | |
093d3ff1 | 16571 | { |
32fe5131 | 16572 | arg1 = static_cast<wxEventType >(SWIG_As_int(obj0)); |
093d3ff1 RD |
16573 | if (SWIG_arg_fail(1)) SWIG_fail; |
16574 | } | |
994141e6 RD |
16575 | } |
16576 | if (obj1) { | |
093d3ff1 | 16577 | { |
32fe5131 | 16578 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
16579 | if (SWIG_arg_fail(2)) SWIG_fail; |
16580 | } | |
994141e6 | 16581 | } |
d14a1e28 RD |
16582 | { |
16583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16584 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
16585 | ||
16586 | wxPyEndAllowThreads(__tstate); | |
16587 | if (PyErr_Occurred()) SWIG_fail; | |
16588 | } | |
15afbcd0 | 16589 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
16590 | return resultobj; |
16591 | fail: | |
16592 | return NULL; | |
16593 | } | |
16594 | ||
16595 | ||
c32bde28 | 16596 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16597 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16598 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16599 | int result; | |
16600 | PyObject * obj0 = 0 ; | |
16601 | char *kwnames[] = { | |
16602 | (char *) "self", NULL | |
16603 | }; | |
16604 | ||
16605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16606 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16607 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16608 | { |
16609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16610 | result = (int)(arg1)->GetFlags(); | |
16611 | ||
16612 | wxPyEndAllowThreads(__tstate); | |
16613 | if (PyErr_Occurred()) SWIG_fail; | |
16614 | } | |
093d3ff1 | 16615 | { |
32fe5131 | 16616 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 16617 | } |
d14a1e28 RD |
16618 | return resultobj; |
16619 | fail: | |
16620 | return NULL; | |
16621 | } | |
16622 | ||
16623 | ||
c32bde28 | 16624 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16625 | PyObject *resultobj = NULL; |
d14a1e28 | 16626 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
cc6dd355 | 16627 | wxString *result; |
d14a1e28 RD |
16628 | PyObject * obj0 = 0 ; |
16629 | char *kwnames[] = { | |
16630 | (char *) "self", NULL | |
16631 | }; | |
16632 | ||
16633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16634 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16635 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16636 | { |
16637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cc6dd355 RD |
16638 | { |
16639 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16640 | result = (wxString *) &_result_ref; | |
16641 | } | |
d14a1e28 RD |
16642 | |
16643 | wxPyEndAllowThreads(__tstate); | |
16644 | if (PyErr_Occurred()) SWIG_fail; | |
16645 | } | |
16646 | { | |
16647 | #if wxUSE_UNICODE | |
cc6dd355 | 16648 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 16649 | #else |
cc6dd355 | 16650 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
16651 | #endif |
16652 | } | |
16653 | return resultobj; | |
16654 | fail: | |
16655 | return NULL; | |
16656 | } | |
16657 | ||
16658 | ||
c32bde28 | 16659 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16660 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16661 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16662 | wxString *result; | |
16663 | PyObject * obj0 = 0 ; | |
16664 | char *kwnames[] = { | |
16665 | (char *) "self", NULL | |
16666 | }; | |
16667 | ||
16668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16669 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16670 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16671 | { |
16672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16673 | { | |
16674 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16675 | result = (wxString *) &_result_ref; | |
16676 | } | |
16677 | ||
16678 | wxPyEndAllowThreads(__tstate); | |
16679 | if (PyErr_Occurred()) SWIG_fail; | |
16680 | } | |
cc6dd355 RD |
16681 | { |
16682 | #if wxUSE_UNICODE | |
16683 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16684 | #else | |
16685 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16686 | #endif | |
16687 | } | |
d14a1e28 RD |
16688 | return resultobj; |
16689 | fail: | |
16690 | return NULL; | |
16691 | } | |
16692 | ||
16693 | ||
c32bde28 | 16694 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16695 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16696 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16697 | wxFindReplaceDialog *result; | |
16698 | PyObject * obj0 = 0 ; | |
16699 | char *kwnames[] = { | |
16700 | (char *) "self", NULL | |
16701 | }; | |
16702 | ||
16703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16704 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16705 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16706 | { |
16707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16708 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
16709 | ||
16710 | wxPyEndAllowThreads(__tstate); | |
16711 | if (PyErr_Occurred()) SWIG_fail; | |
16712 | } | |
15afbcd0 | 16713 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
16714 | return resultobj; |
16715 | fail: | |
16716 | return NULL; | |
16717 | } | |
16718 | ||
16719 | ||
c32bde28 | 16720 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16721 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16722 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16723 | int arg2 ; | |
16724 | PyObject * obj0 = 0 ; | |
994141e6 | 16725 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16726 | char *kwnames[] = { |
16727 | (char *) "self",(char *) "flags", NULL | |
16728 | }; | |
16729 | ||
994141e6 | 16730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
16731 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16732 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16733 | { | |
32fe5131 | 16734 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
16735 | if (SWIG_arg_fail(2)) SWIG_fail; |
16736 | } | |
d14a1e28 RD |
16737 | { |
16738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16739 | (arg1)->SetFlags(arg2); | |
16740 | ||
16741 | wxPyEndAllowThreads(__tstate); | |
16742 | if (PyErr_Occurred()) SWIG_fail; | |
16743 | } | |
16744 | Py_INCREF(Py_None); resultobj = Py_None; | |
16745 | return resultobj; | |
16746 | fail: | |
16747 | return NULL; | |
16748 | } | |
16749 | ||
16750 | ||
c32bde28 | 16751 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16752 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16753 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16754 | wxString *arg2 = 0 ; | |
ae8162c8 | 16755 | bool temp2 = false ; |
d14a1e28 RD |
16756 | PyObject * obj0 = 0 ; |
16757 | PyObject * obj1 = 0 ; | |
16758 | char *kwnames[] = { | |
16759 | (char *) "self",(char *) "str", NULL | |
16760 | }; | |
16761 | ||
16762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16763 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16764 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16765 | { |
16766 | arg2 = wxString_in_helper(obj1); | |
16767 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16768 | temp2 = true; |
d14a1e28 RD |
16769 | } |
16770 | { | |
16771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16772 | (arg1)->SetFindString((wxString const &)*arg2); | |
16773 | ||
16774 | wxPyEndAllowThreads(__tstate); | |
16775 | if (PyErr_Occurred()) SWIG_fail; | |
16776 | } | |
16777 | Py_INCREF(Py_None); resultobj = Py_None; | |
16778 | { | |
16779 | if (temp2) | |
16780 | delete arg2; | |
16781 | } | |
16782 | return resultobj; | |
16783 | fail: | |
16784 | { | |
16785 | if (temp2) | |
16786 | delete arg2; | |
16787 | } | |
16788 | return NULL; | |
16789 | } | |
16790 | ||
16791 | ||
c32bde28 | 16792 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16793 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16794 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16795 | wxString *arg2 = 0 ; | |
ae8162c8 | 16796 | bool temp2 = false ; |
d14a1e28 RD |
16797 | PyObject * obj0 = 0 ; |
16798 | PyObject * obj1 = 0 ; | |
16799 | char *kwnames[] = { | |
16800 | (char *) "self",(char *) "str", NULL | |
16801 | }; | |
16802 | ||
16803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16804 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16805 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16806 | { |
16807 | arg2 = wxString_in_helper(obj1); | |
16808 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16809 | temp2 = true; |
d14a1e28 RD |
16810 | } |
16811 | { | |
16812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16813 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16814 | ||
16815 | wxPyEndAllowThreads(__tstate); | |
16816 | if (PyErr_Occurred()) SWIG_fail; | |
16817 | } | |
16818 | Py_INCREF(Py_None); resultobj = Py_None; | |
16819 | { | |
16820 | if (temp2) | |
16821 | delete arg2; | |
16822 | } | |
16823 | return resultobj; | |
16824 | fail: | |
16825 | { | |
16826 | if (temp2) | |
16827 | delete arg2; | |
16828 | } | |
16829 | return NULL; | |
16830 | } | |
16831 | ||
16832 | ||
c32bde28 | 16833 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16834 | PyObject *obj; |
16835 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16836 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
16837 | Py_INCREF(obj); | |
16838 | return Py_BuildValue((char *)""); | |
16839 | } | |
c32bde28 | 16840 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16841 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16842 | int arg1 = (int) 0 ; |
16843 | wxFindReplaceData *result; | |
994141e6 | 16844 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
16845 | char *kwnames[] = { |
16846 | (char *) "flags", NULL | |
16847 | }; | |
16848 | ||
994141e6 RD |
16849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
16850 | if (obj0) { | |
093d3ff1 | 16851 | { |
32fe5131 | 16852 | arg1 = static_cast<int >(SWIG_As_int(obj0)); |
093d3ff1 RD |
16853 | if (SWIG_arg_fail(1)) SWIG_fail; |
16854 | } | |
994141e6 | 16855 | } |
d14a1e28 RD |
16856 | { |
16857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16858 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
16859 | ||
16860 | wxPyEndAllowThreads(__tstate); | |
16861 | if (PyErr_Occurred()) SWIG_fail; | |
16862 | } | |
15afbcd0 | 16863 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
16864 | return resultobj; |
16865 | fail: | |
16866 | return NULL; | |
16867 | } | |
16868 | ||
16869 | ||
c32bde28 | 16870 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16871 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16872 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16873 | PyObject * obj0 = 0 ; | |
16874 | char *kwnames[] = { | |
16875 | (char *) "self", NULL | |
16876 | }; | |
16877 | ||
16878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16879 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16880 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16881 | { |
16882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16883 | delete arg1; | |
16884 | ||
16885 | wxPyEndAllowThreads(__tstate); | |
16886 | if (PyErr_Occurred()) SWIG_fail; | |
16887 | } | |
16888 | Py_INCREF(Py_None); resultobj = Py_None; | |
16889 | return resultobj; | |
16890 | fail: | |
16891 | return NULL; | |
16892 | } | |
16893 | ||
16894 | ||
c32bde28 | 16895 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16896 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16897 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16898 | wxString *result; | |
16899 | PyObject * obj0 = 0 ; | |
16900 | char *kwnames[] = { | |
16901 | (char *) "self", NULL | |
16902 | }; | |
16903 | ||
16904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16905 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16906 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16907 | { |
16908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16909 | { | |
16910 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16911 | result = (wxString *) &_result_ref; | |
16912 | } | |
16913 | ||
16914 | wxPyEndAllowThreads(__tstate); | |
16915 | if (PyErr_Occurred()) SWIG_fail; | |
16916 | } | |
cc6dd355 RD |
16917 | { |
16918 | #if wxUSE_UNICODE | |
16919 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16920 | #else | |
16921 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16922 | #endif | |
16923 | } | |
d14a1e28 RD |
16924 | return resultobj; |
16925 | fail: | |
16926 | return NULL; | |
16927 | } | |
16928 | ||
16929 | ||
c32bde28 | 16930 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16931 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16932 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16933 | wxString *result; | |
16934 | PyObject * obj0 = 0 ; | |
16935 | char *kwnames[] = { | |
16936 | (char *) "self", NULL | |
16937 | }; | |
16938 | ||
16939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16940 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16941 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16942 | { |
16943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16944 | { | |
16945 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16946 | result = (wxString *) &_result_ref; | |
16947 | } | |
16948 | ||
16949 | wxPyEndAllowThreads(__tstate); | |
16950 | if (PyErr_Occurred()) SWIG_fail; | |
16951 | } | |
cc6dd355 RD |
16952 | { |
16953 | #if wxUSE_UNICODE | |
16954 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16955 | #else | |
16956 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16957 | #endif | |
16958 | } | |
d14a1e28 RD |
16959 | return resultobj; |
16960 | fail: | |
16961 | return NULL; | |
16962 | } | |
16963 | ||
16964 | ||
c32bde28 | 16965 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16966 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16967 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16968 | int result; | |
16969 | PyObject * obj0 = 0 ; | |
16970 | char *kwnames[] = { | |
16971 | (char *) "self", NULL | |
16972 | }; | |
16973 | ||
16974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16977 | { |
16978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16979 | result = (int)(arg1)->GetFlags(); | |
16980 | ||
16981 | wxPyEndAllowThreads(__tstate); | |
16982 | if (PyErr_Occurred()) SWIG_fail; | |
16983 | } | |
093d3ff1 | 16984 | { |
32fe5131 | 16985 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 16986 | } |
d14a1e28 RD |
16987 | return resultobj; |
16988 | fail: | |
16989 | return NULL; | |
16990 | } | |
16991 | ||
16992 | ||
c32bde28 | 16993 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16994 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16995 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16996 | int arg2 ; | |
16997 | PyObject * obj0 = 0 ; | |
994141e6 | 16998 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16999 | char *kwnames[] = { |
17000 | (char *) "self",(char *) "flags", NULL | |
17001 | }; | |
17002 | ||
994141e6 | 17003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
17004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
17005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17006 | { | |
32fe5131 | 17007 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
17008 | if (SWIG_arg_fail(2)) SWIG_fail; |
17009 | } | |
d14a1e28 RD |
17010 | { |
17011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17012 | (arg1)->SetFlags(arg2); | |
17013 | ||
17014 | wxPyEndAllowThreads(__tstate); | |
17015 | if (PyErr_Occurred()) SWIG_fail; | |
17016 | } | |
17017 | Py_INCREF(Py_None); resultobj = Py_None; | |
17018 | return resultobj; | |
17019 | fail: | |
17020 | return NULL; | |
17021 | } | |
17022 | ||
17023 | ||
c32bde28 | 17024 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17025 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17026 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
17027 | wxString *arg2 = 0 ; | |
ae8162c8 | 17028 | bool temp2 = false ; |
d14a1e28 RD |
17029 | PyObject * obj0 = 0 ; |
17030 | PyObject * obj1 = 0 ; | |
17031 | char *kwnames[] = { | |
17032 | (char *) "self",(char *) "str", NULL | |
17033 | }; | |
17034 | ||
17035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
17036 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
17037 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17038 | { |
17039 | arg2 = wxString_in_helper(obj1); | |
17040 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 17041 | temp2 = true; |
d14a1e28 RD |
17042 | } |
17043 | { | |
17044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17045 | (arg1)->SetFindString((wxString const &)*arg2); | |
17046 | ||
17047 | wxPyEndAllowThreads(__tstate); | |
17048 | if (PyErr_Occurred()) SWIG_fail; | |
17049 | } | |
17050 | Py_INCREF(Py_None); resultobj = Py_None; | |
17051 | { | |
17052 | if (temp2) | |
17053 | delete arg2; | |
17054 | } | |
17055 | return resultobj; | |
17056 | fail: | |
17057 | { | |
17058 | if (temp2) | |
17059 | delete arg2; | |
17060 | } | |
17061 | return NULL; | |
17062 | } | |
17063 | ||
17064 | ||
c32bde28 | 17065 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17066 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17067 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
17068 | wxString *arg2 = 0 ; | |
ae8162c8 | 17069 | bool temp2 = false ; |
d14a1e28 RD |
17070 | PyObject * obj0 = 0 ; |
17071 | PyObject * obj1 = 0 ; | |
17072 | char *kwnames[] = { | |
17073 | (char *) "self",(char *) "str", NULL | |
17074 | }; | |
17075 | ||
17076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
17077 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
17078 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17079 | { |
17080 | arg2 = wxString_in_helper(obj1); | |
17081 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 17082 | temp2 = true; |
d14a1e28 RD |
17083 | } |
17084 | { | |
17085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17086 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
17087 | ||
17088 | wxPyEndAllowThreads(__tstate); | |
17089 | if (PyErr_Occurred()) SWIG_fail; | |
17090 | } | |
17091 | Py_INCREF(Py_None); resultobj = Py_None; | |
17092 | { | |
17093 | if (temp2) | |
17094 | delete arg2; | |
17095 | } | |
17096 | return resultobj; | |
17097 | fail: | |
17098 | { | |
17099 | if (temp2) | |
17100 | delete arg2; | |
17101 | } | |
17102 | return NULL; | |
17103 | } | |
17104 | ||
17105 | ||
c32bde28 | 17106 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
17107 | PyObject *obj; |
17108 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17109 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
17110 | Py_INCREF(obj); | |
17111 | return Py_BuildValue((char *)""); | |
17112 | } | |
c32bde28 | 17113 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17114 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17115 | wxWindow *arg1 = (wxWindow *) 0 ; |
17116 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
17117 | wxString *arg3 = 0 ; | |
17118 | int arg4 = (int) 0 ; | |
17119 | wxFindReplaceDialog *result; | |
ae8162c8 | 17120 | bool temp3 = false ; |
d14a1e28 RD |
17121 | PyObject * obj0 = 0 ; |
17122 | PyObject * obj1 = 0 ; | |
17123 | PyObject * obj2 = 0 ; | |
994141e6 | 17124 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
17125 | char *kwnames[] = { |
17126 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
17127 | }; | |
17128 | ||
994141e6 | 17129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
17130 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
17131 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17132 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
17133 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
17134 | { |
17135 | arg3 = wxString_in_helper(obj2); | |
17136 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 17137 | temp3 = true; |
d14a1e28 | 17138 | } |
994141e6 | 17139 | if (obj3) { |
093d3ff1 | 17140 | { |
32fe5131 | 17141 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
17142 | if (SWIG_arg_fail(4)) SWIG_fail; |
17143 | } | |
994141e6 | 17144 | } |
d14a1e28 | 17145 | { |
e3b71cb8 | 17146 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17148 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
17149 | ||
17150 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17151 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17152 | } |
15afbcd0 | 17153 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
17154 | { |
17155 | if (temp3) | |
17156 | delete arg3; | |
17157 | } | |
17158 | return resultobj; | |
17159 | fail: | |
17160 | { | |
17161 | if (temp3) | |
17162 | delete arg3; | |
17163 | } | |
17164 | return NULL; | |
17165 | } | |
17166 | ||
17167 | ||
c32bde28 | 17168 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17169 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17170 | wxFindReplaceDialog *result; |
17171 | char *kwnames[] = { | |
17172 | NULL | |
17173 | }; | |
17174 | ||
17175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
17176 | { | |
e3b71cb8 | 17177 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17179 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
17180 | ||
17181 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17182 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17183 | } |
15afbcd0 | 17184 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
17185 | return resultobj; |
17186 | fail: | |
17187 | return NULL; | |
17188 | } | |
17189 | ||
17190 | ||
c32bde28 | 17191 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17192 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17193 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; |
17194 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17195 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
17196 | wxString *arg4 = 0 ; | |
17197 | int arg5 = (int) 0 ; | |
17198 | bool result; | |
ae8162c8 | 17199 | bool temp4 = false ; |
d14a1e28 RD |
17200 | PyObject * obj0 = 0 ; |
17201 | PyObject * obj1 = 0 ; | |
17202 | PyObject * obj2 = 0 ; | |
17203 | PyObject * obj3 = 0 ; | |
994141e6 | 17204 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
17205 | char *kwnames[] = { |
17206 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
17207 | }; | |
17208 | ||
994141e6 | 17209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
17210 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
17211 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17212 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
17213 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17214 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
17215 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
17216 | { |
17217 | arg4 = wxString_in_helper(obj3); | |
17218 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 17219 | temp4 = true; |
d14a1e28 | 17220 | } |
994141e6 | 17221 | if (obj4) { |
093d3ff1 | 17222 | { |
32fe5131 | 17223 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
17224 | if (SWIG_arg_fail(5)) SWIG_fail; |
17225 | } | |
994141e6 | 17226 | } |
d14a1e28 RD |
17227 | { |
17228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17229 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
17230 | ||
17231 | wxPyEndAllowThreads(__tstate); | |
17232 | if (PyErr_Occurred()) SWIG_fail; | |
17233 | } | |
4f89f6a3 RD |
17234 | { |
17235 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17236 | } | |
d14a1e28 RD |
17237 | { |
17238 | if (temp4) | |
17239 | delete arg4; | |
17240 | } | |
17241 | return resultobj; | |
17242 | fail: | |
17243 | { | |
17244 | if (temp4) | |
17245 | delete arg4; | |
17246 | } | |
17247 | return NULL; | |
17248 | } | |
17249 | ||
17250 | ||
c32bde28 | 17251 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17252 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17253 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; |
17254 | wxFindReplaceData *result; | |
17255 | PyObject * obj0 = 0 ; | |
17256 | char *kwnames[] = { | |
17257 | (char *) "self", NULL | |
17258 | }; | |
17259 | ||
17260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17261 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
17262 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17263 | { |
17264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17265 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
17266 | ||
17267 | wxPyEndAllowThreads(__tstate); | |
17268 | if (PyErr_Occurred()) SWIG_fail; | |
17269 | } | |
15afbcd0 | 17270 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
17271 | return resultobj; |
17272 | fail: | |
17273 | return NULL; | |
17274 | } | |
17275 | ||
17276 | ||
c32bde28 | 17277 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17278 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17279 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; |
17280 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
17281 | PyObject * obj0 = 0 ; | |
17282 | PyObject * obj1 = 0 ; | |
17283 | char *kwnames[] = { | |
17284 | (char *) "self",(char *) "data", NULL | |
17285 | }; | |
17286 | ||
17287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
17288 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
17289 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17290 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
17291 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
17292 | { |
17293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17294 | (arg1)->SetData(arg2); | |
17295 | ||
17296 | wxPyEndAllowThreads(__tstate); | |
17297 | if (PyErr_Occurred()) SWIG_fail; | |
17298 | } | |
17299 | Py_INCREF(Py_None); resultobj = Py_None; | |
17300 | return resultobj; | |
17301 | fail: | |
17302 | return NULL; | |
17303 | } | |
17304 | ||
17305 | ||
c32bde28 | 17306 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
17307 | PyObject *obj; |
17308 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17309 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
17310 | Py_INCREF(obj); | |
17311 | return Py_BuildValue((char *)""); | |
17312 | } | |
c32bde28 | 17313 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17314 | PyObject *resultobj = NULL; |
d14a1e28 | 17315 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 RD |
17316 | int arg2 = (int) (int)-1 ; |
17317 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17318 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
17319 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
17320 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
17321 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
17322 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
17323 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
17324 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
17325 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
17326 | wxMDIParentFrame *result; | |
ae8162c8 | 17327 | bool temp3 = false ; |
d14a1e28 RD |
17328 | wxPoint temp4 ; |
17329 | wxSize temp5 ; | |
ae8162c8 | 17330 | bool temp7 = false ; |
d14a1e28 | 17331 | PyObject * obj0 = 0 ; |
994141e6 | 17332 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17333 | PyObject * obj2 = 0 ; |
17334 | PyObject * obj3 = 0 ; | |
17335 | PyObject * obj4 = 0 ; | |
994141e6 | 17336 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
17337 | PyObject * obj6 = 0 ; |
17338 | char *kwnames[] = { | |
17339 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17340 | }; | |
17341 | ||
248ed943 | 17342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
17343 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
17344 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 17345 | if (obj1) { |
093d3ff1 | 17346 | { |
32fe5131 | 17347 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
17348 | if (SWIG_arg_fail(2)) SWIG_fail; |
17349 | } | |
248ed943 RD |
17350 | } |
17351 | if (obj2) { | |
17352 | { | |
17353 | arg3 = wxString_in_helper(obj2); | |
17354 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 17355 | temp3 = true; |
248ed943 | 17356 | } |
d14a1e28 RD |
17357 | } |
17358 | if (obj3) { | |
17359 | { | |
17360 | arg4 = &temp4; | |
17361 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
17362 | } | |
17363 | } | |
17364 | if (obj4) { | |
17365 | { | |
17366 | arg5 = &temp5; | |
17367 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
17368 | } | |
17369 | } | |
994141e6 | 17370 | if (obj5) { |
093d3ff1 | 17371 | { |
32fe5131 | 17372 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
17373 | if (SWIG_arg_fail(6)) SWIG_fail; |
17374 | } | |
994141e6 | 17375 | } |
d14a1e28 RD |
17376 | if (obj6) { |
17377 | { | |
17378 | arg7 = wxString_in_helper(obj6); | |
17379 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 17380 | temp7 = true; |
d14a1e28 RD |
17381 | } |
17382 | } | |
17383 | { | |
e3b71cb8 | 17384 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17386 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
17387 | ||
17388 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17389 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17390 | } |
15afbcd0 | 17391 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
17392 | { |
17393 | if (temp3) | |
17394 | delete arg3; | |
17395 | } | |
17396 | { | |
17397 | if (temp7) | |
17398 | delete arg7; | |
17399 | } | |
17400 | return resultobj; | |
17401 | fail: | |
17402 | { | |
17403 | if (temp3) | |
17404 | delete arg3; | |
17405 | } | |
17406 | { | |
17407 | if (temp7) | |
17408 | delete arg7; | |
17409 | } | |
17410 | return NULL; | |
17411 | } | |
17412 | ||
17413 | ||
c32bde28 | 17414 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17415 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17416 | wxMDIParentFrame *result; |
17417 | char *kwnames[] = { | |
17418 | NULL | |
17419 | }; | |
17420 | ||
17421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
17422 | { | |
e3b71cb8 | 17423 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17425 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
17426 | ||
17427 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17428 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17429 | } |
15afbcd0 | 17430 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
17431 | return resultobj; |
17432 | fail: | |
17433 | return NULL; | |
17434 | } | |
17435 | ||
17436 | ||
c32bde28 | 17437 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17438 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17439 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17440 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
17441 | int arg3 = (int) (int)-1 ; |
17442 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
17443 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
17444 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
17445 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
17446 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
17447 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
17448 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
17449 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
17450 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
17451 | bool result; | |
ae8162c8 | 17452 | bool temp4 = false ; |
d14a1e28 RD |
17453 | wxPoint temp5 ; |
17454 | wxSize temp6 ; | |
ae8162c8 | 17455 | bool temp8 = false ; |
d14a1e28 RD |
17456 | PyObject * obj0 = 0 ; |
17457 | PyObject * obj1 = 0 ; | |
994141e6 | 17458 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
17459 | PyObject * obj3 = 0 ; |
17460 | PyObject * obj4 = 0 ; | |
17461 | PyObject * obj5 = 0 ; | |
994141e6 | 17462 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
17463 | PyObject * obj7 = 0 ; |
17464 | char *kwnames[] = { | |
17465 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17466 | }; | |
17467 | ||
248ed943 | 17468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
17469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17471 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
17472 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 17473 | if (obj2) { |
093d3ff1 | 17474 | { |
32fe5131 | 17475 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
17476 | if (SWIG_arg_fail(3)) SWIG_fail; |
17477 | } | |
248ed943 RD |
17478 | } |
17479 | if (obj3) { | |
17480 | { | |
17481 | arg4 = wxString_in_helper(obj3); | |
17482 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 17483 | temp4 = true; |
248ed943 | 17484 | } |
d14a1e28 RD |
17485 | } |
17486 | if (obj4) { | |
17487 | { | |
17488 | arg5 = &temp5; | |
17489 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
17490 | } | |
17491 | } | |
17492 | if (obj5) { | |
17493 | { | |
17494 | arg6 = &temp6; | |
17495 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
17496 | } | |
17497 | } | |
994141e6 | 17498 | if (obj6) { |
093d3ff1 | 17499 | { |
32fe5131 | 17500 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
093d3ff1 RD |
17501 | if (SWIG_arg_fail(7)) SWIG_fail; |
17502 | } | |
994141e6 | 17503 | } |
d14a1e28 RD |
17504 | if (obj7) { |
17505 | { | |
17506 | arg8 = wxString_in_helper(obj7); | |
17507 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 17508 | temp8 = true; |
d14a1e28 RD |
17509 | } |
17510 | } | |
17511 | { | |
17512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17513 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17514 | ||
17515 | wxPyEndAllowThreads(__tstate); | |
17516 | if (PyErr_Occurred()) SWIG_fail; | |
17517 | } | |
4f89f6a3 RD |
17518 | { |
17519 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17520 | } | |
d14a1e28 RD |
17521 | { |
17522 | if (temp4) | |
17523 | delete arg4; | |
17524 | } | |
17525 | { | |
17526 | if (temp8) | |
17527 | delete arg8; | |
17528 | } | |
17529 | return resultobj; | |
17530 | fail: | |
17531 | { | |
17532 | if (temp4) | |
17533 | delete arg4; | |
17534 | } | |
17535 | { | |
17536 | if (temp8) | |
17537 | delete arg8; | |
17538 | } | |
17539 | return NULL; | |
17540 | } | |
17541 | ||
17542 | ||
c32bde28 | 17543 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17544 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17545 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17546 | PyObject * obj0 = 0 ; | |
17547 | char *kwnames[] = { | |
17548 | (char *) "self", NULL | |
17549 | }; | |
17550 | ||
17551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17552 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17553 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17554 | { |
17555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17556 | (arg1)->ActivateNext(); | |
17557 | ||
17558 | wxPyEndAllowThreads(__tstate); | |
17559 | if (PyErr_Occurred()) SWIG_fail; | |
17560 | } | |
17561 | Py_INCREF(Py_None); resultobj = Py_None; | |
17562 | return resultobj; | |
17563 | fail: | |
17564 | return NULL; | |
17565 | } | |
17566 | ||
17567 | ||
c32bde28 | 17568 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17569 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17570 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17571 | PyObject * obj0 = 0 ; | |
17572 | char *kwnames[] = { | |
17573 | (char *) "self", NULL | |
17574 | }; | |
17575 | ||
17576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17577 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17578 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17579 | { |
17580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17581 | (arg1)->ActivatePrevious(); | |
17582 | ||
17583 | wxPyEndAllowThreads(__tstate); | |
17584 | if (PyErr_Occurred()) SWIG_fail; | |
17585 | } | |
17586 | Py_INCREF(Py_None); resultobj = Py_None; | |
17587 | return resultobj; | |
17588 | fail: | |
17589 | return NULL; | |
17590 | } | |
17591 | ||
17592 | ||
c32bde28 | 17593 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17594 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17595 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17596 | PyObject * obj0 = 0 ; | |
17597 | char *kwnames[] = { | |
17598 | (char *) "self", NULL | |
17599 | }; | |
17600 | ||
17601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17604 | { |
17605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17606 | (arg1)->ArrangeIcons(); | |
17607 | ||
17608 | wxPyEndAllowThreads(__tstate); | |
17609 | if (PyErr_Occurred()) SWIG_fail; | |
17610 | } | |
17611 | Py_INCREF(Py_None); resultobj = Py_None; | |
17612 | return resultobj; | |
17613 | fail: | |
17614 | return NULL; | |
17615 | } | |
17616 | ||
17617 | ||
c32bde28 | 17618 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17619 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17620 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17621 | PyObject * obj0 = 0 ; | |
17622 | char *kwnames[] = { | |
17623 | (char *) "self", NULL | |
17624 | }; | |
17625 | ||
17626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17627 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17628 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17629 | { |
17630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17631 | (arg1)->Cascade(); | |
17632 | ||
17633 | wxPyEndAllowThreads(__tstate); | |
17634 | if (PyErr_Occurred()) SWIG_fail; | |
17635 | } | |
17636 | Py_INCREF(Py_None); resultobj = Py_None; | |
17637 | return resultobj; | |
17638 | fail: | |
17639 | return NULL; | |
17640 | } | |
17641 | ||
17642 | ||
c32bde28 | 17643 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17644 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17645 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17646 | wxMDIChildFrame *result; | |
17647 | PyObject * obj0 = 0 ; | |
17648 | char *kwnames[] = { | |
17649 | (char *) "self", NULL | |
17650 | }; | |
17651 | ||
17652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17653 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17654 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17655 | { |
17656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17657 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
17658 | ||
17659 | wxPyEndAllowThreads(__tstate); | |
17660 | if (PyErr_Occurred()) SWIG_fail; | |
17661 | } | |
17662 | { | |
7e08d4ef | 17663 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
17664 | } |
17665 | return resultobj; | |
17666 | fail: | |
17667 | return NULL; | |
17668 | } | |
17669 | ||
17670 | ||
c32bde28 | 17671 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17672 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17673 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17674 | wxMDIClientWindow *result; | |
17675 | PyObject * obj0 = 0 ; | |
17676 | char *kwnames[] = { | |
17677 | (char *) "self", NULL | |
17678 | }; | |
17679 | ||
17680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17681 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17682 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17683 | { |
17684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17685 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
17686 | ||
17687 | wxPyEndAllowThreads(__tstate); | |
17688 | if (PyErr_Occurred()) SWIG_fail; | |
17689 | } | |
17690 | { | |
7e08d4ef | 17691 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
17692 | } |
17693 | return resultobj; | |
17694 | fail: | |
17695 | return NULL; | |
17696 | } | |
17697 | ||
17698 | ||
c32bde28 | 17699 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17700 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17701 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17702 | wxWindow *result; | |
17703 | PyObject * obj0 = 0 ; | |
17704 | char *kwnames[] = { | |
17705 | (char *) "self", NULL | |
17706 | }; | |
17707 | ||
17708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17709 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17711 | { |
17712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17713 | result = (wxWindow *)(arg1)->GetToolBar(); | |
17714 | ||
17715 | wxPyEndAllowThreads(__tstate); | |
17716 | if (PyErr_Occurred()) SWIG_fail; | |
17717 | } | |
17718 | { | |
412d302d | 17719 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
17720 | } |
17721 | return resultobj; | |
17722 | fail: | |
17723 | return NULL; | |
17724 | } | |
17725 | ||
17726 | ||
c32bde28 | 17727 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17728 | PyObject *resultobj = NULL; |
d14a1e28 | 17729 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
396fb509 | 17730 | wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ; |
d14a1e28 | 17731 | PyObject * obj0 = 0 ; |
396fb509 | 17732 | PyObject * obj1 = 0 ; |
d14a1e28 | 17733 | char *kwnames[] = { |
396fb509 | 17734 | (char *) "self",(char *) "orient", NULL |
d14a1e28 RD |
17735 | }; |
17736 | ||
396fb509 | 17737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
17738 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17739 | if (SWIG_arg_fail(1)) SWIG_fail; | |
396fb509 RD |
17740 | if (obj1) { |
17741 | { | |
32fe5131 | 17742 | arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1)); |
396fb509 RD |
17743 | if (SWIG_arg_fail(2)) SWIG_fail; |
17744 | } | |
17745 | } | |
d14a1e28 RD |
17746 | { |
17747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 17748 | (arg1)->Tile(arg2); |
d14a1e28 RD |
17749 | |
17750 | wxPyEndAllowThreads(__tstate); | |
17751 | if (PyErr_Occurred()) SWIG_fail; | |
17752 | } | |
17753 | Py_INCREF(Py_None); resultobj = Py_None; | |
17754 | return resultobj; | |
17755 | fail: | |
17756 | return NULL; | |
17757 | } | |
17758 | ||
17759 | ||
c32bde28 | 17760 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
17761 | PyObject *obj; |
17762 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17763 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
17764 | Py_INCREF(obj); | |
17765 | return Py_BuildValue((char *)""); | |
17766 | } | |
c32bde28 | 17767 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17768 | PyObject *resultobj = NULL; |
d14a1e28 | 17769 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
248ed943 RD |
17770 | int arg2 = (int) (int)-1 ; |
17771 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17772 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
17773 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
17774 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
17775 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
17776 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
17777 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
17778 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
17779 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
17780 | wxMDIChildFrame *result; | |
ae8162c8 | 17781 | bool temp3 = false ; |
d14a1e28 RD |
17782 | wxPoint temp4 ; |
17783 | wxSize temp5 ; | |
ae8162c8 | 17784 | bool temp7 = false ; |
d14a1e28 | 17785 | PyObject * obj0 = 0 ; |
994141e6 | 17786 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17787 | PyObject * obj2 = 0 ; |
17788 | PyObject * obj3 = 0 ; | |
17789 | PyObject * obj4 = 0 ; | |
994141e6 | 17790 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
17791 | PyObject * obj6 = 0 ; |
17792 | char *kwnames[] = { | |
17793 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17794 | }; | |
17795 | ||
248ed943 | 17796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
17797 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17798 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 17799 | if (obj1) { |
093d3ff1 | 17800 | { |
32fe5131 | 17801 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
17802 | if (SWIG_arg_fail(2)) SWIG_fail; |
17803 | } | |
248ed943 RD |
17804 | } |
17805 | if (obj2) { | |
17806 | { | |
17807 | arg3 = wxString_in_helper(obj2); | |
17808 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 17809 | temp3 = true; |
248ed943 | 17810 | } |
d14a1e28 RD |
17811 | } |
17812 | if (obj3) { | |
17813 | { | |
17814 | arg4 = &temp4; | |
17815 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
17816 | } | |
17817 | } | |
17818 | if (obj4) { | |
17819 | { | |
17820 | arg5 = &temp5; | |
17821 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
17822 | } | |
17823 | } | |
994141e6 | 17824 | if (obj5) { |
093d3ff1 | 17825 | { |
32fe5131 | 17826 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
17827 | if (SWIG_arg_fail(6)) SWIG_fail; |
17828 | } | |
994141e6 | 17829 | } |
d14a1e28 RD |
17830 | if (obj6) { |
17831 | { | |
17832 | arg7 = wxString_in_helper(obj6); | |
17833 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 17834 | temp7 = true; |
d14a1e28 RD |
17835 | } |
17836 | } | |
17837 | { | |
e3b71cb8 | 17838 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17840 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
17841 | ||
17842 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17843 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17844 | } |
b0f7404b | 17845 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d14a1e28 RD |
17846 | { |
17847 | if (temp3) | |
17848 | delete arg3; | |
17849 | } | |
17850 | { | |
17851 | if (temp7) | |
17852 | delete arg7; | |
17853 | } | |
17854 | return resultobj; | |
17855 | fail: | |
17856 | { | |
17857 | if (temp3) | |
17858 | delete arg3; | |
17859 | } | |
17860 | { | |
17861 | if (temp7) | |
17862 | delete arg7; | |
17863 | } | |
17864 | return NULL; | |
17865 | } | |
17866 | ||
17867 | ||
c32bde28 | 17868 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17869 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17870 | wxMDIChildFrame *result; |
17871 | char *kwnames[] = { | |
17872 | NULL | |
17873 | }; | |
17874 | ||
17875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
17876 | { | |
e3b71cb8 | 17877 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17879 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
17880 | ||
17881 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17882 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17883 | } |
b0f7404b | 17884 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d14a1e28 RD |
17885 | return resultobj; |
17886 | fail: | |
17887 | return NULL; | |
17888 | } | |
17889 | ||
17890 | ||
c32bde28 | 17891 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17892 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17893 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; |
17894 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
17895 | int arg3 = (int) (int)-1 ; |
17896 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
17897 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
17898 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
17899 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
17900 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
17901 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
17902 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
17903 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
17904 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
17905 | bool result; | |
ae8162c8 | 17906 | bool temp4 = false ; |
d14a1e28 RD |
17907 | wxPoint temp5 ; |
17908 | wxSize temp6 ; | |
ae8162c8 | 17909 | bool temp8 = false ; |
d14a1e28 RD |
17910 | PyObject * obj0 = 0 ; |
17911 | PyObject * obj1 = 0 ; | |
994141e6 | 17912 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
17913 | PyObject * obj3 = 0 ; |
17914 | PyObject * obj4 = 0 ; | |
17915 | PyObject * obj5 = 0 ; | |
994141e6 | 17916 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
17917 | PyObject * obj7 = 0 ; |
17918 | char *kwnames[] = { | |
17919 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17920 | }; | |
17921 | ||
248ed943 | 17922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
17923 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17924 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17925 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
17926 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 17927 | if (obj2) { |
093d3ff1 | 17928 | { |
32fe5131 | 17929 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
17930 | if (SWIG_arg_fail(3)) SWIG_fail; |
17931 | } | |
248ed943 RD |
17932 | } |
17933 | if (obj3) { | |
17934 | { | |
17935 | arg4 = wxString_in_helper(obj3); | |
17936 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 17937 | temp4 = true; |
248ed943 | 17938 | } |
d14a1e28 RD |
17939 | } |
17940 | if (obj4) { | |
17941 | { | |
17942 | arg5 = &temp5; | |
17943 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
17944 | } | |
17945 | } | |
17946 | if (obj5) { | |
17947 | { | |
17948 | arg6 = &temp6; | |
17949 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
17950 | } | |
17951 | } | |
994141e6 | 17952 | if (obj6) { |
093d3ff1 | 17953 | { |
32fe5131 | 17954 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
093d3ff1 RD |
17955 | if (SWIG_arg_fail(7)) SWIG_fail; |
17956 | } | |
994141e6 | 17957 | } |
d14a1e28 RD |
17958 | if (obj7) { |
17959 | { | |
17960 | arg8 = wxString_in_helper(obj7); | |
17961 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 17962 | temp8 = true; |
d14a1e28 RD |
17963 | } |
17964 | } | |
17965 | { | |
17966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17967 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17968 | ||
17969 | wxPyEndAllowThreads(__tstate); | |
17970 | if (PyErr_Occurred()) SWIG_fail; | |
17971 | } | |
4f89f6a3 RD |
17972 | { |
17973 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17974 | } | |
d14a1e28 RD |
17975 | { |
17976 | if (temp4) | |
17977 | delete arg4; | |
17978 | } | |
17979 | { | |
17980 | if (temp8) | |
17981 | delete arg8; | |
17982 | } | |
17983 | return resultobj; | |
17984 | fail: | |
17985 | { | |
17986 | if (temp4) | |
17987 | delete arg4; | |
17988 | } | |
17989 | { | |
17990 | if (temp8) | |
17991 | delete arg8; | |
17992 | } | |
17993 | return NULL; | |
17994 | } | |
17995 | ||
17996 | ||
c32bde28 | 17997 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17998 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17999 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; |
18000 | PyObject * obj0 = 0 ; | |
18001 | char *kwnames[] = { | |
18002 | (char *) "self", NULL | |
18003 | }; | |
18004 | ||
18005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18006 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
18007 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18008 | { |
18009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18010 | (arg1)->Activate(); | |
18011 | ||
18012 | wxPyEndAllowThreads(__tstate); | |
18013 | if (PyErr_Occurred()) SWIG_fail; | |
18014 | } | |
18015 | Py_INCREF(Py_None); resultobj = Py_None; | |
18016 | return resultobj; | |
18017 | fail: | |
18018 | return NULL; | |
18019 | } | |
18020 | ||
18021 | ||
c32bde28 | 18022 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18023 | PyObject *resultobj = NULL; |
d14a1e28 | 18024 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; |
5cbf236d | 18025 | bool arg2 = (bool) true ; |
d14a1e28 RD |
18026 | PyObject * obj0 = 0 ; |
18027 | PyObject * obj1 = 0 ; | |
18028 | char *kwnames[] = { | |
18029 | (char *) "self",(char *) "maximize", NULL | |
18030 | }; | |
18031 | ||
5cbf236d | 18032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
18033 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
18034 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d | 18035 | if (obj1) { |
093d3ff1 | 18036 | { |
32fe5131 | 18037 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
18038 | if (SWIG_arg_fail(2)) SWIG_fail; |
18039 | } | |
5cbf236d | 18040 | } |
d14a1e28 RD |
18041 | { |
18042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18043 | (arg1)->Maximize(arg2); | |
18044 | ||
18045 | wxPyEndAllowThreads(__tstate); | |
18046 | if (PyErr_Occurred()) SWIG_fail; | |
18047 | } | |
18048 | Py_INCREF(Py_None); resultobj = Py_None; | |
18049 | return resultobj; | |
18050 | fail: | |
18051 | return NULL; | |
18052 | } | |
18053 | ||
18054 | ||
c32bde28 | 18055 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18056 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18057 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; |
18058 | PyObject * obj0 = 0 ; | |
18059 | char *kwnames[] = { | |
18060 | (char *) "self", NULL | |
18061 | }; | |
18062 | ||
18063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18064 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
18065 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18066 | { |
18067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18068 | (arg1)->Restore(); | |
18069 | ||
18070 | wxPyEndAllowThreads(__tstate); | |
18071 | if (PyErr_Occurred()) SWIG_fail; | |
18072 | } | |
18073 | Py_INCREF(Py_None); resultobj = Py_None; | |
18074 | return resultobj; | |
18075 | fail: | |
18076 | return NULL; | |
18077 | } | |
18078 | ||
18079 | ||
c32bde28 | 18080 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
18081 | PyObject *obj; |
18082 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18083 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
18084 | Py_INCREF(obj); | |
18085 | return Py_BuildValue((char *)""); | |
18086 | } | |
c32bde28 | 18087 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18088 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18089 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
18090 | long arg2 = (long) 0 ; | |
18091 | wxMDIClientWindow *result; | |
18092 | PyObject * obj0 = 0 ; | |
994141e6 | 18093 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18094 | char *kwnames[] = { |
18095 | (char *) "parent",(char *) "style", NULL | |
18096 | }; | |
18097 | ||
994141e6 | 18098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
18099 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
18100 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 18101 | if (obj1) { |
093d3ff1 | 18102 | { |
32fe5131 | 18103 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
18104 | if (SWIG_arg_fail(2)) SWIG_fail; |
18105 | } | |
994141e6 | 18106 | } |
d14a1e28 | 18107 | { |
e3b71cb8 | 18108 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
18109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18110 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
18111 | ||
18112 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18113 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 18114 | } |
b0f7404b | 18115 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d14a1e28 RD |
18116 | return resultobj; |
18117 | fail: | |
18118 | return NULL; | |
18119 | } | |
18120 | ||
18121 | ||
c32bde28 | 18122 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18123 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18124 | wxMDIClientWindow *result; |
18125 | char *kwnames[] = { | |
18126 | NULL | |
18127 | }; | |
18128 | ||
18129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
18130 | { | |
e3b71cb8 | 18131 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
18132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18133 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
18134 | ||
18135 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18136 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 18137 | } |
b0f7404b | 18138 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d14a1e28 RD |
18139 | return resultobj; |
18140 | fail: | |
18141 | return NULL; | |
18142 | } | |
18143 | ||
18144 | ||
c32bde28 | 18145 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18146 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18147 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; |
18148 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
18149 | long arg3 = (long) 0 ; | |
18150 | bool result; | |
18151 | PyObject * obj0 = 0 ; | |
18152 | PyObject * obj1 = 0 ; | |
994141e6 | 18153 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
18154 | char *kwnames[] = { |
18155 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
18156 | }; | |
18157 | ||
994141e6 | 18158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
18159 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0); |
18160 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18161 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
18162 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 18163 | if (obj2) { |
093d3ff1 | 18164 | { |
32fe5131 | 18165 | arg3 = static_cast<long >(SWIG_As_long(obj2)); |
093d3ff1 RD |
18166 | if (SWIG_arg_fail(3)) SWIG_fail; |
18167 | } | |
994141e6 | 18168 | } |
d14a1e28 RD |
18169 | { |
18170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18171 | result = (bool)(arg1)->Create(arg2,arg3); | |
18172 | ||
18173 | wxPyEndAllowThreads(__tstate); | |
18174 | if (PyErr_Occurred()) SWIG_fail; | |
18175 | } | |
4f89f6a3 RD |
18176 | { |
18177 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18178 | } | |
d14a1e28 RD |
18179 | return resultobj; |
18180 | fail: | |
18181 | return NULL; | |
18182 | } | |
18183 | ||
18184 | ||
c32bde28 | 18185 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
18186 | PyObject *obj; |
18187 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18188 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
18189 | Py_INCREF(obj); | |
18190 | return Py_BuildValue((char *)""); | |
18191 | } | |
c32bde28 | 18192 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18193 | PyObject *resultobj = NULL; |
d14a1e28 | 18194 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 18195 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
18196 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
18197 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
18198 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
18199 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
18200 | long arg5 = (long) 0 ; | |
18201 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
18202 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
18203 | wxPyWindow *result; | |
18204 | wxPoint temp3 ; | |
18205 | wxSize temp4 ; | |
ae8162c8 | 18206 | bool temp6 = false ; |
d14a1e28 | 18207 | PyObject * obj0 = 0 ; |
994141e6 | 18208 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18209 | PyObject * obj2 = 0 ; |
18210 | PyObject * obj3 = 0 ; | |
994141e6 | 18211 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
18212 | PyObject * obj5 = 0 ; |
18213 | char *kwnames[] = { | |
18214 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
18215 | }; | |
18216 | ||
248ed943 | 18217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
18218 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
18219 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 18220 | if (obj1) { |
093d3ff1 | 18221 | { |
32fe5131 | 18222 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18223 | if (SWIG_arg_fail(2)) SWIG_fail; |
18224 | } | |
248ed943 | 18225 | } |
d14a1e28 RD |
18226 | if (obj2) { |
18227 | { | |
18228 | arg3 = &temp3; | |
18229 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
18230 | } | |
18231 | } | |
18232 | if (obj3) { | |
18233 | { | |
18234 | arg4 = &temp4; | |
18235 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
18236 | } | |
18237 | } | |
994141e6 | 18238 | if (obj4) { |
093d3ff1 | 18239 | { |
32fe5131 | 18240 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
18241 | if (SWIG_arg_fail(5)) SWIG_fail; |
18242 | } | |
994141e6 | 18243 | } |
d14a1e28 RD |
18244 | if (obj5) { |
18245 | { | |
18246 | arg6 = wxString_in_helper(obj5); | |
18247 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 18248 | temp6 = true; |
d14a1e28 RD |
18249 | } |
18250 | } | |
18251 | { | |
e3b71cb8 | 18252 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
18253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18254 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
18255 | ||
18256 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18257 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 18258 | } |
15afbcd0 | 18259 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
18260 | { |
18261 | if (temp6) | |
18262 | delete arg6; | |
18263 | } | |
18264 | return resultobj; | |
18265 | fail: | |
18266 | { | |
18267 | if (temp6) | |
18268 | delete arg6; | |
18269 | } | |
18270 | return NULL; | |
18271 | } | |
18272 | ||
18273 | ||
c32bde28 | 18274 | static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18275 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
18276 | wxPyWindow *result; |
18277 | char *kwnames[] = { | |
18278 | NULL | |
18279 | }; | |
18280 | ||
18281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
18282 | { | |
e3b71cb8 | 18283 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
18284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18285 | result = (wxPyWindow *)new wxPyWindow(); | |
18286 | ||
18287 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18288 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
18289 | } |
18290 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
18291 | return resultobj; | |
18292 | fail: | |
18293 | return NULL; | |
18294 | } | |
18295 | ||
18296 | ||
c32bde28 | 18297 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18298 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18299 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18300 | PyObject *arg2 = (PyObject *) 0 ; | |
18301 | PyObject *arg3 = (PyObject *) 0 ; | |
18302 | PyObject * obj0 = 0 ; | |
18303 | PyObject * obj1 = 0 ; | |
18304 | PyObject * obj2 = 0 ; | |
18305 | char *kwnames[] = { | |
18306 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
18307 | }; | |
18308 | ||
18309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
18310 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18311 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18312 | arg2 = obj1; |
18313 | arg3 = obj2; | |
18314 | { | |
18315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18316 | (arg1)->_setCallbackInfo(arg2,arg3); | |
18317 | ||
18318 | wxPyEndAllowThreads(__tstate); | |
18319 | if (PyErr_Occurred()) SWIG_fail; | |
18320 | } | |
18321 | Py_INCREF(Py_None); resultobj = Py_None; | |
18322 | return resultobj; | |
18323 | fail: | |
18324 | return NULL; | |
18325 | } | |
18326 | ||
18327 | ||
c32bde28 | 18328 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18329 | PyObject *resultobj = NULL; |
db3e571a RD |
18330 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18331 | wxSize *arg2 = 0 ; | |
18332 | wxSize temp2 ; | |
18333 | PyObject * obj0 = 0 ; | |
18334 | PyObject * obj1 = 0 ; | |
18335 | char *kwnames[] = { | |
18336 | (char *) "self",(char *) "size", NULL | |
18337 | }; | |
18338 | ||
18339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
18340 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18341 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
18342 | { |
18343 | arg2 = &temp2; | |
18344 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18345 | } | |
18346 | { | |
18347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18348 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
18349 | ||
18350 | wxPyEndAllowThreads(__tstate); | |
18351 | if (PyErr_Occurred()) SWIG_fail; | |
18352 | } | |
18353 | Py_INCREF(Py_None); resultobj = Py_None; | |
18354 | return resultobj; | |
18355 | fail: | |
18356 | return NULL; | |
18357 | } | |
18358 | ||
18359 | ||
976dbff5 | 18360 | static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18361 | PyObject *resultobj = NULL; |
976dbff5 RD |
18362 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18363 | wxDC *arg2 = (wxDC *) 0 ; | |
18364 | bool result; | |
18365 | PyObject * obj0 = 0 ; | |
18366 | PyObject * obj1 = 0 ; | |
18367 | char *kwnames[] = { | |
18368 | (char *) "self",(char *) "dc", NULL | |
18369 | }; | |
18370 | ||
18371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail; | |
18372 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); | |
18373 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18374 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
18375 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18376 | { | |
18377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18378 | result = (bool)(arg1)->DoEraseBackground(arg2); | |
18379 | ||
18380 | wxPyEndAllowThreads(__tstate); | |
18381 | if (PyErr_Occurred()) SWIG_fail; | |
18382 | } | |
18383 | { | |
18384 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18385 | } | |
18386 | return resultobj; | |
18387 | fail: | |
18388 | return NULL; | |
18389 | } | |
18390 | ||
18391 | ||
c26d9ab4 | 18392 | static PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18393 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18394 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18395 | int arg2 ; | |
18396 | int arg3 ; | |
18397 | int arg4 ; | |
18398 | int arg5 ; | |
18399 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18400 | PyObject * obj1 = 0 ; |
18401 | PyObject * obj2 = 0 ; | |
18402 | PyObject * obj3 = 0 ; | |
18403 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
18404 | char *kwnames[] = { |
18405 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
18406 | }; | |
18407 | ||
c26d9ab4 | 18408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
18409 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18410 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18411 | { | |
32fe5131 | 18412 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18413 | if (SWIG_arg_fail(2)) SWIG_fail; |
18414 | } | |
18415 | { | |
32fe5131 | 18416 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
18417 | if (SWIG_arg_fail(3)) SWIG_fail; |
18418 | } | |
18419 | { | |
32fe5131 | 18420 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
18421 | if (SWIG_arg_fail(4)) SWIG_fail; |
18422 | } | |
18423 | { | |
32fe5131 | 18424 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
18425 | if (SWIG_arg_fail(5)) SWIG_fail; |
18426 | } | |
d14a1e28 RD |
18427 | { |
18428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18429 | (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
18430 | |
18431 | wxPyEndAllowThreads(__tstate); | |
18432 | if (PyErr_Occurred()) SWIG_fail; | |
18433 | } | |
18434 | Py_INCREF(Py_None); resultobj = Py_None; | |
18435 | return resultobj; | |
18436 | fail: | |
18437 | return NULL; | |
18438 | } | |
18439 | ||
18440 | ||
c26d9ab4 | 18441 | static PyObject *_wrap_PyWindow_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18442 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18443 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18444 | int arg2 ; | |
18445 | int arg3 ; | |
18446 | int arg4 ; | |
18447 | int arg5 ; | |
18448 | int arg6 = (int) wxSIZE_AUTO ; | |
18449 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18450 | PyObject * obj1 = 0 ; |
18451 | PyObject * obj2 = 0 ; | |
18452 | PyObject * obj3 = 0 ; | |
18453 | PyObject * obj4 = 0 ; | |
18454 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
18455 | char *kwnames[] = { |
18456 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
18457 | }; | |
18458 | ||
c26d9ab4 | 18459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
18460 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18461 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18462 | { | |
32fe5131 | 18463 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18464 | if (SWIG_arg_fail(2)) SWIG_fail; |
18465 | } | |
18466 | { | |
32fe5131 | 18467 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
18468 | if (SWIG_arg_fail(3)) SWIG_fail; |
18469 | } | |
18470 | { | |
32fe5131 | 18471 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
18472 | if (SWIG_arg_fail(4)) SWIG_fail; |
18473 | } | |
18474 | { | |
32fe5131 | 18475 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
18476 | if (SWIG_arg_fail(5)) SWIG_fail; |
18477 | } | |
994141e6 | 18478 | if (obj5) { |
093d3ff1 | 18479 | { |
32fe5131 | 18480 | arg6 = static_cast<int >(SWIG_As_int(obj5)); |
093d3ff1 RD |
18481 | if (SWIG_arg_fail(6)) SWIG_fail; |
18482 | } | |
994141e6 | 18483 | } |
d14a1e28 RD |
18484 | { |
18485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18486 | (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6); |
d14a1e28 RD |
18487 | |
18488 | wxPyEndAllowThreads(__tstate); | |
18489 | if (PyErr_Occurred()) SWIG_fail; | |
18490 | } | |
18491 | Py_INCREF(Py_None); resultobj = Py_None; | |
18492 | return resultobj; | |
18493 | fail: | |
18494 | return NULL; | |
18495 | } | |
18496 | ||
18497 | ||
c26d9ab4 | 18498 | static PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18499 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18500 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18501 | int arg2 ; | |
18502 | int arg3 ; | |
18503 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18504 | PyObject * obj1 = 0 ; |
18505 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
18506 | char *kwnames[] = { |
18507 | (char *) "self",(char *) "width",(char *) "height", NULL | |
18508 | }; | |
18509 | ||
c26d9ab4 | 18510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
18511 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18512 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18513 | { | |
32fe5131 | 18514 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18515 | if (SWIG_arg_fail(2)) SWIG_fail; |
18516 | } | |
18517 | { | |
32fe5131 | 18518 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
18519 | if (SWIG_arg_fail(3)) SWIG_fail; |
18520 | } | |
d14a1e28 RD |
18521 | { |
18522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18523 | (arg1)->DoSetClientSize(arg2,arg3); |
d14a1e28 RD |
18524 | |
18525 | wxPyEndAllowThreads(__tstate); | |
18526 | if (PyErr_Occurred()) SWIG_fail; | |
18527 | } | |
18528 | Py_INCREF(Py_None); resultobj = Py_None; | |
18529 | return resultobj; | |
18530 | fail: | |
18531 | return NULL; | |
18532 | } | |
18533 | ||
18534 | ||
c26d9ab4 | 18535 | static PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18536 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18537 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18538 | int arg2 ; | |
18539 | int arg3 ; | |
18540 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18541 | PyObject * obj1 = 0 ; |
18542 | PyObject * obj2 = 0 ; | |
d14a1e28 | 18543 | char *kwnames[] = { |
15afbcd0 RD |
18544 | (char *) "self",(char *) "x",(char *) "y", NULL |
18545 | }; | |
18546 | ||
c26d9ab4 | 18547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
18548 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18549 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18550 | { | |
32fe5131 | 18551 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18552 | if (SWIG_arg_fail(2)) SWIG_fail; |
18553 | } | |
18554 | { | |
32fe5131 | 18555 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
18556 | if (SWIG_arg_fail(3)) SWIG_fail; |
18557 | } | |
d14a1e28 RD |
18558 | { |
18559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18560 | (arg1)->DoSetVirtualSize(arg2,arg3); |
d14a1e28 RD |
18561 | |
18562 | wxPyEndAllowThreads(__tstate); | |
18563 | if (PyErr_Occurred()) SWIG_fail; | |
18564 | } | |
18565 | Py_INCREF(Py_None); resultobj = Py_None; | |
18566 | return resultobj; | |
18567 | fail: | |
18568 | return NULL; | |
18569 | } | |
18570 | ||
18571 | ||
c26d9ab4 | 18572 | static PyObject *_wrap_PyWindow_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18573 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18574 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18575 | int *arg2 = (int *) 0 ; | |
18576 | int *arg3 = (int *) 0 ; | |
18577 | int temp2 ; | |
c32bde28 | 18578 | int res2 = 0 ; |
d14a1e28 | 18579 | int temp3 ; |
c32bde28 | 18580 | int res3 = 0 ; |
d14a1e28 RD |
18581 | PyObject * obj0 = 0 ; |
18582 | char *kwnames[] = { | |
18583 | (char *) "self", NULL | |
18584 | }; | |
18585 | ||
c32bde28 RD |
18586 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18587 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 18588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18589 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18590 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18591 | { |
18592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18593 | ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3); |
d14a1e28 RD |
18594 | |
18595 | wxPyEndAllowThreads(__tstate); | |
18596 | if (PyErr_Occurred()) SWIG_fail; | |
18597 | } | |
18598 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18599 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18600 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18601 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18602 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
18603 | return resultobj; |
18604 | fail: | |
18605 | return NULL; | |
18606 | } | |
18607 | ||
18608 | ||
c26d9ab4 | 18609 | static PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18610 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18611 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18612 | int *arg2 = (int *) 0 ; | |
18613 | int *arg3 = (int *) 0 ; | |
18614 | int temp2 ; | |
c32bde28 | 18615 | int res2 = 0 ; |
d14a1e28 | 18616 | int temp3 ; |
c32bde28 | 18617 | int res3 = 0 ; |
d14a1e28 RD |
18618 | PyObject * obj0 = 0 ; |
18619 | char *kwnames[] = { | |
18620 | (char *) "self", NULL | |
18621 | }; | |
18622 | ||
c32bde28 RD |
18623 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18624 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 18625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetClientSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18626 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18627 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18628 | { |
18629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18630 | ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3); |
d14a1e28 RD |
18631 | |
18632 | wxPyEndAllowThreads(__tstate); | |
18633 | if (PyErr_Occurred()) SWIG_fail; | |
18634 | } | |
18635 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18636 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18637 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18638 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18639 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
18640 | return resultobj; |
18641 | fail: | |
18642 | return NULL; | |
18643 | } | |
18644 | ||
18645 | ||
c26d9ab4 | 18646 | static PyObject *_wrap_PyWindow_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18647 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18648 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18649 | int *arg2 = (int *) 0 ; | |
18650 | int *arg3 = (int *) 0 ; | |
18651 | int temp2 ; | |
c32bde28 | 18652 | int res2 = 0 ; |
d14a1e28 | 18653 | int temp3 ; |
c32bde28 | 18654 | int res3 = 0 ; |
d14a1e28 RD |
18655 | PyObject * obj0 = 0 ; |
18656 | char *kwnames[] = { | |
18657 | (char *) "self", NULL | |
18658 | }; | |
18659 | ||
c32bde28 RD |
18660 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18661 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 18662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetPosition",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18663 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18664 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18665 | { |
18666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18667 | ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3); |
d14a1e28 RD |
18668 | |
18669 | wxPyEndAllowThreads(__tstate); | |
18670 | if (PyErr_Occurred()) SWIG_fail; | |
18671 | } | |
18672 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18673 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18674 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18675 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18676 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
18677 | return resultobj; |
18678 | fail: | |
18679 | return NULL; | |
18680 | } | |
18681 | ||
18682 | ||
c26d9ab4 | 18683 | static PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18684 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18685 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18686 | wxSize result; | |
18687 | PyObject * obj0 = 0 ; | |
18688 | char *kwnames[] = { | |
18689 | (char *) "self", NULL | |
18690 | }; | |
18691 | ||
c26d9ab4 | 18692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetVirtualSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18695 | { |
18696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18697 | result = ((wxPyWindow const *)arg1)->DoGetVirtualSize(); |
d14a1e28 RD |
18698 | |
18699 | wxPyEndAllowThreads(__tstate); | |
18700 | if (PyErr_Occurred()) SWIG_fail; | |
18701 | } | |
18702 | { | |
18703 | wxSize * resultptr; | |
32fe5131 | 18704 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 18705 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
18706 | } |
18707 | return resultobj; | |
18708 | fail: | |
18709 | return NULL; | |
18710 | } | |
18711 | ||
18712 | ||
c26d9ab4 | 18713 | static PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18714 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18715 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18716 | wxSize result; | |
18717 | PyObject * obj0 = 0 ; | |
18718 | char *kwnames[] = { | |
18719 | (char *) "self", NULL | |
18720 | }; | |
18721 | ||
c26d9ab4 | 18722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetBestSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18723 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18725 | { |
18726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18727 | result = ((wxPyWindow const *)arg1)->DoGetBestSize(); |
d14a1e28 RD |
18728 | |
18729 | wxPyEndAllowThreads(__tstate); | |
18730 | if (PyErr_Occurred()) SWIG_fail; | |
18731 | } | |
18732 | { | |
18733 | wxSize * resultptr; | |
32fe5131 | 18734 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 18735 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
18736 | } |
18737 | return resultobj; | |
18738 | fail: | |
18739 | return NULL; | |
18740 | } | |
18741 | ||
18742 | ||
c26d9ab4 | 18743 | static PyObject *_wrap_PyWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18744 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18745 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18746 | PyObject * obj0 = 0 ; | |
18747 | char *kwnames[] = { | |
18748 | (char *) "self", NULL | |
18749 | }; | |
18750 | ||
c26d9ab4 | 18751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_InitDialog",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18752 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18754 | { |
18755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18756 | (arg1)->InitDialog(); |
d14a1e28 RD |
18757 | |
18758 | wxPyEndAllowThreads(__tstate); | |
18759 | if (PyErr_Occurred()) SWIG_fail; | |
18760 | } | |
18761 | Py_INCREF(Py_None); resultobj = Py_None; | |
18762 | return resultobj; | |
18763 | fail: | |
18764 | return NULL; | |
18765 | } | |
18766 | ||
18767 | ||
c26d9ab4 | 18768 | static PyObject *_wrap_PyWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18769 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18770 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18771 | bool result; | |
18772 | PyObject * obj0 = 0 ; | |
18773 | char *kwnames[] = { | |
18774 | (char *) "self", NULL | |
18775 | }; | |
18776 | ||
c26d9ab4 | 18777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_TransferDataToWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18778 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18779 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18780 | { |
18781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18782 | result = (bool)(arg1)->TransferDataToWindow(); |
d14a1e28 RD |
18783 | |
18784 | wxPyEndAllowThreads(__tstate); | |
18785 | if (PyErr_Occurred()) SWIG_fail; | |
18786 | } | |
4f89f6a3 RD |
18787 | { |
18788 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18789 | } | |
d14a1e28 RD |
18790 | return resultobj; |
18791 | fail: | |
18792 | return NULL; | |
18793 | } | |
18794 | ||
18795 | ||
c26d9ab4 | 18796 | static PyObject *_wrap_PyWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18797 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18798 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18799 | bool result; | |
18800 | PyObject * obj0 = 0 ; | |
18801 | char *kwnames[] = { | |
18802 | (char *) "self", NULL | |
18803 | }; | |
18804 | ||
c26d9ab4 | 18805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18806 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18807 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18808 | { |
18809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18810 | result = (bool)(arg1)->TransferDataFromWindow(); |
d14a1e28 RD |
18811 | |
18812 | wxPyEndAllowThreads(__tstate); | |
18813 | if (PyErr_Occurred()) SWIG_fail; | |
18814 | } | |
4f89f6a3 RD |
18815 | { |
18816 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18817 | } | |
d14a1e28 RD |
18818 | return resultobj; |
18819 | fail: | |
18820 | return NULL; | |
18821 | } | |
18822 | ||
18823 | ||
c26d9ab4 | 18824 | static PyObject *_wrap_PyWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18825 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18826 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18827 | bool result; | |
18828 | PyObject * obj0 = 0 ; | |
18829 | char *kwnames[] = { | |
18830 | (char *) "self", NULL | |
18831 | }; | |
18832 | ||
c26d9ab4 | 18833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_Validate",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18834 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18835 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18836 | { |
18837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18838 | result = (bool)(arg1)->Validate(); |
d14a1e28 RD |
18839 | |
18840 | wxPyEndAllowThreads(__tstate); | |
18841 | if (PyErr_Occurred()) SWIG_fail; | |
18842 | } | |
4f89f6a3 RD |
18843 | { |
18844 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18845 | } | |
d14a1e28 RD |
18846 | return resultobj; |
18847 | fail: | |
18848 | return NULL; | |
18849 | } | |
18850 | ||
18851 | ||
c26d9ab4 | 18852 | static PyObject *_wrap_PyWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18853 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18854 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18855 | bool result; | |
18856 | PyObject * obj0 = 0 ; | |
18857 | char *kwnames[] = { | |
18858 | (char *) "self", NULL | |
18859 | }; | |
18860 | ||
c26d9ab4 | 18861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_AcceptsFocus",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18862 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18863 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18864 | { |
18865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18866 | result = (bool)((wxPyWindow const *)arg1)->AcceptsFocus(); |
d14a1e28 RD |
18867 | |
18868 | wxPyEndAllowThreads(__tstate); | |
18869 | if (PyErr_Occurred()) SWIG_fail; | |
18870 | } | |
4f89f6a3 RD |
18871 | { |
18872 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18873 | } | |
d14a1e28 RD |
18874 | return resultobj; |
18875 | fail: | |
18876 | return NULL; | |
18877 | } | |
18878 | ||
18879 | ||
c26d9ab4 | 18880 | static PyObject *_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18881 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18882 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18883 | bool result; | |
18884 | PyObject * obj0 = 0 ; | |
18885 | char *kwnames[] = { | |
18886 | (char *) "self", NULL | |
18887 | }; | |
18888 | ||
c26d9ab4 | 18889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18890 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18891 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18892 | { |
18893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18894 | result = (bool)((wxPyWindow const *)arg1)->AcceptsFocusFromKeyboard(); |
d14a1e28 RD |
18895 | |
18896 | wxPyEndAllowThreads(__tstate); | |
18897 | if (PyErr_Occurred()) SWIG_fail; | |
18898 | } | |
4f89f6a3 RD |
18899 | { |
18900 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18901 | } | |
d14a1e28 RD |
18902 | return resultobj; |
18903 | fail: | |
18904 | return NULL; | |
18905 | } | |
18906 | ||
18907 | ||
c26d9ab4 | 18908 | static PyObject *_wrap_PyWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18909 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18910 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18911 | wxSize result; | |
18912 | PyObject * obj0 = 0 ; | |
18913 | char *kwnames[] = { | |
18914 | (char *) "self", NULL | |
18915 | }; | |
18916 | ||
c26d9ab4 | 18917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_GetMaxSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18918 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18919 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18920 | { |
18921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18922 | result = ((wxPyWindow const *)arg1)->GetMaxSize(); |
d14a1e28 RD |
18923 | |
18924 | wxPyEndAllowThreads(__tstate); | |
18925 | if (PyErr_Occurred()) SWIG_fail; | |
18926 | } | |
18927 | { | |
18928 | wxSize * resultptr; | |
32fe5131 | 18929 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 18930 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
18931 | } |
18932 | return resultobj; | |
18933 | fail: | |
18934 | return NULL; | |
18935 | } | |
18936 | ||
18937 | ||
c26d9ab4 | 18938 | static PyObject *_wrap_PyWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18939 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18940 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18941 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18942 | PyObject * obj0 = 0 ; | |
18943 | PyObject * obj1 = 0 ; | |
18944 | char *kwnames[] = { | |
18945 | (char *) "self",(char *) "child", NULL | |
18946 | }; | |
18947 | ||
c26d9ab4 | 18948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_AddChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
18949 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18950 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18951 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18952 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
18953 | { |
18954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18955 | (arg1)->AddChild(arg2); |
d14a1e28 RD |
18956 | |
18957 | wxPyEndAllowThreads(__tstate); | |
18958 | if (PyErr_Occurred()) SWIG_fail; | |
18959 | } | |
18960 | Py_INCREF(Py_None); resultobj = Py_None; | |
18961 | return resultobj; | |
18962 | fail: | |
18963 | return NULL; | |
18964 | } | |
18965 | ||
18966 | ||
c26d9ab4 | 18967 | static PyObject *_wrap_PyWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18968 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18969 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18970 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18971 | PyObject * obj0 = 0 ; | |
18972 | PyObject * obj1 = 0 ; | |
18973 | char *kwnames[] = { | |
18974 | (char *) "self",(char *) "child", NULL | |
18975 | }; | |
18976 | ||
c26d9ab4 | 18977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
18978 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18979 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18980 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18981 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
18982 | { |
18983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18984 | (arg1)->RemoveChild(arg2); |
d14a1e28 RD |
18985 | |
18986 | wxPyEndAllowThreads(__tstate); | |
18987 | if (PyErr_Occurred()) SWIG_fail; | |
18988 | } | |
18989 | Py_INCREF(Py_None); resultobj = Py_None; | |
18990 | return resultobj; | |
18991 | fail: | |
18992 | return NULL; | |
18993 | } | |
18994 | ||
18995 | ||
c26d9ab4 | 18996 | static PyObject *_wrap_PyWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18997 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
18998 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18999 | bool result; | |
19000 | PyObject * obj0 = 0 ; | |
19001 | char *kwnames[] = { | |
19002 | (char *) "self", NULL | |
19003 | }; | |
19004 | ||
c26d9ab4 | 19005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_ShouldInheritColours",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19006 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
19007 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
19008 | { |
19009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19010 | result = (bool)((wxPyWindow const *)arg1)->ShouldInheritColours(); |
1cb4a8aa RD |
19011 | |
19012 | wxPyEndAllowThreads(__tstate); | |
19013 | if (PyErr_Occurred()) SWIG_fail; | |
19014 | } | |
19015 | { | |
19016 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19017 | } | |
19018 | return resultobj; | |
19019 | fail: | |
19020 | return NULL; | |
19021 | } | |
19022 | ||
19023 | ||
c26d9ab4 | 19024 | static PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19025 | PyObject *resultobj = NULL; |
db3e571a RD |
19026 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
19027 | wxVisualAttributes result; | |
19028 | PyObject * obj0 = 0 ; | |
19029 | char *kwnames[] = { | |
19030 | (char *) "self", NULL | |
19031 | }; | |
19032 | ||
c26d9ab4 | 19033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19034 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
19035 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
19036 | { |
19037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19038 | result = (arg1)->GetDefaultAttributes(); |
db3e571a RD |
19039 | |
19040 | wxPyEndAllowThreads(__tstate); | |
19041 | if (PyErr_Occurred()) SWIG_fail; | |
19042 | } | |
19043 | { | |
19044 | wxVisualAttributes * resultptr; | |
32fe5131 | 19045 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
db3e571a RD |
19046 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
19047 | } | |
19048 | return resultobj; | |
19049 | fail: | |
19050 | return NULL; | |
19051 | } | |
19052 | ||
19053 | ||
c26d9ab4 | 19054 | static PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19055 | PyObject *resultobj = NULL; |
8d38bd1d RD |
19056 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
19057 | PyObject * obj0 = 0 ; | |
19058 | char *kwnames[] = { | |
19059 | (char *) "self", NULL | |
19060 | }; | |
19061 | ||
c26d9ab4 | 19062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_OnInternalIdle",kwnames,&obj0)) goto fail; |
8d38bd1d RD |
19063 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
19064 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19065 | { | |
19066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19067 | (arg1)->OnInternalIdle(); |
8d38bd1d RD |
19068 | |
19069 | wxPyEndAllowThreads(__tstate); | |
19070 | if (PyErr_Occurred()) SWIG_fail; | |
19071 | } | |
19072 | Py_INCREF(Py_None); resultobj = Py_None; | |
19073 | return resultobj; | |
19074 | fail: | |
19075 | return NULL; | |
19076 | } | |
19077 | ||
19078 | ||
c32bde28 | 19079 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
19080 | PyObject *obj; |
19081 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19082 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
19083 | Py_INCREF(obj); | |
19084 | return Py_BuildValue((char *)""); | |
19085 | } | |
c32bde28 | 19086 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19087 | PyObject *resultobj = NULL; |
d14a1e28 | 19088 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 19089 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
19090 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
19091 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
19092 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
19093 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
19094 | long arg5 = (long) 0 ; | |
19095 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
19096 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
19097 | wxPyPanel *result; | |
19098 | wxPoint temp3 ; | |
19099 | wxSize temp4 ; | |
ae8162c8 | 19100 | bool temp6 = false ; |
d14a1e28 | 19101 | PyObject * obj0 = 0 ; |
994141e6 | 19102 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19103 | PyObject * obj2 = 0 ; |
19104 | PyObject * obj3 = 0 ; | |
994141e6 | 19105 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
19106 | PyObject * obj5 = 0 ; |
19107 | char *kwnames[] = { | |
19108 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
19109 | }; | |
19110 | ||
248ed943 | 19111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
19112 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
19113 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 19114 | if (obj1) { |
093d3ff1 | 19115 | { |
32fe5131 | 19116 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
19117 | if (SWIG_arg_fail(2)) SWIG_fail; |
19118 | } | |
248ed943 | 19119 | } |
d14a1e28 RD |
19120 | if (obj2) { |
19121 | { | |
19122 | arg3 = &temp3; | |
19123 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
19124 | } | |
19125 | } | |
19126 | if (obj3) { | |
19127 | { | |
19128 | arg4 = &temp4; | |
19129 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
19130 | } | |
19131 | } | |
994141e6 | 19132 | if (obj4) { |
093d3ff1 | 19133 | { |
32fe5131 | 19134 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
19135 | if (SWIG_arg_fail(5)) SWIG_fail; |
19136 | } | |
994141e6 | 19137 | } |
d14a1e28 RD |
19138 | if (obj5) { |
19139 | { | |
19140 | arg6 = wxString_in_helper(obj5); | |
19141 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 19142 | temp6 = true; |
d14a1e28 RD |
19143 | } |
19144 | } | |
19145 | { | |
e3b71cb8 | 19146 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
19147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19148 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
19149 | ||
19150 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19151 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 19152 | } |
15afbcd0 | 19153 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
19154 | { |
19155 | if (temp6) | |
19156 | delete arg6; | |
19157 | } | |
19158 | return resultobj; | |
19159 | fail: | |
19160 | { | |
19161 | if (temp6) | |
19162 | delete arg6; | |
19163 | } | |
19164 | return NULL; | |
19165 | } | |
19166 | ||
19167 | ||
c32bde28 | 19168 | static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19169 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
19170 | wxPyPanel *result; |
19171 | char *kwnames[] = { | |
19172 | NULL | |
19173 | }; | |
19174 | ||
19175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
19176 | { | |
e3b71cb8 | 19177 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
19178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19179 | result = (wxPyPanel *)new wxPyPanel(); | |
19180 | ||
19181 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19182 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
19183 | } |
19184 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
19185 | return resultobj; | |
19186 | fail: | |
19187 | return NULL; | |
19188 | } | |
19189 | ||
19190 | ||
c32bde28 | 19191 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19192 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19193 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19194 | PyObject *arg2 = (PyObject *) 0 ; | |
19195 | PyObject *arg3 = (PyObject *) 0 ; | |
19196 | PyObject * obj0 = 0 ; | |
19197 | PyObject * obj1 = 0 ; | |
19198 | PyObject * obj2 = 0 ; | |
19199 | char *kwnames[] = { | |
19200 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19201 | }; | |
19202 | ||
19203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
19204 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19205 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19206 | arg2 = obj1; |
19207 | arg3 = obj2; | |
19208 | { | |
19209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19210 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19211 | ||
19212 | wxPyEndAllowThreads(__tstate); | |
19213 | if (PyErr_Occurred()) SWIG_fail; | |
19214 | } | |
19215 | Py_INCREF(Py_None); resultobj = Py_None; | |
19216 | return resultobj; | |
19217 | fail: | |
19218 | return NULL; | |
19219 | } | |
19220 | ||
19221 | ||
c32bde28 | 19222 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19223 | PyObject *resultobj = NULL; |
db3e571a RD |
19224 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19225 | wxSize *arg2 = 0 ; | |
19226 | wxSize temp2 ; | |
19227 | PyObject * obj0 = 0 ; | |
19228 | PyObject * obj1 = 0 ; | |
19229 | char *kwnames[] = { | |
19230 | (char *) "self",(char *) "size", NULL | |
19231 | }; | |
19232 | ||
19233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
19234 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19235 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
19236 | { |
19237 | arg2 = &temp2; | |
19238 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
19239 | } | |
19240 | { | |
19241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19242 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
19243 | ||
19244 | wxPyEndAllowThreads(__tstate); | |
19245 | if (PyErr_Occurred()) SWIG_fail; | |
19246 | } | |
19247 | Py_INCREF(Py_None); resultobj = Py_None; | |
19248 | return resultobj; | |
19249 | fail: | |
19250 | return NULL; | |
19251 | } | |
19252 | ||
19253 | ||
976dbff5 | 19254 | static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19255 | PyObject *resultobj = NULL; |
976dbff5 RD |
19256 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19257 | wxDC *arg2 = (wxDC *) 0 ; | |
19258 | bool result; | |
19259 | PyObject * obj0 = 0 ; | |
19260 | PyObject * obj1 = 0 ; | |
19261 | char *kwnames[] = { | |
19262 | (char *) "self",(char *) "dc", NULL | |
19263 | }; | |
19264 | ||
19265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail; | |
19266 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); | |
19267 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19268 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
19269 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19270 | { | |
19271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19272 | result = (bool)(arg1)->DoEraseBackground(arg2); | |
19273 | ||
19274 | wxPyEndAllowThreads(__tstate); | |
19275 | if (PyErr_Occurred()) SWIG_fail; | |
19276 | } | |
19277 | { | |
19278 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19279 | } | |
19280 | return resultobj; | |
19281 | fail: | |
19282 | return NULL; | |
19283 | } | |
19284 | ||
19285 | ||
c26d9ab4 | 19286 | static PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19287 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19288 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19289 | int arg2 ; | |
19290 | int arg3 ; | |
19291 | int arg4 ; | |
19292 | int arg5 ; | |
19293 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19294 | PyObject * obj1 = 0 ; |
19295 | PyObject * obj2 = 0 ; | |
19296 | PyObject * obj3 = 0 ; | |
19297 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
19298 | char *kwnames[] = { |
19299 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
19300 | }; | |
19301 | ||
c26d9ab4 | 19302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
19303 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19304 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19305 | { | |
32fe5131 | 19306 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
19307 | if (SWIG_arg_fail(2)) SWIG_fail; |
19308 | } | |
19309 | { | |
32fe5131 | 19310 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
19311 | if (SWIG_arg_fail(3)) SWIG_fail; |
19312 | } | |
19313 | { | |
32fe5131 | 19314 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
19315 | if (SWIG_arg_fail(4)) SWIG_fail; |
19316 | } | |
19317 | { | |
32fe5131 | 19318 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
19319 | if (SWIG_arg_fail(5)) SWIG_fail; |
19320 | } | |
d14a1e28 RD |
19321 | { |
19322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19323 | (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
19324 | |
19325 | wxPyEndAllowThreads(__tstate); | |
19326 | if (PyErr_Occurred()) SWIG_fail; | |
19327 | } | |
19328 | Py_INCREF(Py_None); resultobj = Py_None; | |
19329 | return resultobj; | |
19330 | fail: | |
19331 | return NULL; | |
19332 | } | |
19333 | ||
19334 | ||
c26d9ab4 | 19335 | static PyObject *_wrap_PyPanel_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19336 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19337 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19338 | int arg2 ; | |
19339 | int arg3 ; | |
19340 | int arg4 ; | |
19341 | int arg5 ; | |
19342 | int arg6 = (int) wxSIZE_AUTO ; | |
19343 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19344 | PyObject * obj1 = 0 ; |
19345 | PyObject * obj2 = 0 ; | |
19346 | PyObject * obj3 = 0 ; | |
19347 | PyObject * obj4 = 0 ; | |
19348 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
19349 | char *kwnames[] = { |
19350 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
19351 | }; | |
19352 | ||
c26d9ab4 | 19353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
19354 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19355 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19356 | { | |
32fe5131 | 19357 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
19358 | if (SWIG_arg_fail(2)) SWIG_fail; |
19359 | } | |
19360 | { | |
32fe5131 | 19361 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
19362 | if (SWIG_arg_fail(3)) SWIG_fail; |
19363 | } | |
19364 | { | |
32fe5131 | 19365 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
19366 | if (SWIG_arg_fail(4)) SWIG_fail; |
19367 | } | |
19368 | { | |
32fe5131 | 19369 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
19370 | if (SWIG_arg_fail(5)) SWIG_fail; |
19371 | } | |
994141e6 | 19372 | if (obj5) { |
093d3ff1 | 19373 | { |
32fe5131 | 19374 | arg6 = static_cast<int >(SWIG_As_int(obj5)); |
093d3ff1 RD |
19375 | if (SWIG_arg_fail(6)) SWIG_fail; |
19376 | } | |
994141e6 | 19377 | } |
d14a1e28 RD |
19378 | { |
19379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19380 | (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6); |
d14a1e28 RD |
19381 | |
19382 | wxPyEndAllowThreads(__tstate); | |
19383 | if (PyErr_Occurred()) SWIG_fail; | |
19384 | } | |
19385 | Py_INCREF(Py_None); resultobj = Py_None; | |
19386 | return resultobj; | |
19387 | fail: | |
19388 | return NULL; | |
19389 | } | |
19390 | ||
19391 | ||
c26d9ab4 | 19392 | static PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19393 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19394 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19395 | int arg2 ; | |
19396 | int arg3 ; | |
19397 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19398 | PyObject * obj1 = 0 ; |
19399 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19400 | char *kwnames[] = { |
19401 | (char *) "self",(char *) "width",(char *) "height", NULL | |
19402 | }; | |
19403 | ||
c26d9ab4 | 19404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
19405 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19406 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19407 | { | |
32fe5131 | 19408 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
19409 | if (SWIG_arg_fail(2)) SWIG_fail; |
19410 | } | |
19411 | { | |
32fe5131 | 19412 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
19413 | if (SWIG_arg_fail(3)) SWIG_fail; |
19414 | } | |
d14a1e28 RD |
19415 | { |
19416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19417 | (arg1)->DoSetClientSize(arg2,arg3); |
d14a1e28 RD |
19418 | |
19419 | wxPyEndAllowThreads(__tstate); | |
19420 | if (PyErr_Occurred()) SWIG_fail; | |
19421 | } | |
19422 | Py_INCREF(Py_None); resultobj = Py_None; | |
19423 | return resultobj; | |
19424 | fail: | |
19425 | return NULL; | |
19426 | } | |
19427 | ||
19428 | ||
c26d9ab4 | 19429 | static PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19430 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19431 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19432 | int arg2 ; | |
19433 | int arg3 ; | |
19434 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19435 | PyObject * obj1 = 0 ; |
19436 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19437 | char *kwnames[] = { |
19438 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19439 | }; | |
19440 | ||
c26d9ab4 | 19441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
19442 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19443 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19444 | { | |
32fe5131 | 19445 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
19446 | if (SWIG_arg_fail(2)) SWIG_fail; |
19447 | } | |
19448 | { | |
32fe5131 | 19449 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
19450 | if (SWIG_arg_fail(3)) SWIG_fail; |
19451 | } | |
d14a1e28 RD |
19452 | { |
19453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19454 | (arg1)->DoSetVirtualSize(arg2,arg3); |
d14a1e28 RD |
19455 | |
19456 | wxPyEndAllowThreads(__tstate); | |
19457 | if (PyErr_Occurred()) SWIG_fail; | |
19458 | } | |
19459 | Py_INCREF(Py_None); resultobj = Py_None; | |
19460 | return resultobj; | |
19461 | fail: | |
19462 | return NULL; | |
19463 | } | |
19464 | ||
19465 | ||
c26d9ab4 | 19466 | static PyObject *_wrap_PyPanel_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19467 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19468 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19469 | int *arg2 = (int *) 0 ; | |
19470 | int *arg3 = (int *) 0 ; | |
19471 | int temp2 ; | |
c32bde28 | 19472 | int res2 = 0 ; |
d14a1e28 | 19473 | int temp3 ; |
c32bde28 | 19474 | int res3 = 0 ; |
d14a1e28 RD |
19475 | PyObject * obj0 = 0 ; |
19476 | char *kwnames[] = { | |
19477 | (char *) "self", NULL | |
19478 | }; | |
19479 | ||
c32bde28 RD |
19480 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19481 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 19482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19485 | { |
19486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19487 | ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3); |
d14a1e28 RD |
19488 | |
19489 | wxPyEndAllowThreads(__tstate); | |
19490 | if (PyErr_Occurred()) SWIG_fail; | |
19491 | } | |
19492 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19493 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19494 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19495 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19496 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
19497 | return resultobj; |
19498 | fail: | |
19499 | return NULL; | |
19500 | } | |
19501 | ||
19502 | ||
c26d9ab4 | 19503 | static PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19504 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19505 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19506 | int *arg2 = (int *) 0 ; | |
19507 | int *arg3 = (int *) 0 ; | |
19508 | int temp2 ; | |
c32bde28 | 19509 | int res2 = 0 ; |
d14a1e28 | 19510 | int temp3 ; |
c32bde28 | 19511 | int res3 = 0 ; |
d14a1e28 RD |
19512 | PyObject * obj0 = 0 ; |
19513 | char *kwnames[] = { | |
19514 | (char *) "self", NULL | |
19515 | }; | |
19516 | ||
c32bde28 RD |
19517 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19518 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 19519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetClientSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19520 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19521 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19522 | { |
19523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19524 | ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3); |
d14a1e28 RD |
19525 | |
19526 | wxPyEndAllowThreads(__tstate); | |
19527 | if (PyErr_Occurred()) SWIG_fail; | |
19528 | } | |
19529 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19530 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19531 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19532 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19533 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
19534 | return resultobj; |
19535 | fail: | |
19536 | return NULL; | |
19537 | } | |
19538 | ||
19539 | ||
c26d9ab4 | 19540 | static PyObject *_wrap_PyPanel_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19541 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19542 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19543 | int *arg2 = (int *) 0 ; | |
19544 | int *arg3 = (int *) 0 ; | |
19545 | int temp2 ; | |
c32bde28 | 19546 | int res2 = 0 ; |
d14a1e28 | 19547 | int temp3 ; |
c32bde28 | 19548 | int res3 = 0 ; |
d14a1e28 RD |
19549 | PyObject * obj0 = 0 ; |
19550 | char *kwnames[] = { | |
19551 | (char *) "self", NULL | |
19552 | }; | |
19553 | ||
c32bde28 RD |
19554 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19555 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 19556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetPosition",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19557 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19558 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19559 | { |
19560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19561 | ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3); |
d14a1e28 RD |
19562 | |
19563 | wxPyEndAllowThreads(__tstate); | |
19564 | if (PyErr_Occurred()) SWIG_fail; | |
19565 | } | |
19566 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19567 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19568 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19569 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19570 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
19571 | return resultobj; |
19572 | fail: | |
19573 | return NULL; | |
19574 | } | |
19575 | ||
19576 | ||
c26d9ab4 | 19577 | static PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19578 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19579 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19580 | wxSize result; | |
19581 | PyObject * obj0 = 0 ; | |
19582 | char *kwnames[] = { | |
19583 | (char *) "self", NULL | |
19584 | }; | |
19585 | ||
c26d9ab4 | 19586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetVirtualSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19587 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19588 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19589 | { |
19590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19591 | result = ((wxPyPanel const *)arg1)->DoGetVirtualSize(); |
d14a1e28 RD |
19592 | |
19593 | wxPyEndAllowThreads(__tstate); | |
19594 | if (PyErr_Occurred()) SWIG_fail; | |
19595 | } | |
19596 | { | |
19597 | wxSize * resultptr; | |
32fe5131 | 19598 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 19599 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
19600 | } |
19601 | return resultobj; | |
19602 | fail: | |
19603 | return NULL; | |
19604 | } | |
19605 | ||
19606 | ||
c26d9ab4 | 19607 | static PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19608 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19609 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19610 | wxSize result; | |
19611 | PyObject * obj0 = 0 ; | |
19612 | char *kwnames[] = { | |
19613 | (char *) "self", NULL | |
19614 | }; | |
19615 | ||
c26d9ab4 | 19616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetBestSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19617 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19618 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19619 | { |
19620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19621 | result = ((wxPyPanel const *)arg1)->DoGetBestSize(); |
d14a1e28 RD |
19622 | |
19623 | wxPyEndAllowThreads(__tstate); | |
19624 | if (PyErr_Occurred()) SWIG_fail; | |
19625 | } | |
19626 | { | |
19627 | wxSize * resultptr; | |
32fe5131 | 19628 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 19629 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
19630 | } |
19631 | return resultobj; | |
19632 | fail: | |
19633 | return NULL; | |
19634 | } | |
19635 | ||
19636 | ||
c26d9ab4 | 19637 | static PyObject *_wrap_PyPanel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19638 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19639 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19640 | PyObject * obj0 = 0 ; | |
19641 | char *kwnames[] = { | |
19642 | (char *) "self", NULL | |
19643 | }; | |
19644 | ||
c26d9ab4 | 19645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_InitDialog",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19646 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19647 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19648 | { |
19649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19650 | (arg1)->InitDialog(); |
d14a1e28 RD |
19651 | |
19652 | wxPyEndAllowThreads(__tstate); | |
19653 | if (PyErr_Occurred()) SWIG_fail; | |
19654 | } | |
19655 | Py_INCREF(Py_None); resultobj = Py_None; | |
19656 | return resultobj; | |
19657 | fail: | |
19658 | return NULL; | |
19659 | } | |
19660 | ||
19661 | ||
c26d9ab4 | 19662 | static PyObject *_wrap_PyPanel_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19663 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19664 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19665 | bool result; | |
19666 | PyObject * obj0 = 0 ; | |
19667 | char *kwnames[] = { | |
19668 | (char *) "self", NULL | |
19669 | }; | |
19670 | ||
c26d9ab4 | 19671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_TransferDataToWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19672 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19673 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19674 | { |
19675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19676 | result = (bool)(arg1)->TransferDataToWindow(); |
d14a1e28 RD |
19677 | |
19678 | wxPyEndAllowThreads(__tstate); | |
19679 | if (PyErr_Occurred()) SWIG_fail; | |
19680 | } | |
4f89f6a3 RD |
19681 | { |
19682 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19683 | } | |
d14a1e28 RD |
19684 | return resultobj; |
19685 | fail: | |
19686 | return NULL; | |
19687 | } | |
19688 | ||
19689 | ||
c26d9ab4 | 19690 | static PyObject *_wrap_PyPanel_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19691 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19692 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19693 | bool result; | |
19694 | PyObject * obj0 = 0 ; | |
19695 | char *kwnames[] = { | |
19696 | (char *) "self", NULL | |
19697 | }; | |
19698 | ||
c26d9ab4 | 19699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_TransferDataFromWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19700 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19701 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19702 | { |
19703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19704 | result = (bool)(arg1)->TransferDataFromWindow(); |
d14a1e28 RD |
19705 | |
19706 | wxPyEndAllowThreads(__tstate); | |
19707 | if (PyErr_Occurred()) SWIG_fail; | |
19708 | } | |
4f89f6a3 RD |
19709 | { |
19710 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19711 | } | |
d14a1e28 RD |
19712 | return resultobj; |
19713 | fail: | |
19714 | return NULL; | |
19715 | } | |
19716 | ||
19717 | ||
c26d9ab4 | 19718 | static PyObject *_wrap_PyPanel_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19719 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19720 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19721 | bool result; | |
19722 | PyObject * obj0 = 0 ; | |
19723 | char *kwnames[] = { | |
19724 | (char *) "self", NULL | |
19725 | }; | |
19726 | ||
c26d9ab4 | 19727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_Validate",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19728 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19729 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19730 | { |
19731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19732 | result = (bool)(arg1)->Validate(); |
d14a1e28 RD |
19733 | |
19734 | wxPyEndAllowThreads(__tstate); | |
19735 | if (PyErr_Occurred()) SWIG_fail; | |
19736 | } | |
4f89f6a3 RD |
19737 | { |
19738 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19739 | } | |
d14a1e28 RD |
19740 | return resultobj; |
19741 | fail: | |
19742 | return NULL; | |
19743 | } | |
19744 | ||
19745 | ||
c26d9ab4 | 19746 | static PyObject *_wrap_PyPanel_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19747 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19748 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19749 | bool result; | |
19750 | PyObject * obj0 = 0 ; | |
19751 | char *kwnames[] = { | |
19752 | (char *) "self", NULL | |
19753 | }; | |
19754 | ||
c26d9ab4 | 19755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_AcceptsFocus",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19756 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19757 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19758 | { |
19759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19760 | result = (bool)((wxPyPanel const *)arg1)->AcceptsFocus(); |
d14a1e28 RD |
19761 | |
19762 | wxPyEndAllowThreads(__tstate); | |
19763 | if (PyErr_Occurred()) SWIG_fail; | |
19764 | } | |
4f89f6a3 RD |
19765 | { |
19766 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19767 | } | |
d14a1e28 RD |
19768 | return resultobj; |
19769 | fail: | |
19770 | return NULL; | |
19771 | } | |
19772 | ||
19773 | ||
c26d9ab4 | 19774 | static PyObject *_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19775 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19776 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19777 | bool result; | |
19778 | PyObject * obj0 = 0 ; | |
19779 | char *kwnames[] = { | |
19780 | (char *) "self", NULL | |
19781 | }; | |
19782 | ||
c26d9ab4 | 19783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19786 | { |
19787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19788 | result = (bool)((wxPyPanel const *)arg1)->AcceptsFocusFromKeyboard(); |
d14a1e28 RD |
19789 | |
19790 | wxPyEndAllowThreads(__tstate); | |
19791 | if (PyErr_Occurred()) SWIG_fail; | |
19792 | } | |
4f89f6a3 RD |
19793 | { |
19794 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19795 | } | |
d14a1e28 RD |
19796 | return resultobj; |
19797 | fail: | |
19798 | return NULL; | |
19799 | } | |
19800 | ||
19801 | ||
c26d9ab4 | 19802 | static PyObject *_wrap_PyPanel_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19803 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19804 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19805 | wxSize result; | |
19806 | PyObject * obj0 = 0 ; | |
19807 | char *kwnames[] = { | |
19808 | (char *) "self", NULL | |
19809 | }; | |
19810 | ||
c26d9ab4 | 19811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_GetMaxSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19812 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19813 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19814 | { |
19815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19816 | result = ((wxPyPanel const *)arg1)->GetMaxSize(); |
d14a1e28 RD |
19817 | |
19818 | wxPyEndAllowThreads(__tstate); | |
19819 | if (PyErr_Occurred()) SWIG_fail; | |
19820 | } | |
19821 | { | |
19822 | wxSize * resultptr; | |
32fe5131 | 19823 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 19824 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
19825 | } |
19826 | return resultobj; | |
19827 | fail: | |
19828 | return NULL; | |
19829 | } | |
19830 | ||
19831 | ||
c26d9ab4 | 19832 | static PyObject *_wrap_PyPanel_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19833 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19834 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19835 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19836 | PyObject * obj0 = 0 ; | |
19837 | PyObject * obj1 = 0 ; | |
19838 | char *kwnames[] = { | |
19839 | (char *) "self",(char *) "child", NULL | |
19840 | }; | |
19841 | ||
c26d9ab4 | 19842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_AddChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
19843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19845 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19846 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
19847 | { |
19848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19849 | (arg1)->AddChild(arg2); |
d14a1e28 RD |
19850 | |
19851 | wxPyEndAllowThreads(__tstate); | |
19852 | if (PyErr_Occurred()) SWIG_fail; | |
19853 | } | |
19854 | Py_INCREF(Py_None); resultobj = Py_None; | |
19855 | return resultobj; | |
19856 | fail: | |
19857 | return NULL; | |
19858 | } | |
19859 | ||
19860 | ||
c26d9ab4 | 19861 | static PyObject *_wrap_PyPanel_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19862 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19863 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19864 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19865 | PyObject * obj0 = 0 ; | |
19866 | PyObject * obj1 = 0 ; | |
19867 | char *kwnames[] = { | |
19868 | (char *) "self",(char *) "child", NULL | |
19869 | }; | |
19870 | ||
c26d9ab4 | 19871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_RemoveChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
19872 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19873 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19874 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19875 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
19876 | { |
19877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19878 | (arg1)->RemoveChild(arg2); |
d14a1e28 RD |
19879 | |
19880 | wxPyEndAllowThreads(__tstate); | |
19881 | if (PyErr_Occurred()) SWIG_fail; | |
19882 | } | |
19883 | Py_INCREF(Py_None); resultobj = Py_None; | |
19884 | return resultobj; | |
19885 | fail: | |
19886 | return NULL; | |
19887 | } | |
19888 | ||
19889 | ||
c26d9ab4 | 19890 | static PyObject *_wrap_PyPanel_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19891 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
19892 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19893 | bool result; | |
19894 | PyObject * obj0 = 0 ; | |
d14a1e28 | 19895 | char *kwnames[] = { |
1cb4a8aa | 19896 | (char *) "self", NULL |
d14a1e28 RD |
19897 | }; |
19898 | ||
c26d9ab4 | 19899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_ShouldInheritColours",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19900 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19901 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19902 | { |
19903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19904 | result = (bool)((wxPyPanel const *)arg1)->ShouldInheritColours(); |
d14a1e28 RD |
19905 | |
19906 | wxPyEndAllowThreads(__tstate); | |
19907 | if (PyErr_Occurred()) SWIG_fail; | |
19908 | } | |
1cb4a8aa RD |
19909 | { |
19910 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19911 | } | |
d14a1e28 RD |
19912 | return resultobj; |
19913 | fail: | |
19914 | return NULL; | |
19915 | } | |
19916 | ||
19917 | ||
c26d9ab4 | 19918 | static PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19919 | PyObject *resultobj = NULL; |
db3e571a RD |
19920 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19921 | wxVisualAttributes result; | |
19922 | PyObject * obj0 = 0 ; | |
19923 | char *kwnames[] = { | |
19924 | (char *) "self", NULL | |
19925 | }; | |
19926 | ||
c26d9ab4 | 19927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_GetDefaultAttributes",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19928 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19929 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
19930 | { |
19931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19932 | result = (arg1)->GetDefaultAttributes(); |
db3e571a RD |
19933 | |
19934 | wxPyEndAllowThreads(__tstate); | |
19935 | if (PyErr_Occurred()) SWIG_fail; | |
19936 | } | |
19937 | { | |
19938 | wxVisualAttributes * resultptr; | |
32fe5131 | 19939 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
db3e571a RD |
19940 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
19941 | } | |
19942 | return resultobj; | |
19943 | fail: | |
19944 | return NULL; | |
19945 | } | |
19946 | ||
19947 | ||
c26d9ab4 | 19948 | static PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19949 | PyObject *resultobj = NULL; |
8d38bd1d RD |
19950 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19951 | PyObject * obj0 = 0 ; | |
19952 | char *kwnames[] = { | |
19953 | (char *) "self", NULL | |
19954 | }; | |
19955 | ||
c26d9ab4 | 19956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_OnInternalIdle",kwnames,&obj0)) goto fail; |
8d38bd1d RD |
19957 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19958 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19959 | { | |
19960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19961 | (arg1)->OnInternalIdle(); |
8d38bd1d RD |
19962 | |
19963 | wxPyEndAllowThreads(__tstate); | |
19964 | if (PyErr_Occurred()) SWIG_fail; | |
19965 | } | |
19966 | Py_INCREF(Py_None); resultobj = Py_None; | |
19967 | return resultobj; | |
19968 | fail: | |
19969 | return NULL; | |
19970 | } | |
19971 | ||
19972 | ||
c32bde28 | 19973 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
1cb4a8aa RD |
19974 | PyObject *obj; |
19975 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19976 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
19977 | Py_INCREF(obj); | |
19978 | return Py_BuildValue((char *)""); | |
19979 | } | |
c32bde28 | 19980 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19981 | PyObject *resultobj = NULL; |
1cb4a8aa | 19982 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 19983 | int arg2 = (int) (int)-1 ; |
1cb4a8aa RD |
19984 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
19985 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
19986 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
19987 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
19988 | long arg5 = (long) 0 ; | |
19989 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
19990 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
19991 | wxPyScrolledWindow *result; | |
19992 | wxPoint temp3 ; | |
19993 | wxSize temp4 ; | |
ae8162c8 | 19994 | bool temp6 = false ; |
d14a1e28 | 19995 | PyObject * obj0 = 0 ; |
1cb4a8aa RD |
19996 | PyObject * obj1 = 0 ; |
19997 | PyObject * obj2 = 0 ; | |
19998 | PyObject * obj3 = 0 ; | |
19999 | PyObject * obj4 = 0 ; | |
20000 | PyObject * obj5 = 0 ; | |
d14a1e28 | 20001 | char *kwnames[] = { |
1cb4a8aa | 20002 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
20003 | }; |
20004 | ||
248ed943 | 20005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
20006 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
20007 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 20008 | if (obj1) { |
093d3ff1 | 20009 | { |
32fe5131 | 20010 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
20011 | if (SWIG_arg_fail(2)) SWIG_fail; |
20012 | } | |
248ed943 | 20013 | } |
1cb4a8aa RD |
20014 | if (obj2) { |
20015 | { | |
20016 | arg3 = &temp3; | |
20017 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
20018 | } | |
20019 | } | |
20020 | if (obj3) { | |
20021 | { | |
20022 | arg4 = &temp4; | |
20023 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
20024 | } | |
20025 | } | |
20026 | if (obj4) { | |
093d3ff1 | 20027 | { |
32fe5131 | 20028 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
20029 | if (SWIG_arg_fail(5)) SWIG_fail; |
20030 | } | |
1cb4a8aa RD |
20031 | } |
20032 | if (obj5) { | |
20033 | { | |
20034 | arg6 = wxString_in_helper(obj5); | |
20035 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 20036 | temp6 = true; |
1cb4a8aa RD |
20037 | } |
20038 | } | |
20039 | { | |
e3b71cb8 | 20040 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
20041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
20042 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
20043 | ||
20044 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 20045 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
20046 | } |
20047 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
20048 | { | |
20049 | if (temp6) | |
20050 | delete arg6; | |
20051 | } | |
20052 | return resultobj; | |
20053 | fail: | |
20054 | { | |
20055 | if (temp6) | |
20056 | delete arg6; | |
20057 | } | |
20058 | return NULL; | |
20059 | } | |
20060 | ||
20061 | ||
c32bde28 | 20062 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20063 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20064 | wxPyScrolledWindow *result; |
20065 | char *kwnames[] = { | |
20066 | NULL | |
20067 | }; | |
20068 | ||
20069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
20070 | { | |
e3b71cb8 | 20071 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
20072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
20073 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
20074 | ||
20075 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 20076 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
20077 | } |
20078 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
20079 | return resultobj; | |
20080 | fail: | |
20081 | return NULL; | |
20082 | } | |
20083 | ||
20084 | ||
c32bde28 | 20085 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20086 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20087 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20088 | PyObject *arg2 = (PyObject *) 0 ; | |
20089 | PyObject *arg3 = (PyObject *) 0 ; | |
20090 | PyObject * obj0 = 0 ; | |
20091 | PyObject * obj1 = 0 ; | |
20092 | PyObject * obj2 = 0 ; | |
20093 | char *kwnames[] = { | |
20094 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
20095 | }; | |
20096 | ||
20097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
20098 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20099 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20100 | arg2 = obj1; |
20101 | arg3 = obj2; | |
20102 | { | |
20103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20104 | (arg1)->_setCallbackInfo(arg2,arg3); | |
20105 | ||
20106 | wxPyEndAllowThreads(__tstate); | |
20107 | if (PyErr_Occurred()) SWIG_fail; | |
20108 | } | |
20109 | Py_INCREF(Py_None); resultobj = Py_None; | |
20110 | return resultobj; | |
20111 | fail: | |
20112 | return NULL; | |
20113 | } | |
20114 | ||
20115 | ||
c32bde28 | 20116 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20117 | PyObject *resultobj = NULL; |
db3e571a RD |
20118 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20119 | wxSize *arg2 = 0 ; | |
20120 | wxSize temp2 ; | |
20121 | PyObject * obj0 = 0 ; | |
20122 | PyObject * obj1 = 0 ; | |
20123 | char *kwnames[] = { | |
20124 | (char *) "self",(char *) "size", NULL | |
20125 | }; | |
20126 | ||
20127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
20128 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20129 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
20130 | { |
20131 | arg2 = &temp2; | |
20132 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
20133 | } | |
20134 | { | |
20135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20136 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
20137 | ||
20138 | wxPyEndAllowThreads(__tstate); | |
20139 | if (PyErr_Occurred()) SWIG_fail; | |
20140 | } | |
20141 | Py_INCREF(Py_None); resultobj = Py_None; | |
20142 | return resultobj; | |
20143 | fail: | |
20144 | return NULL; | |
20145 | } | |
20146 | ||
20147 | ||
976dbff5 | 20148 | static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20149 | PyObject *resultobj = NULL; |
976dbff5 RD |
20150 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20151 | wxDC *arg2 = (wxDC *) 0 ; | |
20152 | bool result; | |
20153 | PyObject * obj0 = 0 ; | |
20154 | PyObject * obj1 = 0 ; | |
20155 | char *kwnames[] = { | |
20156 | (char *) "self",(char *) "dc", NULL | |
20157 | }; | |
20158 | ||
20159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail; | |
20160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
20161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20162 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
20163 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20164 | { | |
20165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20166 | result = (bool)(arg1)->DoEraseBackground(arg2); | |
20167 | ||
20168 | wxPyEndAllowThreads(__tstate); | |
20169 | if (PyErr_Occurred()) SWIG_fail; | |
20170 | } | |
20171 | { | |
20172 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20173 | } | |
20174 | return resultobj; | |
20175 | fail: | |
20176 | return NULL; | |
20177 | } | |
20178 | ||
20179 | ||
c26d9ab4 | 20180 | static PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20181 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20182 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20183 | int arg2 ; | |
20184 | int arg3 ; | |
20185 | int arg4 ; | |
20186 | int arg5 ; | |
20187 | PyObject * obj0 = 0 ; | |
20188 | PyObject * obj1 = 0 ; | |
20189 | PyObject * obj2 = 0 ; | |
20190 | PyObject * obj3 = 0 ; | |
20191 | PyObject * obj4 = 0 ; | |
20192 | char *kwnames[] = { | |
20193 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
20194 | }; | |
20195 | ||
c26d9ab4 | 20196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
20197 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20198 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20199 | { | |
32fe5131 | 20200 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
20201 | if (SWIG_arg_fail(2)) SWIG_fail; |
20202 | } | |
20203 | { | |
32fe5131 | 20204 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
20205 | if (SWIG_arg_fail(3)) SWIG_fail; |
20206 | } | |
20207 | { | |
32fe5131 | 20208 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
20209 | if (SWIG_arg_fail(4)) SWIG_fail; |
20210 | } | |
20211 | { | |
32fe5131 | 20212 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
20213 | if (SWIG_arg_fail(5)) SWIG_fail; |
20214 | } | |
1cb4a8aa RD |
20215 | { |
20216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20217 | (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5); |
1cb4a8aa RD |
20218 | |
20219 | wxPyEndAllowThreads(__tstate); | |
20220 | if (PyErr_Occurred()) SWIG_fail; | |
20221 | } | |
20222 | Py_INCREF(Py_None); resultobj = Py_None; | |
20223 | return resultobj; | |
20224 | fail: | |
20225 | return NULL; | |
20226 | } | |
20227 | ||
20228 | ||
c26d9ab4 | 20229 | static PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20230 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20231 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20232 | int arg2 ; | |
20233 | int arg3 ; | |
20234 | int arg4 ; | |
20235 | int arg5 ; | |
20236 | int arg6 = (int) wxSIZE_AUTO ; | |
20237 | PyObject * obj0 = 0 ; | |
20238 | PyObject * obj1 = 0 ; | |
20239 | PyObject * obj2 = 0 ; | |
20240 | PyObject * obj3 = 0 ; | |
20241 | PyObject * obj4 = 0 ; | |
20242 | PyObject * obj5 = 0 ; | |
20243 | char *kwnames[] = { | |
20244 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
20245 | }; | |
20246 | ||
c26d9ab4 | 20247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
20248 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20249 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20250 | { | |
32fe5131 | 20251 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
20252 | if (SWIG_arg_fail(2)) SWIG_fail; |
20253 | } | |
20254 | { | |
32fe5131 | 20255 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
20256 | if (SWIG_arg_fail(3)) SWIG_fail; |
20257 | } | |
20258 | { | |
32fe5131 | 20259 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
20260 | if (SWIG_arg_fail(4)) SWIG_fail; |
20261 | } | |
20262 | { | |
32fe5131 | 20263 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
20264 | if (SWIG_arg_fail(5)) SWIG_fail; |
20265 | } | |
1cb4a8aa | 20266 | if (obj5) { |
093d3ff1 | 20267 | { |
32fe5131 | 20268 | arg6 = static_cast<int >(SWIG_As_int(obj5)); |
093d3ff1 RD |
20269 | if (SWIG_arg_fail(6)) SWIG_fail; |
20270 | } | |
1cb4a8aa RD |
20271 | } |
20272 | { | |
20273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20274 | (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6); |
1cb4a8aa RD |
20275 | |
20276 | wxPyEndAllowThreads(__tstate); | |
20277 | if (PyErr_Occurred()) SWIG_fail; | |
20278 | } | |
20279 | Py_INCREF(Py_None); resultobj = Py_None; | |
20280 | return resultobj; | |
20281 | fail: | |
20282 | return NULL; | |
20283 | } | |
20284 | ||
20285 | ||
c26d9ab4 | 20286 | static PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20287 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20288 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20289 | int arg2 ; | |
20290 | int arg3 ; | |
20291 | PyObject * obj0 = 0 ; | |
20292 | PyObject * obj1 = 0 ; | |
20293 | PyObject * obj2 = 0 ; | |
20294 | char *kwnames[] = { | |
20295 | (char *) "self",(char *) "width",(char *) "height", NULL | |
20296 | }; | |
20297 | ||
c26d9ab4 | 20298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
20299 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20300 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20301 | { | |
32fe5131 | 20302 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
20303 | if (SWIG_arg_fail(2)) SWIG_fail; |
20304 | } | |
20305 | { | |
32fe5131 | 20306 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
20307 | if (SWIG_arg_fail(3)) SWIG_fail; |
20308 | } | |
1cb4a8aa RD |
20309 | { |
20310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20311 | (arg1)->DoSetClientSize(arg2,arg3); |
1cb4a8aa RD |
20312 | |
20313 | wxPyEndAllowThreads(__tstate); | |
20314 | if (PyErr_Occurred()) SWIG_fail; | |
20315 | } | |
20316 | Py_INCREF(Py_None); resultobj = Py_None; | |
20317 | return resultobj; | |
20318 | fail: | |
20319 | return NULL; | |
20320 | } | |
20321 | ||
20322 | ||
c26d9ab4 | 20323 | static PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20324 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20325 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20326 | int arg2 ; | |
20327 | int arg3 ; | |
20328 | PyObject * obj0 = 0 ; | |
20329 | PyObject * obj1 = 0 ; | |
20330 | PyObject * obj2 = 0 ; | |
20331 | char *kwnames[] = { | |
20332 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20333 | }; | |
20334 | ||
c26d9ab4 | 20335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
20336 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20337 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20338 | { | |
32fe5131 | 20339 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
20340 | if (SWIG_arg_fail(2)) SWIG_fail; |
20341 | } | |
20342 | { | |
32fe5131 | 20343 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
20344 | if (SWIG_arg_fail(3)) SWIG_fail; |
20345 | } | |
1cb4a8aa RD |
20346 | { |
20347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20348 | (arg1)->DoSetVirtualSize(arg2,arg3); |
1cb4a8aa RD |
20349 | |
20350 | wxPyEndAllowThreads(__tstate); | |
20351 | if (PyErr_Occurred()) SWIG_fail; | |
20352 | } | |
20353 | Py_INCREF(Py_None); resultobj = Py_None; | |
20354 | return resultobj; | |
20355 | fail: | |
20356 | return NULL; | |
20357 | } | |
20358 | ||
20359 | ||
c26d9ab4 | 20360 | static PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20361 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20362 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20363 | int *arg2 = (int *) 0 ; | |
20364 | int *arg3 = (int *) 0 ; | |
20365 | int temp2 ; | |
c32bde28 | 20366 | int res2 = 0 ; |
1cb4a8aa | 20367 | int temp3 ; |
c32bde28 | 20368 | int res3 = 0 ; |
1cb4a8aa RD |
20369 | PyObject * obj0 = 0 ; |
20370 | char *kwnames[] = { | |
20371 | (char *) "self", NULL | |
20372 | }; | |
20373 | ||
c32bde28 RD |
20374 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
20375 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 20376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20377 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20378 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20379 | { |
20380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20381 | ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3); |
1cb4a8aa RD |
20382 | |
20383 | wxPyEndAllowThreads(__tstate); | |
20384 | if (PyErr_Occurred()) SWIG_fail; | |
20385 | } | |
20386 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
20387 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
20388 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
20389 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
20390 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
20391 | return resultobj; |
20392 | fail: | |
20393 | return NULL; | |
20394 | } | |
20395 | ||
20396 | ||
c26d9ab4 | 20397 | static PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20398 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20399 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20400 | int *arg2 = (int *) 0 ; | |
20401 | int *arg3 = (int *) 0 ; | |
20402 | int temp2 ; | |
c32bde28 | 20403 | int res2 = 0 ; |
1cb4a8aa | 20404 | int temp3 ; |
c32bde28 | 20405 | int res3 = 0 ; |
1cb4a8aa RD |
20406 | PyObject * obj0 = 0 ; |
20407 | char *kwnames[] = { | |
20408 | (char *) "self", NULL | |
20409 | }; | |
20410 | ||
c32bde28 RD |
20411 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
20412 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 20413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20414 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20415 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20416 | { |
20417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20418 | ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3); |
1cb4a8aa RD |
20419 | |
20420 | wxPyEndAllowThreads(__tstate); | |
20421 | if (PyErr_Occurred()) SWIG_fail; | |
20422 | } | |
20423 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
20424 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
20425 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
20426 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
20427 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
20428 | return resultobj; |
20429 | fail: | |
20430 | return NULL; | |
20431 | } | |
20432 | ||
20433 | ||
c26d9ab4 | 20434 | static PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20435 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20436 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20437 | int *arg2 = (int *) 0 ; | |
20438 | int *arg3 = (int *) 0 ; | |
20439 | int temp2 ; | |
c32bde28 | 20440 | int res2 = 0 ; |
1cb4a8aa | 20441 | int temp3 ; |
c32bde28 | 20442 | int res3 = 0 ; |
1cb4a8aa RD |
20443 | PyObject * obj0 = 0 ; |
20444 | char *kwnames[] = { | |
20445 | (char *) "self", NULL | |
20446 | }; | |
20447 | ||
c32bde28 RD |
20448 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
20449 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 20450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20451 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20452 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20453 | { |
20454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20455 | ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3); |
1cb4a8aa RD |
20456 | |
20457 | wxPyEndAllowThreads(__tstate); | |
20458 | if (PyErr_Occurred()) SWIG_fail; | |
20459 | } | |
20460 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
20461 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
20462 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
20463 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
20464 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
20465 | return resultobj; |
20466 | fail: | |
20467 | return NULL; | |
20468 | } | |
20469 | ||
20470 | ||
c26d9ab4 | 20471 | static PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20472 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20473 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20474 | wxSize result; | |
20475 | PyObject * obj0 = 0 ; | |
20476 | char *kwnames[] = { | |
20477 | (char *) "self", NULL | |
20478 | }; | |
20479 | ||
c26d9ab4 | 20480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20481 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20482 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20483 | { |
20484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20485 | result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize(); |
1cb4a8aa RD |
20486 | |
20487 | wxPyEndAllowThreads(__tstate); | |
20488 | if (PyErr_Occurred()) SWIG_fail; | |
20489 | } | |
20490 | { | |
20491 | wxSize * resultptr; | |
32fe5131 | 20492 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
1cb4a8aa RD |
20493 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
20494 | } | |
20495 | return resultobj; | |
20496 | fail: | |
20497 | return NULL; | |
20498 | } | |
20499 | ||
20500 | ||
c26d9ab4 | 20501 | static PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20502 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20503 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20504 | wxSize result; | |
20505 | PyObject * obj0 = 0 ; | |
20506 | char *kwnames[] = { | |
20507 | (char *) "self", NULL | |
20508 | }; | |
20509 | ||
c26d9ab4 | 20510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20511 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20512 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20513 | { |
20514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20515 | result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize(); |
1cb4a8aa RD |
20516 | |
20517 | wxPyEndAllowThreads(__tstate); | |
20518 | if (PyErr_Occurred()) SWIG_fail; | |
20519 | } | |
20520 | { | |
20521 | wxSize * resultptr; | |
32fe5131 | 20522 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
1cb4a8aa RD |
20523 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
20524 | } | |
20525 | return resultobj; | |
20526 | fail: | |
20527 | return NULL; | |
20528 | } | |
20529 | ||
20530 | ||
c26d9ab4 | 20531 | static PyObject *_wrap_PyScrolledWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20532 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20533 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20534 | PyObject * obj0 = 0 ; | |
20535 | char *kwnames[] = { | |
20536 | (char *) "self", NULL | |
20537 | }; | |
20538 | ||
c26d9ab4 | 20539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_InitDialog",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20540 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20541 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20542 | { |
20543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20544 | (arg1)->InitDialog(); |
1cb4a8aa RD |
20545 | |
20546 | wxPyEndAllowThreads(__tstate); | |
20547 | if (PyErr_Occurred()) SWIG_fail; | |
20548 | } | |
20549 | Py_INCREF(Py_None); resultobj = Py_None; | |
20550 | return resultobj; | |
20551 | fail: | |
20552 | return NULL; | |
20553 | } | |
20554 | ||
20555 | ||
c26d9ab4 | 20556 | static PyObject *_wrap_PyScrolledWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20557 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20558 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20559 | bool result; | |
20560 | PyObject * obj0 = 0 ; | |
20561 | char *kwnames[] = { | |
20562 | (char *) "self", NULL | |
20563 | }; | |
20564 | ||
c26d9ab4 | 20565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20566 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20567 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20568 | { |
20569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20570 | result = (bool)(arg1)->TransferDataToWindow(); |
1cb4a8aa RD |
20571 | |
20572 | wxPyEndAllowThreads(__tstate); | |
20573 | if (PyErr_Occurred()) SWIG_fail; | |
20574 | } | |
20575 | { | |
20576 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20577 | } | |
20578 | return resultobj; | |
20579 | fail: | |
20580 | return NULL; | |
20581 | } | |
20582 | ||
20583 | ||
c26d9ab4 | 20584 | static PyObject *_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20585 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20586 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20587 | bool result; | |
20588 | PyObject * obj0 = 0 ; | |
20589 | char *kwnames[] = { | |
20590 | (char *) "self", NULL | |
20591 | }; | |
20592 | ||
c26d9ab4 | 20593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20594 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20595 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20596 | { |
20597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20598 | result = (bool)(arg1)->TransferDataFromWindow(); |
1cb4a8aa RD |
20599 | |
20600 | wxPyEndAllowThreads(__tstate); | |
20601 | if (PyErr_Occurred()) SWIG_fail; | |
20602 | } | |
20603 | { | |
20604 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20605 | } | |
20606 | return resultobj; | |
20607 | fail: | |
20608 | return NULL; | |
20609 | } | |
20610 | ||
20611 | ||
c26d9ab4 | 20612 | static PyObject *_wrap_PyScrolledWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20613 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20614 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20615 | bool result; | |
20616 | PyObject * obj0 = 0 ; | |
20617 | char *kwnames[] = { | |
20618 | (char *) "self", NULL | |
20619 | }; | |
20620 | ||
c26d9ab4 | 20621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_Validate",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20622 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20623 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20624 | { |
20625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20626 | result = (bool)(arg1)->Validate(); |
1cb4a8aa RD |
20627 | |
20628 | wxPyEndAllowThreads(__tstate); | |
20629 | if (PyErr_Occurred()) SWIG_fail; | |
20630 | } | |
20631 | { | |
20632 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20633 | } | |
20634 | return resultobj; | |
20635 | fail: | |
20636 | return NULL; | |
20637 | } | |
20638 | ||
20639 | ||
c26d9ab4 | 20640 | static PyObject *_wrap_PyScrolledWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20641 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20642 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20643 | bool result; | |
20644 | PyObject * obj0 = 0 ; | |
20645 | char *kwnames[] = { | |
20646 | (char *) "self", NULL | |
20647 | }; | |
20648 | ||
c26d9ab4 | 20649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20650 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20651 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20652 | { |
20653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20654 | result = (bool)((wxPyScrolledWindow const *)arg1)->AcceptsFocus(); |
1cb4a8aa RD |
20655 | |
20656 | wxPyEndAllowThreads(__tstate); | |
20657 | if (PyErr_Occurred()) SWIG_fail; | |
20658 | } | |
20659 | { | |
20660 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20661 | } | |
20662 | return resultobj; | |
20663 | fail: | |
20664 | return NULL; | |
20665 | } | |
20666 | ||
20667 | ||
c26d9ab4 | 20668 | static PyObject *_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20669 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20670 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20671 | bool result; | |
20672 | PyObject * obj0 = 0 ; | |
20673 | char *kwnames[] = { | |
20674 | (char *) "self", NULL | |
20675 | }; | |
20676 | ||
c26d9ab4 | 20677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20678 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20679 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20680 | { |
20681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20682 | result = (bool)((wxPyScrolledWindow const *)arg1)->AcceptsFocusFromKeyboard(); |
1cb4a8aa RD |
20683 | |
20684 | wxPyEndAllowThreads(__tstate); | |
20685 | if (PyErr_Occurred()) SWIG_fail; | |
20686 | } | |
20687 | { | |
20688 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20689 | } | |
20690 | return resultobj; | |
20691 | fail: | |
20692 | return NULL; | |
20693 | } | |
20694 | ||
20695 | ||
c26d9ab4 | 20696 | static PyObject *_wrap_PyScrolledWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20697 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20698 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20699 | wxSize result; | |
20700 | PyObject * obj0 = 0 ; | |
20701 | char *kwnames[] = { | |
20702 | (char *) "self", NULL | |
20703 | }; | |
20704 | ||
c26d9ab4 | 20705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20706 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20707 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20708 | { |
20709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20710 | result = ((wxPyScrolledWindow const *)arg1)->GetMaxSize(); |
1cb4a8aa RD |
20711 | |
20712 | wxPyEndAllowThreads(__tstate); | |
20713 | if (PyErr_Occurred()) SWIG_fail; | |
20714 | } | |
20715 | { | |
20716 | wxSize * resultptr; | |
32fe5131 | 20717 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
1cb4a8aa RD |
20718 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
20719 | } | |
20720 | return resultobj; | |
20721 | fail: | |
20722 | return NULL; | |
20723 | } | |
20724 | ||
20725 | ||
c26d9ab4 | 20726 | static PyObject *_wrap_PyScrolledWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20727 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20728 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20729 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20730 | PyObject * obj0 = 0 ; | |
20731 | PyObject * obj1 = 0 ; | |
20732 | char *kwnames[] = { | |
20733 | (char *) "self",(char *) "child", NULL | |
20734 | }; | |
20735 | ||
c26d9ab4 | 20736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_AddChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
20737 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20738 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20739 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
20740 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1cb4a8aa RD |
20741 | { |
20742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20743 | (arg1)->AddChild(arg2); |
1cb4a8aa RD |
20744 | |
20745 | wxPyEndAllowThreads(__tstate); | |
20746 | if (PyErr_Occurred()) SWIG_fail; | |
20747 | } | |
20748 | Py_INCREF(Py_None); resultobj = Py_None; | |
20749 | return resultobj; | |
20750 | fail: | |
20751 | return NULL; | |
20752 | } | |
20753 | ||
20754 | ||
c26d9ab4 | 20755 | static PyObject *_wrap_PyScrolledWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20756 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20757 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20758 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20759 | PyObject * obj0 = 0 ; | |
20760 | PyObject * obj1 = 0 ; | |
20761 | char *kwnames[] = { | |
20762 | (char *) "self",(char *) "child", NULL | |
20763 | }; | |
20764 | ||
c26d9ab4 | 20765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
20766 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20767 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20768 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
20769 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1cb4a8aa RD |
20770 | { |
20771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20772 | (arg1)->RemoveChild(arg2); |
1cb4a8aa RD |
20773 | |
20774 | wxPyEndAllowThreads(__tstate); | |
20775 | if (PyErr_Occurred()) SWIG_fail; | |
20776 | } | |
20777 | Py_INCREF(Py_None); resultobj = Py_None; | |
20778 | return resultobj; | |
20779 | fail: | |
20780 | return NULL; | |
20781 | } | |
20782 | ||
20783 | ||
c26d9ab4 | 20784 | static PyObject *_wrap_PyScrolledWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20785 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20786 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20787 | bool result; | |
20788 | PyObject * obj0 = 0 ; | |
20789 | char *kwnames[] = { | |
20790 | (char *) "self", NULL | |
20791 | }; | |
20792 | ||
c26d9ab4 | 20793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20794 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20795 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20796 | { |
20797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20798 | result = (bool)((wxPyScrolledWindow const *)arg1)->ShouldInheritColours(); |
1cb4a8aa RD |
20799 | |
20800 | wxPyEndAllowThreads(__tstate); | |
20801 | if (PyErr_Occurred()) SWIG_fail; | |
20802 | } | |
20803 | { | |
20804 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20805 | } | |
20806 | return resultobj; | |
20807 | fail: | |
20808 | return NULL; | |
20809 | } | |
20810 | ||
20811 | ||
c26d9ab4 | 20812 | static PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20813 | PyObject *resultobj = NULL; |
db3e571a RD |
20814 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20815 | wxVisualAttributes result; | |
20816 | PyObject * obj0 = 0 ; | |
20817 | char *kwnames[] = { | |
20818 | (char *) "self", NULL | |
20819 | }; | |
20820 | ||
c26d9ab4 | 20821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20822 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20823 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
20824 | { |
20825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20826 | result = (arg1)->GetDefaultAttributes(); |
db3e571a RD |
20827 | |
20828 | wxPyEndAllowThreads(__tstate); | |
20829 | if (PyErr_Occurred()) SWIG_fail; | |
20830 | } | |
20831 | { | |
20832 | wxVisualAttributes * resultptr; | |
32fe5131 | 20833 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
db3e571a RD |
20834 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
20835 | } | |
20836 | return resultobj; | |
20837 | fail: | |
20838 | return NULL; | |
20839 | } | |
20840 | ||
20841 | ||
c26d9ab4 | 20842 | static PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20843 | PyObject *resultobj = NULL; |
8d38bd1d RD |
20844 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20845 | PyObject * obj0 = 0 ; | |
20846 | char *kwnames[] = { | |
20847 | (char *) "self", NULL | |
20848 | }; | |
20849 | ||
c26d9ab4 | 20850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames,&obj0)) goto fail; |
8d38bd1d RD |
20851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20853 | { | |
20854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20855 | (arg1)->OnInternalIdle(); |
8d38bd1d RD |
20856 | |
20857 | wxPyEndAllowThreads(__tstate); | |
20858 | if (PyErr_Occurred()) SWIG_fail; | |
20859 | } | |
20860 | Py_INCREF(Py_None); resultobj = Py_None; | |
20861 | return resultobj; | |
20862 | fail: | |
20863 | return NULL; | |
20864 | } | |
20865 | ||
20866 | ||
c32bde28 | 20867 | static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) { |
1cb4a8aa RD |
20868 | PyObject *obj; |
20869 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20870 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
20871 | Py_INCREF(obj); | |
20872 | return Py_BuildValue((char *)""); | |
20873 | } | |
c32bde28 | 20874 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
1cb4a8aa RD |
20875 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
20876 | return 1; | |
20877 | } | |
20878 | ||
20879 | ||
093d3ff1 | 20880 | static PyObject *_wrap_PrintoutTitleStr_get(void) { |
32fe5131 | 20881 | PyObject *pyobj = NULL; |
1cb4a8aa RD |
20882 | |
20883 | { | |
20884 | #if wxUSE_UNICODE | |
20885 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20886 | #else | |
20887 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20888 | #endif | |
20889 | } | |
20890 | return pyobj; | |
20891 | } | |
20892 | ||
20893 | ||
c32bde28 | 20894 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
1cb4a8aa RD |
20895 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
20896 | return 1; | |
20897 | } | |
20898 | ||
20899 | ||
093d3ff1 | 20900 | static PyObject *_wrap_PreviewCanvasNameStr_get(void) { |
32fe5131 | 20901 | PyObject *pyobj = NULL; |
1cb4a8aa RD |
20902 | |
20903 | { | |
20904 | #if wxUSE_UNICODE | |
20905 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20906 | #else | |
20907 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20908 | #endif | |
20909 | } | |
20910 | return pyobj; | |
20911 | } | |
20912 | ||
20913 | ||
c32bde28 | 20914 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 20915 | PyObject *resultobj = NULL; |
1cb4a8aa | 20916 | wxPrintData *result; |
1cb4a8aa | 20917 | |
11207aef | 20918 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
1cb4a8aa RD |
20919 | { |
20920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20921 | result = (wxPrintData *)new wxPrintData(); | |
20922 | ||
20923 | wxPyEndAllowThreads(__tstate); | |
20924 | if (PyErr_Occurred()) SWIG_fail; | |
20925 | } | |
20926 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20927 | return resultobj; | |
20928 | fail: | |
20929 | return NULL; | |
20930 | } | |
20931 | ||
20932 | ||
c32bde28 | 20933 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 20934 | PyObject *resultobj = NULL; |
11207aef RD |
20935 | wxPrintData *arg1 = 0 ; |
20936 | wxPrintData *result; | |
20937 | PyObject * obj0 = 0 ; | |
20938 | ||
20939 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail; | |
093d3ff1 RD |
20940 | { |
20941 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
20942 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20943 | if (arg1 == NULL) { | |
20944 | SWIG_null_ref("wxPrintData"); | |
20945 | } | |
20946 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11207aef RD |
20947 | } |
20948 | { | |
20949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20950 | result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1); | |
20951 | ||
20952 | wxPyEndAllowThreads(__tstate); | |
20953 | if (PyErr_Occurred()) SWIG_fail; | |
20954 | } | |
20955 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20956 | return resultobj; | |
20957 | fail: | |
20958 | return NULL; | |
20959 | } | |
20960 | ||
20961 | ||
20962 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { | |
20963 | int argc; | |
20964 | PyObject *argv[2]; | |
20965 | int ii; | |
20966 | ||
20967 | argc = PyObject_Length(args); | |
20968 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
20969 | argv[ii] = PyTuple_GetItem(args,ii); | |
20970 | } | |
20971 | if (argc == 0) { | |
20972 | return _wrap_new_PrintData__SWIG_0(self,args); | |
20973 | } | |
20974 | if (argc == 1) { | |
20975 | int _v; | |
20976 | { | |
093d3ff1 | 20977 | void *ptr = 0; |
11207aef RD |
20978 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
20979 | _v = 0; | |
20980 | PyErr_Clear(); | |
20981 | } else { | |
093d3ff1 | 20982 | _v = (ptr != 0); |
11207aef RD |
20983 | } |
20984 | } | |
20985 | if (_v) { | |
20986 | return _wrap_new_PrintData__SWIG_1(self,args); | |
20987 | } | |
20988 | } | |
20989 | ||
093d3ff1 | 20990 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'"); |
11207aef RD |
20991 | return NULL; |
20992 | } | |
20993 | ||
20994 | ||
c32bde28 | 20995 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20996 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20997 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
20998 | PyObject * obj0 = 0 ; | |
20999 | char *kwnames[] = { | |
21000 | (char *) "self", NULL | |
21001 | }; | |
21002 | ||
21003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
21006 | { |
21007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21008 | delete arg1; | |
21009 | ||
21010 | wxPyEndAllowThreads(__tstate); | |
21011 | if (PyErr_Occurred()) SWIG_fail; | |
21012 | } | |
21013 | Py_INCREF(Py_None); resultobj = Py_None; | |
21014 | return resultobj; | |
21015 | fail: | |
21016 | return NULL; | |
21017 | } | |
21018 | ||
21019 | ||
c32bde28 | 21020 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21021 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
21022 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21023 | int result; | |
21024 | PyObject * obj0 = 0 ; | |
21025 | char *kwnames[] = { | |
21026 | (char *) "self", NULL | |
21027 | }; | |
21028 | ||
21029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21030 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21031 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
21032 | { |
21033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21034 | result = (int)(arg1)->GetNoCopies(); | |
21035 | ||
21036 | wxPyEndAllowThreads(__tstate); | |
21037 | if (PyErr_Occurred()) SWIG_fail; | |
21038 | } | |
093d3ff1 | 21039 | { |
32fe5131 | 21040 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 21041 | } |
1cb4a8aa RD |
21042 | return resultobj; |
21043 | fail: | |
d14a1e28 RD |
21044 | return NULL; |
21045 | } | |
21046 | ||
21047 | ||
c32bde28 | 21048 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21049 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21050 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21051 | bool result; | |
21052 | PyObject * obj0 = 0 ; | |
21053 | char *kwnames[] = { | |
21054 | (char *) "self", NULL | |
21055 | }; | |
21056 | ||
21057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21058 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21059 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21060 | { |
21061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21062 | result = (bool)(arg1)->GetCollate(); | |
21063 | ||
21064 | wxPyEndAllowThreads(__tstate); | |
21065 | if (PyErr_Occurred()) SWIG_fail; | |
21066 | } | |
4f89f6a3 RD |
21067 | { |
21068 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21069 | } | |
d14a1e28 RD |
21070 | return resultobj; |
21071 | fail: | |
21072 | return NULL; | |
21073 | } | |
21074 | ||
21075 | ||
c32bde28 | 21076 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21077 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21078 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21079 | int result; | |
21080 | PyObject * obj0 = 0 ; | |
21081 | char *kwnames[] = { | |
21082 | (char *) "self", NULL | |
21083 | }; | |
21084 | ||
21085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21086 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21087 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21088 | { |
21089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21090 | result = (int)(arg1)->GetOrientation(); | |
21091 | ||
21092 | wxPyEndAllowThreads(__tstate); | |
21093 | if (PyErr_Occurred()) SWIG_fail; | |
21094 | } | |
093d3ff1 | 21095 | { |
32fe5131 | 21096 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 21097 | } |
d14a1e28 RD |
21098 | return resultobj; |
21099 | fail: | |
21100 | return NULL; | |
21101 | } | |
21102 | ||
21103 | ||
c32bde28 | 21104 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21105 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21106 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21107 | bool result; | |
21108 | PyObject * obj0 = 0 ; | |
21109 | char *kwnames[] = { | |
21110 | (char *) "self", NULL | |
21111 | }; | |
21112 | ||
21113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21114 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21115 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21116 | { |
21117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21118 | result = (bool)(arg1)->Ok(); | |
21119 | ||
21120 | wxPyEndAllowThreads(__tstate); | |
21121 | if (PyErr_Occurred()) SWIG_fail; | |
21122 | } | |
4f89f6a3 RD |
21123 | { |
21124 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21125 | } | |
d14a1e28 RD |
21126 | return resultobj; |
21127 | fail: | |
21128 | return NULL; | |
21129 | } | |
21130 | ||
21131 | ||
c32bde28 | 21132 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21133 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21134 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21135 | wxString *result; | |
21136 | PyObject * obj0 = 0 ; | |
21137 | char *kwnames[] = { | |
21138 | (char *) "self", NULL | |
21139 | }; | |
21140 | ||
21141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21142 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21143 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21144 | { |
21145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21146 | { | |
21147 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
21148 | result = (wxString *) &_result_ref; | |
21149 | } | |
21150 | ||
21151 | wxPyEndAllowThreads(__tstate); | |
21152 | if (PyErr_Occurred()) SWIG_fail; | |
21153 | } | |
cc6dd355 RD |
21154 | { |
21155 | #if wxUSE_UNICODE | |
21156 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21157 | #else | |
21158 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21159 | #endif | |
21160 | } | |
d14a1e28 RD |
21161 | return resultobj; |
21162 | fail: | |
21163 | return NULL; | |
21164 | } | |
21165 | ||
21166 | ||
c32bde28 | 21167 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21168 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21169 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21170 | bool result; | |
21171 | PyObject * obj0 = 0 ; | |
21172 | char *kwnames[] = { | |
21173 | (char *) "self", NULL | |
21174 | }; | |
21175 | ||
21176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21177 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21178 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21179 | { |
21180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21181 | result = (bool)(arg1)->GetColour(); | |
21182 | ||
21183 | wxPyEndAllowThreads(__tstate); | |
21184 | if (PyErr_Occurred()) SWIG_fail; | |
21185 | } | |
4f89f6a3 RD |
21186 | { |
21187 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21188 | } | |
d14a1e28 RD |
21189 | return resultobj; |
21190 | fail: | |
21191 | return NULL; | |
21192 | } | |
21193 | ||
21194 | ||
c32bde28 | 21195 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21196 | PyObject *resultobj = NULL; |
d14a1e28 | 21197 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21198 | wxDuplexMode result; |
d14a1e28 RD |
21199 | PyObject * obj0 = 0 ; |
21200 | char *kwnames[] = { | |
21201 | (char *) "self", NULL | |
21202 | }; | |
21203 | ||
21204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21205 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21206 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21207 | { |
21208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 21209 | result = (wxDuplexMode)(arg1)->GetDuplex(); |
d14a1e28 RD |
21210 | |
21211 | wxPyEndAllowThreads(__tstate); | |
21212 | if (PyErr_Occurred()) SWIG_fail; | |
21213 | } | |
093d3ff1 | 21214 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
21215 | return resultobj; |
21216 | fail: | |
21217 | return NULL; | |
21218 | } | |
21219 | ||
21220 | ||
c32bde28 | 21221 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21222 | PyObject *resultobj = NULL; |
d14a1e28 | 21223 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21224 | wxPaperSize result; |
d14a1e28 RD |
21225 | PyObject * obj0 = 0 ; |
21226 | char *kwnames[] = { | |
21227 | (char *) "self", NULL | |
21228 | }; | |
21229 | ||
21230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21233 | { |
21234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 21235 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d14a1e28 RD |
21236 | |
21237 | wxPyEndAllowThreads(__tstate); | |
21238 | if (PyErr_Occurred()) SWIG_fail; | |
21239 | } | |
093d3ff1 | 21240 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
21241 | return resultobj; |
21242 | fail: | |
21243 | return NULL; | |
21244 | } | |
21245 | ||
21246 | ||
c32bde28 | 21247 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21248 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21249 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21250 | wxSize *result; | |
21251 | PyObject * obj0 = 0 ; | |
21252 | char *kwnames[] = { | |
21253 | (char *) "self", NULL | |
21254 | }; | |
21255 | ||
21256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21257 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21258 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21259 | { |
21260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21261 | { | |
21262 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
21263 | result = (wxSize *) &_result_ref; | |
21264 | } | |
21265 | ||
21266 | wxPyEndAllowThreads(__tstate); | |
21267 | if (PyErr_Occurred()) SWIG_fail; | |
21268 | } | |
15afbcd0 | 21269 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
21270 | return resultobj; |
21271 | fail: | |
21272 | return NULL; | |
21273 | } | |
21274 | ||
21275 | ||
c32bde28 | 21276 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21277 | PyObject *resultobj = NULL; |
d14a1e28 | 21278 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
b2dc1044 | 21279 | int result; |
d14a1e28 RD |
21280 | PyObject * obj0 = 0 ; |
21281 | char *kwnames[] = { | |
21282 | (char *) "self", NULL | |
21283 | }; | |
21284 | ||
21285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21286 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21287 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21288 | { |
21289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b2dc1044 | 21290 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
21291 | |
21292 | wxPyEndAllowThreads(__tstate); | |
21293 | if (PyErr_Occurred()) SWIG_fail; | |
21294 | } | |
093d3ff1 | 21295 | { |
32fe5131 | 21296 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 21297 | } |
d14a1e28 RD |
21298 | return resultobj; |
21299 | fail: | |
21300 | return NULL; | |
21301 | } | |
21302 | ||
21303 | ||
2ef75293 | 21304 | static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21305 | PyObject *resultobj = NULL; |
2ef75293 | 21306 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21307 | wxPrintBin result; |
2ef75293 RD |
21308 | PyObject * obj0 = 0 ; |
21309 | char *kwnames[] = { | |
21310 | (char *) "self", NULL | |
21311 | }; | |
21312 | ||
21313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21314 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21315 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2ef75293 RD |
21316 | { |
21317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 21318 | result = (wxPrintBin)(arg1)->GetBin(); |
2ef75293 RD |
21319 | |
21320 | wxPyEndAllowThreads(__tstate); | |
21321 | if (PyErr_Occurred()) SWIG_fail; | |
21322 | } | |
093d3ff1 | 21323 | resultobj = SWIG_From_int((result)); |
2ef75293 RD |
21324 | return resultobj; |
21325 | fail: | |
21326 | return NULL; | |
21327 | } | |
21328 | ||
21329 | ||
d3b6e4ff | 21330 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21331 | PyObject *resultobj = NULL; |
d3b6e4ff | 21332 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21333 | wxPrintMode result; |
d3b6e4ff RD |
21334 | PyObject * obj0 = 0 ; |
21335 | char *kwnames[] = { | |
21336 | (char *) "self", NULL | |
21337 | }; | |
21338 | ||
21339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21340 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21341 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d3b6e4ff RD |
21342 | { |
21343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 21344 | result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode(); |
d3b6e4ff RD |
21345 | |
21346 | wxPyEndAllowThreads(__tstate); | |
21347 | if (PyErr_Occurred()) SWIG_fail; | |
21348 | } | |
093d3ff1 | 21349 | resultobj = SWIG_From_int((result)); |
d3b6e4ff RD |
21350 | return resultobj; |
21351 | fail: | |
21352 | return NULL; | |
21353 | } | |
21354 | ||
21355 | ||
c32bde28 | 21356 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21357 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21358 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21359 | int arg2 ; | |
21360 | PyObject * obj0 = 0 ; | |
994141e6 | 21361 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21362 | char *kwnames[] = { |
21363 | (char *) "self",(char *) "v", NULL | |
21364 | }; | |
21365 | ||
994141e6 | 21366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21367 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21368 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21369 | { | |
32fe5131 | 21370 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21371 | if (SWIG_arg_fail(2)) SWIG_fail; |
21372 | } | |
d14a1e28 RD |
21373 | { |
21374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21375 | (arg1)->SetNoCopies(arg2); | |
21376 | ||
21377 | wxPyEndAllowThreads(__tstate); | |
21378 | if (PyErr_Occurred()) SWIG_fail; | |
21379 | } | |
21380 | Py_INCREF(Py_None); resultobj = Py_None; | |
21381 | return resultobj; | |
21382 | fail: | |
21383 | return NULL; | |
21384 | } | |
21385 | ||
21386 | ||
c32bde28 | 21387 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21388 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21389 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21390 | bool arg2 ; | |
21391 | PyObject * obj0 = 0 ; | |
21392 | PyObject * obj1 = 0 ; | |
21393 | char *kwnames[] = { | |
21394 | (char *) "self",(char *) "flag", NULL | |
21395 | }; | |
21396 | ||
21397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21400 | { | |
32fe5131 | 21401 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
21402 | if (SWIG_arg_fail(2)) SWIG_fail; |
21403 | } | |
d14a1e28 RD |
21404 | { |
21405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21406 | (arg1)->SetCollate(arg2); | |
21407 | ||
21408 | wxPyEndAllowThreads(__tstate); | |
21409 | if (PyErr_Occurred()) SWIG_fail; | |
21410 | } | |
21411 | Py_INCREF(Py_None); resultobj = Py_None; | |
21412 | return resultobj; | |
21413 | fail: | |
21414 | return NULL; | |
21415 | } | |
21416 | ||
21417 | ||
c32bde28 | 21418 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21419 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21420 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21421 | int arg2 ; | |
21422 | PyObject * obj0 = 0 ; | |
994141e6 | 21423 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21424 | char *kwnames[] = { |
21425 | (char *) "self",(char *) "orient", NULL | |
21426 | }; | |
21427 | ||
994141e6 | 21428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21429 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21430 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21431 | { | |
32fe5131 | 21432 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21433 | if (SWIG_arg_fail(2)) SWIG_fail; |
21434 | } | |
d14a1e28 RD |
21435 | { |
21436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21437 | (arg1)->SetOrientation(arg2); | |
21438 | ||
21439 | wxPyEndAllowThreads(__tstate); | |
21440 | if (PyErr_Occurred()) SWIG_fail; | |
21441 | } | |
21442 | Py_INCREF(Py_None); resultobj = Py_None; | |
21443 | return resultobj; | |
21444 | fail: | |
21445 | return NULL; | |
21446 | } | |
21447 | ||
21448 | ||
c32bde28 | 21449 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21450 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21451 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21452 | wxString *arg2 = 0 ; | |
ae8162c8 | 21453 | bool temp2 = false ; |
d14a1e28 RD |
21454 | PyObject * obj0 = 0 ; |
21455 | PyObject * obj1 = 0 ; | |
21456 | char *kwnames[] = { | |
21457 | (char *) "self",(char *) "name", NULL | |
21458 | }; | |
21459 | ||
21460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21461 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21462 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21463 | { |
21464 | arg2 = wxString_in_helper(obj1); | |
21465 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 21466 | temp2 = true; |
d14a1e28 RD |
21467 | } |
21468 | { | |
21469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21470 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
21471 | ||
21472 | wxPyEndAllowThreads(__tstate); | |
21473 | if (PyErr_Occurred()) SWIG_fail; | |
21474 | } | |
21475 | Py_INCREF(Py_None); resultobj = Py_None; | |
21476 | { | |
21477 | if (temp2) | |
21478 | delete arg2; | |
21479 | } | |
21480 | return resultobj; | |
21481 | fail: | |
21482 | { | |
21483 | if (temp2) | |
21484 | delete arg2; | |
21485 | } | |
21486 | return NULL; | |
21487 | } | |
21488 | ||
21489 | ||
c32bde28 | 21490 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21491 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21492 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21493 | bool arg2 ; | |
21494 | PyObject * obj0 = 0 ; | |
21495 | PyObject * obj1 = 0 ; | |
21496 | char *kwnames[] = { | |
21497 | (char *) "self",(char *) "colour", NULL | |
21498 | }; | |
21499 | ||
21500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21501 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21502 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21503 | { | |
32fe5131 | 21504 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
21505 | if (SWIG_arg_fail(2)) SWIG_fail; |
21506 | } | |
d14a1e28 RD |
21507 | { |
21508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21509 | (arg1)->SetColour(arg2); | |
21510 | ||
21511 | wxPyEndAllowThreads(__tstate); | |
21512 | if (PyErr_Occurred()) SWIG_fail; | |
21513 | } | |
21514 | Py_INCREF(Py_None); resultobj = Py_None; | |
21515 | return resultobj; | |
21516 | fail: | |
21517 | return NULL; | |
21518 | } | |
21519 | ||
21520 | ||
c32bde28 | 21521 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21522 | PyObject *resultobj = NULL; |
d14a1e28 | 21523 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21524 | wxDuplexMode arg2 ; |
d14a1e28 | 21525 | PyObject * obj0 = 0 ; |
994141e6 | 21526 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21527 | char *kwnames[] = { |
21528 | (char *) "self",(char *) "duplex", NULL | |
21529 | }; | |
21530 | ||
994141e6 | 21531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21532 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21533 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21534 | { | |
32fe5131 | 21535 | arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21536 | if (SWIG_arg_fail(2)) SWIG_fail; |
21537 | } | |
d14a1e28 RD |
21538 | { |
21539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 21540 | (arg1)->SetDuplex(arg2); |
d14a1e28 RD |
21541 | |
21542 | wxPyEndAllowThreads(__tstate); | |
21543 | if (PyErr_Occurred()) SWIG_fail; | |
21544 | } | |
21545 | Py_INCREF(Py_None); resultobj = Py_None; | |
21546 | return resultobj; | |
21547 | fail: | |
21548 | return NULL; | |
21549 | } | |
21550 | ||
21551 | ||
c32bde28 | 21552 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21553 | PyObject *resultobj = NULL; |
d14a1e28 | 21554 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21555 | wxPaperSize arg2 ; |
d14a1e28 | 21556 | PyObject * obj0 = 0 ; |
994141e6 | 21557 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21558 | char *kwnames[] = { |
21559 | (char *) "self",(char *) "sizeId", NULL | |
21560 | }; | |
21561 | ||
994141e6 | 21562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21563 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21564 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21565 | { | |
32fe5131 | 21566 | arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21567 | if (SWIG_arg_fail(2)) SWIG_fail; |
21568 | } | |
d14a1e28 RD |
21569 | { |
21570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 21571 | (arg1)->SetPaperId(arg2); |
d14a1e28 RD |
21572 | |
21573 | wxPyEndAllowThreads(__tstate); | |
21574 | if (PyErr_Occurred()) SWIG_fail; | |
21575 | } | |
21576 | Py_INCREF(Py_None); resultobj = Py_None; | |
21577 | return resultobj; | |
21578 | fail: | |
21579 | return NULL; | |
21580 | } | |
21581 | ||
21582 | ||
c32bde28 | 21583 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21584 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21585 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21586 | wxSize *arg2 = 0 ; | |
21587 | wxSize temp2 ; | |
21588 | PyObject * obj0 = 0 ; | |
21589 | PyObject * obj1 = 0 ; | |
21590 | char *kwnames[] = { | |
21591 | (char *) "self",(char *) "sz", NULL | |
21592 | }; | |
21593 | ||
21594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21595 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21596 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21597 | { |
21598 | arg2 = &temp2; | |
21599 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
21600 | } | |
21601 | { | |
21602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21603 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
21604 | ||
21605 | wxPyEndAllowThreads(__tstate); | |
21606 | if (PyErr_Occurred()) SWIG_fail; | |
21607 | } | |
21608 | Py_INCREF(Py_None); resultobj = Py_None; | |
21609 | return resultobj; | |
21610 | fail: | |
21611 | return NULL; | |
21612 | } | |
21613 | ||
21614 | ||
c32bde28 | 21615 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21616 | PyObject *resultobj = NULL; |
d14a1e28 | 21617 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
b2dc1044 | 21618 | int arg2 ; |
d14a1e28 | 21619 | PyObject * obj0 = 0 ; |
994141e6 | 21620 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21621 | char *kwnames[] = { |
21622 | (char *) "self",(char *) "quality", NULL | |
21623 | }; | |
21624 | ||
994141e6 | 21625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21626 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21627 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21628 | { | |
32fe5131 | 21629 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21630 | if (SWIG_arg_fail(2)) SWIG_fail; |
21631 | } | |
d14a1e28 RD |
21632 | { |
21633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21634 | (arg1)->SetQuality(arg2); | |
21635 | ||
21636 | wxPyEndAllowThreads(__tstate); | |
21637 | if (PyErr_Occurred()) SWIG_fail; | |
21638 | } | |
21639 | Py_INCREF(Py_None); resultobj = Py_None; | |
21640 | return resultobj; | |
21641 | fail: | |
21642 | return NULL; | |
21643 | } | |
21644 | ||
21645 | ||
2ef75293 | 21646 | static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21647 | PyObject *resultobj = NULL; |
2ef75293 | 21648 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21649 | wxPrintBin arg2 ; |
2ef75293 RD |
21650 | PyObject * obj0 = 0 ; |
21651 | PyObject * obj1 = 0 ; | |
21652 | char *kwnames[] = { | |
21653 | (char *) "self",(char *) "bin", NULL | |
21654 | }; | |
21655 | ||
21656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21657 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21658 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21659 | { | |
32fe5131 | 21660 | arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21661 | if (SWIG_arg_fail(2)) SWIG_fail; |
21662 | } | |
2ef75293 RD |
21663 | { |
21664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 21665 | (arg1)->SetBin(arg2); |
2ef75293 RD |
21666 | |
21667 | wxPyEndAllowThreads(__tstate); | |
21668 | if (PyErr_Occurred()) SWIG_fail; | |
21669 | } | |
21670 | Py_INCREF(Py_None); resultobj = Py_None; | |
21671 | return resultobj; | |
21672 | fail: | |
21673 | return NULL; | |
21674 | } | |
21675 | ||
21676 | ||
d3b6e4ff | 21677 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21678 | PyObject *resultobj = NULL; |
d14a1e28 | 21679 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21680 | wxPrintMode arg2 ; |
d3b6e4ff RD |
21681 | PyObject * obj0 = 0 ; |
21682 | PyObject * obj1 = 0 ; | |
21683 | char *kwnames[] = { | |
21684 | (char *) "self",(char *) "printMode", NULL | |
21685 | }; | |
21686 | ||
21687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21688 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21689 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21690 | { | |
32fe5131 | 21691 | arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21692 | if (SWIG_arg_fail(2)) SWIG_fail; |
21693 | } | |
d3b6e4ff RD |
21694 | { |
21695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 21696 | (arg1)->SetPrintMode(arg2); |
d3b6e4ff RD |
21697 | |
21698 | wxPyEndAllowThreads(__tstate); | |
21699 | if (PyErr_Occurred()) SWIG_fail; | |
21700 | } | |
21701 | Py_INCREF(Py_None); resultobj = Py_None; | |
21702 | return resultobj; | |
21703 | fail: | |
21704 | return NULL; | |
21705 | } | |
21706 | ||
21707 | ||
21708 | static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 21709 | PyObject *resultobj = NULL; |
d3b6e4ff RD |
21710 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21711 | wxString result; | |
d14a1e28 RD |
21712 | PyObject * obj0 = 0 ; |
21713 | char *kwnames[] = { | |
21714 | (char *) "self", NULL | |
21715 | }; | |
21716 | ||
d3b6e4ff | 21717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
21718 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21719 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21720 | { |
21721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 21722 | result = ((wxPrintData const *)arg1)->GetFilename(); |
d14a1e28 RD |
21723 | |
21724 | wxPyEndAllowThreads(__tstate); | |
21725 | if (PyErr_Occurred()) SWIG_fail; | |
21726 | } | |
cc6dd355 RD |
21727 | { |
21728 | #if wxUSE_UNICODE | |
d3b6e4ff | 21729 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
cc6dd355 | 21730 | #else |
d3b6e4ff | 21731 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
cc6dd355 RD |
21732 | #endif |
21733 | } | |
d14a1e28 RD |
21734 | return resultobj; |
21735 | fail: | |
21736 | return NULL; | |
21737 | } | |
21738 | ||
21739 | ||
d3b6e4ff | 21740 | static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21741 | PyObject *resultobj = NULL; |
d3b6e4ff RD |
21742 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21743 | wxString *arg2 = 0 ; | |
21744 | bool temp2 = false ; | |
21745 | PyObject * obj0 = 0 ; | |
21746 | PyObject * obj1 = 0 ; | |
21747 | char *kwnames[] = { | |
21748 | (char *) "self",(char *) "filename", NULL | |
21749 | }; | |
21750 | ||
21751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21752 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d3b6e4ff RD |
21754 | { |
21755 | arg2 = wxString_in_helper(obj1); | |
21756 | if (arg2 == NULL) SWIG_fail; | |
21757 | temp2 = true; | |
21758 | } | |
21759 | { | |
21760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21761 | (arg1)->SetFilename((wxString const &)*arg2); | |
21762 | ||
21763 | wxPyEndAllowThreads(__tstate); | |
21764 | if (PyErr_Occurred()) SWIG_fail; | |
21765 | } | |
21766 | Py_INCREF(Py_None); resultobj = Py_None; | |
21767 | { | |
21768 | if (temp2) | |
21769 | delete arg2; | |
21770 | } | |
21771 | return resultobj; | |
21772 | fail: | |
21773 | { | |
21774 | if (temp2) | |
21775 | delete arg2; | |
21776 | } | |
21777 | return NULL; | |
21778 | } | |
21779 | ||
21780 | ||
b9d6a5f3 | 21781 | static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21782 | PyObject *resultobj = NULL; |
b9d6a5f3 RD |
21783 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21784 | PyObject *result; | |
21785 | PyObject * obj0 = 0 ; | |
21786 | char *kwnames[] = { | |
21787 | (char *) "self", NULL | |
21788 | }; | |
21789 | ||
21790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail; | |
21791 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21792 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21793 | { | |
21794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21795 | result = (PyObject *)wxPrintData_GetPrivData(arg1); | |
21796 | ||
21797 | wxPyEndAllowThreads(__tstate); | |
21798 | if (PyErr_Occurred()) SWIG_fail; | |
21799 | } | |
21800 | resultobj = result; | |
21801 | return resultobj; | |
21802 | fail: | |
21803 | return NULL; | |
21804 | } | |
21805 | ||
21806 | ||
21807 | static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 21808 | PyObject *resultobj = NULL; |
b9d6a5f3 RD |
21809 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21810 | PyObject *arg2 = (PyObject *) 0 ; | |
21811 | PyObject * obj0 = 0 ; | |
21812 | PyObject * obj1 = 0 ; | |
21813 | char *kwnames[] = { | |
21814 | (char *) "self",(char *) "data", NULL | |
21815 | }; | |
21816 | ||
21817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail; | |
21818 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21819 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21820 | arg2 = obj1; | |
21821 | { | |
21822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21823 | wxPrintData_SetPrivData(arg1,arg2); | |
21824 | ||
21825 | wxPyEndAllowThreads(__tstate); | |
21826 | if (PyErr_Occurred()) SWIG_fail; | |
21827 | } | |
21828 | Py_INCREF(Py_None); resultobj = Py_None; | |
21829 | return resultobj; | |
21830 | fail: | |
21831 | return NULL; | |
21832 | } | |
21833 | ||
21834 | ||
c32bde28 | 21835 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
21836 | PyObject *obj; |
21837 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21838 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
21839 | Py_INCREF(obj); | |
21840 | return Py_BuildValue((char *)""); | |
21841 | } | |
c32bde28 | 21842 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 21843 | PyObject *resultobj = NULL; |
d14a1e28 | 21844 | wxPageSetupDialogData *result; |
d14a1e28 | 21845 | |
11207aef | 21846 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
d14a1e28 RD |
21847 | { |
21848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21849 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
21850 | ||
21851 | wxPyEndAllowThreads(__tstate); | |
21852 | if (PyErr_Occurred()) SWIG_fail; | |
21853 | } | |
15afbcd0 | 21854 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
21855 | return resultobj; |
21856 | fail: | |
21857 | return NULL; | |
21858 | } | |
21859 | ||
21860 | ||
c32bde28 | 21861 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 21862 | PyObject *resultobj = NULL; |
11207aef RD |
21863 | wxPageSetupDialogData *arg1 = 0 ; |
21864 | wxPageSetupDialogData *result; | |
21865 | PyObject * obj0 = 0 ; | |
21866 | ||
21867 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
093d3ff1 RD |
21868 | { |
21869 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
21870 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21871 | if (arg1 == NULL) { | |
21872 | SWIG_null_ref("wxPageSetupDialogData"); | |
21873 | } | |
21874 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11207aef RD |
21875 | } |
21876 | { | |
21877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21878 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1); | |
21879 | ||
21880 | wxPyEndAllowThreads(__tstate); | |
21881 | if (PyErr_Occurred()) SWIG_fail; | |
21882 | } | |
21883 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21884 | return resultobj; | |
21885 | fail: | |
21886 | return NULL; | |
21887 | } | |
21888 | ||
21889 | ||
7557b9b5 | 21890 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) { |
32fe5131 | 21891 | PyObject *resultobj = NULL; |
7557b9b5 RD |
21892 | wxPrintData *arg1 = 0 ; |
21893 | wxPageSetupDialogData *result; | |
21894 | PyObject * obj0 = 0 ; | |
21895 | ||
21896 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
21897 | { | |
21898 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21899 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21900 | if (arg1 == NULL) { | |
21901 | SWIG_null_ref("wxPrintData"); | |
21902 | } | |
21903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21904 | } | |
21905 | { | |
21906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21907 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1); | |
21908 | ||
21909 | wxPyEndAllowThreads(__tstate); | |
21910 | if (PyErr_Occurred()) SWIG_fail; | |
21911 | } | |
21912 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21913 | return resultobj; | |
21914 | fail: | |
21915 | return NULL; | |
21916 | } | |
21917 | ||
21918 | ||
11207aef RD |
21919 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { |
21920 | int argc; | |
21921 | PyObject *argv[2]; | |
21922 | int ii; | |
21923 | ||
21924 | argc = PyObject_Length(args); | |
21925 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
21926 | argv[ii] = PyTuple_GetItem(args,ii); | |
21927 | } | |
21928 | if (argc == 0) { | |
21929 | return _wrap_new_PageSetupDialogData__SWIG_0(self,args); | |
21930 | } | |
21931 | if (argc == 1) { | |
21932 | int _v; | |
21933 | { | |
093d3ff1 | 21934 | void *ptr = 0; |
11207aef RD |
21935 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) { |
21936 | _v = 0; | |
21937 | PyErr_Clear(); | |
21938 | } else { | |
093d3ff1 | 21939 | _v = (ptr != 0); |
11207aef RD |
21940 | } |
21941 | } | |
21942 | if (_v) { | |
21943 | return _wrap_new_PageSetupDialogData__SWIG_1(self,args); | |
21944 | } | |
21945 | } | |
7557b9b5 RD |
21946 | if (argc == 1) { |
21947 | int _v; | |
21948 | { | |
21949 | void *ptr = 0; | |
21950 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
21951 | _v = 0; | |
21952 | PyErr_Clear(); | |
21953 | } else { | |
21954 | _v = (ptr != 0); | |
21955 | } | |
21956 | } | |
21957 | if (_v) { | |
21958 | return _wrap_new_PageSetupDialogData__SWIG_2(self,args); | |
21959 | } | |
21960 | } | |
11207aef | 21961 | |
093d3ff1 | 21962 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'"); |
11207aef RD |
21963 | return NULL; |
21964 | } | |
21965 | ||
21966 | ||
c32bde28 | 21967 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21968 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21969 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
21970 | PyObject * obj0 = 0 ; | |
21971 | char *kwnames[] = { | |
21972 | (char *) "self", NULL | |
21973 | }; | |
21974 | ||
21975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21976 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21977 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21978 | { |
21979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21980 | delete arg1; | |
21981 | ||
21982 | wxPyEndAllowThreads(__tstate); | |
21983 | if (PyErr_Occurred()) SWIG_fail; | |
21984 | } | |
21985 | Py_INCREF(Py_None); resultobj = Py_None; | |
21986 | return resultobj; | |
21987 | fail: | |
21988 | return NULL; | |
21989 | } | |
21990 | ||
21991 | ||
c32bde28 | 21992 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21993 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21994 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
21995 | bool arg2 ; | |
21996 | PyObject * obj0 = 0 ; | |
21997 | PyObject * obj1 = 0 ; | |
21998 | char *kwnames[] = { | |
21999 | (char *) "self",(char *) "flag", NULL | |
22000 | }; | |
22001 | ||
22002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22003 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22004 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22005 | { | |
32fe5131 | 22006 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
22007 | if (SWIG_arg_fail(2)) SWIG_fail; |
22008 | } | |
d14a1e28 RD |
22009 | { |
22010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22011 | (arg1)->EnableHelp(arg2); | |
22012 | ||
22013 | wxPyEndAllowThreads(__tstate); | |
22014 | if (PyErr_Occurred()) SWIG_fail; | |
22015 | } | |
22016 | Py_INCREF(Py_None); resultobj = Py_None; | |
22017 | return resultobj; | |
22018 | fail: | |
22019 | return NULL; | |
22020 | } | |
22021 | ||
22022 | ||
c32bde28 | 22023 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22024 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22025 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22026 | bool arg2 ; | |
22027 | PyObject * obj0 = 0 ; | |
22028 | PyObject * obj1 = 0 ; | |
22029 | char *kwnames[] = { | |
22030 | (char *) "self",(char *) "flag", NULL | |
22031 | }; | |
22032 | ||
22033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22034 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22035 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22036 | { | |
32fe5131 | 22037 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
22038 | if (SWIG_arg_fail(2)) SWIG_fail; |
22039 | } | |
d14a1e28 RD |
22040 | { |
22041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22042 | (arg1)->EnableMargins(arg2); | |
22043 | ||
22044 | wxPyEndAllowThreads(__tstate); | |
22045 | if (PyErr_Occurred()) SWIG_fail; | |
22046 | } | |
22047 | Py_INCREF(Py_None); resultobj = Py_None; | |
22048 | return resultobj; | |
22049 | fail: | |
22050 | return NULL; | |
22051 | } | |
22052 | ||
22053 | ||
c32bde28 | 22054 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22055 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22056 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22057 | bool arg2 ; | |
22058 | PyObject * obj0 = 0 ; | |
22059 | PyObject * obj1 = 0 ; | |
22060 | char *kwnames[] = { | |
22061 | (char *) "self",(char *) "flag", NULL | |
22062 | }; | |
22063 | ||
22064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22065 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22066 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22067 | { | |
32fe5131 | 22068 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
22069 | if (SWIG_arg_fail(2)) SWIG_fail; |
22070 | } | |
d14a1e28 RD |
22071 | { |
22072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22073 | (arg1)->EnableOrientation(arg2); | |
22074 | ||
22075 | wxPyEndAllowThreads(__tstate); | |
22076 | if (PyErr_Occurred()) SWIG_fail; | |
22077 | } | |
22078 | Py_INCREF(Py_None); resultobj = Py_None; | |
22079 | return resultobj; | |
22080 | fail: | |
22081 | return NULL; | |
22082 | } | |
22083 | ||
22084 | ||
c32bde28 | 22085 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22086 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22087 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22088 | bool arg2 ; | |
22089 | PyObject * obj0 = 0 ; | |
22090 | PyObject * obj1 = 0 ; | |
22091 | char *kwnames[] = { | |
22092 | (char *) "self",(char *) "flag", NULL | |
22093 | }; | |
22094 | ||
22095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22096 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22097 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22098 | { | |
32fe5131 | 22099 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
22100 | if (SWIG_arg_fail(2)) SWIG_fail; |
22101 | } | |
d14a1e28 RD |
22102 | { |
22103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22104 | (arg1)->EnablePaper(arg2); | |
22105 | ||
22106 | wxPyEndAllowThreads(__tstate); | |
22107 | if (PyErr_Occurred()) SWIG_fail; | |
22108 | } | |
22109 | Py_INCREF(Py_None); resultobj = Py_None; | |
22110 | return resultobj; | |
22111 | fail: | |
22112 | return NULL; | |
22113 | } | |
22114 | ||
22115 | ||
c32bde28 | 22116 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22117 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22118 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22119 | bool arg2 ; | |
22120 | PyObject * obj0 = 0 ; | |
22121 | PyObject * obj1 = 0 ; | |
22122 | char *kwnames[] = { | |
22123 | (char *) "self",(char *) "flag", NULL | |
22124 | }; | |
22125 | ||
22126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22127 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22128 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22129 | { | |
32fe5131 | 22130 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
22131 | if (SWIG_arg_fail(2)) SWIG_fail; |
22132 | } | |
d14a1e28 RD |
22133 | { |
22134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22135 | (arg1)->EnablePrinter(arg2); | |
22136 | ||
22137 | wxPyEndAllowThreads(__tstate); | |
22138 | if (PyErr_Occurred()) SWIG_fail; | |
22139 | } | |
22140 | Py_INCREF(Py_None); resultobj = Py_None; | |
22141 | return resultobj; | |
22142 | fail: | |
22143 | return NULL; | |
22144 | } | |
22145 | ||
22146 | ||
c32bde28 | 22147 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22148 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22149 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22150 | bool result; | |
22151 | PyObject * obj0 = 0 ; | |
22152 | char *kwnames[] = { | |
22153 | (char *) "self", NULL | |
22154 | }; | |
22155 | ||
22156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22157 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22158 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22159 | { |
22160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22161 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
22162 | ||
22163 | wxPyEndAllowThreads(__tstate); | |
22164 | if (PyErr_Occurred()) SWIG_fail; | |
22165 | } | |
4f89f6a3 RD |
22166 | { |
22167 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22168 | } | |
d14a1e28 RD |
22169 | return resultobj; |
22170 | fail: | |
22171 | return NULL; | |
22172 | } | |
22173 | ||
22174 | ||
c32bde28 | 22175 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22176 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22177 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22178 | bool result; | |
22179 | PyObject * obj0 = 0 ; | |
22180 | char *kwnames[] = { | |
22181 | (char *) "self", NULL | |
22182 | }; | |
22183 | ||
22184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22185 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22186 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22187 | { |
22188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22189 | result = (bool)(arg1)->GetEnableMargins(); | |
22190 | ||
22191 | wxPyEndAllowThreads(__tstate); | |
22192 | if (PyErr_Occurred()) SWIG_fail; | |
22193 | } | |
4f89f6a3 RD |
22194 | { |
22195 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22196 | } | |
d14a1e28 RD |
22197 | return resultobj; |
22198 | fail: | |
22199 | return NULL; | |
22200 | } | |
22201 | ||
22202 | ||
c32bde28 | 22203 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22204 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22205 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22206 | bool result; | |
22207 | PyObject * obj0 = 0 ; | |
22208 | char *kwnames[] = { | |
22209 | (char *) "self", NULL | |
22210 | }; | |
22211 | ||
22212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22213 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22214 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22215 | { |
22216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22217 | result = (bool)(arg1)->GetEnableOrientation(); | |
22218 | ||
22219 | wxPyEndAllowThreads(__tstate); | |
22220 | if (PyErr_Occurred()) SWIG_fail; | |
22221 | } | |
4f89f6a3 RD |
22222 | { |
22223 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22224 | } | |
d14a1e28 RD |
22225 | return resultobj; |
22226 | fail: | |
22227 | return NULL; | |
22228 | } | |
22229 | ||
22230 | ||
c32bde28 | 22231 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22232 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22233 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22234 | bool result; | |
22235 | PyObject * obj0 = 0 ; | |
22236 | char *kwnames[] = { | |
22237 | (char *) "self", NULL | |
22238 | }; | |
22239 | ||
22240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22241 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22242 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22243 | { |
22244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22245 | result = (bool)(arg1)->GetEnablePaper(); | |
22246 | ||
22247 | wxPyEndAllowThreads(__tstate); | |
22248 | if (PyErr_Occurred()) SWIG_fail; | |
22249 | } | |
4f89f6a3 RD |
22250 | { |
22251 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22252 | } | |
d14a1e28 RD |
22253 | return resultobj; |
22254 | fail: | |
22255 | return NULL; | |
22256 | } | |
22257 | ||
22258 | ||
c32bde28 | 22259 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22260 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22261 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22262 | bool result; | |
22263 | PyObject * obj0 = 0 ; | |
22264 | char *kwnames[] = { | |
22265 | (char *) "self", NULL | |
22266 | }; | |
22267 | ||
22268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22269 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22270 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22271 | { |
22272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22273 | result = (bool)(arg1)->GetEnablePrinter(); | |
22274 | ||
22275 | wxPyEndAllowThreads(__tstate); | |
22276 | if (PyErr_Occurred()) SWIG_fail; | |
22277 | } | |
4f89f6a3 RD |
22278 | { |
22279 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22280 | } | |
d14a1e28 RD |
22281 | return resultobj; |
22282 | fail: | |
22283 | return NULL; | |
22284 | } | |
22285 | ||
22286 | ||
c32bde28 | 22287 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22288 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22289 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22290 | bool result; | |
22291 | PyObject * obj0 = 0 ; | |
22292 | char *kwnames[] = { | |
22293 | (char *) "self", NULL | |
22294 | }; | |
22295 | ||
22296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22297 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22298 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22299 | { |
22300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22301 | result = (bool)(arg1)->GetEnableHelp(); | |
22302 | ||
22303 | wxPyEndAllowThreads(__tstate); | |
22304 | if (PyErr_Occurred()) SWIG_fail; | |
22305 | } | |
4f89f6a3 RD |
22306 | { |
22307 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22308 | } | |
d14a1e28 RD |
22309 | return resultobj; |
22310 | fail: | |
22311 | return NULL; | |
22312 | } | |
22313 | ||
22314 | ||
c32bde28 | 22315 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22316 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22317 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22318 | bool result; | |
22319 | PyObject * obj0 = 0 ; | |
22320 | char *kwnames[] = { | |
22321 | (char *) "self", NULL | |
22322 | }; | |
22323 | ||
22324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22325 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22327 | { |
22328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22329 | result = (bool)(arg1)->GetDefaultInfo(); | |
22330 | ||
22331 | wxPyEndAllowThreads(__tstate); | |
22332 | if (PyErr_Occurred()) SWIG_fail; | |
22333 | } | |
4f89f6a3 RD |
22334 | { |
22335 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22336 | } | |
d14a1e28 RD |
22337 | return resultobj; |
22338 | fail: | |
22339 | return NULL; | |
22340 | } | |
22341 | ||
22342 | ||
c32bde28 | 22343 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22344 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22345 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22346 | wxPoint result; | |
22347 | PyObject * obj0 = 0 ; | |
22348 | char *kwnames[] = { | |
22349 | (char *) "self", NULL | |
22350 | }; | |
22351 | ||
22352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22355 | { |
22356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22357 | result = (arg1)->GetMarginTopLeft(); | |
22358 | ||
22359 | wxPyEndAllowThreads(__tstate); | |
22360 | if (PyErr_Occurred()) SWIG_fail; | |
22361 | } | |
22362 | { | |
22363 | wxPoint * resultptr; | |
32fe5131 | 22364 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 22365 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
22366 | } |
22367 | return resultobj; | |
22368 | fail: | |
22369 | return NULL; | |
22370 | } | |
22371 | ||
22372 | ||
c32bde28 | 22373 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22374 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22375 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22376 | wxPoint result; | |
22377 | PyObject * obj0 = 0 ; | |
22378 | char *kwnames[] = { | |
22379 | (char *) "self", NULL | |
22380 | }; | |
22381 | ||
22382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22383 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22384 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22385 | { |
22386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22387 | result = (arg1)->GetMarginBottomRight(); | |
22388 | ||
22389 | wxPyEndAllowThreads(__tstate); | |
22390 | if (PyErr_Occurred()) SWIG_fail; | |
22391 | } | |
22392 | { | |
22393 | wxPoint * resultptr; | |
32fe5131 | 22394 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 22395 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
22396 | } |
22397 | return resultobj; | |
22398 | fail: | |
22399 | return NULL; | |
22400 | } | |
22401 | ||
22402 | ||
c32bde28 | 22403 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22404 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22405 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22406 | wxPoint result; | |
22407 | PyObject * obj0 = 0 ; | |
22408 | char *kwnames[] = { | |
22409 | (char *) "self", NULL | |
22410 | }; | |
22411 | ||
22412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22415 | { |
22416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22417 | result = (arg1)->GetMinMarginTopLeft(); | |
22418 | ||
22419 | wxPyEndAllowThreads(__tstate); | |
22420 | if (PyErr_Occurred()) SWIG_fail; | |
22421 | } | |
22422 | { | |
22423 | wxPoint * resultptr; | |
32fe5131 | 22424 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 22425 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
22426 | } |
22427 | return resultobj; | |
22428 | fail: | |
22429 | return NULL; | |
22430 | } | |
22431 | ||
22432 | ||
c32bde28 | 22433 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22434 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22435 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22436 | wxPoint result; | |
22437 | PyObject * obj0 = 0 ; | |
22438 | char *kwnames[] = { | |
22439 | (char *) "self", NULL | |
22440 | }; | |
22441 | ||
22442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22443 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22444 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22445 | { |
22446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22447 | result = (arg1)->GetMinMarginBottomRight(); | |
22448 | ||
22449 | wxPyEndAllowThreads(__tstate); | |
22450 | if (PyErr_Occurred()) SWIG_fail; | |
22451 | } | |
22452 | { | |
22453 | wxPoint * resultptr; | |
32fe5131 | 22454 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 22455 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
22456 | } |
22457 | return resultobj; | |
22458 | fail: | |
22459 | return NULL; | |
22460 | } | |
22461 | ||
22462 | ||
c32bde28 | 22463 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22464 | PyObject *resultobj = NULL; |
d14a1e28 | 22465 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
093d3ff1 | 22466 | wxPaperSize result; |
d14a1e28 RD |
22467 | PyObject * obj0 = 0 ; |
22468 | char *kwnames[] = { | |
22469 | (char *) "self", NULL | |
22470 | }; | |
22471 | ||
22472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22473 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22474 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22475 | { |
22476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 22477 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d14a1e28 RD |
22478 | |
22479 | wxPyEndAllowThreads(__tstate); | |
22480 | if (PyErr_Occurred()) SWIG_fail; | |
22481 | } | |
093d3ff1 | 22482 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
22483 | return resultobj; |
22484 | fail: | |
22485 | return NULL; | |
22486 | } | |
22487 | ||
22488 | ||
c32bde28 | 22489 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22490 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22491 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22492 | wxSize result; | |
22493 | PyObject * obj0 = 0 ; | |
22494 | char *kwnames[] = { | |
22495 | (char *) "self", NULL | |
22496 | }; | |
22497 | ||
22498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22499 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22500 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22501 | { |
22502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22503 | result = (arg1)->GetPaperSize(); | |
22504 | ||
22505 | wxPyEndAllowThreads(__tstate); | |
22506 | if (PyErr_Occurred()) SWIG_fail; | |
22507 | } | |
22508 | { | |
22509 | wxSize * resultptr; | |
32fe5131 | 22510 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 22511 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
22512 | } |
22513 | return resultobj; | |
22514 | fail: | |
22515 | return NULL; | |
22516 | } | |
22517 | ||
22518 | ||
c32bde28 | 22519 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22520 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22521 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22522 | wxPrintData *result; | |
22523 | PyObject * obj0 = 0 ; | |
22524 | char *kwnames[] = { | |
22525 | (char *) "self", NULL | |
22526 | }; | |
22527 | ||
22528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22529 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22530 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22531 | { |
22532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22533 | { | |
22534 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
22535 | result = (wxPrintData *) &_result_ref; | |
22536 | } | |
22537 | ||
22538 | wxPyEndAllowThreads(__tstate); | |
22539 | if (PyErr_Occurred()) SWIG_fail; | |
22540 | } | |
15afbcd0 | 22541 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
22542 | return resultobj; |
22543 | fail: | |
22544 | return NULL; | |
22545 | } | |
22546 | ||
22547 | ||
c32bde28 | 22548 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22549 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22550 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22551 | bool result; | |
22552 | PyObject * obj0 = 0 ; | |
22553 | char *kwnames[] = { | |
22554 | (char *) "self", NULL | |
22555 | }; | |
22556 | ||
22557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22558 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22559 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22560 | { |
22561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22562 | result = (bool)(arg1)->Ok(); | |
22563 | ||
22564 | wxPyEndAllowThreads(__tstate); | |
22565 | if (PyErr_Occurred()) SWIG_fail; | |
22566 | } | |
4f89f6a3 RD |
22567 | { |
22568 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22569 | } | |
d14a1e28 RD |
22570 | return resultobj; |
22571 | fail: | |
22572 | return NULL; | |
22573 | } | |
22574 | ||
22575 | ||
c32bde28 | 22576 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22577 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22578 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22579 | bool arg2 ; | |
22580 | PyObject * obj0 = 0 ; | |
22581 | PyObject * obj1 = 0 ; | |
22582 | char *kwnames[] = { | |
22583 | (char *) "self",(char *) "flag", NULL | |
22584 | }; | |
22585 | ||
22586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22587 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22588 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22589 | { | |
32fe5131 | 22590 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
22591 | if (SWIG_arg_fail(2)) SWIG_fail; |
22592 | } | |
d14a1e28 RD |
22593 | { |
22594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22595 | (arg1)->SetDefaultInfo(arg2); | |
22596 | ||
22597 | wxPyEndAllowThreads(__tstate); | |
22598 | if (PyErr_Occurred()) SWIG_fail; | |
22599 | } | |
22600 | Py_INCREF(Py_None); resultobj = Py_None; | |
22601 | return resultobj; | |
22602 | fail: | |
22603 | return NULL; | |
22604 | } | |
22605 | ||
22606 | ||
c32bde28 | 22607 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22608 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22609 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22610 | bool arg2 ; | |
22611 | PyObject * obj0 = 0 ; | |
22612 | PyObject * obj1 = 0 ; | |
22613 | char *kwnames[] = { | |
22614 | (char *) "self",(char *) "flag", NULL | |
22615 | }; | |
22616 | ||
22617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22618 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22619 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22620 | { | |
32fe5131 | 22621 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
22622 | if (SWIG_arg_fail(2)) SWIG_fail; |
22623 | } | |
d14a1e28 RD |
22624 | { |
22625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22626 | (arg1)->SetDefaultMinMargins(arg2); | |
22627 | ||
22628 | wxPyEndAllowThreads(__tstate); | |
22629 | if (PyErr_Occurred()) SWIG_fail; | |
22630 | } | |
22631 | Py_INCREF(Py_None); resultobj = Py_None; | |
22632 | return resultobj; | |
22633 | fail: | |
22634 | return NULL; | |
22635 | } | |
22636 | ||
22637 | ||
c32bde28 | 22638 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22639 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22640 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22641 | wxPoint *arg2 = 0 ; | |
22642 | wxPoint temp2 ; | |
22643 | PyObject * obj0 = 0 ; | |
22644 | PyObject * obj1 = 0 ; | |
22645 | char *kwnames[] = { | |
22646 | (char *) "self",(char *) "pt", NULL | |
22647 | }; | |
22648 | ||
22649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22650 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22651 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22652 | { |
22653 | arg2 = &temp2; | |
22654 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22655 | } | |
22656 | { | |
22657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22658 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
22659 | ||
22660 | wxPyEndAllowThreads(__tstate); | |
22661 | if (PyErr_Occurred()) SWIG_fail; | |
22662 | } | |
22663 | Py_INCREF(Py_None); resultobj = Py_None; | |
22664 | return resultobj; | |
22665 | fail: | |
22666 | return NULL; | |
22667 | } | |
22668 | ||
22669 | ||
c32bde28 | 22670 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22671 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22672 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22673 | wxPoint *arg2 = 0 ; | |
22674 | wxPoint temp2 ; | |
22675 | PyObject * obj0 = 0 ; | |
22676 | PyObject * obj1 = 0 ; | |
22677 | char *kwnames[] = { | |
22678 | (char *) "self",(char *) "pt", NULL | |
22679 | }; | |
22680 | ||
22681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22682 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22683 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22684 | { |
22685 | arg2 = &temp2; | |
22686 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22687 | } | |
22688 | { | |
22689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22690 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
22691 | ||
22692 | wxPyEndAllowThreads(__tstate); | |
22693 | if (PyErr_Occurred()) SWIG_fail; | |
22694 | } | |
22695 | Py_INCREF(Py_None); resultobj = Py_None; | |
22696 | return resultobj; | |
22697 | fail: | |
22698 | return NULL; | |
22699 | } | |
22700 | ||
22701 | ||
c32bde28 | 22702 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22703 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22704 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22705 | wxPoint *arg2 = 0 ; | |
22706 | wxPoint temp2 ; | |
22707 | PyObject * obj0 = 0 ; | |
22708 | PyObject * obj1 = 0 ; | |
22709 | char *kwnames[] = { | |
22710 | (char *) "self",(char *) "pt", NULL | |
22711 | }; | |
22712 | ||
22713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22714 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22715 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22716 | { |
22717 | arg2 = &temp2; | |
22718 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22719 | } | |
22720 | { | |
22721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22722 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
22723 | ||
22724 | wxPyEndAllowThreads(__tstate); | |
22725 | if (PyErr_Occurred()) SWIG_fail; | |
22726 | } | |
22727 | Py_INCREF(Py_None); resultobj = Py_None; | |
22728 | return resultobj; | |
22729 | fail: | |
22730 | return NULL; | |
22731 | } | |
22732 | ||
22733 | ||
c32bde28 | 22734 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22735 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22736 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22737 | wxPoint *arg2 = 0 ; | |
22738 | wxPoint temp2 ; | |
22739 | PyObject * obj0 = 0 ; | |
22740 | PyObject * obj1 = 0 ; | |
22741 | char *kwnames[] = { | |
22742 | (char *) "self",(char *) "pt", NULL | |
22743 | }; | |
22744 | ||
22745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22748 | { |
22749 | arg2 = &temp2; | |
22750 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22751 | } | |
22752 | { | |
22753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22754 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
22755 | ||
22756 | wxPyEndAllowThreads(__tstate); | |
22757 | if (PyErr_Occurred()) SWIG_fail; | |
22758 | } | |
22759 | Py_INCREF(Py_None); resultobj = Py_None; | |
22760 | return resultobj; | |
22761 | fail: | |
22762 | return NULL; | |
22763 | } | |
22764 | ||
22765 | ||
c32bde28 | 22766 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22767 | PyObject *resultobj = NULL; |
d14a1e28 | 22768 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
093d3ff1 | 22769 | wxPaperSize arg2 ; |
d14a1e28 | 22770 | PyObject * obj0 = 0 ; |
994141e6 | 22771 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22772 | char *kwnames[] = { |
22773 | (char *) "self",(char *) "id", NULL | |
22774 | }; | |
22775 | ||
994141e6 | 22776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
22777 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22778 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22779 | { | |
32fe5131 | 22780 | arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1)); |
093d3ff1 RD |
22781 | if (SWIG_arg_fail(2)) SWIG_fail; |
22782 | } | |
d14a1e28 RD |
22783 | { |
22784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 22785 | (arg1)->SetPaperId(arg2); |
d14a1e28 RD |
22786 | |
22787 | wxPyEndAllowThreads(__tstate); | |
22788 | if (PyErr_Occurred()) SWIG_fail; | |
22789 | } | |
22790 | Py_INCREF(Py_None); resultobj = Py_None; | |
22791 | return resultobj; | |
22792 | fail: | |
22793 | return NULL; | |
22794 | } | |
22795 | ||
22796 | ||
c32bde28 | 22797 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22798 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22799 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22800 | wxSize *arg2 = 0 ; | |
22801 | wxSize temp2 ; | |
22802 | PyObject * obj0 = 0 ; | |
22803 | PyObject * obj1 = 0 ; | |
22804 | char *kwnames[] = { | |
22805 | (char *) "self",(char *) "size", NULL | |
22806 | }; | |
22807 | ||
22808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22809 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22810 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22811 | { |
22812 | arg2 = &temp2; | |
22813 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
22814 | } | |
22815 | { | |
22816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22817 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
22818 | ||
22819 | wxPyEndAllowThreads(__tstate); | |
22820 | if (PyErr_Occurred()) SWIG_fail; | |
22821 | } | |
22822 | Py_INCREF(Py_None); resultobj = Py_None; | |
22823 | return resultobj; | |
22824 | fail: | |
22825 | return NULL; | |
22826 | } | |
22827 | ||
22828 | ||
c32bde28 | 22829 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22830 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22831 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22832 | wxPrintData *arg2 = 0 ; | |
22833 | PyObject * obj0 = 0 ; | |
22834 | PyObject * obj1 = 0 ; | |
22835 | char *kwnames[] = { | |
22836 | (char *) "self",(char *) "printData", NULL | |
22837 | }; | |
22838 | ||
22839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22842 | { | |
22843 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
22844 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22845 | if (arg2 == NULL) { | |
22846 | SWIG_null_ref("wxPrintData"); | |
22847 | } | |
22848 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
22849 | } |
22850 | { | |
22851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22852 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
22853 | ||
22854 | wxPyEndAllowThreads(__tstate); | |
22855 | if (PyErr_Occurred()) SWIG_fail; | |
22856 | } | |
22857 | Py_INCREF(Py_None); resultobj = Py_None; | |
22858 | return resultobj; | |
22859 | fail: | |
22860 | return NULL; | |
22861 | } | |
22862 | ||
22863 | ||
7557b9b5 | 22864 | static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22865 | PyObject *resultobj = NULL; |
7557b9b5 RD |
22866 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22867 | PyObject * obj0 = 0 ; | |
22868 | char *kwnames[] = { | |
22869 | (char *) "self", NULL | |
22870 | }; | |
22871 | ||
22872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail; | |
22873 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
22874 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22875 | { | |
22876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22877 | (arg1)->CalculateIdFromPaperSize(); | |
22878 | ||
22879 | wxPyEndAllowThreads(__tstate); | |
22880 | if (PyErr_Occurred()) SWIG_fail; | |
22881 | } | |
22882 | Py_INCREF(Py_None); resultobj = Py_None; | |
22883 | return resultobj; | |
22884 | fail: | |
22885 | return NULL; | |
22886 | } | |
22887 | ||
22888 | ||
22889 | static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 22890 | PyObject *resultobj = NULL; |
7557b9b5 RD |
22891 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22892 | PyObject * obj0 = 0 ; | |
22893 | char *kwnames[] = { | |
22894 | (char *) "self", NULL | |
22895 | }; | |
22896 | ||
22897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail; | |
22898 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
22899 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22900 | { | |
22901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22902 | (arg1)->CalculatePaperSizeFromId(); | |
22903 | ||
22904 | wxPyEndAllowThreads(__tstate); | |
22905 | if (PyErr_Occurred()) SWIG_fail; | |
22906 | } | |
22907 | Py_INCREF(Py_None); resultobj = Py_None; | |
22908 | return resultobj; | |
22909 | fail: | |
22910 | return NULL; | |
22911 | } | |
22912 | ||
22913 | ||
c32bde28 | 22914 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22915 | PyObject *obj; |
22916 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22917 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
22918 | Py_INCREF(obj); | |
22919 | return Py_BuildValue((char *)""); | |
22920 | } | |
c32bde28 | 22921 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22922 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22923 | wxWindow *arg1 = (wxWindow *) 0 ; |
22924 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
22925 | wxPageSetupDialog *result; | |
22926 | PyObject * obj0 = 0 ; | |
22927 | PyObject * obj1 = 0 ; | |
22928 | char *kwnames[] = { | |
22929 | (char *) "parent",(char *) "data", NULL | |
22930 | }; | |
22931 | ||
22932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22933 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
22934 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 22935 | if (obj1) { |
093d3ff1 RD |
22936 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22937 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
22938 | } |
22939 | { | |
e3b71cb8 | 22940 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
22941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22942 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
22943 | ||
22944 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22945 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 22946 | } |
15afbcd0 | 22947 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
22948 | return resultobj; |
22949 | fail: | |
22950 | return NULL; | |
22951 | } | |
22952 | ||
22953 | ||
c32bde28 | 22954 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22955 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22956 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; |
22957 | wxPageSetupDialogData *result; | |
22958 | PyObject * obj0 = 0 ; | |
22959 | char *kwnames[] = { | |
22960 | (char *) "self", NULL | |
22961 | }; | |
22962 | ||
22963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22964 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22965 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22966 | { |
22967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22968 | { | |
22969 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
22970 | result = (wxPageSetupDialogData *) &_result_ref; | |
22971 | } | |
22972 | ||
22973 | wxPyEndAllowThreads(__tstate); | |
22974 | if (PyErr_Occurred()) SWIG_fail; | |
22975 | } | |
15afbcd0 | 22976 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
22977 | return resultobj; |
22978 | fail: | |
22979 | return NULL; | |
22980 | } | |
22981 | ||
22982 | ||
8ac8dba0 | 22983 | static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22984 | PyObject *resultobj = NULL; |
8ac8dba0 RD |
22985 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; |
22986 | wxPageSetupDialogData *result; | |
22987 | PyObject * obj0 = 0 ; | |
22988 | char *kwnames[] = { | |
22989 | (char *) "self", NULL | |
22990 | }; | |
22991 | ||
22992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22993 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22994 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8ac8dba0 RD |
22995 | { |
22996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22997 | { | |
22998 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData(); | |
22999 | result = (wxPageSetupDialogData *) &_result_ref; | |
23000 | } | |
23001 | ||
23002 | wxPyEndAllowThreads(__tstate); | |
23003 | if (PyErr_Occurred()) SWIG_fail; | |
23004 | } | |
23005 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
23006 | return resultobj; | |
23007 | fail: | |
23008 | return NULL; | |
23009 | } | |
23010 | ||
23011 | ||
c32bde28 | 23012 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23013 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23014 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; |
23015 | int result; | |
23016 | PyObject * obj0 = 0 ; | |
23017 | char *kwnames[] = { | |
23018 | (char *) "self", NULL | |
23019 | }; | |
23020 | ||
23021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23022 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
23023 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23024 | { |
23025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23026 | result = (int)(arg1)->ShowModal(); | |
23027 | ||
23028 | wxPyEndAllowThreads(__tstate); | |
23029 | if (PyErr_Occurred()) SWIG_fail; | |
23030 | } | |
093d3ff1 | 23031 | { |
32fe5131 | 23032 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23033 | } |
d14a1e28 RD |
23034 | return resultobj; |
23035 | fail: | |
23036 | return NULL; | |
23037 | } | |
23038 | ||
23039 | ||
c32bde28 | 23040 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
23041 | PyObject *obj; |
23042 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23043 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
23044 | Py_INCREF(obj); | |
23045 | return Py_BuildValue((char *)""); | |
23046 | } | |
c32bde28 | 23047 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 23048 | PyObject *resultobj = NULL; |
d14a1e28 | 23049 | wxPrintDialogData *result; |
d14a1e28 | 23050 | |
4276dc52 | 23051 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
23052 | { |
23053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23054 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
23055 | ||
23056 | wxPyEndAllowThreads(__tstate); | |
23057 | if (PyErr_Occurred()) SWIG_fail; | |
23058 | } | |
15afbcd0 | 23059 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
23060 | return resultobj; |
23061 | fail: | |
23062 | return NULL; | |
23063 | } | |
23064 | ||
23065 | ||
c32bde28 | 23066 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 23067 | PyObject *resultobj = NULL; |
4276dc52 RD |
23068 | wxPrintData *arg1 = 0 ; |
23069 | wxPrintDialogData *result; | |
23070 | PyObject * obj0 = 0 ; | |
23071 | ||
23072 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
093d3ff1 RD |
23073 | { |
23074 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
23075 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23076 | if (arg1 == NULL) { | |
23077 | SWIG_null_ref("wxPrintData"); | |
23078 | } | |
23079 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
23080 | } |
23081 | { | |
23082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23083 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
23084 | ||
23085 | wxPyEndAllowThreads(__tstate); | |
23086 | if (PyErr_Occurred()) SWIG_fail; | |
23087 | } | |
23088 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
23089 | return resultobj; | |
23090 | fail: | |
23091 | return NULL; | |
23092 | } | |
23093 | ||
23094 | ||
7557b9b5 | 23095 | static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) { |
32fe5131 | 23096 | PyObject *resultobj = NULL; |
7557b9b5 RD |
23097 | wxPrintDialogData *arg1 = 0 ; |
23098 | wxPrintDialogData *result; | |
23099 | PyObject * obj0 = 0 ; | |
23100 | ||
23101 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
23102 | { | |
23103 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); | |
23104 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23105 | if (arg1 == NULL) { | |
23106 | SWIG_null_ref("wxPrintDialogData"); | |
23107 | } | |
23108 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23109 | } | |
23110 | { | |
23111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23112 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1); | |
23113 | ||
23114 | wxPyEndAllowThreads(__tstate); | |
23115 | if (PyErr_Occurred()) SWIG_fail; | |
23116 | } | |
23117 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
23118 | return resultobj; | |
23119 | fail: | |
23120 | return NULL; | |
23121 | } | |
23122 | ||
23123 | ||
4276dc52 RD |
23124 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { |
23125 | int argc; | |
23126 | PyObject *argv[2]; | |
23127 | int ii; | |
23128 | ||
23129 | argc = PyObject_Length(args); | |
23130 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
23131 | argv[ii] = PyTuple_GetItem(args,ii); | |
23132 | } | |
23133 | if (argc == 0) { | |
23134 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
23135 | } | |
23136 | if (argc == 1) { | |
23137 | int _v; | |
23138 | { | |
093d3ff1 | 23139 | void *ptr = 0; |
4276dc52 RD |
23140 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
23141 | _v = 0; | |
23142 | PyErr_Clear(); | |
23143 | } else { | |
093d3ff1 | 23144 | _v = (ptr != 0); |
4276dc52 RD |
23145 | } |
23146 | } | |
23147 | if (_v) { | |
23148 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
23149 | } | |
23150 | } | |
7557b9b5 RD |
23151 | if (argc == 1) { |
23152 | int _v; | |
23153 | { | |
23154 | void *ptr = 0; | |
23155 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
23156 | _v = 0; | |
23157 | PyErr_Clear(); | |
23158 | } else { | |
23159 | _v = (ptr != 0); | |
23160 | } | |
23161 | } | |
23162 | if (_v) { | |
23163 | return _wrap_new_PrintDialogData__SWIG_2(self,args); | |
23164 | } | |
23165 | } | |
4276dc52 | 23166 | |
093d3ff1 | 23167 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'"); |
4276dc52 RD |
23168 | return NULL; |
23169 | } | |
23170 | ||
23171 | ||
c32bde28 | 23172 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23173 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23174 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23175 | PyObject * obj0 = 0 ; | |
23176 | char *kwnames[] = { | |
23177 | (char *) "self", NULL | |
23178 | }; | |
23179 | ||
23180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23181 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23182 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23183 | { |
23184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23185 | delete arg1; | |
23186 | ||
23187 | wxPyEndAllowThreads(__tstate); | |
23188 | if (PyErr_Occurred()) SWIG_fail; | |
23189 | } | |
23190 | Py_INCREF(Py_None); resultobj = Py_None; | |
23191 | return resultobj; | |
23192 | fail: | |
23193 | return NULL; | |
23194 | } | |
23195 | ||
23196 | ||
c32bde28 | 23197 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23198 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23199 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23200 | int result; | |
23201 | PyObject * obj0 = 0 ; | |
23202 | char *kwnames[] = { | |
23203 | (char *) "self", NULL | |
23204 | }; | |
23205 | ||
23206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23207 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23208 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23209 | { |
23210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23211 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
23212 | ||
23213 | wxPyEndAllowThreads(__tstate); | |
23214 | if (PyErr_Occurred()) SWIG_fail; | |
23215 | } | |
093d3ff1 | 23216 | { |
32fe5131 | 23217 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23218 | } |
d14a1e28 RD |
23219 | return resultobj; |
23220 | fail: | |
23221 | return NULL; | |
23222 | } | |
23223 | ||
23224 | ||
c32bde28 | 23225 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23226 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23227 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23228 | int result; | |
23229 | PyObject * obj0 = 0 ; | |
23230 | char *kwnames[] = { | |
23231 | (char *) "self", NULL | |
23232 | }; | |
23233 | ||
23234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23235 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23236 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23237 | { |
23238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23239 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
23240 | ||
23241 | wxPyEndAllowThreads(__tstate); | |
23242 | if (PyErr_Occurred()) SWIG_fail; | |
23243 | } | |
093d3ff1 | 23244 | { |
32fe5131 | 23245 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23246 | } |
d14a1e28 RD |
23247 | return resultobj; |
23248 | fail: | |
23249 | return NULL; | |
23250 | } | |
23251 | ||
23252 | ||
c32bde28 | 23253 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23254 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23255 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23256 | int result; | |
23257 | PyObject * obj0 = 0 ; | |
23258 | char *kwnames[] = { | |
23259 | (char *) "self", NULL | |
23260 | }; | |
23261 | ||
23262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23263 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23264 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23265 | { |
23266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23267 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
23268 | ||
23269 | wxPyEndAllowThreads(__tstate); | |
23270 | if (PyErr_Occurred()) SWIG_fail; | |
23271 | } | |
093d3ff1 | 23272 | { |
32fe5131 | 23273 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23274 | } |
d14a1e28 RD |
23275 | return resultobj; |
23276 | fail: | |
23277 | return NULL; | |
23278 | } | |
23279 | ||
23280 | ||
c32bde28 | 23281 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23282 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23283 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23284 | int result; | |
23285 | PyObject * obj0 = 0 ; | |
23286 | char *kwnames[] = { | |
23287 | (char *) "self", NULL | |
23288 | }; | |
23289 | ||
23290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23291 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23292 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23293 | { |
23294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23295 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
23296 | ||
23297 | wxPyEndAllowThreads(__tstate); | |
23298 | if (PyErr_Occurred()) SWIG_fail; | |
23299 | } | |
093d3ff1 | 23300 | { |
32fe5131 | 23301 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23302 | } |
d14a1e28 RD |
23303 | return resultobj; |
23304 | fail: | |
23305 | return NULL; | |
23306 | } | |
23307 | ||
23308 | ||
c32bde28 | 23309 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23310 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23311 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23312 | int result; | |
23313 | PyObject * obj0 = 0 ; | |
23314 | char *kwnames[] = { | |
23315 | (char *) "self", NULL | |
23316 | }; | |
23317 | ||
23318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23319 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23320 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23321 | { |
23322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23323 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
23324 | ||
23325 | wxPyEndAllowThreads(__tstate); | |
23326 | if (PyErr_Occurred()) SWIG_fail; | |
23327 | } | |
093d3ff1 | 23328 | { |
32fe5131 | 23329 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23330 | } |
d14a1e28 RD |
23331 | return resultobj; |
23332 | fail: | |
23333 | return NULL; | |
23334 | } | |
23335 | ||
23336 | ||
c32bde28 | 23337 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23338 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23339 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23340 | bool result; | |
23341 | PyObject * obj0 = 0 ; | |
23342 | char *kwnames[] = { | |
23343 | (char *) "self", NULL | |
23344 | }; | |
23345 | ||
23346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23347 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23348 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23349 | { |
23350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23351 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
23352 | ||
23353 | wxPyEndAllowThreads(__tstate); | |
23354 | if (PyErr_Occurred()) SWIG_fail; | |
23355 | } | |
4f89f6a3 RD |
23356 | { |
23357 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23358 | } | |
d14a1e28 RD |
23359 | return resultobj; |
23360 | fail: | |
23361 | return NULL; | |
23362 | } | |
23363 | ||
23364 | ||
c32bde28 | 23365 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23366 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23367 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23368 | bool result; | |
23369 | PyObject * obj0 = 0 ; | |
23370 | char *kwnames[] = { | |
23371 | (char *) "self", NULL | |
23372 | }; | |
23373 | ||
23374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23375 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23376 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23377 | { |
23378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23379 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
23380 | ||
23381 | wxPyEndAllowThreads(__tstate); | |
23382 | if (PyErr_Occurred()) SWIG_fail; | |
23383 | } | |
4f89f6a3 RD |
23384 | { |
23385 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23386 | } | |
d14a1e28 RD |
23387 | return resultobj; |
23388 | fail: | |
23389 | return NULL; | |
23390 | } | |
23391 | ||
23392 | ||
c32bde28 | 23393 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23394 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23395 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23396 | bool result; | |
23397 | PyObject * obj0 = 0 ; | |
23398 | char *kwnames[] = { | |
23399 | (char *) "self", NULL | |
23400 | }; | |
23401 | ||
23402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23403 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23404 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23405 | { |
23406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23407 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
23408 | ||
23409 | wxPyEndAllowThreads(__tstate); | |
23410 | if (PyErr_Occurred()) SWIG_fail; | |
23411 | } | |
4f89f6a3 RD |
23412 | { |
23413 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23414 | } | |
d14a1e28 RD |
23415 | return resultobj; |
23416 | fail: | |
23417 | return NULL; | |
23418 | } | |
23419 | ||
23420 | ||
c32bde28 | 23421 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23422 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23423 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23424 | bool result; | |
23425 | PyObject * obj0 = 0 ; | |
23426 | char *kwnames[] = { | |
23427 | (char *) "self", NULL | |
23428 | }; | |
23429 | ||
23430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23431 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23432 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23433 | { |
23434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23435 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
23436 | ||
23437 | wxPyEndAllowThreads(__tstate); | |
23438 | if (PyErr_Occurred()) SWIG_fail; | |
23439 | } | |
4f89f6a3 RD |
23440 | { |
23441 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23442 | } | |
d14a1e28 RD |
23443 | return resultobj; |
23444 | fail: | |
23445 | return NULL; | |
23446 | } | |
23447 | ||
23448 | ||
c32bde28 | 23449 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23450 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23451 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23452 | int arg2 ; | |
23453 | PyObject * obj0 = 0 ; | |
994141e6 | 23454 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23455 | char *kwnames[] = { |
23456 | (char *) "self",(char *) "v", NULL | |
23457 | }; | |
23458 | ||
994141e6 | 23459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
23460 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23461 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23462 | { | |
32fe5131 | 23463 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
23464 | if (SWIG_arg_fail(2)) SWIG_fail; |
23465 | } | |
d14a1e28 RD |
23466 | { |
23467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23468 | (arg1)->SetFromPage(arg2); | |
23469 | ||
23470 | wxPyEndAllowThreads(__tstate); | |
23471 | if (PyErr_Occurred()) SWIG_fail; | |
23472 | } | |
23473 | Py_INCREF(Py_None); resultobj = Py_None; | |
23474 | return resultobj; | |
23475 | fail: | |
23476 | return NULL; | |
23477 | } | |
23478 | ||
23479 | ||
c32bde28 | 23480 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23481 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23482 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23483 | int arg2 ; | |
23484 | PyObject * obj0 = 0 ; | |
994141e6 | 23485 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23486 | char *kwnames[] = { |
23487 | (char *) "self",(char *) "v", NULL | |
23488 | }; | |
23489 | ||
994141e6 | 23490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
23491 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23492 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23493 | { | |
32fe5131 | 23494 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
23495 | if (SWIG_arg_fail(2)) SWIG_fail; |
23496 | } | |
d14a1e28 RD |
23497 | { |
23498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23499 | (arg1)->SetToPage(arg2); | |
23500 | ||
23501 | wxPyEndAllowThreads(__tstate); | |
23502 | if (PyErr_Occurred()) SWIG_fail; | |
23503 | } | |
23504 | Py_INCREF(Py_None); resultobj = Py_None; | |
23505 | return resultobj; | |
23506 | fail: | |
23507 | return NULL; | |
23508 | } | |
23509 | ||
23510 | ||
c32bde28 | 23511 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23512 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23513 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23514 | int arg2 ; | |
23515 | PyObject * obj0 = 0 ; | |
994141e6 | 23516 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23517 | char *kwnames[] = { |
23518 | (char *) "self",(char *) "v", NULL | |
23519 | }; | |
23520 | ||
994141e6 | 23521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
23522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23524 | { | |
32fe5131 | 23525 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
23526 | if (SWIG_arg_fail(2)) SWIG_fail; |
23527 | } | |
d14a1e28 RD |
23528 | { |
23529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23530 | (arg1)->SetMinPage(arg2); | |
23531 | ||
23532 | wxPyEndAllowThreads(__tstate); | |
23533 | if (PyErr_Occurred()) SWIG_fail; | |
23534 | } | |
23535 | Py_INCREF(Py_None); resultobj = Py_None; | |
23536 | return resultobj; | |
23537 | fail: | |
23538 | return NULL; | |
23539 | } | |
23540 | ||
23541 | ||
c32bde28 | 23542 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23543 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23544 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23545 | int arg2 ; | |
23546 | PyObject * obj0 = 0 ; | |
994141e6 | 23547 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23548 | char *kwnames[] = { |
23549 | (char *) "self",(char *) "v", NULL | |
23550 | }; | |
23551 | ||
994141e6 | 23552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
23553 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23554 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23555 | { | |
32fe5131 | 23556 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
23557 | if (SWIG_arg_fail(2)) SWIG_fail; |
23558 | } | |
d14a1e28 RD |
23559 | { |
23560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23561 | (arg1)->SetMaxPage(arg2); | |
23562 | ||
23563 | wxPyEndAllowThreads(__tstate); | |
23564 | if (PyErr_Occurred()) SWIG_fail; | |
23565 | } | |
23566 | Py_INCREF(Py_None); resultobj = Py_None; | |
23567 | return resultobj; | |
23568 | fail: | |
23569 | return NULL; | |
23570 | } | |
23571 | ||
23572 | ||
c32bde28 | 23573 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23574 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23575 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23576 | int arg2 ; | |
23577 | PyObject * obj0 = 0 ; | |
994141e6 | 23578 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23579 | char *kwnames[] = { |
23580 | (char *) "self",(char *) "v", NULL | |
23581 | }; | |
23582 | ||
994141e6 | 23583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
23584 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23585 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23586 | { | |
32fe5131 | 23587 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
23588 | if (SWIG_arg_fail(2)) SWIG_fail; |
23589 | } | |
d14a1e28 RD |
23590 | { |
23591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23592 | (arg1)->SetNoCopies(arg2); | |
23593 | ||
23594 | wxPyEndAllowThreads(__tstate); | |
23595 | if (PyErr_Occurred()) SWIG_fail; | |
23596 | } | |
23597 | Py_INCREF(Py_None); resultobj = Py_None; | |
23598 | return resultobj; | |
23599 | fail: | |
23600 | return NULL; | |
23601 | } | |
23602 | ||
23603 | ||
c32bde28 | 23604 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23605 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23606 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23607 | bool arg2 ; | |
23608 | PyObject * obj0 = 0 ; | |
23609 | PyObject * obj1 = 0 ; | |
23610 | char *kwnames[] = { | |
23611 | (char *) "self",(char *) "flag", NULL | |
23612 | }; | |
23613 | ||
23614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23615 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23616 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23617 | { | |
32fe5131 | 23618 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23619 | if (SWIG_arg_fail(2)) SWIG_fail; |
23620 | } | |
d14a1e28 RD |
23621 | { |
23622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23623 | (arg1)->SetAllPages(arg2); | |
23624 | ||
23625 | wxPyEndAllowThreads(__tstate); | |
23626 | if (PyErr_Occurred()) SWIG_fail; | |
23627 | } | |
23628 | Py_INCREF(Py_None); resultobj = Py_None; | |
23629 | return resultobj; | |
23630 | fail: | |
23631 | return NULL; | |
23632 | } | |
23633 | ||
23634 | ||
c32bde28 | 23635 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23636 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23637 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23638 | bool arg2 ; | |
23639 | PyObject * obj0 = 0 ; | |
23640 | PyObject * obj1 = 0 ; | |
23641 | char *kwnames[] = { | |
23642 | (char *) "self",(char *) "flag", NULL | |
23643 | }; | |
23644 | ||
23645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23646 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23647 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23648 | { | |
32fe5131 | 23649 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23650 | if (SWIG_arg_fail(2)) SWIG_fail; |
23651 | } | |
d14a1e28 RD |
23652 | { |
23653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23654 | (arg1)->SetSelection(arg2); | |
23655 | ||
23656 | wxPyEndAllowThreads(__tstate); | |
23657 | if (PyErr_Occurred()) SWIG_fail; | |
23658 | } | |
23659 | Py_INCREF(Py_None); resultobj = Py_None; | |
23660 | return resultobj; | |
23661 | fail: | |
23662 | return NULL; | |
23663 | } | |
23664 | ||
23665 | ||
c32bde28 | 23666 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23667 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23668 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23669 | bool arg2 ; | |
23670 | PyObject * obj0 = 0 ; | |
23671 | PyObject * obj1 = 0 ; | |
23672 | char *kwnames[] = { | |
23673 | (char *) "self",(char *) "flag", NULL | |
23674 | }; | |
23675 | ||
23676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23677 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23678 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23679 | { | |
32fe5131 | 23680 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23681 | if (SWIG_arg_fail(2)) SWIG_fail; |
23682 | } | |
d14a1e28 RD |
23683 | { |
23684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23685 | (arg1)->SetCollate(arg2); | |
23686 | ||
23687 | wxPyEndAllowThreads(__tstate); | |
23688 | if (PyErr_Occurred()) SWIG_fail; | |
23689 | } | |
23690 | Py_INCREF(Py_None); resultobj = Py_None; | |
23691 | return resultobj; | |
23692 | fail: | |
23693 | return NULL; | |
23694 | } | |
23695 | ||
23696 | ||
c32bde28 | 23697 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23698 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23699 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23700 | bool arg2 ; | |
23701 | PyObject * obj0 = 0 ; | |
23702 | PyObject * obj1 = 0 ; | |
23703 | char *kwnames[] = { | |
23704 | (char *) "self",(char *) "flag", NULL | |
23705 | }; | |
23706 | ||
23707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23708 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23709 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23710 | { | |
32fe5131 | 23711 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23712 | if (SWIG_arg_fail(2)) SWIG_fail; |
23713 | } | |
d14a1e28 RD |
23714 | { |
23715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23716 | (arg1)->SetPrintToFile(arg2); | |
23717 | ||
23718 | wxPyEndAllowThreads(__tstate); | |
23719 | if (PyErr_Occurred()) SWIG_fail; | |
23720 | } | |
23721 | Py_INCREF(Py_None); resultobj = Py_None; | |
23722 | return resultobj; | |
23723 | fail: | |
23724 | return NULL; | |
23725 | } | |
23726 | ||
23727 | ||
c32bde28 | 23728 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23729 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23730 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23731 | bool arg2 ; | |
23732 | PyObject * obj0 = 0 ; | |
23733 | PyObject * obj1 = 0 ; | |
23734 | char *kwnames[] = { | |
23735 | (char *) "self",(char *) "flag", NULL | |
23736 | }; | |
23737 | ||
23738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23740 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23741 | { | |
32fe5131 | 23742 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23743 | if (SWIG_arg_fail(2)) SWIG_fail; |
23744 | } | |
d14a1e28 RD |
23745 | { |
23746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23747 | (arg1)->EnablePrintToFile(arg2); | |
23748 | ||
23749 | wxPyEndAllowThreads(__tstate); | |
23750 | if (PyErr_Occurred()) SWIG_fail; | |
23751 | } | |
23752 | Py_INCREF(Py_None); resultobj = Py_None; | |
23753 | return resultobj; | |
23754 | fail: | |
23755 | return NULL; | |
23756 | } | |
23757 | ||
23758 | ||
c32bde28 | 23759 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23760 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23761 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23762 | bool arg2 ; | |
23763 | PyObject * obj0 = 0 ; | |
23764 | PyObject * obj1 = 0 ; | |
23765 | char *kwnames[] = { | |
23766 | (char *) "self",(char *) "flag", NULL | |
23767 | }; | |
23768 | ||
23769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23770 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23771 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23772 | { | |
32fe5131 | 23773 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23774 | if (SWIG_arg_fail(2)) SWIG_fail; |
23775 | } | |
d14a1e28 RD |
23776 | { |
23777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23778 | (arg1)->EnableSelection(arg2); | |
23779 | ||
23780 | wxPyEndAllowThreads(__tstate); | |
23781 | if (PyErr_Occurred()) SWIG_fail; | |
23782 | } | |
23783 | Py_INCREF(Py_None); resultobj = Py_None; | |
23784 | return resultobj; | |
23785 | fail: | |
23786 | return NULL; | |
23787 | } | |
23788 | ||
23789 | ||
c32bde28 | 23790 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23791 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23792 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23793 | bool arg2 ; | |
23794 | PyObject * obj0 = 0 ; | |
23795 | PyObject * obj1 = 0 ; | |
23796 | char *kwnames[] = { | |
23797 | (char *) "self",(char *) "flag", NULL | |
23798 | }; | |
23799 | ||
23800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23801 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23802 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23803 | { | |
32fe5131 | 23804 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23805 | if (SWIG_arg_fail(2)) SWIG_fail; |
23806 | } | |
d14a1e28 RD |
23807 | { |
23808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23809 | (arg1)->EnablePageNumbers(arg2); | |
23810 | ||
23811 | wxPyEndAllowThreads(__tstate); | |
23812 | if (PyErr_Occurred()) SWIG_fail; | |
23813 | } | |
23814 | Py_INCREF(Py_None); resultobj = Py_None; | |
23815 | return resultobj; | |
23816 | fail: | |
23817 | return NULL; | |
23818 | } | |
23819 | ||
23820 | ||
c32bde28 | 23821 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23822 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23823 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23824 | bool arg2 ; | |
23825 | PyObject * obj0 = 0 ; | |
23826 | PyObject * obj1 = 0 ; | |
23827 | char *kwnames[] = { | |
23828 | (char *) "self",(char *) "flag", NULL | |
23829 | }; | |
23830 | ||
23831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23832 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23833 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23834 | { | |
32fe5131 | 23835 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23836 | if (SWIG_arg_fail(2)) SWIG_fail; |
23837 | } | |
d14a1e28 RD |
23838 | { |
23839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23840 | (arg1)->EnableHelp(arg2); | |
23841 | ||
23842 | wxPyEndAllowThreads(__tstate); | |
23843 | if (PyErr_Occurred()) SWIG_fail; | |
23844 | } | |
23845 | Py_INCREF(Py_None); resultobj = Py_None; | |
23846 | return resultobj; | |
23847 | fail: | |
23848 | return NULL; | |
23849 | } | |
23850 | ||
23851 | ||
c32bde28 | 23852 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23853 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23854 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23855 | bool result; | |
23856 | PyObject * obj0 = 0 ; | |
23857 | char *kwnames[] = { | |
23858 | (char *) "self", NULL | |
23859 | }; | |
23860 | ||
23861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23862 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23863 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23864 | { |
23865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23866 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
23867 | ||
23868 | wxPyEndAllowThreads(__tstate); | |
23869 | if (PyErr_Occurred()) SWIG_fail; | |
23870 | } | |
4f89f6a3 RD |
23871 | { |
23872 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23873 | } | |
d14a1e28 RD |
23874 | return resultobj; |
23875 | fail: | |
23876 | return NULL; | |
23877 | } | |
23878 | ||
23879 | ||
c32bde28 | 23880 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23881 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23882 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23883 | bool result; | |
23884 | PyObject * obj0 = 0 ; | |
23885 | char *kwnames[] = { | |
23886 | (char *) "self", NULL | |
23887 | }; | |
23888 | ||
23889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23890 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23891 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23892 | { |
23893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23894 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
23895 | ||
23896 | wxPyEndAllowThreads(__tstate); | |
23897 | if (PyErr_Occurred()) SWIG_fail; | |
23898 | } | |
4f89f6a3 RD |
23899 | { |
23900 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23901 | } | |
d14a1e28 RD |
23902 | return resultobj; |
23903 | fail: | |
23904 | return NULL; | |
23905 | } | |
23906 | ||
23907 | ||
c32bde28 | 23908 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23909 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23910 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23911 | bool result; | |
23912 | PyObject * obj0 = 0 ; | |
23913 | char *kwnames[] = { | |
23914 | (char *) "self", NULL | |
23915 | }; | |
23916 | ||
23917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23918 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23919 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23920 | { |
23921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23922 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
23923 | ||
23924 | wxPyEndAllowThreads(__tstate); | |
23925 | if (PyErr_Occurred()) SWIG_fail; | |
23926 | } | |
4f89f6a3 RD |
23927 | { |
23928 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23929 | } | |
d14a1e28 RD |
23930 | return resultobj; |
23931 | fail: | |
23932 | return NULL; | |
23933 | } | |
23934 | ||
23935 | ||
c32bde28 | 23936 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23937 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23938 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23939 | bool result; | |
23940 | PyObject * obj0 = 0 ; | |
23941 | char *kwnames[] = { | |
23942 | (char *) "self", NULL | |
23943 | }; | |
23944 | ||
23945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23946 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23947 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23948 | { |
23949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23950 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
23951 | ||
23952 | wxPyEndAllowThreads(__tstate); | |
23953 | if (PyErr_Occurred()) SWIG_fail; | |
23954 | } | |
4f89f6a3 RD |
23955 | { |
23956 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23957 | } | |
d14a1e28 RD |
23958 | return resultobj; |
23959 | fail: | |
23960 | return NULL; | |
23961 | } | |
23962 | ||
23963 | ||
c32bde28 | 23964 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23965 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23966 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23967 | bool result; | |
23968 | PyObject * obj0 = 0 ; | |
23969 | char *kwnames[] = { | |
23970 | (char *) "self", NULL | |
23971 | }; | |
23972 | ||
23973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23974 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23975 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23976 | { |
23977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23978 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
23979 | ||
23980 | wxPyEndAllowThreads(__tstate); | |
23981 | if (PyErr_Occurred()) SWIG_fail; | |
23982 | } | |
4f89f6a3 RD |
23983 | { |
23984 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23985 | } | |
d14a1e28 RD |
23986 | return resultobj; |
23987 | fail: | |
23988 | return NULL; | |
23989 | } | |
23990 | ||
23991 | ||
c32bde28 | 23992 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23993 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23994 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23995 | wxPrintData *result; | |
23996 | PyObject * obj0 = 0 ; | |
23997 | char *kwnames[] = { | |
23998 | (char *) "self", NULL | |
23999 | }; | |
24000 | ||
24001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24004 | { |
24005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24006 | { | |
24007 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
24008 | result = (wxPrintData *) &_result_ref; | |
24009 | } | |
24010 | ||
24011 | wxPyEndAllowThreads(__tstate); | |
24012 | if (PyErr_Occurred()) SWIG_fail; | |
24013 | } | |
15afbcd0 | 24014 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
24015 | return resultobj; |
24016 | fail: | |
24017 | return NULL; | |
24018 | } | |
24019 | ||
24020 | ||
c32bde28 | 24021 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24022 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24023 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
24024 | wxPrintData *arg2 = 0 ; | |
24025 | PyObject * obj0 = 0 ; | |
24026 | PyObject * obj1 = 0 ; | |
24027 | char *kwnames[] = { | |
24028 | (char *) "self",(char *) "printData", NULL | |
24029 | }; | |
24030 | ||
24031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
24032 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24033 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24034 | { | |
24035 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
24036 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24037 | if (arg2 == NULL) { | |
24038 | SWIG_null_ref("wxPrintData"); | |
24039 | } | |
24040 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
24041 | } |
24042 | { | |
24043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24044 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
24045 | ||
24046 | wxPyEndAllowThreads(__tstate); | |
24047 | if (PyErr_Occurred()) SWIG_fail; | |
24048 | } | |
24049 | Py_INCREF(Py_None); resultobj = Py_None; | |
24050 | return resultobj; | |
24051 | fail: | |
24052 | return NULL; | |
24053 | } | |
24054 | ||
24055 | ||
c32bde28 | 24056 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
24057 | PyObject *obj; |
24058 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24059 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
24060 | Py_INCREF(obj); | |
24061 | return Py_BuildValue((char *)""); | |
24062 | } | |
c32bde28 | 24063 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24064 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24065 | wxWindow *arg1 = (wxWindow *) 0 ; |
24066 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
24067 | wxPrintDialog *result; | |
24068 | PyObject * obj0 = 0 ; | |
24069 | PyObject * obj1 = 0 ; | |
24070 | char *kwnames[] = { | |
24071 | (char *) "parent",(char *) "data", NULL | |
24072 | }; | |
24073 | ||
24074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
24075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
24076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 24077 | if (obj1) { |
093d3ff1 RD |
24078 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24079 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
24080 | } |
24081 | { | |
e3b71cb8 | 24082 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
24083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24084 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
24085 | ||
24086 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24087 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 24088 | } |
15afbcd0 | 24089 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
24090 | return resultobj; |
24091 | fail: | |
24092 | return NULL; | |
24093 | } | |
24094 | ||
24095 | ||
d3b6e4ff | 24096 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24097 | PyObject *resultobj = NULL; |
d3b6e4ff RD |
24098 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
24099 | int result; | |
24100 | PyObject * obj0 = 0 ; | |
24101 | char *kwnames[] = { | |
24102 | (char *) "self", NULL | |
24103 | }; | |
24104 | ||
24105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24106 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24107 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d3b6e4ff RD |
24108 | { |
24109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24110 | result = (int)(arg1)->ShowModal(); | |
24111 | ||
24112 | wxPyEndAllowThreads(__tstate); | |
24113 | if (PyErr_Occurred()) SWIG_fail; | |
24114 | } | |
093d3ff1 | 24115 | { |
32fe5131 | 24116 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 24117 | } |
d3b6e4ff RD |
24118 | return resultobj; |
24119 | fail: | |
24120 | return NULL; | |
24121 | } | |
24122 | ||
24123 | ||
c32bde28 | 24124 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24125 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24126 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
24127 | wxPrintDialogData *result; | |
24128 | PyObject * obj0 = 0 ; | |
24129 | char *kwnames[] = { | |
24130 | (char *) "self", NULL | |
24131 | }; | |
24132 | ||
24133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24134 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24135 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24136 | { |
24137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24138 | { | |
24139 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
24140 | result = (wxPrintDialogData *) &_result_ref; | |
24141 | } | |
24142 | ||
24143 | wxPyEndAllowThreads(__tstate); | |
24144 | if (PyErr_Occurred()) SWIG_fail; | |
24145 | } | |
15afbcd0 | 24146 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
24147 | return resultobj; |
24148 | fail: | |
24149 | return NULL; | |
24150 | } | |
24151 | ||
24152 | ||
d3b6e4ff | 24153 | static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24154 | PyObject *resultobj = NULL; |
d14a1e28 | 24155 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
d3b6e4ff | 24156 | wxPrintData *result; |
d14a1e28 RD |
24157 | PyObject * obj0 = 0 ; |
24158 | char *kwnames[] = { | |
24159 | (char *) "self", NULL | |
24160 | }; | |
24161 | ||
d3b6e4ff | 24162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24163 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24164 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24165 | { |
24166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff RD |
24167 | { |
24168 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
24169 | result = (wxPrintData *) &_result_ref; | |
24170 | } | |
d14a1e28 RD |
24171 | |
24172 | wxPyEndAllowThreads(__tstate); | |
24173 | if (PyErr_Occurred()) SWIG_fail; | |
24174 | } | |
d3b6e4ff | 24175 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
24176 | return resultobj; |
24177 | fail: | |
24178 | return NULL; | |
24179 | } | |
24180 | ||
24181 | ||
d3b6e4ff | 24182 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24183 | PyObject *resultobj = NULL; |
d14a1e28 | 24184 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
d3b6e4ff | 24185 | wxDC *result; |
d14a1e28 RD |
24186 | PyObject * obj0 = 0 ; |
24187 | char *kwnames[] = { | |
24188 | (char *) "self", NULL | |
24189 | }; | |
24190 | ||
d3b6e4ff | 24191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24192 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24193 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24194 | { |
24195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24196 | result = (wxDC *)(arg1)->GetPrintDC(); |
d14a1e28 RD |
24197 | |
24198 | wxPyEndAllowThreads(__tstate); | |
24199 | if (PyErr_Occurred()) SWIG_fail; | |
24200 | } | |
d3b6e4ff | 24201 | { |
7e08d4ef | 24202 | resultobj = wxPyMake_wxObject(result, (bool)1); |
d3b6e4ff | 24203 | } |
d14a1e28 RD |
24204 | return resultobj; |
24205 | fail: | |
24206 | return NULL; | |
24207 | } | |
24208 | ||
24209 | ||
c32bde28 | 24210 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
24211 | PyObject *obj; |
24212 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24213 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
24214 | Py_INCREF(obj); | |
24215 | return Py_BuildValue((char *)""); | |
24216 | } | |
c32bde28 | 24217 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24218 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24219 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; |
24220 | wxPrinter *result; | |
24221 | PyObject * obj0 = 0 ; | |
24222 | char *kwnames[] = { | |
24223 | (char *) "data", NULL | |
24224 | }; | |
24225 | ||
24226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
24227 | if (obj0) { | |
093d3ff1 RD |
24228 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24229 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24230 | } |
24231 | { | |
e3b71cb8 | 24232 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
24233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24234 | result = (wxPrinter *)new wxPrinter(arg1); | |
24235 | ||
24236 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24237 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 24238 | } |
15afbcd0 | 24239 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
24240 | return resultobj; |
24241 | fail: | |
24242 | return NULL; | |
24243 | } | |
24244 | ||
24245 | ||
c32bde28 | 24246 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24247 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24248 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24249 | PyObject * obj0 = 0 ; | |
24250 | char *kwnames[] = { | |
24251 | (char *) "self", NULL | |
24252 | }; | |
24253 | ||
24254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24255 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24256 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24257 | { |
24258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24259 | delete arg1; | |
24260 | ||
24261 | wxPyEndAllowThreads(__tstate); | |
24262 | if (PyErr_Occurred()) SWIG_fail; | |
24263 | } | |
24264 | Py_INCREF(Py_None); resultobj = Py_None; | |
24265 | return resultobj; | |
24266 | fail: | |
24267 | return NULL; | |
24268 | } | |
24269 | ||
24270 | ||
c32bde28 | 24271 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24272 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24273 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24274 | wxWindow *arg2 = (wxWindow *) 0 ; | |
a68b8331 | 24275 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
d3b6e4ff | 24276 | wxWindow *result; |
d14a1e28 RD |
24277 | PyObject * obj0 = 0 ; |
24278 | PyObject * obj1 = 0 ; | |
24279 | PyObject * obj2 = 0 ; | |
24280 | char *kwnames[] = { | |
24281 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
24282 | }; | |
24283 | ||
24284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
24285 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24286 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24287 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24288 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24289 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24290 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
24291 | { |
24292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24293 | result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3); |
d14a1e28 RD |
24294 | |
24295 | wxPyEndAllowThreads(__tstate); | |
24296 | if (PyErr_Occurred()) SWIG_fail; | |
24297 | } | |
d3b6e4ff RD |
24298 | { |
24299 | resultobj = wxPyMake_wxObject(result, 0); | |
24300 | } | |
d14a1e28 RD |
24301 | return resultobj; |
24302 | fail: | |
24303 | return NULL; | |
24304 | } | |
24305 | ||
24306 | ||
d3b6e4ff | 24307 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24308 | PyObject *resultobj = NULL; |
d14a1e28 | 24309 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
d3b6e4ff | 24310 | wxWindow *arg2 = (wxWindow *) 0 ; |
a68b8331 | 24311 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
d3b6e4ff RD |
24312 | wxString *arg4 = 0 ; |
24313 | bool temp4 = false ; | |
d14a1e28 | 24314 | PyObject * obj0 = 0 ; |
d3b6e4ff RD |
24315 | PyObject * obj1 = 0 ; |
24316 | PyObject * obj2 = 0 ; | |
24317 | PyObject * obj3 = 0 ; | |
d14a1e28 | 24318 | char *kwnames[] = { |
d3b6e4ff | 24319 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL |
d14a1e28 RD |
24320 | }; |
24321 | ||
d3b6e4ff | 24322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
24323 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24324 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24325 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24326 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24327 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24328 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d3b6e4ff RD |
24329 | { |
24330 | arg4 = wxString_in_helper(obj3); | |
24331 | if (arg4 == NULL) SWIG_fail; | |
24332 | temp4 = true; | |
24333 | } | |
d14a1e28 RD |
24334 | { |
24335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24336 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); |
d14a1e28 RD |
24337 | |
24338 | wxPyEndAllowThreads(__tstate); | |
24339 | if (PyErr_Occurred()) SWIG_fail; | |
24340 | } | |
d3b6e4ff RD |
24341 | Py_INCREF(Py_None); resultobj = Py_None; |
24342 | { | |
24343 | if (temp4) | |
24344 | delete arg4; | |
24345 | } | |
d14a1e28 RD |
24346 | return resultobj; |
24347 | fail: | |
d3b6e4ff RD |
24348 | { |
24349 | if (temp4) | |
24350 | delete arg4; | |
24351 | } | |
d14a1e28 RD |
24352 | return NULL; |
24353 | } | |
24354 | ||
24355 | ||
d3b6e4ff | 24356 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24357 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24358 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24359 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d14a1e28 RD |
24360 | bool result; |
24361 | PyObject * obj0 = 0 ; | |
24362 | PyObject * obj1 = 0 ; | |
d14a1e28 | 24363 | char *kwnames[] = { |
d3b6e4ff | 24364 | (char *) "self",(char *) "parent", NULL |
d14a1e28 RD |
24365 | }; |
24366 | ||
d3b6e4ff | 24367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
24368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24370 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24371 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
24372 | { |
24373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24374 | result = (bool)(arg1)->Setup(arg2); |
d14a1e28 RD |
24375 | |
24376 | wxPyEndAllowThreads(__tstate); | |
24377 | if (PyErr_Occurred()) SWIG_fail; | |
24378 | } | |
4f89f6a3 RD |
24379 | { |
24380 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24381 | } | |
d14a1e28 RD |
24382 | return resultobj; |
24383 | fail: | |
24384 | return NULL; | |
24385 | } | |
24386 | ||
24387 | ||
d3b6e4ff | 24388 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24389 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24390 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24391 | wxWindow *arg2 = (wxWindow *) 0 ; | |
a68b8331 | 24392 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
d3b6e4ff RD |
24393 | bool arg4 = (bool) true ; |
24394 | bool result; | |
d14a1e28 RD |
24395 | PyObject * obj0 = 0 ; |
24396 | PyObject * obj1 = 0 ; | |
d3b6e4ff RD |
24397 | PyObject * obj2 = 0 ; |
24398 | PyObject * obj3 = 0 ; | |
d14a1e28 | 24399 | char *kwnames[] = { |
d3b6e4ff | 24400 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL |
d14a1e28 RD |
24401 | }; |
24402 | ||
d3b6e4ff | 24403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
24404 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24405 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24406 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24407 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24408 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24409 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d3b6e4ff | 24410 | if (obj3) { |
093d3ff1 | 24411 | { |
32fe5131 | 24412 | arg4 = static_cast<bool >(SWIG_As_bool(obj3)); |
093d3ff1 RD |
24413 | if (SWIG_arg_fail(4)) SWIG_fail; |
24414 | } | |
d3b6e4ff | 24415 | } |
d14a1e28 RD |
24416 | { |
24417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24418 | result = (bool)(arg1)->Print(arg2,arg3,arg4); |
d14a1e28 RD |
24419 | |
24420 | wxPyEndAllowThreads(__tstate); | |
24421 | if (PyErr_Occurred()) SWIG_fail; | |
24422 | } | |
24423 | { | |
d3b6e4ff | 24424 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
24425 | } |
24426 | return resultobj; | |
24427 | fail: | |
24428 | return NULL; | |
24429 | } | |
24430 | ||
24431 | ||
d3b6e4ff | 24432 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24433 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24434 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24435 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d3b6e4ff | 24436 | wxDC *result; |
d14a1e28 RD |
24437 | PyObject * obj0 = 0 ; |
24438 | PyObject * obj1 = 0 ; | |
d14a1e28 | 24439 | char *kwnames[] = { |
d3b6e4ff | 24440 | (char *) "self",(char *) "parent", NULL |
d14a1e28 RD |
24441 | }; |
24442 | ||
d3b6e4ff | 24443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
24444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24446 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24447 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
24448 | { |
24449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24450 | result = (wxDC *)(arg1)->PrintDialog(arg2); |
d14a1e28 RD |
24451 | |
24452 | wxPyEndAllowThreads(__tstate); | |
24453 | if (PyErr_Occurred()) SWIG_fail; | |
24454 | } | |
d14a1e28 | 24455 | { |
7e08d4ef | 24456 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
24457 | } |
24458 | return resultobj; | |
24459 | fail: | |
d14a1e28 RD |
24460 | return NULL; |
24461 | } | |
24462 | ||
24463 | ||
d3b6e4ff | 24464 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24465 | PyObject *resultobj = NULL; |
d14a1e28 | 24466 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
d3b6e4ff | 24467 | wxPrintDialogData *result; |
d14a1e28 | 24468 | PyObject * obj0 = 0 ; |
d14a1e28 | 24469 | char *kwnames[] = { |
d3b6e4ff | 24470 | (char *) "self", NULL |
d14a1e28 RD |
24471 | }; |
24472 | ||
d3b6e4ff | 24473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24474 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24475 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24476 | { |
24477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff RD |
24478 | { |
24479 | wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData(); | |
24480 | result = (wxPrintDialogData *) &_result_ref; | |
24481 | } | |
d14a1e28 RD |
24482 | |
24483 | wxPyEndAllowThreads(__tstate); | |
24484 | if (PyErr_Occurred()) SWIG_fail; | |
24485 | } | |
d3b6e4ff | 24486 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
24487 | return resultobj; |
24488 | fail: | |
24489 | return NULL; | |
24490 | } | |
24491 | ||
24492 | ||
c32bde28 | 24493 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24494 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24495 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24496 | bool result; | |
24497 | PyObject * obj0 = 0 ; | |
24498 | char *kwnames[] = { | |
24499 | (char *) "self", NULL | |
24500 | }; | |
24501 | ||
24502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24503 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24504 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24505 | { |
24506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24507 | result = (bool)(arg1)->GetAbort(); | |
24508 | ||
24509 | wxPyEndAllowThreads(__tstate); | |
24510 | if (PyErr_Occurred()) SWIG_fail; | |
24511 | } | |
4f89f6a3 RD |
24512 | { |
24513 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24514 | } | |
d14a1e28 RD |
24515 | return resultobj; |
24516 | fail: | |
24517 | return NULL; | |
24518 | } | |
24519 | ||
24520 | ||
c32bde28 | 24521 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24522 | PyObject *resultobj = NULL; |
093d3ff1 | 24523 | wxPrinterError result; |
d14a1e28 RD |
24524 | char *kwnames[] = { |
24525 | NULL | |
24526 | }; | |
24527 | ||
24528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
24529 | { | |
24530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 24531 | result = (wxPrinterError)wxPrinter::GetLastError(); |
d14a1e28 RD |
24532 | |
24533 | wxPyEndAllowThreads(__tstate); | |
24534 | if (PyErr_Occurred()) SWIG_fail; | |
24535 | } | |
093d3ff1 | 24536 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
24537 | return resultobj; |
24538 | fail: | |
24539 | return NULL; | |
24540 | } | |
24541 | ||
24542 | ||
c32bde28 | 24543 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
24544 | PyObject *obj; |
24545 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24546 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
24547 | Py_INCREF(obj); | |
24548 | return Py_BuildValue((char *)""); | |
24549 | } | |
c32bde28 | 24550 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24551 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24552 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; |
24553 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
24554 | wxPyPrintout *result; | |
ae8162c8 | 24555 | bool temp1 = false ; |
d14a1e28 RD |
24556 | PyObject * obj0 = 0 ; |
24557 | char *kwnames[] = { | |
24558 | (char *) "title", NULL | |
24559 | }; | |
24560 | ||
24561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
24562 | if (obj0) { | |
24563 | { | |
24564 | arg1 = wxString_in_helper(obj0); | |
24565 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 24566 | temp1 = true; |
d14a1e28 RD |
24567 | } |
24568 | } | |
24569 | { | |
e3b71cb8 | 24570 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
24571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24572 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
24573 | ||
24574 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24575 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24576 | } |
24577 | { | |
7e08d4ef | 24578 | resultobj = wxPyMake_wxObject(result, (bool)1); |
d14a1e28 RD |
24579 | } |
24580 | { | |
24581 | if (temp1) | |
24582 | delete arg1; | |
24583 | } | |
24584 | return resultobj; | |
24585 | fail: | |
24586 | { | |
24587 | if (temp1) | |
24588 | delete arg1; | |
24589 | } | |
24590 | return NULL; | |
24591 | } | |
24592 | ||
24593 | ||
c32bde28 | 24594 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24595 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24596 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24597 | PyObject *arg2 = (PyObject *) 0 ; | |
24598 | PyObject *arg3 = (PyObject *) 0 ; | |
24599 | PyObject * obj0 = 0 ; | |
24600 | PyObject * obj1 = 0 ; | |
24601 | PyObject * obj2 = 0 ; | |
24602 | char *kwnames[] = { | |
24603 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24604 | }; | |
24605 | ||
24606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
24607 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24608 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24609 | arg2 = obj1; |
24610 | arg3 = obj2; | |
24611 | { | |
24612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24613 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24614 | ||
24615 | wxPyEndAllowThreads(__tstate); | |
24616 | if (PyErr_Occurred()) SWIG_fail; | |
24617 | } | |
24618 | Py_INCREF(Py_None); resultobj = Py_None; | |
24619 | return resultobj; | |
24620 | fail: | |
24621 | return NULL; | |
24622 | } | |
24623 | ||
24624 | ||
c32bde28 | 24625 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24626 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24627 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24628 | wxString result; | |
24629 | PyObject * obj0 = 0 ; | |
24630 | char *kwnames[] = { | |
24631 | (char *) "self", NULL | |
24632 | }; | |
24633 | ||
24634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24635 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24636 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24637 | { |
24638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24639 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
24640 | ||
24641 | wxPyEndAllowThreads(__tstate); | |
24642 | if (PyErr_Occurred()) SWIG_fail; | |
24643 | } | |
24644 | { | |
24645 | #if wxUSE_UNICODE | |
24646 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
24647 | #else | |
24648 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
24649 | #endif | |
24650 | } | |
24651 | return resultobj; | |
24652 | fail: | |
24653 | return NULL; | |
24654 | } | |
24655 | ||
24656 | ||
c32bde28 | 24657 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24658 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24659 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24660 | wxDC *result; | |
24661 | PyObject * obj0 = 0 ; | |
24662 | char *kwnames[] = { | |
24663 | (char *) "self", NULL | |
24664 | }; | |
24665 | ||
24666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24667 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24668 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24669 | { |
24670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24671 | result = (wxDC *)(arg1)->GetDC(); | |
24672 | ||
24673 | wxPyEndAllowThreads(__tstate); | |
24674 | if (PyErr_Occurred()) SWIG_fail; | |
24675 | } | |
24676 | { | |
7e08d4ef | 24677 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
24678 | } |
24679 | return resultobj; | |
24680 | fail: | |
24681 | return NULL; | |
24682 | } | |
24683 | ||
24684 | ||
c32bde28 | 24685 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24686 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24687 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24688 | wxDC *arg2 = (wxDC *) 0 ; | |
24689 | PyObject * obj0 = 0 ; | |
24690 | PyObject * obj1 = 0 ; | |
24691 | char *kwnames[] = { | |
24692 | (char *) "self",(char *) "dc", NULL | |
24693 | }; | |
24694 | ||
24695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
24696 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24697 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24698 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
24699 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
24700 | { |
24701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24702 | (arg1)->SetDC(arg2); | |
24703 | ||
24704 | wxPyEndAllowThreads(__tstate); | |
24705 | if (PyErr_Occurred()) SWIG_fail; | |
24706 | } | |
24707 | Py_INCREF(Py_None); resultobj = Py_None; | |
24708 | return resultobj; | |
24709 | fail: | |
24710 | return NULL; | |
24711 | } | |
24712 | ||
24713 | ||
c32bde28 | 24714 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24715 | PyObject *resultobj = NULL; |
d14a1e28 | 24716 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
322913ce RD |
24717 | int arg2 ; |
24718 | int arg3 ; | |
d14a1e28 | 24719 | PyObject * obj0 = 0 ; |
994141e6 RD |
24720 | PyObject * obj1 = 0 ; |
24721 | PyObject * obj2 = 0 ; | |
d14a1e28 | 24722 | char *kwnames[] = { |
322913ce | 24723 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
24724 | }; |
24725 | ||
994141e6 | 24726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
24727 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24728 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24729 | { | |
32fe5131 | 24730 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
24731 | if (SWIG_arg_fail(2)) SWIG_fail; |
24732 | } | |
24733 | { | |
32fe5131 | 24734 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
24735 | if (SWIG_arg_fail(3)) SWIG_fail; |
24736 | } | |
d14a1e28 RD |
24737 | { |
24738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 24739 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
24740 | |
24741 | wxPyEndAllowThreads(__tstate); | |
24742 | if (PyErr_Occurred()) SWIG_fail; | |
24743 | } | |
24744 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
24745 | return resultobj; |
24746 | fail: | |
24747 | return NULL; | |
24748 | } | |
24749 | ||
24750 | ||
c32bde28 | 24751 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24752 | PyObject *resultobj = NULL; |
d14a1e28 | 24753 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
322913ce RD |
24754 | int *arg2 = (int *) 0 ; |
24755 | int *arg3 = (int *) 0 ; | |
24756 | int temp2 ; | |
c32bde28 | 24757 | int res2 = 0 ; |
322913ce | 24758 | int temp3 ; |
c32bde28 | 24759 | int res3 = 0 ; |
d14a1e28 RD |
24760 | PyObject * obj0 = 0 ; |
24761 | char *kwnames[] = { | |
322913ce | 24762 | (char *) "self", NULL |
d14a1e28 RD |
24763 | }; |
24764 | ||
c32bde28 RD |
24765 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24766 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
322913ce | 24767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24768 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24769 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24770 | { |
24771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 24772 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
24773 | |
24774 | wxPyEndAllowThreads(__tstate); | |
24775 | if (PyErr_Occurred()) SWIG_fail; | |
24776 | } | |
24777 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24778 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24779 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24780 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24781 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
24782 | return resultobj; |
24783 | fail: | |
24784 | return NULL; | |
24785 | } | |
24786 | ||
24787 | ||
c32bde28 | 24788 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24789 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24790 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24791 | int arg2 ; | |
24792 | int arg3 ; | |
24793 | PyObject * obj0 = 0 ; | |
994141e6 RD |
24794 | PyObject * obj1 = 0 ; |
24795 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
24796 | char *kwnames[] = { |
24797 | (char *) "self",(char *) "w",(char *) "h", NULL | |
24798 | }; | |
24799 | ||
994141e6 | 24800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
24801 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24802 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24803 | { | |
32fe5131 | 24804 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
24805 | if (SWIG_arg_fail(2)) SWIG_fail; |
24806 | } | |
24807 | { | |
32fe5131 | 24808 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
24809 | if (SWIG_arg_fail(3)) SWIG_fail; |
24810 | } | |
d14a1e28 RD |
24811 | { |
24812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24813 | (arg1)->SetPageSizeMM(arg2,arg3); | |
24814 | ||
24815 | wxPyEndAllowThreads(__tstate); | |
24816 | if (PyErr_Occurred()) SWIG_fail; | |
24817 | } | |
24818 | Py_INCREF(Py_None); resultobj = Py_None; | |
24819 | return resultobj; | |
24820 | fail: | |
24821 | return NULL; | |
24822 | } | |
24823 | ||
24824 | ||
c32bde28 | 24825 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24826 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24827 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24828 | int *arg2 = (int *) 0 ; | |
24829 | int *arg3 = (int *) 0 ; | |
24830 | int temp2 ; | |
c32bde28 | 24831 | int res2 = 0 ; |
d14a1e28 | 24832 | int temp3 ; |
c32bde28 | 24833 | int res3 = 0 ; |
d14a1e28 RD |
24834 | PyObject * obj0 = 0 ; |
24835 | char *kwnames[] = { | |
24836 | (char *) "self", NULL | |
24837 | }; | |
24838 | ||
c32bde28 RD |
24839 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24840 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 24841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24842 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24843 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24844 | { |
24845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24846 | (arg1)->GetPageSizeMM(arg2,arg3); | |
24847 | ||
24848 | wxPyEndAllowThreads(__tstate); | |
24849 | if (PyErr_Occurred()) SWIG_fail; | |
24850 | } | |
24851 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24852 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24853 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24854 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24855 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
24856 | return resultobj; |
24857 | fail: | |
24858 | return NULL; | |
24859 | } | |
24860 | ||
24861 | ||
c32bde28 | 24862 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24863 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24864 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24865 | int arg2 ; | |
24866 | int arg3 ; | |
24867 | PyObject * obj0 = 0 ; | |
994141e6 RD |
24868 | PyObject * obj1 = 0 ; |
24869 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
24870 | char *kwnames[] = { |
24871 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24872 | }; | |
24873 | ||
994141e6 | 24874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
24875 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24876 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24877 | { | |
32fe5131 | 24878 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
24879 | if (SWIG_arg_fail(2)) SWIG_fail; |
24880 | } | |
24881 | { | |
32fe5131 | 24882 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
24883 | if (SWIG_arg_fail(3)) SWIG_fail; |
24884 | } | |
d14a1e28 RD |
24885 | { |
24886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24887 | (arg1)->SetPPIScreen(arg2,arg3); | |
24888 | ||
24889 | wxPyEndAllowThreads(__tstate); | |
24890 | if (PyErr_Occurred()) SWIG_fail; | |
24891 | } | |
24892 | Py_INCREF(Py_None); resultobj = Py_None; | |
24893 | return resultobj; | |
24894 | fail: | |
24895 | return NULL; | |
24896 | } | |
24897 | ||
24898 | ||
c32bde28 | 24899 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24900 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24901 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24902 | int *arg2 = (int *) 0 ; | |
24903 | int *arg3 = (int *) 0 ; | |
24904 | int temp2 ; | |
c32bde28 | 24905 | int res2 = 0 ; |
d14a1e28 | 24906 | int temp3 ; |
c32bde28 | 24907 | int res3 = 0 ; |
d14a1e28 RD |
24908 | PyObject * obj0 = 0 ; |
24909 | char *kwnames[] = { | |
24910 | (char *) "self", NULL | |
24911 | }; | |
24912 | ||
c32bde28 RD |
24913 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24914 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 24915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24918 | { |
24919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24920 | (arg1)->GetPPIScreen(arg2,arg3); | |
24921 | ||
24922 | wxPyEndAllowThreads(__tstate); | |
24923 | if (PyErr_Occurred()) SWIG_fail; | |
24924 | } | |
24925 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24926 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24927 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24928 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24929 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
24930 | return resultobj; |
24931 | fail: | |
24932 | return NULL; | |
24933 | } | |
24934 | ||
24935 | ||
c32bde28 | 24936 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24937 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24938 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24939 | int arg2 ; | |
24940 | int arg3 ; | |
24941 | PyObject * obj0 = 0 ; | |
994141e6 RD |
24942 | PyObject * obj1 = 0 ; |
24943 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
24944 | char *kwnames[] = { |
24945 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24946 | }; | |
24947 | ||
994141e6 | 24948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
24949 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24950 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24951 | { | |
32fe5131 | 24952 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
24953 | if (SWIG_arg_fail(2)) SWIG_fail; |
24954 | } | |
24955 | { | |
32fe5131 | 24956 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
24957 | if (SWIG_arg_fail(3)) SWIG_fail; |
24958 | } | |
d14a1e28 RD |
24959 | { |
24960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24961 | (arg1)->SetPPIPrinter(arg2,arg3); | |
24962 | ||
24963 | wxPyEndAllowThreads(__tstate); | |
24964 | if (PyErr_Occurred()) SWIG_fail; | |
24965 | } | |
24966 | Py_INCREF(Py_None); resultobj = Py_None; | |
24967 | return resultobj; | |
24968 | fail: | |
24969 | return NULL; | |
24970 | } | |
24971 | ||
24972 | ||
c32bde28 | 24973 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24974 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24975 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24976 | int *arg2 = (int *) 0 ; | |
24977 | int *arg3 = (int *) 0 ; | |
24978 | int temp2 ; | |
c32bde28 | 24979 | int res2 = 0 ; |
d14a1e28 | 24980 | int temp3 ; |
c32bde28 | 24981 | int res3 = 0 ; |
d14a1e28 RD |
24982 | PyObject * obj0 = 0 ; |
24983 | char *kwnames[] = { | |
24984 | (char *) "self", NULL | |
24985 | }; | |
24986 | ||
c32bde28 RD |
24987 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24988 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 24989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24992 | { |
24993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24994 | (arg1)->GetPPIPrinter(arg2,arg3); | |
24995 | ||
24996 | wxPyEndAllowThreads(__tstate); | |
24997 | if (PyErr_Occurred()) SWIG_fail; | |
24998 | } | |
24999 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
25000 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
25001 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
25002 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
25003 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
25004 | return resultobj; |
25005 | fail: | |
25006 | return NULL; | |
25007 | } | |
25008 | ||
25009 | ||
c32bde28 | 25010 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25011 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25012 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25013 | bool result; | |
25014 | PyObject * obj0 = 0 ; | |
25015 | char *kwnames[] = { | |
25016 | (char *) "self", NULL | |
25017 | }; | |
25018 | ||
25019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25020 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25021 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25022 | { |
25023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25024 | result = (bool)(arg1)->IsPreview(); | |
25025 | ||
25026 | wxPyEndAllowThreads(__tstate); | |
25027 | if (PyErr_Occurred()) SWIG_fail; | |
25028 | } | |
4f89f6a3 RD |
25029 | { |
25030 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25031 | } | |
d14a1e28 RD |
25032 | return resultobj; |
25033 | fail: | |
25034 | return NULL; | |
25035 | } | |
25036 | ||
25037 | ||
c32bde28 | 25038 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25039 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25040 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25041 | bool arg2 ; | |
25042 | PyObject * obj0 = 0 ; | |
25043 | PyObject * obj1 = 0 ; | |
25044 | char *kwnames[] = { | |
25045 | (char *) "self",(char *) "p", NULL | |
25046 | }; | |
25047 | ||
25048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
25049 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25050 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25051 | { | |
32fe5131 | 25052 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
25053 | if (SWIG_arg_fail(2)) SWIG_fail; |
25054 | } | |
d14a1e28 RD |
25055 | { |
25056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25057 | (arg1)->SetIsPreview(arg2); | |
25058 | ||
25059 | wxPyEndAllowThreads(__tstate); | |
25060 | if (PyErr_Occurred()) SWIG_fail; | |
25061 | } | |
25062 | Py_INCREF(Py_None); resultobj = Py_None; | |
25063 | return resultobj; | |
25064 | fail: | |
25065 | return NULL; | |
25066 | } | |
25067 | ||
25068 | ||
c26d9ab4 | 25069 | static PyObject *_wrap_Printout_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25070 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25071 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25072 | int arg2 ; | |
25073 | int arg3 ; | |
25074 | bool result; | |
25075 | PyObject * obj0 = 0 ; | |
994141e6 RD |
25076 | PyObject * obj1 = 0 ; |
25077 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
25078 | char *kwnames[] = { |
25079 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
25080 | }; | |
25081 | ||
c26d9ab4 | 25082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
25083 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25084 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25085 | { | |
32fe5131 | 25086 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
25087 | if (SWIG_arg_fail(2)) SWIG_fail; |
25088 | } | |
25089 | { | |
32fe5131 | 25090 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
25091 | if (SWIG_arg_fail(3)) SWIG_fail; |
25092 | } | |
d14a1e28 RD |
25093 | { |
25094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 25095 | result = (bool)(arg1)->OnBeginDocument(arg2,arg3); |
d14a1e28 RD |
25096 | |
25097 | wxPyEndAllowThreads(__tstate); | |
25098 | if (PyErr_Occurred()) SWIG_fail; | |
25099 | } | |
4f89f6a3 RD |
25100 | { |
25101 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25102 | } | |
d14a1e28 RD |
25103 | return resultobj; |
25104 | fail: | |
25105 | return NULL; | |
25106 | } | |
25107 | ||
25108 | ||
c26d9ab4 | 25109 | static PyObject *_wrap_Printout_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25110 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25111 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25112 | PyObject * obj0 = 0 ; | |
25113 | char *kwnames[] = { | |
25114 | (char *) "self", NULL | |
25115 | }; | |
25116 | ||
c26d9ab4 | 25117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnEndDocument",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
25118 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25119 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25120 | { |
25121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 25122 | (arg1)->OnEndDocument(); |
d14a1e28 RD |
25123 | |
25124 | wxPyEndAllowThreads(__tstate); | |
25125 | if (PyErr_Occurred()) SWIG_fail; | |
25126 | } | |
25127 | Py_INCREF(Py_None); resultobj = Py_None; | |
25128 | return resultobj; | |
25129 | fail: | |
25130 | return NULL; | |
25131 | } | |
25132 | ||
25133 | ||
c26d9ab4 | 25134 | static PyObject *_wrap_Printout_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25135 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25136 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25137 | PyObject * obj0 = 0 ; | |
25138 | char *kwnames[] = { | |
25139 | (char *) "self", NULL | |
25140 | }; | |
25141 | ||
c26d9ab4 | 25142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnBeginPrinting",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
25143 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25144 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25145 | { |
25146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 25147 | (arg1)->OnBeginPrinting(); |
d14a1e28 RD |
25148 | |
25149 | wxPyEndAllowThreads(__tstate); | |
25150 | if (PyErr_Occurred()) SWIG_fail; | |
25151 | } | |
25152 | Py_INCREF(Py_None); resultobj = Py_None; | |
25153 | return resultobj; | |
25154 | fail: | |
25155 | return NULL; | |
25156 | } | |
25157 | ||
25158 | ||
c26d9ab4 | 25159 | static PyObject *_wrap_Printout_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25160 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25161 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25162 | PyObject * obj0 = 0 ; | |
25163 | char *kwnames[] = { | |
25164 | (char *) "self", NULL | |
25165 | }; | |
25166 | ||
c26d9ab4 | 25167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnEndPrinting",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
25168 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25169 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25170 | { |
25171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 25172 | (arg1)->OnEndPrinting(); |
d14a1e28 RD |
25173 | |
25174 | wxPyEndAllowThreads(__tstate); | |
25175 | if (PyErr_Occurred()) SWIG_fail; | |
25176 | } | |
25177 | Py_INCREF(Py_None); resultobj = Py_None; | |
25178 | return resultobj; | |
25179 | fail: | |
25180 | return NULL; | |
25181 | } | |
25182 | ||
25183 | ||
c26d9ab4 | 25184 | static PyObject *_wrap_Printout_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25185 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25186 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25187 | PyObject * obj0 = 0 ; | |
25188 | char *kwnames[] = { | |
25189 | (char *) "self", NULL | |
25190 | }; | |
25191 | ||
c26d9ab4 | 25192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnPreparePrinting",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
25193 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25194 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25195 | { |
25196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 25197 | (arg1)->OnPreparePrinting(); |
d14a1e28 RD |
25198 | |
25199 | wxPyEndAllowThreads(__tstate); | |
25200 | if (PyErr_Occurred()) SWIG_fail; | |
25201 | } | |
25202 | Py_INCREF(Py_None); resultobj = Py_None; | |
25203 | return resultobj; | |
25204 | fail: | |
25205 | return NULL; | |
25206 | } | |
25207 | ||
25208 | ||
c26d9ab4 | 25209 | static PyObject *_wrap_Printout_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25210 | PyObject *resultobj = NULL; |
322913ce RD |
25211 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25212 | int arg2 ; | |
25213 | bool result; | |
25214 | PyObject * obj0 = 0 ; | |
994141e6 | 25215 | PyObject * obj1 = 0 ; |
322913ce RD |
25216 | char *kwnames[] = { |
25217 | (char *) "self",(char *) "page", NULL | |
25218 | }; | |
25219 | ||
c26d9ab4 | 25220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
25221 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25222 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25223 | { | |
32fe5131 | 25224 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
25225 | if (SWIG_arg_fail(2)) SWIG_fail; |
25226 | } | |
322913ce RD |
25227 | { |
25228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 25229 | result = (bool)(arg1)->HasPage(arg2); |
322913ce RD |
25230 | |
25231 | wxPyEndAllowThreads(__tstate); | |
25232 | if (PyErr_Occurred()) SWIG_fail; | |
25233 | } | |
4f89f6a3 RD |
25234 | { |
25235 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25236 | } | |
322913ce RD |
25237 | return resultobj; |
25238 | fail: | |
25239 | return NULL; | |
25240 | } | |
25241 | ||
25242 | ||
c26d9ab4 | 25243 | static PyObject *_wrap_Printout_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25244 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25245 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25246 | int *arg2 = (int *) 0 ; | |
25247 | int *arg3 = (int *) 0 ; | |
25248 | int *arg4 = (int *) 0 ; | |
25249 | int *arg5 = (int *) 0 ; | |
25250 | int temp2 ; | |
c32bde28 | 25251 | int res2 = 0 ; |
d14a1e28 | 25252 | int temp3 ; |
c32bde28 | 25253 | int res3 = 0 ; |
d14a1e28 | 25254 | int temp4 ; |
c32bde28 | 25255 | int res4 = 0 ; |
d14a1e28 | 25256 | int temp5 ; |
c32bde28 | 25257 | int res5 = 0 ; |
d14a1e28 RD |
25258 | PyObject * obj0 = 0 ; |
25259 | char *kwnames[] = { | |
25260 | (char *) "self", NULL | |
25261 | }; | |
25262 | ||
c32bde28 RD |
25263 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
25264 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
25265 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
25266 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
c26d9ab4 | 25267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageInfo",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
25268 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25269 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25270 | { |
25271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 25272 | (arg1)->GetPageInfo(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
25273 | |
25274 | wxPyEndAllowThreads(__tstate); | |
25275 | if (PyErr_Occurred()) SWIG_fail; | |
25276 | } | |
25277 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
25278 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
25279 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
25280 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
25281 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
25282 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
25283 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
25284 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
25285 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
25286 | return resultobj; |
25287 | fail: | |
25288 | return NULL; | |
25289 | } | |
25290 | ||
25291 | ||
c32bde28 | 25292 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25293 | PyObject *obj; |
25294 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25295 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
25296 | Py_INCREF(obj); | |
25297 | return Py_BuildValue((char *)""); | |
25298 | } | |
c32bde28 | 25299 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25300 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25301 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
25302 | wxWindow *arg2 = (wxWindow *) 0 ; | |
25303 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
25304 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
25305 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
25306 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
25307 | long arg5 = (long) 0 ; | |
25308 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
25309 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
25310 | wxPreviewCanvas *result; | |
25311 | wxPoint temp3 ; | |
25312 | wxSize temp4 ; | |
ae8162c8 | 25313 | bool temp6 = false ; |
d14a1e28 RD |
25314 | PyObject * obj0 = 0 ; |
25315 | PyObject * obj1 = 0 ; | |
25316 | PyObject * obj2 = 0 ; | |
25317 | PyObject * obj3 = 0 ; | |
994141e6 | 25318 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
25319 | PyObject * obj5 = 0 ; |
25320 | char *kwnames[] = { | |
25321 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25322 | }; | |
25323 | ||
994141e6 | 25324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
25325 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25327 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25328 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
25329 | if (obj2) { |
25330 | { | |
25331 | arg3 = &temp3; | |
25332 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
25333 | } | |
25334 | } | |
25335 | if (obj3) { | |
25336 | { | |
25337 | arg4 = &temp4; | |
25338 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
25339 | } | |
25340 | } | |
994141e6 | 25341 | if (obj4) { |
093d3ff1 | 25342 | { |
32fe5131 | 25343 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
25344 | if (SWIG_arg_fail(5)) SWIG_fail; |
25345 | } | |
994141e6 | 25346 | } |
d14a1e28 RD |
25347 | if (obj5) { |
25348 | { | |
25349 | arg6 = wxString_in_helper(obj5); | |
25350 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 25351 | temp6 = true; |
d14a1e28 RD |
25352 | } |
25353 | } | |
25354 | { | |
e3b71cb8 | 25355 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25357 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
25358 | ||
25359 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25360 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25361 | } |
15afbcd0 | 25362 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
25363 | { |
25364 | if (temp6) | |
25365 | delete arg6; | |
25366 | } | |
25367 | return resultobj; | |
25368 | fail: | |
25369 | { | |
25370 | if (temp6) | |
25371 | delete arg6; | |
25372 | } | |
25373 | return NULL; | |
25374 | } | |
25375 | ||
25376 | ||
c32bde28 | 25377 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25378 | PyObject *obj; |
25379 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25380 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
25381 | Py_INCREF(obj); | |
25382 | return Py_BuildValue((char *)""); | |
25383 | } | |
c32bde28 | 25384 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25385 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25386 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
25387 | wxFrame *arg2 = (wxFrame *) 0 ; | |
25388 | wxString *arg3 = 0 ; | |
25389 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25390 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25391 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25392 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25393 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
25394 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
25395 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25396 | wxPreviewFrame *result; | |
ae8162c8 | 25397 | bool temp3 = false ; |
d14a1e28 RD |
25398 | wxPoint temp4 ; |
25399 | wxSize temp5 ; | |
ae8162c8 | 25400 | bool temp7 = false ; |
d14a1e28 RD |
25401 | PyObject * obj0 = 0 ; |
25402 | PyObject * obj1 = 0 ; | |
25403 | PyObject * obj2 = 0 ; | |
25404 | PyObject * obj3 = 0 ; | |
25405 | PyObject * obj4 = 0 ; | |
994141e6 | 25406 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
25407 | PyObject * obj6 = 0 ; |
25408 | char *kwnames[] = { | |
25409 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25410 | }; | |
25411 | ||
994141e6 | 25412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
25413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25415 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
25416 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
25417 | { |
25418 | arg3 = wxString_in_helper(obj2); | |
25419 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 25420 | temp3 = true; |
d14a1e28 RD |
25421 | } |
25422 | if (obj3) { | |
25423 | { | |
25424 | arg4 = &temp4; | |
25425 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25426 | } | |
25427 | } | |
25428 | if (obj4) { | |
25429 | { | |
25430 | arg5 = &temp5; | |
25431 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25432 | } | |
25433 | } | |
994141e6 | 25434 | if (obj5) { |
093d3ff1 | 25435 | { |
32fe5131 | 25436 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
25437 | if (SWIG_arg_fail(6)) SWIG_fail; |
25438 | } | |
994141e6 | 25439 | } |
d14a1e28 RD |
25440 | if (obj6) { |
25441 | { | |
25442 | arg7 = wxString_in_helper(obj6); | |
25443 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 25444 | temp7 = true; |
d14a1e28 RD |
25445 | } |
25446 | } | |
25447 | { | |
e3b71cb8 | 25448 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25450 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25451 | ||
25452 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25453 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25454 | } |
15afbcd0 | 25455 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
25456 | { |
25457 | if (temp3) | |
25458 | delete arg3; | |
25459 | } | |
25460 | { | |
25461 | if (temp7) | |
25462 | delete arg7; | |
25463 | } | |
25464 | return resultobj; | |
25465 | fail: | |
25466 | { | |
25467 | if (temp3) | |
25468 | delete arg3; | |
25469 | } | |
25470 | { | |
25471 | if (temp7) | |
25472 | delete arg7; | |
25473 | } | |
25474 | return NULL; | |
25475 | } | |
25476 | ||
25477 | ||
c32bde28 | 25478 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25479 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25480 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
25481 | PyObject * obj0 = 0 ; | |
25482 | char *kwnames[] = { | |
25483 | (char *) "self", NULL | |
25484 | }; | |
25485 | ||
25486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25487 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25488 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25489 | { |
25490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25491 | (arg1)->Initialize(); | |
25492 | ||
25493 | wxPyEndAllowThreads(__tstate); | |
25494 | if (PyErr_Occurred()) SWIG_fail; | |
25495 | } | |
25496 | Py_INCREF(Py_None); resultobj = Py_None; | |
25497 | return resultobj; | |
25498 | fail: | |
25499 | return NULL; | |
25500 | } | |
25501 | ||
25502 | ||
c32bde28 | 25503 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25504 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25505 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
25506 | PyObject * obj0 = 0 ; | |
25507 | char *kwnames[] = { | |
25508 | (char *) "self", NULL | |
25509 | }; | |
25510 | ||
25511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25512 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25513 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25514 | { |
25515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25516 | (arg1)->CreateControlBar(); | |
25517 | ||
25518 | wxPyEndAllowThreads(__tstate); | |
25519 | if (PyErr_Occurred()) SWIG_fail; | |
25520 | } | |
25521 | Py_INCREF(Py_None); resultobj = Py_None; | |
25522 | return resultobj; | |
25523 | fail: | |
25524 | return NULL; | |
25525 | } | |
25526 | ||
25527 | ||
c32bde28 | 25528 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25529 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25530 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
25531 | PyObject * obj0 = 0 ; | |
25532 | char *kwnames[] = { | |
25533 | (char *) "self", NULL | |
25534 | }; | |
25535 | ||
25536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25537 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25538 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25539 | { |
25540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25541 | (arg1)->CreateCanvas(); | |
25542 | ||
25543 | wxPyEndAllowThreads(__tstate); | |
25544 | if (PyErr_Occurred()) SWIG_fail; | |
25545 | } | |
25546 | Py_INCREF(Py_None); resultobj = Py_None; | |
25547 | return resultobj; | |
25548 | fail: | |
25549 | return NULL; | |
25550 | } | |
25551 | ||
25552 | ||
c32bde28 | 25553 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25554 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25555 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
25556 | wxPreviewControlBar *result; | |
25557 | PyObject * obj0 = 0 ; | |
25558 | char *kwnames[] = { | |
25559 | (char *) "self", NULL | |
25560 | }; | |
25561 | ||
25562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25563 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25564 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25565 | { |
25566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25567 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
25568 | ||
25569 | wxPyEndAllowThreads(__tstate); | |
25570 | if (PyErr_Occurred()) SWIG_fail; | |
25571 | } | |
15afbcd0 | 25572 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
25573 | return resultobj; |
25574 | fail: | |
25575 | return NULL; | |
25576 | } | |
25577 | ||
25578 | ||
c32bde28 | 25579 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25580 | PyObject *obj; |
25581 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25582 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
25583 | Py_INCREF(obj); | |
25584 | return Py_BuildValue((char *)""); | |
25585 | } | |
c32bde28 | 25586 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25587 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25588 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
25589 | long arg2 ; | |
25590 | wxWindow *arg3 = (wxWindow *) 0 ; | |
25591 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25592 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25593 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25594 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25595 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
25596 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
25597 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25598 | wxPreviewControlBar *result; | |
25599 | wxPoint temp4 ; | |
25600 | wxSize temp5 ; | |
ae8162c8 | 25601 | bool temp7 = false ; |
d14a1e28 | 25602 | PyObject * obj0 = 0 ; |
994141e6 | 25603 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
25604 | PyObject * obj2 = 0 ; |
25605 | PyObject * obj3 = 0 ; | |
25606 | PyObject * obj4 = 0 ; | |
994141e6 | 25607 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
25608 | PyObject * obj6 = 0 ; |
25609 | char *kwnames[] = { | |
25610 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25611 | }; | |
25612 | ||
994141e6 | 25613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
25614 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25615 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25616 | { | |
32fe5131 | 25617 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
25618 | if (SWIG_arg_fail(2)) SWIG_fail; |
25619 | } | |
25620 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25621 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
25622 | if (obj3) { |
25623 | { | |
25624 | arg4 = &temp4; | |
25625 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25626 | } | |
25627 | } | |
25628 | if (obj4) { | |
25629 | { | |
25630 | arg5 = &temp5; | |
25631 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25632 | } | |
25633 | } | |
994141e6 | 25634 | if (obj5) { |
093d3ff1 | 25635 | { |
32fe5131 | 25636 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
25637 | if (SWIG_arg_fail(6)) SWIG_fail; |
25638 | } | |
994141e6 | 25639 | } |
d14a1e28 RD |
25640 | if (obj6) { |
25641 | { | |
25642 | arg7 = wxString_in_helper(obj6); | |
25643 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 25644 | temp7 = true; |
d14a1e28 RD |
25645 | } |
25646 | } | |
25647 | { | |
e3b71cb8 | 25648 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25650 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25651 | ||
25652 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25653 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25654 | } |
15afbcd0 | 25655 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
25656 | { |
25657 | if (temp7) | |
25658 | delete arg7; | |
25659 | } | |
25660 | return resultobj; | |
25661 | fail: | |
25662 | { | |
25663 | if (temp7) | |
25664 | delete arg7; | |
25665 | } | |
25666 | return NULL; | |
25667 | } | |
25668 | ||
25669 | ||
c32bde28 | 25670 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25671 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25672 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25673 | int result; | |
25674 | PyObject * obj0 = 0 ; | |
25675 | char *kwnames[] = { | |
25676 | (char *) "self", NULL | |
25677 | }; | |
25678 | ||
25679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25680 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25681 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25682 | { |
25683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25684 | result = (int)(arg1)->GetZoomControl(); | |
25685 | ||
25686 | wxPyEndAllowThreads(__tstate); | |
25687 | if (PyErr_Occurred()) SWIG_fail; | |
25688 | } | |
093d3ff1 | 25689 | { |
32fe5131 | 25690 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 25691 | } |
d14a1e28 RD |
25692 | return resultobj; |
25693 | fail: | |
25694 | return NULL; | |
25695 | } | |
25696 | ||
25697 | ||
c32bde28 | 25698 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25699 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25700 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25701 | int arg2 ; | |
25702 | PyObject * obj0 = 0 ; | |
994141e6 | 25703 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
25704 | char *kwnames[] = { |
25705 | (char *) "self",(char *) "zoom", NULL | |
25706 | }; | |
25707 | ||
994141e6 | 25708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
25709 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25711 | { | |
32fe5131 | 25712 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
25713 | if (SWIG_arg_fail(2)) SWIG_fail; |
25714 | } | |
d14a1e28 RD |
25715 | { |
25716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25717 | (arg1)->SetZoomControl(arg2); | |
25718 | ||
25719 | wxPyEndAllowThreads(__tstate); | |
25720 | if (PyErr_Occurred()) SWIG_fail; | |
25721 | } | |
25722 | Py_INCREF(Py_None); resultobj = Py_None; | |
25723 | return resultobj; | |
25724 | fail: | |
25725 | return NULL; | |
25726 | } | |
25727 | ||
25728 | ||
c32bde28 | 25729 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25730 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25731 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25732 | wxPrintPreview *result; | |
25733 | PyObject * obj0 = 0 ; | |
25734 | char *kwnames[] = { | |
25735 | (char *) "self", NULL | |
25736 | }; | |
25737 | ||
25738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25740 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25741 | { |
25742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25743 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
25744 | ||
25745 | wxPyEndAllowThreads(__tstate); | |
25746 | if (PyErr_Occurred()) SWIG_fail; | |
25747 | } | |
15afbcd0 | 25748 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
25749 | return resultobj; |
25750 | fail: | |
25751 | return NULL; | |
25752 | } | |
25753 | ||
25754 | ||
c32bde28 | 25755 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25756 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25757 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25758 | PyObject * obj0 = 0 ; | |
25759 | char *kwnames[] = { | |
25760 | (char *) "self", NULL | |
25761 | }; | |
25762 | ||
25763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25764 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25765 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25766 | { |
25767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25768 | (arg1)->OnNext(); | |
25769 | ||
25770 | wxPyEndAllowThreads(__tstate); | |
25771 | if (PyErr_Occurred()) SWIG_fail; | |
25772 | } | |
25773 | Py_INCREF(Py_None); resultobj = Py_None; | |
25774 | return resultobj; | |
25775 | fail: | |
25776 | return NULL; | |
25777 | } | |
25778 | ||
25779 | ||
c32bde28 | 25780 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25781 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25782 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25783 | PyObject * obj0 = 0 ; | |
25784 | char *kwnames[] = { | |
25785 | (char *) "self", NULL | |
25786 | }; | |
25787 | ||
25788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25789 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25790 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25791 | { |
25792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25793 | (arg1)->OnPrevious(); | |
25794 | ||
25795 | wxPyEndAllowThreads(__tstate); | |
25796 | if (PyErr_Occurred()) SWIG_fail; | |
25797 | } | |
25798 | Py_INCREF(Py_None); resultobj = Py_None; | |
25799 | return resultobj; | |
25800 | fail: | |
25801 | return NULL; | |
25802 | } | |
25803 | ||
25804 | ||
c32bde28 | 25805 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25806 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25807 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25808 | PyObject * obj0 = 0 ; | |
25809 | char *kwnames[] = { | |
25810 | (char *) "self", NULL | |
25811 | }; | |
25812 | ||
25813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25814 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25815 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25816 | { |
25817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25818 | (arg1)->OnFirst(); | |
25819 | ||
25820 | wxPyEndAllowThreads(__tstate); | |
25821 | if (PyErr_Occurred()) SWIG_fail; | |
25822 | } | |
25823 | Py_INCREF(Py_None); resultobj = Py_None; | |
25824 | return resultobj; | |
25825 | fail: | |
25826 | return NULL; | |
25827 | } | |
25828 | ||
25829 | ||
c32bde28 | 25830 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25831 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25832 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25833 | PyObject * obj0 = 0 ; | |
25834 | char *kwnames[] = { | |
25835 | (char *) "self", NULL | |
25836 | }; | |
25837 | ||
25838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25839 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25840 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25841 | { |
25842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25843 | (arg1)->OnLast(); | |
25844 | ||
25845 | wxPyEndAllowThreads(__tstate); | |
25846 | if (PyErr_Occurred()) SWIG_fail; | |
25847 | } | |
25848 | Py_INCREF(Py_None); resultobj = Py_None; | |
25849 | return resultobj; | |
25850 | fail: | |
25851 | return NULL; | |
25852 | } | |
25853 | ||
25854 | ||
c32bde28 | 25855 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25856 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25857 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25858 | PyObject * obj0 = 0 ; | |
25859 | char *kwnames[] = { | |
25860 | (char *) "self", NULL | |
25861 | }; | |
25862 | ||
25863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25864 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25865 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25866 | { |
25867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25868 | (arg1)->OnGoto(); | |
25869 | ||
25870 | wxPyEndAllowThreads(__tstate); | |
25871 | if (PyErr_Occurred()) SWIG_fail; | |
25872 | } | |
25873 | Py_INCREF(Py_None); resultobj = Py_None; | |
25874 | return resultobj; | |
25875 | fail: | |
25876 | return NULL; | |
25877 | } | |
25878 | ||
25879 | ||
c32bde28 | 25880 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25881 | PyObject *obj; |
25882 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25883 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
25884 | Py_INCREF(obj); | |
25885 | return Py_BuildValue((char *)""); | |
25886 | } | |
c32bde28 | 25887 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 25888 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25889 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25890 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
7e08d4ef | 25891 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
25892 | wxPrintPreview *result; |
25893 | PyObject * obj0 = 0 ; | |
25894 | PyObject * obj1 = 0 ; | |
25895 | PyObject * obj2 = 0 ; | |
d14a1e28 | 25896 | |
7e08d4ef | 25897 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
25898 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25899 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25900 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25901 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7e08d4ef RD |
25902 | if (obj2) { |
25903 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); | |
25904 | if (SWIG_arg_fail(3)) SWIG_fail; | |
25905 | } | |
d14a1e28 | 25906 | { |
e3b71cb8 | 25907 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25909 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25910 | ||
25911 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25912 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25913 | } |
15afbcd0 | 25914 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
25915 | return resultobj; |
25916 | fail: | |
25917 | return NULL; | |
25918 | } | |
25919 | ||
25920 | ||
c32bde28 | 25921 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 25922 | PyObject *resultobj = NULL; |
4276dc52 RD |
25923 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25924 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25925 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
25926 | wxPrintPreview *result; | |
25927 | PyObject * obj0 = 0 ; | |
25928 | PyObject * obj1 = 0 ; | |
25929 | PyObject * obj2 = 0 ; | |
25930 | ||
25931 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
25932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25933 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25934 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25935 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25936 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
25937 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4276dc52 | 25938 | { |
e3b71cb8 | 25939 | if (!wxPyCheckForApp()) SWIG_fail; |
4276dc52 RD |
25940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25941 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25942 | ||
25943 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25944 | if (PyErr_Occurred()) SWIG_fail; |
4276dc52 RD |
25945 | } |
25946 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
25947 | return resultobj; | |
25948 | fail: | |
25949 | return NULL; | |
25950 | } | |
25951 | ||
25952 | ||
25953 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
25954 | int argc; | |
25955 | PyObject *argv[4]; | |
25956 | int ii; | |
25957 | ||
25958 | argc = PyObject_Length(args); | |
25959 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
25960 | argv[ii] = PyTuple_GetItem(args,ii); | |
25961 | } | |
7e08d4ef | 25962 | if ((argc >= 2) && (argc <= 3)) { |
4276dc52 RD |
25963 | int _v; |
25964 | { | |
25965 | void *ptr; | |
25966 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25967 | _v = 0; | |
25968 | PyErr_Clear(); | |
25969 | } else { | |
25970 | _v = 1; | |
25971 | } | |
25972 | } | |
25973 | if (_v) { | |
25974 | { | |
25975 | void *ptr; | |
25976 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25977 | _v = 0; | |
25978 | PyErr_Clear(); | |
25979 | } else { | |
25980 | _v = 1; | |
25981 | } | |
25982 | } | |
25983 | if (_v) { | |
7e08d4ef RD |
25984 | if (argc <= 2) { |
25985 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
4276dc52 RD |
25986 | } |
25987 | { | |
25988 | void *ptr; | |
25989 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
25990 | _v = 0; | |
25991 | PyErr_Clear(); | |
25992 | } else { | |
25993 | _v = 1; | |
25994 | } | |
25995 | } | |
25996 | if (_v) { | |
25997 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
25998 | } | |
25999 | } | |
26000 | } | |
26001 | } | |
26002 | if (argc == 3) { | |
26003 | int _v; | |
26004 | { | |
26005 | void *ptr; | |
26006 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26007 | _v = 0; | |
26008 | PyErr_Clear(); | |
26009 | } else { | |
26010 | _v = 1; | |
26011 | } | |
26012 | } | |
26013 | if (_v) { | |
26014 | { | |
26015 | void *ptr; | |
26016 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26017 | _v = 0; | |
26018 | PyErr_Clear(); | |
26019 | } else { | |
26020 | _v = 1; | |
26021 | } | |
26022 | } | |
26023 | if (_v) { | |
26024 | { | |
26025 | void *ptr; | |
26026 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
26027 | _v = 0; | |
26028 | PyErr_Clear(); | |
26029 | } else { | |
26030 | _v = 1; | |
26031 | } | |
26032 | } | |
26033 | if (_v) { | |
7e08d4ef | 26034 | return _wrap_new_PrintPreview__SWIG_1(self,args); |
4276dc52 RD |
26035 | } |
26036 | } | |
26037 | } | |
26038 | } | |
26039 | ||
093d3ff1 | 26040 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'"); |
4276dc52 RD |
26041 | return NULL; |
26042 | } | |
26043 | ||
26044 | ||
c32bde28 | 26045 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26046 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26047 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26048 | int arg2 ; | |
26049 | bool result; | |
26050 | PyObject * obj0 = 0 ; | |
994141e6 | 26051 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
26052 | char *kwnames[] = { |
26053 | (char *) "self",(char *) "pageNum", NULL | |
26054 | }; | |
26055 | ||
994141e6 | 26056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
26057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26059 | { | |
32fe5131 | 26060 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
26061 | if (SWIG_arg_fail(2)) SWIG_fail; |
26062 | } | |
d14a1e28 RD |
26063 | { |
26064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26065 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
26066 | ||
26067 | wxPyEndAllowThreads(__tstate); | |
26068 | if (PyErr_Occurred()) SWIG_fail; | |
26069 | } | |
4f89f6a3 RD |
26070 | { |
26071 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26072 | } | |
d14a1e28 RD |
26073 | return resultobj; |
26074 | fail: | |
26075 | return NULL; | |
26076 | } | |
26077 | ||
26078 | ||
c32bde28 | 26079 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26080 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26081 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26082 | int result; | |
26083 | PyObject * obj0 = 0 ; | |
26084 | char *kwnames[] = { | |
26085 | (char *) "self", NULL | |
26086 | }; | |
26087 | ||
26088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26089 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26090 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26091 | { |
26092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26093 | result = (int)(arg1)->GetCurrentPage(); | |
26094 | ||
26095 | wxPyEndAllowThreads(__tstate); | |
26096 | if (PyErr_Occurred()) SWIG_fail; | |
26097 | } | |
093d3ff1 | 26098 | { |
32fe5131 | 26099 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 26100 | } |
d14a1e28 RD |
26101 | return resultobj; |
26102 | fail: | |
26103 | return NULL; | |
26104 | } | |
26105 | ||
26106 | ||
c32bde28 | 26107 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26108 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26109 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26110 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26111 | PyObject * obj0 = 0 ; | |
26112 | PyObject * obj1 = 0 ; | |
26113 | char *kwnames[] = { | |
26114 | (char *) "self",(char *) "printout", NULL | |
26115 | }; | |
26116 | ||
26117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26118 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26119 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26120 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26121 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
26122 | { |
26123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26124 | (arg1)->SetPrintout(arg2); | |
26125 | ||
26126 | wxPyEndAllowThreads(__tstate); | |
26127 | if (PyErr_Occurred()) SWIG_fail; | |
26128 | } | |
26129 | Py_INCREF(Py_None); resultobj = Py_None; | |
26130 | return resultobj; | |
26131 | fail: | |
26132 | return NULL; | |
26133 | } | |
26134 | ||
26135 | ||
c32bde28 | 26136 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26137 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26138 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26139 | wxPyPrintout *result; | |
26140 | PyObject * obj0 = 0 ; | |
26141 | char *kwnames[] = { | |
26142 | (char *) "self", NULL | |
26143 | }; | |
26144 | ||
26145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26146 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26147 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26148 | { |
26149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26150 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
26151 | ||
26152 | wxPyEndAllowThreads(__tstate); | |
26153 | if (PyErr_Occurred()) SWIG_fail; | |
26154 | } | |
26155 | { | |
7e08d4ef | 26156 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
26157 | } |
26158 | return resultobj; | |
26159 | fail: | |
26160 | return NULL; | |
26161 | } | |
26162 | ||
26163 | ||
c32bde28 | 26164 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26165 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26166 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26167 | wxPyPrintout *result; | |
26168 | PyObject * obj0 = 0 ; | |
26169 | char *kwnames[] = { | |
26170 | (char *) "self", NULL | |
26171 | }; | |
26172 | ||
26173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26174 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26175 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26176 | { |
26177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26178 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
26179 | ||
26180 | wxPyEndAllowThreads(__tstate); | |
26181 | if (PyErr_Occurred()) SWIG_fail; | |
26182 | } | |
26183 | { | |
7e08d4ef | 26184 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
26185 | } |
26186 | return resultobj; | |
26187 | fail: | |
26188 | return NULL; | |
26189 | } | |
26190 | ||
26191 | ||
c32bde28 | 26192 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26193 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26194 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26195 | wxFrame *arg2 = (wxFrame *) 0 ; | |
26196 | PyObject * obj0 = 0 ; | |
26197 | PyObject * obj1 = 0 ; | |
26198 | char *kwnames[] = { | |
26199 | (char *) "self",(char *) "frame", NULL | |
26200 | }; | |
26201 | ||
26202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26205 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
26206 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
26207 | { |
26208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26209 | (arg1)->SetFrame(arg2); | |
26210 | ||
26211 | wxPyEndAllowThreads(__tstate); | |
26212 | if (PyErr_Occurred()) SWIG_fail; | |
26213 | } | |
26214 | Py_INCREF(Py_None); resultobj = Py_None; | |
26215 | return resultobj; | |
26216 | fail: | |
26217 | return NULL; | |
26218 | } | |
26219 | ||
26220 | ||
c32bde28 | 26221 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26222 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26223 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26224 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26225 | PyObject * obj0 = 0 ; | |
26226 | PyObject * obj1 = 0 ; | |
26227 | char *kwnames[] = { | |
26228 | (char *) "self",(char *) "canvas", NULL | |
26229 | }; | |
26230 | ||
26231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26232 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26233 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26234 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26235 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
26236 | { |
26237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26238 | (arg1)->SetCanvas(arg2); | |
26239 | ||
26240 | wxPyEndAllowThreads(__tstate); | |
26241 | if (PyErr_Occurred()) SWIG_fail; | |
26242 | } | |
26243 | Py_INCREF(Py_None); resultobj = Py_None; | |
26244 | return resultobj; | |
26245 | fail: | |
26246 | return NULL; | |
26247 | } | |
26248 | ||
26249 | ||
c32bde28 | 26250 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26251 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26252 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26253 | wxFrame *result; | |
26254 | PyObject * obj0 = 0 ; | |
26255 | char *kwnames[] = { | |
26256 | (char *) "self", NULL | |
26257 | }; | |
26258 | ||
26259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26260 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26261 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26262 | { |
26263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26264 | result = (wxFrame *)(arg1)->GetFrame(); | |
26265 | ||
26266 | wxPyEndAllowThreads(__tstate); | |
26267 | if (PyErr_Occurred()) SWIG_fail; | |
26268 | } | |
26269 | { | |
412d302d | 26270 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
26271 | } |
26272 | return resultobj; | |
26273 | fail: | |
26274 | return NULL; | |
26275 | } | |
26276 | ||
26277 | ||
c32bde28 | 26278 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26279 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26280 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26281 | wxPreviewCanvas *result; | |
26282 | PyObject * obj0 = 0 ; | |
26283 | char *kwnames[] = { | |
26284 | (char *) "self", NULL | |
26285 | }; | |
26286 | ||
26287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26288 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26289 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26290 | { |
26291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26292 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
26293 | ||
26294 | wxPyEndAllowThreads(__tstate); | |
26295 | if (PyErr_Occurred()) SWIG_fail; | |
26296 | } | |
15afbcd0 | 26297 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
26298 | return resultobj; |
26299 | fail: | |
26300 | return NULL; | |
26301 | } | |
26302 | ||
26303 | ||
c32bde28 | 26304 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26305 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26306 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26307 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26308 | wxDC *arg3 = 0 ; | |
26309 | bool result; | |
26310 | PyObject * obj0 = 0 ; | |
26311 | PyObject * obj1 = 0 ; | |
26312 | PyObject * obj2 = 0 ; | |
26313 | char *kwnames[] = { | |
26314 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26315 | }; | |
26316 | ||
26317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26318 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26319 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26320 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26321 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26322 | { | |
26323 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26324 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26325 | if (arg3 == NULL) { | |
26326 | SWIG_null_ref("wxDC"); | |
26327 | } | |
26328 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
26329 | } |
26330 | { | |
26331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26332 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
26333 | ||
26334 | wxPyEndAllowThreads(__tstate); | |
26335 | if (PyErr_Occurred()) SWIG_fail; | |
26336 | } | |
4f89f6a3 RD |
26337 | { |
26338 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26339 | } | |
d14a1e28 RD |
26340 | return resultobj; |
26341 | fail: | |
26342 | return NULL; | |
26343 | } | |
26344 | ||
26345 | ||
c32bde28 | 26346 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26347 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26348 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26349 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26350 | wxDC *arg3 = 0 ; | |
26351 | bool result; | |
26352 | PyObject * obj0 = 0 ; | |
26353 | PyObject * obj1 = 0 ; | |
26354 | PyObject * obj2 = 0 ; | |
26355 | char *kwnames[] = { | |
26356 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26357 | }; | |
26358 | ||
26359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26360 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26361 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26362 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26363 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26364 | { | |
26365 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26366 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26367 | if (arg3 == NULL) { | |
26368 | SWIG_null_ref("wxDC"); | |
26369 | } | |
26370 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
26371 | } |
26372 | { | |
26373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26374 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
26375 | ||
26376 | wxPyEndAllowThreads(__tstate); | |
26377 | if (PyErr_Occurred()) SWIG_fail; | |
26378 | } | |
4f89f6a3 RD |
26379 | { |
26380 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26381 | } | |
d14a1e28 RD |
26382 | return resultobj; |
26383 | fail: | |
26384 | return NULL; | |
26385 | } | |
26386 | ||
26387 | ||
c32bde28 | 26388 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26389 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26390 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26391 | int arg2 ; | |
26392 | bool result; | |
26393 | PyObject * obj0 = 0 ; | |
994141e6 | 26394 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
26395 | char *kwnames[] = { |
26396 | (char *) "self",(char *) "pageNum", NULL | |
26397 | }; | |
26398 | ||
994141e6 | 26399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
26400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26402 | { | |
32fe5131 | 26403 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
26404 | if (SWIG_arg_fail(2)) SWIG_fail; |
26405 | } | |
d14a1e28 RD |
26406 | { |
26407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26408 | result = (bool)(arg1)->RenderPage(arg2); | |
26409 | ||
26410 | wxPyEndAllowThreads(__tstate); | |
26411 | if (PyErr_Occurred()) SWIG_fail; | |
26412 | } | |
4f89f6a3 RD |
26413 | { |
26414 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26415 | } | |
d14a1e28 RD |
26416 | return resultobj; |
26417 | fail: | |
26418 | return NULL; | |
26419 | } | |
26420 | ||
26421 | ||
c32bde28 | 26422 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26423 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26424 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26425 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26426 | PyObject * obj0 = 0 ; | |
26427 | PyObject * obj1 = 0 ; | |
26428 | char *kwnames[] = { | |
26429 | (char *) "self",(char *) "canvas", NULL | |
26430 | }; | |
26431 | ||
26432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26433 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26434 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26435 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26436 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
26437 | { |
26438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26439 | (arg1)->AdjustScrollbars(arg2); | |
26440 | ||
26441 | wxPyEndAllowThreads(__tstate); | |
26442 | if (PyErr_Occurred()) SWIG_fail; | |
26443 | } | |
26444 | Py_INCREF(Py_None); resultobj = Py_None; | |
26445 | return resultobj; | |
26446 | fail: | |
26447 | return NULL; | |
26448 | } | |
26449 | ||
26450 | ||
c32bde28 | 26451 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26452 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26453 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26454 | wxPrintDialogData *result; | |
26455 | PyObject * obj0 = 0 ; | |
26456 | char *kwnames[] = { | |
26457 | (char *) "self", NULL | |
26458 | }; | |
26459 | ||
26460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26461 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26462 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26463 | { |
26464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26465 | { | |
26466 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
26467 | result = (wxPrintDialogData *) &_result_ref; | |
26468 | } | |
26469 | ||
26470 | wxPyEndAllowThreads(__tstate); | |
26471 | if (PyErr_Occurred()) SWIG_fail; | |
26472 | } | |
15afbcd0 | 26473 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
26474 | return resultobj; |
26475 | fail: | |
26476 | return NULL; | |
26477 | } | |
26478 | ||
26479 | ||
c32bde28 | 26480 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26481 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26482 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26483 | int arg2 ; | |
26484 | PyObject * obj0 = 0 ; | |
994141e6 | 26485 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
26486 | char *kwnames[] = { |
26487 | (char *) "self",(char *) "percent", NULL | |
26488 | }; | |
26489 | ||
994141e6 | 26490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
26491 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26492 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26493 | { | |
32fe5131 | 26494 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
26495 | if (SWIG_arg_fail(2)) SWIG_fail; |
26496 | } | |
d14a1e28 RD |
26497 | { |
26498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26499 | (arg1)->SetZoom(arg2); | |
26500 | ||
26501 | wxPyEndAllowThreads(__tstate); | |
26502 | if (PyErr_Occurred()) SWIG_fail; | |
26503 | } | |
26504 | Py_INCREF(Py_None); resultobj = Py_None; | |
26505 | return resultobj; | |
26506 | fail: | |
26507 | return NULL; | |
26508 | } | |
26509 | ||
26510 | ||
c32bde28 | 26511 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26512 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26513 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26514 | int result; | |
26515 | PyObject * obj0 = 0 ; | |
26516 | char *kwnames[] = { | |
26517 | (char *) "self", NULL | |
26518 | }; | |
26519 | ||
26520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26523 | { |
26524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26525 | result = (int)(arg1)->GetZoom(); | |
26526 | ||
26527 | wxPyEndAllowThreads(__tstate); | |
26528 | if (PyErr_Occurred()) SWIG_fail; | |
26529 | } | |
093d3ff1 | 26530 | { |
32fe5131 | 26531 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 26532 | } |
d14a1e28 RD |
26533 | return resultobj; |
26534 | fail: | |
26535 | return NULL; | |
26536 | } | |
26537 | ||
26538 | ||
c32bde28 | 26539 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26540 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26541 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26542 | int result; | |
26543 | PyObject * obj0 = 0 ; | |
26544 | char *kwnames[] = { | |
26545 | (char *) "self", NULL | |
26546 | }; | |
26547 | ||
26548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26549 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26550 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26551 | { |
26552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26553 | result = (int)(arg1)->GetMaxPage(); | |
26554 | ||
26555 | wxPyEndAllowThreads(__tstate); | |
26556 | if (PyErr_Occurred()) SWIG_fail; | |
26557 | } | |
093d3ff1 | 26558 | { |
32fe5131 | 26559 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 26560 | } |
d14a1e28 RD |
26561 | return resultobj; |
26562 | fail: | |
26563 | return NULL; | |
26564 | } | |
26565 | ||
26566 | ||
c32bde28 | 26567 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26568 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26569 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26570 | int result; | |
26571 | PyObject * obj0 = 0 ; | |
26572 | char *kwnames[] = { | |
26573 | (char *) "self", NULL | |
26574 | }; | |
26575 | ||
26576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26577 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26578 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26579 | { |
26580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26581 | result = (int)(arg1)->GetMinPage(); | |
26582 | ||
26583 | wxPyEndAllowThreads(__tstate); | |
26584 | if (PyErr_Occurred()) SWIG_fail; | |
26585 | } | |
093d3ff1 | 26586 | { |
32fe5131 | 26587 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 26588 | } |
d14a1e28 RD |
26589 | return resultobj; |
26590 | fail: | |
26591 | return NULL; | |
26592 | } | |
26593 | ||
26594 | ||
c32bde28 | 26595 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26596 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26597 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26598 | bool result; | |
26599 | PyObject * obj0 = 0 ; | |
26600 | char *kwnames[] = { | |
26601 | (char *) "self", NULL | |
26602 | }; | |
26603 | ||
26604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26605 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26606 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26607 | { |
26608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26609 | result = (bool)(arg1)->Ok(); | |
26610 | ||
26611 | wxPyEndAllowThreads(__tstate); | |
26612 | if (PyErr_Occurred()) SWIG_fail; | |
26613 | } | |
4f89f6a3 RD |
26614 | { |
26615 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26616 | } | |
d14a1e28 RD |
26617 | return resultobj; |
26618 | fail: | |
26619 | return NULL; | |
26620 | } | |
26621 | ||
26622 | ||
c32bde28 | 26623 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26624 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26625 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26626 | bool arg2 ; | |
26627 | PyObject * obj0 = 0 ; | |
26628 | PyObject * obj1 = 0 ; | |
26629 | char *kwnames[] = { | |
26630 | (char *) "self",(char *) "ok", NULL | |
26631 | }; | |
26632 | ||
26633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26634 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26635 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26636 | { | |
32fe5131 | 26637 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
26638 | if (SWIG_arg_fail(2)) SWIG_fail; |
26639 | } | |
d14a1e28 RD |
26640 | { |
26641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26642 | (arg1)->SetOk(arg2); | |
26643 | ||
26644 | wxPyEndAllowThreads(__tstate); | |
26645 | if (PyErr_Occurred()) SWIG_fail; | |
26646 | } | |
26647 | Py_INCREF(Py_None); resultobj = Py_None; | |
26648 | return resultobj; | |
26649 | fail: | |
26650 | return NULL; | |
26651 | } | |
26652 | ||
26653 | ||
c32bde28 | 26654 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26655 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26656 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26657 | bool arg2 ; | |
26658 | bool result; | |
26659 | PyObject * obj0 = 0 ; | |
26660 | PyObject * obj1 = 0 ; | |
26661 | char *kwnames[] = { | |
26662 | (char *) "self",(char *) "interactive", NULL | |
26663 | }; | |
26664 | ||
26665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26666 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26667 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26668 | { | |
32fe5131 | 26669 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
26670 | if (SWIG_arg_fail(2)) SWIG_fail; |
26671 | } | |
d14a1e28 RD |
26672 | { |
26673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26674 | result = (bool)(arg1)->Print(arg2); | |
26675 | ||
26676 | wxPyEndAllowThreads(__tstate); | |
26677 | if (PyErr_Occurred()) SWIG_fail; | |
26678 | } | |
4f89f6a3 RD |
26679 | { |
26680 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26681 | } | |
d14a1e28 RD |
26682 | return resultobj; |
26683 | fail: | |
26684 | return NULL; | |
26685 | } | |
26686 | ||
26687 | ||
c32bde28 | 26688 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26689 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26690 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26691 | PyObject * obj0 = 0 ; | |
26692 | char *kwnames[] = { | |
26693 | (char *) "self", NULL | |
26694 | }; | |
26695 | ||
26696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26697 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26698 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26699 | { |
26700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26701 | (arg1)->DetermineScaling(); | |
26702 | ||
26703 | wxPyEndAllowThreads(__tstate); | |
26704 | if (PyErr_Occurred()) SWIG_fail; | |
26705 | } | |
26706 | Py_INCREF(Py_None); resultobj = Py_None; | |
26707 | return resultobj; | |
26708 | fail: | |
26709 | return NULL; | |
26710 | } | |
26711 | ||
26712 | ||
c32bde28 | 26713 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
26714 | PyObject *obj; |
26715 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
26716 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
26717 | Py_INCREF(obj); | |
26718 | return Py_BuildValue((char *)""); | |
26719 | } | |
c32bde28 | 26720 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 26721 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26722 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
26723 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
7e08d4ef | 26724 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
26725 | wxPyPrintPreview *result; |
26726 | PyObject * obj0 = 0 ; | |
26727 | PyObject * obj1 = 0 ; | |
26728 | PyObject * obj2 = 0 ; | |
d14a1e28 | 26729 | |
7e08d4ef | 26730 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
26731 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26732 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26733 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26734 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7e08d4ef RD |
26735 | if (obj2) { |
26736 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); | |
26737 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26738 | } | |
d14a1e28 | 26739 | { |
e3b71cb8 | 26740 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
26741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26742 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26743 | ||
26744 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26745 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 26746 | } |
15afbcd0 | 26747 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
26748 | return resultobj; |
26749 | fail: | |
26750 | return NULL; | |
26751 | } | |
26752 | ||
26753 | ||
c32bde28 | 26754 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 26755 | PyObject *resultobj = NULL; |
4276dc52 RD |
26756 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
26757 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26758 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
26759 | wxPyPrintPreview *result; | |
26760 | PyObject * obj0 = 0 ; | |
26761 | PyObject * obj1 = 0 ; | |
26762 | PyObject * obj2 = 0 ; | |
26763 | ||
26764 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26765 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26766 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26767 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26768 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26769 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
26770 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4276dc52 | 26771 | { |
e3b71cb8 | 26772 | if (!wxPyCheckForApp()) SWIG_fail; |
4276dc52 RD |
26773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26774 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26775 | ||
26776 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26777 | if (PyErr_Occurred()) SWIG_fail; |
4276dc52 RD |
26778 | } |
26779 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
26780 | return resultobj; | |
26781 | fail: | |
26782 | return NULL; | |
26783 | } | |
26784 | ||
26785 | ||
26786 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
26787 | int argc; | |
26788 | PyObject *argv[4]; | |
26789 | int ii; | |
26790 | ||
26791 | argc = PyObject_Length(args); | |
26792 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
26793 | argv[ii] = PyTuple_GetItem(args,ii); | |
26794 | } | |
7e08d4ef | 26795 | if ((argc >= 2) && (argc <= 3)) { |
4276dc52 RD |
26796 | int _v; |
26797 | { | |
26798 | void *ptr; | |
26799 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26800 | _v = 0; | |
26801 | PyErr_Clear(); | |
26802 | } else { | |
26803 | _v = 1; | |
26804 | } | |
26805 | } | |
26806 | if (_v) { | |
26807 | { | |
26808 | void *ptr; | |
26809 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26810 | _v = 0; | |
26811 | PyErr_Clear(); | |
26812 | } else { | |
26813 | _v = 1; | |
26814 | } | |
26815 | } | |
26816 | if (_v) { | |
7e08d4ef RD |
26817 | if (argc <= 2) { |
26818 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
4276dc52 RD |
26819 | } |
26820 | { | |
26821 | void *ptr; | |
26822 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
26823 | _v = 0; | |
26824 | PyErr_Clear(); | |
26825 | } else { | |
26826 | _v = 1; | |
26827 | } | |
26828 | } | |
26829 | if (_v) { | |
26830 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
26831 | } | |
26832 | } | |
26833 | } | |
26834 | } | |
26835 | if (argc == 3) { | |
26836 | int _v; | |
26837 | { | |
26838 | void *ptr; | |
26839 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26840 | _v = 0; | |
26841 | PyErr_Clear(); | |
26842 | } else { | |
26843 | _v = 1; | |
26844 | } | |
26845 | } | |
26846 | if (_v) { | |
26847 | { | |
26848 | void *ptr; | |
26849 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26850 | _v = 0; | |
26851 | PyErr_Clear(); | |
26852 | } else { | |
26853 | _v = 1; | |
26854 | } | |
26855 | } | |
26856 | if (_v) { | |
26857 | { | |
26858 | void *ptr; | |
26859 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
26860 | _v = 0; | |
26861 | PyErr_Clear(); | |
26862 | } else { | |
26863 | _v = 1; | |
26864 | } | |
26865 | } | |
26866 | if (_v) { | |
7e08d4ef | 26867 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); |
4276dc52 RD |
26868 | } |
26869 | } | |
26870 | } | |
26871 | } | |
26872 | ||
093d3ff1 | 26873 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'"); |
4276dc52 RD |
26874 | return NULL; |
26875 | } | |
26876 | ||
26877 | ||
c32bde28 | 26878 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26879 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26880 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26881 | PyObject *arg2 = (PyObject *) 0 ; | |
26882 | PyObject *arg3 = (PyObject *) 0 ; | |
26883 | PyObject * obj0 = 0 ; | |
26884 | PyObject * obj1 = 0 ; | |
26885 | PyObject * obj2 = 0 ; | |
26886 | char *kwnames[] = { | |
26887 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
26888 | }; | |
26889 | ||
26890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26893 | arg2 = obj1; |
26894 | arg3 = obj2; | |
26895 | { | |
26896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26897 | (arg1)->_setCallbackInfo(arg2,arg3); | |
26898 | ||
26899 | wxPyEndAllowThreads(__tstate); | |
26900 | if (PyErr_Occurred()) SWIG_fail; | |
26901 | } | |
26902 | Py_INCREF(Py_None); resultobj = Py_None; | |
26903 | return resultobj; | |
26904 | fail: | |
26905 | return NULL; | |
26906 | } | |
26907 | ||
26908 | ||
c26d9ab4 | 26909 | static PyObject *_wrap_PyPrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26910 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26911 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26912 | int arg2 ; | |
26913 | bool result; | |
26914 | PyObject * obj0 = 0 ; | |
994141e6 | 26915 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
26916 | char *kwnames[] = { |
26917 | (char *) "self",(char *) "pageNum", NULL | |
26918 | }; | |
26919 | ||
c26d9ab4 | 26920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
26921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26923 | { | |
32fe5131 | 26924 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
26925 | if (SWIG_arg_fail(2)) SWIG_fail; |
26926 | } | |
d14a1e28 RD |
26927 | { |
26928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 26929 | result = (bool)(arg1)->SetCurrentPage(arg2); |
d14a1e28 RD |
26930 | |
26931 | wxPyEndAllowThreads(__tstate); | |
26932 | if (PyErr_Occurred()) SWIG_fail; | |
26933 | } | |
4f89f6a3 RD |
26934 | { |
26935 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26936 | } | |
d14a1e28 RD |
26937 | return resultobj; |
26938 | fail: | |
26939 | return NULL; | |
26940 | } | |
26941 | ||
26942 | ||
c26d9ab4 | 26943 | static PyObject *_wrap_PyPrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26944 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26945 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26946 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26947 | wxDC *arg3 = 0 ; | |
26948 | bool result; | |
26949 | PyObject * obj0 = 0 ; | |
26950 | PyObject * obj1 = 0 ; | |
26951 | PyObject * obj2 = 0 ; | |
26952 | char *kwnames[] = { | |
26953 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26954 | }; | |
26955 | ||
c26d9ab4 | 26956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
26957 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26958 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26959 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26960 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26961 | { | |
26962 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26963 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26964 | if (arg3 == NULL) { | |
26965 | SWIG_null_ref("wxDC"); | |
26966 | } | |
26967 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
26968 | } |
26969 | { | |
26970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 26971 | result = (bool)(arg1)->PaintPage(arg2,*arg3); |
d14a1e28 RD |
26972 | |
26973 | wxPyEndAllowThreads(__tstate); | |
26974 | if (PyErr_Occurred()) SWIG_fail; | |
26975 | } | |
4f89f6a3 RD |
26976 | { |
26977 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26978 | } | |
d14a1e28 RD |
26979 | return resultobj; |
26980 | fail: | |
26981 | return NULL; | |
26982 | } | |
26983 | ||
26984 | ||
c26d9ab4 | 26985 | static PyObject *_wrap_PyPrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26986 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26987 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26988 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26989 | wxDC *arg3 = 0 ; | |
26990 | bool result; | |
26991 | PyObject * obj0 = 0 ; | |
26992 | PyObject * obj1 = 0 ; | |
26993 | PyObject * obj2 = 0 ; | |
26994 | char *kwnames[] = { | |
26995 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26996 | }; | |
26997 | ||
c26d9ab4 | 26998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
26999 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27000 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27001 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
27002 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27003 | { | |
27004 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
27005 | if (SWIG_arg_fail(3)) SWIG_fail; | |
27006 | if (arg3 == NULL) { | |
27007 | SWIG_null_ref("wxDC"); | |
27008 | } | |
27009 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
27010 | } |
27011 | { | |
27012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27013 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); |
d14a1e28 RD |
27014 | |
27015 | wxPyEndAllowThreads(__tstate); | |
27016 | if (PyErr_Occurred()) SWIG_fail; | |
27017 | } | |
4f89f6a3 RD |
27018 | { |
27019 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
27020 | } | |
d14a1e28 RD |
27021 | return resultobj; |
27022 | fail: | |
27023 | return NULL; | |
27024 | } | |
27025 | ||
27026 | ||
c26d9ab4 | 27027 | static PyObject *_wrap_PyPrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27028 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27029 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
27030 | int arg2 ; | |
27031 | bool result; | |
27032 | PyObject * obj0 = 0 ; | |
994141e6 | 27033 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
27034 | char *kwnames[] = { |
27035 | (char *) "self",(char *) "pageNum", NULL | |
27036 | }; | |
27037 | ||
c26d9ab4 | 27038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
27039 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27040 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27041 | { | |
32fe5131 | 27042 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
27043 | if (SWIG_arg_fail(2)) SWIG_fail; |
27044 | } | |
d14a1e28 RD |
27045 | { |
27046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27047 | result = (bool)(arg1)->RenderPage(arg2); |
d14a1e28 RD |
27048 | |
27049 | wxPyEndAllowThreads(__tstate); | |
27050 | if (PyErr_Occurred()) SWIG_fail; | |
27051 | } | |
4f89f6a3 RD |
27052 | { |
27053 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
27054 | } | |
d14a1e28 RD |
27055 | return resultobj; |
27056 | fail: | |
27057 | return NULL; | |
27058 | } | |
27059 | ||
27060 | ||
c26d9ab4 | 27061 | static PyObject *_wrap_PyPrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27062 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27063 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
27064 | int arg2 ; | |
27065 | PyObject * obj0 = 0 ; | |
994141e6 | 27066 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
27067 | char *kwnames[] = { |
27068 | (char *) "self",(char *) "percent", NULL | |
27069 | }; | |
27070 | ||
c26d9ab4 | 27071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
27072 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27073 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27074 | { | |
32fe5131 | 27075 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
27076 | if (SWIG_arg_fail(2)) SWIG_fail; |
27077 | } | |
d14a1e28 RD |
27078 | { |
27079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27080 | (arg1)->SetZoom(arg2); |
d14a1e28 RD |
27081 | |
27082 | wxPyEndAllowThreads(__tstate); | |
27083 | if (PyErr_Occurred()) SWIG_fail; | |
27084 | } | |
27085 | Py_INCREF(Py_None); resultobj = Py_None; | |
27086 | return resultobj; | |
27087 | fail: | |
27088 | return NULL; | |
27089 | } | |
27090 | ||
27091 | ||
c26d9ab4 | 27092 | static PyObject *_wrap_PyPrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27093 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27094 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
27095 | bool arg2 ; | |
27096 | bool result; | |
27097 | PyObject * obj0 = 0 ; | |
27098 | PyObject * obj1 = 0 ; | |
27099 | char *kwnames[] = { | |
27100 | (char *) "self",(char *) "interactive", NULL | |
27101 | }; | |
27102 | ||
c26d9ab4 | 27103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
27104 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27105 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27106 | { | |
32fe5131 | 27107 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
27108 | if (SWIG_arg_fail(2)) SWIG_fail; |
27109 | } | |
d14a1e28 RD |
27110 | { |
27111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27112 | result = (bool)(arg1)->Print(arg2); |
d14a1e28 RD |
27113 | |
27114 | wxPyEndAllowThreads(__tstate); | |
27115 | if (PyErr_Occurred()) SWIG_fail; | |
27116 | } | |
4f89f6a3 RD |
27117 | { |
27118 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
27119 | } | |
d14a1e28 RD |
27120 | return resultobj; |
27121 | fail: | |
27122 | return NULL; | |
27123 | } | |
27124 | ||
27125 | ||
c26d9ab4 | 27126 | static PyObject *_wrap_PyPrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27127 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27128 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
27129 | PyObject * obj0 = 0 ; | |
27130 | char *kwnames[] = { | |
27131 | (char *) "self", NULL | |
27132 | }; | |
27133 | ||
c26d9ab4 | 27134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
27135 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27136 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27137 | { |
27138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27139 | (arg1)->DetermineScaling(); |
d14a1e28 RD |
27140 | |
27141 | wxPyEndAllowThreads(__tstate); | |
27142 | if (PyErr_Occurred()) SWIG_fail; | |
27143 | } | |
27144 | Py_INCREF(Py_None); resultobj = Py_None; | |
27145 | return resultobj; | |
27146 | fail: | |
27147 | return NULL; | |
27148 | } | |
27149 | ||
27150 | ||
c32bde28 | 27151 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
27152 | PyObject *obj; |
27153 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27154 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
27155 | Py_INCREF(obj); | |
27156 | return Py_BuildValue((char *)""); | |
27157 | } | |
c32bde28 | 27158 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27159 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27160 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
27161 | wxFrame *arg2 = (wxFrame *) 0 ; | |
27162 | wxString *arg3 = 0 ; | |
27163 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27164 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27165 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27166 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27167 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
27168 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
27169 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27170 | wxPyPreviewFrame *result; | |
ae8162c8 | 27171 | bool temp3 = false ; |
d14a1e28 RD |
27172 | wxPoint temp4 ; |
27173 | wxSize temp5 ; | |
ae8162c8 | 27174 | bool temp7 = false ; |
d14a1e28 RD |
27175 | PyObject * obj0 = 0 ; |
27176 | PyObject * obj1 = 0 ; | |
27177 | PyObject * obj2 = 0 ; | |
27178 | PyObject * obj3 = 0 ; | |
27179 | PyObject * obj4 = 0 ; | |
994141e6 | 27180 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
27181 | PyObject * obj6 = 0 ; |
27182 | char *kwnames[] = { | |
27183 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27184 | }; | |
27185 | ||
994141e6 | 27186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
27187 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27188 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27189 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
27190 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
27191 | { |
27192 | arg3 = wxString_in_helper(obj2); | |
27193 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 27194 | temp3 = true; |
d14a1e28 RD |
27195 | } |
27196 | if (obj3) { | |
27197 | { | |
27198 | arg4 = &temp4; | |
27199 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27200 | } | |
27201 | } | |
27202 | if (obj4) { | |
27203 | { | |
27204 | arg5 = &temp5; | |
27205 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27206 | } | |
27207 | } | |
994141e6 | 27208 | if (obj5) { |
093d3ff1 | 27209 | { |
32fe5131 | 27210 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
27211 | if (SWIG_arg_fail(6)) SWIG_fail; |
27212 | } | |
994141e6 | 27213 | } |
d14a1e28 RD |
27214 | if (obj6) { |
27215 | { | |
27216 | arg7 = wxString_in_helper(obj6); | |
27217 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 27218 | temp7 = true; |
d14a1e28 RD |
27219 | } |
27220 | } | |
27221 | { | |
e3b71cb8 | 27222 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
27223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27224 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27225 | ||
27226 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27227 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 27228 | } |
15afbcd0 | 27229 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
27230 | { |
27231 | if (temp3) | |
27232 | delete arg3; | |
27233 | } | |
27234 | { | |
27235 | if (temp7) | |
27236 | delete arg7; | |
27237 | } | |
27238 | return resultobj; | |
27239 | fail: | |
27240 | { | |
27241 | if (temp3) | |
27242 | delete arg3; | |
27243 | } | |
27244 | { | |
27245 | if (temp7) | |
27246 | delete arg7; | |
27247 | } | |
27248 | return NULL; | |
27249 | } | |
27250 | ||
27251 | ||
c32bde28 | 27252 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27253 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27254 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27255 | PyObject *arg2 = (PyObject *) 0 ; | |
27256 | PyObject *arg3 = (PyObject *) 0 ; | |
27257 | PyObject * obj0 = 0 ; | |
27258 | PyObject * obj1 = 0 ; | |
27259 | PyObject * obj2 = 0 ; | |
27260 | char *kwnames[] = { | |
27261 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27262 | }; | |
27263 | ||
27264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
27265 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27266 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27267 | arg2 = obj1; |
27268 | arg3 = obj2; | |
27269 | { | |
27270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27271 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27272 | ||
27273 | wxPyEndAllowThreads(__tstate); | |
27274 | if (PyErr_Occurred()) SWIG_fail; | |
27275 | } | |
27276 | Py_INCREF(Py_None); resultobj = Py_None; | |
27277 | return resultobj; | |
27278 | fail: | |
27279 | return NULL; | |
27280 | } | |
27281 | ||
27282 | ||
c32bde28 | 27283 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27284 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27285 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27286 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
27287 | PyObject * obj0 = 0 ; | |
27288 | PyObject * obj1 = 0 ; | |
27289 | char *kwnames[] = { | |
27290 | (char *) "self",(char *) "canvas", NULL | |
27291 | }; | |
27292 | ||
27293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27294 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27295 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27296 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
27297 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
27298 | { |
27299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27300 | (arg1)->SetPreviewCanvas(arg2); | |
27301 | ||
27302 | wxPyEndAllowThreads(__tstate); | |
27303 | if (PyErr_Occurred()) SWIG_fail; | |
27304 | } | |
27305 | Py_INCREF(Py_None); resultobj = Py_None; | |
27306 | return resultobj; | |
27307 | fail: | |
27308 | return NULL; | |
27309 | } | |
27310 | ||
27311 | ||
c32bde28 | 27312 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27313 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27314 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27315 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
27316 | PyObject * obj0 = 0 ; | |
27317 | PyObject * obj1 = 0 ; | |
27318 | char *kwnames[] = { | |
27319 | (char *) "self",(char *) "bar", NULL | |
27320 | }; | |
27321 | ||
27322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27323 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27324 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27325 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); | |
27326 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
27327 | { |
27328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27329 | (arg1)->SetControlBar(arg2); | |
27330 | ||
27331 | wxPyEndAllowThreads(__tstate); | |
27332 | if (PyErr_Occurred()) SWIG_fail; | |
27333 | } | |
27334 | Py_INCREF(Py_None); resultobj = Py_None; | |
27335 | return resultobj; | |
27336 | fail: | |
27337 | return NULL; | |
27338 | } | |
27339 | ||
27340 | ||
c26d9ab4 | 27341 | static PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27342 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27343 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27344 | PyObject * obj0 = 0 ; | |
27345 | char *kwnames[] = { | |
27346 | (char *) "self", NULL | |
27347 | }; | |
27348 | ||
c26d9ab4 | 27349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_Initialize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
27350 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27351 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27352 | { |
27353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27354 | (arg1)->Initialize(); |
d14a1e28 RD |
27355 | |
27356 | wxPyEndAllowThreads(__tstate); | |
27357 | if (PyErr_Occurred()) SWIG_fail; | |
27358 | } | |
27359 | Py_INCREF(Py_None); resultobj = Py_None; | |
27360 | return resultobj; | |
27361 | fail: | |
27362 | return NULL; | |
27363 | } | |
27364 | ||
27365 | ||
c26d9ab4 | 27366 | static PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27367 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27368 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27369 | PyObject * obj0 = 0 ; | |
27370 | char *kwnames[] = { | |
27371 | (char *) "self", NULL | |
27372 | }; | |
27373 | ||
c26d9ab4 | 27374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
27375 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27376 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27377 | { |
27378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27379 | (arg1)->CreateCanvas(); |
d14a1e28 RD |
27380 | |
27381 | wxPyEndAllowThreads(__tstate); | |
27382 | if (PyErr_Occurred()) SWIG_fail; | |
27383 | } | |
27384 | Py_INCREF(Py_None); resultobj = Py_None; | |
27385 | return resultobj; | |
27386 | fail: | |
27387 | return NULL; | |
27388 | } | |
27389 | ||
27390 | ||
c26d9ab4 | 27391 | static PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27392 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27393 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27394 | PyObject * obj0 = 0 ; | |
27395 | char *kwnames[] = { | |
27396 | (char *) "self", NULL | |
27397 | }; | |
27398 | ||
c26d9ab4 | 27399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
27400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27402 | { |
27403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27404 | (arg1)->CreateControlBar(); |
d14a1e28 RD |
27405 | |
27406 | wxPyEndAllowThreads(__tstate); | |
27407 | if (PyErr_Occurred()) SWIG_fail; | |
27408 | } | |
27409 | Py_INCREF(Py_None); resultobj = Py_None; | |
27410 | return resultobj; | |
27411 | fail: | |
27412 | return NULL; | |
27413 | } | |
27414 | ||
27415 | ||
c32bde28 | 27416 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
27417 | PyObject *obj; |
27418 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27419 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
27420 | Py_INCREF(obj); | |
27421 | return Py_BuildValue((char *)""); | |
27422 | } | |
c32bde28 | 27423 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27424 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27425 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
27426 | long arg2 ; | |
27427 | wxWindow *arg3 = (wxWindow *) 0 ; | |
27428 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27429 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27430 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27431 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27432 | long arg6 = (long) 0 ; | |
27433 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
27434 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27435 | wxPyPreviewControlBar *result; | |
27436 | wxPoint temp4 ; | |
27437 | wxSize temp5 ; | |
ae8162c8 | 27438 | bool temp7 = false ; |
d14a1e28 | 27439 | PyObject * obj0 = 0 ; |
994141e6 | 27440 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
27441 | PyObject * obj2 = 0 ; |
27442 | PyObject * obj3 = 0 ; | |
27443 | PyObject * obj4 = 0 ; | |
994141e6 | 27444 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
27445 | PyObject * obj6 = 0 ; |
27446 | char *kwnames[] = { | |
27447 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27448 | }; | |
27449 | ||
994141e6 | 27450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
27451 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27452 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27453 | { | |
32fe5131 | 27454 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
27455 | if (SWIG_arg_fail(2)) SWIG_fail; |
27456 | } | |
27457 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
27458 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
27459 | if (obj3) { |
27460 | { | |
27461 | arg4 = &temp4; | |
27462 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27463 | } | |
27464 | } | |
27465 | if (obj4) { | |
27466 | { | |
27467 | arg5 = &temp5; | |
27468 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27469 | } | |
27470 | } | |
994141e6 | 27471 | if (obj5) { |
093d3ff1 | 27472 | { |
32fe5131 | 27473 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
27474 | if (SWIG_arg_fail(6)) SWIG_fail; |
27475 | } | |
994141e6 | 27476 | } |
d14a1e28 RD |
27477 | if (obj6) { |
27478 | { | |
27479 | arg7 = wxString_in_helper(obj6); | |
27480 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 27481 | temp7 = true; |
d14a1e28 RD |
27482 | } |
27483 | } | |
27484 | { | |
e3b71cb8 | 27485 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
27486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27487 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27488 | ||
27489 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27490 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 27491 | } |
15afbcd0 | 27492 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
27493 | { |
27494 | if (temp7) | |
27495 | delete arg7; | |
27496 | } | |
27497 | return resultobj; | |
27498 | fail: | |
27499 | { | |
27500 | if (temp7) | |
27501 | delete arg7; | |
27502 | } | |
27503 | return NULL; | |
27504 | } | |
27505 | ||
27506 | ||
c32bde28 | 27507 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27508 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27509 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
27510 | PyObject *arg2 = (PyObject *) 0 ; | |
27511 | PyObject *arg3 = (PyObject *) 0 ; | |
27512 | PyObject * obj0 = 0 ; | |
27513 | PyObject * obj1 = 0 ; | |
27514 | PyObject * obj2 = 0 ; | |
27515 | char *kwnames[] = { | |
27516 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27517 | }; | |
27518 | ||
27519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
27520 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27521 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27522 | arg2 = obj1; |
27523 | arg3 = obj2; | |
27524 | { | |
27525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27526 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27527 | ||
27528 | wxPyEndAllowThreads(__tstate); | |
27529 | if (PyErr_Occurred()) SWIG_fail; | |
27530 | } | |
27531 | Py_INCREF(Py_None); resultobj = Py_None; | |
27532 | return resultobj; | |
27533 | fail: | |
27534 | return NULL; | |
27535 | } | |
27536 | ||
27537 | ||
c32bde28 | 27538 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27539 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27540 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
27541 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
27542 | PyObject * obj0 = 0 ; | |
27543 | PyObject * obj1 = 0 ; | |
27544 | char *kwnames[] = { | |
27545 | (char *) "self",(char *) "preview", NULL | |
27546 | }; | |
27547 | ||
27548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27549 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27550 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27551 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); | |
27552 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
27553 | { |
27554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27555 | (arg1)->SetPrintPreview(arg2); | |
27556 | ||
27557 | wxPyEndAllowThreads(__tstate); | |
27558 | if (PyErr_Occurred()) SWIG_fail; | |
27559 | } | |
27560 | Py_INCREF(Py_None); resultobj = Py_None; | |
27561 | return resultobj; | |
27562 | fail: | |
27563 | return NULL; | |
27564 | } | |
27565 | ||
27566 | ||
c26d9ab4 | 27567 | static PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27568 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27569 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
27570 | PyObject * obj0 = 0 ; | |
27571 | char *kwnames[] = { | |
27572 | (char *) "self", NULL | |
27573 | }; | |
27574 | ||
c26d9ab4 | 27575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
27576 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27577 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27578 | { |
27579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27580 | (arg1)->CreateButtons(); |
d14a1e28 RD |
27581 | |
27582 | wxPyEndAllowThreads(__tstate); | |
27583 | if (PyErr_Occurred()) SWIG_fail; | |
27584 | } | |
27585 | Py_INCREF(Py_None); resultobj = Py_None; | |
27586 | return resultobj; | |
27587 | fail: | |
27588 | return NULL; | |
27589 | } | |
27590 | ||
27591 | ||
c26d9ab4 | 27592 | static PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27593 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27594 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
27595 | int arg2 ; | |
27596 | PyObject * obj0 = 0 ; | |
994141e6 | 27597 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
27598 | char *kwnames[] = { |
27599 | (char *) "self",(char *) "zoom", NULL | |
27600 | }; | |
27601 | ||
c26d9ab4 | 27602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
27603 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27604 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27605 | { | |
32fe5131 | 27606 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
27607 | if (SWIG_arg_fail(2)) SWIG_fail; |
27608 | } | |
d14a1e28 RD |
27609 | { |
27610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27611 | (arg1)->SetZoomControl(arg2); |
d14a1e28 RD |
27612 | |
27613 | wxPyEndAllowThreads(__tstate); | |
27614 | if (PyErr_Occurred()) SWIG_fail; | |
27615 | } | |
27616 | Py_INCREF(Py_None); resultobj = Py_None; | |
27617 | return resultobj; | |
27618 | fail: | |
27619 | return NULL; | |
27620 | } | |
27621 | ||
27622 | ||
c32bde28 | 27623 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
27624 | PyObject *obj; |
27625 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27626 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
27627 | Py_INCREF(obj); | |
27628 | return Py_BuildValue((char *)""); | |
27629 | } | |
d3b6e4ff | 27630 | static PyMethodDef SwigMethods[] = { |
093d3ff1 RD |
27631 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL}, |
27632 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27633 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27634 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27635 | { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27636 | { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27637 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27638 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL}, | |
27639 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27640 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27641 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27642 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27643 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27644 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27645 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27646 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27647 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27648 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27649 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27650 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27651 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27652 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27653 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL}, | |
27654 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL}, | |
27655 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27656 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27657 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27658 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27659 | { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27660 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27661 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
27662 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27663 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27664 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27665 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27666 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27667 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27668 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27669 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27670 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27671 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27672 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27673 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27674 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27675 | { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27676 | { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27677 | { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27678 | { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
b1fcee84 | 27679 | { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
27680 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL}, |
27681 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27682 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27683 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27684 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27685 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27686 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27687 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27688 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27689 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27690 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27691 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27692 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27693 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27694 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27695 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27696 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27697 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27698 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27699 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27700 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27701 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27702 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27703 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27704 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL}, | |
27705 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27706 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27707 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27708 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27709 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
b1fcee84 RD |
27710 | { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL}, |
27711 | { (char *)"Dialog_GetAffirmativeId", (PyCFunction) _wrap_Dialog_GetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27712 | { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27713 | { (char *)"Dialog_GetEscapeId", (PyCFunction) _wrap_Dialog_GetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
27714 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL}, |
27715 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e505d15e | 27716 | { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
27717 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL}, |
27718 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27719 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27720 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27721 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL}, | |
27722 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27723 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27724 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27725 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL}, | |
27726 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27727 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27728 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27729 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL}, | |
27730 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27731 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27732 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27733 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27734 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL}, | |
27735 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27736 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27737 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27738 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27739 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27740 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27741 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27742 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27743 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27744 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27745 | { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27746 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27747 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27748 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27749 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27750 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27751 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL}, | |
27752 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27753 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27754 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27755 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27756 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27757 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27758 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27759 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27760 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27761 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27762 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27763 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27764 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27765 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27766 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27767 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27768 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27769 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27770 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27771 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27772 | { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27773 | { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27774 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27775 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27776 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27777 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27778 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27779 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27780 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27781 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL}, | |
27782 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27783 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27784 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27785 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27786 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27787 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27788 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL}, | |
27789 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27790 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27791 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27792 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27793 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27794 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27795 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27796 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27797 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27798 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27799 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27800 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27801 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27802 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27803 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27804 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27805 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27806 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27807 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27808 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27809 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27810 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27811 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL}, | |
27812 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27813 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27814 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27815 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27816 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27817 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27818 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27819 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL}, | |
27820 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27821 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27822 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27823 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27824 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27825 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27826 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27827 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27828 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27829 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27830 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27831 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL}, | |
27832 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27833 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27834 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27835 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27836 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27837 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL}, | |
27838 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27839 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27840 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27841 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27842 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27843 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27844 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27845 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27846 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL}, | |
27847 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27848 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27849 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27850 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27851 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27852 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL}, | |
27853 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27854 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27855 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27856 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27857 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL}, | |
27858 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27859 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27860 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27861 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27862 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27863 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL}, | |
27864 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27865 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27866 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27867 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL}, | |
27868 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27869 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27870 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27871 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27872 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27873 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27874 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27875 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27876 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27877 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27878 | { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27879 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27880 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27881 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
70b7a5fe RD |
27882 | { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL}, |
27883 | { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27884 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
27885 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, |
27886 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
27887 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL}, |
27888 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27889 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27890 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27891 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27892 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27893 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27894 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27895 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27896 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27897 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27898 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27899 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27900 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27901 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27902 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27903 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27904 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27905 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27906 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27907 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27908 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27909 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27910 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27911 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27912 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27913 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL}, | |
27914 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27915 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27916 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27917 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27918 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27919 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27920 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27921 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL}, | |
27922 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
7e08d4ef | 27923 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
27924 | { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
27925 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27926 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27927 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27928 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27929 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27930 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27931 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL}, | |
27932 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27933 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL}, | |
27934 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27935 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27936 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27937 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27938 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27939 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27940 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27941 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27942 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL}, | |
27943 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27944 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27945 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL}, | |
32fe5131 | 27946 | { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
27947 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL}, |
27948 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27949 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27950 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27951 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27952 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27953 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL}, | |
27954 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27955 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27956 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27957 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27958 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27959 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27960 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27961 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27962 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27963 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27964 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27965 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27966 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27967 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27968 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27969 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27970 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27971 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL}, | |
27972 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27973 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27974 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27975 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
27976 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27977 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27978 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27979 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27980 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
27981 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27982 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27983 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27984 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL}, | |
27985 | { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27986 | { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL}, | |
27987 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27988 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27989 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27990 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27991 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27992 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27993 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27994 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27995 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27996 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27997 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27998 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27999 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28000 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28001 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28002 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL}, | |
28003 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28004 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28005 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL}, | |
32fe5131 | 28006 | { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
28007 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL}, |
28008 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL}, | |
28009 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28010 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28011 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28012 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL}, | |
28013 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28014 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28015 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28016 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28017 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28018 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28019 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28020 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28021 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL}, | |
28022 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28023 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28024 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28025 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28026 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28027 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28028 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28029 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28030 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL}, | |
28031 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28032 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28033 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28034 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28035 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28036 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL}, | |
28037 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28038 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28039 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28040 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28041 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28042 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28043 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28044 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28045 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28046 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28047 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28048 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL}, | |
28049 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28050 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28051 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28052 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28053 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28054 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28055 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL}, | |
28056 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28057 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28058 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28059 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL}, | |
28060 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28061 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28062 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28063 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
976dbff5 | 28064 | { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, |
c26d9ab4 RD |
28065 | { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
28066 | { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28067 | { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28068 | { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28069 | { (char *)"PyWindow_DoGetSize", (PyCFunction) _wrap_PyWindow_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28070 | { (char *)"PyWindow_DoGetClientSize", (PyCFunction) _wrap_PyWindow_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28071 | { (char *)"PyWindow_DoGetPosition", (PyCFunction) _wrap_PyWindow_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28072 | { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28073 | { (char *)"PyWindow_DoGetBestSize", (PyCFunction) _wrap_PyWindow_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28074 | { (char *)"PyWindow_InitDialog", (PyCFunction) _wrap_PyWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28075 | { (char *)"PyWindow_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28076 | { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28077 | { (char *)"PyWindow_Validate", (PyCFunction) _wrap_PyWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28078 | { (char *)"PyWindow_AcceptsFocus", (PyCFunction) _wrap_PyWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28079 | { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28080 | { (char *)"PyWindow_GetMaxSize", (PyCFunction) _wrap_PyWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28081 | { (char *)"PyWindow_AddChild", (PyCFunction) _wrap_PyWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28082 | { (char *)"PyWindow_RemoveChild", (PyCFunction) _wrap_PyWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28083 | { (char *)"PyWindow_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28084 | { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28085 | { (char *)"PyWindow_OnInternalIdle", (PyCFunction) _wrap_PyWindow_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28086 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL}, |
28087 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28088 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28089 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28090 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
976dbff5 | 28091 | { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, |
c26d9ab4 RD |
28092 | { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
28093 | { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28094 | { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28095 | { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28096 | { (char *)"PyPanel_DoGetSize", (PyCFunction) _wrap_PyPanel_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28097 | { (char *)"PyPanel_DoGetClientSize", (PyCFunction) _wrap_PyPanel_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28098 | { (char *)"PyPanel_DoGetPosition", (PyCFunction) _wrap_PyPanel_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28099 | { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28100 | { (char *)"PyPanel_DoGetBestSize", (PyCFunction) _wrap_PyPanel_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28101 | { (char *)"PyPanel_InitDialog", (PyCFunction) _wrap_PyPanel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28102 | { (char *)"PyPanel_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28103 | { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28104 | { (char *)"PyPanel_Validate", (PyCFunction) _wrap_PyPanel_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28105 | { (char *)"PyPanel_AcceptsFocus", (PyCFunction) _wrap_PyPanel_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28106 | { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28107 | { (char *)"PyPanel_GetMaxSize", (PyCFunction) _wrap_PyPanel_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28108 | { (char *)"PyPanel_AddChild", (PyCFunction) _wrap_PyPanel_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28109 | { (char *)"PyPanel_RemoveChild", (PyCFunction) _wrap_PyPanel_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28110 | { (char *)"PyPanel_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28111 | { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28112 | { (char *)"PyPanel_OnInternalIdle", (PyCFunction) _wrap_PyPanel_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28113 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL}, |
28114 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28115 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28116 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28117 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
976dbff5 | 28118 | { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, |
c26d9ab4 RD |
28119 | { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
28120 | { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28121 | { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28122 | { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28123 | { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28124 | { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28125 | { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28126 | { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28127 | { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28128 | { (char *)"PyScrolledWindow_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28129 | { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28130 | { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28131 | { (char *)"PyScrolledWindow_Validate", (PyCFunction) _wrap_PyScrolledWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28132 | { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28133 | { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28134 | { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28135 | { (char *)"PyScrolledWindow_AddChild", (PyCFunction) _wrap_PyScrolledWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28136 | { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28137 | { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28138 | { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28139 | { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28140 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL}, |
28141 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL}, | |
28142 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28143 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28144 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28145 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28146 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28147 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28148 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28149 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28150 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28151 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28152 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28153 | { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28154 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28155 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28156 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28157 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28158 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28159 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28160 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28161 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28162 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28163 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28164 | { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28165 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28166 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28167 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
b9d6a5f3 RD |
28168 | { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL}, |
28169 | { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28170 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL}, |
28171 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL}, | |
28172 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28173 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28174 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28175 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28176 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28177 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28178 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28179 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28180 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28181 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28182 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28183 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28184 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28185 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28186 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28187 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28188 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28189 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28190 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28191 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28192 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28193 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28194 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28195 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28196 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28197 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28198 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28199 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28200 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28201 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
7557b9b5 RD |
28202 | { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
28203 | { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28204 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL}, |
28205 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28206 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28207 | { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28208 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28209 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL}, | |
28210 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL}, | |
28211 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28212 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28213 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28214 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28215 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28216 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28217 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28218 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28219 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28220 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28221 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
28222 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28223 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28224 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28225 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28226 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28227 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28228 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28229 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28230 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28231 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28232 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28233 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28234 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28235 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28236 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28237 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28238 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28239 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28240 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28241 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL}, | |
28242 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28243 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28244 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28245 | { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28246 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28247 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL}, | |
28248 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28249 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28250 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28251 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28252 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28253 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28254 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28255 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28256 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28257 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28258 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL}, | |
28259 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28260 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28261 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28262 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28263 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28264 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28265 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28266 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28267 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28268 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28269 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28270 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28271 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28272 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28273 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
c26d9ab4 RD |
28274 | { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL}, |
28275 | { (char *)"Printout_OnEndDocument", (PyCFunction) _wrap_Printout_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28276 | { (char *)"Printout_OnBeginPrinting", (PyCFunction) _wrap_Printout_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28277 | { (char *)"Printout_OnEndPrinting", (PyCFunction) _wrap_Printout_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28278 | { (char *)"Printout_OnPreparePrinting", (PyCFunction) _wrap_Printout_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28279 | { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28280 | { (char *)"Printout_GetPageInfo", (PyCFunction) _wrap_Printout_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28281 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL}, |
28282 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28283 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL}, | |
28284 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28285 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28286 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28287 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28288 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28289 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL}, | |
28290 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28291 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28292 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28293 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28294 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28295 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28296 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28297 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28298 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28299 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL}, | |
28300 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL}, | |
28301 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28302 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28303 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28304 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28305 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28306 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28307 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28308 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28309 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28310 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28311 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28312 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28313 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28314 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28315 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28316 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28317 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28318 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28319 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28320 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28321 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28322 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28323 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL}, | |
28324 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL}, | |
28325 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
c26d9ab4 RD |
28326 | { (char *)"PyPrintPreview_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
28327 | { (char *)"PyPrintPreview_PaintPage", (PyCFunction) _wrap_PyPrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28328 | { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28329 | { (char *)"PyPrintPreview_RenderPage", (PyCFunction) _wrap_PyPrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28330 | { (char *)"PyPrintPreview_SetZoom", (PyCFunction) _wrap_PyPrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28331 | { (char *)"PyPrintPreview_Print", (PyCFunction) _wrap_PyPrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28332 | { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28333 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL}, |
28334 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28335 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28336 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28337 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
c26d9ab4 RD |
28338 | { (char *)"PyPreviewFrame_Initialize", (PyCFunction) _wrap_PyPreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, |
28339 | { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28340 | { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28341 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL}, |
28342 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28343 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28344 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
c26d9ab4 RD |
28345 | { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL}, |
28346 | { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 | 28347 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL}, |
c32bde28 | 28348 | { NULL, NULL, 0, NULL } |
d14a1e28 RD |
28349 | }; |
28350 | ||
28351 | ||
28352 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
28353 | ||
28354 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
28355 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28356 | } | |
28357 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
28358 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
28359 | } | |
28360 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
28361 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
28362 | } | |
28363 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
28364 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
28365 | } | |
28366 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
28367 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
28368 | } | |
28369 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
28370 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
28371 | } | |
28372 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
28373 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
28374 | } | |
28375 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
28376 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28377 | } | |
28378 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
28379 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
28380 | } | |
28381 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
28382 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
28383 | } | |
28384 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
28385 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28386 | } | |
28387 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
28388 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
28389 | } | |
28390 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
28391 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28392 | } | |
28393 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
28394 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28395 | } | |
28396 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
28397 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
28398 | } | |
28399 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
28400 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28401 | } | |
28402 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
28403 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28404 | } | |
28405 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
28406 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
28407 | } | |
28408 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
28409 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
28410 | } | |
28411 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
28412 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
28413 | } | |
28414 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
28415 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
28416 | } | |
28417 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
28418 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
28419 | } | |
53aa7709 RD |
28420 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
28421 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
28422 | } | |
d14a1e28 RD |
28423 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
28424 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
28425 | } | |
28426 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
28427 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
28428 | } | |
28429 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
28430 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28431 | } | |
28432 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
28433 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28434 | } | |
28435 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
28436 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28437 | } | |
28438 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
28439 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28440 | } | |
28441 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
28442 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28443 | } | |
28444 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
28445 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
28446 | } | |
28447 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
28448 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
28449 | } | |
28450 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
28451 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
28452 | } | |
28453 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
28454 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
28455 | } | |
28456 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
28457 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28458 | } | |
28459 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
28460 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
28461 | } | |
28462 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
28463 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
28464 | } | |
28465 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
28466 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
28467 | } | |
28468 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
28469 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28470 | } | |
28471 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
28472 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28473 | } | |
28474 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
28475 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
28476 | } | |
28477 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
28478 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
28479 | } | |
28480 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
28481 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28482 | } | |
28483 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
28484 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28485 | } | |
d3b6e4ff RD |
28486 | static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { |
28487 | return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28488 | } | |
d14a1e28 RD |
28489 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
28490 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28491 | } | |
28492 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
28493 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28494 | } | |
28495 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
28496 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28497 | } | |
28498 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
28499 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
28500 | } | |
28501 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
28502 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
28503 | } | |
28504 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
28505 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
28506 | } | |
28507 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
28508 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
28509 | } | |
d3b6e4ff RD |
28510 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
28511 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28512 | } | |
d14a1e28 RD |
28513 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
28514 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28515 | } | |
28516 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28517 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28518 | } | |
28519 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28520 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28521 | } | |
28522 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
28523 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28524 | } | |
28525 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
28526 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28527 | } | |
28528 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
28529 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28530 | } | |
28531 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
28532 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28533 | } | |
28534 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
28535 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
28536 | } | |
28537 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
28538 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
28539 | } | |
28540 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28541 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28542 | } | |
28543 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
28544 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
28545 | } | |
28546 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
28547 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28548 | } | |
28549 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
28550 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
28551 | } | |
28552 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
28553 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28554 | } | |
28555 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
28556 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
28557 | } | |
28558 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
28559 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
28560 | } | |
28561 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
28562 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
28563 | } | |
28564 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
28565 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
28566 | } | |
28567 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28568 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28569 | } | |
28570 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
28571 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
28572 | } | |
28573 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
28574 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
28575 | } | |
1cb4a8aa RD |
28576 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
28577 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28578 | } | |
d14a1e28 RD |
28579 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
28580 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
28581 | } | |
28582 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28583 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28584 | } | |
28585 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28586 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28587 | } | |
28588 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
28589 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28590 | } | |
28591 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
28592 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
28593 | } | |
28594 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
28595 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
28596 | } | |
28597 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
28598 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
28599 | } | |
28600 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
28601 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28602 | } | |
28603 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
28604 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28605 | } | |
28606 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
28607 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28608 | } | |
28609 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28610 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
28611 | } | |
28612 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28613 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28614 | } | |
5e483524 RD |
28615 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
28616 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 RD |
28617 | } |
28618 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
28619 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28620 | } | |
d14a1e28 RD |
28621 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
28622 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28623 | } | |
28624 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
28625 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28626 | } | |
28627 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
28628 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28629 | } | |
d3b6e4ff RD |
28630 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
28631 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28632 | } | |
d14a1e28 RD |
28633 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
28634 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28635 | } | |
28636 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
28637 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28638 | } | |
28639 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
28640 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
28641 | } | |
28642 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
28643 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
28644 | } | |
28645 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
28646 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
28647 | } | |
28648 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
28649 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28650 | } | |
28651 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
28652 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
28653 | } | |
28654 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
28655 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
28656 | } | |
28657 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
28658 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
28659 | } | |
28660 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
28661 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
28662 | } | |
28663 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
28664 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28665 | } | |
28666 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
28667 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28668 | } | |
28669 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
28670 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28671 | } | |
28672 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
28673 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
28674 | } | |
28675 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
28676 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
28677 | } | |
28678 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
28679 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
28680 | } | |
28681 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
28682 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
28683 | } | |
28684 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
28685 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
28686 | } | |
28687 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
28688 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
28689 | } | |
28690 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
28691 | return (void *)((wxObject *) ((wxSizer *) x)); | |
28692 | } | |
28693 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
28694 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
28695 | } | |
28696 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
28697 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28698 | } | |
28699 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
28700 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28701 | } | |
28702 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
28703 | return (void *)((wxObject *) ((wxEvent *) x)); | |
28704 | } | |
28705 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
28706 | return (void *)((wxObject *) ((wxFontData *) x)); | |
28707 | } | |
28708 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
28709 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
28710 | } | |
28711 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
28712 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
28713 | } | |
28714 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
28715 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
28716 | } | |
28717 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
28718 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
28719 | } | |
28720 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
28721 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
28722 | } | |
5e483524 RD |
28723 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
28724 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 RD |
28725 | } |
28726 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
28727 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28728 | } | |
28729 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
28730 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
28731 | } | |
28732 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
28733 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
28734 | } | |
28735 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
28736 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28737 | } | |
28738 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
28739 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28740 | } | |
28741 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
28742 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28743 | } | |
28744 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
28745 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28746 | } | |
28747 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
28748 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28749 | } | |
28750 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
28751 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
28752 | } | |
28753 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
28754 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
28755 | } | |
28756 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
28757 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28758 | } | |
28759 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
28760 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
28761 | } | |
28762 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
28763 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
28764 | } | |
28765 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
28766 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
28767 | } | |
28768 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
28769 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28770 | } | |
28771 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
28772 | return (void *)((wxObject *) ((wxColourData *) x)); | |
28773 | } | |
28774 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
28775 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
28776 | } | |
28777 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
28778 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28779 | } | |
28780 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
28781 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
28782 | } | |
28783 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
28784 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28785 | } | |
28786 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
28787 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28788 | } | |
28789 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
28790 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28791 | } | |
28792 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
28793 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28794 | } | |
28795 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
28796 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28797 | } | |
d3b6e4ff RD |
28798 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
28799 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28800 | } | |
d14a1e28 RD |
28801 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
28802 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28803 | } | |
28804 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
28805 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28806 | } | |
28807 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
28808 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28809 | } | |
28810 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
28811 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
28812 | } | |
28813 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
28814 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
28815 | } | |
28816 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
28817 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
28818 | } | |
53aa7709 RD |
28819 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
28820 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
28821 | } | |
d14a1e28 RD |
28822 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
28823 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
28824 | } | |
28825 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
28826 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28827 | } | |
28828 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
28829 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28830 | } | |
28831 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
28832 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
28833 | } | |
28834 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
28835 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
28836 | } | |
28837 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
28838 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
28839 | } | |
28840 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
28841 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
28842 | } | |
28843 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
28844 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
28845 | } | |
d14a1e28 RD |
28846 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
28847 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
28848 | } | |
28849 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
28850 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
28851 | } | |
28852 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
28853 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
28854 | } | |
28855 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
28856 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
28857 | } | |
28858 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
28859 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
28860 | } | |
28861 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
28862 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
28863 | } | |
28864 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
28865 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
28866 | } | |
28867 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
28868 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
28869 | } | |
28870 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
28871 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
28872 | } | |
943e8dfd RD |
28873 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
28874 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
28875 | } | |
d14a1e28 RD |
28876 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
28877 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
28878 | } | |
943e8dfd RD |
28879 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
28880 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
28881 | } | |
d14a1e28 RD |
28882 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
28883 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
28884 | } | |
28885 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
28886 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
28887 | } | |
28888 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
28889 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28890 | } | |
28891 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
28892 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28893 | } | |
28894 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
28895 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28896 | } | |
e505d15e RD |
28897 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
28898 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
28899 | } | |
d14a1e28 RD |
28900 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
28901 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
28902 | } | |
28903 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
28904 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28905 | } | |
28906 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
28907 | return (void *)((wxObject *) ((wxImage *) x)); | |
28908 | } | |
28909 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
28910 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28911 | } | |
28912 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
28913 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
28914 | } | |
28915 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
28916 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
28917 | } | |
28918 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
28919 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28920 | } | |
28921 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
28922 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
28923 | } | |
28924 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
28925 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28926 | } | |
28927 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
28928 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28929 | } | |
28930 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
28931 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28932 | } | |
28933 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
28934 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
28935 | } | |
d14a1e28 RD |
28936 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
28937 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
28938 | } | |
28939 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
28940 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
28941 | } | |
28942 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
28943 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
28944 | } | |
1e0c8722 RD |
28945 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
28946 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28947 | } | |
d14a1e28 RD |
28948 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
28949 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
28950 | } | |
28951 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
28952 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
28953 | } | |
28954 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
28955 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
28956 | } | |
28957 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
28958 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
28959 | } | |
28960 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
28961 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28962 | } | |
28963 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
28964 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
28965 | } | |
28966 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
28967 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28968 | } | |
28969 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
28970 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
28971 | } | |
28972 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
28973 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28974 | } | |
28975 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
28976 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
28977 | } | |
1cb4a8aa RD |
28978 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
28979 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28980 | } | |
d14a1e28 RD |
28981 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
28982 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
28983 | } | |
28984 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
28985 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
28986 | } | |
28987 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
28988 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
28989 | } | |
28990 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
28991 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
28992 | } | |
28993 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
28994 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28995 | } | |
28996 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
28997 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28998 | } | |
28999 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
29000 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
29001 | } | |
29002 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
29003 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
29004 | } | |
29005 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
8ac8dba0 | 29006 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
d14a1e28 RD |
29007 | } |
29008 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
a68b8331 | 29009 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
d14a1e28 RD |
29010 | } |
29011 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
29012 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
29013 | } | |
29014 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
29015 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
29016 | } | |
29017 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
29018 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
29019 | } | |
29020 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
29021 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
29022 | } | |
29023 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
29024 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
29025 | } | |
29026 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
29027 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
29028 | } | |
29029 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
29030 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
29031 | } | |
29032 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
29033 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
29034 | } | |
29035 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
29036 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
29037 | } | |
29038 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
29039 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
29040 | } | |
29041 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
29042 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29043 | } | |
29044 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
29045 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
29046 | } | |
29047 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
29048 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
29049 | } | |
29050 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
29051 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
29052 | } | |
29053 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
29054 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
29055 | } | |
29056 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
29057 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
29058 | } | |
29059 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
29060 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
29061 | } | |
29062 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
29063 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
29064 | } | |
29065 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
29066 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
29067 | } | |
29068 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
29069 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29070 | } | |
29071 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
29072 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29073 | } | |
29074 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
29075 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
29076 | } | |
29077 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
29078 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
29079 | } | |
29080 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
29081 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
29082 | } | |
29083 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
29084 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
29085 | } | |
29086 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
29087 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
29088 | } | |
29089 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
29090 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
29091 | } | |
29092 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
29093 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
29094 | } | |
29095 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
29096 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
29097 | } | |
29098 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
29099 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
29100 | } | |
29101 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
29102 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
29103 | } | |
d14a1e28 RD |
29104 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
29105 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
29106 | } | |
29107 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
29108 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
29109 | } | |
29110 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
29111 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
29112 | } | |
d14a1e28 RD |
29113 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
29114 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
29115 | } | |
29116 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
29117 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
29118 | } | |
d3b6e4ff RD |
29119 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
29120 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29121 | } | |
d14a1e28 RD |
29122 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
29123 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
29124 | } | |
29125 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
29126 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29127 | } | |
29128 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
29129 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29130 | } | |
29131 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
29132 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
29133 | } | |
d3b6e4ff RD |
29134 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
29135 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
29136 | } | |
d14a1e28 RD |
29137 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
29138 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
29139 | } | |
29140 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
29141 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
29142 | } | |
29143 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
29144 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
29145 | } | |
29146 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
29147 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
29148 | } | |
29149 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
29150 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
29151 | } | |
29152 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
29153 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
29154 | } | |
29155 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
29156 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
29157 | } | |
29158 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
29159 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
29160 | } | |
29161 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
29162 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
29163 | } | |
d3b6e4ff RD |
29164 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
29165 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29166 | } | |
d14a1e28 RD |
29167 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
29168 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
29169 | } | |
29170 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
29171 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29172 | } | |
29173 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
29174 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29175 | } | |
29176 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
29177 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
29178 | } | |
29179 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
29180 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
29181 | } | |
29182 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
29183 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
29184 | } | |
d14a1e28 RD |
29185 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
29186 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29187 | } | |
29188 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
29189 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
29190 | } | |
29191 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
29192 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
29193 | } | |
29194 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
29195 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
29196 | } | |
29197 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
29198 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
29199 | } | |
29200 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
29201 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
29202 | } | |
29203 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
29204 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
29205 | } | |
29206 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
29207 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
29208 | } | |
29209 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
29210 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
29211 | } | |
29212 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
29213 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
29214 | } | |
d3b6e4ff RD |
29215 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
29216 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
29217 | } | |
1cb4a8aa RD |
29218 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
29219 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29220 | } | |
d14a1e28 RD |
29221 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
29222 | return (void *)((wxWindow *) ((wxControl *) x)); | |
29223 | } | |
29224 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
29225 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
29226 | } | |
29227 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
29228 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
29229 | } | |
29230 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
29231 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
29232 | } | |
29233 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
29234 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
29235 | } | |
29236 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
29237 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
29238 | } | |
29239 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
29240 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29241 | } | |
29242 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
29243 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29244 | } | |
29245 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
29246 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29247 | } | |
29248 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
29249 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
29250 | } | |
29251 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
29252 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29253 | } | |
29254 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
29255 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
29256 | } | |
29257 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
29258 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
29259 | } | |
29260 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
29261 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
29262 | } | |
29263 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
29264 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
29265 | } | |
29266 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
29267 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
29268 | } | |
d14a1e28 RD |
29269 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
29270 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
29271 | } | |
1cb4a8aa RD |
29272 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
29273 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29274 | } | |
d14a1e28 RD |
29275 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
29276 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29277 | } | |
29278 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
29279 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
29280 | } | |
29281 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
29282 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
29283 | } | |
29284 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
29285 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
29286 | } | |
29287 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
29288 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
29289 | } | |
d14a1e28 RD |
29290 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
29291 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
29292 | } | |
29293 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
29294 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29295 | } | |
29296 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
29297 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29298 | } | |
29299 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
29300 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
29301 | } | |
d3b6e4ff RD |
29302 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
29303 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29304 | } | |
d14a1e28 RD |
29305 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
29306 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
29307 | } | |
29308 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
29309 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
29310 | } | |
29311 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
29312 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
29313 | } | |
29314 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
29315 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29316 | } | |
1cb4a8aa RD |
29317 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
29318 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29319 | } | |
d14a1e28 RD |
29320 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
29321 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29322 | } | |
29323 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
29324 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29325 | } | |
29326 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
29327 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
29328 | } | |
29329 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
29330 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29331 | } | |
29332 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
29333 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
29334 | } | |
29335 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
29336 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29337 | } | |
29338 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
29339 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
29340 | } | |
29341 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
29342 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
29343 | } | |
29344 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
29345 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
29346 | } | |
53aa7709 RD |
29347 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { |
29348 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
29349 | } | |
d14a1e28 RD |
29350 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { |
29351 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
29352 | } | |
29353 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
29354 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
29355 | } | |
29356 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
29357 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
29358 | } | |
29359 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
29360 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
29361 | } | |
29362 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
29363 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
29364 | } | |
29365 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
29366 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
29367 | } | |
29368 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
29369 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
29370 | } | |
29371 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
29372 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
29373 | } | |
29374 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
29375 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29376 | } | |
32fe5131 RD |
29377 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; |
29378 | static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; | |
29379 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; | |
29380 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; | |
29381 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; | |
29382 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; | |
29383 | static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0}; | |
29384 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; | |
29385 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0}; | |
29386 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; | |
29387 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0}; | |
29388 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0}; | |
29389 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; | |
29390 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; | |
29391 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; | |
29392 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; | |
29393 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; | |
29394 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; | |
29395 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; | |
29396 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; | |
29397 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; | |
29398 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; | |
29399 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0}; | |
29400 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0}; | |
29401 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; | |
29402 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; | |
29403 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; | |
29404 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; | |
29405 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; | |
29406 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; | |
29407 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0}; | |
29408 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0}; | |
29409 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; | |
29410 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; | |
29411 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; | |
29412 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0}; | |
29413 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0}; | |
29414 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; | |
29415 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; | |
29416 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; | |
29417 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0}; | |
29418 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0}; | |
29419 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0}; | |
29420 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0}; | |
29421 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0}; | |
29422 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0}; | |
29423 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; | |
29424 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; | |
29425 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; | |
29426 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; | |
29427 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; | |
29428 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; | |
29429 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; | |
29430 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; | |
29431 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; | |
29432 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; | |
29433 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; | |
29434 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0}; | |
29435 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0}; | |
29436 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0}; | |
29437 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0}; | |
29438 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0}; | |
29439 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; | |
29440 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0}; | |
29441 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0}; | |
29442 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; | |
29443 | static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; | |
29444 | static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0}; | |
29445 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0}; | |
29446 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0}; | |
29447 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0}; | |
29448 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0}; | |
29449 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0}; | |
29450 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0}; | |
29451 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0}; | |
29452 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0}; | |
29453 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0}; | |
29454 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0}; | |
29455 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; | |
29456 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0}; | |
29457 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; | |
29458 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; | |
29459 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; | |
29460 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; | |
29461 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0}; | |
29462 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0}; | |
29463 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; | |
29464 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; | |
29465 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; | |
29466 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; | |
29467 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; | |
29468 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; | |
29469 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; | |
29470 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; | |
29471 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; | |
29472 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; | |
29473 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; | |
29474 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; | |
29475 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; | |
29476 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; | |
29477 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; | |
29478 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; | |
29479 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; | |
29480 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; | |
29481 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; | |
29482 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; | |
29483 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; | |
29484 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0}; | |
29485 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0}; | |
29486 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0}; | |
29487 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; | |
29488 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0}; | |
29489 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; | |
29490 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0}; | |
29491 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0}; | |
29492 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0}; | |
29493 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0}; | |
29494 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0}; | |
29495 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0}; | |
29496 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0}; | |
29497 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0}; | |
29498 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0}; | |
29499 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0}; | |
29500 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0}; | |
29501 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0}; | |
29502 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0}; | |
29503 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0}; | |
29504 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0}; | |
29505 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0}; | |
29506 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0}; | |
29507 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0}; | |
29508 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0}; | |
29509 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0}; | |
29510 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0}; | |
29511 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0}; | |
29512 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0}; | |
29513 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; | |
29514 | static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0}; | |
29515 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0}; | |
29516 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0}; | |
29517 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0}; | |
29518 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0}; | |
29519 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0}; | |
29520 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0}; | |
29521 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; | |
29522 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0}; | |
29523 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0}; | |
29524 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0}; | |
29525 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0}; | |
29526 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0}; | |
29527 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0}; | |
29528 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; | |
29529 | static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0}; | |
29530 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0}; | |
29531 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0}; | |
29532 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0}; | |
29533 | static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0}; | |
29534 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0}; | |
29535 | static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0}; | |
29536 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; | |
29537 | static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; | |
29538 | static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; | |
29539 | static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; | |
29540 | ||
29541 | static swig_type_info *swig_type_initial[] = { | |
29542 | &_swigt__p_char, | |
29543 | &_swigt__p_form_ops_t, | |
29544 | &_swigt__p_int, | |
29545 | &_swigt__p_unsigned_char, | |
29546 | &_swigt__p_unsigned_int, | |
29547 | &_swigt__p_unsigned_long, | |
29548 | &_swigt__p_wxANIHandler, | |
29549 | &_swigt__p_wxAcceleratorTable, | |
29550 | &_swigt__p_wxActivateEvent, | |
29551 | &_swigt__p_wxArrayInt, | |
29552 | &_swigt__p_wxBMPHandler, | |
29553 | &_swigt__p_wxBitmap, | |
29554 | &_swigt__p_wxBoxSizer, | |
29555 | &_swigt__p_wxCURHandler, | |
29556 | &_swigt__p_wxCalculateLayoutEvent, | |
29557 | &_swigt__p_wxChildFocusEvent, | |
29558 | &_swigt__p_wxCloseEvent, | |
29559 | &_swigt__p_wxColour, | |
29560 | &_swigt__p_wxColourData, | |
29561 | &_swigt__p_wxColourDialog, | |
29562 | &_swigt__p_wxCommandEvent, | |
29563 | &_swigt__p_wxContextMenuEvent, | |
29564 | &_swigt__p_wxControl, | |
29565 | &_swigt__p_wxControlWithItems, | |
29566 | &_swigt__p_wxDC, | |
29567 | &_swigt__p_wxDateEvent, | |
29568 | &_swigt__p_wxDialog, | |
29569 | &_swigt__p_wxDirDialog, | |
29570 | &_swigt__p_wxDisplayChangedEvent, | |
29571 | &_swigt__p_wxDropFilesEvent, | |
29572 | &_swigt__p_wxDuplexMode, | |
29573 | &_swigt__p_wxEraseEvent, | |
29574 | &_swigt__p_wxEvent, | |
29575 | &_swigt__p_wxEvtHandler, | |
29576 | &_swigt__p_wxFSFile, | |
29577 | &_swigt__p_wxFileDialog, | |
29578 | &_swigt__p_wxFileSystem, | |
29579 | &_swigt__p_wxFindDialogEvent, | |
29580 | &_swigt__p_wxFindReplaceData, | |
29581 | &_swigt__p_wxFindReplaceDialog, | |
29582 | &_swigt__p_wxFlexGridSizer, | |
29583 | &_swigt__p_wxFocusEvent, | |
29584 | &_swigt__p_wxFont, | |
29585 | &_swigt__p_wxFontData, | |
29586 | &_swigt__p_wxFontDialog, | |
29587 | &_swigt__p_wxFrame, | |
29588 | &_swigt__p_wxGBSizerItem, | |
29589 | &_swigt__p_wxGIFHandler, | |
29590 | &_swigt__p_wxGridBagSizer, | |
29591 | &_swigt__p_wxGridSizer, | |
29592 | &_swigt__p_wxICOHandler, | |
29593 | &_swigt__p_wxIcon, | |
29594 | &_swigt__p_wxIconBundle, | |
29595 | &_swigt__p_wxIconizeEvent, | |
29596 | &_swigt__p_wxIdleEvent, | |
29597 | &_swigt__p_wxImage, | |
29598 | &_swigt__p_wxImageHandler, | |
29599 | &_swigt__p_wxIndividualLayoutConstraint, | |
29600 | &_swigt__p_wxInitDialogEvent, | |
29601 | &_swigt__p_wxJPEGHandler, | |
29602 | &_swigt__p_wxKeyEvent, | |
29603 | &_swigt__p_wxLayoutAlgorithm, | |
29604 | &_swigt__p_wxLayoutConstraints, | |
29605 | &_swigt__p_wxMDIChildFrame, | |
29606 | &_swigt__p_wxMDIClientWindow, | |
29607 | &_swigt__p_wxMDIParentFrame, | |
29608 | &_swigt__p_wxMaximizeEvent, | |
29609 | &_swigt__p_wxMenu, | |
29610 | &_swigt__p_wxMenuBar, | |
29611 | &_swigt__p_wxMenuEvent, | |
29612 | &_swigt__p_wxMenuItem, | |
29613 | &_swigt__p_wxMessageDialog, | |
29614 | &_swigt__p_wxMiniFrame, | |
29615 | &_swigt__p_wxMouseCaptureChangedEvent, | |
29616 | &_swigt__p_wxMouseEvent, | |
29617 | &_swigt__p_wxMoveEvent, | |
29618 | &_swigt__p_wxMultiChoiceDialog, | |
29619 | &_swigt__p_wxNavigationKeyEvent, | |
29620 | &_swigt__p_wxNcPaintEvent, | |
29621 | &_swigt__p_wxNotifyEvent, | |
29622 | &_swigt__p_wxObject, | |
29623 | &_swigt__p_wxPCXHandler, | |
29624 | &_swigt__p_wxPNGHandler, | |
29625 | &_swigt__p_wxPNMHandler, | |
29626 | &_swigt__p_wxPageSetupDialog, | |
29627 | &_swigt__p_wxPageSetupDialogData, | |
29628 | &_swigt__p_wxPaintEvent, | |
29629 | &_swigt__p_wxPaletteChangedEvent, | |
29630 | &_swigt__p_wxPanel, | |
29631 | &_swigt__p_wxPaperSize, | |
29632 | &_swigt__p_wxPasswordEntryDialog, | |
29633 | &_swigt__p_wxPoint, | |
29634 | &_swigt__p_wxPopupWindow, | |
29635 | &_swigt__p_wxPreviewCanvas, | |
29636 | &_swigt__p_wxPreviewControlBar, | |
29637 | &_swigt__p_wxPreviewFrame, | |
29638 | &_swigt__p_wxPrintData, | |
29639 | &_swigt__p_wxPrintDialog, | |
29640 | &_swigt__p_wxPrintDialogData, | |
29641 | &_swigt__p_wxPrintPreview, | |
29642 | &_swigt__p_wxPrinter, | |
29643 | &_swigt__p_wxProgressDialog, | |
29644 | &_swigt__p_wxPyApp, | |
29645 | &_swigt__p_wxPyCommandEvent, | |
29646 | &_swigt__p_wxPyEvent, | |
29647 | &_swigt__p_wxPyHtmlListBox, | |
29648 | &_swigt__p_wxPyImageHandler, | |
29649 | &_swigt__p_wxPyPanel, | |
29650 | &_swigt__p_wxPyPopupTransientWindow, | |
29651 | &_swigt__p_wxPyPreviewControlBar, | |
29652 | &_swigt__p_wxPyPreviewFrame, | |
29653 | &_swigt__p_wxPyPrintPreview, | |
29654 | &_swigt__p_wxPyPrintout, | |
29655 | &_swigt__p_wxPyScrolledWindow, | |
29656 | &_swigt__p_wxPySizer, | |
29657 | &_swigt__p_wxPyTaskBarIcon, | |
29658 | &_swigt__p_wxPyVListBox, | |
29659 | &_swigt__p_wxPyVScrolledWindow, | |
29660 | &_swigt__p_wxPyValidator, | |
29661 | &_swigt__p_wxPyWindow, | |
29662 | &_swigt__p_wxQueryLayoutInfoEvent, | |
29663 | &_swigt__p_wxQueryNewPaletteEvent, | |
29664 | &_swigt__p_wxRect, | |
29665 | &_swigt__p_wxRegion, | |
29666 | &_swigt__p_wxSashEvent, | |
29667 | &_swigt__p_wxSashLayoutWindow, | |
29668 | &_swigt__p_wxSashWindow, | |
29669 | &_swigt__p_wxScrollEvent, | |
29670 | &_swigt__p_wxScrollWinEvent, | |
29671 | &_swigt__p_wxScrolledWindow, | |
29672 | &_swigt__p_wxSetCursorEvent, | |
29673 | &_swigt__p_wxShowEvent, | |
29674 | &_swigt__p_wxSingleChoiceDialog, | |
29675 | &_swigt__p_wxSize, | |
29676 | &_swigt__p_wxSizeEvent, | |
29677 | &_swigt__p_wxSizer, | |
29678 | &_swigt__p_wxSizerItem, | |
29679 | &_swigt__p_wxSplashScreen, | |
29680 | &_swigt__p_wxSplashScreenWindow, | |
29681 | &_swigt__p_wxSplitterEvent, | |
29682 | &_swigt__p_wxSplitterWindow, | |
29683 | &_swigt__p_wxStaticBoxSizer, | |
29684 | &_swigt__p_wxStatusBar, | |
29685 | &_swigt__p_wxStdDialogButtonSizer, | |
29686 | &_swigt__p_wxString, | |
29687 | &_swigt__p_wxSysColourChangedEvent, | |
29688 | &_swigt__p_wxTIFFHandler, | |
29689 | &_swigt__p_wxTaskBarIcon, | |
29690 | &_swigt__p_wxTaskBarIconEvent, | |
29691 | &_swigt__p_wxTextEntryDialog, | |
29692 | &_swigt__p_wxTipWindow, | |
29693 | &_swigt__p_wxToolBar, | |
29694 | &_swigt__p_wxTopLevelWindow, | |
29695 | &_swigt__p_wxUpdateUIEvent, | |
29696 | &_swigt__p_wxValidator, | |
29697 | &_swigt__p_wxVisualAttributes, | |
29698 | &_swigt__p_wxWindow, | |
29699 | &_swigt__p_wxWindowCreateEvent, | |
29700 | &_swigt__p_wxWindowDestroyEvent, | |
29701 | &_swigt__p_wxXPMHandler, | |
29702 | &_swigt__ptrdiff_t, | |
29703 | &_swigt__std__ptrdiff_t, | |
29704 | &_swigt__unsigned_int, | |
29705 | }; | |
29706 | ||
29707 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
29708 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
29709 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
29710 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
29711 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
29712 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
29713 | static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}}; | |
29714 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
29715 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29716 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
29717 | static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
29718 | static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29719 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29720 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29721 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29722 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29723 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29724 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29725 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29726 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29727 | static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; | |
29728 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; | |
29729 | static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}}; | |
29730 | static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29731 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; | |
29732 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29733 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29734 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29735 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29736 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29737 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29738 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29739 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29740 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29741 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29742 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29743 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29744 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29745 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29746 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29747 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29748 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29749 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29750 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29751 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29752 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29753 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29754 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29755 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29756 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29757 | 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_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_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_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_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}}; | |
29758 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
29759 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
29760 | static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
29761 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
29762 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
29763 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_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_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_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_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_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_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; | |
29764 | static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29765 | static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
29766 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29767 | static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
29768 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29769 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
29770 | static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
29771 | static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29772 | 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},{0, 0, 0, 0}}; | |
29773 | static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
29774 | static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}}; | |
29775 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
29776 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
29777 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29778 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
29779 | static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
29780 | static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
29781 | static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29782 | static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
29783 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29784 | static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29785 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
29786 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
29787 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
29788 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
29789 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29790 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29791 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29792 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29793 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29794 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29795 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
29796 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29797 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
29798 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29799 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29800 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29801 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29802 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29803 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29804 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29805 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29806 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29807 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29808 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29809 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29810 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29811 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
29812 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
29813 | 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_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_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_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_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_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_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_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_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_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_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_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_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_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}}; | |
29814 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29815 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
29816 | static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_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}}; | |
29817 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
29818 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29819 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
29820 | static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}}; | |
29821 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
29822 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = { {&_swigt__p_wxPreviewControlBar, 0, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0},{0, 0, 0, 0}}; | |
29823 | static swig_cast_info _swigc__p_wxPreviewFrame[] = { {&_swigt__p_wxPreviewFrame, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0},{0, 0, 0, 0}}; | |
29824 | static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
29825 | static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29826 | static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
29827 | static swig_cast_info _swigc__p_wxPrintPreview[] = { {&_swigt__p_wxPrintPreview, 0, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0},{0, 0, 0, 0}}; | |
29828 | static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
29829 | static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29830 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
29831 | static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
29832 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}}; | |
29833 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
29834 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
29835 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
29836 | static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
29837 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29838 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
29839 | static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}}; | |
29840 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}}; | |
29841 | static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29842 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29843 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; | |
29844 | static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}}; | |
29845 | static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29846 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29847 | static swig_cast_info _swigc__p_wxSashWindow[] = { {&_swigt__p_wxSashWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0},{0, 0, 0, 0}}; | |
29848 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29849 | static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}}; | |
29850 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29851 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
29852 | static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
29853 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29854 | static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29855 | static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29856 | static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
29857 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29858 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
29859 | static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
29860 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29861 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = { {&_swigt__p_wxTextEntryDialog, 0, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0},{0, 0, 0, 0}}; | |
29862 | static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29863 | static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}}; | |
29864 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; | |
29865 | static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; | |
29866 | 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_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_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_wxFileDialog, _p_wxFileDialogTo_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_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_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_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; | |
29867 | static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; | |
29868 | static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; | |
29869 | static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
29870 | ||
29871 | static swig_cast_info *swig_cast_initial[] = { | |
29872 | _swigc__p_char, | |
29873 | _swigc__p_form_ops_t, | |
29874 | _swigc__p_int, | |
29875 | _swigc__p_unsigned_char, | |
29876 | _swigc__p_unsigned_int, | |
29877 | _swigc__p_unsigned_long, | |
29878 | _swigc__p_wxANIHandler, | |
29879 | _swigc__p_wxAcceleratorTable, | |
29880 | _swigc__p_wxActivateEvent, | |
29881 | _swigc__p_wxArrayInt, | |
29882 | _swigc__p_wxBMPHandler, | |
29883 | _swigc__p_wxBitmap, | |
29884 | _swigc__p_wxBoxSizer, | |
29885 | _swigc__p_wxCURHandler, | |
29886 | _swigc__p_wxCalculateLayoutEvent, | |
29887 | _swigc__p_wxChildFocusEvent, | |
29888 | _swigc__p_wxCloseEvent, | |
29889 | _swigc__p_wxColour, | |
29890 | _swigc__p_wxColourData, | |
29891 | _swigc__p_wxColourDialog, | |
29892 | _swigc__p_wxCommandEvent, | |
29893 | _swigc__p_wxContextMenuEvent, | |
29894 | _swigc__p_wxControl, | |
29895 | _swigc__p_wxControlWithItems, | |
29896 | _swigc__p_wxDC, | |
29897 | _swigc__p_wxDateEvent, | |
29898 | _swigc__p_wxDialog, | |
29899 | _swigc__p_wxDirDialog, | |
29900 | _swigc__p_wxDisplayChangedEvent, | |
29901 | _swigc__p_wxDropFilesEvent, | |
29902 | _swigc__p_wxDuplexMode, | |
29903 | _swigc__p_wxEraseEvent, | |
29904 | _swigc__p_wxEvent, | |
29905 | _swigc__p_wxEvtHandler, | |
29906 | _swigc__p_wxFSFile, | |
29907 | _swigc__p_wxFileDialog, | |
29908 | _swigc__p_wxFileSystem, | |
29909 | _swigc__p_wxFindDialogEvent, | |
29910 | _swigc__p_wxFindReplaceData, | |
29911 | _swigc__p_wxFindReplaceDialog, | |
29912 | _swigc__p_wxFlexGridSizer, | |
29913 | _swigc__p_wxFocusEvent, | |
29914 | _swigc__p_wxFont, | |
29915 | _swigc__p_wxFontData, | |
29916 | _swigc__p_wxFontDialog, | |
29917 | _swigc__p_wxFrame, | |
29918 | _swigc__p_wxGBSizerItem, | |
29919 | _swigc__p_wxGIFHandler, | |
29920 | _swigc__p_wxGridBagSizer, | |
29921 | _swigc__p_wxGridSizer, | |
29922 | _swigc__p_wxICOHandler, | |
29923 | _swigc__p_wxIcon, | |
29924 | _swigc__p_wxIconBundle, | |
29925 | _swigc__p_wxIconizeEvent, | |
29926 | _swigc__p_wxIdleEvent, | |
29927 | _swigc__p_wxImage, | |
29928 | _swigc__p_wxImageHandler, | |
29929 | _swigc__p_wxIndividualLayoutConstraint, | |
29930 | _swigc__p_wxInitDialogEvent, | |
29931 | _swigc__p_wxJPEGHandler, | |
29932 | _swigc__p_wxKeyEvent, | |
29933 | _swigc__p_wxLayoutAlgorithm, | |
29934 | _swigc__p_wxLayoutConstraints, | |
29935 | _swigc__p_wxMDIChildFrame, | |
29936 | _swigc__p_wxMDIClientWindow, | |
29937 | _swigc__p_wxMDIParentFrame, | |
29938 | _swigc__p_wxMaximizeEvent, | |
29939 | _swigc__p_wxMenu, | |
29940 | _swigc__p_wxMenuBar, | |
29941 | _swigc__p_wxMenuEvent, | |
29942 | _swigc__p_wxMenuItem, | |
29943 | _swigc__p_wxMessageDialog, | |
29944 | _swigc__p_wxMiniFrame, | |
29945 | _swigc__p_wxMouseCaptureChangedEvent, | |
29946 | _swigc__p_wxMouseEvent, | |
29947 | _swigc__p_wxMoveEvent, | |
29948 | _swigc__p_wxMultiChoiceDialog, | |
29949 | _swigc__p_wxNavigationKeyEvent, | |
29950 | _swigc__p_wxNcPaintEvent, | |
29951 | _swigc__p_wxNotifyEvent, | |
29952 | _swigc__p_wxObject, | |
29953 | _swigc__p_wxPCXHandler, | |
29954 | _swigc__p_wxPNGHandler, | |
29955 | _swigc__p_wxPNMHandler, | |
29956 | _swigc__p_wxPageSetupDialog, | |
29957 | _swigc__p_wxPageSetupDialogData, | |
29958 | _swigc__p_wxPaintEvent, | |
29959 | _swigc__p_wxPaletteChangedEvent, | |
29960 | _swigc__p_wxPanel, | |
29961 | _swigc__p_wxPaperSize, | |
29962 | _swigc__p_wxPasswordEntryDialog, | |
29963 | _swigc__p_wxPoint, | |
29964 | _swigc__p_wxPopupWindow, | |
29965 | _swigc__p_wxPreviewCanvas, | |
29966 | _swigc__p_wxPreviewControlBar, | |
29967 | _swigc__p_wxPreviewFrame, | |
29968 | _swigc__p_wxPrintData, | |
29969 | _swigc__p_wxPrintDialog, | |
29970 | _swigc__p_wxPrintDialogData, | |
29971 | _swigc__p_wxPrintPreview, | |
29972 | _swigc__p_wxPrinter, | |
29973 | _swigc__p_wxProgressDialog, | |
29974 | _swigc__p_wxPyApp, | |
29975 | _swigc__p_wxPyCommandEvent, | |
29976 | _swigc__p_wxPyEvent, | |
29977 | _swigc__p_wxPyHtmlListBox, | |
29978 | _swigc__p_wxPyImageHandler, | |
29979 | _swigc__p_wxPyPanel, | |
29980 | _swigc__p_wxPyPopupTransientWindow, | |
29981 | _swigc__p_wxPyPreviewControlBar, | |
29982 | _swigc__p_wxPyPreviewFrame, | |
29983 | _swigc__p_wxPyPrintPreview, | |
29984 | _swigc__p_wxPyPrintout, | |
29985 | _swigc__p_wxPyScrolledWindow, | |
29986 | _swigc__p_wxPySizer, | |
29987 | _swigc__p_wxPyTaskBarIcon, | |
29988 | _swigc__p_wxPyVListBox, | |
29989 | _swigc__p_wxPyVScrolledWindow, | |
29990 | _swigc__p_wxPyValidator, | |
29991 | _swigc__p_wxPyWindow, | |
29992 | _swigc__p_wxQueryLayoutInfoEvent, | |
29993 | _swigc__p_wxQueryNewPaletteEvent, | |
29994 | _swigc__p_wxRect, | |
29995 | _swigc__p_wxRegion, | |
29996 | _swigc__p_wxSashEvent, | |
29997 | _swigc__p_wxSashLayoutWindow, | |
29998 | _swigc__p_wxSashWindow, | |
29999 | _swigc__p_wxScrollEvent, | |
30000 | _swigc__p_wxScrollWinEvent, | |
30001 | _swigc__p_wxScrolledWindow, | |
30002 | _swigc__p_wxSetCursorEvent, | |
30003 | _swigc__p_wxShowEvent, | |
30004 | _swigc__p_wxSingleChoiceDialog, | |
30005 | _swigc__p_wxSize, | |
30006 | _swigc__p_wxSizeEvent, | |
30007 | _swigc__p_wxSizer, | |
30008 | _swigc__p_wxSizerItem, | |
30009 | _swigc__p_wxSplashScreen, | |
30010 | _swigc__p_wxSplashScreenWindow, | |
30011 | _swigc__p_wxSplitterEvent, | |
30012 | _swigc__p_wxSplitterWindow, | |
30013 | _swigc__p_wxStaticBoxSizer, | |
30014 | _swigc__p_wxStatusBar, | |
30015 | _swigc__p_wxStdDialogButtonSizer, | |
30016 | _swigc__p_wxString, | |
30017 | _swigc__p_wxSysColourChangedEvent, | |
30018 | _swigc__p_wxTIFFHandler, | |
30019 | _swigc__p_wxTaskBarIcon, | |
30020 | _swigc__p_wxTaskBarIconEvent, | |
30021 | _swigc__p_wxTextEntryDialog, | |
30022 | _swigc__p_wxTipWindow, | |
30023 | _swigc__p_wxToolBar, | |
30024 | _swigc__p_wxTopLevelWindow, | |
30025 | _swigc__p_wxUpdateUIEvent, | |
30026 | _swigc__p_wxValidator, | |
30027 | _swigc__p_wxVisualAttributes, | |
30028 | _swigc__p_wxWindow, | |
30029 | _swigc__p_wxWindowCreateEvent, | |
30030 | _swigc__p_wxWindowDestroyEvent, | |
30031 | _swigc__p_wxXPMHandler, | |
30032 | _swigc__ptrdiff_t, | |
30033 | _swigc__std__ptrdiff_t, | |
30034 | _swigc__unsigned_int, | |
d14a1e28 RD |
30035 | }; |
30036 | ||
30037 | ||
30038 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
30039 | ||
30040 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 30041 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
30042 | |
30043 | #ifdef __cplusplus | |
30044 | } | |
30045 | #endif | |
32fe5131 RD |
30046 | /************************************************************************* |
30047 | * Type initialization: | |
30048 | * This problem is tough by the requirement that no dynamic | |
30049 | * memory is used. Also, since swig_type_info structures store pointers to | |
30050 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
30051 | * to swig_type_info structures, we need some lookup code at initialization. | |
30052 | * The idea is that swig generates all the structures that are needed. | |
30053 | * The runtime then collects these partially filled structures. | |
30054 | * The SWIG_InitializeModule function takes these initial arrays out of | |
30055 | * swig_module, and does all the lookup, filling in the swig_module.types | |
30056 | * array with the correct data and linking the correct swig_cast_info | |
30057 | * structures together. | |
30058 | ||
30059 | * The generated swig_type_info structures are assigned staticly to an initial | |
30060 | * array. We just loop though that array, and handle each type individually. | |
30061 | * First we lookup if this type has been already loaded, and if so, use the | |
30062 | * loaded structure instead of the generated one. Then we have to fill in the | |
30063 | * cast linked list. The cast data is initially stored in something like a | |
30064 | * two-dimensional array. Each row corresponds to a type (there are the same | |
30065 | * number of rows as there are in the swig_type_initial array). Each entry in | |
30066 | * a column is one of the swig_cast_info structures for that type. | |
30067 | * The cast_initial array is actually an array of arrays, because each row has | |
30068 | * a variable number of columns. So to actually build the cast linked list, | |
30069 | * we find the array of casts associated with the type, and loop through it | |
30070 | * adding the casts to the list. The one last trick we need to do is making | |
30071 | * sure the type pointer in the swig_cast_info struct is correct. | |
30072 | ||
30073 | * First off, we lookup the cast->type name to see if it is already loaded. | |
30074 | * There are three cases to handle: | |
30075 | * 1) If the cast->type has already been loaded AND the type we are adding | |
30076 | * casting info to has not been loaded (it is in this module), THEN we | |
30077 | * replace the cast->type pointer with the type pointer that has already | |
30078 | * been loaded. | |
30079 | * 2) If BOTH types (the one we are adding casting info to, and the | |
30080 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
30081 | * the previous module so we just ignore it. | |
30082 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
30083 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
30084 | * be correct. | |
30085 | **/ | |
30086 | ||
30087 | #ifdef __cplusplus | |
30088 | extern "C" { | |
30089 | #if 0 | |
30090 | } /* c-mode */ | |
30091 | #endif | |
30092 | #endif | |
30093 | ||
30094 | #if 0 | |
30095 | #define SWIGRUNTIME_DEBUG | |
30096 | #endif | |
30097 | ||
30098 | SWIGRUNTIME void | |
30099 | SWIG_InitializeModule(void *clientdata) { | |
30100 | size_t i; | |
30101 | swig_module_info *module_head; | |
30102 | static int init_run = 0; | |
30103 | ||
30104 | clientdata = clientdata; | |
30105 | ||
30106 | if (init_run) return; | |
30107 | init_run = 1; | |
30108 | ||
30109 | /* Initialize the swig_module */ | |
30110 | swig_module.type_initial = swig_type_initial; | |
30111 | swig_module.cast_initial = swig_cast_initial; | |
30112 | ||
30113 | /* Try and load any already created modules */ | |
30114 | module_head = SWIG_GetModule(clientdata); | |
30115 | if (module_head) { | |
30116 | swig_module.next = module_head->next; | |
30117 | module_head->next = &swig_module; | |
30118 | } else { | |
30119 | /* This is the first module loaded */ | |
30120 | swig_module.next = &swig_module; | |
30121 | SWIG_SetModule(clientdata, &swig_module); | |
30122 | } | |
30123 | ||
30124 | /* Now work on filling in swig_module.types */ | |
30125 | #ifdef SWIGRUNTIME_DEBUG | |
30126 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
30127 | #endif | |
30128 | for (i = 0; i < swig_module.size; ++i) { | |
30129 | swig_type_info *type = 0; | |
30130 | swig_type_info *ret; | |
30131 | swig_cast_info *cast; | |
30132 | ||
30133 | #ifdef SWIGRUNTIME_DEBUG | |
30134 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
30135 | #endif | |
30136 | ||
30137 | /* if there is another module already loaded */ | |
30138 | if (swig_module.next != &swig_module) { | |
30139 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
30140 | } | |
30141 | if (type) { | |
30142 | /* Overwrite clientdata field */ | |
30143 | #ifdef SWIGRUNTIME_DEBUG | |
30144 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
30145 | #endif | |
30146 | if (swig_module.type_initial[i]->clientdata) { | |
30147 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
30148 | #ifdef SWIGRUNTIME_DEBUG | |
30149 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
30150 | #endif | |
30151 | } | |
30152 | } else { | |
30153 | type = swig_module.type_initial[i]; | |
30154 | } | |
30155 | ||
30156 | /* Insert casting types */ | |
30157 | cast = swig_module.cast_initial[i]; | |
30158 | while (cast->type) { | |
30159 | /* Don't need to add information already in the list */ | |
30160 | ret = 0; | |
30161 | #ifdef SWIGRUNTIME_DEBUG | |
30162 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
30163 | #endif | |
30164 | if (swig_module.next != &swig_module) { | |
30165 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
30166 | #ifdef SWIGRUNTIME_DEBUG | |
30167 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
30168 | #endif | |
30169 | } | |
30170 | if (ret) { | |
30171 | if (type == swig_module.type_initial[i]) { | |
30172 | #ifdef SWIGRUNTIME_DEBUG | |
30173 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
30174 | #endif | |
30175 | cast->type = ret; | |
30176 | ret = 0; | |
30177 | } else { | |
30178 | /* Check for casting already in the list */ | |
30179 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
30180 | #ifdef SWIGRUNTIME_DEBUG | |
30181 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
30182 | #endif | |
30183 | if (!ocast) ret = 0; | |
30184 | } | |
30185 | } | |
30186 | ||
30187 | if (!ret) { | |
30188 | #ifdef SWIGRUNTIME_DEBUG | |
30189 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
30190 | #endif | |
30191 | if (type->cast) { | |
30192 | type->cast->prev = cast; | |
30193 | cast->next = type->cast; | |
30194 | } | |
30195 | type->cast = cast; | |
30196 | } | |
30197 | cast++; | |
30198 | } | |
30199 | /* Set entry in modules->types array equal to the type */ | |
30200 | swig_module.types[i] = type; | |
30201 | } | |
30202 | swig_module.types[i] = 0; | |
30203 | ||
30204 | #ifdef SWIGRUNTIME_DEBUG | |
30205 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
30206 | for (i = 0; i < swig_module.size; ++i) { | |
30207 | int j = 0; | |
30208 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
30209 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
30210 | while (cast->type) { | |
30211 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
30212 | cast++; | |
30213 | ++j; | |
30214 | } | |
30215 | printf("---- Total casts: %d\n",j); | |
30216 | } | |
30217 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
30218 | #endif | |
30219 | } | |
30220 | ||
30221 | /* This function will propagate the clientdata field of type to | |
30222 | * any new swig_type_info structures that have been added into the list | |
30223 | * of equivalent types. It is like calling | |
30224 | * SWIG_TypeClientData(type, clientdata) a second time. | |
30225 | */ | |
30226 | SWIGRUNTIME void | |
30227 | SWIG_PropagateClientData(void) { | |
30228 | size_t i; | |
30229 | swig_cast_info *equiv; | |
30230 | static int init_run = 0; | |
30231 | ||
30232 | if (init_run) return; | |
30233 | init_run = 1; | |
30234 | ||
30235 | for (i = 0; i < swig_module.size; i++) { | |
30236 | if (swig_module.types[i]->clientdata) { | |
30237 | equiv = swig_module.types[i]->cast; | |
30238 | while (equiv) { | |
30239 | if (!equiv->converter) { | |
30240 | if (equiv->type && !equiv->type->clientdata) | |
30241 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
30242 | } | |
30243 | equiv = equiv->next; | |
30244 | } | |
30245 | } | |
30246 | } | |
30247 | } | |
30248 | ||
30249 | #ifdef __cplusplus | |
30250 | #if 0 | |
30251 | { | |
30252 | /* c-mode */ | |
30253 | #endif | |
30254 | } | |
30255 | #endif | |
30256 | ||
d14a1e28 | 30257 | |
093d3ff1 RD |
30258 | |
30259 | #ifdef __cplusplus | |
30260 | extern "C" { | |
30261 | #endif | |
30262 | ||
30263 | /* Python-specific SWIG API */ | |
30264 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
30265 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
30266 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
30267 | ||
30268 | /* ----------------------------------------------------------------------------- | |
30269 | * global variable support code. | |
30270 | * ----------------------------------------------------------------------------- */ | |
30271 | ||
30272 | typedef struct swig_globalvar { | |
30273 | char *name; /* Name of global variable */ | |
32fe5131 | 30274 | PyObject *(*get_attr)(void); /* Return the current value */ |
093d3ff1 RD |
30275 | int (*set_attr)(PyObject *); /* Set the value */ |
30276 | struct swig_globalvar *next; | |
30277 | } swig_globalvar; | |
30278 | ||
30279 | typedef struct swig_varlinkobject { | |
30280 | PyObject_HEAD | |
30281 | swig_globalvar *vars; | |
30282 | } swig_varlinkobject; | |
30283 | ||
32fe5131 | 30284 | SWIGINTERN PyObject * |
093d3ff1 RD |
30285 | swig_varlink_repr(swig_varlinkobject *v) { |
30286 | v = v; | |
30287 | return PyString_FromString("<Swig global variables>"); | |
30288 | } | |
30289 | ||
32fe5131 | 30290 | SWIGINTERN int |
093d3ff1 RD |
30291 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { |
30292 | swig_globalvar *var; | |
30293 | flags = flags; | |
30294 | fprintf(fp,"Swig global variables { "); | |
30295 | for (var = v->vars; var; var=var->next) { | |
30296 | fprintf(fp,"%s", var->name); | |
30297 | if (var->next) fprintf(fp,", "); | |
30298 | } | |
30299 | fprintf(fp," }\n"); | |
30300 | return 0; | |
30301 | } | |
30302 | ||
32fe5131 | 30303 | SWIGINTERN PyObject * |
093d3ff1 RD |
30304 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { |
30305 | swig_globalvar *var = v->vars; | |
30306 | while (var) { | |
30307 | if (strcmp(var->name,n) == 0) { | |
30308 | return (*var->get_attr)(); | |
30309 | } | |
30310 | var = var->next; | |
30311 | } | |
30312 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
30313 | return NULL; | |
30314 | } | |
30315 | ||
32fe5131 | 30316 | SWIGINTERN int |
093d3ff1 RD |
30317 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { |
30318 | swig_globalvar *var = v->vars; | |
30319 | while (var) { | |
30320 | if (strcmp(var->name,n) == 0) { | |
30321 | return (*var->set_attr)(p); | |
30322 | } | |
30323 | var = var->next; | |
30324 | } | |
30325 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
30326 | return 1; | |
30327 | } | |
30328 | ||
32fe5131 RD |
30329 | SWIGINTERN PyTypeObject* |
30330 | swig_varlink_type(void) { | |
30331 | static char varlink__doc__[] = "Swig var link object"; | |
30332 | static PyTypeObject varlink_type | |
30333 | #if !defined(__cplusplus) | |
30334 | ; | |
30335 | static int type_init = 0; | |
30336 | if (!type_init) { | |
30337 | PyTypeObject tmp | |
30338 | #endif | |
30339 | = { | |
30340 | PyObject_HEAD_INIT(&PyType_Type) | |
30341 | 0, /* Number of items in variable part (ob_size) */ | |
30342 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
30343 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
30344 | 0, /* Itemsize (tp_itemsize) */ | |
30345 | 0, /* Deallocator (tp_dealloc) */ | |
30346 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
30347 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
30348 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
30349 | 0, /* tp_compare */ | |
30350 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
30351 | 0, /* tp_as_number */ | |
30352 | 0, /* tp_as_sequence */ | |
30353 | 0, /* tp_as_mapping */ | |
30354 | 0, /* tp_hash */ | |
30355 | 0, /* tp_call */ | |
30356 | 0, /* tp_str */ | |
30357 | 0, /* tp_getattro */ | |
30358 | 0, /* tp_setattro */ | |
30359 | 0, /* tp_as_buffer */ | |
30360 | 0, /* tp_flags */ | |
30361 | varlink__doc__, /* tp_doc */ | |
093d3ff1 | 30362 | #if PY_VERSION_HEX >= 0x02000000 |
32fe5131 RD |
30363 | 0, /* tp_traverse */ |
30364 | 0, /* tp_clear */ | |
093d3ff1 RD |
30365 | #endif |
30366 | #if PY_VERSION_HEX >= 0x02010000 | |
32fe5131 RD |
30367 | 0, /* tp_richcompare */ |
30368 | 0, /* tp_weaklistoffset */ | |
093d3ff1 RD |
30369 | #endif |
30370 | #if PY_VERSION_HEX >= 0x02020000 | |
32fe5131 | 30371 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ |
093d3ff1 RD |
30372 | #endif |
30373 | #if PY_VERSION_HEX >= 0x02030000 | |
32fe5131 | 30374 | 0, /* tp_del */ |
093d3ff1 RD |
30375 | #endif |
30376 | #ifdef COUNT_ALLOCS | |
32fe5131 | 30377 | 0,0,0,0 /* tp_alloc -> tp_next */ |
093d3ff1 | 30378 | #endif |
32fe5131 RD |
30379 | }; |
30380 | #if !defined(__cplusplus) | |
30381 | varlink_type = tmp; | |
30382 | type_init = 1; | |
30383 | } | |
30384 | #endif | |
30385 | return &varlink_type; | |
30386 | } | |
093d3ff1 RD |
30387 | |
30388 | /* Create a variable linking object for use later */ | |
32fe5131 | 30389 | SWIGINTERN PyObject * |
093d3ff1 | 30390 | SWIG_Python_newvarlink(void) { |
32fe5131 RD |
30391 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); |
30392 | if (result) { | |
30393 | result->vars = 0; | |
30394 | } | |
093d3ff1 RD |
30395 | return ((PyObject*) result); |
30396 | } | |
30397 | ||
32fe5131 | 30398 | SWIGINTERN void |
093d3ff1 | 30399 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { |
32fe5131 RD |
30400 | swig_varlinkobject *v = (swig_varlinkobject *) p; |
30401 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
30402 | if (gv) { | |
30403 | size_t size = strlen(name)+1; | |
30404 | gv->name = (char *)malloc(size); | |
30405 | if (gv->name) { | |
30406 | strncpy(gv->name,name,size); | |
30407 | gv->get_attr = get_attr; | |
30408 | gv->set_attr = set_attr; | |
30409 | gv->next = v->vars; | |
30410 | } | |
30411 | } | |
093d3ff1 RD |
30412 | v->vars = gv; |
30413 | } | |
30414 | ||
30415 | /* ----------------------------------------------------------------------------- | |
30416 | * constants/methods manipulation | |
30417 | * ----------------------------------------------------------------------------- */ | |
30418 | ||
30419 | /* Install Constants */ | |
32fe5131 | 30420 | SWIGINTERN void |
093d3ff1 RD |
30421 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { |
30422 | PyObject *obj = 0; | |
30423 | size_t i; | |
32fe5131 | 30424 | for (i = 0; constants[i].type; ++i) { |
093d3ff1 RD |
30425 | switch(constants[i].type) { |
30426 | case SWIG_PY_INT: | |
30427 | obj = PyInt_FromLong(constants[i].lvalue); | |
30428 | break; | |
30429 | case SWIG_PY_FLOAT: | |
30430 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
30431 | break; | |
30432 | case SWIG_PY_STRING: | |
30433 | if (constants[i].pvalue) { | |
30434 | obj = PyString_FromString((char *) constants[i].pvalue); | |
30435 | } else { | |
30436 | Py_INCREF(Py_None); | |
30437 | obj = Py_None; | |
30438 | } | |
30439 | break; | |
30440 | case SWIG_PY_POINTER: | |
30441 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
30442 | break; | |
30443 | case SWIG_PY_BINARY: | |
30444 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
30445 | break; | |
30446 | default: | |
30447 | obj = 0; | |
30448 | break; | |
30449 | } | |
30450 | if (obj) { | |
30451 | PyDict_SetItemString(d,constants[i].name,obj); | |
30452 | Py_DECREF(obj); | |
30453 | } | |
30454 | } | |
30455 | } | |
30456 | ||
30457 | /* -----------------------------------------------------------------------------*/ | |
30458 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
30459 | /* -----------------------------------------------------------------------------*/ | |
30460 | ||
32fe5131 | 30461 | SWIGINTERN void |
093d3ff1 RD |
30462 | SWIG_Python_FixMethods(PyMethodDef *methods, |
30463 | swig_const_info *const_table, | |
30464 | swig_type_info **types, | |
30465 | swig_type_info **types_initial) { | |
30466 | size_t i; | |
30467 | for (i = 0; methods[i].ml_name; ++i) { | |
30468 | char *c = methods[i].ml_doc; | |
30469 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
30470 | int j; | |
30471 | swig_const_info *ci = 0; | |
30472 | char *name = c + 10; | |
32fe5131 | 30473 | for (j = 0; const_table[j].type; ++j) { |
093d3ff1 RD |
30474 | if (strncmp(const_table[j].name, name, |
30475 | strlen(const_table[j].name)) == 0) { | |
30476 | ci = &(const_table[j]); | |
30477 | break; | |
30478 | } | |
30479 | } | |
30480 | if (ci) { | |
30481 | size_t shift = (ci->ptype) - types; | |
30482 | swig_type_info *ty = types_initial[shift]; | |
30483 | size_t ldoc = (c - methods[i].ml_doc); | |
30484 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
30485 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
32fe5131 RD |
30486 | if (ndoc) { |
30487 | char *buff = ndoc; | |
30488 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
30489 | if (ptr) { | |
30490 | strncpy(buff, methods[i].ml_doc, ldoc); | |
30491 | buff += ldoc; | |
30492 | strncpy(buff, "swig_ptr: ", 10); | |
30493 | buff += 10; | |
30494 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
30495 | methods[i].ml_doc = ndoc; | |
30496 | } | |
30497 | } | |
093d3ff1 RD |
30498 | } |
30499 | } | |
30500 | } | |
30501 | } | |
30502 | ||
30503 | /* -----------------------------------------------------------------------------* | |
30504 | * Initialize type list | |
30505 | * -----------------------------------------------------------------------------*/ | |
30506 | ||
093d3ff1 RD |
30507 | #ifdef __cplusplus |
30508 | } | |
30509 | #endif | |
30510 | ||
30511 | /* -----------------------------------------------------------------------------* | |
30512 | * Partial Init method | |
30513 | * -----------------------------------------------------------------------------*/ | |
30514 | ||
d14a1e28 RD |
30515 | #ifdef __cplusplus |
30516 | extern "C" | |
30517 | #endif | |
32fe5131 | 30518 | SWIGEXPORT void SWIG_init(void) { |
d14a1e28 | 30519 | static PyObject *SWIG_globals = 0; |
d14a1e28 | 30520 | PyObject *m, *d; |
d14a1e28 | 30521 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); |
093d3ff1 RD |
30522 | |
30523 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
32fe5131 | 30524 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); |
093d3ff1 | 30525 | |
d14a1e28 RD |
30526 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
30527 | d = PyModule_GetDict(m); | |
30528 | ||
32fe5131 | 30529 | SWIG_InitializeModule(0); |
093d3ff1 RD |
30530 | SWIG_InstallConstants(d,swig_const_table); |
30531 | ||
30532 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
30533 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
30534 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
30535 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
30536 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
30537 | { | |
32fe5131 RD |
30538 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP))); |
30539 | } | |
30540 | { | |
30541 | PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE))); | |
093d3ff1 RD |
30542 | } |
30543 | { | |
32fe5131 | 30544 | PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE))); |
093d3ff1 RD |
30545 | } |
30546 | { | |
32fe5131 | 30547 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE))); |
093d3ff1 RD |
30548 | } |
30549 | { | |
32fe5131 | 30550 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX))); |
093d3ff1 RD |
30551 | } |
30552 | { | |
32fe5131 | 30553 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME))); |
093d3ff1 RD |
30554 | } |
30555 | { | |
32fe5131 | 30556 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU))); |
093d3ff1 RD |
30557 | } |
30558 | { | |
32fe5131 | 30559 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX))); |
093d3ff1 RD |
30560 | } |
30561 | { | |
32fe5131 | 30562 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX))); |
093d3ff1 RD |
30563 | } |
30564 | { | |
32fe5131 | 30565 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ))); |
093d3ff1 RD |
30566 | } |
30567 | { | |
32fe5131 | 30568 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT))); |
093d3ff1 RD |
30569 | } |
30570 | { | |
32fe5131 | 30571 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX))); |
093d3ff1 RD |
30572 | } |
30573 | { | |
32fe5131 | 30574 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER))); |
093d3ff1 RD |
30575 | } |
30576 | { | |
32fe5131 | 30577 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT))); |
093d3ff1 RD |
30578 | } |
30579 | { | |
32fe5131 | 30580 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE))); |
093d3ff1 RD |
30581 | } |
30582 | { | |
32fe5131 | 30583 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE))); |
093d3ff1 RD |
30584 | } |
30585 | { | |
32fe5131 | 30586 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW))); |
093d3ff1 RD |
30587 | } |
30588 | { | |
32fe5131 | 30589 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT))); |
093d3ff1 RD |
30590 | } |
30591 | { | |
32fe5131 | 30592 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU))); |
093d3ff1 RD |
30593 | } |
30594 | { | |
32fe5131 | 30595 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR))); |
093d3ff1 RD |
30596 | } |
30597 | { | |
32fe5131 | 30598 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED))); |
093d3ff1 RD |
30599 | } |
30600 | { | |
32fe5131 | 30601 | PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER))); |
093d3ff1 RD |
30602 | } |
30603 | { | |
32fe5131 | 30604 | PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL))); |
093d3ff1 | 30605 | } |
8f4d7c19 | 30606 | { |
32fe5131 | 30607 | PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL))); |
8f4d7c19 RD |
30608 | } |
30609 | { | |
32fe5131 | 30610 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL))); |
8f4d7c19 | 30611 | } |
093d3ff1 | 30612 | { |
32fe5131 | 30613 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS))); |
093d3ff1 RD |
30614 | } |
30615 | { | |
32fe5131 | 30616 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS))); |
093d3ff1 RD |
30617 | } |
30618 | { | |
32fe5131 | 30619 | PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D))); |
093d3ff1 RD |
30620 | } |
30621 | { | |
32fe5131 | 30622 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR))); |
093d3ff1 RD |
30623 | } |
30624 | { | |
32fe5131 | 30625 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR))); |
093d3ff1 RD |
30626 | } |
30627 | { | |
32fe5131 | 30628 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR))); |
093d3ff1 RD |
30629 | } |
30630 | { | |
32fe5131 | 30631 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER))); |
093d3ff1 RD |
30632 | } |
30633 | { | |
32fe5131 | 30634 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION))); |
093d3ff1 RD |
30635 | } |
30636 | { | |
32fe5131 | 30637 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL))); |
093d3ff1 RD |
30638 | } |
30639 | { | |
32fe5131 | 30640 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG))); |
093d3ff1 RD |
30641 | } |
30642 | { | |
32fe5131 | 30643 | PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO))); |
093d3ff1 RD |
30644 | } |
30645 | { | |
32fe5131 | 30646 | PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR))); |
093d3ff1 RD |
30647 | } |
30648 | { | |
32fe5131 | 30649 | PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags))); |
093d3ff1 RD |
30650 | } |
30651 | { | |
32fe5131 | 30652 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT))); |
093d3ff1 RD |
30653 | } |
30654 | { | |
32fe5131 | 30655 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN))); |
093d3ff1 RD |
30656 | } |
30657 | { | |
32fe5131 | 30658 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE))); |
093d3ff1 RD |
30659 | } |
30660 | { | |
32fe5131 | 30661 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT))); |
093d3ff1 RD |
30662 | } |
30663 | { | |
32fe5131 | 30664 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT))); |
093d3ff1 RD |
30665 | } |
30666 | { | |
32fe5131 | 30667 | PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL))); |
093d3ff1 RD |
30668 | } |
30669 | { | |
32fe5131 | 30670 | PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT))); |
093d3ff1 RD |
30671 | } |
30672 | { | |
32fe5131 | 30673 | PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED))); |
093d3ff1 | 30674 | } |
b2dc1044 | 30675 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
093d3ff1 | 30676 | { |
32fe5131 | 30677 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER))); |
093d3ff1 RD |
30678 | } |
30679 | { | |
32fe5131 | 30680 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH))); |
093d3ff1 RD |
30681 | } |
30682 | { | |
32fe5131 | 30683 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT))); |
093d3ff1 RD |
30684 | } |
30685 | { | |
32fe5131 | 30686 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE))); |
093d3ff1 RD |
30687 | } |
30688 | { | |
32fe5131 | 30689 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH))); |
093d3ff1 RD |
30690 | } |
30691 | { | |
32fe5131 | 30692 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER))); |
093d3ff1 RD |
30693 | } |
30694 | { | |
32fe5131 | 30695 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME))); |
093d3ff1 RD |
30696 | } |
30697 | { | |
32fe5131 | 30698 | PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER))); |
093d3ff1 RD |
30699 | } |
30700 | { | |
32fe5131 | 30701 | PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D))); |
093d3ff1 RD |
30702 | } |
30703 | { | |
32fe5131 | 30704 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL))); |
093d3ff1 RD |
30705 | } |
30706 | { | |
32fe5131 | 30707 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL))); |
093d3ff1 RD |
30708 | } |
30709 | { | |
32fe5131 | 30710 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE))); |
093d3ff1 RD |
30711 | } |
30712 | { | |
32fe5131 | 30713 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING))); |
093d3ff1 RD |
30714 | } |
30715 | { | |
32fe5131 | 30716 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN))); |
093d3ff1 | 30717 | } |
d14a1e28 RD |
30718 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
30719 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
30720 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
30721 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
b2dc1044 RD |
30722 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
30723 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
093d3ff1 | 30724 | { |
32fe5131 | 30725 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE))); |
093d3ff1 RD |
30726 | } |
30727 | { | |
32fe5131 | 30728 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING))); |
093d3ff1 RD |
30729 | } |
30730 | { | |
32fe5131 | 30731 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN))); |
093d3ff1 RD |
30732 | } |
30733 | { | |
32fe5131 | 30734 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER))); |
093d3ff1 RD |
30735 | } |
30736 | { | |
32fe5131 | 30737 | PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER))); |
093d3ff1 RD |
30738 | } |
30739 | { | |
32fe5131 | 30740 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH))); |
093d3ff1 RD |
30741 | } |
30742 | { | |
32fe5131 | 30743 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER))); |
093d3ff1 RD |
30744 | } |
30745 | { | |
32fe5131 | 30746 | PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D))); |
093d3ff1 RD |
30747 | } |
30748 | { | |
32fe5131 | 30749 | PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP))); |
093d3ff1 RD |
30750 | } |
30751 | { | |
32fe5131 | 30752 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT))); |
093d3ff1 RD |
30753 | } |
30754 | { | |
32fe5131 | 30755 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM))); |
093d3ff1 RD |
30756 | } |
30757 | { | |
32fe5131 | 30758 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT))); |
093d3ff1 RD |
30759 | } |
30760 | { | |
32fe5131 | 30761 | PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE))); |
093d3ff1 RD |
30762 | } |
30763 | { | |
32fe5131 | 30764 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK))); |
093d3ff1 RD |
30765 | } |
30766 | { | |
32fe5131 | 30767 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE))); |
093d3ff1 | 30768 | } |
d14a1e28 | 30769 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
093d3ff1 | 30770 | { |
32fe5131 | 30771 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL))); |
093d3ff1 RD |
30772 | } |
30773 | { | |
32fe5131 | 30774 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL))); |
093d3ff1 RD |
30775 | } |
30776 | { | |
32fe5131 | 30777 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE))); |
093d3ff1 RD |
30778 | } |
30779 | { | |
32fe5131 | 30780 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP))); |
093d3ff1 RD |
30781 | } |
30782 | { | |
32fe5131 | 30783 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT))); |
093d3ff1 RD |
30784 | } |
30785 | { | |
32fe5131 | 30786 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT))); |
093d3ff1 RD |
30787 | } |
30788 | { | |
32fe5131 | 30789 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM))); |
093d3ff1 RD |
30790 | } |
30791 | { | |
32fe5131 | 30792 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y))); |
093d3ff1 RD |
30793 | } |
30794 | { | |
32fe5131 | 30795 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X))); |
093d3ff1 RD |
30796 | } |
30797 | { | |
32fe5131 | 30798 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH))); |
093d3ff1 RD |
30799 | } |
30800 | { | |
32fe5131 | 30801 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY))); |
093d3ff1 | 30802 | } |
d14a1e28 RD |
30803 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
30804 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
b2dc1044 | 30805 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
30806 | |
30807 | // Map renamed classes back to their common name for OOR | |
30808 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
30809 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
30810 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
30811 | ||
30812 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
30813 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
30814 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
30815 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
30816 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
30817 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
30818 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
b2dc1044 RD |
30819 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
30820 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
30821 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
30822 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
30823 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
30824 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
093d3ff1 | 30825 | { |
32fe5131 | 30826 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE))); |
093d3ff1 RD |
30827 | } |
30828 | { | |
32fe5131 | 30829 | PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle))); |
093d3ff1 | 30830 | } |
d3b6e4ff | 30831 | SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set); |
093d3ff1 | 30832 | { |
32fe5131 | 30833 | PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN))); |
093d3ff1 RD |
30834 | } |
30835 | { | |
32fe5131 | 30836 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD))); |
093d3ff1 RD |
30837 | } |
30838 | { | |
32fe5131 | 30839 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE))); |
093d3ff1 RD |
30840 | } |
30841 | { | |
32fe5131 | 30842 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG))); |
093d3ff1 RD |
30843 | } |
30844 | { | |
32fe5131 | 30845 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN))); |
093d3ff1 RD |
30846 | } |
30847 | { | |
32fe5131 | 30848 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE))); |
093d3ff1 RD |
30849 | } |
30850 | { | |
32fe5131 | 30851 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD))); |
093d3ff1 | 30852 | } |
d14a1e28 RD |
30853 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
30854 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
30855 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
30856 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
30857 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
093d3ff1 | 30858 | { |
32fe5131 | 30859 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001))); |
093d3ff1 RD |
30860 | } |
30861 | { | |
32fe5131 | 30862 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001))); |
093d3ff1 RD |
30863 | } |
30864 | { | |
32fe5131 | 30865 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002))); |
093d3ff1 RD |
30866 | } |
30867 | { | |
32fe5131 | 30868 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003))); |
093d3ff1 RD |
30869 | } |
30870 | { | |
32fe5131 | 30871 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004))); |
093d3ff1 RD |
30872 | } |
30873 | { | |
32fe5131 | 30874 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005))); |
093d3ff1 | 30875 | } |
24d7cbea | 30876 | { |
32fe5131 | 30877 | PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006))); |
24d7cbea | 30878 | } |
093d3ff1 | 30879 | { |
32fe5131 | 30880 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100))); |
093d3ff1 RD |
30881 | } |
30882 | { | |
32fe5131 | 30883 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600))); |
093d3ff1 | 30884 | } |
b2dc1044 RD |
30885 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
30886 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
093d3ff1 | 30887 | { |
32fe5131 | 30888 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE))); |
093d3ff1 RD |
30889 | } |
30890 | { | |
32fe5131 | 30891 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW))); |
093d3ff1 RD |
30892 | } |
30893 | { | |
32fe5131 | 30894 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE))); |
093d3ff1 RD |
30895 | } |
30896 | { | |
32fe5131 | 30897 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER))); |
093d3ff1 RD |
30898 | } |
30899 | { | |
32fe5131 | 30900 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM))); |
093d3ff1 RD |
30901 | } |
30902 | { | |
32fe5131 | 30903 | PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT))); |
093d3ff1 RD |
30904 | } |
30905 | { | |
32fe5131 | 30906 | PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE))); |
093d3ff1 RD |
30907 | } |
30908 | { | |
32fe5131 | 30909 | PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER))); |
093d3ff1 RD |
30910 | } |
30911 | { | |
32fe5131 | 30912 | PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE))); |
093d3ff1 RD |
30913 | } |
30914 | { | |
32fe5131 | 30915 | PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL))); |
093d3ff1 RD |
30916 | } |
30917 | { | |
32fe5131 | 30918 | PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE))); |
093d3ff1 RD |
30919 | } |
30920 | { | |
32fe5131 | 30921 | PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL))); |
093d3ff1 RD |
30922 | } |
30923 | { | |
32fe5131 | 30924 | PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO))); |
093d3ff1 RD |
30925 | } |
30926 | { | |
32fe5131 | 30927 | PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR))); |
093d3ff1 RD |
30928 | } |
30929 | { | |
32fe5131 | 30930 | PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT))); |
093d3ff1 RD |
30931 | } |
30932 | { | |
32fe5131 | 30933 | PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT))); |
093d3ff1 RD |
30934 | } |
30935 | { | |
32fe5131 | 30936 | PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY))); |
093d3ff1 RD |
30937 | } |
30938 | { | |
32fe5131 | 30939 | PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE))); |
093d3ff1 RD |
30940 | } |
30941 | { | |
32fe5131 | 30942 | PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE))); |
093d3ff1 RD |
30943 | } |
30944 | { | |
32fe5131 | 30945 | PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER))); |
093d3ff1 RD |
30946 | } |
30947 | { | |
32fe5131 | 30948 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR))); |
093d3ff1 RD |
30949 | } |
30950 | { | |
32fe5131 | 30951 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED))); |
093d3ff1 RD |
30952 | } |
30953 | { | |
32fe5131 | 30954 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR))); |
093d3ff1 RD |
30955 | } |
30956 | { | |
32fe5131 | 30957 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT))); |
093d3ff1 RD |
30958 | } |
30959 | { | |
32fe5131 | 30960 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS))); |
093d3ff1 RD |
30961 | } |
30962 | { | |
32fe5131 | 30963 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT))); |
093d3ff1 RD |
30964 | } |
30965 | { | |
32fe5131 | 30966 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM))); |
093d3ff1 RD |
30967 | } |
30968 | { | |
32fe5131 | 30969 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST))); |
093d3ff1 RD |
30970 | } |
30971 | { | |
32fe5131 | 30972 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST))); |
093d3ff1 RD |
30973 | } |
30974 | { | |
32fe5131 | 30975 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO))); |
093d3ff1 RD |
30976 | } |
30977 | { | |
32fe5131 | 30978 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT))); |
093d3ff1 RD |
30979 | } |
30980 | { | |
32fe5131 | 30981 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE))); |
093d3ff1 RD |
30982 | } |
30983 | { | |
32fe5131 | 30984 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT))); |
093d3ff1 RD |
30985 | } |
30986 | { | |
32fe5131 | 30987 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS))); |
093d3ff1 RD |
30988 | } |
30989 | { | |
32fe5131 | 30990 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT))); |
093d3ff1 RD |
30991 | } |
30992 | { | |
32fe5131 | 30993 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM))); |
093d3ff1 RD |
30994 | } |
30995 | { | |
32fe5131 | 30996 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST))); |
093d3ff1 RD |
30997 | } |
30998 | { | |
32fe5131 | 30999 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST))); |
093d3ff1 RD |
31000 | } |
31001 | { | |
32fe5131 | 31002 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO))); |
093d3ff1 | 31003 | } |
d14a1e28 RD |
31004 | |
31005 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
31006 | ||
31007 | } | |
31008 |