]>
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 | |
7e08d4ef | 12 | #define SWIG_VERSION 0x010327 |
d14a1e28 RD |
13 | |
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
093d3ff1 | 27 | }; |
d14a1e28 RD |
28 | #endif |
29 | ||
32fe5131 RD |
30 | /*********************************************************************** |
31 | * | |
32 | * This section contains generic SWIG labels for method/variable | |
33 | * declarations/attributes, and other compiler dependent labels. | |
34 | * | |
35 | ************************************************************************/ | |
d14a1e28 | 36 | |
32fe5131 RD |
37 | /* template workaround for compilers that cannot correctly implement the C++ standard */ |
38 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
39 | # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) | |
40 | # define SWIGTEMPLATEDISAMBIGUATOR template | |
093d3ff1 | 41 | # else |
32fe5131 | 42 | # define SWIGTEMPLATEDISAMBIGUATOR |
093d3ff1 RD |
43 | # endif |
44 | #endif | |
d14a1e28 | 45 | |
32fe5131 RD |
46 | /* inline attribute */ |
47 | #ifndef SWIGINLINE | |
48 | # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
49 | # define SWIGINLINE inline | |
50 | # else | |
51 | # define SWIGINLINE | |
52 | # endif | |
53 | #endif | |
54 | ||
55 | /* attribute recognised by some compilers to avoid 'unused' warnings */ | |
56 | #ifndef SWIGUNUSED | |
57 | # if defined(__GNUC__) || defined(__ICC) | |
58 | # define SWIGUNUSED __attribute__ ((unused)) | |
59 | # else | |
60 | # define SWIGUNUSED | |
61 | # endif | |
62 | #endif | |
63 | ||
64 | /* internal SWIG method */ | |
65 | #ifndef SWIGINTERN | |
66 | # define SWIGINTERN static SWIGUNUSED | |
67 | #endif | |
68 | ||
69 | /* internal inline SWIG method */ | |
70 | #ifndef SWIGINTERNINLINE | |
71 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
72 | #endif | |
73 | ||
74 | /* exporting methods for Windows DLLs */ | |
75 | #ifndef SWIGEXPORT | |
76 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
77 | # if defined(STATIC_LINKED) | |
78 | # define SWIGEXPORT | |
79 | # else | |
80 | # define SWIGEXPORT __declspec(dllexport) | |
81 | # endif | |
82 | # else | |
83 | # define SWIGEXPORT | |
84 | # endif | |
85 | #endif | |
86 | ||
87 | /* calling conventions for Windows */ | |
88 | #ifndef SWIGSTDCALL | |
89 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
90 | # define SWIGSTDCALL __stdcall | |
91 | # else | |
92 | # define SWIGSTDCALL | |
93 | # endif | |
94 | #endif | |
95 | ||
96 | ||
c9c7117a | 97 | |
093d3ff1 | 98 | #include <Python.h> |
d14a1e28 RD |
99 | |
100 | /*********************************************************************** | |
093d3ff1 | 101 | * swigrun.swg |
d14a1e28 | 102 | * |
093d3ff1 RD |
103 | * This file contains generic CAPI SWIG runtime support for pointer |
104 | * type checking. | |
d14a1e28 RD |
105 | * |
106 | ************************************************************************/ | |
107 | ||
093d3ff1 RD |
108 | /* This should only be incremented when either the layout of swig_type_info changes, |
109 | or for whatever reason, the runtime changes incompatibly */ | |
32fe5131 | 110 | #define SWIG_RUNTIME_VERSION "2" |
d14a1e28 | 111 | |
093d3ff1 RD |
112 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
113 | #ifdef SWIG_TYPE_TABLE | |
32fe5131 RD |
114 | # define SWIG_QUOTE_STRING(x) #x |
115 | # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
116 | # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
d14a1e28 | 117 | #else |
32fe5131 | 118 | # define SWIG_TYPE_TABLE_NAME |
093d3ff1 RD |
119 | #endif |
120 | ||
121 | /* | |
122 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
123 | creating a static or dynamic library from the swig runtime code. | |
124 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
125 | ||
126 | But only do this if is strictly necessary, ie, if you have problems | |
127 | with your compiler or so. | |
128 | */ | |
32fe5131 | 129 | |
093d3ff1 | 130 | #ifndef SWIGRUNTIME |
32fe5131 | 131 | # define SWIGRUNTIME SWIGINTERN |
093d3ff1 | 132 | #endif |
32fe5131 | 133 | |
093d3ff1 | 134 | #ifndef SWIGRUNTIMEINLINE |
32fe5131 | 135 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE |
d14a1e28 RD |
136 | #endif |
137 | ||
32fe5131 RD |
138 | #include <string.h> |
139 | ||
d14a1e28 RD |
140 | #ifdef __cplusplus |
141 | extern "C" { | |
142 | #endif | |
143 | ||
144 | typedef void *(*swig_converter_func)(void *); | |
145 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
146 | ||
32fe5131 | 147 | /* Structure to store inforomation on one type */ |
d14a1e28 | 148 | typedef struct swig_type_info { |
32fe5131 RD |
149 | const char *name; /* mangled name of this type */ |
150 | const char *str; /* human readable name of this type */ | |
151 | swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ | |
152 | struct swig_cast_info *cast; /* linked list of types that can cast into this type */ | |
153 | void *clientdata; /* language specific type data */ | |
d14a1e28 RD |
154 | } swig_type_info; |
155 | ||
32fe5131 RD |
156 | /* Structure to store a type and conversion function used for casting */ |
157 | typedef struct swig_cast_info { | |
158 | swig_type_info *type; /* pointer to type that is equivalent to this type */ | |
159 | swig_converter_func converter; /* function to cast the void pointers */ | |
160 | struct swig_cast_info *next; /* pointer to next cast in linked list */ | |
161 | struct swig_cast_info *prev; /* pointer to the previous cast */ | |
162 | } swig_cast_info; | |
163 | ||
164 | /* Structure used to store module information | |
165 | * Each module generates one structure like this, and the runtime collects | |
166 | * all of these structures and stores them in a circularly linked list.*/ | |
167 | typedef struct swig_module_info { | |
168 | swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ | |
169 | size_t size; /* Number of types in this module */ | |
170 | struct swig_module_info *next; /* Pointer to next element in circularly linked list */ | |
171 | swig_type_info **type_initial; /* Array of initially generated type structures */ | |
172 | swig_cast_info **cast_initial; /* Array of initially generated casting structures */ | |
173 | void *clientdata; /* Language specific module data */ | |
174 | } swig_module_info; | |
175 | ||
176 | ||
093d3ff1 RD |
177 | /* |
178 | Compare two type names skipping the space characters, therefore | |
179 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
180 | ||
181 | Return 0 when the two name types are equivalent, as in | |
182 | strncmp, but skipping ' '. | |
183 | */ | |
184 | SWIGRUNTIME int | |
185 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
186 | const char *f2, const char *l2) { | |
187 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
188 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
189 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
32fe5131 | 190 | if (*f1 != *f2) return (int)(*f1 - *f2); |
093d3ff1 RD |
191 | } |
192 | return (l1 - f1) - (l2 - f2); | |
193 | } | |
194 | ||
195 | /* | |
196 | Check type equivalence in a name list like <name1>|<name2>|... | |
32fe5131 | 197 | Return 0 if not equal, 1 if equal |
093d3ff1 RD |
198 | */ |
199 | SWIGRUNTIME int | |
200 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
201 | int equiv = 0; | |
202 | const char* te = tb + strlen(tb); | |
203 | const char* ne = nb; | |
204 | while (!equiv && *ne) { | |
205 | for (nb = ne; *ne; ++ne) { | |
206 | if (*ne == '|') break; | |
207 | } | |
32fe5131 | 208 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
093d3ff1 RD |
209 | if (*ne) ++ne; |
210 | } | |
211 | return equiv; | |
212 | } | |
213 | ||
214 | /* | |
32fe5131 RD |
215 | Check type equivalence in a name list like <name1>|<name2>|... |
216 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
093d3ff1 | 217 | */ |
32fe5131 RD |
218 | SWIGRUNTIME int |
219 | SWIG_TypeCompare(const char *nb, const char *tb) { | |
220 | int equiv = 0; | |
221 | const char* te = tb + strlen(tb); | |
222 | const char* ne = nb; | |
223 | while (!equiv && *ne) { | |
224 | for (nb = ne; *ne; ++ne) { | |
225 | if (*ne == '|') break; | |
093d3ff1 | 226 | } |
32fe5131 RD |
227 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
228 | if (*ne) ++ne; | |
093d3ff1 | 229 | } |
32fe5131 | 230 | return equiv; |
093d3ff1 RD |
231 | } |
232 | ||
32fe5131 RD |
233 | |
234 | /* think of this as a c++ template<> or a scheme macro */ | |
235 | #define SWIG_TypeCheck_Template(comparison, ty) \ | |
236 | if (ty) { \ | |
237 | swig_cast_info *iter = ty->cast; \ | |
238 | while (iter) { \ | |
239 | if (comparison) { \ | |
240 | if (iter == ty->cast) return iter; \ | |
241 | /* Move iter to the top of the linked list */ \ | |
242 | iter->prev->next = iter->next; \ | |
243 | if (iter->next) \ | |
244 | iter->next->prev = iter->prev; \ | |
245 | iter->next = ty->cast; \ | |
246 | iter->prev = 0; \ | |
247 | if (ty->cast) ty->cast->prev = iter; \ | |
248 | ty->cast = iter; \ | |
249 | return iter; \ | |
250 | } \ | |
251 | iter = iter->next; \ | |
252 | } \ | |
253 | } \ | |
254 | return 0 | |
255 | ||
093d3ff1 RD |
256 | /* |
257 | Check the typename | |
258 | */ | |
32fe5131 | 259 | SWIGRUNTIME swig_cast_info * |
093d3ff1 | 260 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { |
32fe5131 RD |
261 | SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); |
262 | } | |
263 | ||
264 | /* Same as previous function, except strcmp is replaced with a pointer comparison */ | |
265 | SWIGRUNTIME swig_cast_info * | |
266 | SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { | |
267 | SWIG_TypeCheck_Template(iter->type == from, into); | |
093d3ff1 RD |
268 | } |
269 | ||
270 | /* | |
271 | Cast a pointer up an inheritance hierarchy | |
272 | */ | |
273 | SWIGRUNTIMEINLINE void * | |
32fe5131 | 274 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { |
093d3ff1 RD |
275 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); |
276 | } | |
277 | ||
278 | /* | |
279 | Dynamic pointer casting. Down an inheritance hierarchy | |
280 | */ | |
281 | SWIGRUNTIME swig_type_info * | |
282 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
283 | swig_type_info *lastty = ty; | |
284 | if (!ty || !ty->dcast) return ty; | |
285 | while (ty && (ty->dcast)) { | |
286 | ty = (*ty->dcast)(ptr); | |
287 | if (ty) lastty = ty; | |
288 | } | |
289 | return lastty; | |
290 | } | |
291 | ||
292 | /* | |
293 | Return the name associated with this type | |
294 | */ | |
295 | SWIGRUNTIMEINLINE const char * | |
296 | SWIG_TypeName(const swig_type_info *ty) { | |
297 | return ty->name; | |
298 | } | |
299 | ||
300 | /* | |
301 | Return the pretty name associated with this type, | |
302 | that is an unmangled type name in a form presentable to the user. | |
303 | */ | |
304 | SWIGRUNTIME const char * | |
305 | SWIG_TypePrettyName(const swig_type_info *type) { | |
306 | /* The "str" field contains the equivalent pretty names of the | |
307 | type, separated by vertical-bar characters. We choose | |
308 | to print the last name, as it is often (?) the most | |
309 | specific. */ | |
310 | if (type->str != NULL) { | |
311 | const char *last_name = type->str; | |
312 | const char *s; | |
313 | for (s = type->str; *s; s++) | |
314 | if (*s == '|') last_name = s+1; | |
315 | return last_name; | |
316 | } | |
317 | else | |
318 | return type->name; | |
319 | } | |
320 | ||
093d3ff1 RD |
321 | /* |
322 | Set the clientdata field for a type | |
323 | */ | |
324 | SWIGRUNTIME void | |
32fe5131 RD |
325 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { |
326 | swig_cast_info *cast = ti->cast; | |
093d3ff1 RD |
327 | /* if (ti->clientdata == clientdata) return; */ |
328 | ti->clientdata = clientdata; | |
32fe5131 RD |
329 | |
330 | while (cast) { | |
331 | if (!cast->converter) { | |
332 | swig_type_info *tc = cast->type; | |
333 | if (!tc->clientdata) { | |
334 | SWIG_TypeClientData(tc, clientdata); | |
093d3ff1 | 335 | } |
32fe5131 RD |
336 | } |
337 | cast = cast->next; | |
338 | } | |
339 | } | |
340 | ||
341 | /* | |
342 | Search for a swig_type_info structure only by mangled name | |
343 | Search is a O(log #types) | |
344 | ||
345 | We start searching at module start, and finish searching when start == end. | |
346 | Note: if start == end at the beginning of the function, we go all the way around | |
347 | the circular list. | |
348 | */ | |
349 | SWIGRUNTIME swig_type_info * | |
350 | SWIG_MangledTypeQueryModule(swig_module_info *start, | |
351 | swig_module_info *end, | |
352 | const char *name) { | |
353 | swig_module_info *iter = start; | |
354 | do { | |
355 | if (iter->size) { | |
356 | register size_t l = 0; | |
357 | register size_t r = iter->size - 1; | |
358 | do { | |
359 | /* since l+r >= 0, we can (>> 1) instead (/ 2) */ | |
360 | register size_t i = (l + r) >> 1; | |
361 | const char *iname = iter->types[i]->name; | |
362 | if (iname) { | |
363 | register int compare = strcmp(name, iname); | |
364 | if (compare == 0) { | |
365 | return iter->types[i]; | |
366 | } else if (compare < 0) { | |
367 | if (i) { | |
368 | r = i - 1; | |
369 | } else { | |
370 | break; | |
371 | } | |
372 | } else if (compare > 0) { | |
373 | l = i + 1; | |
374 | } | |
375 | } else { | |
376 | break; /* should never happen */ | |
377 | } | |
378 | } while (l <= r); | |
093d3ff1 | 379 | } |
32fe5131 RD |
380 | iter = iter->next; |
381 | } while (iter != end); | |
382 | return 0; | |
383 | } | |
384 | ||
385 | /* | |
386 | Search for a swig_type_info structure for either a mangled name or a human readable name. | |
387 | It first searches the mangled names of the types, which is a O(log #types) | |
388 | If a type is not found it then searches the human readable names, which is O(#types). | |
389 | ||
390 | We start searching at module start, and finish searching when start == end. | |
391 | Note: if start == end at the beginning of the function, we go all the way around | |
392 | the circular list. | |
393 | */ | |
394 | SWIGRUNTIME swig_type_info * | |
395 | SWIG_TypeQueryModule(swig_module_info *start, | |
396 | swig_module_info *end, | |
397 | const char *name) { | |
398 | /* STEP 1: Search the name field using binary search */ | |
399 | swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); | |
400 | if (ret) { | |
401 | return ret; | |
402 | } else { | |
403 | /* STEP 2: If the type hasn't been found, do a complete search | |
404 | of the str field (the human readable name) */ | |
405 | swig_module_info *iter = start; | |
406 | do { | |
407 | register size_t i = 0; | |
408 | for (; i < iter->size; ++i) { | |
409 | if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) | |
410 | return iter->types[i]; | |
411 | } | |
412 | iter = iter->next; | |
413 | } while (iter != end); | |
093d3ff1 | 414 | } |
32fe5131 RD |
415 | |
416 | /* neither found a match */ | |
417 | return 0; | |
093d3ff1 RD |
418 | } |
419 | ||
32fe5131 | 420 | |
093d3ff1 RD |
421 | /* |
422 | Pack binary data into a string | |
423 | */ | |
424 | SWIGRUNTIME char * | |
425 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
32fe5131 RD |
426 | static const char hex[17] = "0123456789abcdef"; |
427 | register const unsigned char *u = (unsigned char *) ptr; | |
428 | register const unsigned char *eu = u + sz; | |
093d3ff1 | 429 | for (; u != eu; ++u) { |
32fe5131 | 430 | register unsigned char uu = *u; |
093d3ff1 RD |
431 | *(c++) = hex[(uu & 0xf0) >> 4]; |
432 | *(c++) = hex[uu & 0xf]; | |
433 | } | |
434 | return c; | |
435 | } | |
436 | ||
437 | /* | |
438 | Unpack binary data from a string | |
439 | */ | |
440 | SWIGRUNTIME const char * | |
441 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
442 | register unsigned char *u = (unsigned char *) ptr; | |
32fe5131 | 443 | register const unsigned char *eu = u + sz; |
093d3ff1 | 444 | for (; u != eu; ++u) { |
32fe5131 | 445 | register char d = *(c++); |
093d3ff1 RD |
446 | register unsigned char uu = 0; |
447 | if ((d >= '0') && (d <= '9')) | |
448 | uu = ((d - '0') << 4); | |
449 | else if ((d >= 'a') && (d <= 'f')) | |
450 | uu = ((d - ('a'-10)) << 4); | |
451 | else | |
452 | return (char *) 0; | |
453 | d = *(c++); | |
454 | if ((d >= '0') && (d <= '9')) | |
455 | uu |= (d - '0'); | |
456 | else if ((d >= 'a') && (d <= 'f')) | |
457 | uu |= (d - ('a'-10)); | |
458 | else | |
459 | return (char *) 0; | |
460 | *u = uu; | |
461 | } | |
462 | return c; | |
463 | } | |
464 | ||
093d3ff1 RD |
465 | /* |
466 | Pack 'void *' into a string buffer. | |
467 | */ | |
468 | SWIGRUNTIME char * | |
469 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
470 | char *r = buff; | |
471 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
472 | *(r++) = '_'; | |
473 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
474 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
475 | strcpy(r,name); | |
476 | return buff; | |
477 | } | |
478 | ||
479 | SWIGRUNTIME const char * | |
480 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
481 | if (*c != '_') { | |
482 | if (strcmp(c,"NULL") == 0) { | |
483 | *ptr = (void *) 0; | |
484 | return name; | |
485 | } else { | |
486 | return 0; | |
487 | } | |
488 | } | |
489 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
490 | } | |
491 | ||
492 | SWIGRUNTIME char * | |
493 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
494 | char *r = buff; | |
495 | size_t lname = (name ? strlen(name) : 0); | |
496 | if ((2*sz + 2 + lname) > bsz) return 0; | |
497 | *(r++) = '_'; | |
498 | r = SWIG_PackData(r,ptr,sz); | |
499 | if (lname) { | |
500 | strncpy(r,name,lname+1); | |
501 | } else { | |
502 | *r = 0; | |
503 | } | |
504 | return buff; | |
505 | } | |
d14a1e28 | 506 | |
093d3ff1 RD |
507 | SWIGRUNTIME const char * |
508 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
509 | if (*c != '_') { | |
510 | if (strcmp(c,"NULL") == 0) { | |
511 | memset(ptr,0,sz); | |
512 | return name; | |
513 | } else { | |
514 | return 0; | |
515 | } | |
516 | } | |
517 | return SWIG_UnpackData(++c,ptr,sz); | |
518 | } | |
d14a1e28 RD |
519 | |
520 | #ifdef __cplusplus | |
521 | } | |
522 | #endif | |
523 | ||
093d3ff1 RD |
524 | /* ----------------------------------------------------------------------------- |
525 | * SWIG API. Portion that goes into the runtime | |
526 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 527 | |
093d3ff1 RD |
528 | #ifdef __cplusplus |
529 | extern "C" { | |
530 | #endif | |
c32bde28 | 531 | |
093d3ff1 RD |
532 | /* ----------------------------------------------------------------------------- |
533 | * for internal method declarations | |
534 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 535 | |
093d3ff1 | 536 | #ifndef SWIGINTERN |
32fe5131 | 537 | # define SWIGINTERN static SWIGUNUSED |
093d3ff1 | 538 | #endif |
d14a1e28 | 539 | |
32fe5131 RD |
540 | #ifndef SWIGINTERNINLINE |
541 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
093d3ff1 | 542 | #endif |
d14a1e28 | 543 | |
093d3ff1 RD |
544 | /* |
545 | Exception handling in wrappers | |
546 | */ | |
547 | #define SWIG_fail goto fail | |
548 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
549 | #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) | |
550 | #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) | |
551 | #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) | |
552 | #define SWIG_null_ref(type) SWIG_Python_NullRef(type) | |
553 | ||
554 | /* | |
555 | Contract support | |
556 | */ | |
557 | #define SWIG_contract_assert(expr, msg) \ | |
558 | if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
559 | ||
560 | /* ----------------------------------------------------------------------------- | |
561 | * Constant declarations | |
562 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 563 | |
093d3ff1 RD |
564 | /* Constant Types */ |
565 | #define SWIG_PY_INT 1 | |
566 | #define SWIG_PY_FLOAT 2 | |
567 | #define SWIG_PY_STRING 3 | |
568 | #define SWIG_PY_POINTER 4 | |
569 | #define SWIG_PY_BINARY 5 | |
570 | ||
571 | /* Constant information structure */ | |
572 | typedef struct swig_const_info { | |
573 | int type; | |
574 | char *name; | |
575 | long lvalue; | |
576 | double dvalue; | |
577 | void *pvalue; | |
578 | swig_type_info **ptype; | |
579 | } swig_const_info; | |
d14a1e28 | 580 | |
c32bde28 | 581 | |
093d3ff1 RD |
582 | /* ----------------------------------------------------------------------------- |
583 | * Alloc. memory flags | |
584 | * ----------------------------------------------------------------------------- */ | |
c32bde28 RD |
585 | #define SWIG_OLDOBJ 1 |
586 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
587 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
994141e6 | 588 | |
994141e6 | 589 | #ifdef __cplusplus |
093d3ff1 RD |
590 | } |
591 | #endif | |
994141e6 | 592 | |
15afbcd0 | 593 | |
093d3ff1 RD |
594 | /*********************************************************************** |
595 | * pyrun.swg | |
596 | * | |
597 | * This file contains the runtime support for Python modules | |
598 | * and includes code for managing global variables and pointer | |
599 | * type checking. | |
600 | * | |
601 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
602 | ************************************************************************/ | |
15afbcd0 | 603 | |
093d3ff1 RD |
604 | /* Common SWIG API */ |
605 | #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
606 | #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) | |
607 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
608 | ||
994141e6 | 609 | |
093d3ff1 RD |
610 | /* Python-specific SWIG API */ |
611 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
612 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
994141e6 | 613 | |
32fe5131 RD |
614 | /* Runtime API */ |
615 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() | |
616 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
994141e6 | 617 | |
093d3ff1 RD |
618 | /* ----------------------------------------------------------------------------- |
619 | * Pointer declarations | |
620 | * ----------------------------------------------------------------------------- */ | |
621 | /* | |
622 | Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent | |
623 | C/C++ pointers in the python side. Very useful for debugging, but | |
624 | not always safe. | |
625 | */ | |
626 | #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) | |
627 | # define SWIG_COBJECT_TYPES | |
628 | #endif | |
994141e6 | 629 | |
093d3ff1 RD |
630 | /* Flags for pointer conversion */ |
631 | #define SWIG_POINTER_EXCEPTION 0x1 | |
632 | #define SWIG_POINTER_DISOWN 0x2 | |
d14a1e28 RD |
633 | |
634 | ||
32fe5131 RD |
635 | /* Add PyOS_snprintf for old Pythons */ |
636 | #if PY_VERSION_HEX < 0x02020000 | |
637 | #define PyOS_snprintf snprintf | |
638 | #endif | |
639 | ||
093d3ff1 RD |
640 | #ifdef __cplusplus |
641 | extern "C" { | |
642 | #endif | |
d14a1e28 | 643 | |
093d3ff1 RD |
644 | /* ----------------------------------------------------------------------------- |
645 | * Create a new pointer string | |
646 | * ----------------------------------------------------------------------------- */ | |
093d3ff1 RD |
647 | #ifndef SWIG_BUFFER_SIZE |
648 | #define SWIG_BUFFER_SIZE 1024 | |
649 | #endif | |
15afbcd0 | 650 | |
32fe5131 RD |
651 | /* A crude PyString_FromFormat implementation for old Pythons */ |
652 | #if PY_VERSION_HEX < 0x02020000 | |
653 | static PyObject * | |
654 | PyString_FromFormat(const char *fmt, ...) { | |
655 | va_list ap; | |
656 | char buf[SWIG_BUFFER_SIZE * 2]; | |
657 | int res; | |
658 | va_start(ap, fmt); | |
659 | res = vsnprintf(buf, sizeof(buf), fmt, ap); | |
660 | va_end(ap); | |
661 | return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); | |
662 | } | |
663 | #endif | |
664 | ||
665 | #if PY_VERSION_HEX < 0x01060000 | |
666 | #define PyObject_Del(op) PyMem_DEL((op)) | |
667 | #endif | |
668 | ||
093d3ff1 RD |
669 | #if defined(SWIG_COBJECT_TYPES) |
670 | #if !defined(SWIG_COBJECT_PYTHON) | |
671 | /* ----------------------------------------------------------------------------- | |
672 | * Implements a simple Swig Object type, and use it instead of PyCObject | |
673 | * ----------------------------------------------------------------------------- */ | |
15afbcd0 | 674 | |
093d3ff1 RD |
675 | typedef struct { |
676 | PyObject_HEAD | |
677 | void *ptr; | |
678 | const char *desc; | |
679 | } PySwigObject; | |
994141e6 | 680 | |
093d3ff1 | 681 | /* Declarations for objects of type PySwigObject */ |
994141e6 | 682 | |
093d3ff1 RD |
683 | SWIGRUNTIME int |
684 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
994141e6 | 685 | { |
093d3ff1 | 686 | char result[SWIG_BUFFER_SIZE]; |
32fe5131 | 687 | flags = flags; |
093d3ff1 RD |
688 | if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { |
689 | fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp); | |
690 | return 0; | |
c32bde28 | 691 | } else { |
093d3ff1 | 692 | return 1; |
c32bde28 | 693 | } |
15afbcd0 | 694 | } |
093d3ff1 RD |
695 | |
696 | SWIGRUNTIME PyObject * | |
697 | PySwigObject_repr(PySwigObject *v) | |
c32bde28 | 698 | { |
093d3ff1 RD |
699 | char result[SWIG_BUFFER_SIZE]; |
700 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
701 | PyString_FromFormat("<Swig Object at %s>", result) : 0; | |
c32bde28 | 702 | } |
15afbcd0 | 703 | |
093d3ff1 RD |
704 | SWIGRUNTIME PyObject * |
705 | PySwigObject_str(PySwigObject *v) | |
15afbcd0 | 706 | { |
093d3ff1 RD |
707 | char result[SWIG_BUFFER_SIZE]; |
708 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
709 | PyString_FromString(result) : 0; | |
15afbcd0 RD |
710 | } |
711 | ||
093d3ff1 RD |
712 | SWIGRUNTIME PyObject * |
713 | PySwigObject_long(PySwigObject *v) | |
15afbcd0 | 714 | { |
32fe5131 RD |
715 | return PyLong_FromVoidPtr(v->ptr); |
716 | } | |
717 | ||
718 | SWIGRUNTIME PyObject * | |
719 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
720 | { | |
721 | PyObject *res = NULL; | |
722 | PyObject *args = PyTuple_New(1); | |
723 | if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { | |
724 | PyObject *ofmt = PyString_FromString(fmt); | |
725 | if (ofmt) { | |
726 | res = PyString_Format(ofmt,args); | |
727 | Py_DECREF(ofmt); | |
728 | } | |
729 | Py_DECREF(args); | |
730 | } | |
731 | return res; | |
15afbcd0 RD |
732 | } |
733 | ||
093d3ff1 RD |
734 | SWIGRUNTIME PyObject * |
735 | PySwigObject_oct(PySwigObject *v) | |
c32bde28 | 736 | { |
32fe5131 | 737 | return PySwigObject_format("%o",v); |
c32bde28 | 738 | } |
15afbcd0 | 739 | |
093d3ff1 RD |
740 | SWIGRUNTIME PyObject * |
741 | PySwigObject_hex(PySwigObject *v) | |
994141e6 | 742 | { |
32fe5131 | 743 | return PySwigObject_format("%x",v); |
994141e6 RD |
744 | } |
745 | ||
093d3ff1 RD |
746 | SWIGRUNTIME int |
747 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
15afbcd0 | 748 | { |
093d3ff1 RD |
749 | int c = strcmp(v->desc, w->desc); |
750 | if (c) { | |
32fe5131 | 751 | return (c > 0) ? 1 : -1; |
093d3ff1 RD |
752 | } else { |
753 | void *i = v->ptr; | |
754 | void *j = w->ptr; | |
32fe5131 | 755 | return (i < j) ? -1 : ((i > j) ? 1 : 0); |
c32bde28 | 756 | } |
c32bde28 RD |
757 | } |
758 | ||
093d3ff1 RD |
759 | SWIGRUNTIME void |
760 | PySwigObject_dealloc(PySwigObject *self) | |
c32bde28 | 761 | { |
32fe5131 | 762 | PyObject_Del(self); |
15afbcd0 RD |
763 | } |
764 | ||
093d3ff1 | 765 | SWIGRUNTIME PyTypeObject* |
32fe5131 RD |
766 | PySwigObject_type(void) { |
767 | static char pyswigobject_type__doc__[] = | |
093d3ff1 | 768 | "Swig object carries a C/C++ instance pointer"; |
c32bde28 | 769 | |
093d3ff1 RD |
770 | static PyNumberMethods PySwigObject_as_number = { |
771 | (binaryfunc)0, /*nb_add*/ | |
772 | (binaryfunc)0, /*nb_subtract*/ | |
773 | (binaryfunc)0, /*nb_multiply*/ | |
774 | (binaryfunc)0, /*nb_divide*/ | |
775 | (binaryfunc)0, /*nb_remainder*/ | |
776 | (binaryfunc)0, /*nb_divmod*/ | |
777 | (ternaryfunc)0,/*nb_power*/ | |
778 | (unaryfunc)0, /*nb_negative*/ | |
779 | (unaryfunc)0, /*nb_positive*/ | |
780 | (unaryfunc)0, /*nb_absolute*/ | |
781 | (inquiry)0, /*nb_nonzero*/ | |
782 | 0, /*nb_invert*/ | |
783 | 0, /*nb_lshift*/ | |
784 | 0, /*nb_rshift*/ | |
785 | 0, /*nb_and*/ | |
786 | 0, /*nb_xor*/ | |
787 | 0, /*nb_or*/ | |
788 | (coercion)0, /*nb_coerce*/ | |
789 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
790 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
791 | (unaryfunc)0, /*nb_float*/ | |
792 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
793 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
32fe5131 | 794 | #if PY_VERSION_HEX >= 0x02020000 |
093d3ff1 | 795 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ |
32fe5131 RD |
796 | #elif PY_VERSION_HEX >= 0x02000000 |
797 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
093d3ff1 RD |
798 | #endif |
799 | }; | |
800 | ||
32fe5131 RD |
801 | static PyTypeObject pyswigobject_type |
802 | #if !defined(__cplusplus) | |
803 | ; | |
804 | static int type_init = 0; | |
093d3ff1 | 805 | if (!type_init) { |
32fe5131 RD |
806 | PyTypeObject tmp |
807 | #endif | |
808 | = { | |
093d3ff1 RD |
809 | PyObject_HEAD_INIT(&PyType_Type) |
810 | 0, /*ob_size*/ | |
32fe5131 | 811 | (char *)"PySwigObject", /*tp_name*/ |
093d3ff1 RD |
812 | sizeof(PySwigObject), /*tp_basicsize*/ |
813 | 0, /*tp_itemsize*/ | |
814 | /* methods */ | |
815 | (destructor)PySwigObject_dealloc, /*tp_dealloc*/ | |
816 | (printfunc)PySwigObject_print, /*tp_print*/ | |
817 | (getattrfunc)0, /*tp_getattr*/ | |
818 | (setattrfunc)0, /*tp_setattr*/ | |
819 | (cmpfunc)PySwigObject_compare, /*tp_compare*/ | |
820 | (reprfunc)PySwigObject_repr, /*tp_repr*/ | |
821 | &PySwigObject_as_number, /*tp_as_number*/ | |
822 | 0, /*tp_as_sequence*/ | |
823 | 0, /*tp_as_mapping*/ | |
824 | (hashfunc)0, /*tp_hash*/ | |
825 | (ternaryfunc)0, /*tp_call*/ | |
826 | (reprfunc)PySwigObject_str, /*tp_str*/ | |
827 | /* Space for future expansion */ | |
32fe5131 RD |
828 | 0,0,0,0, |
829 | pyswigobject_type__doc__, /* Documentation string */ | |
093d3ff1 RD |
830 | #if PY_VERSION_HEX >= 0x02000000 |
831 | 0, /* tp_traverse */ | |
832 | 0, /* tp_clear */ | |
833 | #endif | |
834 | #if PY_VERSION_HEX >= 0x02010000 | |
835 | 0, /* tp_richcompare */ | |
836 | 0, /* tp_weaklistoffset */ | |
837 | #endif | |
838 | #if PY_VERSION_HEX >= 0x02020000 | |
839 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
840 | #endif | |
841 | #if PY_VERSION_HEX >= 0x02030000 | |
842 | 0, /* tp_del */ | |
843 | #endif | |
844 | #ifdef COUNT_ALLOCS | |
845 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
846 | #endif | |
847 | }; | |
32fe5131 RD |
848 | #if !defined(__cplusplus) |
849 | pyswigobject_type = tmp; | |
093d3ff1 RD |
850 | type_init = 1; |
851 | } | |
32fe5131 RD |
852 | #endif |
853 | return &pyswigobject_type; | |
093d3ff1 RD |
854 | } |
855 | ||
856 | SWIGRUNTIME PyObject * | |
857 | PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) | |
c32bde28 | 858 | { |
32fe5131 RD |
859 | PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); |
860 | if (self) { | |
861 | self->ptr = ptr; | |
862 | self->desc = desc; | |
863 | } | |
093d3ff1 | 864 | return (PyObject *)self; |
c32bde28 | 865 | } |
15afbcd0 | 866 | |
093d3ff1 RD |
867 | SWIGRUNTIMEINLINE void * |
868 | PySwigObject_AsVoidPtr(PyObject *self) | |
869 | { | |
870 | return ((PySwigObject *)self)->ptr; | |
871 | } | |
c32bde28 | 872 | |
093d3ff1 RD |
873 | SWIGRUNTIMEINLINE const char * |
874 | PySwigObject_GetDesc(PyObject *self) | |
875 | { | |
876 | return ((PySwigObject *)self)->desc; | |
877 | } | |
d14a1e28 | 878 | |
093d3ff1 RD |
879 | SWIGRUNTIMEINLINE int |
880 | PySwigObject_Check(PyObject *op) { | |
32fe5131 | 881 | return ((op)->ob_type == PySwigObject_type()) |
093d3ff1 RD |
882 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); |
883 | } | |
d14a1e28 | 884 | |
093d3ff1 RD |
885 | /* ----------------------------------------------------------------------------- |
886 | * Implements a simple Swig Packed type, and use it instead of string | |
887 | * ----------------------------------------------------------------------------- */ | |
994141e6 | 888 | |
093d3ff1 RD |
889 | typedef struct { |
890 | PyObject_HEAD | |
891 | void *pack; | |
892 | const char *desc; | |
893 | size_t size; | |
894 | } PySwigPacked; | |
c32bde28 | 895 | |
093d3ff1 RD |
896 | SWIGRUNTIME int |
897 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) | |
994141e6 | 898 | { |
093d3ff1 | 899 | char result[SWIG_BUFFER_SIZE]; |
32fe5131 | 900 | flags = flags; |
093d3ff1 RD |
901 | fputs("<Swig Packed ", fp); |
902 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
903 | fputs("at ", fp); | |
904 | fputs(result, fp); | |
905 | } | |
906 | fputs(v->desc,fp); | |
907 | fputs(">", fp); | |
908 | return 0; | |
909 | } | |
910 | ||
911 | SWIGRUNTIME PyObject * | |
912 | PySwigPacked_repr(PySwigPacked *v) | |
913 | { | |
914 | char result[SWIG_BUFFER_SIZE]; | |
915 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
916 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc); | |
917 | } else { | |
918 | return PyString_FromFormat("<Swig Packed %s>", v->desc); | |
919 | } | |
15afbcd0 RD |
920 | } |
921 | ||
093d3ff1 RD |
922 | SWIGRUNTIME PyObject * |
923 | PySwigPacked_str(PySwigPacked *v) | |
924 | { | |
925 | char result[SWIG_BUFFER_SIZE]; | |
926 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
927 | return PyString_FromFormat("%s%s", result, v->desc); | |
928 | } else { | |
32fe5131 | 929 | return PyString_FromString(v->desc); |
093d3ff1 RD |
930 | } |
931 | } | |
15afbcd0 | 932 | |
093d3ff1 RD |
933 | SWIGRUNTIME int |
934 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
15afbcd0 | 935 | { |
093d3ff1 RD |
936 | int c = strcmp(v->desc, w->desc); |
937 | if (c) { | |
32fe5131 | 938 | return (c > 0) ? 1 : -1; |
093d3ff1 RD |
939 | } else { |
940 | size_t i = v->size; | |
941 | size_t j = w->size; | |
32fe5131 | 942 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); |
093d3ff1 | 943 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); |
15afbcd0 | 944 | } |
c32bde28 RD |
945 | } |
946 | ||
093d3ff1 RD |
947 | SWIGRUNTIME void |
948 | PySwigPacked_dealloc(PySwigPacked *self) | |
c32bde28 | 949 | { |
093d3ff1 | 950 | free(self->pack); |
32fe5131 | 951 | PyObject_Del(self); |
994141e6 RD |
952 | } |
953 | ||
093d3ff1 | 954 | SWIGRUNTIME PyTypeObject* |
32fe5131 RD |
955 | PySwigPacked_type(void) { |
956 | static char pyswigpacked_type__doc__[] = | |
093d3ff1 | 957 | "Swig object carries a C/C++ instance pointer"; |
32fe5131 RD |
958 | static PyTypeObject pyswigpacked_type |
959 | #if !defined(__cplusplus) | |
960 | ; | |
961 | static int type_init = 0; | |
093d3ff1 | 962 | if (!type_init) { |
32fe5131 RD |
963 | PyTypeObject tmp |
964 | #endif | |
965 | = { | |
093d3ff1 RD |
966 | PyObject_HEAD_INIT(&PyType_Type) |
967 | 0, /*ob_size*/ | |
32fe5131 | 968 | (char *)"PySwigPacked", /*tp_name*/ |
093d3ff1 RD |
969 | sizeof(PySwigPacked), /*tp_basicsize*/ |
970 | 0, /*tp_itemsize*/ | |
971 | /* methods */ | |
972 | (destructor)PySwigPacked_dealloc, /*tp_dealloc*/ | |
973 | (printfunc)PySwigPacked_print, /*tp_print*/ | |
974 | (getattrfunc)0, /*tp_getattr*/ | |
975 | (setattrfunc)0, /*tp_setattr*/ | |
976 | (cmpfunc)PySwigPacked_compare, /*tp_compare*/ | |
977 | (reprfunc)PySwigPacked_repr, /*tp_repr*/ | |
978 | 0, /*tp_as_number*/ | |
979 | 0, /*tp_as_sequence*/ | |
980 | 0, /*tp_as_mapping*/ | |
981 | (hashfunc)0, /*tp_hash*/ | |
982 | (ternaryfunc)0, /*tp_call*/ | |
983 | (reprfunc)PySwigPacked_str, /*tp_str*/ | |
984 | /* Space for future expansion */ | |
32fe5131 RD |
985 | 0,0,0,0, |
986 | pyswigpacked_type__doc__, /* Documentation string */ | |
093d3ff1 RD |
987 | #if PY_VERSION_HEX >= 0x02000000 |
988 | 0, /* tp_traverse */ | |
989 | 0, /* tp_clear */ | |
990 | #endif | |
991 | #if PY_VERSION_HEX >= 0x02010000 | |
992 | 0, /* tp_richcompare */ | |
993 | 0, /* tp_weaklistoffset */ | |
994 | #endif | |
995 | #if PY_VERSION_HEX >= 0x02020000 | |
996 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
997 | #endif | |
998 | #if PY_VERSION_HEX >= 0x02030000 | |
999 | 0, /* tp_del */ | |
1000 | #endif | |
1001 | #ifdef COUNT_ALLOCS | |
1002 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1003 | #endif | |
1004 | }; | |
32fe5131 RD |
1005 | #if !defined(__cplusplus) |
1006 | pyswigpacked_type = tmp; | |
093d3ff1 RD |
1007 | type_init = 1; |
1008 | } | |
32fe5131 RD |
1009 | #endif |
1010 | return &pyswigpacked_type; | |
093d3ff1 | 1011 | } |
d14a1e28 | 1012 | |
093d3ff1 RD |
1013 | SWIGRUNTIME PyObject * |
1014 | PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) | |
1015 | { | |
32fe5131 | 1016 | PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); |
093d3ff1 RD |
1017 | if (self == NULL) { |
1018 | return NULL; | |
1019 | } else { | |
1020 | void *pack = malloc(size); | |
32fe5131 RD |
1021 | if (pack) { |
1022 | memcpy(pack, ptr, size); | |
1023 | self->pack = pack; | |
1024 | self->desc = desc; | |
1025 | self->size = size; | |
1026 | return (PyObject *) self; | |
1027 | } | |
1028 | return NULL; | |
093d3ff1 RD |
1029 | } |
1030 | } | |
d14a1e28 | 1031 | |
093d3ff1 RD |
1032 | SWIGRUNTIMEINLINE const char * |
1033 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
d14a1e28 | 1034 | { |
093d3ff1 RD |
1035 | PySwigPacked *self = (PySwigPacked *)obj; |
1036 | if (self->size != size) return 0; | |
1037 | memcpy(ptr, self->pack, size); | |
1038 | return self->desc; | |
1039 | } | |
d14a1e28 | 1040 | |
093d3ff1 RD |
1041 | SWIGRUNTIMEINLINE const char * |
1042 | PySwigPacked_GetDesc(PyObject *self) | |
1043 | { | |
1044 | return ((PySwigPacked *)self)->desc; | |
1045 | } | |
d14a1e28 | 1046 | |
093d3ff1 RD |
1047 | SWIGRUNTIMEINLINE int |
1048 | PySwigPacked_Check(PyObject *op) { | |
32fe5131 | 1049 | return ((op)->ob_type == PySwigPacked_type()) |
093d3ff1 RD |
1050 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); |
1051 | } | |
d14a1e28 | 1052 | |
093d3ff1 RD |
1053 | #else |
1054 | /* ----------------------------------------------------------------------------- | |
1055 | * Use the old Python PyCObject instead of PySwigObject | |
1056 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 1057 | |
093d3ff1 RD |
1058 | #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj) |
1059 | #define PySwigObject_Check(obj) PyCObject_Check(obj) | |
1060 | #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj) | |
1061 | #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL) | |
d14a1e28 | 1062 | |
093d3ff1 | 1063 | #endif |
d14a1e28 | 1064 | |
093d3ff1 | 1065 | #endif |
d14a1e28 | 1066 | |
093d3ff1 RD |
1067 | /* ----------------------------------------------------------------------------- |
1068 | * errors manipulation | |
1069 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 1070 | |
093d3ff1 RD |
1071 | SWIGRUNTIME void |
1072 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
1073 | { | |
1074 | if (type) { | |
1075 | #if defined(SWIG_COBJECT_TYPES) | |
32fe5131 | 1076 | if (obj && PySwigObject_Check(obj)) { |
093d3ff1 RD |
1077 | const char *otype = (const char *) PySwigObject_GetDesc(obj); |
1078 | if (otype) { | |
1079 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
1080 | type, otype); | |
1081 | return; | |
1082 | } | |
1083 | } else | |
1084 | #endif | |
1085 | { | |
1086 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
1087 | if (otype) { | |
1088 | PyObject *str = PyObject_Str(obj); | |
1089 | const char *cstr = str ? PyString_AsString(str) : 0; | |
1090 | if (cstr) { | |
1091 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
1092 | type, otype, cstr); | |
1093 | } else { | |
1094 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
1095 | type, otype); | |
1096 | } | |
32fe5131 | 1097 | Py_XDECREF(str); |
093d3ff1 RD |
1098 | return; |
1099 | } | |
1100 | } | |
1101 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1102 | } else { | |
1103 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
1104 | } | |
1105 | } | |
d14a1e28 | 1106 | |
093d3ff1 RD |
1107 | SWIGRUNTIMEINLINE void |
1108 | SWIG_Python_NullRef(const char *type) | |
1109 | { | |
1110 | if (type) { | |
1111 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1112 | } else { | |
1113 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1114 | } | |
1115 | } | |
d14a1e28 | 1116 | |
093d3ff1 RD |
1117 | SWIGRUNTIME int |
1118 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
1119 | { | |
1120 | if (PyErr_Occurred()) { | |
1121 | PyObject *type = 0; | |
1122 | PyObject *value = 0; | |
1123 | PyObject *traceback = 0; | |
1124 | PyErr_Fetch(&type, &value, &traceback); | |
1125 | if (value) { | |
1126 | PyObject *old_str = PyObject_Str(value); | |
1127 | Py_XINCREF(type); | |
1128 | PyErr_Clear(); | |
1129 | if (infront) { | |
1130 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1131 | } else { | |
1132 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1133 | } | |
1134 | Py_DECREF(old_str); | |
1135 | } | |
1136 | return 1; | |
1137 | } else { | |
1138 | return 0; | |
1139 | } | |
1140 | } | |
d14a1e28 | 1141 | |
093d3ff1 RD |
1142 | SWIGRUNTIME int |
1143 | SWIG_Python_ArgFail(int argnum) | |
d14a1e28 | 1144 | { |
093d3ff1 RD |
1145 | if (PyErr_Occurred()) { |
1146 | /* add information about failing argument */ | |
1147 | char mesg[256]; | |
32fe5131 | 1148 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); |
093d3ff1 RD |
1149 | return SWIG_Python_AddErrMesg(mesg, 1); |
1150 | } else { | |
1151 | return 0; | |
1152 | } | |
1153 | } | |
d14a1e28 | 1154 | |
d14a1e28 | 1155 | |
093d3ff1 RD |
1156 | /* ----------------------------------------------------------------------------- |
1157 | * pointers/data manipulation | |
1158 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 1159 | |
093d3ff1 RD |
1160 | /* Convert a pointer value */ |
1161 | SWIGRUNTIME int | |
1162 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
32fe5131 | 1163 | swig_cast_info *tc; |
093d3ff1 RD |
1164 | const char *c = 0; |
1165 | static PyObject *SWIG_this = 0; | |
1166 | int newref = 0; | |
1167 | PyObject *pyobj = 0; | |
1168 | void *vptr; | |
1169 | ||
1170 | if (!obj) return 0; | |
1171 | if (obj == Py_None) { | |
1172 | *ptr = 0; | |
1173 | return 0; | |
1174 | } | |
d14a1e28 | 1175 | |
093d3ff1 RD |
1176 | #ifdef SWIG_COBJECT_TYPES |
1177 | if (!(PySwigObject_Check(obj))) { | |
1178 | if (!SWIG_this) | |
1179 | SWIG_this = PyString_FromString("this"); | |
1180 | pyobj = obj; | |
1181 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1182 | newref = 1; | |
1183 | if (!obj) goto type_error; | |
1184 | if (!PySwigObject_Check(obj)) { | |
1185 | Py_DECREF(obj); | |
1186 | goto type_error; | |
1187 | } | |
1188 | } | |
1189 | vptr = PySwigObject_AsVoidPtr(obj); | |
1190 | c = (const char *) PySwigObject_GetDesc(obj); | |
1191 | if (newref) { Py_DECREF(obj); } | |
1192 | goto type_check; | |
1193 | #else | |
1194 | if (!(PyString_Check(obj))) { | |
1195 | if (!SWIG_this) | |
1196 | SWIG_this = PyString_FromString("this"); | |
1197 | pyobj = obj; | |
1198 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1199 | newref = 1; | |
1200 | if (!obj) goto type_error; | |
1201 | if (!PyString_Check(obj)) { | |
1202 | Py_DECREF(obj); | |
1203 | goto type_error; | |
1204 | } | |
1205 | } | |
32fe5131 | 1206 | c = PyString_AsString(obj); |
093d3ff1 RD |
1207 | /* Pointer values must start with leading underscore */ |
1208 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1209 | if (newref) { Py_DECREF(obj); } | |
1210 | if (!c) goto type_error; | |
1211 | #endif | |
d14a1e28 | 1212 | |
093d3ff1 | 1213 | type_check: |
093d3ff1 RD |
1214 | if (ty) { |
1215 | tc = SWIG_TypeCheck(c,ty); | |
1216 | if (!tc) goto type_error; | |
1217 | *ptr = SWIG_TypeCast(tc,vptr); | |
1218 | } else { | |
1219 | *ptr = vptr; | |
1220 | } | |
093d3ff1 RD |
1221 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { |
1222 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1223 | } | |
1224 | return 0; | |
d14a1e28 | 1225 | |
093d3ff1 RD |
1226 | type_error: |
1227 | PyErr_Clear(); | |
1228 | if (pyobj && !obj) { | |
1229 | obj = pyobj; | |
1230 | if (PyCFunction_Check(obj)) { | |
1231 | /* here we get the method pointer for callbacks */ | |
1232 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1233 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1234 | if (c) { | |
32fe5131 | 1235 | c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; |
093d3ff1 RD |
1236 | if (!c) goto type_error; |
1237 | goto type_check; | |
1238 | } | |
1239 | } | |
1240 | } | |
1241 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1242 | if (ty) { | |
1243 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1244 | } else { | |
1245 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
1246 | } | |
1247 | } | |
1248 | return -1; | |
1249 | } | |
d14a1e28 | 1250 | |
093d3ff1 RD |
1251 | /* Convert a pointer value, signal an exception on a type mismatch */ |
1252 | SWIGRUNTIME void * | |
1253 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1254 | void *result; | |
1255 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1256 | PyErr_Clear(); | |
1257 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1258 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1259 | SWIG_Python_ArgFail(argnum); | |
1260 | } | |
1261 | } | |
1262 | return result; | |
1263 | } | |
d14a1e28 | 1264 | |
093d3ff1 RD |
1265 | /* Convert a packed value value */ |
1266 | SWIGRUNTIME int | |
1267 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
32fe5131 | 1268 | swig_cast_info *tc; |
093d3ff1 | 1269 | const char *c = 0; |
d14a1e28 | 1270 | |
093d3ff1 RD |
1271 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) |
1272 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1273 | #else | |
1274 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
32fe5131 | 1275 | c = PyString_AsString(obj); |
093d3ff1 RD |
1276 | /* Pointer values must start with leading underscore */ |
1277 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1278 | #endif | |
1279 | if (!c) goto type_error; | |
1280 | if (ty) { | |
1281 | tc = SWIG_TypeCheck(c,ty); | |
1282 | if (!tc) goto type_error; | |
1283 | } | |
1284 | return 0; | |
d14a1e28 | 1285 | |
093d3ff1 RD |
1286 | type_error: |
1287 | PyErr_Clear(); | |
1288 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1289 | if (ty) { | |
1290 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1291 | } else { | |
1292 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
1293 | } | |
1294 | } | |
1295 | return -1; | |
1296 | } | |
1297 | ||
1298 | /* Create a new array object */ | |
1299 | SWIGRUNTIME PyObject * | |
1300 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1301 | PyObject *robj = 0; | |
32fe5131 RD |
1302 | if (!type) { |
1303 | if (!PyErr_Occurred()) { | |
1304 | PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); | |
1305 | } | |
1306 | return robj; | |
1307 | } | |
093d3ff1 RD |
1308 | if (!ptr) { |
1309 | Py_INCREF(Py_None); | |
1310 | return Py_None; | |
1311 | } | |
1312 | #ifdef SWIG_COBJECT_TYPES | |
1313 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1314 | #else | |
1315 | { | |
1316 | char result[SWIG_BUFFER_SIZE]; | |
1317 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1318 | PyString_FromString(result) : 0; | |
1319 | } | |
1320 | #endif | |
1321 | if (!robj || (robj == Py_None)) return robj; | |
1322 | if (type->clientdata) { | |
1323 | PyObject *inst; | |
1324 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1325 | Py_DECREF(robj); | |
1326 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1327 | Py_DECREF(args); | |
1328 | if (inst) { | |
1329 | if (own) { | |
1330 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1331 | } | |
1332 | robj = inst; | |
1333 | } | |
1334 | } | |
1335 | return robj; | |
1336 | } | |
1337 | ||
1338 | SWIGRUNTIME PyObject * | |
1339 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1340 | PyObject *robj = 0; | |
1341 | if (!ptr) { | |
1342 | Py_INCREF(Py_None); | |
1343 | return Py_None; | |
1344 | } | |
1345 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1346 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1347 | #else | |
1348 | { | |
1349 | char result[SWIG_BUFFER_SIZE]; | |
1350 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1351 | PyString_FromString(result) : 0; | |
1352 | } | |
1353 | #endif | |
1354 | return robj; | |
1355 | } | |
1356 | ||
1357 | /* -----------------------------------------------------------------------------* | |
1358 | * Get type list | |
1359 | * -----------------------------------------------------------------------------*/ | |
1360 | ||
1361 | #ifdef SWIG_LINK_RUNTIME | |
1362 | void *SWIG_ReturnGlobalTypeList(void *); | |
1363 | #endif | |
1364 | ||
32fe5131 RD |
1365 | SWIGRUNTIME swig_module_info * |
1366 | SWIG_Python_GetModule(void) { | |
093d3ff1 RD |
1367 | static void *type_pointer = (void *)0; |
1368 | /* first check if module already created */ | |
1369 | if (!type_pointer) { | |
1370 | #ifdef SWIG_LINK_RUNTIME | |
1371 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1372 | #else | |
1373 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1374 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1375 | if (PyErr_Occurred()) { | |
1376 | PyErr_Clear(); | |
1377 | type_pointer = (void *)0; | |
1378 | } | |
093d3ff1 | 1379 | #endif |
32fe5131 RD |
1380 | } |
1381 | return (swig_module_info *) type_pointer; | |
093d3ff1 RD |
1382 | } |
1383 | ||
32fe5131 RD |
1384 | #if PY_MAJOR_VERSION < 2 |
1385 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
1386 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
1387 | SWIGINTERN int | |
1388 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
1389 | { | |
1390 | PyObject *dict; | |
1391 | if (!PyModule_Check(m)) { | |
1392 | PyErr_SetString(PyExc_TypeError, | |
1393 | "PyModule_AddObject() needs module as first arg"); | |
1394 | return -1; | |
1395 | } | |
1396 | if (!o) { | |
1397 | PyErr_SetString(PyExc_TypeError, | |
1398 | "PyModule_AddObject() needs non-NULL value"); | |
1399 | return -1; | |
1400 | } | |
1401 | ||
1402 | dict = PyModule_GetDict(m); | |
1403 | if (dict == NULL) { | |
1404 | /* Internal error -- modules must have a dict! */ | |
1405 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
1406 | PyModule_GetName(m)); | |
1407 | return -1; | |
1408 | } | |
1409 | if (PyDict_SetItemString(dict, name, o)) | |
1410 | return -1; | |
1411 | Py_DECREF(o); | |
1412 | return 0; | |
093d3ff1 | 1413 | } |
32fe5131 | 1414 | #endif |
093d3ff1 | 1415 | |
32fe5131 RD |
1416 | SWIGRUNTIME void |
1417 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
1418 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
1419 | ||
1420 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1421 | swig_empty_runtime_method_table); | |
1422 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL); | |
1423 | if (pointer && module) { | |
1424 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
1425 | } | |
1426 | } | |
093d3ff1 RD |
1427 | |
1428 | #ifdef __cplusplus | |
1429 | } | |
1430 | #endif | |
1431 | ||
1432 | ||
1433 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
1434 | ||
32fe5131 RD |
1435 | #define SWIGTYPE_p_char swig_types[0] |
1436 | #define SWIGTYPE_p_form_ops_t swig_types[1] | |
1437 | #define SWIGTYPE_p_int swig_types[2] | |
1438 | #define SWIGTYPE_p_unsigned_char swig_types[3] | |
1439 | #define SWIGTYPE_p_unsigned_int swig_types[4] | |
1440 | #define SWIGTYPE_p_unsigned_long swig_types[5] | |
1441 | #define SWIGTYPE_p_wxANIHandler swig_types[6] | |
1442 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[7] | |
1443 | #define SWIGTYPE_p_wxActivateEvent swig_types[8] | |
1444 | #define SWIGTYPE_p_wxArrayInt swig_types[9] | |
1445 | #define SWIGTYPE_p_wxBMPHandler swig_types[10] | |
1446 | #define SWIGTYPE_p_wxBitmap swig_types[11] | |
1447 | #define SWIGTYPE_p_wxBoxSizer swig_types[12] | |
1448 | #define SWIGTYPE_p_wxCURHandler swig_types[13] | |
1449 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14] | |
1450 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[15] | |
1451 | #define SWIGTYPE_p_wxCloseEvent swig_types[16] | |
1452 | #define SWIGTYPE_p_wxColour swig_types[17] | |
1453 | #define SWIGTYPE_p_wxColourData swig_types[18] | |
1454 | #define SWIGTYPE_p_wxColourDialog swig_types[19] | |
1455 | #define SWIGTYPE_p_wxCommandEvent swig_types[20] | |
1456 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[21] | |
1457 | #define SWIGTYPE_p_wxControl swig_types[22] | |
1458 | #define SWIGTYPE_p_wxControlWithItems swig_types[23] | |
1459 | #define SWIGTYPE_p_wxDC swig_types[24] | |
1460 | #define SWIGTYPE_p_wxDateEvent swig_types[25] | |
1461 | #define SWIGTYPE_p_wxDialog swig_types[26] | |
1462 | #define SWIGTYPE_p_wxDirDialog swig_types[27] | |
1463 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28] | |
1464 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[29] | |
1465 | #define SWIGTYPE_p_wxDuplexMode swig_types[30] | |
1466 | #define SWIGTYPE_p_wxEraseEvent swig_types[31] | |
1467 | #define SWIGTYPE_p_wxEvent swig_types[32] | |
1468 | #define SWIGTYPE_p_wxEvtHandler swig_types[33] | |
1469 | #define SWIGTYPE_p_wxFSFile swig_types[34] | |
1470 | #define SWIGTYPE_p_wxFileDialog swig_types[35] | |
1471 | #define SWIGTYPE_p_wxFileSystem swig_types[36] | |
1472 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[37] | |
1473 | #define SWIGTYPE_p_wxFindReplaceData swig_types[38] | |
1474 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39] | |
1475 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[40] | |
1476 | #define SWIGTYPE_p_wxFocusEvent swig_types[41] | |
1477 | #define SWIGTYPE_p_wxFont swig_types[42] | |
1478 | #define SWIGTYPE_p_wxFontData swig_types[43] | |
1479 | #define SWIGTYPE_p_wxFontDialog swig_types[44] | |
1480 | #define SWIGTYPE_p_wxFrame swig_types[45] | |
1481 | #define SWIGTYPE_p_wxGBSizerItem swig_types[46] | |
1482 | #define SWIGTYPE_p_wxGIFHandler swig_types[47] | |
1483 | #define SWIGTYPE_p_wxGridBagSizer swig_types[48] | |
1484 | #define SWIGTYPE_p_wxGridSizer swig_types[49] | |
1485 | #define SWIGTYPE_p_wxICOHandler swig_types[50] | |
1486 | #define SWIGTYPE_p_wxIcon swig_types[51] | |
1487 | #define SWIGTYPE_p_wxIconBundle swig_types[52] | |
1488 | #define SWIGTYPE_p_wxIconizeEvent swig_types[53] | |
1489 | #define SWIGTYPE_p_wxIdleEvent swig_types[54] | |
1490 | #define SWIGTYPE_p_wxImage swig_types[55] | |
1491 | #define SWIGTYPE_p_wxImageHandler swig_types[56] | |
1492 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57] | |
1493 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[58] | |
1494 | #define SWIGTYPE_p_wxJPEGHandler swig_types[59] | |
1495 | #define SWIGTYPE_p_wxKeyEvent swig_types[60] | |
1496 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61] | |
1497 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[62] | |
1498 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[63] | |
1499 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[64] | |
1500 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[65] | |
1501 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[66] | |
1502 | #define SWIGTYPE_p_wxMenu swig_types[67] | |
1503 | #define SWIGTYPE_p_wxMenuBar swig_types[68] | |
1504 | #define SWIGTYPE_p_wxMenuEvent swig_types[69] | |
1505 | #define SWIGTYPE_p_wxMenuItem swig_types[70] | |
1506 | #define SWIGTYPE_p_wxMessageDialog swig_types[71] | |
1507 | #define SWIGTYPE_p_wxMiniFrame swig_types[72] | |
1508 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73] | |
1509 | #define SWIGTYPE_p_wxMouseEvent swig_types[74] | |
1510 | #define SWIGTYPE_p_wxMoveEvent swig_types[75] | |
1511 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76] | |
1512 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77] | |
1513 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[78] | |
1514 | #define SWIGTYPE_p_wxNotifyEvent swig_types[79] | |
1515 | #define SWIGTYPE_p_wxObject swig_types[80] | |
1516 | #define SWIGTYPE_p_wxPCXHandler swig_types[81] | |
1517 | #define SWIGTYPE_p_wxPNGHandler swig_types[82] | |
1518 | #define SWIGTYPE_p_wxPNMHandler swig_types[83] | |
1519 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[84] | |
1520 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85] | |
1521 | #define SWIGTYPE_p_wxPaintEvent swig_types[86] | |
1522 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87] | |
1523 | #define SWIGTYPE_p_wxPanel swig_types[88] | |
1524 | #define SWIGTYPE_p_wxPaperSize swig_types[89] | |
1525 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90] | |
1526 | #define SWIGTYPE_p_wxPoint swig_types[91] | |
1527 | #define SWIGTYPE_p_wxPopupWindow swig_types[92] | |
1528 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[93] | |
1529 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[94] | |
1530 | #define SWIGTYPE_p_wxPreviewFrame swig_types[95] | |
1531 | #define SWIGTYPE_p_wxPrintData swig_types[96] | |
1532 | #define SWIGTYPE_p_wxPrintDialog swig_types[97] | |
1533 | #define SWIGTYPE_p_wxPrintDialogData swig_types[98] | |
1534 | #define SWIGTYPE_p_wxPrintPreview swig_types[99] | |
1535 | #define SWIGTYPE_p_wxPrinter swig_types[100] | |
1536 | #define SWIGTYPE_p_wxProgressDialog swig_types[101] | |
1537 | #define SWIGTYPE_p_wxPyApp swig_types[102] | |
1538 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[103] | |
1539 | #define SWIGTYPE_p_wxPyEvent swig_types[104] | |
1540 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105] | |
1541 | #define SWIGTYPE_p_wxPyImageHandler swig_types[106] | |
1542 | #define SWIGTYPE_p_wxPyPanel swig_types[107] | |
1543 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108] | |
1544 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109] | |
1545 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110] | |
1546 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[111] | |
1547 | #define SWIGTYPE_p_wxPyPrintout swig_types[112] | |
1548 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113] | |
1549 | #define SWIGTYPE_p_wxPySizer swig_types[114] | |
1550 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115] | |
1551 | #define SWIGTYPE_p_wxPyVListBox swig_types[116] | |
1552 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117] | |
1553 | #define SWIGTYPE_p_wxPyValidator swig_types[118] | |
1554 | #define SWIGTYPE_p_wxPyWindow swig_types[119] | |
1555 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120] | |
1556 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121] | |
1557 | #define SWIGTYPE_p_wxRect swig_types[122] | |
1558 | #define SWIGTYPE_p_wxRegion swig_types[123] | |
1559 | #define SWIGTYPE_p_wxSashEvent swig_types[124] | |
1560 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125] | |
1561 | #define SWIGTYPE_p_wxSashWindow swig_types[126] | |
1562 | #define SWIGTYPE_p_wxScrollEvent swig_types[127] | |
1563 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[128] | |
1564 | #define SWIGTYPE_p_wxScrolledWindow swig_types[129] | |
1565 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[130] | |
1566 | #define SWIGTYPE_p_wxShowEvent swig_types[131] | |
1567 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132] | |
1568 | #define SWIGTYPE_p_wxSize swig_types[133] | |
1569 | #define SWIGTYPE_p_wxSizeEvent swig_types[134] | |
1570 | #define SWIGTYPE_p_wxSizer swig_types[135] | |
1571 | #define SWIGTYPE_p_wxSizerItem swig_types[136] | |
1572 | #define SWIGTYPE_p_wxSplashScreen swig_types[137] | |
1573 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138] | |
1574 | #define SWIGTYPE_p_wxSplitterEvent swig_types[139] | |
1575 | #define SWIGTYPE_p_wxSplitterWindow swig_types[140] | |
1576 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141] | |
1577 | #define SWIGTYPE_p_wxStatusBar swig_types[142] | |
1578 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143] | |
1579 | #define SWIGTYPE_p_wxString swig_types[144] | |
1580 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145] | |
1581 | #define SWIGTYPE_p_wxTIFFHandler swig_types[146] | |
1582 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[147] | |
1583 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148] | |
1584 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[149] | |
1585 | #define SWIGTYPE_p_wxTipWindow swig_types[150] | |
1586 | #define SWIGTYPE_p_wxToolBar swig_types[151] | |
1587 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[152] | |
1588 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153] | |
1589 | #define SWIGTYPE_p_wxValidator swig_types[154] | |
1590 | #define SWIGTYPE_p_wxVisualAttributes swig_types[155] | |
1591 | #define SWIGTYPE_p_wxWindow swig_types[156] | |
1592 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157] | |
1593 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158] | |
1594 | #define SWIGTYPE_p_wxXPMHandler swig_types[159] | |
1595 | #define SWIGTYPE_ptrdiff_t swig_types[160] | |
1596 | #define SWIGTYPE_std__ptrdiff_t swig_types[161] | |
1597 | #define SWIGTYPE_unsigned_int swig_types[162] | |
1598 | static swig_type_info *swig_types[164]; | |
1599 | static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0}; | |
1600 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) | |
1601 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
093d3ff1 RD |
1602 | |
1603 | /* -------- TYPES TABLE (END) -------- */ | |
1604 | ||
1605 | ||
1606 | /*----------------------------------------------- | |
1607 | @(target):= _windows_.so | |
1608 | ------------------------------------------------*/ | |
1609 | #define SWIG_init init_windows_ | |
1610 | ||
1611 | #define SWIG_name "_windows_" | |
1612 | ||
1613 | #include "wx/wxPython/wxPython.h" | |
1614 | #include "wx/wxPython/pyclasses.h" | |
1615 | ||
1616 | ||
1617 | static const wxString wxPyEmptyString(wxEmptyString); | |
1618 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
1619 | ||
1620 | ||
1621 | ||
1622 | #include <limits.h> | |
1623 | ||
1624 | ||
1625 | SWIGINTERN int | |
1626 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
1627 | const char *errmsg) | |
1628 | { | |
1629 | if (value < min_value) { | |
1630 | if (errmsg) { | |
1631 | PyErr_Format(PyExc_OverflowError, | |
1632 | "value %ld is less than '%s' minimum %ld", | |
1633 | value, errmsg, min_value); | |
1634 | } | |
1635 | return 0; | |
1636 | } else if (value > max_value) { | |
1637 | if (errmsg) { | |
1638 | PyErr_Format(PyExc_OverflowError, | |
1639 | "value %ld is greater than '%s' maximum %ld", | |
1640 | value, errmsg, max_value); | |
1641 | } | |
1642 | return 0; | |
1643 | } | |
1644 | return 1; | |
1645 | } | |
1646 | ||
1647 | ||
1648 | SWIGINTERN int | |
1649 | SWIG_AsVal_long(PyObject* obj, long* val) | |
1650 | { | |
1651 | if (PyNumber_Check(obj)) { | |
1652 | if (val) *val = PyInt_AsLong(obj); | |
1653 | return 1; | |
1654 | } | |
1655 | else { | |
7e08d4ef | 1656 | SWIG_Python_TypeError("number", obj); |
093d3ff1 RD |
1657 | } |
1658 | return 0; | |
1659 | } | |
1660 | ||
1661 | ||
1662 | #if INT_MAX != LONG_MAX | |
1663 | SWIGINTERN int | |
1664 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1665 | { | |
1666 | const char* errmsg = val ? "int" : (char*)0; | |
1667 | long v; | |
1668 | if (SWIG_AsVal_long(obj, &v)) { | |
1669 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
32fe5131 | 1670 | if (val) *val = static_cast<int >(v); |
093d3ff1 RD |
1671 | return 1; |
1672 | } else { | |
1673 | return 0; | |
1674 | } | |
1675 | } else { | |
1676 | PyErr_Clear(); | |
1677 | } | |
1678 | if (val) { | |
1679 | SWIG_type_error(errmsg, obj); | |
1680 | } | |
1681 | return 0; | |
1682 | } | |
1683 | #else | |
32fe5131 | 1684 | SWIGINTERNINLINE int |
093d3ff1 RD |
1685 | SWIG_AsVal_int(PyObject *obj, int *val) |
1686 | { | |
1687 | return SWIG_AsVal_long(obj,(long*)val); | |
1688 | } | |
1689 | #endif | |
1690 | ||
1691 | ||
32fe5131 | 1692 | SWIGINTERNINLINE int |
093d3ff1 RD |
1693 | SWIG_As_int(PyObject* obj) |
1694 | { | |
1695 | int v; | |
1696 | if (!SWIG_AsVal_int(obj, &v)) { | |
1697 | /* | |
1698 | this is needed to make valgrind/purify happier. | |
1699 | */ | |
1700 | memset((void*)&v, 0, sizeof(int)); | |
1701 | } | |
1702 | return v; | |
1703 | } | |
1704 | ||
1705 | ||
32fe5131 | 1706 | SWIGINTERNINLINE long |
093d3ff1 RD |
1707 | SWIG_As_long(PyObject* obj) |
1708 | { | |
1709 | long v; | |
1710 | if (!SWIG_AsVal_long(obj, &v)) { | |
1711 | /* | |
1712 | this is needed to make valgrind/purify happier. | |
1713 | */ | |
1714 | memset((void*)&v, 0, sizeof(long)); | |
1715 | } | |
1716 | return v; | |
1717 | } | |
1718 | ||
1719 | ||
32fe5131 | 1720 | SWIGINTERNINLINE int |
093d3ff1 RD |
1721 | SWIG_Check_int(PyObject* obj) |
1722 | { | |
1723 | return SWIG_AsVal_int(obj, (int*)0); | |
1724 | } | |
1725 | ||
1726 | ||
32fe5131 | 1727 | SWIGINTERNINLINE int |
093d3ff1 RD |
1728 | SWIG_Check_long(PyObject* obj) |
1729 | { | |
1730 | return SWIG_AsVal_long(obj, (long*)0); | |
1731 | } | |
1732 | ||
1733 | ||
1734 | SWIGINTERN int | |
1735 | SWIG_AsVal_bool(PyObject *obj, bool *val) | |
1736 | { | |
1737 | if (obj == Py_True) { | |
1738 | if (val) *val = true; | |
1739 | return 1; | |
1740 | } | |
1741 | if (obj == Py_False) { | |
1742 | if (val) *val = false; | |
1743 | return 1; | |
1744 | } | |
1745 | int res = 0; | |
1746 | if (SWIG_AsVal_int(obj, &res)) { | |
1747 | if (val) *val = res ? true : false; | |
1748 | return 1; | |
1749 | } else { | |
1750 | PyErr_Clear(); | |
1751 | } | |
1752 | if (val) { | |
1753 | SWIG_type_error("bool", obj); | |
1754 | } | |
1755 | return 0; | |
1756 | } | |
1757 | ||
1758 | ||
32fe5131 | 1759 | SWIGINTERNINLINE bool |
093d3ff1 RD |
1760 | SWIG_As_bool(PyObject* obj) |
1761 | { | |
1762 | bool v; | |
1763 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1764 | /* | |
1765 | this is needed to make valgrind/purify happier. | |
1766 | */ | |
1767 | memset((void*)&v, 0, sizeof(bool)); | |
1768 | } | |
1769 | return v; | |
1770 | } | |
1771 | ||
1772 | ||
32fe5131 | 1773 | SWIGINTERNINLINE int |
093d3ff1 RD |
1774 | SWIG_Check_bool(PyObject* obj) |
1775 | { | |
1776 | return SWIG_AsVal_bool(obj, (bool*)0); | |
1777 | } | |
1778 | ||
1779 | ||
32fe5131 | 1780 | /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ |
093d3ff1 RD |
1781 | #define SWIG_From_int PyInt_FromLong |
1782 | /*@@*/ | |
1783 | ||
1784 | ||
7e08d4ef RD |
1785 | static PyObject* t_output_helper(PyObject* result, PyObject* obj) |
1786 | { | |
1787 | PyObject* o2; | |
1788 | PyObject* o3; | |
1789 | if (!result) { | |
1790 | result = obj; | |
1791 | } else if (result == Py_None) { | |
1792 | Py_DECREF(result); | |
1793 | result = obj; | |
1794 | } else { | |
1795 | if (!PyTuple_Check(result)) { | |
1796 | o2 = result; | |
1797 | result = PyTuple_New(1); | |
1798 | PyTuple_SET_ITEM(result, 0, o2); | |
1799 | } | |
1800 | o3 = PyTuple_New(1); | |
1801 | PyTuple_SetItem(o3, 0, obj); | |
1802 | o2 = result; | |
1803 | result = PySequence_Concat(o2, o3); | |
1804 | Py_DECREF(o2); | |
1805 | Py_DECREF(o3); | |
1806 | } | |
1807 | return result; | |
1808 | } | |
093d3ff1 RD |
1809 | |
1810 | ||
1811 | ||
1812 | SWIGINTERN int | |
1813 | SWIG_AsVal_double(PyObject *obj, double* val) | |
1814 | { | |
1815 | if (PyNumber_Check(obj)) { | |
1816 | if (val) *val = PyFloat_AsDouble(obj); | |
1817 | return 1; | |
1818 | } | |
1819 | else { | |
7e08d4ef | 1820 | SWIG_Python_TypeError("number", obj); |
093d3ff1 RD |
1821 | } |
1822 | return 0; | |
1823 | } | |
1824 | ||
1825 | ||
32fe5131 | 1826 | SWIGINTERNINLINE double |
093d3ff1 RD |
1827 | SWIG_As_double(PyObject* obj) |
1828 | { | |
1829 | double v; | |
1830 | if (!SWIG_AsVal_double(obj, &v)) { | |
1831 | /* | |
1832 | this is needed to make valgrind/purify happier. | |
1833 | */ | |
1834 | memset((void*)&v, 0, sizeof(double)); | |
1835 | } | |
1836 | return v; | |
1837 | } | |
1838 | ||
1839 | ||
32fe5131 | 1840 | SWIGINTERNINLINE int |
093d3ff1 RD |
1841 | SWIG_Check_double(PyObject* obj) |
1842 | { | |
1843 | return SWIG_AsVal_double(obj, (double*)0); | |
1844 | } | |
1845 | ||
1846 | ||
32fe5131 | 1847 | /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ |
093d3ff1 RD |
1848 | #define SWIG_From_double PyFloat_FromDouble |
1849 | /*@@*/ | |
1850 | ||
1851 | static const wxString wxPyFrameNameStr(wxFrameNameStr); | |
1852 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
1853 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
1854 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
1855 | static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ } | |
1856 | static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; } | |
1857 | ||
32fe5131 | 1858 | /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ |
093d3ff1 RD |
1859 | #define SWIG_From_long PyInt_FromLong |
1860 | /*@@*/ | |
1861 | ||
1862 | ||
1863 | ||
1864 | static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ | |
1865 | wxRect r; | |
1866 | self->GetFieldRect(i, r); | |
1867 | return r; | |
1868 | } | |
1869 | static const wxString wxPySplitterNameStr(wxT("splitter")); | |
1870 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
1871 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
1872 | ||
1873 | #include <wx/popupwin.h> | |
1874 | ||
1875 | ||
1876 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
1877 | { | |
1878 | public: | |
1879 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
1880 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
1881 | : wxPopupTransientWindow(parent, style) {} | |
1882 | ||
1883 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
1884 | DEC_PYCALLBACK__(OnDismiss); | |
1885 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
1886 | PYPRIVATE; | |
1887 | }; | |
1888 | ||
1889 | ||
1890 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
1891 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
1892 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
1893 | ||
1894 | ||
1895 | #include <wx/tipwin.h> | |
1896 | ||
1897 | static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){ | |
1898 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
1899 | } | |
1900 | ||
1901 | #include <wx/tipwin.h> | |
1902 | ||
1903 | ||
1904 | #include <wx/vscroll.h> | |
1905 | ||
1906 | ||
1907 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
1908 | { | |
32fe5131 | 1909 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow) |
093d3ff1 RD |
1910 | public: |
1911 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
1912 | ||
1913 | wxPyVScrolledWindow(wxWindow *parent, | |
1914 | wxWindowID id = wxID_ANY, | |
1915 | const wxPoint& pos = wxDefaultPosition, | |
1916 | const wxSize& size = wxDefaultSize, | |
1917 | long style = 0, | |
1918 | const wxString& name = wxPyPanelNameStr) | |
1919 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
1920 | {} | |
1921 | ||
1922 | // Overridable virtuals | |
1923 | ||
1924 | // this function must be overridden in the derived class and it should | |
1925 | // return the height of the given line in pixels | |
1926 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
1927 | ||
1928 | ||
1929 | // this function doesn't have to be overridden but it may be useful to do | |
1930 | // it if calculating the lines heights is a relatively expensive operation | |
1931 | // as it gives the user code a possibility to calculate several of them at | |
1932 | // once | |
1933 | // | |
1934 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
1935 | // shouldn't rely on the latter being called for all lines in the interval | |
1936 | // specified here. It is also possible that OnGetLineHeight() will be | |
1937 | // called for the lines outside of this interval, so this is really just a | |
1938 | // hint, not a promise. | |
1939 | // | |
1940 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
1941 | // usual | |
1942 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
1943 | ||
1944 | ||
1945 | // when the number of lines changes, we try to estimate the total height | |
1946 | // of all lines which is a rather expensive operation in terms of lines | |
1947 | // access, so if the user code may estimate the average height | |
1948 | // better/faster than we do, it should override this function to implement | |
1949 | // its own logic | |
1950 | // | |
1951 | // this function should return the best guess for the total height it may | |
1952 | // make | |
1953 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
1954 | ||
1955 | ||
1956 | // Also expose some other interesting protected methods | |
1957 | ||
1958 | ||
1959 | // find the index of the line we need to show at the top of the window such | |
1960 | // that the last (fully or partially) visible line is the given one | |
1961 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) | |
1962 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } | |
1963 | ||
1964 | // get the total height of the lines between lineMin (inclusive) and | |
1965 | // lineMax (exclusive) | |
1966 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
1967 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
d14a1e28 RD |
1968 | |
1969 | ||
1970 | PYPRIVATE; | |
1971 | }; | |
1972 | ||
1973 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
1974 | ||
1975 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
1976 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
1977 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
1978 | ||
1979 | ||
093d3ff1 | 1980 | SWIGINTERN int |
c32bde28 | 1981 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) |
15afbcd0 | 1982 | { |
c32bde28 RD |
1983 | long v = 0; |
1984 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
7e08d4ef | 1985 | SWIG_Python_TypeError("unsigned number", obj); |
15afbcd0 | 1986 | } |
c32bde28 RD |
1987 | else if (val) |
1988 | *val = (unsigned long)v; | |
1989 | return 1; | |
15afbcd0 RD |
1990 | } |
1991 | ||
1992 | ||
32fe5131 | 1993 | SWIGINTERNINLINE unsigned long |
c32bde28 | 1994 | SWIG_As_unsigned_SS_long(PyObject* obj) |
15afbcd0 | 1995 | { |
c32bde28 RD |
1996 | unsigned long v; |
1997 | if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
1998 | /* | |
093d3ff1 | 1999 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
2000 | */ |
2001 | memset((void*)&v, 0, sizeof(unsigned long)); | |
15afbcd0 | 2002 | } |
c32bde28 RD |
2003 | return v; |
2004 | } | |
2005 | ||
2006 | ||
32fe5131 | 2007 | SWIGINTERNINLINE int |
c32bde28 RD |
2008 | SWIG_Check_unsigned_SS_long(PyObject* obj) |
2009 | { | |
2010 | return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); | |
15afbcd0 RD |
2011 | } |
2012 | ||
2013 | ||
32fe5131 | 2014 | SWIGINTERNINLINE PyObject* |
c32bde28 | 2015 | SWIG_From_unsigned_SS_long(unsigned long value) |
994141e6 | 2016 | { |
15afbcd0 RD |
2017 | return (value > LONG_MAX) ? |
2018 | PyLong_FromUnsignedLong(value) | |
32fe5131 | 2019 | : PyInt_FromLong(static_cast<long >(value)); |
994141e6 RD |
2020 | } |
2021 | ||
2022 | ||
d14a1e28 | 2023 | #include <wx/vlbox.h> |
d14a1e28 | 2024 | |
b2dc1044 | 2025 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
2026 | |
2027 | class wxPyVListBox : public wxVListBox | |
2028 | { | |
32fe5131 | 2029 | DECLARE_ABSTRACT_CLASS(wxPyVListBox) |
d14a1e28 RD |
2030 | public: |
2031 | wxPyVListBox() : wxVListBox() {} | |
2032 | ||
2033 | wxPyVListBox(wxWindow *parent, | |
2034 | wxWindowID id = wxID_ANY, | |
2035 | const wxPoint& pos = wxDefaultPosition, | |
2036 | const wxSize& size = wxDefaultSize, | |
2037 | long style = 0, | |
2038 | const wxString& name = wxPyVListBoxNameStr) | |
2039 | : wxVListBox(parent, id, pos, size, style, name) | |
2040 | {} | |
2041 | ||
2042 | // Overridable virtuals | |
2043 | ||
2044 | // the derived class must implement this function to actually draw the item | |
2045 | // with the given index on the provided DC | |
2046 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
2047 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
2048 | ||
2049 | ||
2050 | // the derived class must implement this method to return the height of the | |
2051 | // specified item | |
2052 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
2053 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
2054 | ||
2055 | ||
2056 | // this method may be used to draw separators between the lines; note that | |
2057 | // the rectangle may be modified, typically to deflate it a bit before | |
2058 | // passing to OnDrawItem() | |
2059 | // | |
2060 | // the base class version doesn't do anything | |
2061 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
2062 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
2063 | ||
2064 | ||
2065 | // this method is used to draw the items background and, maybe, a border | |
2066 | // around it | |
2067 | // | |
2068 | // the base class version implements a reasonable default behaviour which | |
2069 | // consists in drawing the selected item with the standard background | |
2070 | // colour and drawing a border around the item if it is either selected or | |
2071 | // current | |
2072 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
2073 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
2074 | ||
2075 | ||
2076 | PYPRIVATE; | |
2077 | }; | |
2078 | ||
2079 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
2080 | ||
2081 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
2082 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
2083 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
2084 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
2085 | ||
2086 | ||
093d3ff1 | 2087 | static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){ |
09c21d3b RD |
2088 | unsigned long cookie = 0; |
2089 | int selected = self->GetFirstSelected(cookie); | |
5a446332 | 2090 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
09c21d3b RD |
2091 | PyObject* tup = PyTuple_New(2); |
2092 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
2093 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
2094 | wxPyEndBlockThreads(blocked); | |
2095 | return tup; | |
2096 | } | |
093d3ff1 | 2097 | static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){ |
09c21d3b | 2098 | int selected = self->GetNextSelected(cookie); |
5a446332 | 2099 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
09c21d3b RD |
2100 | PyObject* tup = PyTuple_New(2); |
2101 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
2102 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
2103 | wxPyEndBlockThreads(blocked); | |
2104 | return tup; | |
2105 | } | |
d14a1e28 RD |
2106 | |
2107 | #include <wx/htmllbox.h> | |
2108 | ||
2109 | ||
2110 | class wxPyHtmlListBox : public wxHtmlListBox | |
2111 | { | |
32fe5131 | 2112 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox) |
d14a1e28 RD |
2113 | public: |
2114 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
2115 | ||
2116 | wxPyHtmlListBox(wxWindow *parent, | |
2117 | wxWindowID id = wxID_ANY, | |
2118 | const wxPoint& pos = wxDefaultPosition, | |
2119 | const wxSize& size = wxDefaultSize, | |
2120 | long style = 0, | |
2121 | const wxString& name = wxPyVListBoxNameStr) | |
2122 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
2123 | {} | |
2124 | ||
2125 | // Overridable virtuals | |
2126 | ||
2127 | // this method must be implemented in the derived class and should return | |
2128 | // the body (i.e. without <html>) of the HTML for the given item | |
2129 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
2130 | ||
2131 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
2132 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
2133 | ||
2134 | // TODO: | |
2135 | // // this method allows to customize the selection appearance: it may be used | |
2136 | // // to specify the colour of the text which normally has the given colour | |
2137 | // // colFg when it is inside the selection | |
2138 | // // | |
2139 | // // by default, the original colour is not used at all and all text has the | |
2140 | // // same (default for this system) colour inside selection | |
2141 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
2142 | ||
2143 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
2144 | // // background colour -- this is even more rarely used as you can change it | |
2145 | // // globally using SetSelectionBackground() | |
2146 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
2147 | ||
2148 | ||
2149 | PYPRIVATE; | |
2150 | }; | |
2151 | ||
2152 | ||
2153 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
2154 | ||
2155 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
2156 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
2157 | ||
2158 | ||
2159 | ||
2160 | ||
2161 | ||
ae8162c8 RD |
2162 | #ifndef wxHAS_TASK_BAR_ICON |
2163 | // implement dummy classes for platforms that don't have it | |
d14a1e28 RD |
2164 | |
2165 | class wxTaskBarIcon : public wxEvtHandler | |
2166 | { | |
2167 | public: | |
39f61e25 | 2168 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 | 2169 | }; |
09c21d3b | 2170 | |
d14a1e28 RD |
2171 | |
2172 | class wxTaskBarIconEvent : public wxEvent | |
2173 | { | |
2174 | public: | |
2175 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
39f61e25 | 2176 | { wxPyRaiseNotImplemented(); } |
d14a1e28 | 2177 | virtual wxEvent* Clone() const { return NULL; } |
ae8162c8 RD |
2178 | bool IsOk() const { return false; } |
2179 | bool IsIconInstalled() const { return false; } | |
2180 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; } | |
2181 | bool RemoveIcon() { return false; } | |
2182 | bool PopupMenu(wxMenu *menu) { return false; } | |
d14a1e28 RD |
2183 | }; |
2184 | ||
2185 | enum { | |
2186 | wxEVT_TASKBAR_MOVE = 0, | |
2187 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
2188 | wxEVT_TASKBAR_LEFT_UP = 0, | |
2189 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
2190 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
2191 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
2192 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
2193 | }; | |
09c21d3b RD |
2194 | |
2195 | ||
2196 | #else | |
5e483524 RD |
2197 | // Otherwise make a class that can virtualize CreatePopupMenu |
2198 | class wxPyTaskBarIcon : public wxTaskBarIcon | |
2199 | { | |
32fe5131 | 2200 | DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon) |
5e483524 RD |
2201 | public: |
2202 | wxPyTaskBarIcon() : wxTaskBarIcon() | |
2203 | {} | |
2204 | ||
2205 | wxMenu* CreatePopupMenu() { | |
2206 | wxMenu *rval = NULL; | |
2207 | bool found; | |
5a446332 | 2208 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
5e483524 RD |
2209 | if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { |
2210 | PyObject* ro; | |
2211 | wxMenu* ptr; | |
2212 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2213 | if (ro) { | |
2214 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu"))) | |
2215 | rval = ptr; | |
2216 | Py_DECREF(ro); | |
2217 | } | |
2218 | } | |
2219 | wxPyEndBlockThreads(blocked); | |
2220 | if (! found) | |
2221 | rval = wxTaskBarIcon::CreatePopupMenu(); | |
2222 | return rval; | |
2223 | } | |
2224 | ||
2225 | PYPRIVATE; | |
2226 | }; | |
2227 | ||
2228 | IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); | |
09c21d3b | 2229 | |
d14a1e28 RD |
2230 | #endif |
2231 | ||
093d3ff1 | 2232 | static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){ |
74a57fcd | 2233 | self->RemoveIcon(); |
5e483524 | 2234 | delete self; |
74a57fcd | 2235 | } |
b2dc1044 RD |
2236 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
2237 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
2238 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
2239 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
2240 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
2241 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
093d3ff1 | 2242 | static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
d14a1e28 RD |
2243 | wxArrayString arr; |
2244 | self->GetFilenames(arr); | |
2245 | return wxArrayString2PyList_helper(arr); | |
2246 | } | |
093d3ff1 | 2247 | static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ |
d14a1e28 RD |
2248 | wxArrayString arr; |
2249 | self->GetPaths(arr); | |
2250 | return wxArrayString2PyList_helper(arr); | |
2251 | } | |
093d3ff1 | 2252 | static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ |
d14a1e28 RD |
2253 | return wxArrayInt2PyList_helper(self->GetSelections()); |
2254 | } | |
093d3ff1 | 2255 | 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 |
2256 | return new wxSingleChoiceDialog(parent, message, caption, |
2257 | choices, choices_array, NULL, style, pos); | |
2258 | } | |
d3b6e4ff | 2259 | static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr); |
d14a1e28 RD |
2260 | |
2261 | #include <wx/mdi.h> | |
2262 | ||
2263 | // C++ version of Python aware wxWindow | |
2264 | class wxPyWindow : public wxWindow | |
2265 | { | |
2266 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
2267 | public: | |
2268 | wxPyWindow() : wxWindow() {} | |
2269 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
2270 | const wxPoint& pos = wxDefaultPosition, | |
2271 | const wxSize& size = wxDefaultSize, | |
2272 | long style = 0, | |
2273 | const wxString& name = wxPyPanelNameStr) | |
2274 | : wxWindow(parent, id, pos, size, style, name) {} | |
2275 | ||
db3e571a | 2276 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
d14a1e28 | 2277 | |
976dbff5 RD |
2278 | bool DoEraseBackground(wxDC* dc) { |
2279 | #ifdef __WXMSW__ | |
2280 | return wxWindow::DoEraseBackground(dc->GetHDC()); | |
2281 | #else | |
2282 | dc->SetBackground(wxBrush(GetBackgroundColour())); | |
2283 | dc->Clear(); | |
2284 | return true; | |
2285 | #endif | |
2286 | } | |
2287 | ||
d14a1e28 RD |
2288 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); |
2289 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2290 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2291 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2292 | ||
2293 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2294 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2295 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2296 | ||
2297 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2298 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2299 | ||
2300 | DEC_PYCALLBACK__(InitDialog); | |
2301 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2302 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2303 | DEC_PYCALLBACK_BOOL_(Validate); | |
2304 | ||
2305 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2306 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2307 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2308 | ||
2309 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2310 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2311 | ||
db3e571a | 2312 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
db3e571a | 2313 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
4276dc52 | 2314 | |
51b83b37 RD |
2315 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2316 | ||
8d38bd1d RD |
2317 | DEC_PYCALLBACK_VOID_(OnInternalIdle); |
2318 | ||
d14a1e28 RD |
2319 | PYPRIVATE; |
2320 | }; | |
2321 | ||
2322 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
2323 | ||
2324 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
2325 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
2326 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
2327 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
2328 | ||
2329 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
2330 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
2331 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
2332 | ||
2333 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
2334 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
2335 | ||
2336 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
2337 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
2338 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
2339 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
2340 | ||
2341 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
2342 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
2343 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
2344 | ||
2345 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
2346 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
2347 | ||
db3e571a | 2348 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
db3e571a | 2349 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
51b83b37 RD |
2350 | |
2351 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground); | |
d14a1e28 | 2352 | |
8d38bd1d RD |
2353 | IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle); |
2354 | ||
d14a1e28 RD |
2355 | // C++ version of Python aware wxPanel |
2356 | class wxPyPanel : public wxPanel | |
2357 | { | |
2358 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
2359 | public: | |
2360 | wxPyPanel() : wxPanel() {} | |
2361 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
2362 | const wxPoint& pos = wxDefaultPosition, | |
2363 | const wxSize& size = wxDefaultSize, | |
2364 | long style = 0, | |
2365 | const wxString& name = wxPyPanelNameStr) | |
2366 | : wxPanel(parent, id, pos, size, style, name) {} | |
2367 | ||
db3e571a | 2368 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
976dbff5 RD |
2369 | bool DoEraseBackground(wxDC* dc) { |
2370 | #ifdef __WXMSW__ | |
2371 | return wxWindow::DoEraseBackground(dc->GetHDC()); | |
2372 | #else | |
2373 | dc->SetBackground(wxBrush(GetBackgroundColour())); | |
2374 | dc->Clear(); | |
2375 | return true; | |
2376 | #endif | |
2377 | } | |
db3e571a | 2378 | |
d14a1e28 RD |
2379 | |
2380 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2381 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2382 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2383 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2384 | ||
2385 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2386 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2387 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2388 | ||
2389 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2390 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2391 | ||
2392 | DEC_PYCALLBACK__(InitDialog); | |
2393 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2394 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2395 | DEC_PYCALLBACK_BOOL_(Validate); | |
2396 | ||
2397 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2398 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2399 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2400 | ||
2401 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2402 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2403 | ||
db3e571a | 2404 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
db3e571a | 2405 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
4276dc52 | 2406 | |
51b83b37 RD |
2407 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2408 | ||
8d38bd1d RD |
2409 | DEC_PYCALLBACK_VOID_(OnInternalIdle); |
2410 | ||
d14a1e28 RD |
2411 | PYPRIVATE; |
2412 | }; | |
2413 | ||
2414 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
2415 | ||
2416 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
2417 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
2418 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
2419 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
2420 | ||
2421 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
2422 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
2423 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
2424 | ||
2425 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
2426 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
2427 | ||
2428 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
2429 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
2430 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
2431 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
2432 | ||
2433 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
2434 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
2435 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
2436 | ||
2437 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
2438 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
2439 | ||
db3e571a | 2440 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
db3e571a | 2441 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
1cb4a8aa | 2442 | |
51b83b37 RD |
2443 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground); |
2444 | ||
8d38bd1d RD |
2445 | IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle); |
2446 | ||
1cb4a8aa RD |
2447 | // C++ version of Python aware wxScrolledWindow |
2448 | class wxPyScrolledWindow : public wxScrolledWindow | |
2449 | { | |
2450 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
2451 | public: | |
2452 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
2453 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
2454 | const wxPoint& pos = wxDefaultPosition, | |
2455 | const wxSize& size = wxDefaultSize, | |
2456 | long style = 0, | |
2457 | const wxString& name = wxPyPanelNameStr) | |
2458 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
2459 | ||
db3e571a | 2460 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
976dbff5 RD |
2461 | bool DoEraseBackground(wxDC* dc) { |
2462 | #ifdef __WXMSW__ | |
2463 | return wxWindow::DoEraseBackground(dc->GetHDC()); | |
2464 | #else | |
2465 | dc->SetBackground(wxBrush(GetBackgroundColour())); | |
2466 | dc->Clear(); | |
2467 | return true; | |
2468 | #endif | |
2469 | } | |
1cb4a8aa RD |
2470 | |
2471 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2472 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2473 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2474 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2475 | ||
2476 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2477 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2478 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2479 | ||
2480 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2481 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2482 | ||
2483 | DEC_PYCALLBACK__(InitDialog); | |
2484 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2485 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2486 | DEC_PYCALLBACK_BOOL_(Validate); | |
2487 | ||
2488 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2489 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2490 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2491 | ||
2492 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2493 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2494 | ||
db3e571a | 2495 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
db3e571a | 2496 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
1cb4a8aa | 2497 | |
51b83b37 RD |
2498 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2499 | ||
8d38bd1d RD |
2500 | DEC_PYCALLBACK_VOID_(OnInternalIdle); |
2501 | ||
1cb4a8aa RD |
2502 | PYPRIVATE; |
2503 | }; | |
2504 | ||
2505 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
2506 | ||
2507 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
2508 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
2509 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
2510 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
2511 | ||
2512 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
2513 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
2514 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
2515 | ||
2516 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
2517 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
2518 | ||
2519 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
2520 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
2521 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
2522 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
2523 | ||
2524 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
2525 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
2526 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
2527 | ||
2528 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
2529 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
2530 | ||
db3e571a | 2531 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
db3e571a RD |
2532 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
2533 | ||
51b83b37 | 2534 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground); |
d14a1e28 | 2535 | |
8d38bd1d RD |
2536 | IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle); |
2537 | ||
d14a1e28 RD |
2538 | |
2539 | #include "wx/wxPython/printfw.h" | |
2540 | ||
d14a1e28 | 2541 | |
33b885b9 RD |
2542 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
2543 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
b9d6a5f3 RD |
2544 | static PyObject *wxPrintData_GetPrivData(wxPrintData *self){ |
2545 | PyObject* data; | |
5a446332 | 2546 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
b9d6a5f3 RD |
2547 | data = PyString_FromStringAndSize(self->GetPrivData(), |
2548 | self->GetPrivDataLen()); | |
2549 | wxPyEndBlockThreads(blocked); | |
2550 | return data; | |
2551 | } | |
2552 | static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){ | |
2553 | if (! PyString_Check(data)) { | |
2554 | wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError, | |
2555 | "Expected string object")); | |
2556 | return /* NULL */ ; | |
2557 | } | |
2558 | ||
5a446332 | 2559 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
b9d6a5f3 RD |
2560 | self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data)); |
2561 | wxPyEndBlockThreads(blocked); | |
2562 | } | |
d14a1e28 RD |
2563 | |
2564 | ||
a68b8331 | 2565 | IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout); |
d14a1e28 RD |
2566 | |
2567 | // Since this one would be tough and ugly to do with the Macros... | |
2568 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
ae8162c8 | 2569 | bool hadErr = false; |
d14a1e28 RD |
2570 | bool found; |
2571 | ||
5a446332 | 2572 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
2573 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { |
2574 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2575 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
2576 | PyObject* val; | |
2577 | ||
2578 | val = PyTuple_GetItem(result, 0); | |
2579 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
ae8162c8 | 2580 | else hadErr = true; |
d14a1e28 RD |
2581 | |
2582 | val = PyTuple_GetItem(result, 1); | |
2583 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
ae8162c8 | 2584 | else hadErr = true; |
d14a1e28 RD |
2585 | |
2586 | val = PyTuple_GetItem(result, 2); | |
2587 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
ae8162c8 | 2588 | else hadErr = true; |
d14a1e28 RD |
2589 | |
2590 | val = PyTuple_GetItem(result, 3); | |
2591 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
ae8162c8 | 2592 | else hadErr = true; |
d14a1e28 RD |
2593 | } |
2594 | else | |
ae8162c8 | 2595 | hadErr = true; |
d14a1e28 RD |
2596 | |
2597 | if (hadErr) { | |
2598 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
2599 | PyErr_Print(); | |
2600 | } | |
2601 | Py_DECREF(result); | |
2602 | } | |
4f89f6a3 | 2603 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2604 | if (! found) |
2605 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
2606 | } | |
2607 | ||
d14a1e28 RD |
2608 | |
2609 | ||
2610 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
2611 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
2612 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
2613 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
2614 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
2615 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
2616 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
2617 | ||
2618 | ||
2619 | ||
2620 | ||
2621 | ||
ae8162c8 | 2622 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ |
c26d9ab4 | 2623 | bool CBNAME(wxPreviewCanvas* a, wxDC& b) |
d14a1e28 RD |
2624 | |
2625 | ||
ae8162c8 RD |
2626 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ |
2627 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
2628 | bool rval=false; \ | |
2629 | bool found; \ | |
32fe5131 | 2630 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); \ |
ae8162c8 RD |
2631 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
2632 | PyObject* win = wxPyMake_wxObject(a,false); \ | |
2633 | PyObject* dc = wxPyMake_wxObject(&b,false); \ | |
2634 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \ | |
2635 | Py_DECREF(win); \ | |
2636 | Py_DECREF(dc); \ | |
2637 | } \ | |
2638 | wxPyEndBlockThreads(blocked); \ | |
2639 | if (! found) \ | |
2640 | rval = PCLASS::CBNAME(a, b); \ | |
2641 | return rval; \ | |
c26d9ab4 | 2642 | } |
d14a1e28 RD |
2643 | |
2644 | ||
2645 | ||
2646 | ||
2647 | class wxPyPrintPreview : public wxPrintPreview | |
2648 | { | |
2649 | DECLARE_CLASS(wxPyPrintPreview) | |
2650 | public: | |
4276dc52 RD |
2651 | wxPyPrintPreview(wxPyPrintout* printout, |
2652 | wxPyPrintout* printoutForPrinting, | |
2653 | wxPrintDialogData* data=NULL) | |
2654 | : wxPrintPreview(printout, printoutForPrinting, data) | |
2655 | {} | |
d14a1e28 RD |
2656 | wxPyPrintPreview(wxPyPrintout* printout, |
2657 | wxPyPrintout* printoutForPrinting, | |
32fe5131 | 2658 | wxPrintData* data) |
d14a1e28 RD |
2659 | : wxPrintPreview(printout, printoutForPrinting, data) |
2660 | {} | |
2661 | ||
2662 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
2663 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
2664 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
2665 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
2666 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
2667 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
2668 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
2669 | ||
2670 | PYPRIVATE; | |
2671 | }; | |
2672 | ||
2673 | // Stupid renamed classes... Fix this in 2.5... | |
2674 | #if defined(__WXMSW__) | |
2675 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
2676 | #elif defined(__WXMAC__) | |
2677 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
2678 | #else | |
2679 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
2680 | #endif | |
2681 | ||
2682 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
2683 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
2684 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
2685 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
2686 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
2687 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
2688 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
2689 | ||
2690 | ||
2691 | class wxPyPreviewFrame : public wxPreviewFrame | |
2692 | { | |
32fe5131 | 2693 | DECLARE_CLASS(wxPyPreviewFrame) |
d14a1e28 RD |
2694 | public: |
2695 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
2696 | const wxString& title, | |
2697 | const wxPoint& pos = wxDefaultPosition, | |
2698 | const wxSize& size = wxDefaultSize, | |
2699 | long style = wxDEFAULT_FRAME_STYLE, | |
2700 | const wxString& name = wxPyFrameNameStr) | |
2701 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
2702 | {} | |
2703 | ||
2704 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
2705 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
2706 | ||
2707 | DEC_PYCALLBACK_VOID_(Initialize); | |
2708 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
2709 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
2710 | ||
2711 | PYPRIVATE; | |
2712 | }; | |
2713 | ||
2714 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
2715 | ||
2716 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
2717 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
2718 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
2719 | ||
2720 | ||
2721 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
2722 | { | |
32fe5131 | 2723 | DECLARE_CLASS(wxPyPreviewControlBar) |
d14a1e28 RD |
2724 | public: |
2725 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
2726 | long buttons, | |
2727 | wxWindow *parent, | |
2728 | const wxPoint& pos = wxDefaultPosition, | |
2729 | const wxSize& size = wxDefaultSize, | |
2730 | long style = 0, | |
2731 | const wxString& name = wxPyPanelNameStr) | |
2732 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
2733 | {} | |
2734 | ||
2735 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
2736 | ||
2737 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
2738 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
2739 | ||
2740 | PYPRIVATE; | |
2741 | }; | |
2742 | ||
2743 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
2744 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
2745 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
2746 | ||
2747 | #ifdef __cplusplus | |
2748 | extern "C" { | |
2749 | #endif | |
c32bde28 | 2750 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2751 | PyObject *resultobj = NULL; |
d14a1e28 | 2752 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 2753 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
2754 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
2755 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2756 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2757 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2758 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2759 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
2760 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2761 | wxPanel *result; | |
2762 | wxPoint temp3 ; | |
2763 | wxSize temp4 ; | |
ae8162c8 | 2764 | bool temp6 = false ; |
d14a1e28 | 2765 | PyObject * obj0 = 0 ; |
994141e6 | 2766 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2767 | PyObject * obj2 = 0 ; |
2768 | PyObject * obj3 = 0 ; | |
994141e6 | 2769 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
2770 | PyObject * obj5 = 0 ; |
2771 | char *kwnames[] = { | |
2772 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2773 | }; | |
2774 | ||
994141e6 | 2775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
2776 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2777 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 2778 | if (obj1) { |
093d3ff1 | 2779 | { |
32fe5131 | 2780 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
2781 | if (SWIG_arg_fail(2)) SWIG_fail; |
2782 | } | |
994141e6 | 2783 | } |
d14a1e28 RD |
2784 | if (obj2) { |
2785 | { | |
2786 | arg3 = &temp3; | |
2787 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2788 | } | |
2789 | } | |
2790 | if (obj3) { | |
2791 | { | |
2792 | arg4 = &temp4; | |
2793 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2794 | } | |
2795 | } | |
994141e6 | 2796 | if (obj4) { |
093d3ff1 | 2797 | { |
32fe5131 | 2798 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
2799 | if (SWIG_arg_fail(5)) SWIG_fail; |
2800 | } | |
994141e6 | 2801 | } |
d14a1e28 RD |
2802 | if (obj5) { |
2803 | { | |
2804 | arg6 = wxString_in_helper(obj5); | |
2805 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 2806 | temp6 = true; |
d14a1e28 RD |
2807 | } |
2808 | } | |
2809 | { | |
e3b71cb8 | 2810 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
2811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2812 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2813 | ||
2814 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2815 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 2816 | } |
b0f7404b | 2817 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
2818 | { |
2819 | if (temp6) | |
2820 | delete arg6; | |
2821 | } | |
2822 | return resultobj; | |
2823 | fail: | |
2824 | { | |
2825 | if (temp6) | |
2826 | delete arg6; | |
2827 | } | |
2828 | return NULL; | |
2829 | } | |
2830 | ||
2831 | ||
c32bde28 | 2832 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2833 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2834 | wxPanel *result; |
2835 | char *kwnames[] = { | |
2836 | NULL | |
2837 | }; | |
2838 | ||
2839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
2840 | { | |
e3b71cb8 | 2841 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
2842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2843 | result = (wxPanel *)new wxPanel(); | |
2844 | ||
2845 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2846 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 2847 | } |
b0f7404b | 2848 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
2849 | return resultobj; |
2850 | fail: | |
2851 | return NULL; | |
2852 | } | |
2853 | ||
2854 | ||
c32bde28 | 2855 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2856 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2857 | wxPanel *arg1 = (wxPanel *) 0 ; |
2858 | wxWindow *arg2 = (wxWindow *) 0 ; | |
cfe5e918 | 2859 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
2860 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
2861 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2862 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2863 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2864 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2865 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
2866 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2867 | bool result; | |
2868 | wxPoint temp4 ; | |
2869 | wxSize temp5 ; | |
ae8162c8 | 2870 | bool temp7 = false ; |
d14a1e28 RD |
2871 | PyObject * obj0 = 0 ; |
2872 | PyObject * obj1 = 0 ; | |
994141e6 | 2873 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2874 | PyObject * obj3 = 0 ; |
2875 | PyObject * obj4 = 0 ; | |
994141e6 | 2876 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
2877 | PyObject * obj6 = 0 ; |
2878 | char *kwnames[] = { | |
2879 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2880 | }; | |
2881 | ||
cfe5e918 | 2882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
2883 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2884 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2885 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2886 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 | 2887 | if (obj2) { |
093d3ff1 | 2888 | { |
32fe5131 | 2889 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
2890 | if (SWIG_arg_fail(3)) SWIG_fail; |
2891 | } | |
cfe5e918 | 2892 | } |
d14a1e28 RD |
2893 | if (obj3) { |
2894 | { | |
2895 | arg4 = &temp4; | |
2896 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2897 | } | |
2898 | } | |
2899 | if (obj4) { | |
2900 | { | |
2901 | arg5 = &temp5; | |
2902 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2903 | } | |
2904 | } | |
994141e6 | 2905 | if (obj5) { |
093d3ff1 | 2906 | { |
32fe5131 | 2907 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
2908 | if (SWIG_arg_fail(6)) SWIG_fail; |
2909 | } | |
994141e6 | 2910 | } |
d14a1e28 RD |
2911 | if (obj6) { |
2912 | { | |
2913 | arg7 = wxString_in_helper(obj6); | |
2914 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 2915 | temp7 = true; |
d14a1e28 RD |
2916 | } |
2917 | } | |
2918 | { | |
2919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2920 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2921 | ||
2922 | wxPyEndAllowThreads(__tstate); | |
2923 | if (PyErr_Occurred()) SWIG_fail; | |
2924 | } | |
4f89f6a3 RD |
2925 | { |
2926 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2927 | } | |
d14a1e28 RD |
2928 | { |
2929 | if (temp7) | |
2930 | delete arg7; | |
2931 | } | |
2932 | return resultobj; | |
2933 | fail: | |
2934 | { | |
2935 | if (temp7) | |
2936 | delete arg7; | |
2937 | } | |
2938 | return NULL; | |
2939 | } | |
2940 | ||
2941 | ||
c32bde28 | 2942 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2943 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2944 | wxPanel *arg1 = (wxPanel *) 0 ; |
2945 | PyObject * obj0 = 0 ; | |
2946 | char *kwnames[] = { | |
2947 | (char *) "self", NULL | |
2948 | }; | |
2949 | ||
2950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2951 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2952 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2953 | { |
2954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2955 | (arg1)->InitDialog(); | |
2956 | ||
2957 | wxPyEndAllowThreads(__tstate); | |
2958 | if (PyErr_Occurred()) SWIG_fail; | |
2959 | } | |
2960 | Py_INCREF(Py_None); resultobj = Py_None; | |
2961 | return resultobj; | |
2962 | fail: | |
2963 | return NULL; | |
2964 | } | |
2965 | ||
2966 | ||
5cbf236d | 2967 | static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2968 | PyObject *resultobj = NULL; |
5cbf236d RD |
2969 | wxPanel *arg1 = (wxPanel *) 0 ; |
2970 | PyObject * obj0 = 0 ; | |
2971 | char *kwnames[] = { | |
2972 | (char *) "self", NULL | |
2973 | }; | |
2974 | ||
2975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2976 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2977 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
2978 | { |
2979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2980 | (arg1)->SetFocus(); | |
2981 | ||
2982 | wxPyEndAllowThreads(__tstate); | |
2983 | if (PyErr_Occurred()) SWIG_fail; | |
2984 | } | |
2985 | Py_INCREF(Py_None); resultobj = Py_None; | |
2986 | return resultobj; | |
2987 | fail: | |
2988 | return NULL; | |
2989 | } | |
2990 | ||
2991 | ||
2992 | static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 2993 | PyObject *resultobj = NULL; |
5cbf236d RD |
2994 | wxPanel *arg1 = (wxPanel *) 0 ; |
2995 | PyObject * obj0 = 0 ; | |
2996 | char *kwnames[] = { | |
2997 | (char *) "self", NULL | |
2998 | }; | |
2999 | ||
3000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3001 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
3002 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
3003 | { |
3004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3005 | (arg1)->SetFocusIgnoringChildren(); | |
3006 | ||
3007 | wxPyEndAllowThreads(__tstate); | |
3008 | if (PyErr_Occurred()) SWIG_fail; | |
3009 | } | |
3010 | Py_INCREF(Py_None); resultobj = Py_None; | |
3011 | return resultobj; | |
3012 | fail: | |
3013 | return NULL; | |
3014 | } | |
3015 | ||
3016 | ||
c32bde28 | 3017 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3018 | PyObject *resultobj = NULL; |
093d3ff1 | 3019 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
3020 | wxVisualAttributes result; |
3021 | PyObject * obj0 = 0 ; | |
3022 | char *kwnames[] = { | |
3023 | (char *) "variant", NULL | |
3024 | }; | |
3025 | ||
3026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
3027 | if (obj0) { | |
093d3ff1 | 3028 | { |
32fe5131 | 3029 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
3030 | if (SWIG_arg_fail(1)) SWIG_fail; |
3031 | } | |
22bfe96c RD |
3032 | } |
3033 | { | |
e3b71cb8 | 3034 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 3035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 3036 | result = wxPanel::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
3037 | |
3038 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3039 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
3040 | } |
3041 | { | |
3042 | wxVisualAttributes * resultptr; | |
32fe5131 | 3043 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
3044 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
3045 | } | |
3046 | return resultobj; | |
3047 | fail: | |
3048 | return NULL; | |
3049 | } | |
3050 | ||
3051 | ||
c32bde28 | 3052 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3053 | PyObject *obj; |
3054 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3055 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
3056 | Py_INCREF(obj); | |
3057 | return Py_BuildValue((char *)""); | |
3058 | } | |
c32bde28 | 3059 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3060 | PyObject *resultobj = NULL; |
d14a1e28 | 3061 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 3062 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
3063 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
3064 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3065 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3066 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3067 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
3068 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
3069 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
3070 | wxScrolledWindow *result; | |
3071 | wxPoint temp3 ; | |
3072 | wxSize temp4 ; | |
ae8162c8 | 3073 | bool temp6 = false ; |
d14a1e28 | 3074 | PyObject * obj0 = 0 ; |
994141e6 | 3075 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3076 | PyObject * obj2 = 0 ; |
3077 | PyObject * obj3 = 0 ; | |
994141e6 | 3078 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
3079 | PyObject * obj5 = 0 ; |
3080 | char *kwnames[] = { | |
3081 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3082 | }; | |
3083 | ||
994141e6 | 3084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
3085 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
3086 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 3087 | if (obj1) { |
093d3ff1 | 3088 | { |
32fe5131 | 3089 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3090 | if (SWIG_arg_fail(2)) SWIG_fail; |
3091 | } | |
994141e6 | 3092 | } |
d14a1e28 RD |
3093 | if (obj2) { |
3094 | { | |
3095 | arg3 = &temp3; | |
3096 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3097 | } | |
3098 | } | |
3099 | if (obj3) { | |
3100 | { | |
3101 | arg4 = &temp4; | |
3102 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3103 | } | |
3104 | } | |
994141e6 | 3105 | if (obj4) { |
093d3ff1 | 3106 | { |
32fe5131 | 3107 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
3108 | if (SWIG_arg_fail(5)) SWIG_fail; |
3109 | } | |
994141e6 | 3110 | } |
d14a1e28 RD |
3111 | if (obj5) { |
3112 | { | |
3113 | arg6 = wxString_in_helper(obj5); | |
3114 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 3115 | temp6 = true; |
d14a1e28 RD |
3116 | } |
3117 | } | |
3118 | { | |
e3b71cb8 | 3119 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
3120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3121 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
3122 | ||
3123 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3124 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 3125 | } |
b0f7404b | 3126 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
3127 | { |
3128 | if (temp6) | |
3129 | delete arg6; | |
3130 | } | |
3131 | return resultobj; | |
3132 | fail: | |
3133 | { | |
3134 | if (temp6) | |
3135 | delete arg6; | |
3136 | } | |
3137 | return NULL; | |
3138 | } | |
3139 | ||
3140 | ||
c32bde28 | 3141 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3142 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3143 | wxScrolledWindow *result; |
3144 | char *kwnames[] = { | |
3145 | NULL | |
3146 | }; | |
3147 | ||
3148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
3149 | { | |
e3b71cb8 | 3150 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
3151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3152 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
3153 | ||
3154 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3155 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 3156 | } |
b0f7404b | 3157 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
3158 | return resultobj; |
3159 | fail: | |
3160 | return NULL; | |
3161 | } | |
3162 | ||
3163 | ||
c32bde28 | 3164 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3165 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3166 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3167 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 3168 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
3169 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
3170 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3171 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3172 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3173 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
3174 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
3175 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3176 | bool result; | |
3177 | wxPoint temp4 ; | |
3178 | wxSize temp5 ; | |
ae8162c8 | 3179 | bool temp7 = false ; |
d14a1e28 RD |
3180 | PyObject * obj0 = 0 ; |
3181 | PyObject * obj1 = 0 ; | |
994141e6 | 3182 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3183 | PyObject * obj3 = 0 ; |
3184 | PyObject * obj4 = 0 ; | |
994141e6 | 3185 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3186 | PyObject * obj6 = 0 ; |
3187 | char *kwnames[] = { | |
3188 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3189 | }; | |
3190 | ||
994141e6 | 3191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
3192 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3193 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3194 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3195 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 3196 | if (obj2) { |
093d3ff1 | 3197 | { |
32fe5131 | 3198 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3199 | if (SWIG_arg_fail(3)) SWIG_fail; |
3200 | } | |
994141e6 | 3201 | } |
d14a1e28 RD |
3202 | if (obj3) { |
3203 | { | |
3204 | arg4 = &temp4; | |
3205 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3206 | } | |
3207 | } | |
3208 | if (obj4) { | |
3209 | { | |
3210 | arg5 = &temp5; | |
3211 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3212 | } | |
3213 | } | |
994141e6 | 3214 | if (obj5) { |
093d3ff1 | 3215 | { |
32fe5131 | 3216 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
3217 | if (SWIG_arg_fail(6)) SWIG_fail; |
3218 | } | |
994141e6 | 3219 | } |
d14a1e28 RD |
3220 | if (obj6) { |
3221 | { | |
3222 | arg7 = wxString_in_helper(obj6); | |
3223 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 3224 | temp7 = true; |
d14a1e28 RD |
3225 | } |
3226 | } | |
3227 | { | |
3228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3229 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3230 | ||
3231 | wxPyEndAllowThreads(__tstate); | |
3232 | if (PyErr_Occurred()) SWIG_fail; | |
3233 | } | |
4f89f6a3 RD |
3234 | { |
3235 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3236 | } | |
d14a1e28 RD |
3237 | { |
3238 | if (temp7) | |
3239 | delete arg7; | |
3240 | } | |
3241 | return resultobj; | |
3242 | fail: | |
3243 | { | |
3244 | if (temp7) | |
3245 | delete arg7; | |
3246 | } | |
3247 | return NULL; | |
3248 | } | |
3249 | ||
3250 | ||
c32bde28 | 3251 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3252 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3253 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3254 | int arg2 ; | |
3255 | int arg3 ; | |
3256 | int arg4 ; | |
3257 | int arg5 ; | |
3258 | int arg6 = (int) 0 ; | |
3259 | int arg7 = (int) 0 ; | |
ae8162c8 | 3260 | bool arg8 = (bool) false ; |
d14a1e28 | 3261 | PyObject * obj0 = 0 ; |
994141e6 RD |
3262 | PyObject * obj1 = 0 ; |
3263 | PyObject * obj2 = 0 ; | |
3264 | PyObject * obj3 = 0 ; | |
3265 | PyObject * obj4 = 0 ; | |
3266 | PyObject * obj5 = 0 ; | |
3267 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
3268 | PyObject * obj7 = 0 ; |
3269 | char *kwnames[] = { | |
3270 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
3271 | }; | |
3272 | ||
994141e6 | 3273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
3274 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3275 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3276 | { | |
32fe5131 | 3277 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3278 | if (SWIG_arg_fail(2)) SWIG_fail; |
3279 | } | |
3280 | { | |
32fe5131 | 3281 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3282 | if (SWIG_arg_fail(3)) SWIG_fail; |
3283 | } | |
3284 | { | |
32fe5131 | 3285 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
3286 | if (SWIG_arg_fail(4)) SWIG_fail; |
3287 | } | |
3288 | { | |
32fe5131 | 3289 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
3290 | if (SWIG_arg_fail(5)) SWIG_fail; |
3291 | } | |
994141e6 | 3292 | if (obj5) { |
093d3ff1 | 3293 | { |
32fe5131 | 3294 | arg6 = static_cast<int >(SWIG_As_int(obj5)); |
093d3ff1 RD |
3295 | if (SWIG_arg_fail(6)) SWIG_fail; |
3296 | } | |
994141e6 RD |
3297 | } |
3298 | if (obj6) { | |
093d3ff1 | 3299 | { |
32fe5131 | 3300 | arg7 = static_cast<int >(SWIG_As_int(obj6)); |
093d3ff1 RD |
3301 | if (SWIG_arg_fail(7)) SWIG_fail; |
3302 | } | |
994141e6 | 3303 | } |
d14a1e28 | 3304 | if (obj7) { |
093d3ff1 | 3305 | { |
32fe5131 | 3306 | arg8 = static_cast<bool >(SWIG_As_bool(obj7)); |
093d3ff1 RD |
3307 | if (SWIG_arg_fail(8)) SWIG_fail; |
3308 | } | |
d14a1e28 RD |
3309 | } |
3310 | { | |
3311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3312 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
3313 | ||
3314 | wxPyEndAllowThreads(__tstate); | |
3315 | if (PyErr_Occurred()) SWIG_fail; | |
3316 | } | |
3317 | Py_INCREF(Py_None); resultobj = Py_None; | |
3318 | return resultobj; | |
3319 | fail: | |
3320 | return NULL; | |
3321 | } | |
3322 | ||
3323 | ||
c32bde28 | 3324 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3325 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3326 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3327 | int arg2 ; | |
3328 | int arg3 ; | |
3329 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3330 | PyObject * obj1 = 0 ; |
3331 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3332 | char *kwnames[] = { |
3333 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3334 | }; | |
3335 | ||
994141e6 | 3336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3339 | { | |
32fe5131 | 3340 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3341 | if (SWIG_arg_fail(2)) SWIG_fail; |
3342 | } | |
3343 | { | |
32fe5131 | 3344 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3345 | if (SWIG_arg_fail(3)) SWIG_fail; |
3346 | } | |
d14a1e28 RD |
3347 | { |
3348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3349 | (arg1)->Scroll(arg2,arg3); | |
3350 | ||
3351 | wxPyEndAllowThreads(__tstate); | |
3352 | if (PyErr_Occurred()) SWIG_fail; | |
3353 | } | |
3354 | Py_INCREF(Py_None); resultobj = Py_None; | |
3355 | return resultobj; | |
3356 | fail: | |
3357 | return NULL; | |
3358 | } | |
3359 | ||
3360 | ||
c32bde28 | 3361 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3362 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3363 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3364 | int arg2 ; | |
3365 | int result; | |
3366 | PyObject * obj0 = 0 ; | |
994141e6 | 3367 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3368 | char *kwnames[] = { |
3369 | (char *) "self",(char *) "orient", NULL | |
3370 | }; | |
3371 | ||
994141e6 | 3372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3373 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3374 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3375 | { | |
32fe5131 | 3376 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3377 | if (SWIG_arg_fail(2)) SWIG_fail; |
3378 | } | |
d14a1e28 RD |
3379 | { |
3380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3381 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
3382 | ||
3383 | wxPyEndAllowThreads(__tstate); | |
3384 | if (PyErr_Occurred()) SWIG_fail; | |
3385 | } | |
093d3ff1 | 3386 | { |
32fe5131 | 3387 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 3388 | } |
d14a1e28 RD |
3389 | return resultobj; |
3390 | fail: | |
3391 | return NULL; | |
3392 | } | |
3393 | ||
3394 | ||
c32bde28 | 3395 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3396 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3397 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3398 | int arg2 ; | |
3399 | int arg3 ; | |
3400 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3401 | PyObject * obj1 = 0 ; |
3402 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3403 | char *kwnames[] = { |
3404 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
3405 | }; | |
3406 | ||
994141e6 | 3407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3408 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3409 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3410 | { | |
32fe5131 | 3411 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3412 | if (SWIG_arg_fail(2)) SWIG_fail; |
3413 | } | |
3414 | { | |
32fe5131 | 3415 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3416 | if (SWIG_arg_fail(3)) SWIG_fail; |
3417 | } | |
d14a1e28 RD |
3418 | { |
3419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3420 | (arg1)->SetScrollPageSize(arg2,arg3); | |
3421 | ||
3422 | wxPyEndAllowThreads(__tstate); | |
3423 | if (PyErr_Occurred()) SWIG_fail; | |
3424 | } | |
3425 | Py_INCREF(Py_None); resultobj = Py_None; | |
3426 | return resultobj; | |
3427 | fail: | |
3428 | return NULL; | |
3429 | } | |
3430 | ||
3431 | ||
c32bde28 | 3432 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3433 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3434 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3435 | int arg2 ; | |
3436 | int arg3 ; | |
3437 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3438 | PyObject * obj1 = 0 ; |
3439 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3440 | char *kwnames[] = { |
3441 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
3442 | }; | |
3443 | ||
994141e6 | 3444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3447 | { | |
32fe5131 | 3448 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3449 | if (SWIG_arg_fail(2)) SWIG_fail; |
3450 | } | |
3451 | { | |
32fe5131 | 3452 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3453 | if (SWIG_arg_fail(3)) SWIG_fail; |
3454 | } | |
d14a1e28 RD |
3455 | { |
3456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3457 | (arg1)->SetScrollRate(arg2,arg3); | |
3458 | ||
3459 | wxPyEndAllowThreads(__tstate); | |
3460 | if (PyErr_Occurred()) SWIG_fail; | |
3461 | } | |
3462 | Py_INCREF(Py_None); resultobj = Py_None; | |
3463 | return resultobj; | |
3464 | fail: | |
3465 | return NULL; | |
3466 | } | |
3467 | ||
3468 | ||
c32bde28 | 3469 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3470 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3471 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3472 | int *arg2 = (int *) 0 ; | |
3473 | int *arg3 = (int *) 0 ; | |
3474 | int temp2 ; | |
c32bde28 | 3475 | int res2 = 0 ; |
d14a1e28 | 3476 | int temp3 ; |
c32bde28 | 3477 | int res3 = 0 ; |
d14a1e28 RD |
3478 | PyObject * obj0 = 0 ; |
3479 | char *kwnames[] = { | |
3480 | (char *) "self", NULL | |
3481 | }; | |
3482 | ||
c32bde28 RD |
3483 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3484 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 3485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
3486 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3487 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3488 | { |
3489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3490 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
3491 | ||
3492 | wxPyEndAllowThreads(__tstate); | |
3493 | if (PyErr_Occurred()) SWIG_fail; | |
3494 | } | |
3495 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
3496 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3497 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3498 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3499 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
3500 | return resultobj; |
3501 | fail: | |
3502 | return NULL; | |
3503 | } | |
3504 | ||
3505 | ||
c32bde28 | 3506 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3507 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3508 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3509 | bool arg2 ; | |
3510 | bool arg3 ; | |
3511 | PyObject * obj0 = 0 ; | |
3512 | PyObject * obj1 = 0 ; | |
3513 | PyObject * obj2 = 0 ; | |
3514 | char *kwnames[] = { | |
3515 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
3516 | }; | |
3517 | ||
3518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
3519 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3520 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3521 | { | |
32fe5131 | 3522 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
3523 | if (SWIG_arg_fail(2)) SWIG_fail; |
3524 | } | |
3525 | { | |
32fe5131 | 3526 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
3527 | if (SWIG_arg_fail(3)) SWIG_fail; |
3528 | } | |
d14a1e28 RD |
3529 | { |
3530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3531 | (arg1)->EnableScrolling(arg2,arg3); | |
3532 | ||
3533 | wxPyEndAllowThreads(__tstate); | |
3534 | if (PyErr_Occurred()) SWIG_fail; | |
3535 | } | |
3536 | Py_INCREF(Py_None); resultobj = Py_None; | |
3537 | return resultobj; | |
3538 | fail: | |
3539 | return NULL; | |
3540 | } | |
3541 | ||
3542 | ||
c32bde28 | 3543 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3544 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3545 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3546 | int *arg2 = (int *) 0 ; | |
3547 | int *arg3 = (int *) 0 ; | |
3548 | int temp2 ; | |
c32bde28 | 3549 | int res2 = 0 ; |
d14a1e28 | 3550 | int temp3 ; |
c32bde28 | 3551 | int res3 = 0 ; |
d14a1e28 RD |
3552 | PyObject * obj0 = 0 ; |
3553 | char *kwnames[] = { | |
3554 | (char *) "self", NULL | |
3555 | }; | |
3556 | ||
c32bde28 RD |
3557 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3558 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 3559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
3560 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3561 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3562 | { |
3563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3564 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
3565 | ||
3566 | wxPyEndAllowThreads(__tstate); | |
3567 | if (PyErr_Occurred()) SWIG_fail; | |
3568 | } | |
3569 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
3570 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3571 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3572 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3573 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
3574 | return resultobj; |
3575 | fail: | |
3576 | return NULL; | |
3577 | } | |
3578 | ||
3579 | ||
c32bde28 | 3580 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3581 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3582 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3583 | double arg2 ; | |
3584 | double arg3 ; | |
3585 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3586 | PyObject * obj1 = 0 ; |
3587 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3588 | char *kwnames[] = { |
3589 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
3590 | }; | |
3591 | ||
994141e6 | 3592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3593 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3594 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3595 | { | |
32fe5131 | 3596 | arg2 = static_cast<double >(SWIG_As_double(obj1)); |
093d3ff1 RD |
3597 | if (SWIG_arg_fail(2)) SWIG_fail; |
3598 | } | |
3599 | { | |
32fe5131 | 3600 | arg3 = static_cast<double >(SWIG_As_double(obj2)); |
093d3ff1 RD |
3601 | if (SWIG_arg_fail(3)) SWIG_fail; |
3602 | } | |
d14a1e28 RD |
3603 | { |
3604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3605 | (arg1)->SetScale(arg2,arg3); | |
3606 | ||
3607 | wxPyEndAllowThreads(__tstate); | |
3608 | if (PyErr_Occurred()) SWIG_fail; | |
3609 | } | |
3610 | Py_INCREF(Py_None); resultobj = Py_None; | |
3611 | return resultobj; | |
3612 | fail: | |
3613 | return NULL; | |
3614 | } | |
3615 | ||
3616 | ||
c32bde28 | 3617 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3618 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3619 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3620 | double result; | |
3621 | PyObject * obj0 = 0 ; | |
3622 | char *kwnames[] = { | |
3623 | (char *) "self", NULL | |
3624 | }; | |
3625 | ||
3626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3627 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3628 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3629 | { |
3630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3631 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
3632 | ||
3633 | wxPyEndAllowThreads(__tstate); | |
3634 | if (PyErr_Occurred()) SWIG_fail; | |
3635 | } | |
093d3ff1 | 3636 | { |
32fe5131 | 3637 | resultobj = SWIG_From_double(static_cast<double >(result)); |
093d3ff1 | 3638 | } |
d14a1e28 RD |
3639 | return resultobj; |
3640 | fail: | |
3641 | return NULL; | |
3642 | } | |
3643 | ||
3644 | ||
c32bde28 | 3645 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3646 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3647 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3648 | double result; | |
3649 | PyObject * obj0 = 0 ; | |
3650 | char *kwnames[] = { | |
3651 | (char *) "self", NULL | |
3652 | }; | |
3653 | ||
3654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3655 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3656 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3657 | { |
3658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3659 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
3660 | ||
3661 | wxPyEndAllowThreads(__tstate); | |
3662 | if (PyErr_Occurred()) SWIG_fail; | |
3663 | } | |
093d3ff1 | 3664 | { |
32fe5131 | 3665 | resultobj = SWIG_From_double(static_cast<double >(result)); |
093d3ff1 | 3666 | } |
d14a1e28 RD |
3667 | return resultobj; |
3668 | fail: | |
3669 | return NULL; | |
3670 | } | |
3671 | ||
3672 | ||
c32bde28 | 3673 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 3674 | PyObject *resultobj = NULL; |
d14a1e28 | 3675 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
322913ce RD |
3676 | wxPoint *arg2 = 0 ; |
3677 | wxPoint result; | |
3678 | wxPoint temp2 ; | |
d14a1e28 | 3679 | PyObject * obj0 = 0 ; |
322913ce | 3680 | PyObject * obj1 = 0 ; |
d14a1e28 | 3681 | |
322913ce | 3682 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3683 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3684 | if (SWIG_arg_fail(1)) SWIG_fail; | |
322913ce RD |
3685 | { |
3686 | arg2 = &temp2; | |
3687 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3688 | } | |
d14a1e28 RD |
3689 | { |
3690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 3691 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
3692 | |
3693 | wxPyEndAllowThreads(__tstate); | |
3694 | if (PyErr_Occurred()) SWIG_fail; | |
3695 | } | |
d14a1e28 | 3696 | { |
322913ce | 3697 | wxPoint * resultptr; |
32fe5131 | 3698 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 3699 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3700 | } |
3701 | return resultobj; | |
3702 | fail: | |
3703 | return NULL; | |
3704 | } | |
3705 | ||
3706 | ||
c32bde28 | 3707 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 3708 | PyObject *resultobj = NULL; |
d14a1e28 | 3709 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
322913ce RD |
3710 | int arg2 ; |
3711 | int arg3 ; | |
3712 | int *arg4 = (int *) 0 ; | |
3713 | int *arg5 = (int *) 0 ; | |
3714 | int temp4 ; | |
c32bde28 | 3715 | int res4 = 0 ; |
322913ce | 3716 | int temp5 ; |
c32bde28 | 3717 | int res5 = 0 ; |
d14a1e28 | 3718 | PyObject * obj0 = 0 ; |
994141e6 RD |
3719 | PyObject * obj1 = 0 ; |
3720 | PyObject * obj2 = 0 ; | |
d14a1e28 | 3721 | |
c32bde28 RD |
3722 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3723 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
994141e6 | 3724 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3725 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3726 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3727 | { | |
32fe5131 | 3728 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3729 | if (SWIG_arg_fail(2)) SWIG_fail; |
3730 | } | |
3731 | { | |
32fe5131 | 3732 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3733 | if (SWIG_arg_fail(3)) SWIG_fail; |
3734 | } | |
d14a1e28 RD |
3735 | { |
3736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 3737 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
3738 | |
3739 | wxPyEndAllowThreads(__tstate); | |
3740 | if (PyErr_Occurred()) SWIG_fail; | |
3741 | } | |
322913ce | 3742 | Py_INCREF(Py_None); resultobj = Py_None; |
c32bde28 RD |
3743 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3744 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3745 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3746 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
3747 | return resultobj; |
3748 | fail: | |
3749 | return NULL; | |
3750 | } | |
3751 | ||
3752 | ||
3753 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
3754 | int argc; | |
3755 | PyObject *argv[4]; | |
3756 | int ii; | |
3757 | ||
3758 | argc = PyObject_Length(args); | |
3759 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3760 | argv[ii] = PyTuple_GetItem(args,ii); | |
3761 | } | |
3762 | if (argc == 2) { | |
3763 | int _v; | |
3764 | { | |
3765 | void *ptr; | |
15afbcd0 | 3766 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
3767 | _v = 0; |
3768 | PyErr_Clear(); | |
3769 | } else { | |
3770 | _v = 1; | |
3771 | } | |
3772 | } | |
3773 | if (_v) { | |
3774 | { | |
3775 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3776 | } | |
3777 | if (_v) { | |
322913ce | 3778 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
3779 | } |
3780 | } | |
3781 | } | |
3782 | if (argc == 3) { | |
3783 | int _v; | |
3784 | { | |
3785 | void *ptr; | |
15afbcd0 | 3786 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
3787 | _v = 0; |
3788 | PyErr_Clear(); | |
3789 | } else { | |
3790 | _v = 1; | |
3791 | } | |
3792 | } | |
3793 | if (_v) { | |
c32bde28 | 3794 | _v = SWIG_Check_int(argv[1]); |
d14a1e28 | 3795 | if (_v) { |
c32bde28 | 3796 | _v = SWIG_Check_int(argv[2]); |
d14a1e28 | 3797 | if (_v) { |
322913ce | 3798 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
3799 | } |
3800 | } | |
3801 | } | |
3802 | } | |
3803 | ||
093d3ff1 | 3804 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); |
d14a1e28 RD |
3805 | return NULL; |
3806 | } | |
3807 | ||
3808 | ||
c32bde28 | 3809 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 3810 | PyObject *resultobj = NULL; |
d14a1e28 | 3811 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
322913ce RD |
3812 | wxPoint *arg2 = 0 ; |
3813 | wxPoint result; | |
3814 | wxPoint temp2 ; | |
d14a1e28 | 3815 | PyObject * obj0 = 0 ; |
322913ce | 3816 | PyObject * obj1 = 0 ; |
d14a1e28 | 3817 | |
322913ce | 3818 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
093d3ff1 RD |
3819 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3820 | if (SWIG_arg_fail(1)) SWIG_fail; | |
322913ce RD |
3821 | { |
3822 | arg2 = &temp2; | |
3823 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3824 | } | |
d14a1e28 RD |
3825 | { |
3826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 3827 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
3828 | |
3829 | wxPyEndAllowThreads(__tstate); | |
3830 | if (PyErr_Occurred()) SWIG_fail; | |
3831 | } | |
d14a1e28 | 3832 | { |
322913ce | 3833 | wxPoint * resultptr; |
32fe5131 | 3834 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 3835 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3836 | } |
3837 | return resultobj; | |
3838 | fail: | |
3839 | return NULL; | |
3840 | } | |
3841 | ||
3842 | ||
c32bde28 | 3843 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 3844 | PyObject *resultobj = NULL; |
d14a1e28 | 3845 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
322913ce RD |
3846 | int arg2 ; |
3847 | int arg3 ; | |
3848 | int *arg4 = (int *) 0 ; | |
3849 | int *arg5 = (int *) 0 ; | |
3850 | int temp4 ; | |
c32bde28 | 3851 | int res4 = 0 ; |
322913ce | 3852 | int temp5 ; |
c32bde28 | 3853 | int res5 = 0 ; |
d14a1e28 | 3854 | PyObject * obj0 = 0 ; |
994141e6 RD |
3855 | PyObject * obj1 = 0 ; |
3856 | PyObject * obj2 = 0 ; | |
d14a1e28 | 3857 | |
c32bde28 RD |
3858 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3859 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
994141e6 | 3860 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3861 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3862 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3863 | { | |
32fe5131 | 3864 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3865 | if (SWIG_arg_fail(2)) SWIG_fail; |
3866 | } | |
3867 | { | |
32fe5131 | 3868 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3869 | if (SWIG_arg_fail(3)) SWIG_fail; |
3870 | } | |
d14a1e28 RD |
3871 | { |
3872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 3873 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
3874 | |
3875 | wxPyEndAllowThreads(__tstate); | |
3876 | if (PyErr_Occurred()) SWIG_fail; | |
3877 | } | |
322913ce | 3878 | Py_INCREF(Py_None); resultobj = Py_None; |
c32bde28 RD |
3879 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3880 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3881 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3882 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
3883 | return resultobj; |
3884 | fail: | |
3885 | return NULL; | |
3886 | } | |
3887 | ||
3888 | ||
3889 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
3890 | int argc; | |
3891 | PyObject *argv[4]; | |
3892 | int ii; | |
3893 | ||
3894 | argc = PyObject_Length(args); | |
3895 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3896 | argv[ii] = PyTuple_GetItem(args,ii); | |
3897 | } | |
3898 | if (argc == 2) { | |
3899 | int _v; | |
3900 | { | |
3901 | void *ptr; | |
15afbcd0 | 3902 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
3903 | _v = 0; |
3904 | PyErr_Clear(); | |
3905 | } else { | |
3906 | _v = 1; | |
3907 | } | |
3908 | } | |
3909 | if (_v) { | |
3910 | { | |
3911 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3912 | } | |
3913 | if (_v) { | |
322913ce | 3914 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
3915 | } |
3916 | } | |
3917 | } | |
3918 | if (argc == 3) { | |
3919 | int _v; | |
3920 | { | |
3921 | void *ptr; | |
15afbcd0 | 3922 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
3923 | _v = 0; |
3924 | PyErr_Clear(); | |
3925 | } else { | |
3926 | _v = 1; | |
3927 | } | |
3928 | } | |
3929 | if (_v) { | |
c32bde28 | 3930 | _v = SWIG_Check_int(argv[1]); |
d14a1e28 | 3931 | if (_v) { |
c32bde28 | 3932 | _v = SWIG_Check_int(argv[2]); |
d14a1e28 | 3933 | if (_v) { |
322913ce | 3934 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
3935 | } |
3936 | } | |
3937 | } | |
3938 | } | |
3939 | ||
093d3ff1 | 3940 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); |
d14a1e28 RD |
3941 | return NULL; |
3942 | } | |
3943 | ||
3944 | ||
c32bde28 | 3945 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3946 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3947 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3948 | PyObject * obj0 = 0 ; | |
3949 | char *kwnames[] = { | |
3950 | (char *) "self", NULL | |
3951 | }; | |
3952 | ||
3953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3954 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3955 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3956 | { |
3957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3958 | (arg1)->AdjustScrollbars(); | |
3959 | ||
3960 | wxPyEndAllowThreads(__tstate); | |
3961 | if (PyErr_Occurred()) SWIG_fail; | |
3962 | } | |
3963 | Py_INCREF(Py_None); resultobj = Py_None; | |
3964 | return resultobj; | |
3965 | fail: | |
3966 | return NULL; | |
3967 | } | |
3968 | ||
3969 | ||
c32bde28 | 3970 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3971 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3972 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
3973 | wxScrollWinEvent *arg2 = 0 ; | |
3974 | int result; | |
3975 | PyObject * obj0 = 0 ; | |
3976 | PyObject * obj1 = 0 ; | |
3977 | char *kwnames[] = { | |
3978 | (char *) "self",(char *) "event", NULL | |
3979 | }; | |
3980 | ||
3981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3982 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3983 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3984 | { | |
3985 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); | |
3986 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3987 | if (arg2 == NULL) { | |
3988 | SWIG_null_ref("wxScrollWinEvent"); | |
3989 | } | |
3990 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
3991 | } |
3992 | { | |
3993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3994 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
3995 | ||
3996 | wxPyEndAllowThreads(__tstate); | |
3997 | if (PyErr_Occurred()) SWIG_fail; | |
3998 | } | |
093d3ff1 | 3999 | { |
32fe5131 | 4000 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 4001 | } |
d14a1e28 RD |
4002 | return resultobj; |
4003 | fail: | |
4004 | return NULL; | |
4005 | } | |
4006 | ||
4007 | ||
c32bde28 | 4008 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4009 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4010 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
4011 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4012 | PyObject * obj0 = 0 ; | |
4013 | PyObject * obj1 = 0 ; | |
4014 | char *kwnames[] = { | |
4015 | (char *) "self",(char *) "target", NULL | |
4016 | }; | |
4017 | ||
4018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4019 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
4020 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4021 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4022 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4023 | { |
4024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4025 | (arg1)->SetTargetWindow(arg2); | |
4026 | ||
4027 | wxPyEndAllowThreads(__tstate); | |
4028 | if (PyErr_Occurred()) SWIG_fail; | |
4029 | } | |
4030 | Py_INCREF(Py_None); resultobj = Py_None; | |
4031 | return resultobj; | |
4032 | fail: | |
4033 | return NULL; | |
4034 | } | |
4035 | ||
4036 | ||
c32bde28 | 4037 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4038 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4039 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
4040 | wxWindow *result; | |
4041 | PyObject * obj0 = 0 ; | |
4042 | char *kwnames[] = { | |
4043 | (char *) "self", NULL | |
4044 | }; | |
4045 | ||
4046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4047 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
4048 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4049 | { |
4050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4051 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
4052 | ||
4053 | wxPyEndAllowThreads(__tstate); | |
4054 | if (PyErr_Occurred()) SWIG_fail; | |
4055 | } | |
4056 | { | |
412d302d | 4057 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
4058 | } |
4059 | return resultobj; | |
4060 | fail: | |
4061 | return NULL; | |
4062 | } | |
4063 | ||
4064 | ||
c32bde28 | 4065 | static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4066 | PyObject *resultobj = NULL; |
f5b96ee1 RD |
4067 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; |
4068 | wxDC *arg2 = 0 ; | |
4069 | PyObject * obj0 = 0 ; | |
4070 | PyObject * obj1 = 0 ; | |
4071 | char *kwnames[] = { | |
4072 | (char *) "self",(char *) "dc", NULL | |
4073 | }; | |
4074 | ||
4075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4076 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
4077 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4078 | { | |
4079 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
4080 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4081 | if (arg2 == NULL) { | |
4082 | SWIG_null_ref("wxDC"); | |
4083 | } | |
4084 | if (SWIG_arg_fail(2)) SWIG_fail; | |
f5b96ee1 RD |
4085 | } |
4086 | { | |
4087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4088 | (arg1)->DoPrepareDC(*arg2); | |
4089 | ||
4090 | wxPyEndAllowThreads(__tstate); | |
4091 | if (PyErr_Occurred()) SWIG_fail; | |
4092 | } | |
4093 | Py_INCREF(Py_None); resultobj = Py_None; | |
4094 | return resultobj; | |
4095 | fail: | |
4096 | return NULL; | |
4097 | } | |
4098 | ||
4099 | ||
c32bde28 | 4100 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4101 | PyObject *resultobj = NULL; |
093d3ff1 | 4102 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
4103 | wxVisualAttributes result; |
4104 | PyObject * obj0 = 0 ; | |
4105 | char *kwnames[] = { | |
4106 | (char *) "variant", NULL | |
4107 | }; | |
4108 | ||
4109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4110 | if (obj0) { | |
093d3ff1 | 4111 | { |
32fe5131 | 4112 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
4113 | if (SWIG_arg_fail(1)) SWIG_fail; |
4114 | } | |
22bfe96c RD |
4115 | } |
4116 | { | |
e3b71cb8 | 4117 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 4118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 4119 | result = wxScrolledWindow::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
4120 | |
4121 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4122 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
4123 | } |
4124 | { | |
4125 | wxVisualAttributes * resultptr; | |
32fe5131 | 4126 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
4127 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
4128 | } | |
4129 | return resultobj; | |
4130 | fail: | |
4131 | return NULL; | |
4132 | } | |
4133 | ||
4134 | ||
c32bde28 | 4135 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4136 | PyObject *obj; |
4137 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4138 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
4139 | Py_INCREF(obj); | |
4140 | return Py_BuildValue((char *)""); | |
4141 | } | |
c32bde28 | 4142 | static int _wrap_FrameNameStr_set(PyObject *) { |
b2dc1044 RD |
4143 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
4144 | return 1; | |
4145 | } | |
4146 | ||
4147 | ||
093d3ff1 | 4148 | static PyObject *_wrap_FrameNameStr_get(void) { |
32fe5131 | 4149 | PyObject *pyobj = NULL; |
b2dc1044 RD |
4150 | |
4151 | { | |
4152 | #if wxUSE_UNICODE | |
4153 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
4154 | #else | |
4155 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
4156 | #endif | |
4157 | } | |
4158 | return pyobj; | |
4159 | } | |
4160 | ||
4161 | ||
c32bde28 | 4162 | static int _wrap_DialogNameStr_set(PyObject *) { |
b2dc1044 RD |
4163 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
4164 | return 1; | |
4165 | } | |
4166 | ||
4167 | ||
093d3ff1 | 4168 | static PyObject *_wrap_DialogNameStr_get(void) { |
32fe5131 | 4169 | PyObject *pyobj = NULL; |
b2dc1044 RD |
4170 | |
4171 | { | |
4172 | #if wxUSE_UNICODE | |
4173 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4174 | #else | |
4175 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4176 | #endif | |
4177 | } | |
4178 | return pyobj; | |
4179 | } | |
4180 | ||
4181 | ||
c32bde28 | 4182 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
b2dc1044 RD |
4183 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
4184 | return 1; | |
4185 | } | |
4186 | ||
4187 | ||
093d3ff1 | 4188 | static PyObject *_wrap_StatusLineNameStr_get(void) { |
32fe5131 | 4189 | PyObject *pyobj = NULL; |
b2dc1044 RD |
4190 | |
4191 | { | |
4192 | #if wxUSE_UNICODE | |
4193 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4194 | #else | |
4195 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4196 | #endif | |
4197 | } | |
4198 | return pyobj; | |
4199 | } | |
4200 | ||
4201 | ||
c32bde28 | 4202 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
b2dc1044 RD |
4203 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
4204 | return 1; | |
4205 | } | |
4206 | ||
4207 | ||
093d3ff1 | 4208 | static PyObject *_wrap_ToolBarNameStr_get(void) { |
32fe5131 | 4209 | PyObject *pyobj = NULL; |
b2dc1044 RD |
4210 | |
4211 | { | |
4212 | #if wxUSE_UNICODE | |
4213 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4214 | #else | |
4215 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4216 | #endif | |
4217 | } | |
4218 | return pyobj; | |
4219 | } | |
4220 | ||
4221 | ||
c32bde28 | 4222 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4223 | PyObject *resultobj = NULL; |
d14a1e28 | 4224 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
ae8162c8 | 4225 | bool arg2 = (bool) true ; |
d14a1e28 RD |
4226 | PyObject * obj0 = 0 ; |
4227 | PyObject * obj1 = 0 ; | |
4228 | char *kwnames[] = { | |
4229 | (char *) "self",(char *) "maximize", NULL | |
4230 | }; | |
4231 | ||
4232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 4235 | if (obj1) { |
093d3ff1 | 4236 | { |
32fe5131 | 4237 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
4238 | if (SWIG_arg_fail(2)) SWIG_fail; |
4239 | } | |
d14a1e28 RD |
4240 | } |
4241 | { | |
4242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4243 | (arg1)->Maximize(arg2); | |
4244 | ||
4245 | wxPyEndAllowThreads(__tstate); | |
4246 | if (PyErr_Occurred()) SWIG_fail; | |
4247 | } | |
4248 | Py_INCREF(Py_None); resultobj = Py_None; | |
4249 | return resultobj; | |
4250 | fail: | |
4251 | return NULL; | |
4252 | } | |
4253 | ||
4254 | ||
c32bde28 | 4255 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4256 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4257 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4258 | PyObject * obj0 = 0 ; | |
4259 | char *kwnames[] = { | |
4260 | (char *) "self", NULL | |
4261 | }; | |
4262 | ||
4263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4264 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4265 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4266 | { |
4267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4268 | (arg1)->Restore(); | |
4269 | ||
4270 | wxPyEndAllowThreads(__tstate); | |
4271 | if (PyErr_Occurred()) SWIG_fail; | |
4272 | } | |
4273 | Py_INCREF(Py_None); resultobj = Py_None; | |
4274 | return resultobj; | |
4275 | fail: | |
4276 | return NULL; | |
4277 | } | |
4278 | ||
4279 | ||
c32bde28 | 4280 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4281 | PyObject *resultobj = NULL; |
d14a1e28 | 4282 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
ae8162c8 | 4283 | bool arg2 = (bool) true ; |
d14a1e28 RD |
4284 | PyObject * obj0 = 0 ; |
4285 | PyObject * obj1 = 0 ; | |
4286 | char *kwnames[] = { | |
4287 | (char *) "self",(char *) "iconize", NULL | |
4288 | }; | |
4289 | ||
4290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4291 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4292 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 4293 | if (obj1) { |
093d3ff1 | 4294 | { |
32fe5131 | 4295 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
4296 | if (SWIG_arg_fail(2)) SWIG_fail; |
4297 | } | |
d14a1e28 RD |
4298 | } |
4299 | { | |
4300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4301 | (arg1)->Iconize(arg2); | |
4302 | ||
4303 | wxPyEndAllowThreads(__tstate); | |
4304 | if (PyErr_Occurred()) SWIG_fail; | |
4305 | } | |
4306 | Py_INCREF(Py_None); resultobj = Py_None; | |
4307 | return resultobj; | |
4308 | fail: | |
4309 | return NULL; | |
4310 | } | |
4311 | ||
4312 | ||
c32bde28 | 4313 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4314 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4315 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4316 | bool result; | |
4317 | PyObject * obj0 = 0 ; | |
4318 | char *kwnames[] = { | |
4319 | (char *) "self", NULL | |
4320 | }; | |
4321 | ||
4322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4323 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4324 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4325 | { |
4326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4327 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
4328 | ||
4329 | wxPyEndAllowThreads(__tstate); | |
4330 | if (PyErr_Occurred()) SWIG_fail; | |
4331 | } | |
4f89f6a3 RD |
4332 | { |
4333 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4334 | } | |
d14a1e28 RD |
4335 | return resultobj; |
4336 | fail: | |
4337 | return NULL; | |
4338 | } | |
4339 | ||
4340 | ||
c32bde28 | 4341 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4342 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4343 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4344 | bool result; | |
4345 | PyObject * obj0 = 0 ; | |
4346 | char *kwnames[] = { | |
4347 | (char *) "self", NULL | |
4348 | }; | |
4349 | ||
4350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4351 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4352 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4353 | { |
4354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4355 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
4356 | ||
4357 | wxPyEndAllowThreads(__tstate); | |
4358 | if (PyErr_Occurred()) SWIG_fail; | |
4359 | } | |
4f89f6a3 RD |
4360 | { |
4361 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4362 | } | |
d14a1e28 RD |
4363 | return resultobj; |
4364 | fail: | |
4365 | return NULL; | |
4366 | } | |
4367 | ||
4368 | ||
c32bde28 | 4369 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4370 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4371 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4372 | wxIcon result; | |
4373 | PyObject * obj0 = 0 ; | |
4374 | char *kwnames[] = { | |
4375 | (char *) "self", NULL | |
4376 | }; | |
4377 | ||
4378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4379 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4380 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4381 | { |
4382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4383 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
4384 | ||
4385 | wxPyEndAllowThreads(__tstate); | |
4386 | if (PyErr_Occurred()) SWIG_fail; | |
4387 | } | |
4388 | { | |
4389 | wxIcon * resultptr; | |
32fe5131 | 4390 | resultptr = new wxIcon(static_cast<wxIcon & >(result)); |
15afbcd0 | 4391 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
4392 | } |
4393 | return resultobj; | |
4394 | fail: | |
4395 | return NULL; | |
4396 | } | |
4397 | ||
4398 | ||
c32bde28 | 4399 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4400 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4401 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4402 | wxIcon *arg2 = 0 ; | |
4403 | PyObject * obj0 = 0 ; | |
4404 | PyObject * obj1 = 0 ; | |
4405 | char *kwnames[] = { | |
4406 | (char *) "self",(char *) "icon", NULL | |
4407 | }; | |
4408 | ||
4409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4410 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4411 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4412 | { | |
4413 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
4414 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4415 | if (arg2 == NULL) { | |
4416 | SWIG_null_ref("wxIcon"); | |
4417 | } | |
4418 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4419 | } |
4420 | { | |
4421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4422 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
4423 | ||
4424 | wxPyEndAllowThreads(__tstate); | |
4425 | if (PyErr_Occurred()) SWIG_fail; | |
4426 | } | |
4427 | Py_INCREF(Py_None); resultobj = Py_None; | |
4428 | return resultobj; | |
4429 | fail: | |
4430 | return NULL; | |
4431 | } | |
4432 | ||
4433 | ||
c32bde28 | 4434 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4435 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4436 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4437 | wxIconBundle *arg2 = 0 ; | |
4438 | PyObject * obj0 = 0 ; | |
4439 | PyObject * obj1 = 0 ; | |
4440 | char *kwnames[] = { | |
4441 | (char *) "self",(char *) "icons", NULL | |
4442 | }; | |
4443 | ||
4444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4447 | { | |
4448 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0); | |
4449 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4450 | if (arg2 == NULL) { | |
4451 | SWIG_null_ref("wxIconBundle"); | |
4452 | } | |
4453 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4454 | } |
4455 | { | |
4456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4457 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
4458 | ||
4459 | wxPyEndAllowThreads(__tstate); | |
4460 | if (PyErr_Occurred()) SWIG_fail; | |
4461 | } | |
4462 | Py_INCREF(Py_None); resultobj = Py_None; | |
4463 | return resultobj; | |
4464 | fail: | |
4465 | return NULL; | |
4466 | } | |
4467 | ||
4468 | ||
c32bde28 | 4469 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4470 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4471 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4472 | bool arg2 ; | |
4473 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
4474 | bool result; | |
4475 | PyObject * obj0 = 0 ; | |
4476 | PyObject * obj1 = 0 ; | |
994141e6 | 4477 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4478 | char *kwnames[] = { |
4479 | (char *) "self",(char *) "show",(char *) "style", NULL | |
4480 | }; | |
4481 | ||
994141e6 | 4482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
4483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4485 | { | |
32fe5131 | 4486 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
4487 | if (SWIG_arg_fail(2)) SWIG_fail; |
4488 | } | |
994141e6 | 4489 | if (obj2) { |
093d3ff1 | 4490 | { |
32fe5131 | 4491 | arg3 = static_cast<long >(SWIG_As_long(obj2)); |
093d3ff1 RD |
4492 | if (SWIG_arg_fail(3)) SWIG_fail; |
4493 | } | |
994141e6 | 4494 | } |
d14a1e28 RD |
4495 | { |
4496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4497 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
4498 | ||
4499 | wxPyEndAllowThreads(__tstate); | |
4500 | if (PyErr_Occurred()) SWIG_fail; | |
4501 | } | |
4f89f6a3 RD |
4502 | { |
4503 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4504 | } | |
d14a1e28 RD |
4505 | return resultobj; |
4506 | fail: | |
4507 | return NULL; | |
4508 | } | |
4509 | ||
4510 | ||
c32bde28 | 4511 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4512 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4513 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4514 | bool result; | |
4515 | PyObject * obj0 = 0 ; | |
4516 | char *kwnames[] = { | |
4517 | (char *) "self", NULL | |
4518 | }; | |
4519 | ||
4520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4523 | { |
4524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4525 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
4526 | ||
4527 | wxPyEndAllowThreads(__tstate); | |
4528 | if (PyErr_Occurred()) SWIG_fail; | |
4529 | } | |
4f89f6a3 RD |
4530 | { |
4531 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4532 | } | |
d14a1e28 RD |
4533 | return resultobj; |
4534 | fail: | |
4535 | return NULL; | |
4536 | } | |
4537 | ||
4538 | ||
c32bde28 | 4539 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4540 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4541 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4542 | wxString *arg2 = 0 ; | |
ae8162c8 | 4543 | bool temp2 = false ; |
d14a1e28 RD |
4544 | PyObject * obj0 = 0 ; |
4545 | PyObject * obj1 = 0 ; | |
4546 | char *kwnames[] = { | |
4547 | (char *) "self",(char *) "title", NULL | |
4548 | }; | |
4549 | ||
4550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4551 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4552 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4553 | { |
4554 | arg2 = wxString_in_helper(obj1); | |
4555 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 4556 | temp2 = true; |
d14a1e28 RD |
4557 | } |
4558 | { | |
4559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4560 | (arg1)->SetTitle((wxString const &)*arg2); | |
4561 | ||
4562 | wxPyEndAllowThreads(__tstate); | |
4563 | if (PyErr_Occurred()) SWIG_fail; | |
4564 | } | |
4565 | Py_INCREF(Py_None); resultobj = Py_None; | |
4566 | { | |
4567 | if (temp2) | |
4568 | delete arg2; | |
4569 | } | |
4570 | return resultobj; | |
4571 | fail: | |
4572 | { | |
4573 | if (temp2) | |
4574 | delete arg2; | |
4575 | } | |
4576 | return NULL; | |
4577 | } | |
4578 | ||
4579 | ||
c32bde28 | 4580 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4581 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4582 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4583 | wxString result; | |
4584 | PyObject * obj0 = 0 ; | |
4585 | char *kwnames[] = { | |
4586 | (char *) "self", NULL | |
4587 | }; | |
4588 | ||
4589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4590 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4591 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4592 | { |
4593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4594 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
4595 | ||
4596 | wxPyEndAllowThreads(__tstate); | |
4597 | if (PyErr_Occurred()) SWIG_fail; | |
4598 | } | |
4599 | { | |
4600 | #if wxUSE_UNICODE | |
4601 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4602 | #else | |
4603 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4604 | #endif | |
4605 | } | |
4606 | return resultobj; | |
4607 | fail: | |
4608 | return NULL; | |
4609 | } | |
4610 | ||
4611 | ||
c32bde28 | 4612 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4613 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4614 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4615 | wxRegion *arg2 = 0 ; | |
4616 | bool result; | |
4617 | PyObject * obj0 = 0 ; | |
4618 | PyObject * obj1 = 0 ; | |
4619 | char *kwnames[] = { | |
4620 | (char *) "self",(char *) "region", NULL | |
4621 | }; | |
4622 | ||
4623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4624 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4625 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4626 | { | |
4627 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); | |
4628 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4629 | if (arg2 == NULL) { | |
4630 | SWIG_null_ref("wxRegion"); | |
4631 | } | |
4632 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
4633 | } |
4634 | { | |
4635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4636 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
4637 | ||
4638 | wxPyEndAllowThreads(__tstate); | |
4639 | if (PyErr_Occurred()) SWIG_fail; | |
4640 | } | |
4f89f6a3 RD |
4641 | { |
4642 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4643 | } | |
d14a1e28 RD |
4644 | return resultobj; |
4645 | fail: | |
4646 | return NULL; | |
4647 | } | |
4648 | ||
4649 | ||
c32bde28 | 4650 | static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4651 | PyObject *resultobj = NULL; |
c32bde28 RD |
4652 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4653 | int arg2 = (int) wxUSER_ATTENTION_INFO ; | |
4654 | PyObject * obj0 = 0 ; | |
4655 | PyObject * obj1 = 0 ; | |
4656 | char *kwnames[] = { | |
4657 | (char *) "self",(char *) "flags", NULL | |
4658 | }; | |
4659 | ||
4660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4661 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4662 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c32bde28 | 4663 | if (obj1) { |
093d3ff1 | 4664 | { |
32fe5131 | 4665 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
4666 | if (SWIG_arg_fail(2)) SWIG_fail; |
4667 | } | |
c32bde28 RD |
4668 | } |
4669 | { | |
4670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4671 | (arg1)->RequestUserAttention(arg2); | |
4672 | ||
4673 | wxPyEndAllowThreads(__tstate); | |
4674 | if (PyErr_Occurred()) SWIG_fail; | |
4675 | } | |
4676 | Py_INCREF(Py_None); resultobj = Py_None; | |
4677 | return resultobj; | |
4678 | fail: | |
4679 | return NULL; | |
4680 | } | |
4681 | ||
4682 | ||
b6294124 | 4683 | static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4684 | PyObject *resultobj = NULL; |
b6294124 RD |
4685 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4686 | bool result; | |
4687 | PyObject * obj0 = 0 ; | |
4688 | char *kwnames[] = { | |
4689 | (char *) "self", NULL | |
4690 | }; | |
4691 | ||
4692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b6294124 RD |
4695 | { |
4696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4697 | result = (bool)(arg1)->IsActive(); | |
4698 | ||
4699 | wxPyEndAllowThreads(__tstate); | |
4700 | if (PyErr_Occurred()) SWIG_fail; | |
4701 | } | |
4702 | { | |
4703 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4704 | } | |
4705 | return resultobj; | |
4706 | fail: | |
4707 | return NULL; | |
4708 | } | |
4709 | ||
4710 | ||
84f85550 | 4711 | static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4712 | PyObject *resultobj = NULL; |
84f85550 RD |
4713 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4714 | bool arg2 ; | |
4715 | PyObject * obj0 = 0 ; | |
4716 | PyObject * obj1 = 0 ; | |
4717 | char *kwnames[] = { | |
4718 | (char *) "self",(char *) "on", NULL | |
4719 | }; | |
4720 | ||
4721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4724 | { | |
32fe5131 | 4725 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
4726 | if (SWIG_arg_fail(2)) SWIG_fail; |
4727 | } | |
84f85550 RD |
4728 | { |
4729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4730 | wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2); | |
4731 | ||
4732 | wxPyEndAllowThreads(__tstate); | |
4733 | if (PyErr_Occurred()) SWIG_fail; | |
4734 | } | |
4735 | Py_INCREF(Py_None); resultobj = Py_None; | |
4736 | return resultobj; | |
4737 | fail: | |
4738 | return NULL; | |
4739 | } | |
4740 | ||
4741 | ||
4742 | static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 4743 | PyObject *resultobj = NULL; |
84f85550 RD |
4744 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; |
4745 | bool result; | |
4746 | PyObject * obj0 = 0 ; | |
4747 | char *kwnames[] = { | |
4748 | (char *) "self", NULL | |
4749 | }; | |
4750 | ||
4751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4752 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
84f85550 RD |
4754 | { |
4755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4756 | result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1); | |
4757 | ||
4758 | wxPyEndAllowThreads(__tstate); | |
4759 | if (PyErr_Occurred()) SWIG_fail; | |
4760 | } | |
4761 | { | |
4762 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4763 | } | |
4764 | return resultobj; | |
4765 | fail: | |
4766 | return NULL; | |
4767 | } | |
4768 | ||
4769 | ||
c32bde28 | 4770 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4771 | PyObject *obj; |
4772 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4773 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
4774 | Py_INCREF(obj); | |
4775 | return Py_BuildValue((char *)""); | |
4776 | } | |
c32bde28 | 4777 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4778 | PyObject *resultobj = NULL; |
d14a1e28 | 4779 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 RD |
4780 | int arg2 = (int) (int)-1 ; |
4781 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4782 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
4783 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4784 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4785 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4786 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4787 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4788 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4789 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4790 | wxFrame *result; | |
ae8162c8 | 4791 | bool temp3 = false ; |
d14a1e28 RD |
4792 | wxPoint temp4 ; |
4793 | wxSize temp5 ; | |
ae8162c8 | 4794 | bool temp7 = false ; |
d14a1e28 | 4795 | PyObject * obj0 = 0 ; |
994141e6 | 4796 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4797 | PyObject * obj2 = 0 ; |
4798 | PyObject * obj3 = 0 ; | |
4799 | PyObject * obj4 = 0 ; | |
994141e6 | 4800 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4801 | PyObject * obj6 = 0 ; |
4802 | char *kwnames[] = { | |
4803 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4804 | }; | |
4805 | ||
248ed943 | 4806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
4807 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
4808 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 4809 | if (obj1) { |
093d3ff1 | 4810 | { |
32fe5131 | 4811 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
4812 | if (SWIG_arg_fail(2)) SWIG_fail; |
4813 | } | |
248ed943 RD |
4814 | } |
4815 | if (obj2) { | |
4816 | { | |
4817 | arg3 = wxString_in_helper(obj2); | |
4818 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 4819 | temp3 = true; |
248ed943 | 4820 | } |
d14a1e28 RD |
4821 | } |
4822 | if (obj3) { | |
4823 | { | |
4824 | arg4 = &temp4; | |
4825 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4826 | } | |
4827 | } | |
4828 | if (obj4) { | |
4829 | { | |
4830 | arg5 = &temp5; | |
4831 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4832 | } | |
4833 | } | |
994141e6 | 4834 | if (obj5) { |
093d3ff1 | 4835 | { |
32fe5131 | 4836 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
4837 | if (SWIG_arg_fail(6)) SWIG_fail; |
4838 | } | |
994141e6 | 4839 | } |
d14a1e28 RD |
4840 | if (obj6) { |
4841 | { | |
4842 | arg7 = wxString_in_helper(obj6); | |
4843 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 4844 | temp7 = true; |
d14a1e28 RD |
4845 | } |
4846 | } | |
4847 | { | |
e3b71cb8 | 4848 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4850 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4851 | ||
4852 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4853 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4854 | } |
b0f7404b | 4855 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d14a1e28 RD |
4856 | { |
4857 | if (temp3) | |
4858 | delete arg3; | |
4859 | } | |
4860 | { | |
4861 | if (temp7) | |
4862 | delete arg7; | |
4863 | } | |
4864 | return resultobj; | |
4865 | fail: | |
4866 | { | |
4867 | if (temp3) | |
4868 | delete arg3; | |
4869 | } | |
4870 | { | |
4871 | if (temp7) | |
4872 | delete arg7; | |
4873 | } | |
4874 | return NULL; | |
4875 | } | |
4876 | ||
4877 | ||
c32bde28 | 4878 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4879 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4880 | wxFrame *result; |
4881 | char *kwnames[] = { | |
4882 | NULL | |
4883 | }; | |
4884 | ||
4885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
4886 | { | |
e3b71cb8 | 4887 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4889 | result = (wxFrame *)new wxFrame(); | |
4890 | ||
4891 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4892 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4893 | } |
b0f7404b | 4894 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d14a1e28 RD |
4895 | return resultobj; |
4896 | fail: | |
4897 | return NULL; | |
4898 | } | |
4899 | ||
4900 | ||
c32bde28 | 4901 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4902 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4903 | wxFrame *arg1 = (wxFrame *) 0 ; |
4904 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4905 | int arg3 = (int) (int)-1 ; |
4906 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4907 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
4908 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4909 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4910 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4911 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4912 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4913 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4914 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4915 | bool result; | |
ae8162c8 | 4916 | bool temp4 = false ; |
d14a1e28 RD |
4917 | wxPoint temp5 ; |
4918 | wxSize temp6 ; | |
ae8162c8 | 4919 | bool temp8 = false ; |
d14a1e28 RD |
4920 | PyObject * obj0 = 0 ; |
4921 | PyObject * obj1 = 0 ; | |
994141e6 | 4922 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4923 | PyObject * obj3 = 0 ; |
4924 | PyObject * obj4 = 0 ; | |
4925 | PyObject * obj5 = 0 ; | |
994141e6 | 4926 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4927 | PyObject * obj7 = 0 ; |
4928 | char *kwnames[] = { | |
4929 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4930 | }; | |
4931 | ||
248ed943 | 4932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
4933 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4934 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4935 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4936 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 4937 | if (obj2) { |
093d3ff1 | 4938 | { |
32fe5131 | 4939 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
4940 | if (SWIG_arg_fail(3)) SWIG_fail; |
4941 | } | |
248ed943 RD |
4942 | } |
4943 | if (obj3) { | |
4944 | { | |
4945 | arg4 = wxString_in_helper(obj3); | |
4946 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 4947 | temp4 = true; |
248ed943 | 4948 | } |
d14a1e28 RD |
4949 | } |
4950 | if (obj4) { | |
4951 | { | |
4952 | arg5 = &temp5; | |
4953 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4954 | } | |
4955 | } | |
4956 | if (obj5) { | |
4957 | { | |
4958 | arg6 = &temp6; | |
4959 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4960 | } | |
4961 | } | |
994141e6 | 4962 | if (obj6) { |
093d3ff1 | 4963 | { |
32fe5131 | 4964 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
093d3ff1 RD |
4965 | if (SWIG_arg_fail(7)) SWIG_fail; |
4966 | } | |
994141e6 | 4967 | } |
d14a1e28 RD |
4968 | if (obj7) { |
4969 | { | |
4970 | arg8 = wxString_in_helper(obj7); | |
4971 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 4972 | temp8 = true; |
d14a1e28 RD |
4973 | } |
4974 | } | |
4975 | { | |
4976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4977 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4978 | ||
4979 | wxPyEndAllowThreads(__tstate); | |
4980 | if (PyErr_Occurred()) SWIG_fail; | |
4981 | } | |
4f89f6a3 RD |
4982 | { |
4983 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4984 | } | |
d14a1e28 RD |
4985 | { |
4986 | if (temp4) | |
4987 | delete arg4; | |
4988 | } | |
4989 | { | |
4990 | if (temp8) | |
4991 | delete arg8; | |
4992 | } | |
4993 | return resultobj; | |
4994 | fail: | |
4995 | { | |
4996 | if (temp4) | |
4997 | delete arg4; | |
4998 | } | |
4999 | { | |
5000 | if (temp8) | |
5001 | delete arg8; | |
5002 | } | |
5003 | return NULL; | |
5004 | } | |
5005 | ||
5006 | ||
c32bde28 | 5007 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5008 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5009 | wxFrame *arg1 = (wxFrame *) 0 ; |
5010 | wxPoint result; | |
5011 | PyObject * obj0 = 0 ; | |
5012 | char *kwnames[] = { | |
5013 | (char *) "self", NULL | |
5014 | }; | |
5015 | ||
5016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5017 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5018 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5019 | { |
5020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5021 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
5022 | ||
5023 | wxPyEndAllowThreads(__tstate); | |
5024 | if (PyErr_Occurred()) SWIG_fail; | |
5025 | } | |
5026 | { | |
5027 | wxPoint * resultptr; | |
32fe5131 | 5028 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 5029 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
5030 | } |
5031 | return resultobj; | |
5032 | fail: | |
5033 | return NULL; | |
5034 | } | |
5035 | ||
5036 | ||
c32bde28 | 5037 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5038 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5039 | wxFrame *arg1 = (wxFrame *) 0 ; |
5040 | PyObject * obj0 = 0 ; | |
5041 | char *kwnames[] = { | |
5042 | (char *) "self", NULL | |
5043 | }; | |
5044 | ||
5045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5046 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5047 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5048 | { |
5049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5050 | (arg1)->SendSizeEvent(); | |
5051 | ||
5052 | wxPyEndAllowThreads(__tstate); | |
5053 | if (PyErr_Occurred()) SWIG_fail; | |
5054 | } | |
5055 | Py_INCREF(Py_None); resultobj = Py_None; | |
5056 | return resultobj; | |
5057 | fail: | |
5058 | return NULL; | |
5059 | } | |
5060 | ||
5061 | ||
c32bde28 | 5062 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5063 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5064 | wxFrame *arg1 = (wxFrame *) 0 ; |
5065 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
5066 | PyObject * obj0 = 0 ; | |
5067 | PyObject * obj1 = 0 ; | |
5068 | char *kwnames[] = { | |
5069 | (char *) "self",(char *) "menubar", NULL | |
5070 | }; | |
5071 | ||
5072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5073 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5074 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5075 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); | |
5076 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5077 | { |
5078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5079 | (arg1)->SetMenuBar(arg2); | |
5080 | ||
5081 | wxPyEndAllowThreads(__tstate); | |
5082 | if (PyErr_Occurred()) SWIG_fail; | |
5083 | } | |
5084 | Py_INCREF(Py_None); resultobj = Py_None; | |
5085 | return resultobj; | |
5086 | fail: | |
5087 | return NULL; | |
5088 | } | |
5089 | ||
5090 | ||
c32bde28 | 5091 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5092 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5093 | wxFrame *arg1 = (wxFrame *) 0 ; |
5094 | wxMenuBar *result; | |
5095 | PyObject * obj0 = 0 ; | |
5096 | char *kwnames[] = { | |
5097 | (char *) "self", NULL | |
5098 | }; | |
5099 | ||
5100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5101 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5102 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5103 | { |
5104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5105 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
5106 | ||
5107 | wxPyEndAllowThreads(__tstate); | |
5108 | if (PyErr_Occurred()) SWIG_fail; | |
5109 | } | |
5110 | { | |
412d302d | 5111 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
5112 | } |
5113 | return resultobj; | |
5114 | fail: | |
5115 | return NULL; | |
5116 | } | |
5117 | ||
5118 | ||
c32bde28 | 5119 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5120 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5121 | wxFrame *arg1 = (wxFrame *) 0 ; |
5122 | int arg2 ; | |
5123 | bool result; | |
5124 | PyObject * obj0 = 0 ; | |
994141e6 | 5125 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5126 | char *kwnames[] = { |
5127 | (char *) "self",(char *) "winid", NULL | |
5128 | }; | |
5129 | ||
994141e6 | 5130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
5131 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5132 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5133 | { | |
32fe5131 | 5134 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5135 | if (SWIG_arg_fail(2)) SWIG_fail; |
5136 | } | |
d14a1e28 RD |
5137 | { |
5138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5139 | result = (bool)(arg1)->ProcessCommand(arg2); | |
5140 | ||
5141 | wxPyEndAllowThreads(__tstate); | |
5142 | if (PyErr_Occurred()) SWIG_fail; | |
5143 | } | |
4f89f6a3 RD |
5144 | { |
5145 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5146 | } | |
d14a1e28 RD |
5147 | return resultobj; |
5148 | fail: | |
5149 | return NULL; | |
5150 | } | |
5151 | ||
5152 | ||
c32bde28 | 5153 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5154 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5155 | wxFrame *arg1 = (wxFrame *) 0 ; |
5156 | int arg2 = (int) 1 ; | |
6d88e192 | 5157 | long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ; |
e811c8ce | 5158 | int arg4 = (int) 0 ; |
d14a1e28 RD |
5159 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
5160 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
5161 | wxStatusBar *result; | |
ae8162c8 | 5162 | bool temp5 = false ; |
d14a1e28 | 5163 | PyObject * obj0 = 0 ; |
994141e6 RD |
5164 | PyObject * obj1 = 0 ; |
5165 | PyObject * obj2 = 0 ; | |
5166 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5167 | PyObject * obj4 = 0 ; |
5168 | char *kwnames[] = { | |
5169 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5170 | }; | |
5171 | ||
994141e6 | 5172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
5173 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5174 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 5175 | if (obj1) { |
093d3ff1 | 5176 | { |
32fe5131 | 5177 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5178 | if (SWIG_arg_fail(2)) SWIG_fail; |
5179 | } | |
994141e6 RD |
5180 | } |
5181 | if (obj2) { | |
093d3ff1 | 5182 | { |
32fe5131 | 5183 | arg3 = static_cast<long >(SWIG_As_long(obj2)); |
093d3ff1 RD |
5184 | if (SWIG_arg_fail(3)) SWIG_fail; |
5185 | } | |
994141e6 RD |
5186 | } |
5187 | if (obj3) { | |
093d3ff1 | 5188 | { |
32fe5131 | 5189 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
5190 | if (SWIG_arg_fail(4)) SWIG_fail; |
5191 | } | |
994141e6 | 5192 | } |
d14a1e28 RD |
5193 | if (obj4) { |
5194 | { | |
5195 | arg5 = wxString_in_helper(obj4); | |
5196 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 5197 | temp5 = true; |
d14a1e28 RD |
5198 | } |
5199 | } | |
5200 | { | |
5201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5202 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
5203 | ||
5204 | wxPyEndAllowThreads(__tstate); | |
5205 | if (PyErr_Occurred()) SWIG_fail; | |
5206 | } | |
5207 | { | |
7e08d4ef | 5208 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
5209 | } |
5210 | { | |
5211 | if (temp5) | |
5212 | delete arg5; | |
5213 | } | |
5214 | return resultobj; | |
5215 | fail: | |
5216 | { | |
5217 | if (temp5) | |
5218 | delete arg5; | |
5219 | } | |
5220 | return NULL; | |
5221 | } | |
5222 | ||
5223 | ||
c32bde28 | 5224 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5225 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5226 | wxFrame *arg1 = (wxFrame *) 0 ; |
5227 | wxStatusBar *result; | |
5228 | PyObject * obj0 = 0 ; | |
5229 | char *kwnames[] = { | |
5230 | (char *) "self", NULL | |
5231 | }; | |
5232 | ||
5233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5234 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5235 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5236 | { |
5237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5238 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
5239 | ||
5240 | wxPyEndAllowThreads(__tstate); | |
5241 | if (PyErr_Occurred()) SWIG_fail; | |
5242 | } | |
5243 | { | |
7e08d4ef | 5244 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
5245 | } |
5246 | return resultobj; | |
5247 | fail: | |
5248 | return NULL; | |
5249 | } | |
5250 | ||
5251 | ||
c32bde28 | 5252 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5253 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5254 | wxFrame *arg1 = (wxFrame *) 0 ; |
5255 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
5256 | PyObject * obj0 = 0 ; | |
5257 | PyObject * obj1 = 0 ; | |
5258 | char *kwnames[] = { | |
5259 | (char *) "self",(char *) "statBar", NULL | |
5260 | }; | |
5261 | ||
5262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5263 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5264 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5265 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); | |
5266 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5267 | { |
5268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5269 | (arg1)->SetStatusBar(arg2); | |
5270 | ||
5271 | wxPyEndAllowThreads(__tstate); | |
5272 | if (PyErr_Occurred()) SWIG_fail; | |
5273 | } | |
5274 | Py_INCREF(Py_None); resultobj = Py_None; | |
5275 | return resultobj; | |
5276 | fail: | |
5277 | return NULL; | |
5278 | } | |
5279 | ||
5280 | ||
c32bde28 | 5281 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5282 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5283 | wxFrame *arg1 = (wxFrame *) 0 ; |
5284 | wxString *arg2 = 0 ; | |
5285 | int arg3 = (int) 0 ; | |
ae8162c8 | 5286 | bool temp2 = false ; |
d14a1e28 RD |
5287 | PyObject * obj0 = 0 ; |
5288 | PyObject * obj1 = 0 ; | |
994141e6 | 5289 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5290 | char *kwnames[] = { |
5291 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5292 | }; | |
5293 | ||
994141e6 | 5294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) 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; | |
d14a1e28 RD |
5297 | { |
5298 | arg2 = wxString_in_helper(obj1); | |
5299 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5300 | temp2 = true; |
d14a1e28 | 5301 | } |
994141e6 | 5302 | if (obj2) { |
093d3ff1 | 5303 | { |
32fe5131 | 5304 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5305 | if (SWIG_arg_fail(3)) SWIG_fail; |
5306 | } | |
994141e6 | 5307 | } |
d14a1e28 RD |
5308 | { |
5309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5310 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5311 | ||
5312 | wxPyEndAllowThreads(__tstate); | |
5313 | if (PyErr_Occurred()) SWIG_fail; | |
5314 | } | |
5315 | Py_INCREF(Py_None); resultobj = Py_None; | |
5316 | { | |
5317 | if (temp2) | |
5318 | delete arg2; | |
5319 | } | |
5320 | return resultobj; | |
5321 | fail: | |
5322 | { | |
5323 | if (temp2) | |
5324 | delete arg2; | |
5325 | } | |
5326 | return NULL; | |
5327 | } | |
5328 | ||
5329 | ||
c32bde28 | 5330 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5331 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5332 | wxFrame *arg1 = (wxFrame *) 0 ; |
5333 | int arg2 ; | |
5334 | int *arg3 = (int *) 0 ; | |
5335 | PyObject * obj0 = 0 ; | |
5336 | PyObject * obj1 = 0 ; | |
5337 | char *kwnames[] = { | |
5338 | (char *) "self",(char *) "widths", NULL | |
5339 | }; | |
5340 | ||
5341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5342 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5343 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5344 | { |
5345 | arg2 = PyList_Size(obj1); | |
5346 | arg3 = int_LIST_helper(obj1); | |
5347 | if (arg3 == NULL) SWIG_fail; | |
5348 | } | |
5349 | { | |
5350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5351 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5352 | ||
5353 | wxPyEndAllowThreads(__tstate); | |
5354 | if (PyErr_Occurred()) SWIG_fail; | |
5355 | } | |
5356 | Py_INCREF(Py_None); resultobj = Py_None; | |
5357 | { | |
5358 | if (arg3) delete [] arg3; | |
5359 | } | |
5360 | return resultobj; | |
5361 | fail: | |
5362 | { | |
5363 | if (arg3) delete [] arg3; | |
5364 | } | |
5365 | return NULL; | |
5366 | } | |
5367 | ||
5368 | ||
c32bde28 | 5369 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5370 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5371 | wxFrame *arg1 = (wxFrame *) 0 ; |
5372 | wxString *arg2 = 0 ; | |
5373 | int arg3 = (int) 0 ; | |
ae8162c8 | 5374 | bool temp2 = false ; |
d14a1e28 RD |
5375 | PyObject * obj0 = 0 ; |
5376 | PyObject * obj1 = 0 ; | |
994141e6 | 5377 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5378 | char *kwnames[] = { |
5379 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5380 | }; | |
5381 | ||
994141e6 | 5382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
5383 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5384 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5385 | { |
5386 | arg2 = wxString_in_helper(obj1); | |
5387 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5388 | temp2 = true; |
d14a1e28 | 5389 | } |
994141e6 | 5390 | if (obj2) { |
093d3ff1 | 5391 | { |
32fe5131 | 5392 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5393 | if (SWIG_arg_fail(3)) SWIG_fail; |
5394 | } | |
994141e6 | 5395 | } |
d14a1e28 RD |
5396 | { |
5397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5398 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5399 | ||
5400 | wxPyEndAllowThreads(__tstate); | |
5401 | if (PyErr_Occurred()) SWIG_fail; | |
5402 | } | |
5403 | Py_INCREF(Py_None); resultobj = Py_None; | |
5404 | { | |
5405 | if (temp2) | |
5406 | delete arg2; | |
5407 | } | |
5408 | return resultobj; | |
5409 | fail: | |
5410 | { | |
5411 | if (temp2) | |
5412 | delete arg2; | |
5413 | } | |
5414 | return NULL; | |
5415 | } | |
5416 | ||
5417 | ||
c32bde28 | 5418 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5419 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5420 | wxFrame *arg1 = (wxFrame *) 0 ; |
5421 | int arg2 = (int) 0 ; | |
5422 | PyObject * obj0 = 0 ; | |
994141e6 | 5423 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5424 | char *kwnames[] = { |
5425 | (char *) "self",(char *) "number", NULL | |
5426 | }; | |
5427 | ||
994141e6 | 5428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
5429 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5430 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 5431 | if (obj1) { |
093d3ff1 | 5432 | { |
32fe5131 | 5433 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5434 | if (SWIG_arg_fail(2)) SWIG_fail; |
5435 | } | |
994141e6 | 5436 | } |
d14a1e28 RD |
5437 | { |
5438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5439 | (arg1)->PopStatusText(arg2); | |
5440 | ||
5441 | wxPyEndAllowThreads(__tstate); | |
5442 | if (PyErr_Occurred()) SWIG_fail; | |
5443 | } | |
5444 | Py_INCREF(Py_None); resultobj = Py_None; | |
5445 | return resultobj; | |
5446 | fail: | |
5447 | return NULL; | |
5448 | } | |
5449 | ||
5450 | ||
c32bde28 | 5451 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5452 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5453 | wxFrame *arg1 = (wxFrame *) 0 ; |
5454 | int arg2 ; | |
5455 | PyObject * obj0 = 0 ; | |
994141e6 | 5456 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5457 | char *kwnames[] = { |
5458 | (char *) "self",(char *) "n", NULL | |
5459 | }; | |
5460 | ||
994141e6 | 5461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
5462 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5463 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5464 | { | |
32fe5131 | 5465 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5466 | if (SWIG_arg_fail(2)) SWIG_fail; |
5467 | } | |
d14a1e28 RD |
5468 | { |
5469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5470 | (arg1)->SetStatusBarPane(arg2); | |
5471 | ||
5472 | wxPyEndAllowThreads(__tstate); | |
5473 | if (PyErr_Occurred()) SWIG_fail; | |
5474 | } | |
5475 | Py_INCREF(Py_None); resultobj = Py_None; | |
5476 | return resultobj; | |
5477 | fail: | |
5478 | return NULL; | |
5479 | } | |
5480 | ||
5481 | ||
c32bde28 | 5482 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5483 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5484 | wxFrame *arg1 = (wxFrame *) 0 ; |
5485 | int result; | |
5486 | PyObject * obj0 = 0 ; | |
5487 | char *kwnames[] = { | |
5488 | (char *) "self", NULL | |
5489 | }; | |
5490 | ||
5491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5492 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5493 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5494 | { |
5495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5496 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
5497 | ||
5498 | wxPyEndAllowThreads(__tstate); | |
5499 | if (PyErr_Occurred()) SWIG_fail; | |
5500 | } | |
093d3ff1 | 5501 | { |
32fe5131 | 5502 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 5503 | } |
d14a1e28 RD |
5504 | return resultobj; |
5505 | fail: | |
5506 | return NULL; | |
5507 | } | |
5508 | ||
5509 | ||
c32bde28 | 5510 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5511 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5512 | wxFrame *arg1 = (wxFrame *) 0 ; |
5513 | long arg2 = (long) -1 ; | |
e811c8ce | 5514 | int arg3 = (int) -1 ; |
d14a1e28 RD |
5515 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
5516 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5517 | wxToolBar *result; | |
ae8162c8 | 5518 | bool temp4 = false ; |
d14a1e28 | 5519 | PyObject * obj0 = 0 ; |
994141e6 RD |
5520 | PyObject * obj1 = 0 ; |
5521 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5522 | PyObject * obj3 = 0 ; |
5523 | char *kwnames[] = { | |
5524 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5525 | }; | |
5526 | ||
994141e6 | 5527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
5528 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5529 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 5530 | if (obj1) { |
093d3ff1 | 5531 | { |
32fe5131 | 5532 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
5533 | if (SWIG_arg_fail(2)) SWIG_fail; |
5534 | } | |
994141e6 RD |
5535 | } |
5536 | if (obj2) { | |
093d3ff1 | 5537 | { |
32fe5131 | 5538 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5539 | if (SWIG_arg_fail(3)) SWIG_fail; |
5540 | } | |
994141e6 | 5541 | } |
d14a1e28 RD |
5542 | if (obj3) { |
5543 | { | |
5544 | arg4 = wxString_in_helper(obj3); | |
5545 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 5546 | temp4 = true; |
d14a1e28 RD |
5547 | } |
5548 | } | |
5549 | { | |
5550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5551 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
5552 | ||
5553 | wxPyEndAllowThreads(__tstate); | |
5554 | if (PyErr_Occurred()) SWIG_fail; | |
5555 | } | |
5556 | { | |
7e08d4ef | 5557 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
5558 | } |
5559 | { | |
5560 | if (temp4) | |
5561 | delete arg4; | |
5562 | } | |
5563 | return resultobj; | |
5564 | fail: | |
5565 | { | |
5566 | if (temp4) | |
5567 | delete arg4; | |
5568 | } | |
5569 | return NULL; | |
5570 | } | |
5571 | ||
5572 | ||
c32bde28 | 5573 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5574 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5575 | wxFrame *arg1 = (wxFrame *) 0 ; |
5576 | wxToolBar *result; | |
5577 | PyObject * obj0 = 0 ; | |
5578 | char *kwnames[] = { | |
5579 | (char *) "self", NULL | |
5580 | }; | |
5581 | ||
5582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5583 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5584 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5585 | { |
5586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5587 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
5588 | ||
5589 | wxPyEndAllowThreads(__tstate); | |
5590 | if (PyErr_Occurred()) SWIG_fail; | |
5591 | } | |
5592 | { | |
7e08d4ef | 5593 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
5594 | } |
5595 | return resultobj; | |
5596 | fail: | |
5597 | return NULL; | |
5598 | } | |
5599 | ||
5600 | ||
c32bde28 | 5601 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5602 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5603 | wxFrame *arg1 = (wxFrame *) 0 ; |
5604 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
5605 | PyObject * obj0 = 0 ; | |
5606 | PyObject * obj1 = 0 ; | |
5607 | char *kwnames[] = { | |
5608 | (char *) "self",(char *) "toolbar", NULL | |
5609 | }; | |
5610 | ||
5611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5612 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5613 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5614 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0); | |
5615 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5616 | { |
5617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5618 | (arg1)->SetToolBar(arg2); | |
5619 | ||
5620 | wxPyEndAllowThreads(__tstate); | |
5621 | if (PyErr_Occurred()) SWIG_fail; | |
5622 | } | |
5623 | Py_INCREF(Py_None); resultobj = Py_None; | |
5624 | return resultobj; | |
5625 | fail: | |
5626 | return NULL; | |
5627 | } | |
5628 | ||
5629 | ||
c32bde28 | 5630 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5631 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5632 | wxFrame *arg1 = (wxFrame *) 0 ; |
5633 | wxString *arg2 = 0 ; | |
5634 | bool arg3 ; | |
ae8162c8 | 5635 | bool temp2 = false ; |
d14a1e28 RD |
5636 | PyObject * obj0 = 0 ; |
5637 | PyObject * obj1 = 0 ; | |
5638 | PyObject * obj2 = 0 ; | |
5639 | char *kwnames[] = { | |
5640 | (char *) "self",(char *) "text",(char *) "show", NULL | |
5641 | }; | |
5642 | ||
5643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) 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; | |
d14a1e28 RD |
5646 | { |
5647 | arg2 = wxString_in_helper(obj1); | |
5648 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5649 | temp2 = true; |
d14a1e28 | 5650 | } |
093d3ff1 | 5651 | { |
32fe5131 | 5652 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
5653 | if (SWIG_arg_fail(3)) SWIG_fail; |
5654 | } | |
d14a1e28 RD |
5655 | { |
5656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5657 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
5658 | ||
5659 | wxPyEndAllowThreads(__tstate); | |
5660 | if (PyErr_Occurred()) SWIG_fail; | |
5661 | } | |
5662 | Py_INCREF(Py_None); resultobj = Py_None; | |
5663 | { | |
5664 | if (temp2) | |
5665 | delete arg2; | |
5666 | } | |
5667 | return resultobj; | |
5668 | fail: | |
5669 | { | |
5670 | if (temp2) | |
5671 | delete arg2; | |
5672 | } | |
5673 | return NULL; | |
5674 | } | |
5675 | ||
5676 | ||
c32bde28 | 5677 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5678 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5679 | wxFrame *arg1 = (wxFrame *) 0 ; |
5680 | wxMenu *arg2 = (wxMenu *) NULL ; | |
5681 | PyObject * obj0 = 0 ; | |
5682 | PyObject * obj1 = 0 ; | |
5683 | char *kwnames[] = { | |
5684 | (char *) "self",(char *) "menu", NULL | |
5685 | }; | |
5686 | ||
5687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5688 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5689 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 5690 | if (obj1) { |
093d3ff1 RD |
5691 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); |
5692 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
5693 | } |
5694 | { | |
5695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5696 | (arg1)->DoMenuUpdates(arg2); | |
5697 | ||
5698 | wxPyEndAllowThreads(__tstate); | |
5699 | if (PyErr_Occurred()) SWIG_fail; | |
5700 | } | |
5701 | Py_INCREF(Py_None); resultobj = Py_None; | |
5702 | return resultobj; | |
5703 | fail: | |
5704 | return NULL; | |
5705 | } | |
5706 | ||
5707 | ||
c32bde28 | 5708 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5709 | PyObject *resultobj = NULL; |
093d3ff1 | 5710 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
5711 | wxVisualAttributes result; |
5712 | PyObject * obj0 = 0 ; | |
5713 | char *kwnames[] = { | |
5714 | (char *) "variant", NULL | |
5715 | }; | |
5716 | ||
5717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5718 | if (obj0) { | |
093d3ff1 | 5719 | { |
32fe5131 | 5720 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
5721 | if (SWIG_arg_fail(1)) SWIG_fail; |
5722 | } | |
22bfe96c RD |
5723 | } |
5724 | { | |
e3b71cb8 | 5725 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 5726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 5727 | result = wxFrame::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
5728 | |
5729 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5730 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
5731 | } |
5732 | { | |
5733 | wxVisualAttributes * resultptr; | |
32fe5131 | 5734 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
5735 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
5736 | } | |
5737 | return resultobj; | |
5738 | fail: | |
5739 | return NULL; | |
5740 | } | |
5741 | ||
5742 | ||
c32bde28 | 5743 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5744 | PyObject *obj; |
5745 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5746 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
5747 | Py_INCREF(obj); | |
5748 | return Py_BuildValue((char *)""); | |
5749 | } | |
c32bde28 | 5750 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5751 | PyObject *resultobj = NULL; |
d14a1e28 | 5752 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 RD |
5753 | int arg2 = (int) (int)-1 ; |
5754 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
5755 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
5756 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5757 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5758 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5759 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5760 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5761 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
5762 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5763 | wxDialog *result; | |
ae8162c8 | 5764 | bool temp3 = false ; |
d14a1e28 RD |
5765 | wxPoint temp4 ; |
5766 | wxSize temp5 ; | |
ae8162c8 | 5767 | bool temp7 = false ; |
d14a1e28 | 5768 | PyObject * obj0 = 0 ; |
994141e6 | 5769 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5770 | PyObject * obj2 = 0 ; |
5771 | PyObject * obj3 = 0 ; | |
5772 | PyObject * obj4 = 0 ; | |
994141e6 | 5773 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5774 | PyObject * obj6 = 0 ; |
5775 | char *kwnames[] = { | |
5776 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5777 | }; | |
5778 | ||
248ed943 | 5779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
5780 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
5781 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 5782 | if (obj1) { |
093d3ff1 | 5783 | { |
32fe5131 | 5784 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5785 | if (SWIG_arg_fail(2)) SWIG_fail; |
5786 | } | |
248ed943 RD |
5787 | } |
5788 | if (obj2) { | |
5789 | { | |
5790 | arg3 = wxString_in_helper(obj2); | |
5791 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 5792 | temp3 = true; |
248ed943 | 5793 | } |
d14a1e28 RD |
5794 | } |
5795 | if (obj3) { | |
5796 | { | |
5797 | arg4 = &temp4; | |
5798 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5799 | } | |
5800 | } | |
5801 | if (obj4) { | |
5802 | { | |
5803 | arg5 = &temp5; | |
5804 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5805 | } | |
5806 | } | |
994141e6 | 5807 | if (obj5) { |
093d3ff1 | 5808 | { |
32fe5131 | 5809 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
5810 | if (SWIG_arg_fail(6)) SWIG_fail; |
5811 | } | |
994141e6 | 5812 | } |
d14a1e28 RD |
5813 | if (obj6) { |
5814 | { | |
5815 | arg7 = wxString_in_helper(obj6); | |
5816 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 5817 | temp7 = true; |
d14a1e28 RD |
5818 | } |
5819 | } | |
5820 | { | |
e3b71cb8 | 5821 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5823 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5824 | ||
5825 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5826 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5827 | } |
b0f7404b | 5828 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
5829 | { |
5830 | if (temp3) | |
5831 | delete arg3; | |
5832 | } | |
5833 | { | |
5834 | if (temp7) | |
5835 | delete arg7; | |
5836 | } | |
5837 | return resultobj; | |
5838 | fail: | |
5839 | { | |
5840 | if (temp3) | |
5841 | delete arg3; | |
5842 | } | |
5843 | { | |
5844 | if (temp7) | |
5845 | delete arg7; | |
5846 | } | |
5847 | return NULL; | |
5848 | } | |
5849 | ||
5850 | ||
c32bde28 | 5851 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5852 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5853 | wxDialog *result; |
5854 | char *kwnames[] = { | |
5855 | NULL | |
5856 | }; | |
5857 | ||
5858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
5859 | { | |
e3b71cb8 | 5860 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5862 | result = (wxDialog *)new wxDialog(); | |
5863 | ||
5864 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5865 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5866 | } |
b0f7404b | 5867 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
5868 | return resultobj; |
5869 | fail: | |
5870 | return NULL; | |
5871 | } | |
5872 | ||
5873 | ||
c32bde28 | 5874 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5875 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5876 | wxDialog *arg1 = (wxDialog *) 0 ; |
5877 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
5878 | int arg3 = (int) (int)-1 ; |
5879 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
5880 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
5881 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
5882 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
5883 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
5884 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
5885 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5886 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
5887 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
5888 | bool result; | |
ae8162c8 | 5889 | bool temp4 = false ; |
d14a1e28 RD |
5890 | wxPoint temp5 ; |
5891 | wxSize temp6 ; | |
ae8162c8 | 5892 | bool temp8 = false ; |
d14a1e28 RD |
5893 | PyObject * obj0 = 0 ; |
5894 | PyObject * obj1 = 0 ; | |
994141e6 | 5895 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5896 | PyObject * obj3 = 0 ; |
5897 | PyObject * obj4 = 0 ; | |
5898 | PyObject * obj5 = 0 ; | |
994141e6 | 5899 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
5900 | PyObject * obj7 = 0 ; |
5901 | char *kwnames[] = { | |
5902 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5903 | }; | |
5904 | ||
248ed943 | 5905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
5906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5908 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
5909 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 5910 | if (obj2) { |
093d3ff1 | 5911 | { |
32fe5131 | 5912 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5913 | if (SWIG_arg_fail(3)) SWIG_fail; |
5914 | } | |
248ed943 RD |
5915 | } |
5916 | if (obj3) { | |
5917 | { | |
5918 | arg4 = wxString_in_helper(obj3); | |
5919 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 5920 | temp4 = true; |
248ed943 | 5921 | } |
d14a1e28 RD |
5922 | } |
5923 | if (obj4) { | |
5924 | { | |
5925 | arg5 = &temp5; | |
5926 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
5927 | } | |
5928 | } | |
5929 | if (obj5) { | |
5930 | { | |
5931 | arg6 = &temp6; | |
5932 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
5933 | } | |
5934 | } | |
994141e6 | 5935 | if (obj6) { |
093d3ff1 | 5936 | { |
32fe5131 | 5937 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
093d3ff1 RD |
5938 | if (SWIG_arg_fail(7)) SWIG_fail; |
5939 | } | |
994141e6 | 5940 | } |
d14a1e28 RD |
5941 | if (obj7) { |
5942 | { | |
5943 | arg8 = wxString_in_helper(obj7); | |
5944 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 5945 | temp8 = true; |
d14a1e28 RD |
5946 | } |
5947 | } | |
5948 | { | |
5949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5950 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
5951 | ||
5952 | wxPyEndAllowThreads(__tstate); | |
5953 | if (PyErr_Occurred()) SWIG_fail; | |
5954 | } | |
4f89f6a3 RD |
5955 | { |
5956 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5957 | } | |
d14a1e28 RD |
5958 | { |
5959 | if (temp4) | |
5960 | delete arg4; | |
5961 | } | |
5962 | { | |
5963 | if (temp8) | |
5964 | delete arg8; | |
5965 | } | |
5966 | return resultobj; | |
5967 | fail: | |
5968 | { | |
5969 | if (temp4) | |
5970 | delete arg4; | |
5971 | } | |
5972 | { | |
5973 | if (temp8) | |
5974 | delete arg8; | |
5975 | } | |
5976 | return NULL; | |
5977 | } | |
5978 | ||
5979 | ||
c32bde28 | 5980 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5981 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5982 | wxDialog *arg1 = (wxDialog *) 0 ; |
5983 | int arg2 ; | |
5984 | PyObject * obj0 = 0 ; | |
994141e6 | 5985 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5986 | char *kwnames[] = { |
5987 | (char *) "self",(char *) "returnCode", NULL | |
5988 | }; | |
5989 | ||
994141e6 | 5990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
5991 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5992 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5993 | { | |
32fe5131 | 5994 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
5995 | if (SWIG_arg_fail(2)) SWIG_fail; |
5996 | } | |
d14a1e28 RD |
5997 | { |
5998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5999 | (arg1)->SetReturnCode(arg2); | |
6000 | ||
6001 | wxPyEndAllowThreads(__tstate); | |
6002 | if (PyErr_Occurred()) SWIG_fail; | |
6003 | } | |
6004 | Py_INCREF(Py_None); resultobj = Py_None; | |
6005 | return resultobj; | |
6006 | fail: | |
6007 | return NULL; | |
6008 | } | |
6009 | ||
6010 | ||
c32bde28 | 6011 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6012 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6013 | wxDialog *arg1 = (wxDialog *) 0 ; |
6014 | int result; | |
6015 | PyObject * obj0 = 0 ; | |
6016 | char *kwnames[] = { | |
6017 | (char *) "self", NULL | |
6018 | }; | |
6019 | ||
6020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6023 | { |
6024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6025 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
6026 | ||
6027 | wxPyEndAllowThreads(__tstate); | |
6028 | if (PyErr_Occurred()) SWIG_fail; | |
6029 | } | |
093d3ff1 | 6030 | { |
32fe5131 | 6031 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 6032 | } |
d14a1e28 RD |
6033 | return resultobj; |
6034 | fail: | |
6035 | return NULL; | |
6036 | } | |
6037 | ||
6038 | ||
c32bde28 | 6039 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6040 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6041 | wxDialog *arg1 = (wxDialog *) 0 ; |
6042 | wxString *arg2 = 0 ; | |
6043 | wxSizer *result; | |
ae8162c8 | 6044 | bool temp2 = false ; |
d14a1e28 RD |
6045 | PyObject * obj0 = 0 ; |
6046 | PyObject * obj1 = 0 ; | |
6047 | char *kwnames[] = { | |
6048 | (char *) "self",(char *) "message", NULL | |
6049 | }; | |
6050 | ||
6051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6052 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6053 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6054 | { |
6055 | arg2 = wxString_in_helper(obj1); | |
6056 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 6057 | temp2 = true; |
d14a1e28 RD |
6058 | } |
6059 | { | |
6060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6061 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
6062 | ||
6063 | wxPyEndAllowThreads(__tstate); | |
6064 | if (PyErr_Occurred()) SWIG_fail; | |
6065 | } | |
6066 | { | |
7e08d4ef | 6067 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
6068 | } |
6069 | { | |
6070 | if (temp2) | |
6071 | delete arg2; | |
6072 | } | |
6073 | return resultobj; | |
6074 | fail: | |
6075 | { | |
6076 | if (temp2) | |
6077 | delete arg2; | |
6078 | } | |
6079 | return NULL; | |
6080 | } | |
6081 | ||
6082 | ||
c32bde28 | 6083 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6084 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6085 | wxDialog *arg1 = (wxDialog *) 0 ; |
6086 | long arg2 ; | |
32fe5131 RD |
6087 | bool arg3 = (bool) false ; |
6088 | int arg4 = (int) 0 ; | |
d14a1e28 RD |
6089 | wxSizer *result; |
6090 | PyObject * obj0 = 0 ; | |
994141e6 | 6091 | PyObject * obj1 = 0 ; |
32fe5131 RD |
6092 | PyObject * obj2 = 0 ; |
6093 | PyObject * obj3 = 0 ; | |
d14a1e28 | 6094 | char *kwnames[] = { |
32fe5131 | 6095 | (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL |
d14a1e28 RD |
6096 | }; |
6097 | ||
32fe5131 | 6098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
6099 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6100 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6101 | { | |
32fe5131 | 6102 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
6103 | if (SWIG_arg_fail(2)) SWIG_fail; |
6104 | } | |
32fe5131 RD |
6105 | if (obj2) { |
6106 | { | |
6107 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
6108 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6109 | } | |
6110 | } | |
6111 | if (obj3) { | |
6112 | { | |
6113 | arg4 = static_cast<int >(SWIG_As_int(obj3)); | |
6114 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6115 | } | |
6116 | } | |
d14a1e28 RD |
6117 | { |
6118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 6119 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4); |
d14a1e28 RD |
6120 | |
6121 | wxPyEndAllowThreads(__tstate); | |
6122 | if (PyErr_Occurred()) SWIG_fail; | |
6123 | } | |
6124 | { | |
7e08d4ef | 6125 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
6126 | } |
6127 | return resultobj; | |
6128 | fail: | |
6129 | return NULL; | |
6130 | } | |
6131 | ||
6132 | ||
e505d15e | 6133 | static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6134 | PyObject *resultobj = NULL; |
e505d15e RD |
6135 | wxDialog *arg1 = (wxDialog *) 0 ; |
6136 | long arg2 ; | |
6137 | wxStdDialogButtonSizer *result; | |
6138 | PyObject * obj0 = 0 ; | |
6139 | PyObject * obj1 = 0 ; | |
6140 | char *kwnames[] = { | |
6141 | (char *) "self",(char *) "flags", NULL | |
6142 | }; | |
6143 | ||
6144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
6145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); | |
6146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6147 | { | |
32fe5131 | 6148 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
e505d15e RD |
6149 | if (SWIG_arg_fail(2)) SWIG_fail; |
6150 | } | |
6151 | { | |
6152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6153 | result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2); | |
6154 | ||
6155 | wxPyEndAllowThreads(__tstate); | |
6156 | if (PyErr_Occurred()) SWIG_fail; | |
6157 | } | |
6158 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0); | |
6159 | return resultobj; | |
6160 | fail: | |
6161 | return NULL; | |
6162 | } | |
6163 | ||
6164 | ||
c32bde28 | 6165 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6166 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6167 | wxDialog *arg1 = (wxDialog *) 0 ; |
6168 | bool result; | |
6169 | PyObject * obj0 = 0 ; | |
6170 | char *kwnames[] = { | |
6171 | (char *) "self", NULL | |
6172 | }; | |
6173 | ||
6174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6175 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6176 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6177 | { |
6178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6179 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
6180 | ||
6181 | wxPyEndAllowThreads(__tstate); | |
6182 | if (PyErr_Occurred()) SWIG_fail; | |
6183 | } | |
4f89f6a3 RD |
6184 | { |
6185 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6186 | } | |
d14a1e28 RD |
6187 | return resultobj; |
6188 | fail: | |
6189 | return NULL; | |
6190 | } | |
6191 | ||
6192 | ||
c32bde28 | 6193 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6194 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6195 | wxDialog *arg1 = (wxDialog *) 0 ; |
6196 | int result; | |
6197 | PyObject * obj0 = 0 ; | |
6198 | char *kwnames[] = { | |
6199 | (char *) "self", NULL | |
6200 | }; | |
6201 | ||
6202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6205 | { |
6206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6207 | result = (int)(arg1)->ShowModal(); | |
6208 | ||
6209 | wxPyEndAllowThreads(__tstate); | |
6210 | if (PyErr_Occurred()) SWIG_fail; | |
6211 | } | |
093d3ff1 | 6212 | { |
32fe5131 | 6213 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 6214 | } |
d14a1e28 RD |
6215 | return resultobj; |
6216 | fail: | |
6217 | return NULL; | |
6218 | } | |
6219 | ||
6220 | ||
c32bde28 | 6221 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6222 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6223 | wxDialog *arg1 = (wxDialog *) 0 ; |
6224 | int arg2 ; | |
6225 | PyObject * obj0 = 0 ; | |
994141e6 | 6226 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6227 | char *kwnames[] = { |
6228 | (char *) "self",(char *) "retCode", NULL | |
6229 | }; | |
6230 | ||
994141e6 | 6231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
6232 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6233 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6234 | { | |
32fe5131 | 6235 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
6236 | if (SWIG_arg_fail(2)) SWIG_fail; |
6237 | } | |
d14a1e28 RD |
6238 | { |
6239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6240 | (arg1)->EndModal(arg2); | |
6241 | ||
6242 | wxPyEndAllowThreads(__tstate); | |
6243 | if (PyErr_Occurred()) SWIG_fail; | |
6244 | } | |
6245 | Py_INCREF(Py_None); resultobj = Py_None; | |
6246 | return resultobj; | |
6247 | fail: | |
6248 | return NULL; | |
6249 | } | |
6250 | ||
6251 | ||
c32bde28 | 6252 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6253 | PyObject *resultobj = NULL; |
093d3ff1 | 6254 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
6255 | wxVisualAttributes result; |
6256 | PyObject * obj0 = 0 ; | |
6257 | char *kwnames[] = { | |
6258 | (char *) "variant", NULL | |
6259 | }; | |
6260 | ||
6261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6262 | if (obj0) { | |
093d3ff1 | 6263 | { |
32fe5131 | 6264 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
6265 | if (SWIG_arg_fail(1)) SWIG_fail; |
6266 | } | |
22bfe96c RD |
6267 | } |
6268 | { | |
e3b71cb8 | 6269 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 6270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 6271 | result = wxDialog::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
6272 | |
6273 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6274 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
6275 | } |
6276 | { | |
6277 | wxVisualAttributes * resultptr; | |
32fe5131 | 6278 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
6279 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
6280 | } | |
6281 | return resultobj; | |
6282 | fail: | |
6283 | return NULL; | |
6284 | } | |
6285 | ||
6286 | ||
c32bde28 | 6287 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6288 | PyObject *obj; |
6289 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6290 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
6291 | Py_INCREF(obj); | |
6292 | return Py_BuildValue((char *)""); | |
6293 | } | |
c32bde28 | 6294 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6295 | PyObject *resultobj = NULL; |
d14a1e28 | 6296 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 RD |
6297 | int arg2 = (int) (int)-1 ; |
6298 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6299 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
6300 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6301 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6302 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6303 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6304 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
6305 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
6306 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6307 | wxMiniFrame *result; | |
ae8162c8 | 6308 | bool temp3 = false ; |
d14a1e28 RD |
6309 | wxPoint temp4 ; |
6310 | wxSize temp5 ; | |
ae8162c8 | 6311 | bool temp7 = false ; |
d14a1e28 | 6312 | PyObject * obj0 = 0 ; |
994141e6 | 6313 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6314 | PyObject * obj2 = 0 ; |
6315 | PyObject * obj3 = 0 ; | |
6316 | PyObject * obj4 = 0 ; | |
994141e6 | 6317 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6318 | PyObject * obj6 = 0 ; |
6319 | char *kwnames[] = { | |
6320 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6321 | }; | |
6322 | ||
248ed943 | 6323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
6324 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6325 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 6326 | if (obj1) { |
093d3ff1 | 6327 | { |
32fe5131 | 6328 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
6329 | if (SWIG_arg_fail(2)) SWIG_fail; |
6330 | } | |
248ed943 RD |
6331 | } |
6332 | if (obj2) { | |
6333 | { | |
6334 | arg3 = wxString_in_helper(obj2); | |
6335 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 6336 | temp3 = true; |
248ed943 | 6337 | } |
d14a1e28 RD |
6338 | } |
6339 | if (obj3) { | |
6340 | { | |
6341 | arg4 = &temp4; | |
6342 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6343 | } | |
6344 | } | |
6345 | if (obj4) { | |
6346 | { | |
6347 | arg5 = &temp5; | |
6348 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6349 | } | |
6350 | } | |
994141e6 | 6351 | if (obj5) { |
093d3ff1 | 6352 | { |
32fe5131 | 6353 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
6354 | if (SWIG_arg_fail(6)) SWIG_fail; |
6355 | } | |
994141e6 | 6356 | } |
d14a1e28 RD |
6357 | if (obj6) { |
6358 | { | |
6359 | arg7 = wxString_in_helper(obj6); | |
6360 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 6361 | temp7 = true; |
d14a1e28 RD |
6362 | } |
6363 | } | |
6364 | { | |
e3b71cb8 | 6365 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6367 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6368 | ||
6369 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6370 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6371 | } |
15afbcd0 | 6372 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
6373 | { |
6374 | if (temp3) | |
6375 | delete arg3; | |
6376 | } | |
6377 | { | |
6378 | if (temp7) | |
6379 | delete arg7; | |
6380 | } | |
6381 | return resultobj; | |
6382 | fail: | |
6383 | { | |
6384 | if (temp3) | |
6385 | delete arg3; | |
6386 | } | |
6387 | { | |
6388 | if (temp7) | |
6389 | delete arg7; | |
6390 | } | |
6391 | return NULL; | |
6392 | } | |
6393 | ||
6394 | ||
c32bde28 | 6395 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6396 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6397 | wxMiniFrame *result; |
6398 | char *kwnames[] = { | |
6399 | NULL | |
6400 | }; | |
6401 | ||
6402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
6403 | { | |
e3b71cb8 | 6404 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6406 | result = (wxMiniFrame *)new wxMiniFrame(); | |
6407 | ||
6408 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6409 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6410 | } |
15afbcd0 | 6411 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
6412 | return resultobj; |
6413 | fail: | |
6414 | return NULL; | |
6415 | } | |
6416 | ||
6417 | ||
c32bde28 | 6418 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6419 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6420 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; |
6421 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
6422 | int arg3 = (int) (int)-1 ; |
6423 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
6424 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
6425 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
6426 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
6427 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
6428 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
6429 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
6430 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
6431 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
6432 | bool result; | |
ae8162c8 | 6433 | bool temp4 = false ; |
d14a1e28 RD |
6434 | wxPoint temp5 ; |
6435 | wxSize temp6 ; | |
ae8162c8 | 6436 | bool temp8 = false ; |
d14a1e28 RD |
6437 | PyObject * obj0 = 0 ; |
6438 | PyObject * obj1 = 0 ; | |
994141e6 | 6439 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6440 | PyObject * obj3 = 0 ; |
6441 | PyObject * obj4 = 0 ; | |
6442 | PyObject * obj5 = 0 ; | |
994141e6 | 6443 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
6444 | PyObject * obj7 = 0 ; |
6445 | char *kwnames[] = { | |
6446 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6447 | }; | |
6448 | ||
248ed943 | 6449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
6450 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0); |
6451 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6452 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6453 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 6454 | if (obj2) { |
093d3ff1 | 6455 | { |
32fe5131 | 6456 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
6457 | if (SWIG_arg_fail(3)) SWIG_fail; |
6458 | } | |
248ed943 RD |
6459 | } |
6460 | if (obj3) { | |
6461 | { | |
6462 | arg4 = wxString_in_helper(obj3); | |
6463 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 6464 | temp4 = true; |
248ed943 | 6465 | } |
d14a1e28 RD |
6466 | } |
6467 | if (obj4) { | |
6468 | { | |
6469 | arg5 = &temp5; | |
6470 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
6471 | } | |
6472 | } | |
6473 | if (obj5) { | |
6474 | { | |
6475 | arg6 = &temp6; | |
6476 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
6477 | } | |
6478 | } | |
994141e6 | 6479 | if (obj6) { |
093d3ff1 | 6480 | { |
32fe5131 | 6481 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
093d3ff1 RD |
6482 | if (SWIG_arg_fail(7)) SWIG_fail; |
6483 | } | |
994141e6 | 6484 | } |
d14a1e28 RD |
6485 | if (obj7) { |
6486 | { | |
6487 | arg8 = wxString_in_helper(obj7); | |
6488 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 6489 | temp8 = true; |
d14a1e28 RD |
6490 | } |
6491 | } | |
6492 | { | |
6493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6494 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
6495 | ||
6496 | wxPyEndAllowThreads(__tstate); | |
6497 | if (PyErr_Occurred()) SWIG_fail; | |
6498 | } | |
4f89f6a3 RD |
6499 | { |
6500 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6501 | } | |
d14a1e28 RD |
6502 | { |
6503 | if (temp4) | |
6504 | delete arg4; | |
6505 | } | |
6506 | { | |
6507 | if (temp8) | |
6508 | delete arg8; | |
6509 | } | |
6510 | return resultobj; | |
6511 | fail: | |
6512 | { | |
6513 | if (temp4) | |
6514 | delete arg4; | |
6515 | } | |
6516 | { | |
6517 | if (temp8) | |
6518 | delete arg8; | |
6519 | } | |
6520 | return NULL; | |
6521 | } | |
6522 | ||
6523 | ||
c32bde28 | 6524 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6525 | PyObject *obj; |
6526 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6527 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
6528 | Py_INCREF(obj); | |
6529 | return Py_BuildValue((char *)""); | |
6530 | } | |
c32bde28 | 6531 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6532 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6533 | wxBitmap *arg1 = 0 ; |
6534 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 6535 | int arg3 ; |
d14a1e28 RD |
6536 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6537 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6538 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6539 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6540 | long arg6 = (long) wxNO_BORDER ; | |
6541 | wxSplashScreenWindow *result; | |
6542 | wxPoint temp4 ; | |
6543 | wxSize temp5 ; | |
6544 | PyObject * obj0 = 0 ; | |
6545 | PyObject * obj1 = 0 ; | |
994141e6 | 6546 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6547 | PyObject * obj3 = 0 ; |
6548 | PyObject * obj4 = 0 ; | |
994141e6 | 6549 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6550 | char *kwnames[] = { |
6551 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6552 | }; | |
6553 | ||
994141e6 | 6554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
6555 | { |
6556 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6557 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6558 | if (arg1 == NULL) { | |
6559 | SWIG_null_ref("wxBitmap"); | |
6560 | } | |
6561 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6562 | } | |
6563 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6564 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6565 | { | |
32fe5131 | 6566 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
6567 | if (SWIG_arg_fail(3)) SWIG_fail; |
6568 | } | |
d14a1e28 RD |
6569 | if (obj3) { |
6570 | { | |
6571 | arg4 = &temp4; | |
6572 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6573 | } | |
6574 | } | |
6575 | if (obj4) { | |
6576 | { | |
6577 | arg5 = &temp5; | |
6578 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6579 | } | |
6580 | } | |
994141e6 | 6581 | if (obj5) { |
093d3ff1 | 6582 | { |
32fe5131 | 6583 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
6584 | if (SWIG_arg_fail(6)) SWIG_fail; |
6585 | } | |
994141e6 | 6586 | } |
d14a1e28 | 6587 | { |
e3b71cb8 | 6588 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6590 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
6591 | ||
6592 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6593 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6594 | } |
15afbcd0 | 6595 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
6596 | return resultobj; |
6597 | fail: | |
6598 | return NULL; | |
6599 | } | |
6600 | ||
6601 | ||
c32bde28 | 6602 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6603 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6604 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; |
6605 | wxBitmap *arg2 = 0 ; | |
6606 | PyObject * obj0 = 0 ; | |
6607 | PyObject * obj1 = 0 ; | |
6608 | char *kwnames[] = { | |
6609 | (char *) "self",(char *) "bitmap", NULL | |
6610 | }; | |
6611 | ||
6612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6613 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6614 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6615 | { | |
6616 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6617 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6618 | if (arg2 == NULL) { | |
6619 | SWIG_null_ref("wxBitmap"); | |
6620 | } | |
6621 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
6622 | } |
6623 | { | |
6624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6625 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
6626 | ||
6627 | wxPyEndAllowThreads(__tstate); | |
6628 | if (PyErr_Occurred()) SWIG_fail; | |
6629 | } | |
6630 | Py_INCREF(Py_None); resultobj = Py_None; | |
6631 | return resultobj; | |
6632 | fail: | |
6633 | return NULL; | |
6634 | } | |
6635 | ||
6636 | ||
c32bde28 | 6637 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6638 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6639 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; |
6640 | wxBitmap *result; | |
6641 | PyObject * obj0 = 0 ; | |
6642 | char *kwnames[] = { | |
6643 | (char *) "self", NULL | |
6644 | }; | |
6645 | ||
6646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6649 | { |
6650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6651 | { | |
6652 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
6653 | result = (wxBitmap *) &_result_ref; | |
6654 | } | |
6655 | ||
6656 | wxPyEndAllowThreads(__tstate); | |
6657 | if (PyErr_Occurred()) SWIG_fail; | |
6658 | } | |
4276dc52 RD |
6659 | { |
6660 | wxBitmap* resultptr = new wxBitmap(*result); | |
6661 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
6662 | } | |
d14a1e28 RD |
6663 | return resultobj; |
6664 | fail: | |
6665 | return NULL; | |
6666 | } | |
6667 | ||
6668 | ||
c32bde28 | 6669 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6670 | PyObject *obj; |
6671 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6672 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
6673 | Py_INCREF(obj); | |
6674 | return Py_BuildValue((char *)""); | |
6675 | } | |
c32bde28 | 6676 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6677 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6678 | wxBitmap *arg1 = 0 ; |
6679 | long arg2 ; | |
6680 | int arg3 ; | |
6681 | wxWindow *arg4 = (wxWindow *) 0 ; | |
248ed943 | 6682 | int arg5 = (int) -1 ; |
d14a1e28 RD |
6683 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
6684 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
6685 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
6686 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
6687 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
6688 | wxSplashScreen *result; | |
6689 | wxPoint temp6 ; | |
6690 | wxSize temp7 ; | |
6691 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6692 | PyObject * obj1 = 0 ; |
6693 | PyObject * obj2 = 0 ; | |
d14a1e28 | 6694 | PyObject * obj3 = 0 ; |
994141e6 | 6695 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6696 | PyObject * obj5 = 0 ; |
6697 | PyObject * obj6 = 0 ; | |
994141e6 | 6698 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
6699 | char *kwnames[] = { |
6700 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6701 | }; | |
6702 | ||
248ed943 | 6703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
6704 | { |
6705 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6706 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6707 | if (arg1 == NULL) { | |
6708 | SWIG_null_ref("wxBitmap"); | |
6709 | } | |
6710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6711 | } | |
6712 | { | |
32fe5131 | 6713 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
6714 | if (SWIG_arg_fail(2)) SWIG_fail; |
6715 | } | |
6716 | { | |
32fe5131 | 6717 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
6718 | if (SWIG_arg_fail(3)) SWIG_fail; |
6719 | } | |
6720 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6721 | if (SWIG_arg_fail(4)) SWIG_fail; | |
248ed943 | 6722 | if (obj4) { |
093d3ff1 | 6723 | { |
32fe5131 | 6724 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
6725 | if (SWIG_arg_fail(5)) SWIG_fail; |
6726 | } | |
248ed943 | 6727 | } |
d14a1e28 RD |
6728 | if (obj5) { |
6729 | { | |
6730 | arg6 = &temp6; | |
6731 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
6732 | } | |
6733 | } | |
6734 | if (obj6) { | |
6735 | { | |
6736 | arg7 = &temp7; | |
6737 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
6738 | } | |
6739 | } | |
994141e6 | 6740 | if (obj7) { |
093d3ff1 | 6741 | { |
32fe5131 | 6742 | arg8 = static_cast<long >(SWIG_As_long(obj7)); |
093d3ff1 RD |
6743 | if (SWIG_arg_fail(8)) SWIG_fail; |
6744 | } | |
994141e6 | 6745 | } |
d14a1e28 | 6746 | { |
e3b71cb8 | 6747 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6749 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
6750 | ||
6751 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6752 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6753 | } |
15afbcd0 | 6754 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
6755 | return resultobj; |
6756 | fail: | |
6757 | return NULL; | |
6758 | } | |
6759 | ||
6760 | ||
c32bde28 | 6761 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6762 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6763 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; |
6764 | long result; | |
6765 | PyObject * obj0 = 0 ; | |
6766 | char *kwnames[] = { | |
6767 | (char *) "self", NULL | |
6768 | }; | |
6769 | ||
6770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6771 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6772 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6773 | { |
6774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6775 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
6776 | ||
6777 | wxPyEndAllowThreads(__tstate); | |
6778 | if (PyErr_Occurred()) SWIG_fail; | |
6779 | } | |
093d3ff1 | 6780 | { |
32fe5131 | 6781 | resultobj = SWIG_From_long(static_cast<long >(result)); |
093d3ff1 | 6782 | } |
d14a1e28 RD |
6783 | return resultobj; |
6784 | fail: | |
6785 | return NULL; | |
6786 | } | |
6787 | ||
6788 | ||
c32bde28 | 6789 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6790 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6791 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; |
6792 | wxSplashScreenWindow *result; | |
6793 | PyObject * obj0 = 0 ; | |
6794 | char *kwnames[] = { | |
6795 | (char *) "self", NULL | |
6796 | }; | |
6797 | ||
6798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6799 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6800 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6801 | { |
6802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6803 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
6804 | ||
6805 | wxPyEndAllowThreads(__tstate); | |
6806 | if (PyErr_Occurred()) SWIG_fail; | |
6807 | } | |
15afbcd0 | 6808 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
6809 | return resultobj; |
6810 | fail: | |
6811 | return NULL; | |
6812 | } | |
6813 | ||
6814 | ||
c32bde28 | 6815 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6816 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6817 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; |
6818 | int result; | |
6819 | PyObject * obj0 = 0 ; | |
6820 | char *kwnames[] = { | |
6821 | (char *) "self", NULL | |
6822 | }; | |
6823 | ||
6824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6825 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6826 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6827 | { |
6828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6829 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
6830 | ||
6831 | wxPyEndAllowThreads(__tstate); | |
6832 | if (PyErr_Occurred()) SWIG_fail; | |
6833 | } | |
093d3ff1 | 6834 | { |
32fe5131 | 6835 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 6836 | } |
d14a1e28 RD |
6837 | return resultobj; |
6838 | fail: | |
6839 | return NULL; | |
6840 | } | |
6841 | ||
6842 | ||
c32bde28 | 6843 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6844 | PyObject *obj; |
6845 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6846 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
6847 | Py_INCREF(obj); | |
6848 | return Py_BuildValue((char *)""); | |
6849 | } | |
c32bde28 | 6850 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6851 | PyObject *resultobj = NULL; |
d14a1e28 | 6852 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 6853 | int arg2 = (int) -1 ; |
6d88e192 | 6854 | long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ; |
d14a1e28 RD |
6855 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
6856 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
6857 | wxStatusBar *result; | |
ae8162c8 | 6858 | bool temp4 = false ; |
d14a1e28 | 6859 | PyObject * obj0 = 0 ; |
994141e6 RD |
6860 | PyObject * obj1 = 0 ; |
6861 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
6862 | PyObject * obj3 = 0 ; |
6863 | char *kwnames[] = { | |
6864 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
6865 | }; | |
6866 | ||
994141e6 | 6867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
6868 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6869 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 6870 | if (obj1) { |
093d3ff1 | 6871 | { |
32fe5131 | 6872 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
6873 | if (SWIG_arg_fail(2)) SWIG_fail; |
6874 | } | |
994141e6 RD |
6875 | } |
6876 | if (obj2) { | |
093d3ff1 | 6877 | { |
32fe5131 | 6878 | arg3 = static_cast<long >(SWIG_As_long(obj2)); |
093d3ff1 RD |
6879 | if (SWIG_arg_fail(3)) SWIG_fail; |
6880 | } | |
994141e6 | 6881 | } |
d14a1e28 RD |
6882 | if (obj3) { |
6883 | { | |
6884 | arg4 = wxString_in_helper(obj3); | |
6885 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 6886 | temp4 = true; |
d14a1e28 RD |
6887 | } |
6888 | } | |
6889 | { | |
e3b71cb8 | 6890 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6892 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
6893 | ||
6894 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6895 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6896 | } |
b0f7404b | 6897 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d14a1e28 RD |
6898 | { |
6899 | if (temp4) | |
6900 | delete arg4; | |
6901 | } | |
6902 | return resultobj; | |
6903 | fail: | |
6904 | { | |
6905 | if (temp4) | |
6906 | delete arg4; | |
6907 | } | |
6908 | return NULL; | |
6909 | } | |
6910 | ||
6911 | ||
c32bde28 | 6912 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6913 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6914 | wxStatusBar *result; |
6915 | char *kwnames[] = { | |
6916 | NULL | |
6917 | }; | |
6918 | ||
6919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
6920 | { | |
e3b71cb8 | 6921 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6923 | result = (wxStatusBar *)new wxStatusBar(); | |
6924 | ||
6925 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6926 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6927 | } |
b0f7404b | 6928 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d14a1e28 RD |
6929 | return resultobj; |
6930 | fail: | |
6931 | return NULL; | |
6932 | } | |
6933 | ||
6934 | ||
c32bde28 | 6935 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6936 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6937 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
6938 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 6939 | int arg3 = (int) -1 ; |
d14a1e28 RD |
6940 | long arg4 = (long) wxST_SIZEGRIP ; |
6941 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
6942 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
6943 | bool result; | |
ae8162c8 | 6944 | bool temp5 = false ; |
d14a1e28 RD |
6945 | PyObject * obj0 = 0 ; |
6946 | PyObject * obj1 = 0 ; | |
994141e6 RD |
6947 | PyObject * obj2 = 0 ; |
6948 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6949 | PyObject * obj4 = 0 ; |
6950 | char *kwnames[] = { | |
6951 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
6952 | }; | |
6953 | ||
248ed943 | 6954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
6955 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6956 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6957 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6958 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 6959 | if (obj2) { |
093d3ff1 | 6960 | { |
32fe5131 | 6961 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
6962 | if (SWIG_arg_fail(3)) SWIG_fail; |
6963 | } | |
248ed943 | 6964 | } |
994141e6 | 6965 | if (obj3) { |
093d3ff1 | 6966 | { |
32fe5131 | 6967 | arg4 = static_cast<long >(SWIG_As_long(obj3)); |
093d3ff1 RD |
6968 | if (SWIG_arg_fail(4)) SWIG_fail; |
6969 | } | |
994141e6 | 6970 | } |
d14a1e28 RD |
6971 | if (obj4) { |
6972 | { | |
6973 | arg5 = wxString_in_helper(obj4); | |
6974 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 6975 | temp5 = true; |
d14a1e28 RD |
6976 | } |
6977 | } | |
6978 | { | |
6979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6980 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
6981 | ||
6982 | wxPyEndAllowThreads(__tstate); | |
6983 | if (PyErr_Occurred()) SWIG_fail; | |
6984 | } | |
4f89f6a3 RD |
6985 | { |
6986 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6987 | } | |
d14a1e28 RD |
6988 | { |
6989 | if (temp5) | |
6990 | delete arg5; | |
6991 | } | |
6992 | return resultobj; | |
6993 | fail: | |
6994 | { | |
6995 | if (temp5) | |
6996 | delete arg5; | |
6997 | } | |
6998 | return NULL; | |
6999 | } | |
7000 | ||
7001 | ||
c32bde28 | 7002 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7003 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7004 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7005 | int arg2 = (int) 1 ; | |
7006 | PyObject * obj0 = 0 ; | |
994141e6 | 7007 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7008 | char *kwnames[] = { |
7009 | (char *) "self",(char *) "number", NULL | |
7010 | }; | |
7011 | ||
994141e6 | 7012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7013 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7014 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 7015 | if (obj1) { |
093d3ff1 | 7016 | { |
32fe5131 | 7017 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7018 | if (SWIG_arg_fail(2)) SWIG_fail; |
7019 | } | |
994141e6 | 7020 | } |
d14a1e28 RD |
7021 | { |
7022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7023 | (arg1)->SetFieldsCount(arg2); | |
7024 | ||
7025 | wxPyEndAllowThreads(__tstate); | |
7026 | if (PyErr_Occurred()) SWIG_fail; | |
7027 | } | |
7028 | Py_INCREF(Py_None); resultobj = Py_None; | |
7029 | return resultobj; | |
7030 | fail: | |
7031 | return NULL; | |
7032 | } | |
7033 | ||
7034 | ||
c32bde28 | 7035 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7036 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7037 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7038 | int result; | |
7039 | PyObject * obj0 = 0 ; | |
7040 | char *kwnames[] = { | |
7041 | (char *) "self", NULL | |
7042 | }; | |
7043 | ||
7044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7047 | { |
7048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7049 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
7050 | ||
7051 | wxPyEndAllowThreads(__tstate); | |
7052 | if (PyErr_Occurred()) SWIG_fail; | |
7053 | } | |
093d3ff1 | 7054 | { |
32fe5131 | 7055 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 7056 | } |
d14a1e28 RD |
7057 | return resultobj; |
7058 | fail: | |
7059 | return NULL; | |
7060 | } | |
7061 | ||
7062 | ||
c32bde28 | 7063 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7064 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7065 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7066 | wxString *arg2 = 0 ; | |
7067 | int arg3 = (int) 0 ; | |
ae8162c8 | 7068 | bool temp2 = false ; |
d14a1e28 RD |
7069 | PyObject * obj0 = 0 ; |
7070 | PyObject * obj1 = 0 ; | |
994141e6 | 7071 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7072 | char *kwnames[] = { |
7073 | (char *) "self",(char *) "text",(char *) "number", NULL | |
7074 | }; | |
7075 | ||
994141e6 | 7076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
7077 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7078 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7079 | { |
7080 | arg2 = wxString_in_helper(obj1); | |
7081 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7082 | temp2 = true; |
d14a1e28 | 7083 | } |
994141e6 | 7084 | if (obj2) { |
093d3ff1 | 7085 | { |
32fe5131 | 7086 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
7087 | if (SWIG_arg_fail(3)) SWIG_fail; |
7088 | } | |
994141e6 | 7089 | } |
d14a1e28 RD |
7090 | { |
7091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7092 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
7093 | ||
7094 | wxPyEndAllowThreads(__tstate); | |
7095 | if (PyErr_Occurred()) SWIG_fail; | |
7096 | } | |
7097 | Py_INCREF(Py_None); resultobj = Py_None; | |
7098 | { | |
7099 | if (temp2) | |
7100 | delete arg2; | |
7101 | } | |
7102 | return resultobj; | |
7103 | fail: | |
7104 | { | |
7105 | if (temp2) | |
7106 | delete arg2; | |
7107 | } | |
7108 | return NULL; | |
7109 | } | |
7110 | ||
7111 | ||
c32bde28 | 7112 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7113 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7114 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7115 | int arg2 = (int) 0 ; | |
7116 | wxString result; | |
7117 | PyObject * obj0 = 0 ; | |
994141e6 | 7118 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7119 | char *kwnames[] = { |
7120 | (char *) "self",(char *) "number", NULL | |
7121 | }; | |
7122 | ||
994141e6 | 7123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7124 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7125 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 7126 | if (obj1) { |
093d3ff1 | 7127 | { |
32fe5131 | 7128 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7129 | if (SWIG_arg_fail(2)) SWIG_fail; |
7130 | } | |
994141e6 | 7131 | } |
d14a1e28 RD |
7132 | { |
7133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7134 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
7135 | ||
7136 | wxPyEndAllowThreads(__tstate); | |
7137 | if (PyErr_Occurred()) SWIG_fail; | |
7138 | } | |
7139 | { | |
7140 | #if wxUSE_UNICODE | |
7141 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7142 | #else | |
7143 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7144 | #endif | |
7145 | } | |
7146 | return resultobj; | |
7147 | fail: | |
7148 | return NULL; | |
7149 | } | |
7150 | ||
7151 | ||
c32bde28 | 7152 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7153 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7154 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7155 | wxString *arg2 = 0 ; | |
7156 | int arg3 = (int) 0 ; | |
ae8162c8 | 7157 | bool temp2 = false ; |
d14a1e28 RD |
7158 | PyObject * obj0 = 0 ; |
7159 | PyObject * obj1 = 0 ; | |
994141e6 | 7160 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7161 | char *kwnames[] = { |
7162 | (char *) "self",(char *) "text",(char *) "number", NULL | |
7163 | }; | |
7164 | ||
994141e6 | 7165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
7166 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7167 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7168 | { |
7169 | arg2 = wxString_in_helper(obj1); | |
7170 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7171 | temp2 = true; |
d14a1e28 | 7172 | } |
994141e6 | 7173 | if (obj2) { |
093d3ff1 | 7174 | { |
32fe5131 | 7175 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
7176 | if (SWIG_arg_fail(3)) SWIG_fail; |
7177 | } | |
994141e6 | 7178 | } |
d14a1e28 RD |
7179 | { |
7180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7181 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
7182 | ||
7183 | wxPyEndAllowThreads(__tstate); | |
7184 | if (PyErr_Occurred()) SWIG_fail; | |
7185 | } | |
7186 | Py_INCREF(Py_None); resultobj = Py_None; | |
7187 | { | |
7188 | if (temp2) | |
7189 | delete arg2; | |
7190 | } | |
7191 | return resultobj; | |
7192 | fail: | |
7193 | { | |
7194 | if (temp2) | |
7195 | delete arg2; | |
7196 | } | |
7197 | return NULL; | |
7198 | } | |
7199 | ||
7200 | ||
c32bde28 | 7201 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7202 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7203 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7204 | int arg2 = (int) 0 ; | |
7205 | PyObject * obj0 = 0 ; | |
994141e6 | 7206 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7207 | char *kwnames[] = { |
7208 | (char *) "self",(char *) "number", NULL | |
7209 | }; | |
7210 | ||
994141e6 | 7211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 7214 | if (obj1) { |
093d3ff1 | 7215 | { |
32fe5131 | 7216 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7217 | if (SWIG_arg_fail(2)) SWIG_fail; |
7218 | } | |
994141e6 | 7219 | } |
d14a1e28 RD |
7220 | { |
7221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7222 | (arg1)->PopStatusText(arg2); | |
7223 | ||
7224 | wxPyEndAllowThreads(__tstate); | |
7225 | if (PyErr_Occurred()) SWIG_fail; | |
7226 | } | |
7227 | Py_INCREF(Py_None); resultobj = Py_None; | |
7228 | return resultobj; | |
7229 | fail: | |
7230 | return NULL; | |
7231 | } | |
7232 | ||
7233 | ||
c32bde28 | 7234 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7235 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7236 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7237 | int arg2 ; | |
7238 | int *arg3 = (int *) 0 ; | |
7239 | PyObject * obj0 = 0 ; | |
7240 | PyObject * obj1 = 0 ; | |
7241 | char *kwnames[] = { | |
7242 | (char *) "self",(char *) "widths", NULL | |
7243 | }; | |
7244 | ||
7245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7246 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7247 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7248 | { |
7249 | arg2 = PyList_Size(obj1); | |
7250 | arg3 = int_LIST_helper(obj1); | |
7251 | if (arg3 == NULL) SWIG_fail; | |
7252 | } | |
7253 | { | |
7254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7255 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
7256 | ||
7257 | wxPyEndAllowThreads(__tstate); | |
7258 | if (PyErr_Occurred()) SWIG_fail; | |
7259 | } | |
7260 | Py_INCREF(Py_None); resultobj = Py_None; | |
7261 | { | |
7262 | if (arg3) delete [] arg3; | |
7263 | } | |
7264 | return resultobj; | |
7265 | fail: | |
7266 | { | |
7267 | if (arg3) delete [] arg3; | |
7268 | } | |
7269 | return NULL; | |
7270 | } | |
7271 | ||
7272 | ||
c32bde28 | 7273 | static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7274 | PyObject *resultobj = NULL; |
f16ab95d RD |
7275 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7276 | int arg2 ; | |
7277 | int *arg3 = (int *) 0 ; | |
7278 | PyObject * obj0 = 0 ; | |
7279 | PyObject * obj1 = 0 ; | |
7280 | char *kwnames[] = { | |
7281 | (char *) "self",(char *) "styles", NULL | |
7282 | }; | |
7283 | ||
7284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7285 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7286 | if (SWIG_arg_fail(1)) SWIG_fail; | |
f16ab95d RD |
7287 | { |
7288 | arg2 = PyList_Size(obj1); | |
7289 | arg3 = int_LIST_helper(obj1); | |
7290 | if (arg3 == NULL) SWIG_fail; | |
7291 | } | |
7292 | { | |
7293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7294 | (arg1)->SetStatusStyles(arg2,(int const *)arg3); | |
7295 | ||
7296 | wxPyEndAllowThreads(__tstate); | |
7297 | if (PyErr_Occurred()) SWIG_fail; | |
7298 | } | |
7299 | Py_INCREF(Py_None); resultobj = Py_None; | |
7300 | { | |
7301 | if (arg3) delete [] arg3; | |
7302 | } | |
7303 | return resultobj; | |
7304 | fail: | |
7305 | { | |
7306 | if (arg3) delete [] arg3; | |
7307 | } | |
7308 | return NULL; | |
7309 | } | |
7310 | ||
7311 | ||
c32bde28 | 7312 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7313 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7314 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7315 | int arg2 ; | |
7722248d | 7316 | wxRect result; |
d14a1e28 | 7317 | PyObject * obj0 = 0 ; |
994141e6 | 7318 | PyObject * obj1 = 0 ; |
d14a1e28 | 7319 | char *kwnames[] = { |
7722248d | 7320 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
7321 | }; |
7322 | ||
994141e6 | 7323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7324 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7325 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7326 | { | |
32fe5131 | 7327 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7328 | if (SWIG_arg_fail(2)) SWIG_fail; |
7329 | } | |
d14a1e28 RD |
7330 | { |
7331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7722248d | 7332 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
7333 | |
7334 | wxPyEndAllowThreads(__tstate); | |
7335 | if (PyErr_Occurred()) SWIG_fail; | |
7336 | } | |
7722248d RD |
7337 | { |
7338 | wxRect * resultptr; | |
32fe5131 | 7339 | resultptr = new wxRect(static_cast<wxRect & >(result)); |
15afbcd0 | 7340 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7722248d | 7341 | } |
d14a1e28 RD |
7342 | return resultobj; |
7343 | fail: | |
7344 | return NULL; | |
7345 | } | |
7346 | ||
7347 | ||
c32bde28 | 7348 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7349 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7350 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7351 | int arg2 ; | |
7352 | PyObject * obj0 = 0 ; | |
994141e6 | 7353 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7354 | char *kwnames[] = { |
7355 | (char *) "self",(char *) "height", NULL | |
7356 | }; | |
7357 | ||
994141e6 | 7358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7359 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7360 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7361 | { | |
32fe5131 | 7362 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7363 | if (SWIG_arg_fail(2)) SWIG_fail; |
7364 | } | |
d14a1e28 RD |
7365 | { |
7366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7367 | (arg1)->SetMinHeight(arg2); | |
7368 | ||
7369 | wxPyEndAllowThreads(__tstate); | |
7370 | if (PyErr_Occurred()) SWIG_fail; | |
7371 | } | |
7372 | Py_INCREF(Py_None); resultobj = Py_None; | |
7373 | return resultobj; | |
7374 | fail: | |
7375 | return NULL; | |
7376 | } | |
7377 | ||
7378 | ||
c32bde28 | 7379 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7380 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7381 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7382 | int result; | |
7383 | PyObject * obj0 = 0 ; | |
7384 | char *kwnames[] = { | |
7385 | (char *) "self", NULL | |
7386 | }; | |
7387 | ||
7388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7389 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7390 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7391 | { |
7392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7393 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
7394 | ||
7395 | wxPyEndAllowThreads(__tstate); | |
7396 | if (PyErr_Occurred()) SWIG_fail; | |
7397 | } | |
093d3ff1 | 7398 | { |
32fe5131 | 7399 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 7400 | } |
d14a1e28 RD |
7401 | return resultobj; |
7402 | fail: | |
7403 | return NULL; | |
7404 | } | |
7405 | ||
7406 | ||
c32bde28 | 7407 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7408 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7409 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; |
7410 | int result; | |
7411 | PyObject * obj0 = 0 ; | |
7412 | char *kwnames[] = { | |
7413 | (char *) "self", NULL | |
7414 | }; | |
7415 | ||
7416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7417 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7418 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7419 | { |
7420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7421 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
7422 | ||
7423 | wxPyEndAllowThreads(__tstate); | |
7424 | if (PyErr_Occurred()) SWIG_fail; | |
7425 | } | |
093d3ff1 | 7426 | { |
32fe5131 | 7427 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 7428 | } |
d14a1e28 RD |
7429 | return resultobj; |
7430 | fail: | |
7431 | return NULL; | |
7432 | } | |
7433 | ||
7434 | ||
c32bde28 | 7435 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7436 | PyObject *resultobj = NULL; |
093d3ff1 | 7437 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
7438 | wxVisualAttributes result; |
7439 | PyObject * obj0 = 0 ; | |
7440 | char *kwnames[] = { | |
7441 | (char *) "variant", NULL | |
7442 | }; | |
7443 | ||
7444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
7445 | if (obj0) { | |
093d3ff1 | 7446 | { |
32fe5131 | 7447 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
7448 | if (SWIG_arg_fail(1)) SWIG_fail; |
7449 | } | |
22bfe96c RD |
7450 | } |
7451 | { | |
e3b71cb8 | 7452 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 7453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 7454 | result = wxStatusBar::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
7455 | |
7456 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7457 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
7458 | } |
7459 | { | |
7460 | wxVisualAttributes * resultptr; | |
32fe5131 | 7461 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
7462 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
7463 | } | |
7464 | return resultobj; | |
7465 | fail: | |
7466 | return NULL; | |
7467 | } | |
7468 | ||
7469 | ||
c32bde28 | 7470 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7471 | PyObject *obj; |
7472 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7473 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
7474 | Py_INCREF(obj); | |
7475 | return Py_BuildValue((char *)""); | |
7476 | } | |
c32bde28 | 7477 | static int _wrap_SplitterNameStr_set(PyObject *) { |
b2dc1044 RD |
7478 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
7479 | return 1; | |
7480 | } | |
7481 | ||
7482 | ||
093d3ff1 | 7483 | static PyObject *_wrap_SplitterNameStr_get(void) { |
32fe5131 | 7484 | PyObject *pyobj = NULL; |
b2dc1044 RD |
7485 | |
7486 | { | |
7487 | #if wxUSE_UNICODE | |
7488 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7489 | #else | |
7490 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7491 | #endif | |
7492 | } | |
7493 | return pyobj; | |
7494 | } | |
7495 | ||
7496 | ||
c32bde28 | 7497 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7498 | PyObject *resultobj = NULL; |
d14a1e28 | 7499 | wxWindow *arg1 = (wxWindow *) 0 ; |
74a57fcd | 7500 | int arg2 = (int) -1 ; |
d14a1e28 RD |
7501 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7502 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7503 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7504 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7505 | long arg5 = (long) wxSP_3D ; | |
7506 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
7507 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7508 | wxSplitterWindow *result; | |
7509 | wxPoint temp3 ; | |
7510 | wxSize temp4 ; | |
ae8162c8 | 7511 | bool temp6 = false ; |
d14a1e28 | 7512 | PyObject * obj0 = 0 ; |
994141e6 | 7513 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7514 | PyObject * obj2 = 0 ; |
7515 | PyObject * obj3 = 0 ; | |
994141e6 | 7516 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7517 | PyObject * obj5 = 0 ; |
7518 | char *kwnames[] = { | |
994141e6 | 7519 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
7520 | }; |
7521 | ||
74a57fcd | 7522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
7523 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7524 | if (SWIG_arg_fail(1)) SWIG_fail; | |
74a57fcd | 7525 | if (obj1) { |
093d3ff1 | 7526 | { |
32fe5131 | 7527 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7528 | if (SWIG_arg_fail(2)) SWIG_fail; |
7529 | } | |
74a57fcd | 7530 | } |
d14a1e28 RD |
7531 | if (obj2) { |
7532 | { | |
7533 | arg3 = &temp3; | |
7534 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7535 | } | |
7536 | } | |
7537 | if (obj3) { | |
7538 | { | |
7539 | arg4 = &temp4; | |
7540 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7541 | } | |
7542 | } | |
15afbcd0 | 7543 | if (obj4) { |
093d3ff1 | 7544 | { |
32fe5131 | 7545 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
7546 | if (SWIG_arg_fail(5)) SWIG_fail; |
7547 | } | |
994141e6 | 7548 | } |
d14a1e28 RD |
7549 | if (obj5) { |
7550 | { | |
7551 | arg6 = wxString_in_helper(obj5); | |
7552 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 7553 | temp6 = true; |
d14a1e28 RD |
7554 | } |
7555 | } | |
7556 | { | |
e3b71cb8 | 7557 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7559 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7560 | ||
7561 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7562 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7563 | } |
15afbcd0 | 7564 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
7565 | { |
7566 | if (temp6) | |
7567 | delete arg6; | |
7568 | } | |
7569 | return resultobj; | |
7570 | fail: | |
7571 | { | |
7572 | if (temp6) | |
7573 | delete arg6; | |
7574 | } | |
7575 | return NULL; | |
7576 | } | |
7577 | ||
7578 | ||
c32bde28 | 7579 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7580 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7581 | wxSplitterWindow *result; |
7582 | char *kwnames[] = { | |
7583 | NULL | |
7584 | }; | |
7585 | ||
7586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
7587 | { | |
e3b71cb8 | 7588 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7590 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
7591 | ||
7592 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7593 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7594 | } |
15afbcd0 | 7595 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
7596 | return resultobj; |
7597 | fail: | |
7598 | return NULL; | |
7599 | } | |
7600 | ||
7601 | ||
c32bde28 | 7602 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7603 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7604 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7605 | wxWindow *arg2 = (wxWindow *) 0 ; | |
74a57fcd | 7606 | int arg3 = (int) -1 ; |
d14a1e28 RD |
7607 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7608 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7609 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7610 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7611 | long arg6 = (long) wxSP_3D ; | |
7612 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
7613 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7614 | bool result; | |
7615 | wxPoint temp4 ; | |
7616 | wxSize temp5 ; | |
ae8162c8 | 7617 | bool temp7 = false ; |
d14a1e28 RD |
7618 | PyObject * obj0 = 0 ; |
7619 | PyObject * obj1 = 0 ; | |
994141e6 | 7620 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7621 | PyObject * obj3 = 0 ; |
7622 | PyObject * obj4 = 0 ; | |
994141e6 | 7623 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7624 | PyObject * obj6 = 0 ; |
7625 | char *kwnames[] = { | |
994141e6 | 7626 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
7627 | }; |
7628 | ||
74a57fcd | 7629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
7630 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7631 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7632 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7633 | if (SWIG_arg_fail(2)) SWIG_fail; | |
74a57fcd | 7634 | if (obj2) { |
093d3ff1 | 7635 | { |
32fe5131 | 7636 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
7637 | if (SWIG_arg_fail(3)) SWIG_fail; |
7638 | } | |
74a57fcd | 7639 | } |
d14a1e28 RD |
7640 | if (obj3) { |
7641 | { | |
7642 | arg4 = &temp4; | |
7643 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7644 | } | |
7645 | } | |
7646 | if (obj4) { | |
7647 | { | |
7648 | arg5 = &temp5; | |
7649 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7650 | } | |
7651 | } | |
994141e6 | 7652 | if (obj5) { |
093d3ff1 | 7653 | { |
32fe5131 | 7654 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
7655 | if (SWIG_arg_fail(6)) SWIG_fail; |
7656 | } | |
994141e6 | 7657 | } |
d14a1e28 RD |
7658 | if (obj6) { |
7659 | { | |
7660 | arg7 = wxString_in_helper(obj6); | |
7661 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 7662 | temp7 = true; |
d14a1e28 RD |
7663 | } |
7664 | } | |
7665 | { | |
7666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7667 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7668 | ||
7669 | wxPyEndAllowThreads(__tstate); | |
7670 | if (PyErr_Occurred()) SWIG_fail; | |
7671 | } | |
4f89f6a3 RD |
7672 | { |
7673 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7674 | } | |
d14a1e28 RD |
7675 | { |
7676 | if (temp7) | |
7677 | delete arg7; | |
7678 | } | |
7679 | return resultobj; | |
7680 | fail: | |
7681 | { | |
7682 | if (temp7) | |
7683 | delete arg7; | |
7684 | } | |
7685 | return NULL; | |
7686 | } | |
7687 | ||
7688 | ||
c32bde28 | 7689 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7690 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7691 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7692 | wxWindow *result; | |
7693 | PyObject * obj0 = 0 ; | |
7694 | char *kwnames[] = { | |
7695 | (char *) "self", NULL | |
7696 | }; | |
7697 | ||
7698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7699 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7700 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7701 | { |
7702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7703 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
7704 | ||
7705 | wxPyEndAllowThreads(__tstate); | |
7706 | if (PyErr_Occurred()) SWIG_fail; | |
7707 | } | |
7708 | { | |
412d302d | 7709 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
7710 | } |
7711 | return resultobj; | |
7712 | fail: | |
7713 | return NULL; | |
7714 | } | |
7715 | ||
7716 | ||
c32bde28 | 7717 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7718 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7719 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7720 | wxWindow *result; | |
7721 | PyObject * obj0 = 0 ; | |
7722 | char *kwnames[] = { | |
7723 | (char *) "self", NULL | |
7724 | }; | |
7725 | ||
7726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7727 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7728 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7729 | { |
7730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7731 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
7732 | ||
7733 | wxPyEndAllowThreads(__tstate); | |
7734 | if (PyErr_Occurred()) SWIG_fail; | |
7735 | } | |
7736 | { | |
412d302d | 7737 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
7738 | } |
7739 | return resultobj; | |
7740 | fail: | |
7741 | return NULL; | |
7742 | } | |
7743 | ||
7744 | ||
c32bde28 | 7745 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7746 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7747 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7748 | int arg2 ; | |
7749 | PyObject * obj0 = 0 ; | |
994141e6 | 7750 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7751 | char *kwnames[] = { |
7752 | (char *) "self",(char *) "mode", NULL | |
7753 | }; | |
7754 | ||
994141e6 | 7755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
7756 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7757 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7758 | { | |
32fe5131 | 7759 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
7760 | if (SWIG_arg_fail(2)) SWIG_fail; |
7761 | } | |
d14a1e28 RD |
7762 | { |
7763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7764 | (arg1)->SetSplitMode(arg2); | |
7765 | ||
7766 | wxPyEndAllowThreads(__tstate); | |
7767 | if (PyErr_Occurred()) SWIG_fail; | |
7768 | } | |
7769 | Py_INCREF(Py_None); resultobj = Py_None; | |
7770 | return resultobj; | |
7771 | fail: | |
7772 | return NULL; | |
7773 | } | |
7774 | ||
7775 | ||
c32bde28 | 7776 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7777 | PyObject *resultobj = NULL; |
d14a1e28 | 7778 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
093d3ff1 | 7779 | wxSplitMode result; |
d14a1e28 RD |
7780 | PyObject * obj0 = 0 ; |
7781 | char *kwnames[] = { | |
7782 | (char *) "self", NULL | |
7783 | }; | |
7784 | ||
7785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7786 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7787 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7788 | { |
7789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 7790 | result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode(); |
d14a1e28 RD |
7791 | |
7792 | wxPyEndAllowThreads(__tstate); | |
7793 | if (PyErr_Occurred()) SWIG_fail; | |
7794 | } | |
093d3ff1 | 7795 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
7796 | return resultobj; |
7797 | fail: | |
7798 | return NULL; | |
7799 | } | |
7800 | ||
7801 | ||
c32bde28 | 7802 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7803 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7804 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7805 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7806 | PyObject * obj0 = 0 ; | |
7807 | PyObject * obj1 = 0 ; | |
7808 | char *kwnames[] = { | |
7809 | (char *) "self",(char *) "window", NULL | |
7810 | }; | |
7811 | ||
7812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7813 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7814 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7815 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7816 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
7817 | { |
7818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7819 | (arg1)->Initialize(arg2); | |
7820 | ||
7821 | wxPyEndAllowThreads(__tstate); | |
7822 | if (PyErr_Occurred()) SWIG_fail; | |
7823 | } | |
7824 | Py_INCREF(Py_None); resultobj = Py_None; | |
7825 | return resultobj; | |
7826 | fail: | |
7827 | return NULL; | |
7828 | } | |
7829 | ||
7830 | ||
c32bde28 | 7831 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7832 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7833 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7834 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7835 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7836 | int arg4 = (int) 0 ; | |
7837 | bool result; | |
7838 | PyObject * obj0 = 0 ; | |
7839 | PyObject * obj1 = 0 ; | |
7840 | PyObject * obj2 = 0 ; | |
994141e6 | 7841 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
7842 | char *kwnames[] = { |
7843 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7844 | }; | |
7845 | ||
994141e6 | 7846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
7847 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7848 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7849 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7850 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7851 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7852 | if (SWIG_arg_fail(3)) SWIG_fail; | |
994141e6 | 7853 | if (obj3) { |
093d3ff1 | 7854 | { |
32fe5131 | 7855 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
7856 | if (SWIG_arg_fail(4)) SWIG_fail; |
7857 | } | |
994141e6 | 7858 | } |
d14a1e28 RD |
7859 | { |
7860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7861 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
7862 | ||
7863 | wxPyEndAllowThreads(__tstate); | |
7864 | if (PyErr_Occurred()) SWIG_fail; | |
7865 | } | |
4f89f6a3 RD |
7866 | { |
7867 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7868 | } | |
d14a1e28 RD |
7869 | return resultobj; |
7870 | fail: | |
7871 | return NULL; | |
7872 | } | |
7873 | ||
7874 | ||
c32bde28 | 7875 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7876 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7877 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7878 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7879 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7880 | int arg4 = (int) 0 ; | |
7881 | bool result; | |
7882 | PyObject * obj0 = 0 ; | |
7883 | PyObject * obj1 = 0 ; | |
7884 | PyObject * obj2 = 0 ; | |
994141e6 | 7885 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
7886 | char *kwnames[] = { |
7887 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7888 | }; | |
7889 | ||
994141e6 | 7890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
7891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7893 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7894 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7895 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7896 | if (SWIG_arg_fail(3)) SWIG_fail; | |
994141e6 | 7897 | if (obj3) { |
093d3ff1 | 7898 | { |
32fe5131 | 7899 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
7900 | if (SWIG_arg_fail(4)) SWIG_fail; |
7901 | } | |
994141e6 | 7902 | } |
d14a1e28 RD |
7903 | { |
7904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7905 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
7906 | ||
7907 | wxPyEndAllowThreads(__tstate); | |
7908 | if (PyErr_Occurred()) SWIG_fail; | |
7909 | } | |
4f89f6a3 RD |
7910 | { |
7911 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7912 | } | |
d14a1e28 RD |
7913 | return resultobj; |
7914 | fail: | |
7915 | return NULL; | |
7916 | } | |
7917 | ||
7918 | ||
c32bde28 | 7919 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7920 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7921 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7922 | wxWindow *arg2 = (wxWindow *) NULL ; | |
7923 | bool result; | |
7924 | PyObject * obj0 = 0 ; | |
7925 | PyObject * obj1 = 0 ; | |
7926 | char *kwnames[] = { | |
7927 | (char *) "self",(char *) "toRemove", NULL | |
7928 | }; | |
7929 | ||
7930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7931 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7932 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 7933 | if (obj1) { |
093d3ff1 RD |
7934 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7935 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
7936 | } |
7937 | { | |
7938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7939 | result = (bool)(arg1)->Unsplit(arg2); | |
7940 | ||
7941 | wxPyEndAllowThreads(__tstate); | |
7942 | if (PyErr_Occurred()) SWIG_fail; | |
7943 | } | |
4f89f6a3 RD |
7944 | { |
7945 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7946 | } | |
d14a1e28 RD |
7947 | return resultobj; |
7948 | fail: | |
7949 | return NULL; | |
7950 | } | |
7951 | ||
7952 | ||
c32bde28 | 7953 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7954 | PyObject *resultobj = NULL; |
d14a1e28 RD |
7955 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7956 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7957 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7958 | bool result; | |
7959 | PyObject * obj0 = 0 ; | |
7960 | PyObject * obj1 = 0 ; | |
7961 | PyObject * obj2 = 0 ; | |
7962 | char *kwnames[] = { | |
7963 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
7964 | }; | |
7965 | ||
7966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
7967 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7968 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7969 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7970 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7971 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7972 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
7973 | { |
7974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7975 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
7976 | ||
7977 | wxPyEndAllowThreads(__tstate); | |
7978 | if (PyErr_Occurred()) SWIG_fail; | |
7979 | } | |
4f89f6a3 RD |
7980 | { |
7981 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7982 | } | |
d14a1e28 RD |
7983 | return resultobj; |
7984 | fail: | |
7985 | return NULL; | |
7986 | } | |
7987 | ||
7988 | ||
c32bde28 | 7989 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7990 | PyObject *resultobj = NULL; |
d00d1b88 RD |
7991 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
7992 | PyObject * obj0 = 0 ; | |
7993 | char *kwnames[] = { | |
7994 | (char *) "self", NULL | |
7995 | }; | |
7996 | ||
7997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7998 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7999 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d00d1b88 RD |
8000 | { |
8001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8002 | (arg1)->UpdateSize(); | |
8003 | ||
8004 | wxPyEndAllowThreads(__tstate); | |
8005 | if (PyErr_Occurred()) SWIG_fail; | |
8006 | } | |
8007 | Py_INCREF(Py_None); resultobj = Py_None; | |
8008 | return resultobj; | |
8009 | fail: | |
8010 | return NULL; | |
8011 | } | |
8012 | ||
8013 | ||
c32bde28 | 8014 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8015 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8016 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8017 | bool result; | |
8018 | PyObject * obj0 = 0 ; | |
8019 | char *kwnames[] = { | |
8020 | (char *) "self", NULL | |
8021 | }; | |
8022 | ||
8023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8024 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8025 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8026 | { |
8027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8028 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
8029 | ||
8030 | wxPyEndAllowThreads(__tstate); | |
8031 | if (PyErr_Occurred()) SWIG_fail; | |
8032 | } | |
4f89f6a3 RD |
8033 | { |
8034 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8035 | } | |
d14a1e28 RD |
8036 | return resultobj; |
8037 | fail: | |
8038 | return NULL; | |
8039 | } | |
8040 | ||
8041 | ||
c32bde28 | 8042 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8043 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8044 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8045 | int arg2 ; | |
8046 | PyObject * obj0 = 0 ; | |
994141e6 | 8047 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8048 | char *kwnames[] = { |
8049 | (char *) "self",(char *) "width", NULL | |
8050 | }; | |
8051 | ||
994141e6 | 8052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8055 | { | |
32fe5131 | 8056 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8057 | if (SWIG_arg_fail(2)) SWIG_fail; |
8058 | } | |
d14a1e28 RD |
8059 | { |
8060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8061 | (arg1)->SetSashSize(arg2); | |
8062 | ||
8063 | wxPyEndAllowThreads(__tstate); | |
8064 | if (PyErr_Occurred()) SWIG_fail; | |
8065 | } | |
8066 | Py_INCREF(Py_None); resultobj = Py_None; | |
8067 | return resultobj; | |
8068 | fail: | |
8069 | return NULL; | |
8070 | } | |
8071 | ||
8072 | ||
c32bde28 | 8073 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8074 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8075 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8076 | int arg2 ; | |
8077 | PyObject * obj0 = 0 ; | |
994141e6 | 8078 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8079 | char *kwnames[] = { |
8080 | (char *) "self",(char *) "width", NULL | |
8081 | }; | |
8082 | ||
994141e6 | 8083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8084 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8085 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8086 | { | |
32fe5131 | 8087 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8088 | if (SWIG_arg_fail(2)) SWIG_fail; |
8089 | } | |
d14a1e28 RD |
8090 | { |
8091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8092 | (arg1)->SetBorderSize(arg2); | |
8093 | ||
8094 | wxPyEndAllowThreads(__tstate); | |
8095 | if (PyErr_Occurred()) SWIG_fail; | |
8096 | } | |
8097 | Py_INCREF(Py_None); resultobj = Py_None; | |
8098 | return resultobj; | |
8099 | fail: | |
8100 | return NULL; | |
8101 | } | |
8102 | ||
8103 | ||
c32bde28 | 8104 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8105 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8106 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8107 | int result; | |
8108 | PyObject * obj0 = 0 ; | |
8109 | char *kwnames[] = { | |
8110 | (char *) "self", NULL | |
8111 | }; | |
8112 | ||
8113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8114 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8115 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8116 | { |
8117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8118 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
8119 | ||
8120 | wxPyEndAllowThreads(__tstate); | |
8121 | if (PyErr_Occurred()) SWIG_fail; | |
8122 | } | |
093d3ff1 | 8123 | { |
32fe5131 | 8124 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8125 | } |
d14a1e28 RD |
8126 | return resultobj; |
8127 | fail: | |
8128 | return NULL; | |
8129 | } | |
8130 | ||
8131 | ||
c32bde28 | 8132 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8133 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8134 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8135 | int result; | |
8136 | PyObject * obj0 = 0 ; | |
8137 | char *kwnames[] = { | |
8138 | (char *) "self", NULL | |
8139 | }; | |
8140 | ||
8141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8142 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8143 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8144 | { |
8145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8146 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
8147 | ||
8148 | wxPyEndAllowThreads(__tstate); | |
8149 | if (PyErr_Occurred()) SWIG_fail; | |
8150 | } | |
093d3ff1 | 8151 | { |
32fe5131 | 8152 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8153 | } |
d14a1e28 RD |
8154 | return resultobj; |
8155 | fail: | |
8156 | return NULL; | |
8157 | } | |
8158 | ||
8159 | ||
c32bde28 | 8160 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8161 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8162 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8163 | int arg2 ; | |
ae8162c8 | 8164 | bool arg3 = (bool) true ; |
d14a1e28 | 8165 | PyObject * obj0 = 0 ; |
994141e6 | 8166 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8167 | PyObject * obj2 = 0 ; |
8168 | char *kwnames[] = { | |
8169 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
8170 | }; | |
8171 | ||
994141e6 | 8172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
8173 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8174 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8175 | { | |
32fe5131 | 8176 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8177 | if (SWIG_arg_fail(2)) SWIG_fail; |
8178 | } | |
d14a1e28 | 8179 | if (obj2) { |
093d3ff1 | 8180 | { |
32fe5131 | 8181 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
8182 | if (SWIG_arg_fail(3)) SWIG_fail; |
8183 | } | |
d14a1e28 RD |
8184 | } |
8185 | { | |
8186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8187 | (arg1)->SetSashPosition(arg2,arg3); | |
8188 | ||
8189 | wxPyEndAllowThreads(__tstate); | |
8190 | if (PyErr_Occurred()) SWIG_fail; | |
8191 | } | |
8192 | Py_INCREF(Py_None); resultobj = Py_None; | |
8193 | return resultobj; | |
8194 | fail: | |
8195 | return NULL; | |
8196 | } | |
8197 | ||
8198 | ||
c32bde28 | 8199 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8200 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8201 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8202 | int result; | |
8203 | PyObject * obj0 = 0 ; | |
8204 | char *kwnames[] = { | |
8205 | (char *) "self", NULL | |
8206 | }; | |
8207 | ||
8208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8209 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8210 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8211 | { |
8212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8213 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
8214 | ||
8215 | wxPyEndAllowThreads(__tstate); | |
8216 | if (PyErr_Occurred()) SWIG_fail; | |
8217 | } | |
093d3ff1 | 8218 | { |
32fe5131 | 8219 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8220 | } |
d14a1e28 RD |
8221 | return resultobj; |
8222 | fail: | |
8223 | return NULL; | |
8224 | } | |
8225 | ||
8226 | ||
5cbf236d | 8227 | static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8228 | PyObject *resultobj = NULL; |
5cbf236d RD |
8229 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8230 | double arg2 ; | |
8231 | PyObject * obj0 = 0 ; | |
8232 | PyObject * obj1 = 0 ; | |
8233 | char *kwnames[] = { | |
8234 | (char *) "self",(char *) "gravity", NULL | |
8235 | }; | |
8236 | ||
8237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8238 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8239 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8240 | { | |
32fe5131 | 8241 | arg2 = static_cast<double >(SWIG_As_double(obj1)); |
093d3ff1 RD |
8242 | if (SWIG_arg_fail(2)) SWIG_fail; |
8243 | } | |
5cbf236d RD |
8244 | { |
8245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8246 | (arg1)->SetSashGravity(arg2); | |
8247 | ||
8248 | wxPyEndAllowThreads(__tstate); | |
8249 | if (PyErr_Occurred()) SWIG_fail; | |
8250 | } | |
8251 | Py_INCREF(Py_None); resultobj = Py_None; | |
8252 | return resultobj; | |
8253 | fail: | |
8254 | return NULL; | |
8255 | } | |
8256 | ||
8257 | ||
8258 | static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 8259 | PyObject *resultobj = NULL; |
5cbf236d RD |
8260 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8261 | double result; | |
8262 | PyObject * obj0 = 0 ; | |
8263 | char *kwnames[] = { | |
8264 | (char *) "self", NULL | |
8265 | }; | |
8266 | ||
8267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8268 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8269 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
8270 | { |
8271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8272 | result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity(); | |
8273 | ||
8274 | wxPyEndAllowThreads(__tstate); | |
8275 | if (PyErr_Occurred()) SWIG_fail; | |
8276 | } | |
093d3ff1 | 8277 | { |
32fe5131 | 8278 | resultobj = SWIG_From_double(static_cast<double >(result)); |
093d3ff1 | 8279 | } |
5cbf236d RD |
8280 | return resultobj; |
8281 | fail: | |
8282 | return NULL; | |
8283 | } | |
8284 | ||
8285 | ||
c32bde28 | 8286 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8287 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8288 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8289 | int arg2 ; | |
8290 | PyObject * obj0 = 0 ; | |
994141e6 | 8291 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8292 | char *kwnames[] = { |
8293 | (char *) "self",(char *) "min", NULL | |
8294 | }; | |
8295 | ||
994141e6 | 8296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8297 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8298 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8299 | { | |
32fe5131 | 8300 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8301 | if (SWIG_arg_fail(2)) SWIG_fail; |
8302 | } | |
d14a1e28 RD |
8303 | { |
8304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8305 | (arg1)->SetMinimumPaneSize(arg2); | |
8306 | ||
8307 | wxPyEndAllowThreads(__tstate); | |
8308 | if (PyErr_Occurred()) SWIG_fail; | |
8309 | } | |
8310 | Py_INCREF(Py_None); resultobj = Py_None; | |
8311 | return resultobj; | |
8312 | fail: | |
8313 | return NULL; | |
8314 | } | |
8315 | ||
8316 | ||
c32bde28 | 8317 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8318 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8319 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8320 | int result; | |
8321 | PyObject * obj0 = 0 ; | |
8322 | char *kwnames[] = { | |
8323 | (char *) "self", NULL | |
8324 | }; | |
8325 | ||
8326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8327 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8328 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8329 | { |
8330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8331 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
8332 | ||
8333 | wxPyEndAllowThreads(__tstate); | |
8334 | if (PyErr_Occurred()) SWIG_fail; | |
8335 | } | |
093d3ff1 | 8336 | { |
32fe5131 | 8337 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8338 | } |
d14a1e28 RD |
8339 | return resultobj; |
8340 | fail: | |
8341 | return NULL; | |
8342 | } | |
8343 | ||
8344 | ||
c32bde28 | 8345 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8346 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8347 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8348 | int arg2 ; | |
8349 | int arg3 ; | |
8350 | int arg4 = (int) 5 ; | |
8351 | bool result; | |
8352 | PyObject * obj0 = 0 ; | |
994141e6 RD |
8353 | PyObject * obj1 = 0 ; |
8354 | PyObject * obj2 = 0 ; | |
8355 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
8356 | char *kwnames[] = { |
8357 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
8358 | }; | |
8359 | ||
994141e6 | 8360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
8361 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8362 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8363 | { | |
32fe5131 | 8364 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8365 | if (SWIG_arg_fail(2)) SWIG_fail; |
8366 | } | |
8367 | { | |
32fe5131 | 8368 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
8369 | if (SWIG_arg_fail(3)) SWIG_fail; |
8370 | } | |
994141e6 | 8371 | if (obj3) { |
093d3ff1 | 8372 | { |
32fe5131 | 8373 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
8374 | if (SWIG_arg_fail(4)) SWIG_fail; |
8375 | } | |
994141e6 | 8376 | } |
d14a1e28 RD |
8377 | { |
8378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8379 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
8380 | ||
8381 | wxPyEndAllowThreads(__tstate); | |
8382 | if (PyErr_Occurred()) SWIG_fail; | |
8383 | } | |
4f89f6a3 RD |
8384 | { |
8385 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8386 | } | |
d14a1e28 RD |
8387 | return resultobj; |
8388 | fail: | |
8389 | return NULL; | |
8390 | } | |
8391 | ||
8392 | ||
c32bde28 | 8393 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8394 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8395 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8396 | PyObject * obj0 = 0 ; | |
8397 | char *kwnames[] = { | |
8398 | (char *) "self", NULL | |
8399 | }; | |
8400 | ||
8401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8402 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8403 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8404 | { |
8405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8406 | (arg1)->SizeWindows(); | |
8407 | ||
8408 | wxPyEndAllowThreads(__tstate); | |
8409 | if (PyErr_Occurred()) SWIG_fail; | |
8410 | } | |
8411 | Py_INCREF(Py_None); resultobj = Py_None; | |
8412 | return resultobj; | |
8413 | fail: | |
8414 | return NULL; | |
8415 | } | |
8416 | ||
8417 | ||
c32bde28 | 8418 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8419 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8420 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8421 | bool arg2 ; | |
8422 | PyObject * obj0 = 0 ; | |
8423 | PyObject * obj1 = 0 ; | |
8424 | char *kwnames[] = { | |
8425 | (char *) "self",(char *) "needUpdating", NULL | |
8426 | }; | |
8427 | ||
8428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8429 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8430 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8431 | { | |
32fe5131 | 8432 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
8433 | if (SWIG_arg_fail(2)) SWIG_fail; |
8434 | } | |
d14a1e28 RD |
8435 | { |
8436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8437 | (arg1)->SetNeedUpdating(arg2); | |
8438 | ||
8439 | wxPyEndAllowThreads(__tstate); | |
8440 | if (PyErr_Occurred()) SWIG_fail; | |
8441 | } | |
8442 | Py_INCREF(Py_None); resultobj = Py_None; | |
8443 | return resultobj; | |
8444 | fail: | |
8445 | return NULL; | |
8446 | } | |
8447 | ||
8448 | ||
c32bde28 | 8449 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8450 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8451 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; |
8452 | bool result; | |
8453 | PyObject * obj0 = 0 ; | |
8454 | char *kwnames[] = { | |
8455 | (char *) "self", NULL | |
8456 | }; | |
8457 | ||
8458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8459 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8460 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8461 | { |
8462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8463 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
8464 | ||
8465 | wxPyEndAllowThreads(__tstate); | |
8466 | if (PyErr_Occurred()) SWIG_fail; | |
8467 | } | |
4f89f6a3 RD |
8468 | { |
8469 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8470 | } | |
d14a1e28 RD |
8471 | return resultobj; |
8472 | fail: | |
8473 | return NULL; | |
8474 | } | |
8475 | ||
8476 | ||
c32bde28 | 8477 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8478 | PyObject *resultobj = NULL; |
093d3ff1 | 8479 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
22bfe96c RD |
8480 | wxVisualAttributes result; |
8481 | PyObject * obj0 = 0 ; | |
8482 | char *kwnames[] = { | |
8483 | (char *) "variant", NULL | |
8484 | }; | |
8485 | ||
8486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
8487 | if (obj0) { | |
093d3ff1 | 8488 | { |
32fe5131 | 8489 | arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0)); |
093d3ff1 RD |
8490 | if (SWIG_arg_fail(1)) SWIG_fail; |
8491 | } | |
22bfe96c RD |
8492 | } |
8493 | { | |
e3b71cb8 | 8494 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c | 8495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
32fe5131 | 8496 | result = wxSplitterWindow::GetClassDefaultAttributes(arg1); |
22bfe96c RD |
8497 | |
8498 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8499 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
8500 | } |
8501 | { | |
8502 | wxVisualAttributes * resultptr; | |
32fe5131 | 8503 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
22bfe96c RD |
8504 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
8505 | } | |
8506 | return resultobj; | |
8507 | fail: | |
8508 | return NULL; | |
8509 | } | |
8510 | ||
8511 | ||
c32bde28 | 8512 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8513 | PyObject *obj; |
8514 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8515 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
8516 | Py_INCREF(obj); | |
8517 | return Py_BuildValue((char *)""); | |
8518 | } | |
c32bde28 | 8519 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8520 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8521 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
8522 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
8523 | wxSplitterEvent *result; | |
994141e6 | 8524 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
8525 | PyObject * obj1 = 0 ; |
8526 | char *kwnames[] = { | |
8527 | (char *) "type",(char *) "splitter", NULL | |
8528 | }; | |
8529 | ||
994141e6 RD |
8530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
8531 | if (obj0) { | |
093d3ff1 | 8532 | { |
32fe5131 | 8533 | arg1 = static_cast<wxEventType >(SWIG_As_int(obj0)); |
093d3ff1 RD |
8534 | if (SWIG_arg_fail(1)) SWIG_fail; |
8535 | } | |
994141e6 | 8536 | } |
d14a1e28 | 8537 | if (obj1) { |
093d3ff1 RD |
8538 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8539 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
8540 | } |
8541 | { | |
8542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8543 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
8544 | ||
8545 | wxPyEndAllowThreads(__tstate); | |
8546 | if (PyErr_Occurred()) SWIG_fail; | |
8547 | } | |
15afbcd0 | 8548 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
8549 | return resultobj; |
8550 | fail: | |
8551 | return NULL; | |
8552 | } | |
8553 | ||
8554 | ||
c32bde28 | 8555 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8556 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8557 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; |
8558 | int arg2 ; | |
8559 | PyObject * obj0 = 0 ; | |
994141e6 | 8560 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8561 | char *kwnames[] = { |
8562 | (char *) "self",(char *) "pos", NULL | |
8563 | }; | |
8564 | ||
994141e6 | 8565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8566 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8567 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8568 | { | |
32fe5131 | 8569 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8570 | if (SWIG_arg_fail(2)) SWIG_fail; |
8571 | } | |
d14a1e28 RD |
8572 | { |
8573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8574 | (arg1)->SetSashPosition(arg2); | |
8575 | ||
8576 | wxPyEndAllowThreads(__tstate); | |
8577 | if (PyErr_Occurred()) SWIG_fail; | |
8578 | } | |
8579 | Py_INCREF(Py_None); resultobj = Py_None; | |
8580 | return resultobj; | |
8581 | fail: | |
8582 | return NULL; | |
8583 | } | |
8584 | ||
8585 | ||
c32bde28 | 8586 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8587 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8588 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; |
8589 | int result; | |
8590 | PyObject * obj0 = 0 ; | |
8591 | char *kwnames[] = { | |
8592 | (char *) "self", NULL | |
8593 | }; | |
8594 | ||
8595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8596 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8597 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8598 | { |
8599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8600 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
8601 | ||
8602 | wxPyEndAllowThreads(__tstate); | |
8603 | if (PyErr_Occurred()) SWIG_fail; | |
8604 | } | |
093d3ff1 | 8605 | { |
32fe5131 | 8606 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8607 | } |
d14a1e28 RD |
8608 | return resultobj; |
8609 | fail: | |
8610 | return NULL; | |
8611 | } | |
8612 | ||
8613 | ||
c32bde28 | 8614 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8615 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8616 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; |
8617 | wxWindow *result; | |
8618 | PyObject * obj0 = 0 ; | |
8619 | char *kwnames[] = { | |
8620 | (char *) "self", NULL | |
8621 | }; | |
8622 | ||
8623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8624 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8625 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8626 | { |
8627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8628 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
8629 | ||
8630 | wxPyEndAllowThreads(__tstate); | |
8631 | if (PyErr_Occurred()) SWIG_fail; | |
8632 | } | |
8633 | { | |
412d302d | 8634 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
8635 | } |
8636 | return resultobj; | |
8637 | fail: | |
8638 | return NULL; | |
8639 | } | |
8640 | ||
8641 | ||
c32bde28 | 8642 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8643 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8644 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; |
8645 | int result; | |
8646 | PyObject * obj0 = 0 ; | |
8647 | char *kwnames[] = { | |
8648 | (char *) "self", NULL | |
8649 | }; | |
8650 | ||
8651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8652 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8653 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8654 | { |
8655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8656 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
8657 | ||
8658 | wxPyEndAllowThreads(__tstate); | |
8659 | if (PyErr_Occurred()) SWIG_fail; | |
8660 | } | |
093d3ff1 | 8661 | { |
32fe5131 | 8662 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8663 | } |
d14a1e28 RD |
8664 | return resultobj; |
8665 | fail: | |
8666 | return NULL; | |
8667 | } | |
8668 | ||
8669 | ||
c32bde28 | 8670 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8671 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8672 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; |
8673 | int result; | |
8674 | PyObject * obj0 = 0 ; | |
8675 | char *kwnames[] = { | |
8676 | (char *) "self", NULL | |
8677 | }; | |
8678 | ||
8679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8680 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8681 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8682 | { |
8683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8684 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
8685 | ||
8686 | wxPyEndAllowThreads(__tstate); | |
8687 | if (PyErr_Occurred()) SWIG_fail; | |
8688 | } | |
093d3ff1 | 8689 | { |
32fe5131 | 8690 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 8691 | } |
d14a1e28 RD |
8692 | return resultobj; |
8693 | fail: | |
8694 | return NULL; | |
8695 | } | |
8696 | ||
8697 | ||
c32bde28 | 8698 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8699 | PyObject *obj; |
8700 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8701 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
8702 | Py_INCREF(obj); | |
8703 | return Py_BuildValue((char *)""); | |
8704 | } | |
c32bde28 | 8705 | static int _wrap_SashNameStr_set(PyObject *) { |
b2dc1044 RD |
8706 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
8707 | return 1; | |
8708 | } | |
8709 | ||
8710 | ||
093d3ff1 | 8711 | static PyObject *_wrap_SashNameStr_get(void) { |
32fe5131 | 8712 | PyObject *pyobj = NULL; |
b2dc1044 RD |
8713 | |
8714 | { | |
8715 | #if wxUSE_UNICODE | |
8716 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8717 | #else | |
8718 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8719 | #endif | |
8720 | } | |
8721 | return pyobj; | |
8722 | } | |
8723 | ||
8724 | ||
c32bde28 | 8725 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
b2dc1044 RD |
8726 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
8727 | return 1; | |
8728 | } | |
8729 | ||
8730 | ||
093d3ff1 | 8731 | static PyObject *_wrap_SashLayoutNameStr_get(void) { |
32fe5131 | 8732 | PyObject *pyobj = NULL; |
b2dc1044 RD |
8733 | |
8734 | { | |
8735 | #if wxUSE_UNICODE | |
8736 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8737 | #else | |
8738 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8739 | #endif | |
8740 | } | |
8741 | return pyobj; | |
8742 | } | |
8743 | ||
8744 | ||
c32bde28 | 8745 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8746 | PyObject *resultobj = NULL; |
d14a1e28 | 8747 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 8748 | int arg2 = (int) -1 ; |
d14a1e28 RD |
8749 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8750 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8751 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8752 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8753 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8754 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
8755 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8756 | wxSashWindow *result; | |
8757 | wxPoint temp3 ; | |
8758 | wxSize temp4 ; | |
ae8162c8 | 8759 | bool temp6 = false ; |
d14a1e28 | 8760 | PyObject * obj0 = 0 ; |
994141e6 | 8761 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8762 | PyObject * obj2 = 0 ; |
8763 | PyObject * obj3 = 0 ; | |
994141e6 | 8764 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8765 | PyObject * obj5 = 0 ; |
8766 | char *kwnames[] = { | |
8767 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8768 | }; | |
8769 | ||
248ed943 | 8770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
8771 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
8772 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 8773 | if (obj1) { |
093d3ff1 | 8774 | { |
32fe5131 | 8775 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8776 | if (SWIG_arg_fail(2)) SWIG_fail; |
8777 | } | |
248ed943 | 8778 | } |
d14a1e28 RD |
8779 | if (obj2) { |
8780 | { | |
8781 | arg3 = &temp3; | |
8782 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8783 | } | |
8784 | } | |
8785 | if (obj3) { | |
8786 | { | |
8787 | arg4 = &temp4; | |
8788 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8789 | } | |
8790 | } | |
994141e6 | 8791 | if (obj4) { |
093d3ff1 | 8792 | { |
32fe5131 | 8793 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
8794 | if (SWIG_arg_fail(5)) SWIG_fail; |
8795 | } | |
994141e6 | 8796 | } |
d14a1e28 RD |
8797 | if (obj5) { |
8798 | { | |
8799 | arg6 = wxString_in_helper(obj5); | |
8800 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 8801 | temp6 = true; |
d14a1e28 RD |
8802 | } |
8803 | } | |
8804 | { | |
e3b71cb8 | 8805 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8807 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8808 | ||
8809 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8810 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8811 | } |
15afbcd0 | 8812 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
8813 | { |
8814 | if (temp6) | |
8815 | delete arg6; | |
8816 | } | |
8817 | return resultobj; | |
8818 | fail: | |
8819 | { | |
8820 | if (temp6) | |
8821 | delete arg6; | |
8822 | } | |
8823 | return NULL; | |
8824 | } | |
8825 | ||
8826 | ||
c32bde28 | 8827 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8828 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8829 | wxSashWindow *result; |
8830 | char *kwnames[] = { | |
8831 | NULL | |
8832 | }; | |
8833 | ||
8834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
8835 | { | |
e3b71cb8 | 8836 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8838 | result = (wxSashWindow *)new wxSashWindow(); | |
8839 | ||
8840 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8841 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8842 | } |
15afbcd0 | 8843 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
8844 | return resultobj; |
8845 | fail: | |
8846 | return NULL; | |
8847 | } | |
8848 | ||
8849 | ||
c32bde28 | 8850 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8851 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8852 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
8853 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 8854 | int arg3 = (int) -1 ; |
d14a1e28 RD |
8855 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8856 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8857 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8858 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8859 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8860 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
8861 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8862 | bool result; | |
8863 | wxPoint temp4 ; | |
8864 | wxSize temp5 ; | |
ae8162c8 | 8865 | bool temp7 = false ; |
d14a1e28 RD |
8866 | PyObject * obj0 = 0 ; |
8867 | PyObject * obj1 = 0 ; | |
994141e6 | 8868 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8869 | PyObject * obj3 = 0 ; |
8870 | PyObject * obj4 = 0 ; | |
994141e6 | 8871 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8872 | PyObject * obj6 = 0 ; |
8873 | char *kwnames[] = { | |
8874 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8875 | }; | |
8876 | ||
248ed943 | 8877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
8878 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8879 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8880 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8881 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 8882 | if (obj2) { |
093d3ff1 | 8883 | { |
32fe5131 | 8884 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
8885 | if (SWIG_arg_fail(3)) SWIG_fail; |
8886 | } | |
248ed943 | 8887 | } |
d14a1e28 RD |
8888 | if (obj3) { |
8889 | { | |
8890 | arg4 = &temp4; | |
8891 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8892 | } | |
8893 | } | |
8894 | if (obj4) { | |
8895 | { | |
8896 | arg5 = &temp5; | |
8897 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8898 | } | |
8899 | } | |
994141e6 | 8900 | if (obj5) { |
093d3ff1 | 8901 | { |
32fe5131 | 8902 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
8903 | if (SWIG_arg_fail(6)) SWIG_fail; |
8904 | } | |
994141e6 | 8905 | } |
d14a1e28 RD |
8906 | if (obj6) { |
8907 | { | |
8908 | arg7 = wxString_in_helper(obj6); | |
8909 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 8910 | temp7 = true; |
d14a1e28 RD |
8911 | } |
8912 | } | |
8913 | { | |
8914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8915 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8916 | ||
8917 | wxPyEndAllowThreads(__tstate); | |
8918 | if (PyErr_Occurred()) SWIG_fail; | |
8919 | } | |
4f89f6a3 RD |
8920 | { |
8921 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8922 | } | |
d14a1e28 RD |
8923 | { |
8924 | if (temp7) | |
8925 | delete arg7; | |
8926 | } | |
8927 | return resultobj; | |
8928 | fail: | |
8929 | { | |
8930 | if (temp7) | |
8931 | delete arg7; | |
8932 | } | |
8933 | return NULL; | |
8934 | } | |
8935 | ||
8936 | ||
c32bde28 | 8937 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8938 | PyObject *resultobj = NULL; |
d14a1e28 | 8939 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
093d3ff1 | 8940 | wxSashEdgePosition arg2 ; |
d14a1e28 RD |
8941 | bool arg3 ; |
8942 | PyObject * obj0 = 0 ; | |
994141e6 | 8943 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8944 | PyObject * obj2 = 0 ; |
8945 | char *kwnames[] = { | |
8946 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
8947 | }; | |
8948 | ||
994141e6 | 8949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
8950 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8951 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8952 | { | |
32fe5131 | 8953 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8954 | if (SWIG_arg_fail(2)) SWIG_fail; |
8955 | } | |
8956 | { | |
32fe5131 | 8957 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
8958 | if (SWIG_arg_fail(3)) SWIG_fail; |
8959 | } | |
d14a1e28 RD |
8960 | { |
8961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 8962 | (arg1)->SetSashVisible(arg2,arg3); |
d14a1e28 RD |
8963 | |
8964 | wxPyEndAllowThreads(__tstate); | |
8965 | if (PyErr_Occurred()) SWIG_fail; | |
8966 | } | |
8967 | Py_INCREF(Py_None); resultobj = Py_None; | |
8968 | return resultobj; | |
8969 | fail: | |
8970 | return NULL; | |
8971 | } | |
8972 | ||
8973 | ||
c32bde28 | 8974 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8975 | PyObject *resultobj = NULL; |
d14a1e28 | 8976 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
093d3ff1 | 8977 | wxSashEdgePosition arg2 ; |
d14a1e28 RD |
8978 | bool result; |
8979 | PyObject * obj0 = 0 ; | |
994141e6 | 8980 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8981 | char *kwnames[] = { |
8982 | (char *) "self",(char *) "edge", NULL | |
8983 | }; | |
8984 | ||
994141e6 | 8985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8986 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8987 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8988 | { | |
32fe5131 | 8989 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
8990 | if (SWIG_arg_fail(2)) SWIG_fail; |
8991 | } | |
d14a1e28 RD |
8992 | { |
8993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 8994 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2); |
d14a1e28 RD |
8995 | |
8996 | wxPyEndAllowThreads(__tstate); | |
8997 | if (PyErr_Occurred()) SWIG_fail; | |
8998 | } | |
4f89f6a3 RD |
8999 | { |
9000 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9001 | } | |
d14a1e28 RD |
9002 | return resultobj; |
9003 | fail: | |
9004 | return NULL; | |
9005 | } | |
9006 | ||
9007 | ||
c32bde28 | 9008 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9009 | PyObject *resultobj = NULL; |
d14a1e28 | 9010 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
093d3ff1 | 9011 | wxSashEdgePosition arg2 ; |
d14a1e28 RD |
9012 | bool arg3 ; |
9013 | PyObject * obj0 = 0 ; | |
994141e6 | 9014 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9015 | PyObject * obj2 = 0 ; |
9016 | char *kwnames[] = { | |
9017 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
9018 | }; | |
9019 | ||
994141e6 | 9020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
9021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9023 | { | |
32fe5131 | 9024 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9025 | if (SWIG_arg_fail(2)) SWIG_fail; |
9026 | } | |
9027 | { | |
32fe5131 | 9028 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
9029 | if (SWIG_arg_fail(3)) SWIG_fail; |
9030 | } | |
d14a1e28 RD |
9031 | { |
9032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9033 | (arg1)->SetSashBorder(arg2,arg3); |
d14a1e28 RD |
9034 | |
9035 | wxPyEndAllowThreads(__tstate); | |
9036 | if (PyErr_Occurred()) SWIG_fail; | |
9037 | } | |
9038 | Py_INCREF(Py_None); resultobj = Py_None; | |
9039 | return resultobj; | |
9040 | fail: | |
9041 | return NULL; | |
9042 | } | |
9043 | ||
9044 | ||
c32bde28 | 9045 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9046 | PyObject *resultobj = NULL; |
d14a1e28 | 9047 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
093d3ff1 | 9048 | wxSashEdgePosition arg2 ; |
d14a1e28 RD |
9049 | bool result; |
9050 | PyObject * obj0 = 0 ; | |
994141e6 | 9051 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9052 | char *kwnames[] = { |
9053 | (char *) "self",(char *) "edge", NULL | |
9054 | }; | |
9055 | ||
994141e6 | 9056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9059 | { | |
32fe5131 | 9060 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9061 | if (SWIG_arg_fail(2)) SWIG_fail; |
9062 | } | |
d14a1e28 RD |
9063 | { |
9064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9065 | result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2); |
d14a1e28 RD |
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 | return resultobj; |
9074 | fail: | |
9075 | return NULL; | |
9076 | } | |
9077 | ||
9078 | ||
c32bde28 | 9079 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9080 | PyObject *resultobj = NULL; |
d14a1e28 | 9081 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
093d3ff1 | 9082 | wxSashEdgePosition arg2 ; |
d14a1e28 RD |
9083 | int result; |
9084 | PyObject * obj0 = 0 ; | |
994141e6 | 9085 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9086 | char *kwnames[] = { |
9087 | (char *) "self",(char *) "edge", NULL | |
9088 | }; | |
9089 | ||
994141e6 | 9090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9091 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9092 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9093 | { | |
32fe5131 | 9094 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9095 | if (SWIG_arg_fail(2)) SWIG_fail; |
9096 | } | |
d14a1e28 RD |
9097 | { |
9098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9099 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2); |
d14a1e28 RD |
9100 | |
9101 | wxPyEndAllowThreads(__tstate); | |
9102 | if (PyErr_Occurred()) SWIG_fail; | |
9103 | } | |
093d3ff1 | 9104 | { |
32fe5131 | 9105 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9106 | } |
d14a1e28 RD |
9107 | return resultobj; |
9108 | fail: | |
9109 | return NULL; | |
9110 | } | |
9111 | ||
9112 | ||
c32bde28 | 9113 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9114 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9115 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9116 | int arg2 ; | |
9117 | PyObject * obj0 = 0 ; | |
994141e6 | 9118 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9119 | char *kwnames[] = { |
9120 | (char *) "self",(char *) "width", NULL | |
9121 | }; | |
9122 | ||
994141e6 | 9123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9124 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9125 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9126 | { | |
32fe5131 | 9127 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9128 | if (SWIG_arg_fail(2)) SWIG_fail; |
9129 | } | |
d14a1e28 RD |
9130 | { |
9131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9132 | (arg1)->SetDefaultBorderSize(arg2); | |
9133 | ||
9134 | wxPyEndAllowThreads(__tstate); | |
9135 | if (PyErr_Occurred()) SWIG_fail; | |
9136 | } | |
9137 | Py_INCREF(Py_None); resultobj = Py_None; | |
9138 | return resultobj; | |
9139 | fail: | |
9140 | return NULL; | |
9141 | } | |
9142 | ||
9143 | ||
c32bde28 | 9144 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9145 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9146 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9147 | int result; | |
9148 | PyObject * obj0 = 0 ; | |
9149 | char *kwnames[] = { | |
9150 | (char *) "self", NULL | |
9151 | }; | |
9152 | ||
9153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9154 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9155 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9156 | { |
9157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9158 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
9159 | ||
9160 | wxPyEndAllowThreads(__tstate); | |
9161 | if (PyErr_Occurred()) SWIG_fail; | |
9162 | } | |
093d3ff1 | 9163 | { |
32fe5131 | 9164 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9165 | } |
d14a1e28 RD |
9166 | return resultobj; |
9167 | fail: | |
9168 | return NULL; | |
9169 | } | |
9170 | ||
9171 | ||
c32bde28 | 9172 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9173 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9174 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9175 | int arg2 ; | |
9176 | PyObject * obj0 = 0 ; | |
994141e6 | 9177 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9178 | char *kwnames[] = { |
9179 | (char *) "self",(char *) "width", NULL | |
9180 | }; | |
9181 | ||
994141e6 | 9182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9183 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9184 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9185 | { | |
32fe5131 | 9186 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9187 | if (SWIG_arg_fail(2)) SWIG_fail; |
9188 | } | |
d14a1e28 RD |
9189 | { |
9190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9191 | (arg1)->SetExtraBorderSize(arg2); | |
9192 | ||
9193 | wxPyEndAllowThreads(__tstate); | |
9194 | if (PyErr_Occurred()) SWIG_fail; | |
9195 | } | |
9196 | Py_INCREF(Py_None); resultobj = Py_None; | |
9197 | return resultobj; | |
9198 | fail: | |
9199 | return NULL; | |
9200 | } | |
9201 | ||
9202 | ||
c32bde28 | 9203 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9204 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9205 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9206 | int result; | |
9207 | PyObject * obj0 = 0 ; | |
9208 | char *kwnames[] = { | |
9209 | (char *) "self", NULL | |
9210 | }; | |
9211 | ||
9212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9213 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9214 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9215 | { |
9216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9217 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
9218 | ||
9219 | wxPyEndAllowThreads(__tstate); | |
9220 | if (PyErr_Occurred()) SWIG_fail; | |
9221 | } | |
093d3ff1 | 9222 | { |
32fe5131 | 9223 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9224 | } |
d14a1e28 RD |
9225 | return resultobj; |
9226 | fail: | |
9227 | return NULL; | |
9228 | } | |
9229 | ||
9230 | ||
c32bde28 | 9231 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9232 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9233 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9234 | int arg2 ; | |
9235 | PyObject * obj0 = 0 ; | |
994141e6 | 9236 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9237 | char *kwnames[] = { |
9238 | (char *) "self",(char *) "min", NULL | |
9239 | }; | |
9240 | ||
994141e6 | 9241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9242 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9243 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9244 | { | |
32fe5131 | 9245 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9246 | if (SWIG_arg_fail(2)) SWIG_fail; |
9247 | } | |
d14a1e28 RD |
9248 | { |
9249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9250 | (arg1)->SetMinimumSizeX(arg2); | |
9251 | ||
9252 | wxPyEndAllowThreads(__tstate); | |
9253 | if (PyErr_Occurred()) SWIG_fail; | |
9254 | } | |
9255 | Py_INCREF(Py_None); resultobj = Py_None; | |
9256 | return resultobj; | |
9257 | fail: | |
9258 | return NULL; | |
9259 | } | |
9260 | ||
9261 | ||
c32bde28 | 9262 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9263 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9264 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9265 | int arg2 ; | |
9266 | PyObject * obj0 = 0 ; | |
994141e6 | 9267 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9268 | char *kwnames[] = { |
9269 | (char *) "self",(char *) "min", NULL | |
9270 | }; | |
9271 | ||
994141e6 | 9272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9275 | { | |
32fe5131 | 9276 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9277 | if (SWIG_arg_fail(2)) SWIG_fail; |
9278 | } | |
d14a1e28 RD |
9279 | { |
9280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9281 | (arg1)->SetMinimumSizeY(arg2); | |
9282 | ||
9283 | wxPyEndAllowThreads(__tstate); | |
9284 | if (PyErr_Occurred()) SWIG_fail; | |
9285 | } | |
9286 | Py_INCREF(Py_None); resultobj = Py_None; | |
9287 | return resultobj; | |
9288 | fail: | |
9289 | return NULL; | |
9290 | } | |
9291 | ||
9292 | ||
c32bde28 | 9293 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9294 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9295 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9296 | int result; | |
9297 | PyObject * obj0 = 0 ; | |
9298 | char *kwnames[] = { | |
9299 | (char *) "self", NULL | |
9300 | }; | |
9301 | ||
9302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9303 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9304 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9305 | { |
9306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9307 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
9308 | ||
9309 | wxPyEndAllowThreads(__tstate); | |
9310 | if (PyErr_Occurred()) SWIG_fail; | |
9311 | } | |
093d3ff1 | 9312 | { |
32fe5131 | 9313 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9314 | } |
d14a1e28 RD |
9315 | return resultobj; |
9316 | fail: | |
9317 | return NULL; | |
9318 | } | |
9319 | ||
9320 | ||
c32bde28 | 9321 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9322 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9323 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9324 | int result; | |
9325 | PyObject * obj0 = 0 ; | |
9326 | char *kwnames[] = { | |
9327 | (char *) "self", NULL | |
9328 | }; | |
9329 | ||
9330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9331 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9332 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9333 | { |
9334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9335 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
9336 | ||
9337 | wxPyEndAllowThreads(__tstate); | |
9338 | if (PyErr_Occurred()) SWIG_fail; | |
9339 | } | |
093d3ff1 | 9340 | { |
32fe5131 | 9341 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9342 | } |
d14a1e28 RD |
9343 | return resultobj; |
9344 | fail: | |
9345 | return NULL; | |
9346 | } | |
9347 | ||
9348 | ||
c32bde28 | 9349 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9350 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9351 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9352 | int arg2 ; | |
9353 | PyObject * obj0 = 0 ; | |
994141e6 | 9354 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9355 | char *kwnames[] = { |
9356 | (char *) "self",(char *) "max", NULL | |
9357 | }; | |
9358 | ||
994141e6 | 9359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9360 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9361 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9362 | { | |
32fe5131 | 9363 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9364 | if (SWIG_arg_fail(2)) SWIG_fail; |
9365 | } | |
d14a1e28 RD |
9366 | { |
9367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9368 | (arg1)->SetMaximumSizeX(arg2); | |
9369 | ||
9370 | wxPyEndAllowThreads(__tstate); | |
9371 | if (PyErr_Occurred()) SWIG_fail; | |
9372 | } | |
9373 | Py_INCREF(Py_None); resultobj = Py_None; | |
9374 | return resultobj; | |
9375 | fail: | |
9376 | return NULL; | |
9377 | } | |
9378 | ||
9379 | ||
c32bde28 | 9380 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9381 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9382 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9383 | int arg2 ; | |
9384 | PyObject * obj0 = 0 ; | |
994141e6 | 9385 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9386 | char *kwnames[] = { |
9387 | (char *) "self",(char *) "max", NULL | |
9388 | }; | |
9389 | ||
994141e6 | 9390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9391 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9392 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9393 | { | |
32fe5131 | 9394 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9395 | if (SWIG_arg_fail(2)) SWIG_fail; |
9396 | } | |
d14a1e28 RD |
9397 | { |
9398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9399 | (arg1)->SetMaximumSizeY(arg2); | |
9400 | ||
9401 | wxPyEndAllowThreads(__tstate); | |
9402 | if (PyErr_Occurred()) SWIG_fail; | |
9403 | } | |
9404 | Py_INCREF(Py_None); resultobj = Py_None; | |
9405 | return resultobj; | |
9406 | fail: | |
9407 | return NULL; | |
9408 | } | |
9409 | ||
9410 | ||
c32bde28 | 9411 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9412 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9413 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9414 | int result; | |
9415 | PyObject * obj0 = 0 ; | |
9416 | char *kwnames[] = { | |
9417 | (char *) "self", NULL | |
9418 | }; | |
9419 | ||
9420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9421 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9423 | { |
9424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9425 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
9426 | ||
9427 | wxPyEndAllowThreads(__tstate); | |
9428 | if (PyErr_Occurred()) SWIG_fail; | |
9429 | } | |
093d3ff1 | 9430 | { |
32fe5131 | 9431 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9432 | } |
d14a1e28 RD |
9433 | return resultobj; |
9434 | fail: | |
9435 | return NULL; | |
9436 | } | |
9437 | ||
9438 | ||
c32bde28 | 9439 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9440 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9441 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9442 | int result; | |
9443 | PyObject * obj0 = 0 ; | |
9444 | char *kwnames[] = { | |
9445 | (char *) "self", NULL | |
9446 | }; | |
9447 | ||
9448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9449 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9450 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9451 | { |
9452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9453 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
9454 | ||
9455 | wxPyEndAllowThreads(__tstate); | |
9456 | if (PyErr_Occurred()) SWIG_fail; | |
9457 | } | |
093d3ff1 | 9458 | { |
32fe5131 | 9459 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9460 | } |
d14a1e28 RD |
9461 | return resultobj; |
9462 | fail: | |
9463 | return NULL; | |
9464 | } | |
9465 | ||
9466 | ||
c32bde28 | 9467 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9468 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9469 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9470 | int arg2 ; | |
9471 | int arg3 ; | |
9472 | int arg4 = (int) 2 ; | |
093d3ff1 | 9473 | wxSashEdgePosition result; |
d14a1e28 | 9474 | PyObject * obj0 = 0 ; |
994141e6 RD |
9475 | PyObject * obj1 = 0 ; |
9476 | PyObject * obj2 = 0 ; | |
9477 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
9478 | char *kwnames[] = { |
9479 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
9480 | }; | |
9481 | ||
994141e6 | 9482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
9483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9485 | { | |
32fe5131 | 9486 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9487 | if (SWIG_arg_fail(2)) SWIG_fail; |
9488 | } | |
9489 | { | |
32fe5131 | 9490 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
9491 | if (SWIG_arg_fail(3)) SWIG_fail; |
9492 | } | |
994141e6 | 9493 | if (obj3) { |
093d3ff1 | 9494 | { |
32fe5131 | 9495 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
9496 | if (SWIG_arg_fail(4)) SWIG_fail; |
9497 | } | |
994141e6 | 9498 | } |
d14a1e28 RD |
9499 | { |
9500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9501 | result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4); |
d14a1e28 RD |
9502 | |
9503 | wxPyEndAllowThreads(__tstate); | |
9504 | if (PyErr_Occurred()) SWIG_fail; | |
9505 | } | |
093d3ff1 | 9506 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
9507 | return resultobj; |
9508 | fail: | |
9509 | return NULL; | |
9510 | } | |
9511 | ||
9512 | ||
c32bde28 | 9513 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9514 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9515 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; |
9516 | PyObject * obj0 = 0 ; | |
9517 | char *kwnames[] = { | |
9518 | (char *) "self", NULL | |
9519 | }; | |
9520 | ||
9521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9524 | { |
9525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9526 | (arg1)->SizeWindows(); | |
9527 | ||
9528 | wxPyEndAllowThreads(__tstate); | |
9529 | if (PyErr_Occurred()) SWIG_fail; | |
9530 | } | |
9531 | Py_INCREF(Py_None); resultobj = Py_None; | |
9532 | return resultobj; | |
9533 | fail: | |
9534 | return NULL; | |
9535 | } | |
9536 | ||
9537 | ||
c32bde28 | 9538 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9539 | PyObject *obj; |
9540 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9541 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
9542 | Py_INCREF(obj); | |
9543 | return Py_BuildValue((char *)""); | |
9544 | } | |
c32bde28 | 9545 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9546 | PyObject *resultobj = NULL; |
d14a1e28 | 9547 | int arg1 = (int) 0 ; |
093d3ff1 | 9548 | wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ; |
d14a1e28 | 9549 | wxSashEvent *result; |
994141e6 RD |
9550 | PyObject * obj0 = 0 ; |
9551 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
9552 | char *kwnames[] = { |
9553 | (char *) "id",(char *) "edge", NULL | |
9554 | }; | |
9555 | ||
994141e6 RD |
9556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
9557 | if (obj0) { | |
093d3ff1 | 9558 | { |
32fe5131 | 9559 | arg1 = static_cast<int >(SWIG_As_int(obj0)); |
093d3ff1 RD |
9560 | if (SWIG_arg_fail(1)) SWIG_fail; |
9561 | } | |
994141e6 RD |
9562 | } |
9563 | if (obj1) { | |
093d3ff1 | 9564 | { |
32fe5131 | 9565 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9566 | if (SWIG_arg_fail(2)) SWIG_fail; |
9567 | } | |
994141e6 | 9568 | } |
d14a1e28 RD |
9569 | { |
9570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9571 | result = (wxSashEvent *)new wxSashEvent(arg1,arg2); |
d14a1e28 RD |
9572 | |
9573 | wxPyEndAllowThreads(__tstate); | |
9574 | if (PyErr_Occurred()) SWIG_fail; | |
9575 | } | |
15afbcd0 | 9576 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
9577 | return resultobj; |
9578 | fail: | |
9579 | return NULL; | |
9580 | } | |
9581 | ||
9582 | ||
c32bde28 | 9583 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9584 | PyObject *resultobj = NULL; |
d14a1e28 | 9585 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
093d3ff1 | 9586 | wxSashEdgePosition arg2 ; |
d14a1e28 | 9587 | PyObject * obj0 = 0 ; |
994141e6 | 9588 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9589 | char *kwnames[] = { |
9590 | (char *) "self",(char *) "edge", NULL | |
9591 | }; | |
9592 | ||
994141e6 | 9593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9594 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9595 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9596 | { | |
32fe5131 | 9597 | arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9598 | if (SWIG_arg_fail(2)) SWIG_fail; |
9599 | } | |
d14a1e28 RD |
9600 | { |
9601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9602 | (arg1)->SetEdge(arg2); |
d14a1e28 RD |
9603 | |
9604 | wxPyEndAllowThreads(__tstate); | |
9605 | if (PyErr_Occurred()) SWIG_fail; | |
9606 | } | |
9607 | Py_INCREF(Py_None); resultobj = Py_None; | |
9608 | return resultobj; | |
9609 | fail: | |
9610 | return NULL; | |
9611 | } | |
9612 | ||
9613 | ||
c32bde28 | 9614 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9615 | PyObject *resultobj = NULL; |
d14a1e28 | 9616 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
093d3ff1 | 9617 | wxSashEdgePosition result; |
d14a1e28 RD |
9618 | PyObject * obj0 = 0 ; |
9619 | char *kwnames[] = { | |
9620 | (char *) "self", NULL | |
9621 | }; | |
9622 | ||
9623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9624 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9625 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9626 | { |
9627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9628 | result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge(); |
d14a1e28 RD |
9629 | |
9630 | wxPyEndAllowThreads(__tstate); | |
9631 | if (PyErr_Occurred()) SWIG_fail; | |
9632 | } | |
093d3ff1 | 9633 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
9634 | return resultobj; |
9635 | fail: | |
9636 | return NULL; | |
9637 | } | |
9638 | ||
9639 | ||
c32bde28 | 9640 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9641 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9642 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
9643 | wxRect *arg2 = 0 ; | |
9644 | wxRect temp2 ; | |
9645 | PyObject * obj0 = 0 ; | |
9646 | PyObject * obj1 = 0 ; | |
9647 | char *kwnames[] = { | |
9648 | (char *) "self",(char *) "rect", NULL | |
9649 | }; | |
9650 | ||
9651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9652 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9653 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9654 | { |
9655 | arg2 = &temp2; | |
9656 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9657 | } | |
9658 | { | |
9659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9660 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
9661 | ||
9662 | wxPyEndAllowThreads(__tstate); | |
9663 | if (PyErr_Occurred()) SWIG_fail; | |
9664 | } | |
9665 | Py_INCREF(Py_None); resultobj = Py_None; | |
9666 | return resultobj; | |
9667 | fail: | |
9668 | return NULL; | |
9669 | } | |
9670 | ||
9671 | ||
c32bde28 | 9672 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9673 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9674 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
9675 | wxRect result; | |
9676 | PyObject * obj0 = 0 ; | |
9677 | char *kwnames[] = { | |
9678 | (char *) "self", NULL | |
9679 | }; | |
9680 | ||
9681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9682 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9683 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9684 | { |
9685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9686 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
9687 | ||
9688 | wxPyEndAllowThreads(__tstate); | |
9689 | if (PyErr_Occurred()) SWIG_fail; | |
9690 | } | |
9691 | { | |
9692 | wxRect * resultptr; | |
32fe5131 | 9693 | resultptr = new wxRect(static_cast<wxRect & >(result)); |
15afbcd0 | 9694 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
9695 | } |
9696 | return resultobj; | |
9697 | fail: | |
9698 | return NULL; | |
9699 | } | |
9700 | ||
9701 | ||
c32bde28 | 9702 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9703 | PyObject *resultobj = NULL; |
d14a1e28 | 9704 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
093d3ff1 | 9705 | wxSashDragStatus arg2 ; |
d14a1e28 | 9706 | PyObject * obj0 = 0 ; |
994141e6 | 9707 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9708 | char *kwnames[] = { |
9709 | (char *) "self",(char *) "status", NULL | |
9710 | }; | |
9711 | ||
994141e6 | 9712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9713 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9714 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9715 | { | |
32fe5131 | 9716 | arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9717 | if (SWIG_arg_fail(2)) SWIG_fail; |
9718 | } | |
d14a1e28 RD |
9719 | { |
9720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9721 | (arg1)->SetDragStatus(arg2); |
d14a1e28 RD |
9722 | |
9723 | wxPyEndAllowThreads(__tstate); | |
9724 | if (PyErr_Occurred()) SWIG_fail; | |
9725 | } | |
9726 | Py_INCREF(Py_None); resultobj = Py_None; | |
9727 | return resultobj; | |
9728 | fail: | |
9729 | return NULL; | |
9730 | } | |
9731 | ||
9732 | ||
c32bde28 | 9733 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9734 | PyObject *resultobj = NULL; |
d14a1e28 | 9735 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; |
093d3ff1 | 9736 | wxSashDragStatus result; |
d14a1e28 RD |
9737 | PyObject * obj0 = 0 ; |
9738 | char *kwnames[] = { | |
9739 | (char *) "self", NULL | |
9740 | }; | |
9741 | ||
9742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9743 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9744 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9745 | { |
9746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9747 | result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus(); |
d14a1e28 RD |
9748 | |
9749 | wxPyEndAllowThreads(__tstate); | |
9750 | if (PyErr_Occurred()) SWIG_fail; | |
9751 | } | |
093d3ff1 | 9752 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
9753 | return resultobj; |
9754 | fail: | |
9755 | return NULL; | |
9756 | } | |
9757 | ||
9758 | ||
c32bde28 | 9759 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9760 | PyObject *obj; |
9761 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9762 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
9763 | Py_INCREF(obj); | |
9764 | return Py_BuildValue((char *)""); | |
9765 | } | |
c32bde28 | 9766 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9767 | PyObject *resultobj = NULL; |
e811c8ce | 9768 | int arg1 = (int) 0 ; |
d14a1e28 | 9769 | wxQueryLayoutInfoEvent *result; |
994141e6 | 9770 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
9771 | char *kwnames[] = { |
9772 | (char *) "id", NULL | |
9773 | }; | |
9774 | ||
994141e6 RD |
9775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
9776 | if (obj0) { | |
093d3ff1 | 9777 | { |
32fe5131 | 9778 | arg1 = static_cast<int >(SWIG_As_int(obj0)); |
093d3ff1 RD |
9779 | if (SWIG_arg_fail(1)) SWIG_fail; |
9780 | } | |
994141e6 | 9781 | } |
d14a1e28 RD |
9782 | { |
9783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9784 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
9785 | ||
9786 | wxPyEndAllowThreads(__tstate); | |
9787 | if (PyErr_Occurred()) SWIG_fail; | |
9788 | } | |
15afbcd0 | 9789 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
9790 | return resultobj; |
9791 | fail: | |
9792 | return NULL; | |
9793 | } | |
9794 | ||
9795 | ||
c32bde28 | 9796 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9797 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9798 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
9799 | int arg2 ; | |
9800 | PyObject * obj0 = 0 ; | |
994141e6 | 9801 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9802 | char *kwnames[] = { |
9803 | (char *) "self",(char *) "length", NULL | |
9804 | }; | |
9805 | ||
994141e6 | 9806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9807 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9808 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9809 | { | |
32fe5131 | 9810 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9811 | if (SWIG_arg_fail(2)) SWIG_fail; |
9812 | } | |
d14a1e28 RD |
9813 | { |
9814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9815 | (arg1)->SetRequestedLength(arg2); | |
9816 | ||
9817 | wxPyEndAllowThreads(__tstate); | |
9818 | if (PyErr_Occurred()) SWIG_fail; | |
9819 | } | |
9820 | Py_INCREF(Py_None); resultobj = Py_None; | |
9821 | return resultobj; | |
9822 | fail: | |
9823 | return NULL; | |
9824 | } | |
9825 | ||
9826 | ||
c32bde28 | 9827 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9828 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9829 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
9830 | int result; | |
9831 | PyObject * obj0 = 0 ; | |
9832 | char *kwnames[] = { | |
9833 | (char *) "self", NULL | |
9834 | }; | |
9835 | ||
9836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9837 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9838 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9839 | { |
9840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9841 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
9842 | ||
9843 | wxPyEndAllowThreads(__tstate); | |
9844 | if (PyErr_Occurred()) SWIG_fail; | |
9845 | } | |
093d3ff1 | 9846 | { |
32fe5131 | 9847 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9848 | } |
d14a1e28 RD |
9849 | return resultobj; |
9850 | fail: | |
9851 | return NULL; | |
9852 | } | |
9853 | ||
9854 | ||
c32bde28 | 9855 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9856 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9857 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
9858 | int arg2 ; | |
9859 | PyObject * obj0 = 0 ; | |
994141e6 | 9860 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9861 | char *kwnames[] = { |
9862 | (char *) "self",(char *) "flags", NULL | |
9863 | }; | |
9864 | ||
994141e6 | 9865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
9866 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9867 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9868 | { | |
32fe5131 | 9869 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9870 | if (SWIG_arg_fail(2)) SWIG_fail; |
9871 | } | |
d14a1e28 RD |
9872 | { |
9873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9874 | (arg1)->SetFlags(arg2); | |
9875 | ||
9876 | wxPyEndAllowThreads(__tstate); | |
9877 | if (PyErr_Occurred()) SWIG_fail; | |
9878 | } | |
9879 | Py_INCREF(Py_None); resultobj = Py_None; | |
9880 | return resultobj; | |
9881 | fail: | |
9882 | return NULL; | |
9883 | } | |
9884 | ||
9885 | ||
c32bde28 | 9886 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9887 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9888 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
9889 | int result; | |
9890 | PyObject * obj0 = 0 ; | |
9891 | char *kwnames[] = { | |
9892 | (char *) "self", NULL | |
9893 | }; | |
9894 | ||
9895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9896 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9897 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9898 | { |
9899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9900 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
9901 | ||
9902 | wxPyEndAllowThreads(__tstate); | |
9903 | if (PyErr_Occurred()) SWIG_fail; | |
9904 | } | |
093d3ff1 | 9905 | { |
32fe5131 | 9906 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 9907 | } |
d14a1e28 RD |
9908 | return resultobj; |
9909 | fail: | |
9910 | return NULL; | |
9911 | } | |
9912 | ||
9913 | ||
c32bde28 | 9914 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9915 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9916 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
9917 | wxSize *arg2 = 0 ; | |
9918 | wxSize temp2 ; | |
9919 | PyObject * obj0 = 0 ; | |
9920 | PyObject * obj1 = 0 ; | |
9921 | char *kwnames[] = { | |
9922 | (char *) "self",(char *) "size", NULL | |
9923 | }; | |
9924 | ||
9925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9928 | { |
9929 | arg2 = &temp2; | |
9930 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
9931 | } | |
9932 | { | |
9933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9934 | (arg1)->SetSize((wxSize const &)*arg2); | |
9935 | ||
9936 | wxPyEndAllowThreads(__tstate); | |
9937 | if (PyErr_Occurred()) SWIG_fail; | |
9938 | } | |
9939 | Py_INCREF(Py_None); resultobj = Py_None; | |
9940 | return resultobj; | |
9941 | fail: | |
9942 | return NULL; | |
9943 | } | |
9944 | ||
9945 | ||
c32bde28 | 9946 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9947 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9948 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
9949 | wxSize result; | |
9950 | PyObject * obj0 = 0 ; | |
9951 | char *kwnames[] = { | |
9952 | (char *) "self", NULL | |
9953 | }; | |
9954 | ||
9955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9956 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9957 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9958 | { |
9959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9960 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
9961 | ||
9962 | wxPyEndAllowThreads(__tstate); | |
9963 | if (PyErr_Occurred()) SWIG_fail; | |
9964 | } | |
9965 | { | |
9966 | wxSize * resultptr; | |
32fe5131 | 9967 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 9968 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
9969 | } |
9970 | return resultobj; | |
9971 | fail: | |
9972 | return NULL; | |
9973 | } | |
9974 | ||
9975 | ||
c32bde28 | 9976 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9977 | PyObject *resultobj = NULL; |
d14a1e28 | 9978 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
093d3ff1 | 9979 | wxLayoutOrientation arg2 ; |
d14a1e28 | 9980 | PyObject * obj0 = 0 ; |
994141e6 | 9981 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9982 | char *kwnames[] = { |
9983 | (char *) "self",(char *) "orient", NULL | |
9984 | }; | |
9985 | ||
994141e6 | 9986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) 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; | |
9989 | { | |
32fe5131 | 9990 | arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1)); |
093d3ff1 RD |
9991 | if (SWIG_arg_fail(2)) SWIG_fail; |
9992 | } | |
d14a1e28 RD |
9993 | { |
9994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 9995 | (arg1)->SetOrientation(arg2); |
d14a1e28 RD |
9996 | |
9997 | wxPyEndAllowThreads(__tstate); | |
9998 | if (PyErr_Occurred()) SWIG_fail; | |
9999 | } | |
10000 | Py_INCREF(Py_None); resultobj = Py_None; | |
10001 | return resultobj; | |
10002 | fail: | |
10003 | return NULL; | |
10004 | } | |
10005 | ||
10006 | ||
c32bde28 | 10007 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10008 | PyObject *resultobj = NULL; |
d14a1e28 | 10009 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
093d3ff1 | 10010 | wxLayoutOrientation result; |
d14a1e28 RD |
10011 | PyObject * obj0 = 0 ; |
10012 | char *kwnames[] = { | |
10013 | (char *) "self", NULL | |
10014 | }; | |
10015 | ||
10016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10017 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10018 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10019 | { |
10020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 10021 | result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); |
d14a1e28 RD |
10022 | |
10023 | wxPyEndAllowThreads(__tstate); | |
10024 | if (PyErr_Occurred()) SWIG_fail; | |
10025 | } | |
093d3ff1 | 10026 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
10027 | return resultobj; |
10028 | fail: | |
10029 | return NULL; | |
10030 | } | |
10031 | ||
10032 | ||
c32bde28 | 10033 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10034 | PyObject *resultobj = NULL; |
d14a1e28 | 10035 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
093d3ff1 | 10036 | wxLayoutAlignment arg2 ; |
d14a1e28 | 10037 | PyObject * obj0 = 0 ; |
994141e6 | 10038 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10039 | char *kwnames[] = { |
10040 | (char *) "self",(char *) "align", NULL | |
10041 | }; | |
10042 | ||
994141e6 | 10043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10044 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10045 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10046 | { | |
32fe5131 | 10047 | arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10048 | if (SWIG_arg_fail(2)) SWIG_fail; |
10049 | } | |
d14a1e28 RD |
10050 | { |
10051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 10052 | (arg1)->SetAlignment(arg2); |
d14a1e28 RD |
10053 | |
10054 | wxPyEndAllowThreads(__tstate); | |
10055 | if (PyErr_Occurred()) SWIG_fail; | |
10056 | } | |
10057 | Py_INCREF(Py_None); resultobj = Py_None; | |
10058 | return resultobj; | |
10059 | fail: | |
10060 | return NULL; | |
10061 | } | |
10062 | ||
10063 | ||
c32bde28 | 10064 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10065 | PyObject *resultobj = NULL; |
d14a1e28 | 10066 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; |
093d3ff1 | 10067 | wxLayoutAlignment result; |
d14a1e28 RD |
10068 | PyObject * obj0 = 0 ; |
10069 | char *kwnames[] = { | |
10070 | (char *) "self", NULL | |
10071 | }; | |
10072 | ||
10073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10074 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
10075 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10076 | { |
10077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 10078 | result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); |
d14a1e28 RD |
10079 | |
10080 | wxPyEndAllowThreads(__tstate); | |
10081 | if (PyErr_Occurred()) SWIG_fail; | |
10082 | } | |
093d3ff1 | 10083 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
10084 | return resultobj; |
10085 | fail: | |
10086 | return NULL; | |
10087 | } | |
10088 | ||
10089 | ||
c32bde28 | 10090 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10091 | PyObject *obj; |
10092 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10093 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
10094 | Py_INCREF(obj); | |
10095 | return Py_BuildValue((char *)""); | |
10096 | } | |
c32bde28 | 10097 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10098 | PyObject *resultobj = NULL; |
e811c8ce | 10099 | int arg1 = (int) 0 ; |
d14a1e28 | 10100 | wxCalculateLayoutEvent *result; |
994141e6 | 10101 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10102 | char *kwnames[] = { |
10103 | (char *) "id", NULL | |
10104 | }; | |
10105 | ||
994141e6 RD |
10106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
10107 | if (obj0) { | |
093d3ff1 | 10108 | { |
32fe5131 | 10109 | arg1 = static_cast<int >(SWIG_As_int(obj0)); |
093d3ff1 RD |
10110 | if (SWIG_arg_fail(1)) SWIG_fail; |
10111 | } | |
994141e6 | 10112 | } |
d14a1e28 RD |
10113 | { |
10114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10115 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
10116 | ||
10117 | wxPyEndAllowThreads(__tstate); | |
10118 | if (PyErr_Occurred()) SWIG_fail; | |
10119 | } | |
15afbcd0 | 10120 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
10121 | return resultobj; |
10122 | fail: | |
10123 | return NULL; | |
10124 | } | |
10125 | ||
10126 | ||
c32bde28 | 10127 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10128 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10129 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; |
10130 | int arg2 ; | |
10131 | PyObject * obj0 = 0 ; | |
994141e6 | 10132 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10133 | char *kwnames[] = { |
10134 | (char *) "self",(char *) "flags", NULL | |
10135 | }; | |
10136 | ||
994141e6 | 10137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10138 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10139 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10140 | { | |
32fe5131 | 10141 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10142 | if (SWIG_arg_fail(2)) SWIG_fail; |
10143 | } | |
d14a1e28 RD |
10144 | { |
10145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10146 | (arg1)->SetFlags(arg2); | |
10147 | ||
10148 | wxPyEndAllowThreads(__tstate); | |
10149 | if (PyErr_Occurred()) SWIG_fail; | |
10150 | } | |
10151 | Py_INCREF(Py_None); resultobj = Py_None; | |
10152 | return resultobj; | |
10153 | fail: | |
10154 | return NULL; | |
10155 | } | |
10156 | ||
10157 | ||
c32bde28 | 10158 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10159 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10160 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; |
10161 | int result; | |
10162 | PyObject * obj0 = 0 ; | |
10163 | char *kwnames[] = { | |
10164 | (char *) "self", NULL | |
10165 | }; | |
10166 | ||
10167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10168 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10169 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10170 | { |
10171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10172 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
10173 | ||
10174 | wxPyEndAllowThreads(__tstate); | |
10175 | if (PyErr_Occurred()) SWIG_fail; | |
10176 | } | |
093d3ff1 | 10177 | { |
32fe5131 | 10178 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 10179 | } |
d14a1e28 RD |
10180 | return resultobj; |
10181 | fail: | |
10182 | return NULL; | |
10183 | } | |
10184 | ||
10185 | ||
c32bde28 | 10186 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10187 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10188 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; |
10189 | wxRect *arg2 = 0 ; | |
10190 | wxRect temp2 ; | |
10191 | PyObject * obj0 = 0 ; | |
10192 | PyObject * obj1 = 0 ; | |
10193 | char *kwnames[] = { | |
10194 | (char *) "self",(char *) "rect", NULL | |
10195 | }; | |
10196 | ||
10197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10198 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10199 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10200 | { |
10201 | arg2 = &temp2; | |
10202 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
10203 | } | |
10204 | { | |
10205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10206 | (arg1)->SetRect((wxRect const &)*arg2); | |
10207 | ||
10208 | wxPyEndAllowThreads(__tstate); | |
10209 | if (PyErr_Occurred()) SWIG_fail; | |
10210 | } | |
10211 | Py_INCREF(Py_None); resultobj = Py_None; | |
10212 | return resultobj; | |
10213 | fail: | |
10214 | return NULL; | |
10215 | } | |
10216 | ||
10217 | ||
c32bde28 | 10218 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10219 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10220 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; |
10221 | wxRect result; | |
10222 | PyObject * obj0 = 0 ; | |
10223 | char *kwnames[] = { | |
10224 | (char *) "self", NULL | |
10225 | }; | |
10226 | ||
10227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10228 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10229 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10230 | { |
10231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10232 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
10233 | ||
10234 | wxPyEndAllowThreads(__tstate); | |
10235 | if (PyErr_Occurred()) SWIG_fail; | |
10236 | } | |
10237 | { | |
10238 | wxRect * resultptr; | |
32fe5131 | 10239 | resultptr = new wxRect(static_cast<wxRect & >(result)); |
15afbcd0 | 10240 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
10241 | } |
10242 | return resultobj; | |
10243 | fail: | |
10244 | return NULL; | |
10245 | } | |
10246 | ||
10247 | ||
c32bde28 | 10248 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10249 | PyObject *obj; |
10250 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10251 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
10252 | Py_INCREF(obj); | |
10253 | return Py_BuildValue((char *)""); | |
10254 | } | |
c32bde28 | 10255 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10256 | PyObject *resultobj = NULL; |
d14a1e28 | 10257 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 10258 | int arg2 = (int) -1 ; |
d14a1e28 RD |
10259 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10260 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10261 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10262 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10263 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10264 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
10265 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10266 | wxSashLayoutWindow *result; | |
10267 | wxPoint temp3 ; | |
10268 | wxSize temp4 ; | |
ae8162c8 | 10269 | bool temp6 = false ; |
d14a1e28 | 10270 | PyObject * obj0 = 0 ; |
994141e6 | 10271 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10272 | PyObject * obj2 = 0 ; |
10273 | PyObject * obj3 = 0 ; | |
994141e6 | 10274 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10275 | PyObject * obj5 = 0 ; |
10276 | char *kwnames[] = { | |
10277 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10278 | }; | |
10279 | ||
248ed943 | 10280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
10281 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10282 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 10283 | if (obj1) { |
093d3ff1 | 10284 | { |
32fe5131 | 10285 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10286 | if (SWIG_arg_fail(2)) SWIG_fail; |
10287 | } | |
248ed943 | 10288 | } |
d14a1e28 RD |
10289 | if (obj2) { |
10290 | { | |
10291 | arg3 = &temp3; | |
10292 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10293 | } | |
10294 | } | |
10295 | if (obj3) { | |
10296 | { | |
10297 | arg4 = &temp4; | |
10298 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10299 | } | |
10300 | } | |
994141e6 | 10301 | if (obj4) { |
093d3ff1 | 10302 | { |
32fe5131 | 10303 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
10304 | if (SWIG_arg_fail(5)) SWIG_fail; |
10305 | } | |
994141e6 | 10306 | } |
d14a1e28 RD |
10307 | if (obj5) { |
10308 | { | |
10309 | arg6 = wxString_in_helper(obj5); | |
10310 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 10311 | temp6 = true; |
d14a1e28 RD |
10312 | } |
10313 | } | |
10314 | { | |
e3b71cb8 | 10315 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10317 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10318 | ||
10319 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10320 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10321 | } |
15afbcd0 | 10322 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
10323 | { |
10324 | if (temp6) | |
10325 | delete arg6; | |
10326 | } | |
10327 | return resultobj; | |
10328 | fail: | |
10329 | { | |
10330 | if (temp6) | |
10331 | delete arg6; | |
10332 | } | |
10333 | return NULL; | |
10334 | } | |
10335 | ||
10336 | ||
c32bde28 | 10337 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10338 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10339 | wxSashLayoutWindow *result; |
10340 | char *kwnames[] = { | |
10341 | NULL | |
10342 | }; | |
10343 | ||
10344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
10345 | { | |
e3b71cb8 | 10346 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10348 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
10349 | ||
10350 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10351 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10352 | } |
15afbcd0 | 10353 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
10354 | return resultobj; |
10355 | fail: | |
10356 | return NULL; | |
10357 | } | |
10358 | ||
10359 | ||
c32bde28 | 10360 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10361 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10362 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
10363 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 10364 | int arg3 = (int) -1 ; |
d14a1e28 RD |
10365 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10366 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10367 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10368 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10369 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10370 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
10371 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10372 | bool result; | |
10373 | wxPoint temp4 ; | |
10374 | wxSize temp5 ; | |
ae8162c8 | 10375 | bool temp7 = false ; |
d14a1e28 RD |
10376 | PyObject * obj0 = 0 ; |
10377 | PyObject * obj1 = 0 ; | |
994141e6 | 10378 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10379 | PyObject * obj3 = 0 ; |
10380 | PyObject * obj4 = 0 ; | |
994141e6 | 10381 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10382 | PyObject * obj6 = 0 ; |
10383 | char *kwnames[] = { | |
10384 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10385 | }; | |
10386 | ||
248ed943 | 10387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
10388 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10389 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10390 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10391 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 10392 | if (obj2) { |
093d3ff1 | 10393 | { |
32fe5131 | 10394 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
10395 | if (SWIG_arg_fail(3)) SWIG_fail; |
10396 | } | |
248ed943 | 10397 | } |
d14a1e28 RD |
10398 | if (obj3) { |
10399 | { | |
10400 | arg4 = &temp4; | |
10401 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10402 | } | |
10403 | } | |
10404 | if (obj4) { | |
10405 | { | |
10406 | arg5 = &temp5; | |
10407 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10408 | } | |
10409 | } | |
994141e6 | 10410 | if (obj5) { |
093d3ff1 | 10411 | { |
32fe5131 | 10412 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
10413 | if (SWIG_arg_fail(6)) SWIG_fail; |
10414 | } | |
994141e6 | 10415 | } |
d14a1e28 RD |
10416 | if (obj6) { |
10417 | { | |
10418 | arg7 = wxString_in_helper(obj6); | |
10419 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 10420 | temp7 = true; |
d14a1e28 RD |
10421 | } |
10422 | } | |
10423 | { | |
10424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10425 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10426 | ||
10427 | wxPyEndAllowThreads(__tstate); | |
10428 | if (PyErr_Occurred()) SWIG_fail; | |
10429 | } | |
4f89f6a3 RD |
10430 | { |
10431 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10432 | } | |
d14a1e28 RD |
10433 | { |
10434 | if (temp7) | |
10435 | delete arg7; | |
10436 | } | |
10437 | return resultobj; | |
10438 | fail: | |
10439 | { | |
10440 | if (temp7) | |
10441 | delete arg7; | |
10442 | } | |
10443 | return NULL; | |
10444 | } | |
10445 | ||
10446 | ||
c32bde28 | 10447 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10448 | PyObject *resultobj = NULL; |
d14a1e28 | 10449 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
093d3ff1 | 10450 | wxLayoutAlignment result; |
d14a1e28 RD |
10451 | PyObject * obj0 = 0 ; |
10452 | char *kwnames[] = { | |
10453 | (char *) "self", NULL | |
10454 | }; | |
10455 | ||
10456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10457 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10458 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10459 | { |
10460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 10461 | result = (wxLayoutAlignment)(arg1)->GetAlignment(); |
d14a1e28 RD |
10462 | |
10463 | wxPyEndAllowThreads(__tstate); | |
10464 | if (PyErr_Occurred()) SWIG_fail; | |
10465 | } | |
093d3ff1 | 10466 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
10467 | return resultobj; |
10468 | fail: | |
10469 | return NULL; | |
10470 | } | |
10471 | ||
10472 | ||
c32bde28 | 10473 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10474 | PyObject *resultobj = NULL; |
d14a1e28 | 10475 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
093d3ff1 | 10476 | wxLayoutOrientation result; |
d14a1e28 RD |
10477 | PyObject * obj0 = 0 ; |
10478 | char *kwnames[] = { | |
10479 | (char *) "self", NULL | |
10480 | }; | |
10481 | ||
10482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10485 | { |
10486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 10487 | result = (wxLayoutOrientation)(arg1)->GetOrientation(); |
d14a1e28 RD |
10488 | |
10489 | wxPyEndAllowThreads(__tstate); | |
10490 | if (PyErr_Occurred()) SWIG_fail; | |
10491 | } | |
093d3ff1 | 10492 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
10493 | return resultobj; |
10494 | fail: | |
10495 | return NULL; | |
10496 | } | |
10497 | ||
10498 | ||
c32bde28 | 10499 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10500 | PyObject *resultobj = NULL; |
d14a1e28 | 10501 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
093d3ff1 | 10502 | wxLayoutAlignment arg2 ; |
d14a1e28 | 10503 | PyObject * obj0 = 0 ; |
994141e6 | 10504 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10505 | char *kwnames[] = { |
10506 | (char *) "self",(char *) "alignment", NULL | |
10507 | }; | |
10508 | ||
994141e6 | 10509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10510 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10511 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10512 | { | |
32fe5131 | 10513 | arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10514 | if (SWIG_arg_fail(2)) SWIG_fail; |
10515 | } | |
d14a1e28 RD |
10516 | { |
10517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 10518 | (arg1)->SetAlignment(arg2); |
d14a1e28 RD |
10519 | |
10520 | wxPyEndAllowThreads(__tstate); | |
10521 | if (PyErr_Occurred()) SWIG_fail; | |
10522 | } | |
10523 | Py_INCREF(Py_None); resultobj = Py_None; | |
10524 | return resultobj; | |
10525 | fail: | |
10526 | return NULL; | |
10527 | } | |
10528 | ||
10529 | ||
c32bde28 | 10530 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10531 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10532 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
10533 | wxSize *arg2 = 0 ; | |
10534 | wxSize temp2 ; | |
10535 | PyObject * obj0 = 0 ; | |
10536 | PyObject * obj1 = 0 ; | |
10537 | char *kwnames[] = { | |
10538 | (char *) "self",(char *) "size", NULL | |
10539 | }; | |
10540 | ||
10541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10542 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10543 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10544 | { |
10545 | arg2 = &temp2; | |
10546 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
10547 | } | |
10548 | { | |
10549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10550 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
10551 | ||
10552 | wxPyEndAllowThreads(__tstate); | |
10553 | if (PyErr_Occurred()) SWIG_fail; | |
10554 | } | |
10555 | Py_INCREF(Py_None); resultobj = Py_None; | |
10556 | return resultobj; | |
10557 | fail: | |
10558 | return NULL; | |
10559 | } | |
10560 | ||
10561 | ||
c32bde28 | 10562 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10563 | PyObject *resultobj = NULL; |
d14a1e28 | 10564 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; |
093d3ff1 | 10565 | wxLayoutOrientation arg2 ; |
d14a1e28 | 10566 | PyObject * obj0 = 0 ; |
994141e6 | 10567 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10568 | char *kwnames[] = { |
10569 | (char *) "self",(char *) "orientation", NULL | |
10570 | }; | |
10571 | ||
994141e6 | 10572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10575 | { | |
32fe5131 | 10576 | arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10577 | if (SWIG_arg_fail(2)) SWIG_fail; |
10578 | } | |
d14a1e28 RD |
10579 | { |
10580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 10581 | (arg1)->SetOrientation(arg2); |
d14a1e28 RD |
10582 | |
10583 | wxPyEndAllowThreads(__tstate); | |
10584 | if (PyErr_Occurred()) SWIG_fail; | |
10585 | } | |
10586 | Py_INCREF(Py_None); resultobj = Py_None; | |
10587 | return resultobj; | |
10588 | fail: | |
10589 | return NULL; | |
10590 | } | |
10591 | ||
10592 | ||
c32bde28 | 10593 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10594 | PyObject *obj; |
10595 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10596 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
10597 | Py_INCREF(obj); | |
10598 | return Py_BuildValue((char *)""); | |
10599 | } | |
c32bde28 | 10600 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10601 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10602 | wxLayoutAlgorithm *result; |
10603 | char *kwnames[] = { | |
10604 | NULL | |
10605 | }; | |
10606 | ||
10607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
10608 | { | |
10609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10610 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
10611 | ||
10612 | wxPyEndAllowThreads(__tstate); | |
10613 | if (PyErr_Occurred()) SWIG_fail; | |
10614 | } | |
15afbcd0 | 10615 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
10616 | return resultobj; |
10617 | fail: | |
10618 | return NULL; | |
10619 | } | |
10620 | ||
10621 | ||
c32bde28 | 10622 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10623 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10624 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; |
10625 | PyObject * obj0 = 0 ; | |
10626 | char *kwnames[] = { | |
10627 | (char *) "self", NULL | |
10628 | }; | |
10629 | ||
10630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10631 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10632 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10633 | { |
10634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10635 | delete arg1; | |
10636 | ||
10637 | wxPyEndAllowThreads(__tstate); | |
10638 | if (PyErr_Occurred()) SWIG_fail; | |
10639 | } | |
10640 | Py_INCREF(Py_None); resultobj = Py_None; | |
10641 | return resultobj; | |
10642 | fail: | |
10643 | return NULL; | |
10644 | } | |
10645 | ||
10646 | ||
c32bde28 | 10647 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10648 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10649 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; |
10650 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
10651 | wxRect *arg3 = (wxRect *) NULL ; | |
10652 | bool result; | |
10653 | PyObject * obj0 = 0 ; | |
10654 | PyObject * obj1 = 0 ; | |
10655 | PyObject * obj2 = 0 ; | |
10656 | char *kwnames[] = { | |
10657 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
10658 | }; | |
10659 | ||
10660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10661 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10662 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10663 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
10664 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 10665 | if (obj2) { |
093d3ff1 RD |
10666 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
10667 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
10668 | } |
10669 | { | |
10670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10671 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
10672 | ||
10673 | wxPyEndAllowThreads(__tstate); | |
10674 | if (PyErr_Occurred()) SWIG_fail; | |
10675 | } | |
4f89f6a3 RD |
10676 | { |
10677 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10678 | } | |
d14a1e28 RD |
10679 | return resultobj; |
10680 | fail: | |
10681 | return NULL; | |
10682 | } | |
10683 | ||
10684 | ||
c32bde28 | 10685 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10686 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10687 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; |
10688 | wxFrame *arg2 = (wxFrame *) 0 ; | |
10689 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10690 | bool result; | |
10691 | PyObject * obj0 = 0 ; | |
10692 | PyObject * obj1 = 0 ; | |
10693 | PyObject * obj2 = 0 ; | |
10694 | char *kwnames[] = { | |
10695 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
10696 | }; | |
10697 | ||
10698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10699 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10700 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10701 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
10702 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 10703 | if (obj2) { |
093d3ff1 RD |
10704 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10705 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
10706 | } |
10707 | { | |
10708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10709 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
10710 | ||
10711 | wxPyEndAllowThreads(__tstate); | |
10712 | if (PyErr_Occurred()) SWIG_fail; | |
10713 | } | |
4f89f6a3 RD |
10714 | { |
10715 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10716 | } | |
d14a1e28 RD |
10717 | return resultobj; |
10718 | fail: | |
10719 | return NULL; | |
10720 | } | |
10721 | ||
10722 | ||
c32bde28 | 10723 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10724 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10725 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; |
10726 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10727 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10728 | bool result; | |
10729 | PyObject * obj0 = 0 ; | |
10730 | PyObject * obj1 = 0 ; | |
10731 | PyObject * obj2 = 0 ; | |
10732 | char *kwnames[] = { | |
10733 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
10734 | }; | |
10735 | ||
10736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10737 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10738 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10739 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10740 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 | 10741 | if (obj2) { |
093d3ff1 RD |
10742 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10743 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
10744 | } |
10745 | { | |
10746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10747 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
10748 | ||
10749 | wxPyEndAllowThreads(__tstate); | |
10750 | if (PyErr_Occurred()) SWIG_fail; | |
10751 | } | |
4f89f6a3 RD |
10752 | { |
10753 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10754 | } | |
d14a1e28 RD |
10755 | return resultobj; |
10756 | fail: | |
10757 | return NULL; | |
10758 | } | |
10759 | ||
10760 | ||
c32bde28 | 10761 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10762 | PyObject *obj; |
10763 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10764 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
10765 | Py_INCREF(obj); | |
10766 | return Py_BuildValue((char *)""); | |
10767 | } | |
c32bde28 | 10768 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10769 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10770 | wxWindow *arg1 = (wxWindow *) 0 ; |
10771 | int arg2 = (int) wxBORDER_NONE ; | |
10772 | wxPopupWindow *result; | |
10773 | PyObject * obj0 = 0 ; | |
994141e6 | 10774 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10775 | char *kwnames[] = { |
10776 | (char *) "parent",(char *) "flags", NULL | |
10777 | }; | |
10778 | ||
994141e6 | 10779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10780 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10781 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 10782 | if (obj1) { |
093d3ff1 | 10783 | { |
32fe5131 | 10784 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10785 | if (SWIG_arg_fail(2)) SWIG_fail; |
10786 | } | |
994141e6 | 10787 | } |
d14a1e28 | 10788 | { |
e3b71cb8 | 10789 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10791 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
10792 | ||
10793 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10794 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10795 | } |
15afbcd0 | 10796 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
10797 | return resultobj; |
10798 | fail: | |
10799 | return NULL; | |
10800 | } | |
10801 | ||
10802 | ||
c32bde28 | 10803 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10804 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10805 | wxPopupWindow *result; |
10806 | char *kwnames[] = { | |
10807 | NULL | |
10808 | }; | |
10809 | ||
10810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
10811 | { | |
e3b71cb8 | 10812 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10814 | result = (wxPopupWindow *)new wxPopupWindow(); | |
10815 | ||
10816 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10817 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10818 | } |
15afbcd0 | 10819 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
10820 | return resultobj; |
10821 | fail: | |
10822 | return NULL; | |
10823 | } | |
10824 | ||
10825 | ||
c32bde28 | 10826 | static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10827 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10828 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; |
10829 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10830 | int arg3 = (int) wxBORDER_NONE ; | |
10831 | bool result; | |
10832 | PyObject * obj0 = 0 ; | |
10833 | PyObject * obj1 = 0 ; | |
994141e6 | 10834 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10835 | char *kwnames[] = { |
10836 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
10837 | }; | |
10838 | ||
994141e6 | 10839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
10840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0); |
10841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10842 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10843 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 10844 | if (obj2) { |
093d3ff1 | 10845 | { |
32fe5131 | 10846 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
10847 | if (SWIG_arg_fail(3)) SWIG_fail; |
10848 | } | |
994141e6 | 10849 | } |
d14a1e28 RD |
10850 | { |
10851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10852 | result = (bool)(arg1)->Create(arg2,arg3); | |
10853 | ||
10854 | wxPyEndAllowThreads(__tstate); | |
10855 | if (PyErr_Occurred()) SWIG_fail; | |
10856 | } | |
4f89f6a3 RD |
10857 | { |
10858 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10859 | } | |
d14a1e28 RD |
10860 | return resultobj; |
10861 | fail: | |
10862 | return NULL; | |
10863 | } | |
10864 | ||
10865 | ||
c32bde28 | 10866 | static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10867 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10868 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; |
10869 | wxPoint *arg2 = 0 ; | |
10870 | wxSize *arg3 = 0 ; | |
10871 | wxPoint temp2 ; | |
10872 | wxSize temp3 ; | |
10873 | PyObject * obj0 = 0 ; | |
10874 | PyObject * obj1 = 0 ; | |
10875 | PyObject * obj2 = 0 ; | |
10876 | char *kwnames[] = { | |
10877 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
10878 | }; | |
10879 | ||
10880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10881 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0); |
10882 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10883 | { |
10884 | arg2 = &temp2; | |
10885 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10886 | } | |
10887 | { | |
10888 | arg3 = &temp3; | |
10889 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
10890 | } | |
10891 | { | |
10892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10893 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
10894 | ||
10895 | wxPyEndAllowThreads(__tstate); | |
10896 | if (PyErr_Occurred()) SWIG_fail; | |
10897 | } | |
10898 | Py_INCREF(Py_None); resultobj = Py_None; | |
10899 | return resultobj; | |
10900 | fail: | |
10901 | return NULL; | |
10902 | } | |
10903 | ||
10904 | ||
c32bde28 | 10905 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10906 | PyObject *obj; |
10907 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10908 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
10909 | Py_INCREF(obj); | |
10910 | return Py_BuildValue((char *)""); | |
10911 | } | |
c32bde28 | 10912 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10913 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10914 | wxWindow *arg1 = (wxWindow *) 0 ; |
10915 | int arg2 = (int) wxBORDER_NONE ; | |
10916 | wxPyPopupTransientWindow *result; | |
10917 | PyObject * obj0 = 0 ; | |
994141e6 | 10918 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10919 | char *kwnames[] = { |
10920 | (char *) "parent",(char *) "style", NULL | |
10921 | }; | |
10922 | ||
994141e6 | 10923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
10924 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10925 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 10926 | if (obj1) { |
093d3ff1 | 10927 | { |
32fe5131 | 10928 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
10929 | if (SWIG_arg_fail(2)) SWIG_fail; |
10930 | } | |
994141e6 | 10931 | } |
d14a1e28 | 10932 | { |
e3b71cb8 | 10933 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10935 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
10936 | ||
10937 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10938 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10939 | } |
15afbcd0 | 10940 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
10941 | return resultobj; |
10942 | fail: | |
10943 | return NULL; | |
10944 | } | |
10945 | ||
10946 | ||
c32bde28 | 10947 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10948 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10949 | wxPyPopupTransientWindow *result; |
10950 | char *kwnames[] = { | |
10951 | NULL | |
10952 | }; | |
10953 | ||
10954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
10955 | { | |
e3b71cb8 | 10956 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10958 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
10959 | ||
10960 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10961 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10962 | } |
15afbcd0 | 10963 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
10964 | return resultobj; |
10965 | fail: | |
10966 | return NULL; | |
10967 | } | |
10968 | ||
10969 | ||
c32bde28 | 10970 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10971 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10972 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; |
10973 | PyObject *arg2 = (PyObject *) 0 ; | |
10974 | PyObject *arg3 = (PyObject *) 0 ; | |
10975 | PyObject * obj0 = 0 ; | |
10976 | PyObject * obj1 = 0 ; | |
10977 | PyObject * obj2 = 0 ; | |
10978 | char *kwnames[] = { | |
10979 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10980 | }; | |
10981 | ||
10982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10983 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0); |
10984 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10985 | arg2 = obj1; |
10986 | arg3 = obj2; | |
10987 | { | |
10988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10989 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10990 | ||
10991 | wxPyEndAllowThreads(__tstate); | |
10992 | if (PyErr_Occurred()) SWIG_fail; | |
10993 | } | |
10994 | Py_INCREF(Py_None); resultobj = Py_None; | |
10995 | return resultobj; | |
10996 | fail: | |
10997 | return NULL; | |
10998 | } | |
10999 | ||
11000 | ||
c32bde28 | 11001 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11002 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11003 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; |
11004 | wxWindow *arg2 = (wxWindow *) NULL ; | |
11005 | PyObject * obj0 = 0 ; | |
11006 | PyObject * obj1 = 0 ; | |
11007 | char *kwnames[] = { | |
11008 | (char *) "self",(char *) "focus", NULL | |
11009 | }; | |
11010 | ||
11011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11012 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0); |
11013 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 11014 | if (obj1) { |
093d3ff1 RD |
11015 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11016 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
11017 | } |
11018 | { | |
11019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11020 | (arg1)->Popup(arg2); | |
11021 | ||
11022 | wxPyEndAllowThreads(__tstate); | |
11023 | if (PyErr_Occurred()) SWIG_fail; | |
11024 | } | |
11025 | Py_INCREF(Py_None); resultobj = Py_None; | |
11026 | return resultobj; | |
11027 | fail: | |
11028 | return NULL; | |
11029 | } | |
11030 | ||
11031 | ||
c32bde28 | 11032 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11033 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11034 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; |
11035 | PyObject * obj0 = 0 ; | |
11036 | char *kwnames[] = { | |
11037 | (char *) "self", NULL | |
11038 | }; | |
11039 | ||
11040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11041 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0); |
11042 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11043 | { |
11044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11045 | (arg1)->Dismiss(); | |
11046 | ||
11047 | wxPyEndAllowThreads(__tstate); | |
11048 | if (PyErr_Occurred()) SWIG_fail; | |
11049 | } | |
11050 | Py_INCREF(Py_None); resultobj = Py_None; | |
11051 | return resultobj; | |
11052 | fail: | |
11053 | return NULL; | |
11054 | } | |
11055 | ||
11056 | ||
c32bde28 | 11057 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11058 | PyObject *obj; |
11059 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11060 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
11061 | Py_INCREF(obj); | |
11062 | return Py_BuildValue((char *)""); | |
11063 | } | |
c32bde28 | 11064 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11065 | PyObject *resultobj = NULL; |
d14a1e28 | 11066 | wxWindow *arg1 = (wxWindow *) 0 ; |
fd3f2efe | 11067 | wxString *arg2 = 0 ; |
e811c8ce | 11068 | int arg3 = (int) 100 ; |
d14a1e28 RD |
11069 | wxRect *arg4 = (wxRect *) NULL ; |
11070 | wxTipWindow *result; | |
ae8162c8 | 11071 | bool temp2 = false ; |
d14a1e28 RD |
11072 | PyObject * obj0 = 0 ; |
11073 | PyObject * obj1 = 0 ; | |
994141e6 | 11074 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
11075 | PyObject * obj3 = 0 ; |
11076 | char *kwnames[] = { | |
11077 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
11078 | }; | |
11079 | ||
994141e6 | 11080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
11081 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11082 | if (SWIG_arg_fail(1)) SWIG_fail; | |
fd3f2efe RD |
11083 | { |
11084 | arg2 = wxString_in_helper(obj1); | |
11085 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 11086 | temp2 = true; |
fd3f2efe | 11087 | } |
994141e6 | 11088 | if (obj2) { |
093d3ff1 | 11089 | { |
32fe5131 | 11090 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
11091 | if (SWIG_arg_fail(3)) SWIG_fail; |
11092 | } | |
994141e6 | 11093 | } |
d14a1e28 | 11094 | if (obj3) { |
093d3ff1 RD |
11095 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
11096 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d14a1e28 RD |
11097 | } |
11098 | { | |
e3b71cb8 | 11099 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 11100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
fd3f2efe | 11101 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
11102 | |
11103 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11104 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11105 | } |
15afbcd0 | 11106 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
fd3f2efe RD |
11107 | { |
11108 | if (temp2) | |
11109 | delete arg2; | |
11110 | } | |
d14a1e28 RD |
11111 | return resultobj; |
11112 | fail: | |
fd3f2efe RD |
11113 | { |
11114 | if (temp2) | |
11115 | delete arg2; | |
11116 | } | |
d14a1e28 RD |
11117 | return NULL; |
11118 | } | |
11119 | ||
11120 | ||
c32bde28 | 11121 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11122 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11123 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; |
11124 | wxRect *arg2 = 0 ; | |
11125 | wxRect temp2 ; | |
11126 | PyObject * obj0 = 0 ; | |
11127 | PyObject * obj1 = 0 ; | |
11128 | char *kwnames[] = { | |
11129 | (char *) "self",(char *) "rectBound", NULL | |
11130 | }; | |
11131 | ||
11132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11133 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
11134 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11135 | { |
11136 | arg2 = &temp2; | |
11137 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
11138 | } | |
11139 | { | |
11140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11141 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
11142 | ||
11143 | wxPyEndAllowThreads(__tstate); | |
11144 | if (PyErr_Occurred()) SWIG_fail; | |
11145 | } | |
11146 | Py_INCREF(Py_None); resultobj = Py_None; | |
11147 | return resultobj; | |
11148 | fail: | |
11149 | return NULL; | |
11150 | } | |
11151 | ||
11152 | ||
c32bde28 | 11153 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11154 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11155 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; |
11156 | PyObject * obj0 = 0 ; | |
11157 | char *kwnames[] = { | |
11158 | (char *) "self", NULL | |
11159 | }; | |
11160 | ||
11161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11162 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
11163 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11164 | { |
11165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11166 | (arg1)->Close(); | |
11167 | ||
11168 | wxPyEndAllowThreads(__tstate); | |
11169 | if (PyErr_Occurred()) SWIG_fail; | |
11170 | } | |
11171 | Py_INCREF(Py_None); resultobj = Py_None; | |
11172 | return resultobj; | |
11173 | fail: | |
11174 | return NULL; | |
11175 | } | |
11176 | ||
11177 | ||
c32bde28 | 11178 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11179 | PyObject *obj; |
11180 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11181 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
11182 | Py_INCREF(obj); | |
11183 | return Py_BuildValue((char *)""); | |
11184 | } | |
c32bde28 | 11185 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11186 | PyObject *resultobj = NULL; |
d14a1e28 | 11187 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 11188 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
11189 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
11190 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
11191 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
11192 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
11193 | long arg5 = (long) 0 ; | |
11194 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
11195 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
11196 | wxPyVScrolledWindow *result; | |
11197 | wxPoint temp3 ; | |
11198 | wxSize temp4 ; | |
ae8162c8 | 11199 | bool temp6 = false ; |
d14a1e28 | 11200 | PyObject * obj0 = 0 ; |
994141e6 | 11201 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11202 | PyObject * obj2 = 0 ; |
11203 | PyObject * obj3 = 0 ; | |
994141e6 | 11204 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
11205 | PyObject * obj5 = 0 ; |
11206 | char *kwnames[] = { | |
11207 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11208 | }; | |
11209 | ||
994141e6 | 11210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
11211 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11212 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 11213 | if (obj1) { |
093d3ff1 | 11214 | { |
32fe5131 | 11215 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
11216 | if (SWIG_arg_fail(2)) SWIG_fail; |
11217 | } | |
994141e6 | 11218 | } |
d14a1e28 RD |
11219 | if (obj2) { |
11220 | { | |
11221 | arg3 = &temp3; | |
11222 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
11223 | } | |
11224 | } | |
11225 | if (obj3) { | |
11226 | { | |
11227 | arg4 = &temp4; | |
11228 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
11229 | } | |
11230 | } | |
994141e6 | 11231 | if (obj4) { |
093d3ff1 | 11232 | { |
32fe5131 | 11233 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
11234 | if (SWIG_arg_fail(5)) SWIG_fail; |
11235 | } | |
994141e6 | 11236 | } |
d14a1e28 RD |
11237 | if (obj5) { |
11238 | { | |
11239 | arg6 = wxString_in_helper(obj5); | |
11240 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 11241 | temp6 = true; |
d14a1e28 RD |
11242 | } |
11243 | } | |
11244 | { | |
e3b71cb8 | 11245 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11247 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
11248 | ||
11249 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11250 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11251 | } |
15afbcd0 | 11252 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
11253 | { |
11254 | if (temp6) | |
11255 | delete arg6; | |
11256 | } | |
11257 | return resultobj; | |
11258 | fail: | |
11259 | { | |
11260 | if (temp6) | |
11261 | delete arg6; | |
11262 | } | |
11263 | return NULL; | |
11264 | } | |
11265 | ||
11266 | ||
c32bde28 | 11267 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11268 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11269 | wxPyVScrolledWindow *result; |
11270 | char *kwnames[] = { | |
11271 | NULL | |
11272 | }; | |
11273 | ||
11274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
11275 | { | |
e3b71cb8 | 11276 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11278 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
11279 | ||
11280 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11281 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11282 | } |
15afbcd0 | 11283 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
11284 | return resultobj; |
11285 | fail: | |
11286 | return NULL; | |
11287 | } | |
11288 | ||
11289 | ||
c32bde28 | 11290 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11291 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11292 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11293 | PyObject *arg2 = (PyObject *) 0 ; | |
11294 | PyObject *arg3 = (PyObject *) 0 ; | |
11295 | PyObject * obj0 = 0 ; | |
11296 | PyObject * obj1 = 0 ; | |
11297 | PyObject * obj2 = 0 ; | |
11298 | char *kwnames[] = { | |
11299 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
11300 | }; | |
11301 | ||
11302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
11303 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11304 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11305 | arg2 = obj1; |
11306 | arg3 = obj2; | |
11307 | { | |
11308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11309 | (arg1)->_setCallbackInfo(arg2,arg3); | |
11310 | ||
11311 | wxPyEndAllowThreads(__tstate); | |
11312 | if (PyErr_Occurred()) SWIG_fail; | |
11313 | } | |
11314 | Py_INCREF(Py_None); resultobj = Py_None; | |
11315 | return resultobj; | |
11316 | fail: | |
11317 | return NULL; | |
11318 | } | |
11319 | ||
11320 | ||
c32bde28 | 11321 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11322 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11323 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11324 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 11325 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
11326 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
11327 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11328 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11329 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11330 | long arg6 = (long) 0 ; | |
11331 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
11332 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11333 | bool result; | |
11334 | wxPoint temp4 ; | |
11335 | wxSize temp5 ; | |
ae8162c8 | 11336 | bool temp7 = false ; |
d14a1e28 RD |
11337 | PyObject * obj0 = 0 ; |
11338 | PyObject * obj1 = 0 ; | |
994141e6 | 11339 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
11340 | PyObject * obj3 = 0 ; |
11341 | PyObject * obj4 = 0 ; | |
994141e6 | 11342 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11343 | PyObject * obj6 = 0 ; |
11344 | char *kwnames[] = { | |
11345 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11346 | }; | |
11347 | ||
994141e6 | 11348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
11349 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11350 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11351 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
11352 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 11353 | if (obj2) { |
093d3ff1 | 11354 | { |
32fe5131 | 11355 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
11356 | if (SWIG_arg_fail(3)) SWIG_fail; |
11357 | } | |
994141e6 | 11358 | } |
d14a1e28 RD |
11359 | if (obj3) { |
11360 | { | |
11361 | arg4 = &temp4; | |
11362 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11363 | } | |
11364 | } | |
11365 | if (obj4) { | |
11366 | { | |
11367 | arg5 = &temp5; | |
11368 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11369 | } | |
11370 | } | |
994141e6 | 11371 | if (obj5) { |
093d3ff1 | 11372 | { |
32fe5131 | 11373 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
11374 | if (SWIG_arg_fail(6)) SWIG_fail; |
11375 | } | |
994141e6 | 11376 | } |
d14a1e28 RD |
11377 | if (obj6) { |
11378 | { | |
11379 | arg7 = wxString_in_helper(obj6); | |
11380 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 11381 | temp7 = true; |
d14a1e28 RD |
11382 | } |
11383 | } | |
11384 | { | |
11385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11386 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11387 | ||
11388 | wxPyEndAllowThreads(__tstate); | |
11389 | if (PyErr_Occurred()) SWIG_fail; | |
11390 | } | |
4f89f6a3 RD |
11391 | { |
11392 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11393 | } | |
d14a1e28 RD |
11394 | { |
11395 | if (temp7) | |
11396 | delete arg7; | |
11397 | } | |
11398 | return resultobj; | |
11399 | fail: | |
11400 | { | |
11401 | if (temp7) | |
11402 | delete arg7; | |
11403 | } | |
11404 | return NULL; | |
11405 | } | |
11406 | ||
11407 | ||
c32bde28 | 11408 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11409 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11410 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11411 | size_t arg2 ; | |
11412 | PyObject * obj0 = 0 ; | |
11413 | PyObject * obj1 = 0 ; | |
11414 | char *kwnames[] = { | |
11415 | (char *) "self",(char *) "count", NULL | |
11416 | }; | |
11417 | ||
11418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11419 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11420 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11421 | { | |
32fe5131 | 11422 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
11423 | if (SWIG_arg_fail(2)) SWIG_fail; |
11424 | } | |
d14a1e28 RD |
11425 | { |
11426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11427 | (arg1)->SetLineCount(arg2); | |
11428 | ||
11429 | wxPyEndAllowThreads(__tstate); | |
11430 | if (PyErr_Occurred()) SWIG_fail; | |
11431 | } | |
11432 | Py_INCREF(Py_None); resultobj = Py_None; | |
11433 | return resultobj; | |
11434 | fail: | |
11435 | return NULL; | |
11436 | } | |
11437 | ||
11438 | ||
c32bde28 | 11439 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11440 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11441 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11442 | size_t arg2 ; | |
11443 | bool result; | |
11444 | PyObject * obj0 = 0 ; | |
11445 | PyObject * obj1 = 0 ; | |
11446 | char *kwnames[] = { | |
11447 | (char *) "self",(char *) "line", NULL | |
11448 | }; | |
11449 | ||
11450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11451 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11452 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11453 | { | |
32fe5131 | 11454 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
11455 | if (SWIG_arg_fail(2)) SWIG_fail; |
11456 | } | |
d14a1e28 RD |
11457 | { |
11458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11459 | result = (bool)(arg1)->ScrollToLine(arg2); | |
11460 | ||
11461 | wxPyEndAllowThreads(__tstate); | |
11462 | if (PyErr_Occurred()) SWIG_fail; | |
11463 | } | |
4f89f6a3 RD |
11464 | { |
11465 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11466 | } | |
d14a1e28 RD |
11467 | return resultobj; |
11468 | fail: | |
11469 | return NULL; | |
11470 | } | |
11471 | ||
11472 | ||
c32bde28 | 11473 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11474 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11475 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11476 | int arg2 ; | |
11477 | bool result; | |
11478 | PyObject * obj0 = 0 ; | |
994141e6 | 11479 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11480 | char *kwnames[] = { |
11481 | (char *) "self",(char *) "lines", NULL | |
11482 | }; | |
11483 | ||
994141e6 | 11484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
11485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11487 | { | |
32fe5131 | 11488 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
11489 | if (SWIG_arg_fail(2)) SWIG_fail; |
11490 | } | |
d14a1e28 RD |
11491 | { |
11492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11493 | result = (bool)(arg1)->ScrollLines(arg2); | |
11494 | ||
11495 | wxPyEndAllowThreads(__tstate); | |
11496 | if (PyErr_Occurred()) SWIG_fail; | |
11497 | } | |
4f89f6a3 RD |
11498 | { |
11499 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11500 | } | |
d14a1e28 RD |
11501 | return resultobj; |
11502 | fail: | |
11503 | return NULL; | |
11504 | } | |
11505 | ||
11506 | ||
c32bde28 | 11507 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11508 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11509 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11510 | int arg2 ; | |
11511 | bool result; | |
11512 | PyObject * obj0 = 0 ; | |
994141e6 | 11513 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11514 | char *kwnames[] = { |
11515 | (char *) "self",(char *) "pages", NULL | |
11516 | }; | |
11517 | ||
994141e6 | 11518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
11519 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11520 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11521 | { | |
32fe5131 | 11522 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
11523 | if (SWIG_arg_fail(2)) SWIG_fail; |
11524 | } | |
d14a1e28 RD |
11525 | { |
11526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11527 | result = (bool)(arg1)->ScrollPages(arg2); | |
11528 | ||
11529 | wxPyEndAllowThreads(__tstate); | |
11530 | if (PyErr_Occurred()) SWIG_fail; | |
11531 | } | |
4f89f6a3 RD |
11532 | { |
11533 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11534 | } | |
d14a1e28 RD |
11535 | return resultobj; |
11536 | fail: | |
11537 | return NULL; | |
11538 | } | |
11539 | ||
11540 | ||
c32bde28 | 11541 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11542 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11543 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11544 | size_t arg2 ; | |
11545 | PyObject * obj0 = 0 ; | |
11546 | PyObject * obj1 = 0 ; | |
11547 | char *kwnames[] = { | |
11548 | (char *) "self",(char *) "line", NULL | |
11549 | }; | |
11550 | ||
11551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11552 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11553 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11554 | { | |
32fe5131 | 11555 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
11556 | if (SWIG_arg_fail(2)) SWIG_fail; |
11557 | } | |
d14a1e28 RD |
11558 | { |
11559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11560 | (arg1)->RefreshLine(arg2); | |
11561 | ||
11562 | wxPyEndAllowThreads(__tstate); | |
11563 | if (PyErr_Occurred()) SWIG_fail; | |
11564 | } | |
11565 | Py_INCREF(Py_None); resultobj = Py_None; | |
11566 | return resultobj; | |
11567 | fail: | |
11568 | return NULL; | |
11569 | } | |
11570 | ||
11571 | ||
c32bde28 | 11572 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11573 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11574 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11575 | size_t arg2 ; | |
11576 | size_t arg3 ; | |
11577 | PyObject * obj0 = 0 ; | |
11578 | PyObject * obj1 = 0 ; | |
11579 | PyObject * obj2 = 0 ; | |
11580 | char *kwnames[] = { | |
11581 | (char *) "self",(char *) "from",(char *) "to", NULL | |
11582 | }; | |
11583 | ||
11584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
11585 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11586 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11587 | { | |
32fe5131 | 11588 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
11589 | if (SWIG_arg_fail(2)) SWIG_fail; |
11590 | } | |
11591 | { | |
32fe5131 | 11592 | arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2)); |
093d3ff1 RD |
11593 | if (SWIG_arg_fail(3)) SWIG_fail; |
11594 | } | |
d14a1e28 RD |
11595 | { |
11596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11597 | (arg1)->RefreshLines(arg2,arg3); | |
11598 | ||
11599 | wxPyEndAllowThreads(__tstate); | |
11600 | if (PyErr_Occurred()) SWIG_fail; | |
11601 | } | |
11602 | Py_INCREF(Py_None); resultobj = Py_None; | |
11603 | return resultobj; | |
11604 | fail: | |
11605 | return NULL; | |
11606 | } | |
11607 | ||
11608 | ||
c32bde28 | 11609 | static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11610 | PyObject *resultobj = NULL; |
d14a1e28 | 11611 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
e811c8ce RD |
11612 | int arg2 ; |
11613 | int arg3 ; | |
d14a1e28 RD |
11614 | int result; |
11615 | PyObject * obj0 = 0 ; | |
994141e6 RD |
11616 | PyObject * obj1 = 0 ; |
11617 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
11618 | char *kwnames[] = { |
11619 | (char *) "self",(char *) "x",(char *) "y", NULL | |
11620 | }; | |
11621 | ||
354693ff | 11622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
11623 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11624 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11625 | { | |
32fe5131 | 11626 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
11627 | if (SWIG_arg_fail(2)) SWIG_fail; |
11628 | } | |
11629 | { | |
32fe5131 | 11630 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
11631 | if (SWIG_arg_fail(3)) SWIG_fail; |
11632 | } | |
d14a1e28 RD |
11633 | { |
11634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11635 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
11636 | ||
11637 | wxPyEndAllowThreads(__tstate); | |
11638 | if (PyErr_Occurred()) SWIG_fail; | |
11639 | } | |
093d3ff1 | 11640 | { |
32fe5131 | 11641 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 11642 | } |
d14a1e28 RD |
11643 | return resultobj; |
11644 | fail: | |
11645 | return NULL; | |
11646 | } | |
11647 | ||
11648 | ||
c32bde28 | 11649 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11650 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11651 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11652 | wxPoint *arg2 = 0 ; | |
11653 | int result; | |
11654 | wxPoint temp2 ; | |
11655 | PyObject * obj0 = 0 ; | |
11656 | PyObject * obj1 = 0 ; | |
11657 | char *kwnames[] = { | |
11658 | (char *) "self",(char *) "pt", NULL | |
11659 | }; | |
11660 | ||
11661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11662 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11663 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11664 | { |
11665 | arg2 = &temp2; | |
11666 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
11667 | } | |
11668 | { | |
11669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11670 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
11671 | ||
11672 | wxPyEndAllowThreads(__tstate); | |
11673 | if (PyErr_Occurred()) SWIG_fail; | |
11674 | } | |
093d3ff1 | 11675 | { |
32fe5131 | 11676 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 11677 | } |
d14a1e28 RD |
11678 | return resultobj; |
11679 | fail: | |
11680 | return NULL; | |
11681 | } | |
11682 | ||
11683 | ||
c32bde28 | 11684 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11685 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11686 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11687 | PyObject * obj0 = 0 ; | |
11688 | char *kwnames[] = { | |
11689 | (char *) "self", NULL | |
11690 | }; | |
11691 | ||
11692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11695 | { |
11696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11697 | (arg1)->RefreshAll(); | |
11698 | ||
11699 | wxPyEndAllowThreads(__tstate); | |
11700 | if (PyErr_Occurred()) SWIG_fail; | |
11701 | } | |
11702 | Py_INCREF(Py_None); resultobj = Py_None; | |
11703 | return resultobj; | |
11704 | fail: | |
11705 | return NULL; | |
11706 | } | |
11707 | ||
11708 | ||
c32bde28 | 11709 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11710 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11711 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11712 | size_t result; | |
11713 | PyObject * obj0 = 0 ; | |
11714 | char *kwnames[] = { | |
11715 | (char *) "self", NULL | |
11716 | }; | |
11717 | ||
11718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11719 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11720 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11721 | { |
11722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11723 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
11724 | ||
11725 | wxPyEndAllowThreads(__tstate); | |
11726 | if (PyErr_Occurred()) SWIG_fail; | |
11727 | } | |
093d3ff1 | 11728 | { |
32fe5131 | 11729 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 11730 | } |
d14a1e28 RD |
11731 | return resultobj; |
11732 | fail: | |
11733 | return NULL; | |
11734 | } | |
11735 | ||
11736 | ||
70b7a5fe | 11737 | static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11738 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11739 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11740 | size_t result; | |
11741 | PyObject * obj0 = 0 ; | |
11742 | char *kwnames[] = { | |
11743 | (char *) "self", NULL | |
11744 | }; | |
11745 | ||
70b7a5fe | 11746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
11747 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11748 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11749 | { |
11750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
70b7a5fe | 11751 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin(); |
d14a1e28 RD |
11752 | |
11753 | wxPyEndAllowThreads(__tstate); | |
11754 | if (PyErr_Occurred()) SWIG_fail; | |
11755 | } | |
093d3ff1 | 11756 | { |
32fe5131 | 11757 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 11758 | } |
d14a1e28 RD |
11759 | return resultobj; |
11760 | fail: | |
11761 | return NULL; | |
11762 | } | |
11763 | ||
11764 | ||
70b7a5fe | 11765 | static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11766 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11767 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11768 | size_t result; | |
11769 | PyObject * obj0 = 0 ; | |
11770 | char *kwnames[] = { | |
11771 | (char *) "self", NULL | |
11772 | }; | |
11773 | ||
70b7a5fe | 11774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
11775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11777 | { |
11778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
70b7a5fe | 11779 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd(); |
d14a1e28 RD |
11780 | |
11781 | wxPyEndAllowThreads(__tstate); | |
11782 | if (PyErr_Occurred()) SWIG_fail; | |
11783 | } | |
093d3ff1 | 11784 | { |
32fe5131 | 11785 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 11786 | } |
d14a1e28 RD |
11787 | return resultobj; |
11788 | fail: | |
11789 | return NULL; | |
11790 | } | |
11791 | ||
11792 | ||
c32bde28 | 11793 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11794 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11795 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11796 | size_t arg2 ; | |
11797 | bool result; | |
11798 | PyObject * obj0 = 0 ; | |
11799 | PyObject * obj1 = 0 ; | |
11800 | char *kwnames[] = { | |
11801 | (char *) "self",(char *) "line", NULL | |
11802 | }; | |
11803 | ||
11804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11805 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11806 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11807 | { | |
32fe5131 | 11808 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
11809 | if (SWIG_arg_fail(2)) SWIG_fail; |
11810 | } | |
d14a1e28 RD |
11811 | { |
11812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11813 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
11814 | ||
11815 | wxPyEndAllowThreads(__tstate); | |
11816 | if (PyErr_Occurred()) SWIG_fail; | |
11817 | } | |
4f89f6a3 RD |
11818 | { |
11819 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11820 | } | |
d14a1e28 RD |
11821 | return resultobj; |
11822 | fail: | |
11823 | return NULL; | |
11824 | } | |
11825 | ||
11826 | ||
70b7a5fe | 11827 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11828 | PyObject *resultobj = NULL; |
70b7a5fe RD |
11829 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11830 | size_t result; | |
11831 | PyObject * obj0 = 0 ; | |
11832 | char *kwnames[] = { | |
11833 | (char *) "self", NULL | |
11834 | }; | |
11835 | ||
11836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
11837 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
11838 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11839 | { | |
11840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11841 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
11842 | ||
11843 | wxPyEndAllowThreads(__tstate); | |
11844 | if (PyErr_Occurred()) SWIG_fail; | |
11845 | } | |
11846 | { | |
32fe5131 | 11847 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
70b7a5fe RD |
11848 | } |
11849 | return resultobj; | |
11850 | fail: | |
11851 | return NULL; | |
11852 | } | |
11853 | ||
11854 | ||
11855 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 11856 | PyObject *resultobj = NULL; |
70b7a5fe RD |
11857 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; |
11858 | size_t result; | |
11859 | PyObject * obj0 = 0 ; | |
11860 | char *kwnames[] = { | |
11861 | (char *) "self", NULL | |
11862 | }; | |
11863 | ||
11864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
11865 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
11866 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11867 | { | |
11868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11869 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
11870 | ||
11871 | wxPyEndAllowThreads(__tstate); | |
11872 | if (PyErr_Occurred()) SWIG_fail; | |
11873 | } | |
11874 | { | |
32fe5131 | 11875 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
70b7a5fe RD |
11876 | } |
11877 | return resultobj; | |
11878 | fail: | |
11879 | return NULL; | |
11880 | } | |
11881 | ||
11882 | ||
c32bde28 | 11883 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11884 | PyObject *obj; |
11885 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11886 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
11887 | Py_INCREF(obj); | |
11888 | return Py_BuildValue((char *)""); | |
11889 | } | |
c32bde28 | 11890 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
b2dc1044 RD |
11891 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
11892 | return 1; | |
11893 | } | |
11894 | ||
11895 | ||
093d3ff1 | 11896 | static PyObject *_wrap_VListBoxNameStr_get(void) { |
32fe5131 | 11897 | PyObject *pyobj = NULL; |
b2dc1044 RD |
11898 | |
11899 | { | |
11900 | #if wxUSE_UNICODE | |
11901 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
11902 | #else | |
11903 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
11904 | #endif | |
11905 | } | |
11906 | return pyobj; | |
11907 | } | |
11908 | ||
11909 | ||
c32bde28 | 11910 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11911 | PyObject *resultobj = NULL; |
d14a1e28 | 11912 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 11913 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
11914 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
11915 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
11916 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
11917 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
11918 | long arg5 = (long) 0 ; | |
11919 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
11920 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
11921 | wxPyVListBox *result; | |
11922 | wxPoint temp3 ; | |
11923 | wxSize temp4 ; | |
ae8162c8 | 11924 | bool temp6 = false ; |
d14a1e28 | 11925 | PyObject * obj0 = 0 ; |
994141e6 | 11926 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11927 | PyObject * obj2 = 0 ; |
11928 | PyObject * obj3 = 0 ; | |
994141e6 | 11929 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
11930 | PyObject * obj5 = 0 ; |
11931 | char *kwnames[] = { | |
11932 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11933 | }; | |
11934 | ||
994141e6 | 11935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
11936 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11937 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 11938 | if (obj1) { |
093d3ff1 | 11939 | { |
32fe5131 | 11940 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
11941 | if (SWIG_arg_fail(2)) SWIG_fail; |
11942 | } | |
994141e6 | 11943 | } |
d14a1e28 RD |
11944 | if (obj2) { |
11945 | { | |
11946 | arg3 = &temp3; | |
11947 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
11948 | } | |
11949 | } | |
11950 | if (obj3) { | |
11951 | { | |
11952 | arg4 = &temp4; | |
11953 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
11954 | } | |
11955 | } | |
994141e6 | 11956 | if (obj4) { |
093d3ff1 | 11957 | { |
32fe5131 | 11958 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
11959 | if (SWIG_arg_fail(5)) SWIG_fail; |
11960 | } | |
994141e6 | 11961 | } |
d14a1e28 RD |
11962 | if (obj5) { |
11963 | { | |
11964 | arg6 = wxString_in_helper(obj5); | |
11965 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 11966 | temp6 = true; |
d14a1e28 RD |
11967 | } |
11968 | } | |
11969 | { | |
e3b71cb8 | 11970 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11972 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
11973 | ||
11974 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11975 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11976 | } |
15afbcd0 | 11977 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
11978 | { |
11979 | if (temp6) | |
11980 | delete arg6; | |
11981 | } | |
11982 | return resultobj; | |
11983 | fail: | |
11984 | { | |
11985 | if (temp6) | |
11986 | delete arg6; | |
11987 | } | |
11988 | return NULL; | |
11989 | } | |
11990 | ||
11991 | ||
c32bde28 | 11992 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11993 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11994 | wxPyVListBox *result; |
11995 | char *kwnames[] = { | |
11996 | NULL | |
11997 | }; | |
11998 | ||
11999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
12000 | { | |
e3b71cb8 | 12001 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12003 | result = (wxPyVListBox *)new wxPyVListBox(); | |
12004 | ||
12005 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12006 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12007 | } |
15afbcd0 | 12008 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
12009 | return resultobj; |
12010 | fail: | |
12011 | return NULL; | |
12012 | } | |
12013 | ||
12014 | ||
c32bde28 | 12015 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12016 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12017 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12018 | PyObject *arg2 = (PyObject *) 0 ; | |
12019 | PyObject *arg3 = (PyObject *) 0 ; | |
12020 | PyObject * obj0 = 0 ; | |
12021 | PyObject * obj1 = 0 ; | |
12022 | PyObject * obj2 = 0 ; | |
12023 | char *kwnames[] = { | |
12024 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
12025 | }; | |
12026 | ||
12027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
12028 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12029 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12030 | arg2 = obj1; |
12031 | arg3 = obj2; | |
12032 | { | |
12033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12034 | (arg1)->_setCallbackInfo(arg2,arg3); | |
12035 | ||
12036 | wxPyEndAllowThreads(__tstate); | |
12037 | if (PyErr_Occurred()) SWIG_fail; | |
12038 | } | |
12039 | Py_INCREF(Py_None); resultobj = Py_None; | |
12040 | return resultobj; | |
12041 | fail: | |
12042 | return NULL; | |
12043 | } | |
12044 | ||
12045 | ||
c32bde28 | 12046 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12047 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12048 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12049 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 12050 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
12051 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
12052 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12053 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12054 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12055 | long arg6 = (long) 0 ; | |
12056 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
12057 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
12058 | bool result; | |
12059 | wxPoint temp4 ; | |
12060 | wxSize temp5 ; | |
ae8162c8 | 12061 | bool temp7 = false ; |
d14a1e28 RD |
12062 | PyObject * obj0 = 0 ; |
12063 | PyObject * obj1 = 0 ; | |
994141e6 | 12064 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
12065 | PyObject * obj3 = 0 ; |
12066 | PyObject * obj4 = 0 ; | |
994141e6 | 12067 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
12068 | PyObject * obj6 = 0 ; |
12069 | char *kwnames[] = { | |
12070 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12071 | }; | |
12072 | ||
994141e6 | 12073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
12074 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12075 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12076 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
12077 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 12078 | if (obj2) { |
093d3ff1 | 12079 | { |
32fe5131 | 12080 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
12081 | if (SWIG_arg_fail(3)) SWIG_fail; |
12082 | } | |
994141e6 | 12083 | } |
d14a1e28 RD |
12084 | if (obj3) { |
12085 | { | |
12086 | arg4 = &temp4; | |
12087 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12088 | } | |
12089 | } | |
12090 | if (obj4) { | |
12091 | { | |
12092 | arg5 = &temp5; | |
12093 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12094 | } | |
12095 | } | |
994141e6 | 12096 | if (obj5) { |
093d3ff1 | 12097 | { |
32fe5131 | 12098 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
12099 | if (SWIG_arg_fail(6)) SWIG_fail; |
12100 | } | |
994141e6 | 12101 | } |
d14a1e28 RD |
12102 | if (obj6) { |
12103 | { | |
12104 | arg7 = wxString_in_helper(obj6); | |
12105 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 12106 | temp7 = true; |
d14a1e28 RD |
12107 | } |
12108 | } | |
12109 | { | |
12110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12111 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
12112 | ||
12113 | wxPyEndAllowThreads(__tstate); | |
12114 | if (PyErr_Occurred()) SWIG_fail; | |
12115 | } | |
4f89f6a3 RD |
12116 | { |
12117 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12118 | } | |
d14a1e28 RD |
12119 | { |
12120 | if (temp7) | |
12121 | delete arg7; | |
12122 | } | |
12123 | return resultobj; | |
12124 | fail: | |
12125 | { | |
12126 | if (temp7) | |
12127 | delete arg7; | |
12128 | } | |
12129 | return NULL; | |
12130 | } | |
12131 | ||
12132 | ||
c32bde28 | 12133 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12134 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12135 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12136 | size_t result; | |
12137 | PyObject * obj0 = 0 ; | |
12138 | char *kwnames[] = { | |
12139 | (char *) "self", NULL | |
12140 | }; | |
12141 | ||
12142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12143 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12144 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12145 | { |
12146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12147 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
12148 | ||
12149 | wxPyEndAllowThreads(__tstate); | |
12150 | if (PyErr_Occurred()) SWIG_fail; | |
12151 | } | |
093d3ff1 | 12152 | { |
32fe5131 | 12153 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 12154 | } |
d14a1e28 RD |
12155 | return resultobj; |
12156 | fail: | |
12157 | return NULL; | |
12158 | } | |
12159 | ||
12160 | ||
c32bde28 | 12161 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12162 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12163 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12164 | bool result; | |
12165 | PyObject * obj0 = 0 ; | |
12166 | char *kwnames[] = { | |
12167 | (char *) "self", NULL | |
12168 | }; | |
12169 | ||
12170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12173 | { |
12174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12175 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
12176 | ||
12177 | wxPyEndAllowThreads(__tstate); | |
12178 | if (PyErr_Occurred()) SWIG_fail; | |
12179 | } | |
4f89f6a3 RD |
12180 | { |
12181 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12182 | } | |
d14a1e28 RD |
12183 | return resultobj; |
12184 | fail: | |
12185 | return NULL; | |
12186 | } | |
12187 | ||
12188 | ||
c32bde28 | 12189 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12190 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12191 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12192 | int result; | |
12193 | PyObject * obj0 = 0 ; | |
12194 | char *kwnames[] = { | |
12195 | (char *) "self", NULL | |
12196 | }; | |
12197 | ||
12198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12199 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12200 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12201 | { |
12202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12203 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
12204 | ||
12205 | wxPyEndAllowThreads(__tstate); | |
12206 | if (PyErr_Occurred()) SWIG_fail; | |
12207 | } | |
093d3ff1 | 12208 | { |
32fe5131 | 12209 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 12210 | } |
d14a1e28 RD |
12211 | return resultobj; |
12212 | fail: | |
12213 | return NULL; | |
12214 | } | |
12215 | ||
12216 | ||
c32bde28 | 12217 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12218 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12219 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12220 | size_t arg2 ; | |
12221 | bool result; | |
12222 | PyObject * obj0 = 0 ; | |
12223 | PyObject * obj1 = 0 ; | |
12224 | char *kwnames[] = { | |
12225 | (char *) "self",(char *) "item", NULL | |
12226 | }; | |
12227 | ||
12228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12229 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12230 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12231 | { | |
32fe5131 | 12232 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12233 | if (SWIG_arg_fail(2)) SWIG_fail; |
12234 | } | |
d14a1e28 RD |
12235 | { |
12236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12237 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
12238 | ||
12239 | wxPyEndAllowThreads(__tstate); | |
12240 | if (PyErr_Occurred()) SWIG_fail; | |
12241 | } | |
4f89f6a3 RD |
12242 | { |
12243 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12244 | } | |
d14a1e28 RD |
12245 | return resultobj; |
12246 | fail: | |
12247 | return NULL; | |
12248 | } | |
12249 | ||
12250 | ||
c32bde28 | 12251 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12252 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12253 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12254 | size_t arg2 ; | |
12255 | bool result; | |
12256 | PyObject * obj0 = 0 ; | |
12257 | PyObject * obj1 = 0 ; | |
12258 | char *kwnames[] = { | |
12259 | (char *) "self",(char *) "item", NULL | |
12260 | }; | |
12261 | ||
12262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12263 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12264 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12265 | { | |
32fe5131 | 12266 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12267 | if (SWIG_arg_fail(2)) SWIG_fail; |
12268 | } | |
d14a1e28 RD |
12269 | { |
12270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12271 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
12272 | ||
12273 | wxPyEndAllowThreads(__tstate); | |
12274 | if (PyErr_Occurred()) SWIG_fail; | |
12275 | } | |
4f89f6a3 RD |
12276 | { |
12277 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12278 | } | |
d14a1e28 RD |
12279 | return resultobj; |
12280 | fail: | |
12281 | return NULL; | |
12282 | } | |
12283 | ||
12284 | ||
c32bde28 | 12285 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12286 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12287 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12288 | size_t result; | |
12289 | PyObject * obj0 = 0 ; | |
12290 | char *kwnames[] = { | |
12291 | (char *) "self", NULL | |
12292 | }; | |
12293 | ||
12294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12297 | { |
12298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12299 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
12300 | ||
12301 | wxPyEndAllowThreads(__tstate); | |
12302 | if (PyErr_Occurred()) SWIG_fail; | |
12303 | } | |
093d3ff1 | 12304 | { |
32fe5131 | 12305 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 12306 | } |
d14a1e28 RD |
12307 | return resultobj; |
12308 | fail: | |
12309 | return NULL; | |
12310 | } | |
12311 | ||
12312 | ||
c32bde28 | 12313 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12314 | PyObject *resultobj = NULL; |
d14a1e28 | 12315 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
09c21d3b | 12316 | PyObject *result; |
d14a1e28 | 12317 | PyObject * obj0 = 0 ; |
d14a1e28 | 12318 | char *kwnames[] = { |
09c21d3b | 12319 | (char *) "self", NULL |
d14a1e28 RD |
12320 | }; |
12321 | ||
09c21d3b | 12322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
12323 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12324 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12325 | { |
12326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 12327 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d14a1e28 RD |
12328 | |
12329 | wxPyEndAllowThreads(__tstate); | |
12330 | if (PyErr_Occurred()) SWIG_fail; | |
12331 | } | |
09c21d3b | 12332 | resultobj = result; |
d14a1e28 RD |
12333 | return resultobj; |
12334 | fail: | |
12335 | return NULL; | |
12336 | } | |
12337 | ||
12338 | ||
c32bde28 | 12339 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12340 | PyObject *resultobj = NULL; |
d14a1e28 | 12341 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
09c21d3b RD |
12342 | unsigned long arg2 ; |
12343 | PyObject *result; | |
d14a1e28 RD |
12344 | PyObject * obj0 = 0 ; |
12345 | PyObject * obj1 = 0 ; | |
12346 | char *kwnames[] = { | |
12347 | (char *) "self",(char *) "cookie", NULL | |
12348 | }; | |
12349 | ||
12350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12351 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12352 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12353 | { | |
32fe5131 | 12354 | arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12355 | if (SWIG_arg_fail(2)) SWIG_fail; |
12356 | } | |
d14a1e28 RD |
12357 | { |
12358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 12359 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d14a1e28 RD |
12360 | |
12361 | wxPyEndAllowThreads(__tstate); | |
12362 | if (PyErr_Occurred()) SWIG_fail; | |
12363 | } | |
09c21d3b | 12364 | resultobj = result; |
d14a1e28 RD |
12365 | return resultobj; |
12366 | fail: | |
12367 | return NULL; | |
12368 | } | |
12369 | ||
12370 | ||
c32bde28 | 12371 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12372 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12373 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12374 | wxPoint result; | |
12375 | PyObject * obj0 = 0 ; | |
12376 | char *kwnames[] = { | |
12377 | (char *) "self", NULL | |
12378 | }; | |
12379 | ||
12380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12381 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12382 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12383 | { |
12384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12385 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
12386 | ||
12387 | wxPyEndAllowThreads(__tstate); | |
12388 | if (PyErr_Occurred()) SWIG_fail; | |
12389 | } | |
12390 | { | |
12391 | wxPoint * resultptr; | |
32fe5131 | 12392 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 12393 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
12394 | } |
12395 | return resultobj; | |
12396 | fail: | |
12397 | return NULL; | |
12398 | } | |
12399 | ||
12400 | ||
c32bde28 | 12401 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12402 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12403 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12404 | wxColour *result; | |
12405 | PyObject * obj0 = 0 ; | |
12406 | char *kwnames[] = { | |
12407 | (char *) "self", NULL | |
12408 | }; | |
12409 | ||
12410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12411 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12412 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12413 | { |
12414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12415 | { | |
12416 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
12417 | result = (wxColour *) &_result_ref; | |
12418 | } | |
12419 | ||
12420 | wxPyEndAllowThreads(__tstate); | |
12421 | if (PyErr_Occurred()) SWIG_fail; | |
12422 | } | |
15afbcd0 | 12423 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
12424 | return resultobj; |
12425 | fail: | |
12426 | return NULL; | |
12427 | } | |
12428 | ||
12429 | ||
c32bde28 | 12430 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12431 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12432 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12433 | size_t arg2 ; | |
12434 | PyObject * obj0 = 0 ; | |
12435 | PyObject * obj1 = 0 ; | |
12436 | char *kwnames[] = { | |
12437 | (char *) "self",(char *) "count", NULL | |
12438 | }; | |
12439 | ||
12440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12441 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12442 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12443 | { | |
32fe5131 | 12444 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12445 | if (SWIG_arg_fail(2)) SWIG_fail; |
12446 | } | |
d14a1e28 RD |
12447 | { |
12448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12449 | (arg1)->SetItemCount(arg2); | |
12450 | ||
12451 | wxPyEndAllowThreads(__tstate); | |
12452 | if (PyErr_Occurred()) SWIG_fail; | |
12453 | } | |
12454 | Py_INCREF(Py_None); resultobj = Py_None; | |
12455 | return resultobj; | |
12456 | fail: | |
12457 | return NULL; | |
12458 | } | |
12459 | ||
12460 | ||
c32bde28 | 12461 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12462 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12463 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12464 | PyObject * obj0 = 0 ; | |
12465 | char *kwnames[] = { | |
12466 | (char *) "self", NULL | |
12467 | }; | |
12468 | ||
12469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12470 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12471 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12472 | { |
12473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12474 | (arg1)->Clear(); | |
12475 | ||
12476 | wxPyEndAllowThreads(__tstate); | |
12477 | if (PyErr_Occurred()) SWIG_fail; | |
12478 | } | |
12479 | Py_INCREF(Py_None); resultobj = Py_None; | |
12480 | return resultobj; | |
12481 | fail: | |
12482 | return NULL; | |
12483 | } | |
12484 | ||
12485 | ||
c32bde28 | 12486 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12487 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12488 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12489 | int arg2 ; | |
12490 | PyObject * obj0 = 0 ; | |
994141e6 | 12491 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12492 | char *kwnames[] = { |
12493 | (char *) "self",(char *) "selection", NULL | |
12494 | }; | |
12495 | ||
994141e6 | 12496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
12497 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12498 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12499 | { | |
32fe5131 | 12500 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
12501 | if (SWIG_arg_fail(2)) SWIG_fail; |
12502 | } | |
d14a1e28 RD |
12503 | { |
12504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12505 | (arg1)->SetSelection(arg2); | |
12506 | ||
12507 | wxPyEndAllowThreads(__tstate); | |
12508 | if (PyErr_Occurred()) SWIG_fail; | |
12509 | } | |
12510 | Py_INCREF(Py_None); resultobj = Py_None; | |
12511 | return resultobj; | |
12512 | fail: | |
12513 | return NULL; | |
12514 | } | |
12515 | ||
12516 | ||
c32bde28 | 12517 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12518 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12519 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12520 | size_t arg2 ; | |
ae8162c8 | 12521 | bool arg3 = (bool) true ; |
d14a1e28 RD |
12522 | bool result; |
12523 | PyObject * obj0 = 0 ; | |
12524 | PyObject * obj1 = 0 ; | |
12525 | PyObject * obj2 = 0 ; | |
12526 | char *kwnames[] = { | |
12527 | (char *) "self",(char *) "item",(char *) "select", NULL | |
12528 | }; | |
12529 | ||
12530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) 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; | |
12533 | { | |
32fe5131 | 12534 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12535 | if (SWIG_arg_fail(2)) SWIG_fail; |
12536 | } | |
a41e16b6 | 12537 | if (obj2) { |
093d3ff1 | 12538 | { |
32fe5131 | 12539 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
12540 | if (SWIG_arg_fail(3)) SWIG_fail; |
12541 | } | |
a41e16b6 | 12542 | } |
d14a1e28 RD |
12543 | { |
12544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12545 | result = (bool)(arg1)->Select(arg2,arg3); | |
12546 | ||
12547 | wxPyEndAllowThreads(__tstate); | |
12548 | if (PyErr_Occurred()) SWIG_fail; | |
12549 | } | |
4f89f6a3 RD |
12550 | { |
12551 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12552 | } | |
d14a1e28 RD |
12553 | return resultobj; |
12554 | fail: | |
12555 | return NULL; | |
12556 | } | |
12557 | ||
12558 | ||
c32bde28 | 12559 | static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12560 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12561 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12562 | size_t arg2 ; | |
12563 | size_t arg3 ; | |
12564 | bool result; | |
12565 | PyObject * obj0 = 0 ; | |
12566 | PyObject * obj1 = 0 ; | |
12567 | PyObject * obj2 = 0 ; | |
15afbcd0 RD |
12568 | char *kwnames[] = { |
12569 | (char *) "self",(char *) "from",(char *) "to", NULL | |
12570 | }; | |
12571 | ||
12572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
12573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12575 | { | |
32fe5131 | 12576 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12577 | if (SWIG_arg_fail(2)) SWIG_fail; |
12578 | } | |
12579 | { | |
32fe5131 | 12580 | arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2)); |
093d3ff1 RD |
12581 | if (SWIG_arg_fail(3)) SWIG_fail; |
12582 | } | |
d14a1e28 RD |
12583 | { |
12584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12585 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
12586 | ||
12587 | wxPyEndAllowThreads(__tstate); | |
12588 | if (PyErr_Occurred()) SWIG_fail; | |
12589 | } | |
4f89f6a3 RD |
12590 | { |
12591 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12592 | } | |
d14a1e28 RD |
12593 | return resultobj; |
12594 | fail: | |
12595 | return NULL; | |
12596 | } | |
12597 | ||
12598 | ||
c32bde28 | 12599 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12600 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12601 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12602 | size_t arg2 ; | |
12603 | PyObject * obj0 = 0 ; | |
12604 | PyObject * obj1 = 0 ; | |
12605 | char *kwnames[] = { | |
12606 | (char *) "self",(char *) "item", NULL | |
12607 | }; | |
12608 | ||
12609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12610 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12611 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12612 | { | |
32fe5131 | 12613 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
12614 | if (SWIG_arg_fail(2)) SWIG_fail; |
12615 | } | |
d14a1e28 RD |
12616 | { |
12617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12618 | (arg1)->Toggle(arg2); | |
12619 | ||
12620 | wxPyEndAllowThreads(__tstate); | |
12621 | if (PyErr_Occurred()) SWIG_fail; | |
12622 | } | |
12623 | Py_INCREF(Py_None); resultobj = Py_None; | |
12624 | return resultobj; | |
12625 | fail: | |
12626 | return NULL; | |
12627 | } | |
12628 | ||
12629 | ||
c32bde28 | 12630 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12631 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12632 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12633 | bool result; | |
12634 | PyObject * obj0 = 0 ; | |
12635 | char *kwnames[] = { | |
12636 | (char *) "self", NULL | |
12637 | }; | |
12638 | ||
12639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12640 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12641 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12642 | { |
12643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12644 | result = (bool)(arg1)->SelectAll(); | |
12645 | ||
12646 | wxPyEndAllowThreads(__tstate); | |
12647 | if (PyErr_Occurred()) SWIG_fail; | |
12648 | } | |
4f89f6a3 RD |
12649 | { |
12650 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12651 | } | |
d14a1e28 RD |
12652 | return resultobj; |
12653 | fail: | |
12654 | return NULL; | |
12655 | } | |
12656 | ||
12657 | ||
c32bde28 | 12658 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12659 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12660 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12661 | bool result; | |
12662 | PyObject * obj0 = 0 ; | |
12663 | char *kwnames[] = { | |
12664 | (char *) "self", NULL | |
12665 | }; | |
12666 | ||
12667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12668 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12669 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12670 | { |
12671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12672 | result = (bool)(arg1)->DeselectAll(); | |
12673 | ||
12674 | wxPyEndAllowThreads(__tstate); | |
12675 | if (PyErr_Occurred()) SWIG_fail; | |
12676 | } | |
4f89f6a3 RD |
12677 | { |
12678 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12679 | } | |
d14a1e28 RD |
12680 | return resultobj; |
12681 | fail: | |
12682 | return NULL; | |
12683 | } | |
12684 | ||
12685 | ||
c32bde28 | 12686 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12687 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12688 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12689 | wxPoint *arg2 = 0 ; | |
12690 | wxPoint temp2 ; | |
12691 | PyObject * obj0 = 0 ; | |
12692 | PyObject * obj1 = 0 ; | |
12693 | char *kwnames[] = { | |
12694 | (char *) "self",(char *) "pt", NULL | |
12695 | }; | |
12696 | ||
12697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12698 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12699 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12700 | { |
12701 | arg2 = &temp2; | |
12702 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
12703 | } | |
12704 | { | |
12705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12706 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
12707 | ||
12708 | wxPyEndAllowThreads(__tstate); | |
12709 | if (PyErr_Occurred()) SWIG_fail; | |
12710 | } | |
12711 | Py_INCREF(Py_None); resultobj = Py_None; | |
12712 | return resultobj; | |
12713 | fail: | |
12714 | return NULL; | |
12715 | } | |
12716 | ||
12717 | ||
c32bde28 | 12718 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12719 | PyObject *resultobj = NULL; |
d14a1e28 | 12720 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
e811c8ce RD |
12721 | int arg2 ; |
12722 | int arg3 ; | |
d14a1e28 | 12723 | PyObject * obj0 = 0 ; |
994141e6 RD |
12724 | PyObject * obj1 = 0 ; |
12725 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12726 | char *kwnames[] = { |
12727 | (char *) "self",(char *) "x",(char *) "y", NULL | |
12728 | }; | |
12729 | ||
994141e6 | 12730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
12731 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12732 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12733 | { | |
32fe5131 | 12734 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
12735 | if (SWIG_arg_fail(2)) SWIG_fail; |
12736 | } | |
12737 | { | |
32fe5131 | 12738 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
12739 | if (SWIG_arg_fail(3)) SWIG_fail; |
12740 | } | |
d14a1e28 RD |
12741 | { |
12742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12743 | (arg1)->SetMargins(arg2,arg3); | |
12744 | ||
12745 | wxPyEndAllowThreads(__tstate); | |
12746 | if (PyErr_Occurred()) SWIG_fail; | |
12747 | } | |
12748 | Py_INCREF(Py_None); resultobj = Py_None; | |
12749 | return resultobj; | |
12750 | fail: | |
12751 | return NULL; | |
12752 | } | |
12753 | ||
12754 | ||
c32bde28 | 12755 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12756 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12757 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; |
12758 | wxColour *arg2 = 0 ; | |
12759 | wxColour temp2 ; | |
12760 | PyObject * obj0 = 0 ; | |
12761 | PyObject * obj1 = 0 ; | |
12762 | char *kwnames[] = { | |
12763 | (char *) "self",(char *) "col", NULL | |
12764 | }; | |
12765 | ||
12766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12767 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12768 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12769 | { |
12770 | arg2 = &temp2; | |
12771 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12772 | } | |
12773 | { | |
12774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12775 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
12776 | ||
12777 | wxPyEndAllowThreads(__tstate); | |
12778 | if (PyErr_Occurred()) SWIG_fail; | |
12779 | } | |
12780 | Py_INCREF(Py_None); resultobj = Py_None; | |
12781 | return resultobj; | |
12782 | fail: | |
12783 | return NULL; | |
12784 | } | |
12785 | ||
12786 | ||
c32bde28 | 12787 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12788 | PyObject *obj; |
12789 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12790 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
12791 | Py_INCREF(obj); | |
12792 | return Py_BuildValue((char *)""); | |
12793 | } | |
c32bde28 | 12794 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12795 | PyObject *resultobj = NULL; |
d14a1e28 | 12796 | wxWindow *arg1 = (wxWindow *) 0 ; |
e811c8ce | 12797 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
12798 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
12799 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12800 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12801 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12802 | long arg5 = (long) 0 ; | |
12803 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
12804 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
12805 | wxPyHtmlListBox *result; | |
12806 | wxPoint temp3 ; | |
12807 | wxSize temp4 ; | |
ae8162c8 | 12808 | bool temp6 = false ; |
d14a1e28 | 12809 | PyObject * obj0 = 0 ; |
994141e6 | 12810 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12811 | PyObject * obj2 = 0 ; |
12812 | PyObject * obj3 = 0 ; | |
994141e6 | 12813 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12814 | PyObject * obj5 = 0 ; |
12815 | char *kwnames[] = { | |
12816 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12817 | }; | |
12818 | ||
994141e6 | 12819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
12820 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
12821 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 12822 | if (obj1) { |
093d3ff1 | 12823 | { |
32fe5131 | 12824 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
12825 | if (SWIG_arg_fail(2)) SWIG_fail; |
12826 | } | |
994141e6 | 12827 | } |
d14a1e28 RD |
12828 | if (obj2) { |
12829 | { | |
12830 | arg3 = &temp3; | |
12831 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12832 | } | |
12833 | } | |
12834 | if (obj3) { | |
12835 | { | |
12836 | arg4 = &temp4; | |
12837 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12838 | } | |
12839 | } | |
994141e6 | 12840 | if (obj4) { |
093d3ff1 | 12841 | { |
32fe5131 | 12842 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
12843 | if (SWIG_arg_fail(5)) SWIG_fail; |
12844 | } | |
994141e6 | 12845 | } |
d14a1e28 RD |
12846 | if (obj5) { |
12847 | { | |
12848 | arg6 = wxString_in_helper(obj5); | |
12849 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 12850 | temp6 = true; |
d14a1e28 RD |
12851 | } |
12852 | } | |
12853 | { | |
e3b71cb8 | 12854 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12856 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
12857 | ||
12858 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12859 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12860 | } |
15afbcd0 | 12861 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
12862 | { |
12863 | if (temp6) | |
12864 | delete arg6; | |
12865 | } | |
12866 | return resultobj; | |
12867 | fail: | |
12868 | { | |
12869 | if (temp6) | |
12870 | delete arg6; | |
12871 | } | |
12872 | return NULL; | |
12873 | } | |
12874 | ||
12875 | ||
c32bde28 | 12876 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12877 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12878 | wxPyHtmlListBox *result; |
12879 | char *kwnames[] = { | |
12880 | NULL | |
12881 | }; | |
12882 | ||
12883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
12884 | { | |
e3b71cb8 | 12885 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12887 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
12888 | ||
12889 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12890 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12891 | } |
15afbcd0 | 12892 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
12893 | return resultobj; |
12894 | fail: | |
12895 | return NULL; | |
12896 | } | |
12897 | ||
12898 | ||
c32bde28 | 12899 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12900 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12901 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; |
12902 | PyObject *arg2 = (PyObject *) 0 ; | |
12903 | PyObject *arg3 = (PyObject *) 0 ; | |
12904 | PyObject * obj0 = 0 ; | |
12905 | PyObject * obj1 = 0 ; | |
12906 | PyObject * obj2 = 0 ; | |
12907 | char *kwnames[] = { | |
12908 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
12909 | }; | |
12910 | ||
12911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
12912 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12913 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
12914 | arg2 = obj1; |
12915 | arg3 = obj2; | |
12916 | { | |
12917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12918 | (arg1)->_setCallbackInfo(arg2,arg3); | |
12919 | ||
12920 | wxPyEndAllowThreads(__tstate); | |
12921 | if (PyErr_Occurred()) SWIG_fail; | |
12922 | } | |
12923 | Py_INCREF(Py_None); resultobj = Py_None; | |
12924 | return resultobj; | |
12925 | fail: | |
12926 | return NULL; | |
12927 | } | |
12928 | ||
12929 | ||
c32bde28 | 12930 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12931 | PyObject *resultobj = NULL; |
d14a1e28 RD |
12932 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; |
12933 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 12934 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
12935 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
12936 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12937 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12938 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12939 | long arg6 = (long) 0 ; | |
12940 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
12941 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
12942 | bool result; | |
12943 | wxPoint temp4 ; | |
12944 | wxSize temp5 ; | |
ae8162c8 | 12945 | bool temp7 = false ; |
d14a1e28 RD |
12946 | PyObject * obj0 = 0 ; |
12947 | PyObject * obj1 = 0 ; | |
994141e6 | 12948 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
12949 | PyObject * obj3 = 0 ; |
12950 | PyObject * obj4 = 0 ; | |
994141e6 | 12951 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
12952 | PyObject * obj6 = 0 ; |
12953 | char *kwnames[] = { | |
12954 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12955 | }; | |
12956 | ||
994141e6 | 12957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
12958 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12959 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12960 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
12961 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 12962 | if (obj2) { |
093d3ff1 | 12963 | { |
32fe5131 | 12964 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
12965 | if (SWIG_arg_fail(3)) SWIG_fail; |
12966 | } | |
994141e6 | 12967 | } |
d14a1e28 RD |
12968 | if (obj3) { |
12969 | { | |
12970 | arg4 = &temp4; | |
12971 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12972 | } | |
12973 | } | |
12974 | if (obj4) { | |
12975 | { | |
12976 | arg5 = &temp5; | |
12977 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12978 | } | |
12979 | } | |
994141e6 | 12980 | if (obj5) { |
093d3ff1 | 12981 | { |
32fe5131 | 12982 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
12983 | if (SWIG_arg_fail(6)) SWIG_fail; |
12984 | } | |
994141e6 | 12985 | } |
d14a1e28 RD |
12986 | if (obj6) { |
12987 | { | |
12988 | arg7 = wxString_in_helper(obj6); | |
12989 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 12990 | temp7 = true; |
d14a1e28 RD |
12991 | } |
12992 | } | |
12993 | { | |
12994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12995 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
12996 | ||
12997 | wxPyEndAllowThreads(__tstate); | |
12998 | if (PyErr_Occurred()) SWIG_fail; | |
12999 | } | |
4f89f6a3 RD |
13000 | { |
13001 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13002 | } | |
d14a1e28 RD |
13003 | { |
13004 | if (temp7) | |
13005 | delete arg7; | |
13006 | } | |
13007 | return resultobj; | |
13008 | fail: | |
13009 | { | |
13010 | if (temp7) | |
13011 | delete arg7; | |
13012 | } | |
13013 | return NULL; | |
13014 | } | |
13015 | ||
13016 | ||
c32bde28 | 13017 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13018 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13019 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; |
13020 | PyObject * obj0 = 0 ; | |
13021 | char *kwnames[] = { | |
13022 | (char *) "self", NULL | |
13023 | }; | |
13024 | ||
13025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13026 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
13027 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13028 | { |
13029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13030 | (arg1)->RefreshAll(); | |
13031 | ||
13032 | wxPyEndAllowThreads(__tstate); | |
13033 | if (PyErr_Occurred()) SWIG_fail; | |
13034 | } | |
13035 | Py_INCREF(Py_None); resultobj = Py_None; | |
13036 | return resultobj; | |
13037 | fail: | |
13038 | return NULL; | |
13039 | } | |
13040 | ||
13041 | ||
c32bde28 | 13042 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13043 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13044 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; |
13045 | size_t arg2 ; | |
13046 | PyObject * obj0 = 0 ; | |
13047 | PyObject * obj1 = 0 ; | |
13048 | char *kwnames[] = { | |
13049 | (char *) "self",(char *) "count", NULL | |
13050 | }; | |
13051 | ||
13052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
13054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13055 | { | |
32fe5131 | 13056 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
13057 | if (SWIG_arg_fail(2)) SWIG_fail; |
13058 | } | |
d14a1e28 RD |
13059 | { |
13060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13061 | (arg1)->SetItemCount(arg2); | |
13062 | ||
13063 | wxPyEndAllowThreads(__tstate); | |
13064 | if (PyErr_Occurred()) SWIG_fail; | |
13065 | } | |
13066 | Py_INCREF(Py_None); resultobj = Py_None; | |
13067 | return resultobj; | |
13068 | fail: | |
13069 | return NULL; | |
13070 | } | |
13071 | ||
13072 | ||
c32bde28 | 13073 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13074 | PyObject *resultobj = NULL; |
7fdaaabe RD |
13075 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; |
13076 | wxFileSystem *result; | |
13077 | PyObject * obj0 = 0 ; | |
13078 | char *kwnames[] = { | |
13079 | (char *) "self", NULL | |
13080 | }; | |
13081 | ||
13082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13083 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
13084 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7fdaaabe RD |
13085 | { |
13086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13087 | { | |
13088 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
13089 | result = (wxFileSystem *) &_result_ref; | |
13090 | } | |
13091 | ||
13092 | wxPyEndAllowThreads(__tstate); | |
13093 | if (PyErr_Occurred()) SWIG_fail; | |
13094 | } | |
13095 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
13096 | return resultobj; | |
13097 | fail: | |
13098 | return NULL; | |
13099 | } | |
13100 | ||
13101 | ||
c32bde28 | 13102 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13103 | PyObject *obj; |
13104 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13105 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
13106 | Py_INCREF(obj); | |
13107 | return Py_BuildValue((char *)""); | |
13108 | } | |
c32bde28 | 13109 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13110 | PyObject *resultobj = NULL; |
5e483524 | 13111 | wxPyTaskBarIcon *result; |
d14a1e28 RD |
13112 | char *kwnames[] = { |
13113 | NULL | |
13114 | }; | |
13115 | ||
13116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
13117 | { | |
e3b71cb8 | 13118 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 13119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5e483524 | 13120 | result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon(); |
d14a1e28 RD |
13121 | |
13122 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13123 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13124 | } |
5e483524 | 13125 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1); |
d14a1e28 RD |
13126 | return resultobj; |
13127 | fail: | |
13128 | return NULL; | |
13129 | } | |
13130 | ||
13131 | ||
7e08d4ef RD |
13132 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
13133 | PyObject *resultobj = NULL; | |
13134 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; | |
13135 | PyObject * obj0 = 0 ; | |
13136 | char *kwnames[] = { | |
13137 | (char *) "self", NULL | |
13138 | }; | |
13139 | ||
13140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
13141 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); | |
13142 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13143 | { | |
13144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13145 | delete arg1; | |
13146 | ||
13147 | wxPyEndAllowThreads(__tstate); | |
13148 | if (PyErr_Occurred()) SWIG_fail; | |
13149 | } | |
13150 | Py_INCREF(Py_None); resultobj = Py_None; | |
13151 | return resultobj; | |
13152 | fail: | |
13153 | return NULL; | |
13154 | } | |
13155 | ||
13156 | ||
5e483524 | 13157 | static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13158 | PyObject *resultobj = NULL; |
5e483524 RD |
13159 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
13160 | PyObject *arg2 = (PyObject *) 0 ; | |
13161 | PyObject *arg3 = (PyObject *) 0 ; | |
13162 | int arg4 ; | |
d14a1e28 | 13163 | PyObject * obj0 = 0 ; |
5e483524 RD |
13164 | PyObject * obj1 = 0 ; |
13165 | PyObject * obj2 = 0 ; | |
13166 | PyObject * obj3 = 0 ; | |
d14a1e28 | 13167 | char *kwnames[] = { |
5e483524 | 13168 | (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL |
d14a1e28 RD |
13169 | }; |
13170 | ||
5e483524 | 13171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
13172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
13174 | arg2 = obj1; |
13175 | arg3 = obj2; | |
093d3ff1 | 13176 | { |
32fe5131 | 13177 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
13178 | if (SWIG_arg_fail(4)) SWIG_fail; |
13179 | } | |
d14a1e28 RD |
13180 | { |
13181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 13182 | (arg1)->_setCallbackInfo(arg2,arg3,arg4); |
d14a1e28 RD |
13183 | |
13184 | wxPyEndAllowThreads(__tstate); | |
13185 | if (PyErr_Occurred()) SWIG_fail; | |
13186 | } | |
13187 | Py_INCREF(Py_None); resultobj = Py_None; | |
13188 | return resultobj; | |
13189 | fail: | |
13190 | return NULL; | |
13191 | } | |
13192 | ||
13193 | ||
c32bde28 | 13194 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13195 | PyObject *resultobj = NULL; |
5e483524 | 13196 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
74a57fcd RD |
13197 | PyObject * obj0 = 0 ; |
13198 | char *kwnames[] = { | |
13199 | (char *) "self", NULL | |
13200 | }; | |
13201 | ||
13202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
74a57fcd RD |
13205 | { |
13206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 13207 | wxPyTaskBarIcon_Destroy(arg1); |
74a57fcd RD |
13208 | |
13209 | wxPyEndAllowThreads(__tstate); | |
13210 | if (PyErr_Occurred()) SWIG_fail; | |
13211 | } | |
13212 | Py_INCREF(Py_None); resultobj = Py_None; | |
13213 | return resultobj; | |
13214 | fail: | |
13215 | return NULL; | |
13216 | } | |
13217 | ||
13218 | ||
c32bde28 | 13219 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13220 | PyObject *resultobj = NULL; |
5e483524 | 13221 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
13222 | bool result; |
13223 | PyObject * obj0 = 0 ; | |
13224 | char *kwnames[] = { | |
13225 | (char *) "self", NULL | |
13226 | }; | |
13227 | ||
13228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13229 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13230 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13231 | { |
13232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 13233 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk(); |
d14a1e28 RD |
13234 | |
13235 | wxPyEndAllowThreads(__tstate); | |
13236 | if (PyErr_Occurred()) SWIG_fail; | |
13237 | } | |
4f89f6a3 RD |
13238 | { |
13239 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13240 | } | |
d14a1e28 RD |
13241 | return resultobj; |
13242 | fail: | |
13243 | return NULL; | |
13244 | } | |
13245 | ||
13246 | ||
c32bde28 | 13247 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13248 | PyObject *resultobj = NULL; |
5e483524 | 13249 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
13250 | bool result; |
13251 | PyObject * obj0 = 0 ; | |
13252 | char *kwnames[] = { | |
13253 | (char *) "self", NULL | |
13254 | }; | |
13255 | ||
13256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13257 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13258 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13259 | { |
13260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 13261 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled(); |
d14a1e28 RD |
13262 | |
13263 | wxPyEndAllowThreads(__tstate); | |
13264 | if (PyErr_Occurred()) SWIG_fail; | |
13265 | } | |
4f89f6a3 RD |
13266 | { |
13267 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13268 | } | |
d14a1e28 RD |
13269 | return resultobj; |
13270 | fail: | |
13271 | return NULL; | |
13272 | } | |
13273 | ||
13274 | ||
c32bde28 | 13275 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13276 | PyObject *resultobj = NULL; |
5e483524 | 13277 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
13278 | wxIcon *arg2 = 0 ; |
13279 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13280 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13281 | bool result; | |
ae8162c8 | 13282 | bool temp3 = false ; |
d14a1e28 RD |
13283 | PyObject * obj0 = 0 ; |
13284 | PyObject * obj1 = 0 ; | |
13285 | PyObject * obj2 = 0 ; | |
13286 | char *kwnames[] = { | |
13287 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
13288 | }; | |
13289 | ||
13290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
13291 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13292 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13293 | { | |
13294 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
13295 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13296 | if (arg2 == NULL) { | |
13297 | SWIG_null_ref("wxIcon"); | |
13298 | } | |
13299 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
13300 | } |
13301 | if (obj2) { | |
13302 | { | |
13303 | arg3 = wxString_in_helper(obj2); | |
13304 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 13305 | temp3 = true; |
d14a1e28 RD |
13306 | } |
13307 | } | |
13308 | { | |
13309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13310 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
13311 | ||
13312 | wxPyEndAllowThreads(__tstate); | |
13313 | if (PyErr_Occurred()) SWIG_fail; | |
13314 | } | |
4f89f6a3 RD |
13315 | { |
13316 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13317 | } | |
d14a1e28 RD |
13318 | { |
13319 | if (temp3) | |
13320 | delete arg3; | |
13321 | } | |
13322 | return resultobj; | |
13323 | fail: | |
13324 | { | |
13325 | if (temp3) | |
13326 | delete arg3; | |
13327 | } | |
13328 | return NULL; | |
13329 | } | |
13330 | ||
13331 | ||
c32bde28 | 13332 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13333 | PyObject *resultobj = NULL; |
5e483524 | 13334 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
13335 | bool result; |
13336 | PyObject * obj0 = 0 ; | |
13337 | char *kwnames[] = { | |
13338 | (char *) "self", NULL | |
13339 | }; | |
13340 | ||
13341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13342 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13343 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13344 | { |
13345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13346 | result = (bool)(arg1)->RemoveIcon(); | |
13347 | ||
13348 | wxPyEndAllowThreads(__tstate); | |
13349 | if (PyErr_Occurred()) SWIG_fail; | |
13350 | } | |
4f89f6a3 RD |
13351 | { |
13352 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13353 | } | |
d14a1e28 RD |
13354 | return resultobj; |
13355 | fail: | |
13356 | return NULL; | |
13357 | } | |
13358 | ||
13359 | ||
c32bde28 | 13360 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13361 | PyObject *resultobj = NULL; |
5e483524 | 13362 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
13363 | wxMenu *arg2 = (wxMenu *) 0 ; |
13364 | bool result; | |
13365 | PyObject * obj0 = 0 ; | |
13366 | PyObject * obj1 = 0 ; | |
13367 | char *kwnames[] = { | |
13368 | (char *) "self",(char *) "menu", NULL | |
13369 | }; | |
13370 | ||
13371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13372 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13373 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13374 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); | |
13375 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
13376 | { |
13377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13378 | result = (bool)(arg1)->PopupMenu(arg2); | |
13379 | ||
13380 | wxPyEndAllowThreads(__tstate); | |
13381 | if (PyErr_Occurred()) SWIG_fail; | |
13382 | } | |
4f89f6a3 RD |
13383 | { |
13384 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13385 | } | |
d14a1e28 RD |
13386 | return resultobj; |
13387 | fail: | |
13388 | return NULL; | |
13389 | } | |
13390 | ||
13391 | ||
c32bde28 | 13392 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13393 | PyObject *obj; |
13394 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5e483524 | 13395 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj); |
d14a1e28 RD |
13396 | Py_INCREF(obj); |
13397 | return Py_BuildValue((char *)""); | |
13398 | } | |
c32bde28 | 13399 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13400 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13401 | wxEventType arg1 ; |
13402 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
13403 | wxTaskBarIconEvent *result; | |
994141e6 | 13404 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
13405 | PyObject * obj1 = 0 ; |
13406 | char *kwnames[] = { | |
13407 | (char *) "evtType",(char *) "tbIcon", NULL | |
13408 | }; | |
13409 | ||
994141e6 | 13410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 | 13411 | { |
32fe5131 | 13412 | arg1 = static_cast<wxEventType >(SWIG_As_int(obj0)); |
093d3ff1 RD |
13413 | if (SWIG_arg_fail(1)) SWIG_fail; |
13414 | } | |
13415 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); | |
13416 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
13417 | { |
13418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13419 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
13420 | ||
13421 | wxPyEndAllowThreads(__tstate); | |
13422 | if (PyErr_Occurred()) SWIG_fail; | |
13423 | } | |
15afbcd0 | 13424 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
13425 | return resultobj; |
13426 | fail: | |
13427 | return NULL; | |
13428 | } | |
13429 | ||
13430 | ||
c32bde28 | 13431 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13432 | PyObject *obj; |
13433 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13434 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
13435 | Py_INCREF(obj); | |
13436 | return Py_BuildValue((char *)""); | |
13437 | } | |
c32bde28 | 13438 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
b2dc1044 RD |
13439 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
13440 | return 1; | |
13441 | } | |
13442 | ||
13443 | ||
093d3ff1 | 13444 | static PyObject *_wrap_FileSelectorPromptStr_get(void) { |
32fe5131 | 13445 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13446 | |
13447 | { | |
13448 | #if wxUSE_UNICODE | |
13449 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
13450 | #else | |
13451 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
13452 | #endif | |
13453 | } | |
13454 | return pyobj; | |
13455 | } | |
13456 | ||
13457 | ||
c32bde28 | 13458 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
b2dc1044 RD |
13459 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
13460 | return 1; | |
13461 | } | |
13462 | ||
13463 | ||
093d3ff1 | 13464 | static PyObject *_wrap_DirSelectorPromptStr_get(void) { |
32fe5131 | 13465 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13466 | |
13467 | { | |
13468 | #if wxUSE_UNICODE | |
13469 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13470 | #else | |
13471 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13472 | #endif | |
13473 | } | |
13474 | return pyobj; | |
13475 | } | |
13476 | ||
13477 | ||
c32bde28 | 13478 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
b2dc1044 RD |
13479 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
13480 | return 1; | |
13481 | } | |
13482 | ||
13483 | ||
093d3ff1 | 13484 | static PyObject *_wrap_DirDialogNameStr_get(void) { |
32fe5131 | 13485 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13486 | |
13487 | { | |
13488 | #if wxUSE_UNICODE | |
13489 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13490 | #else | |
13491 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13492 | #endif | |
13493 | } | |
13494 | return pyobj; | |
13495 | } | |
13496 | ||
13497 | ||
c32bde28 | 13498 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
b2dc1044 RD |
13499 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
13500 | return 1; | |
13501 | } | |
13502 | ||
13503 | ||
093d3ff1 | 13504 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { |
32fe5131 | 13505 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13506 | |
13507 | { | |
13508 | #if wxUSE_UNICODE | |
13509 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13510 | #else | |
13511 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13512 | #endif | |
13513 | } | |
13514 | return pyobj; | |
13515 | } | |
13516 | ||
13517 | ||
c32bde28 | 13518 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
b2dc1044 RD |
13519 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
13520 | return 1; | |
13521 | } | |
13522 | ||
13523 | ||
093d3ff1 | 13524 | static PyObject *_wrap_GetTextFromUserPromptStr_get(void) { |
32fe5131 | 13525 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13526 | |
13527 | { | |
13528 | #if wxUSE_UNICODE | |
13529 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13530 | #else | |
13531 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13532 | #endif | |
13533 | } | |
13534 | return pyobj; | |
13535 | } | |
13536 | ||
13537 | ||
c32bde28 | 13538 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
b2dc1044 RD |
13539 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
13540 | return 1; | |
13541 | } | |
13542 | ||
13543 | ||
093d3ff1 | 13544 | static PyObject *_wrap_MessageBoxCaptionStr_get(void) { |
32fe5131 | 13545 | PyObject *pyobj = NULL; |
b2dc1044 RD |
13546 | |
13547 | { | |
13548 | #if wxUSE_UNICODE | |
13549 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13550 | #else | |
13551 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13552 | #endif | |
13553 | } | |
13554 | return pyobj; | |
13555 | } | |
13556 | ||
13557 | ||
c32bde28 | 13558 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13559 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13560 | wxColourData *result; |
13561 | char *kwnames[] = { | |
13562 | NULL | |
13563 | }; | |
13564 | ||
13565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
13566 | { | |
13567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13568 | result = (wxColourData *)new wxColourData(); | |
13569 | ||
13570 | wxPyEndAllowThreads(__tstate); | |
13571 | if (PyErr_Occurred()) SWIG_fail; | |
13572 | } | |
15afbcd0 | 13573 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
13574 | return resultobj; |
13575 | fail: | |
13576 | return NULL; | |
13577 | } | |
13578 | ||
13579 | ||
c32bde28 | 13580 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13581 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13582 | wxColourData *arg1 = (wxColourData *) 0 ; |
13583 | PyObject * obj0 = 0 ; | |
13584 | char *kwnames[] = { | |
13585 | (char *) "self", NULL | |
13586 | }; | |
13587 | ||
13588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13589 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13590 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13591 | { |
13592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13593 | delete arg1; | |
13594 | ||
13595 | wxPyEndAllowThreads(__tstate); | |
13596 | if (PyErr_Occurred()) SWIG_fail; | |
13597 | } | |
13598 | Py_INCREF(Py_None); resultobj = Py_None; | |
13599 | return resultobj; | |
13600 | fail: | |
13601 | return NULL; | |
13602 | } | |
13603 | ||
13604 | ||
c32bde28 | 13605 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13606 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13607 | wxColourData *arg1 = (wxColourData *) 0 ; |
13608 | bool result; | |
13609 | PyObject * obj0 = 0 ; | |
13610 | char *kwnames[] = { | |
13611 | (char *) "self", NULL | |
13612 | }; | |
13613 | ||
13614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13615 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13616 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13617 | { |
13618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13619 | result = (bool)(arg1)->GetChooseFull(); | |
13620 | ||
13621 | wxPyEndAllowThreads(__tstate); | |
13622 | if (PyErr_Occurred()) SWIG_fail; | |
13623 | } | |
4f89f6a3 RD |
13624 | { |
13625 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13626 | } | |
d14a1e28 RD |
13627 | return resultobj; |
13628 | fail: | |
13629 | return NULL; | |
13630 | } | |
13631 | ||
13632 | ||
c32bde28 | 13633 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13634 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13635 | wxColourData *arg1 = (wxColourData *) 0 ; |
13636 | wxColour result; | |
13637 | PyObject * obj0 = 0 ; | |
13638 | char *kwnames[] = { | |
13639 | (char *) "self", NULL | |
13640 | }; | |
13641 | ||
13642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13643 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13644 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13645 | { |
13646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13647 | result = (arg1)->GetColour(); | |
13648 | ||
13649 | wxPyEndAllowThreads(__tstate); | |
13650 | if (PyErr_Occurred()) SWIG_fail; | |
13651 | } | |
13652 | { | |
13653 | wxColour * resultptr; | |
32fe5131 | 13654 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
15afbcd0 | 13655 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
13656 | } |
13657 | return resultobj; | |
13658 | fail: | |
13659 | return NULL; | |
13660 | } | |
13661 | ||
13662 | ||
c32bde28 | 13663 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13664 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13665 | wxColourData *arg1 = (wxColourData *) 0 ; |
13666 | int arg2 ; | |
13667 | wxColour result; | |
13668 | PyObject * obj0 = 0 ; | |
994141e6 | 13669 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13670 | char *kwnames[] = { |
13671 | (char *) "self",(char *) "i", NULL | |
13672 | }; | |
13673 | ||
994141e6 | 13674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
13675 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13676 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13677 | { | |
32fe5131 | 13678 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
13679 | if (SWIG_arg_fail(2)) SWIG_fail; |
13680 | } | |
d14a1e28 RD |
13681 | { |
13682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13683 | result = (arg1)->GetCustomColour(arg2); | |
13684 | ||
13685 | wxPyEndAllowThreads(__tstate); | |
13686 | if (PyErr_Occurred()) SWIG_fail; | |
13687 | } | |
13688 | { | |
13689 | wxColour * resultptr; | |
32fe5131 | 13690 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
15afbcd0 | 13691 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
13692 | } |
13693 | return resultobj; | |
13694 | fail: | |
13695 | return NULL; | |
13696 | } | |
13697 | ||
13698 | ||
c32bde28 | 13699 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13700 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13701 | wxColourData *arg1 = (wxColourData *) 0 ; |
13702 | int arg2 ; | |
13703 | PyObject * obj0 = 0 ; | |
994141e6 | 13704 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13705 | char *kwnames[] = { |
13706 | (char *) "self",(char *) "flag", NULL | |
13707 | }; | |
13708 | ||
994141e6 | 13709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
13710 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13711 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13712 | { | |
32fe5131 | 13713 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
13714 | if (SWIG_arg_fail(2)) SWIG_fail; |
13715 | } | |
d14a1e28 RD |
13716 | { |
13717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13718 | (arg1)->SetChooseFull(arg2); | |
13719 | ||
13720 | wxPyEndAllowThreads(__tstate); | |
13721 | if (PyErr_Occurred()) SWIG_fail; | |
13722 | } | |
13723 | Py_INCREF(Py_None); resultobj = Py_None; | |
13724 | return resultobj; | |
13725 | fail: | |
13726 | return NULL; | |
13727 | } | |
13728 | ||
13729 | ||
c32bde28 | 13730 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13731 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13732 | wxColourData *arg1 = (wxColourData *) 0 ; |
13733 | wxColour *arg2 = 0 ; | |
13734 | wxColour temp2 ; | |
13735 | PyObject * obj0 = 0 ; | |
13736 | PyObject * obj1 = 0 ; | |
13737 | char *kwnames[] = { | |
13738 | (char *) "self",(char *) "colour", NULL | |
13739 | }; | |
13740 | ||
13741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13742 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13743 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13744 | { |
13745 | arg2 = &temp2; | |
13746 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13747 | } | |
13748 | { | |
13749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13750 | (arg1)->SetColour((wxColour const &)*arg2); | |
13751 | ||
13752 | wxPyEndAllowThreads(__tstate); | |
13753 | if (PyErr_Occurred()) SWIG_fail; | |
13754 | } | |
13755 | Py_INCREF(Py_None); resultobj = Py_None; | |
13756 | return resultobj; | |
13757 | fail: | |
13758 | return NULL; | |
13759 | } | |
13760 | ||
13761 | ||
c32bde28 | 13762 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13763 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13764 | wxColourData *arg1 = (wxColourData *) 0 ; |
13765 | int arg2 ; | |
13766 | wxColour *arg3 = 0 ; | |
13767 | wxColour temp3 ; | |
13768 | PyObject * obj0 = 0 ; | |
994141e6 | 13769 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13770 | PyObject * obj2 = 0 ; |
13771 | char *kwnames[] = { | |
13772 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
13773 | }; | |
13774 | ||
994141e6 | 13775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
13776 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13777 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13778 | { | |
32fe5131 | 13779 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
13780 | if (SWIG_arg_fail(2)) SWIG_fail; |
13781 | } | |
d14a1e28 RD |
13782 | { |
13783 | arg3 = &temp3; | |
13784 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13785 | } | |
13786 | { | |
13787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13788 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
13789 | ||
13790 | wxPyEndAllowThreads(__tstate); | |
13791 | if (PyErr_Occurred()) SWIG_fail; | |
13792 | } | |
13793 | Py_INCREF(Py_None); resultobj = Py_None; | |
13794 | return resultobj; | |
13795 | fail: | |
13796 | return NULL; | |
13797 | } | |
13798 | ||
13799 | ||
c32bde28 | 13800 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13801 | PyObject *obj; |
13802 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13803 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
13804 | Py_INCREF(obj); | |
13805 | return Py_BuildValue((char *)""); | |
13806 | } | |
c32bde28 | 13807 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13808 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13809 | wxWindow *arg1 = (wxWindow *) 0 ; |
13810 | wxColourData *arg2 = (wxColourData *) NULL ; | |
13811 | wxColourDialog *result; | |
13812 | PyObject * obj0 = 0 ; | |
13813 | PyObject * obj1 = 0 ; | |
13814 | char *kwnames[] = { | |
13815 | (char *) "parent",(char *) "data", NULL | |
13816 | }; | |
13817 | ||
13818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13819 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13820 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 13821 | if (obj1) { |
093d3ff1 RD |
13822 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13823 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
13824 | } |
13825 | { | |
e3b71cb8 | 13826 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13828 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
13829 | ||
13830 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13831 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13832 | } |
15afbcd0 | 13833 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
13834 | return resultobj; |
13835 | fail: | |
13836 | return NULL; | |
13837 | } | |
13838 | ||
13839 | ||
c32bde28 | 13840 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13841 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13842 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; |
13843 | wxColourData *result; | |
13844 | PyObject * obj0 = 0 ; | |
13845 | char *kwnames[] = { | |
13846 | (char *) "self", NULL | |
13847 | }; | |
13848 | ||
13849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13850 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0); |
13851 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13852 | { |
13853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13854 | { | |
13855 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
13856 | result = (wxColourData *) &_result_ref; | |
13857 | } | |
13858 | ||
13859 | wxPyEndAllowThreads(__tstate); | |
13860 | if (PyErr_Occurred()) SWIG_fail; | |
13861 | } | |
15afbcd0 | 13862 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
13863 | return resultobj; |
13864 | fail: | |
13865 | return NULL; | |
13866 | } | |
13867 | ||
13868 | ||
c32bde28 | 13869 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13870 | PyObject *obj; |
13871 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13872 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
13873 | Py_INCREF(obj); | |
13874 | return Py_BuildValue((char *)""); | |
13875 | } | |
32fe5131 RD |
13876 | static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) { |
13877 | PyObject *resultobj = NULL; | |
13878 | wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ; | |
13879 | wxColour const &arg2_defvalue = wxNullColour ; | |
13880 | wxColour *arg2 = (wxColour *) &arg2_defvalue ; | |
13881 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13882 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13883 | wxColour result; | |
13884 | wxColour temp2 ; | |
13885 | bool temp3 = false ; | |
13886 | PyObject * obj0 = 0 ; | |
13887 | PyObject * obj1 = 0 ; | |
13888 | PyObject * obj2 = 0 ; | |
13889 | char *kwnames[] = { | |
13890 | (char *) "parent",(char *) "colInit",(char *) "caption", NULL | |
13891 | }; | |
13892 | ||
13893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13894 | if (obj0) { | |
13895 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
13896 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13897 | } | |
13898 | if (obj1) { | |
13899 | { | |
13900 | arg2 = &temp2; | |
13901 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13902 | } | |
13903 | } | |
13904 | if (obj2) { | |
13905 | { | |
13906 | arg3 = wxString_in_helper(obj2); | |
13907 | if (arg3 == NULL) SWIG_fail; | |
13908 | temp3 = true; | |
13909 | } | |
13910 | } | |
13911 | { | |
13912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13913 | result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3); | |
13914 | ||
13915 | wxPyEndAllowThreads(__tstate); | |
13916 | if (PyErr_Occurred()) SWIG_fail; | |
13917 | } | |
13918 | { | |
13919 | wxColour * resultptr; | |
13920 | resultptr = new wxColour(static_cast<wxColour & >(result)); | |
13921 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
13922 | } | |
13923 | { | |
13924 | if (temp3) | |
13925 | delete arg3; | |
13926 | } | |
13927 | return resultobj; | |
13928 | fail: | |
13929 | { | |
13930 | if (temp3) | |
13931 | delete arg3; | |
13932 | } | |
13933 | return NULL; | |
13934 | } | |
13935 | ||
13936 | ||
c32bde28 | 13937 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13938 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13939 | wxWindow *arg1 = (wxWindow *) 0 ; |
13940 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
13941 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
13942 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13943 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13944 | long arg4 = (long) 0 ; | |
13945 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13946 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13947 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
13948 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
13949 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
13950 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13951 | wxDirDialog *result; | |
ae8162c8 RD |
13952 | bool temp2 = false ; |
13953 | bool temp3 = false ; | |
d14a1e28 RD |
13954 | wxPoint temp5 ; |
13955 | wxSize temp6 ; | |
ae8162c8 | 13956 | bool temp7 = false ; |
d14a1e28 RD |
13957 | PyObject * obj0 = 0 ; |
13958 | PyObject * obj1 = 0 ; | |
13959 | PyObject * obj2 = 0 ; | |
994141e6 | 13960 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13961 | PyObject * obj4 = 0 ; |
13962 | PyObject * obj5 = 0 ; | |
13963 | PyObject * obj6 = 0 ; | |
13964 | char *kwnames[] = { | |
13965 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
13966 | }; | |
13967 | ||
994141e6 | 13968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) 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 RD |
13971 | if (obj1) { |
13972 | { | |
13973 | arg2 = wxString_in_helper(obj1); | |
13974 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 13975 | temp2 = true; |
d14a1e28 RD |
13976 | } |
13977 | } | |
13978 | if (obj2) { | |
13979 | { | |
13980 | arg3 = wxString_in_helper(obj2); | |
13981 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 13982 | temp3 = true; |
d14a1e28 RD |
13983 | } |
13984 | } | |
994141e6 | 13985 | if (obj3) { |
093d3ff1 | 13986 | { |
32fe5131 | 13987 | arg4 = static_cast<long >(SWIG_As_long(obj3)); |
093d3ff1 RD |
13988 | if (SWIG_arg_fail(4)) SWIG_fail; |
13989 | } | |
994141e6 | 13990 | } |
d14a1e28 RD |
13991 | if (obj4) { |
13992 | { | |
13993 | arg5 = &temp5; | |
13994 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13995 | } | |
13996 | } | |
13997 | if (obj5) { | |
13998 | { | |
13999 | arg6 = &temp6; | |
14000 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14001 | } | |
14002 | } | |
14003 | if (obj6) { | |
14004 | { | |
14005 | arg7 = wxString_in_helper(obj6); | |
14006 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 14007 | temp7 = true; |
d14a1e28 RD |
14008 | } |
14009 | } | |
14010 | { | |
e3b71cb8 | 14011 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14013 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
14014 | ||
14015 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14016 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14017 | } |
15afbcd0 | 14018 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
14019 | { |
14020 | if (temp2) | |
14021 | delete arg2; | |
14022 | } | |
14023 | { | |
14024 | if (temp3) | |
14025 | delete arg3; | |
14026 | } | |
14027 | { | |
14028 | if (temp7) | |
14029 | delete arg7; | |
14030 | } | |
14031 | return resultobj; | |
14032 | fail: | |
14033 | { | |
14034 | if (temp2) | |
14035 | delete arg2; | |
14036 | } | |
14037 | { | |
14038 | if (temp3) | |
14039 | delete arg3; | |
14040 | } | |
14041 | { | |
14042 | if (temp7) | |
14043 | delete arg7; | |
14044 | } | |
14045 | return NULL; | |
14046 | } | |
14047 | ||
14048 | ||
c32bde28 | 14049 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14050 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14051 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
14052 | wxString result; | |
14053 | PyObject * obj0 = 0 ; | |
14054 | char *kwnames[] = { | |
14055 | (char *) "self", NULL | |
14056 | }; | |
14057 | ||
14058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14059 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
14060 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14061 | { |
14062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14063 | result = (arg1)->GetPath(); | |
14064 | ||
14065 | wxPyEndAllowThreads(__tstate); | |
14066 | if (PyErr_Occurred()) SWIG_fail; | |
14067 | } | |
14068 | { | |
14069 | #if wxUSE_UNICODE | |
14070 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14071 | #else | |
14072 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14073 | #endif | |
14074 | } | |
14075 | return resultobj; | |
14076 | fail: | |
14077 | return NULL; | |
14078 | } | |
14079 | ||
14080 | ||
c32bde28 | 14081 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14082 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14083 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
14084 | wxString result; | |
14085 | PyObject * obj0 = 0 ; | |
14086 | char *kwnames[] = { | |
14087 | (char *) "self", NULL | |
14088 | }; | |
14089 | ||
14090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14091 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
14092 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14093 | { |
14094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14095 | result = (arg1)->GetMessage(); | |
14096 | ||
14097 | wxPyEndAllowThreads(__tstate); | |
14098 | if (PyErr_Occurred()) SWIG_fail; | |
14099 | } | |
14100 | { | |
14101 | #if wxUSE_UNICODE | |
14102 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14103 | #else | |
14104 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14105 | #endif | |
14106 | } | |
14107 | return resultobj; | |
14108 | fail: | |
14109 | return NULL; | |
14110 | } | |
14111 | ||
14112 | ||
c32bde28 | 14113 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14114 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14115 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
14116 | long result; | |
14117 | PyObject * obj0 = 0 ; | |
14118 | char *kwnames[] = { | |
14119 | (char *) "self", NULL | |
14120 | }; | |
14121 | ||
14122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14123 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
14124 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14125 | { |
14126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14127 | result = (long)(arg1)->GetStyle(); | |
14128 | ||
14129 | wxPyEndAllowThreads(__tstate); | |
14130 | if (PyErr_Occurred()) SWIG_fail; | |
14131 | } | |
093d3ff1 | 14132 | { |
32fe5131 | 14133 | resultobj = SWIG_From_long(static_cast<long >(result)); |
093d3ff1 | 14134 | } |
d14a1e28 RD |
14135 | return resultobj; |
14136 | fail: | |
14137 | return NULL; | |
14138 | } | |
14139 | ||
14140 | ||
c32bde28 | 14141 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14142 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14143 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
14144 | wxString *arg2 = 0 ; | |
ae8162c8 | 14145 | bool temp2 = false ; |
d14a1e28 RD |
14146 | PyObject * obj0 = 0 ; |
14147 | PyObject * obj1 = 0 ; | |
14148 | char *kwnames[] = { | |
14149 | (char *) "self",(char *) "message", NULL | |
14150 | }; | |
14151 | ||
14152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
14154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14155 | { |
14156 | arg2 = wxString_in_helper(obj1); | |
14157 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14158 | temp2 = true; |
d14a1e28 RD |
14159 | } |
14160 | { | |
14161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14162 | (arg1)->SetMessage((wxString const &)*arg2); | |
14163 | ||
14164 | wxPyEndAllowThreads(__tstate); | |
14165 | if (PyErr_Occurred()) SWIG_fail; | |
14166 | } | |
14167 | Py_INCREF(Py_None); resultobj = Py_None; | |
14168 | { | |
14169 | if (temp2) | |
14170 | delete arg2; | |
14171 | } | |
14172 | return resultobj; | |
14173 | fail: | |
14174 | { | |
14175 | if (temp2) | |
14176 | delete arg2; | |
14177 | } | |
14178 | return NULL; | |
14179 | } | |
14180 | ||
14181 | ||
c32bde28 | 14182 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14183 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14184 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; |
14185 | wxString *arg2 = 0 ; | |
ae8162c8 | 14186 | bool temp2 = false ; |
d14a1e28 RD |
14187 | PyObject * obj0 = 0 ; |
14188 | PyObject * obj1 = 0 ; | |
14189 | char *kwnames[] = { | |
14190 | (char *) "self",(char *) "path", NULL | |
14191 | }; | |
14192 | ||
14193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14194 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
14195 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14196 | { |
14197 | arg2 = wxString_in_helper(obj1); | |
14198 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14199 | temp2 = true; |
d14a1e28 RD |
14200 | } |
14201 | { | |
14202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14203 | (arg1)->SetPath((wxString const &)*arg2); | |
14204 | ||
14205 | wxPyEndAllowThreads(__tstate); | |
14206 | if (PyErr_Occurred()) SWIG_fail; | |
14207 | } | |
14208 | Py_INCREF(Py_None); resultobj = Py_None; | |
14209 | { | |
14210 | if (temp2) | |
14211 | delete arg2; | |
14212 | } | |
14213 | return resultobj; | |
14214 | fail: | |
14215 | { | |
14216 | if (temp2) | |
14217 | delete arg2; | |
14218 | } | |
14219 | return NULL; | |
14220 | } | |
14221 | ||
14222 | ||
c32bde28 | 14223 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14224 | PyObject *obj; |
14225 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14226 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
14227 | Py_INCREF(obj); | |
14228 | return Py_BuildValue((char *)""); | |
14229 | } | |
c32bde28 | 14230 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14231 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14232 | wxWindow *arg1 = (wxWindow *) 0 ; |
14233 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
14234 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
14235 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14236 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14237 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14238 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
14239 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
14240 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
14241 | long arg6 = (long) 0 ; | |
14242 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14243 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14244 | wxFileDialog *result; | |
ae8162c8 RD |
14245 | bool temp2 = false ; |
14246 | bool temp3 = false ; | |
14247 | bool temp4 = false ; | |
14248 | bool temp5 = false ; | |
d14a1e28 RD |
14249 | wxPoint temp7 ; |
14250 | PyObject * obj0 = 0 ; | |
14251 | PyObject * obj1 = 0 ; | |
14252 | PyObject * obj2 = 0 ; | |
14253 | PyObject * obj3 = 0 ; | |
14254 | PyObject * obj4 = 0 ; | |
994141e6 | 14255 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14256 | PyObject * obj6 = 0 ; |
14257 | char *kwnames[] = { | |
14258 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
14259 | }; | |
14260 | ||
994141e6 | 14261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
14262 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14263 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14264 | if (obj1) { |
14265 | { | |
14266 | arg2 = wxString_in_helper(obj1); | |
14267 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14268 | temp2 = true; |
d14a1e28 RD |
14269 | } |
14270 | } | |
14271 | if (obj2) { | |
14272 | { | |
14273 | arg3 = wxString_in_helper(obj2); | |
14274 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14275 | temp3 = true; |
d14a1e28 RD |
14276 | } |
14277 | } | |
14278 | if (obj3) { | |
14279 | { | |
14280 | arg4 = wxString_in_helper(obj3); | |
14281 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 14282 | temp4 = true; |
d14a1e28 RD |
14283 | } |
14284 | } | |
14285 | if (obj4) { | |
14286 | { | |
14287 | arg5 = wxString_in_helper(obj4); | |
14288 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 14289 | temp5 = true; |
d14a1e28 RD |
14290 | } |
14291 | } | |
994141e6 | 14292 | if (obj5) { |
093d3ff1 | 14293 | { |
32fe5131 | 14294 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
14295 | if (SWIG_arg_fail(6)) SWIG_fail; |
14296 | } | |
994141e6 | 14297 | } |
d14a1e28 RD |
14298 | if (obj6) { |
14299 | { | |
14300 | arg7 = &temp7; | |
14301 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
14302 | } | |
14303 | } | |
14304 | { | |
e3b71cb8 | 14305 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14307 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
14308 | ||
14309 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14310 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14311 | } |
15afbcd0 | 14312 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
14313 | { |
14314 | if (temp2) | |
14315 | delete arg2; | |
14316 | } | |
14317 | { | |
14318 | if (temp3) | |
14319 | delete arg3; | |
14320 | } | |
14321 | { | |
14322 | if (temp4) | |
14323 | delete arg4; | |
14324 | } | |
14325 | { | |
14326 | if (temp5) | |
14327 | delete arg5; | |
14328 | } | |
14329 | return resultobj; | |
14330 | fail: | |
14331 | { | |
14332 | if (temp2) | |
14333 | delete arg2; | |
14334 | } | |
14335 | { | |
14336 | if (temp3) | |
14337 | delete arg3; | |
14338 | } | |
14339 | { | |
14340 | if (temp4) | |
14341 | delete arg4; | |
14342 | } | |
14343 | { | |
14344 | if (temp5) | |
14345 | delete arg5; | |
14346 | } | |
14347 | return NULL; | |
14348 | } | |
14349 | ||
14350 | ||
c32bde28 | 14351 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14352 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14353 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14354 | wxString *arg2 = 0 ; | |
ae8162c8 | 14355 | bool temp2 = false ; |
d14a1e28 RD |
14356 | PyObject * obj0 = 0 ; |
14357 | PyObject * obj1 = 0 ; | |
14358 | char *kwnames[] = { | |
14359 | (char *) "self",(char *) "message", NULL | |
14360 | }; | |
14361 | ||
14362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14363 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14364 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14365 | { |
14366 | arg2 = wxString_in_helper(obj1); | |
14367 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14368 | temp2 = true; |
d14a1e28 RD |
14369 | } |
14370 | { | |
14371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14372 | (arg1)->SetMessage((wxString const &)*arg2); | |
14373 | ||
14374 | wxPyEndAllowThreads(__tstate); | |
14375 | if (PyErr_Occurred()) SWIG_fail; | |
14376 | } | |
14377 | Py_INCREF(Py_None); resultobj = Py_None; | |
14378 | { | |
14379 | if (temp2) | |
14380 | delete arg2; | |
14381 | } | |
14382 | return resultobj; | |
14383 | fail: | |
14384 | { | |
14385 | if (temp2) | |
14386 | delete arg2; | |
14387 | } | |
14388 | return NULL; | |
14389 | } | |
14390 | ||
14391 | ||
c32bde28 | 14392 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14393 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14394 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14395 | wxString *arg2 = 0 ; | |
ae8162c8 | 14396 | bool temp2 = false ; |
d14a1e28 RD |
14397 | PyObject * obj0 = 0 ; |
14398 | PyObject * obj1 = 0 ; | |
14399 | char *kwnames[] = { | |
14400 | (char *) "self",(char *) "path", NULL | |
14401 | }; | |
14402 | ||
14403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14404 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14405 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14406 | { |
14407 | arg2 = wxString_in_helper(obj1); | |
14408 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14409 | temp2 = true; |
d14a1e28 RD |
14410 | } |
14411 | { | |
14412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14413 | (arg1)->SetPath((wxString const &)*arg2); | |
14414 | ||
14415 | wxPyEndAllowThreads(__tstate); | |
14416 | if (PyErr_Occurred()) SWIG_fail; | |
14417 | } | |
14418 | Py_INCREF(Py_None); resultobj = Py_None; | |
14419 | { | |
14420 | if (temp2) | |
14421 | delete arg2; | |
14422 | } | |
14423 | return resultobj; | |
14424 | fail: | |
14425 | { | |
14426 | if (temp2) | |
14427 | delete arg2; | |
14428 | } | |
14429 | return NULL; | |
14430 | } | |
14431 | ||
14432 | ||
c32bde28 | 14433 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14434 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14435 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14436 | wxString *arg2 = 0 ; | |
ae8162c8 | 14437 | bool temp2 = false ; |
d14a1e28 RD |
14438 | PyObject * obj0 = 0 ; |
14439 | PyObject * obj1 = 0 ; | |
14440 | char *kwnames[] = { | |
14441 | (char *) "self",(char *) "dir", NULL | |
14442 | }; | |
14443 | ||
14444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14447 | { |
14448 | arg2 = wxString_in_helper(obj1); | |
14449 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14450 | temp2 = true; |
d14a1e28 RD |
14451 | } |
14452 | { | |
14453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14454 | (arg1)->SetDirectory((wxString const &)*arg2); | |
14455 | ||
14456 | wxPyEndAllowThreads(__tstate); | |
14457 | if (PyErr_Occurred()) SWIG_fail; | |
14458 | } | |
14459 | Py_INCREF(Py_None); resultobj = Py_None; | |
14460 | { | |
14461 | if (temp2) | |
14462 | delete arg2; | |
14463 | } | |
14464 | return resultobj; | |
14465 | fail: | |
14466 | { | |
14467 | if (temp2) | |
14468 | delete arg2; | |
14469 | } | |
14470 | return NULL; | |
14471 | } | |
14472 | ||
14473 | ||
c32bde28 | 14474 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14475 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14476 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14477 | wxString *arg2 = 0 ; | |
ae8162c8 | 14478 | bool temp2 = false ; |
d14a1e28 RD |
14479 | PyObject * obj0 = 0 ; |
14480 | PyObject * obj1 = 0 ; | |
14481 | char *kwnames[] = { | |
14482 | (char *) "self",(char *) "name", NULL | |
14483 | }; | |
14484 | ||
14485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14486 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14487 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14488 | { |
14489 | arg2 = wxString_in_helper(obj1); | |
14490 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14491 | temp2 = true; |
d14a1e28 RD |
14492 | } |
14493 | { | |
14494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14495 | (arg1)->SetFilename((wxString const &)*arg2); | |
14496 | ||
14497 | wxPyEndAllowThreads(__tstate); | |
14498 | if (PyErr_Occurred()) SWIG_fail; | |
14499 | } | |
14500 | Py_INCREF(Py_None); resultobj = Py_None; | |
14501 | { | |
14502 | if (temp2) | |
14503 | delete arg2; | |
14504 | } | |
14505 | return resultobj; | |
14506 | fail: | |
14507 | { | |
14508 | if (temp2) | |
14509 | delete arg2; | |
14510 | } | |
14511 | return NULL; | |
14512 | } | |
14513 | ||
14514 | ||
c32bde28 | 14515 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14516 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14517 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14518 | wxString *arg2 = 0 ; | |
ae8162c8 | 14519 | bool temp2 = false ; |
d14a1e28 RD |
14520 | PyObject * obj0 = 0 ; |
14521 | PyObject * obj1 = 0 ; | |
14522 | char *kwnames[] = { | |
14523 | (char *) "self",(char *) "wildCard", NULL | |
14524 | }; | |
14525 | ||
14526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14527 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14528 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14529 | { |
14530 | arg2 = wxString_in_helper(obj1); | |
14531 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14532 | temp2 = true; |
d14a1e28 RD |
14533 | } |
14534 | { | |
14535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14536 | (arg1)->SetWildcard((wxString const &)*arg2); | |
14537 | ||
14538 | wxPyEndAllowThreads(__tstate); | |
14539 | if (PyErr_Occurred()) SWIG_fail; | |
14540 | } | |
14541 | Py_INCREF(Py_None); resultobj = Py_None; | |
14542 | { | |
14543 | if (temp2) | |
14544 | delete arg2; | |
14545 | } | |
14546 | return resultobj; | |
14547 | fail: | |
14548 | { | |
14549 | if (temp2) | |
14550 | delete arg2; | |
14551 | } | |
14552 | return NULL; | |
14553 | } | |
14554 | ||
14555 | ||
c32bde28 | 14556 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14557 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14558 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14559 | long arg2 ; | |
14560 | PyObject * obj0 = 0 ; | |
994141e6 | 14561 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14562 | char *kwnames[] = { |
14563 | (char *) "self",(char *) "style", NULL | |
14564 | }; | |
14565 | ||
994141e6 | 14566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
14567 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14568 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14569 | { | |
32fe5131 | 14570 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
14571 | if (SWIG_arg_fail(2)) SWIG_fail; |
14572 | } | |
d14a1e28 RD |
14573 | { |
14574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14575 | (arg1)->SetStyle(arg2); | |
14576 | ||
14577 | wxPyEndAllowThreads(__tstate); | |
14578 | if (PyErr_Occurred()) SWIG_fail; | |
14579 | } | |
14580 | Py_INCREF(Py_None); resultobj = Py_None; | |
14581 | return resultobj; | |
14582 | fail: | |
14583 | return NULL; | |
14584 | } | |
14585 | ||
14586 | ||
c32bde28 | 14587 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14588 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14589 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14590 | int arg2 ; | |
14591 | PyObject * obj0 = 0 ; | |
994141e6 | 14592 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14593 | char *kwnames[] = { |
14594 | (char *) "self",(char *) "filterIndex", NULL | |
14595 | }; | |
14596 | ||
994141e6 | 14597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
14598 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14599 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14600 | { | |
32fe5131 | 14601 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
14602 | if (SWIG_arg_fail(2)) SWIG_fail; |
14603 | } | |
d14a1e28 RD |
14604 | { |
14605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14606 | (arg1)->SetFilterIndex(arg2); | |
14607 | ||
14608 | wxPyEndAllowThreads(__tstate); | |
14609 | if (PyErr_Occurred()) SWIG_fail; | |
14610 | } | |
14611 | Py_INCREF(Py_None); resultobj = Py_None; | |
14612 | return resultobj; | |
14613 | fail: | |
14614 | return NULL; | |
14615 | } | |
14616 | ||
14617 | ||
c32bde28 | 14618 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14619 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14620 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14621 | wxString result; | |
14622 | PyObject * obj0 = 0 ; | |
14623 | char *kwnames[] = { | |
14624 | (char *) "self", NULL | |
14625 | }; | |
14626 | ||
14627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14628 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14629 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14630 | { |
14631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14632 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
14633 | ||
14634 | wxPyEndAllowThreads(__tstate); | |
14635 | if (PyErr_Occurred()) SWIG_fail; | |
14636 | } | |
14637 | { | |
14638 | #if wxUSE_UNICODE | |
14639 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14640 | #else | |
14641 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14642 | #endif | |
14643 | } | |
14644 | return resultobj; | |
14645 | fail: | |
14646 | return NULL; | |
14647 | } | |
14648 | ||
14649 | ||
c32bde28 | 14650 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14651 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14652 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14653 | wxString result; | |
14654 | PyObject * obj0 = 0 ; | |
14655 | char *kwnames[] = { | |
14656 | (char *) "self", NULL | |
14657 | }; | |
14658 | ||
14659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14660 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14661 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14662 | { |
14663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14664 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
14665 | ||
14666 | wxPyEndAllowThreads(__tstate); | |
14667 | if (PyErr_Occurred()) SWIG_fail; | |
14668 | } | |
14669 | { | |
14670 | #if wxUSE_UNICODE | |
14671 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14672 | #else | |
14673 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14674 | #endif | |
14675 | } | |
14676 | return resultobj; | |
14677 | fail: | |
14678 | return NULL; | |
14679 | } | |
14680 | ||
14681 | ||
c32bde28 | 14682 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14683 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14684 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14685 | wxString result; | |
14686 | PyObject * obj0 = 0 ; | |
14687 | char *kwnames[] = { | |
14688 | (char *) "self", NULL | |
14689 | }; | |
14690 | ||
14691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14694 | { |
14695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14696 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
14697 | ||
14698 | wxPyEndAllowThreads(__tstate); | |
14699 | if (PyErr_Occurred()) SWIG_fail; | |
14700 | } | |
14701 | { | |
14702 | #if wxUSE_UNICODE | |
14703 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14704 | #else | |
14705 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14706 | #endif | |
14707 | } | |
14708 | return resultobj; | |
14709 | fail: | |
14710 | return NULL; | |
14711 | } | |
14712 | ||
14713 | ||
c32bde28 | 14714 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14715 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14716 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14717 | wxString result; | |
14718 | PyObject * obj0 = 0 ; | |
14719 | char *kwnames[] = { | |
14720 | (char *) "self", NULL | |
14721 | }; | |
14722 | ||
14723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14724 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14725 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14726 | { |
14727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14728 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
14729 | ||
14730 | wxPyEndAllowThreads(__tstate); | |
14731 | if (PyErr_Occurred()) SWIG_fail; | |
14732 | } | |
14733 | { | |
14734 | #if wxUSE_UNICODE | |
14735 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14736 | #else | |
14737 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14738 | #endif | |
14739 | } | |
14740 | return resultobj; | |
14741 | fail: | |
14742 | return NULL; | |
14743 | } | |
14744 | ||
14745 | ||
c32bde28 | 14746 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14747 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14748 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14749 | wxString result; | |
14750 | PyObject * obj0 = 0 ; | |
14751 | char *kwnames[] = { | |
14752 | (char *) "self", NULL | |
14753 | }; | |
14754 | ||
14755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14756 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14757 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14758 | { |
14759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14760 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
14761 | ||
14762 | wxPyEndAllowThreads(__tstate); | |
14763 | if (PyErr_Occurred()) SWIG_fail; | |
14764 | } | |
14765 | { | |
14766 | #if wxUSE_UNICODE | |
14767 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14768 | #else | |
14769 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14770 | #endif | |
14771 | } | |
14772 | return resultobj; | |
14773 | fail: | |
14774 | return NULL; | |
14775 | } | |
14776 | ||
14777 | ||
c32bde28 | 14778 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14779 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14780 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14781 | long result; | |
14782 | PyObject * obj0 = 0 ; | |
14783 | char *kwnames[] = { | |
14784 | (char *) "self", NULL | |
14785 | }; | |
14786 | ||
14787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14788 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14789 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14790 | { |
14791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14792 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
14793 | ||
14794 | wxPyEndAllowThreads(__tstate); | |
14795 | if (PyErr_Occurred()) SWIG_fail; | |
14796 | } | |
093d3ff1 | 14797 | { |
32fe5131 | 14798 | resultobj = SWIG_From_long(static_cast<long >(result)); |
093d3ff1 | 14799 | } |
d14a1e28 RD |
14800 | return resultobj; |
14801 | fail: | |
14802 | return NULL; | |
14803 | } | |
14804 | ||
14805 | ||
c32bde28 | 14806 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14807 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14808 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14809 | int result; | |
14810 | PyObject * obj0 = 0 ; | |
14811 | char *kwnames[] = { | |
14812 | (char *) "self", NULL | |
14813 | }; | |
14814 | ||
14815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14816 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14817 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14818 | { |
14819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14820 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
14821 | ||
14822 | wxPyEndAllowThreads(__tstate); | |
14823 | if (PyErr_Occurred()) SWIG_fail; | |
14824 | } | |
093d3ff1 | 14825 | { |
32fe5131 | 14826 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 14827 | } |
d14a1e28 RD |
14828 | return resultobj; |
14829 | fail: | |
14830 | return NULL; | |
14831 | } | |
14832 | ||
14833 | ||
c32bde28 | 14834 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14835 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14836 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14837 | PyObject *result; | |
14838 | PyObject * obj0 = 0 ; | |
14839 | char *kwnames[] = { | |
14840 | (char *) "self", NULL | |
14841 | }; | |
14842 | ||
14843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14844 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14845 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14846 | { |
14847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14848 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
14849 | ||
14850 | wxPyEndAllowThreads(__tstate); | |
14851 | if (PyErr_Occurred()) SWIG_fail; | |
14852 | } | |
14853 | resultobj = result; | |
14854 | return resultobj; | |
14855 | fail: | |
14856 | return NULL; | |
14857 | } | |
14858 | ||
14859 | ||
c32bde28 | 14860 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14861 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14862 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; |
14863 | PyObject *result; | |
14864 | PyObject * obj0 = 0 ; | |
14865 | char *kwnames[] = { | |
14866 | (char *) "self", NULL | |
14867 | }; | |
14868 | ||
14869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14870 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14871 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14872 | { |
14873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14874 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
14875 | ||
14876 | wxPyEndAllowThreads(__tstate); | |
14877 | if (PyErr_Occurred()) SWIG_fail; | |
14878 | } | |
14879 | resultobj = result; | |
14880 | return resultobj; | |
14881 | fail: | |
14882 | return NULL; | |
14883 | } | |
14884 | ||
14885 | ||
c32bde28 | 14886 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14887 | PyObject *obj; |
14888 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14889 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
14890 | Py_INCREF(obj); | |
14891 | return Py_BuildValue((char *)""); | |
14892 | } | |
c32bde28 | 14893 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14894 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14895 | wxWindow *arg1 = (wxWindow *) 0 ; |
14896 | wxString *arg2 = 0 ; | |
14897 | wxString *arg3 = 0 ; | |
4d5c3d91 | 14898 | int arg4 = (int) 0 ; |
248ed943 | 14899 | wxString *arg5 = (wxString *) NULL ; |
d14a1e28 RD |
14900 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
14901 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14902 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14903 | wxMultiChoiceDialog *result; | |
ae8162c8 RD |
14904 | bool temp2 = false ; |
14905 | bool temp3 = false ; | |
093d3ff1 | 14906 | wxPoint temp7 ; |
d14a1e28 RD |
14907 | PyObject * obj0 = 0 ; |
14908 | PyObject * obj1 = 0 ; | |
14909 | PyObject * obj2 = 0 ; | |
994141e6 | 14910 | PyObject * obj3 = 0 ; |
d14a1e28 | 14911 | PyObject * obj4 = 0 ; |
994141e6 | 14912 | PyObject * obj5 = 0 ; |
d14a1e28 | 14913 | char *kwnames[] = { |
4d5c3d91 | 14914 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
14915 | }; |
14916 | ||
4d5c3d91 | 14917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
14918 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14919 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14920 | { |
14921 | arg2 = wxString_in_helper(obj1); | |
14922 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14923 | temp2 = true; |
d14a1e28 RD |
14924 | } |
14925 | { | |
14926 | arg3 = wxString_in_helper(obj2); | |
14927 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14928 | temp3 = true; |
d14a1e28 | 14929 | } |
4d5c3d91 RD |
14930 | if (obj3) { |
14931 | { | |
14932 | arg4 = PyList_Size(obj3); | |
14933 | arg5 = wxString_LIST_helper(obj3); | |
14934 | if (arg5 == NULL) SWIG_fail; | |
14935 | } | |
7eae615b | 14936 | } |
4d5c3d91 | 14937 | if (obj4) { |
093d3ff1 | 14938 | { |
32fe5131 | 14939 | arg6 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
14940 | if (SWIG_arg_fail(6)) SWIG_fail; |
14941 | } | |
994141e6 | 14942 | } |
4d5c3d91 | 14943 | if (obj5) { |
d14a1e28 | 14944 | { |
093d3ff1 | 14945 | arg7 = &temp7; |
4d5c3d91 | 14946 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
d14a1e28 RD |
14947 | } |
14948 | } | |
14949 | { | |
e3b71cb8 | 14950 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14952 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
14953 | ||
14954 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14955 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14956 | } |
15afbcd0 | 14957 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
14958 | { |
14959 | if (temp2) | |
14960 | delete arg2; | |
14961 | } | |
14962 | { | |
14963 | if (temp3) | |
14964 | delete arg3; | |
14965 | } | |
7eae615b | 14966 | { |
4d5c3d91 | 14967 | if (arg5) delete [] arg5; |
7eae615b | 14968 | } |
d14a1e28 RD |
14969 | return resultobj; |
14970 | fail: | |
14971 | { | |
14972 | if (temp2) | |
14973 | delete arg2; | |
14974 | } | |
14975 | { | |
14976 | if (temp3) | |
14977 | delete arg3; | |
14978 | } | |
7eae615b | 14979 | { |
4d5c3d91 | 14980 | if (arg5) delete [] arg5; |
7eae615b | 14981 | } |
d14a1e28 RD |
14982 | return NULL; |
14983 | } | |
14984 | ||
14985 | ||
c32bde28 | 14986 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14987 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14988 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; |
14989 | wxArrayInt *arg2 = 0 ; | |
ae8162c8 | 14990 | bool temp2 = false ; |
d14a1e28 RD |
14991 | PyObject * obj0 = 0 ; |
14992 | PyObject * obj1 = 0 ; | |
14993 | char *kwnames[] = { | |
14994 | (char *) "self",(char *) "selections", NULL | |
14995 | }; | |
14996 | ||
14997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14998 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14999 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15000 | { |
15001 | if (! PySequence_Check(obj1)) { | |
15002 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
15003 | SWIG_fail; | |
15004 | } | |
15005 | arg2 = new wxArrayInt; | |
ae8162c8 | 15006 | temp2 = true; |
d14a1e28 RD |
15007 | int i, len=PySequence_Length(obj1); |
15008 | for (i=0; i<len; i++) { | |
15009 | PyObject* item = PySequence_GetItem(obj1, i); | |
15010 | PyObject* number = PyNumber_Int(item); | |
15011 | arg2->Add(PyInt_AS_LONG(number)); | |
15012 | Py_DECREF(item); | |
15013 | Py_DECREF(number); | |
15014 | } | |
15015 | } | |
15016 | { | |
15017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15018 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
15019 | ||
15020 | wxPyEndAllowThreads(__tstate); | |
15021 | if (PyErr_Occurred()) SWIG_fail; | |
15022 | } | |
15023 | Py_INCREF(Py_None); resultobj = Py_None; | |
15024 | { | |
3adfb63b | 15025 | if (temp2) delete arg2; |
d14a1e28 RD |
15026 | } |
15027 | return resultobj; | |
15028 | fail: | |
15029 | { | |
3adfb63b | 15030 | if (temp2) delete arg2; |
d14a1e28 RD |
15031 | } |
15032 | return NULL; | |
15033 | } | |
15034 | ||
15035 | ||
c32bde28 | 15036 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15037 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15038 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; |
15039 | PyObject *result; | |
15040 | PyObject * obj0 = 0 ; | |
15041 | char *kwnames[] = { | |
15042 | (char *) "self", NULL | |
15043 | }; | |
15044 | ||
15045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15046 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
15047 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15048 | { |
15049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15050 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
15051 | ||
15052 | wxPyEndAllowThreads(__tstate); | |
15053 | if (PyErr_Occurred()) SWIG_fail; | |
15054 | } | |
15055 | resultobj = result; | |
15056 | return resultobj; | |
15057 | fail: | |
15058 | return NULL; | |
15059 | } | |
15060 | ||
15061 | ||
c32bde28 | 15062 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15063 | PyObject *obj; |
15064 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15065 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
15066 | Py_INCREF(obj); | |
15067 | return Py_BuildValue((char *)""); | |
15068 | } | |
c32bde28 | 15069 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15070 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15071 | wxWindow *arg1 = (wxWindow *) 0 ; |
15072 | wxString *arg2 = 0 ; | |
15073 | wxString *arg3 = 0 ; | |
15074 | int arg4 ; | |
15075 | wxString *arg5 = (wxString *) 0 ; | |
15076 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
15077 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
15078 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
15079 | wxSingleChoiceDialog *result; | |
ae8162c8 RD |
15080 | bool temp2 = false ; |
15081 | bool temp3 = false ; | |
093d3ff1 | 15082 | wxPoint temp7 ; |
d14a1e28 RD |
15083 | PyObject * obj0 = 0 ; |
15084 | PyObject * obj1 = 0 ; | |
15085 | PyObject * obj2 = 0 ; | |
15086 | PyObject * obj3 = 0 ; | |
994141e6 | 15087 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15088 | PyObject * obj5 = 0 ; |
15089 | char *kwnames[] = { | |
15090 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
15091 | }; | |
15092 | ||
994141e6 | 15093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
15094 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15095 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15096 | { |
15097 | arg2 = wxString_in_helper(obj1); | |
15098 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 15099 | temp2 = true; |
d14a1e28 RD |
15100 | } |
15101 | { | |
15102 | arg3 = wxString_in_helper(obj2); | |
15103 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 15104 | temp3 = true; |
d14a1e28 RD |
15105 | } |
15106 | { | |
15107 | arg4 = PyList_Size(obj3); | |
15108 | arg5 = wxString_LIST_helper(obj3); | |
15109 | if (arg5 == NULL) SWIG_fail; | |
15110 | } | |
994141e6 | 15111 | if (obj4) { |
093d3ff1 | 15112 | { |
32fe5131 | 15113 | arg6 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
15114 | if (SWIG_arg_fail(6)) SWIG_fail; |
15115 | } | |
994141e6 | 15116 | } |
d14a1e28 RD |
15117 | if (obj5) { |
15118 | { | |
093d3ff1 | 15119 | arg7 = &temp7; |
d14a1e28 RD |
15120 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
15121 | } | |
15122 | } | |
15123 | { | |
e3b71cb8 | 15124 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15126 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
15127 | ||
15128 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15129 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15130 | } |
15afbcd0 | 15131 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
15132 | { |
15133 | if (temp2) | |
15134 | delete arg2; | |
15135 | } | |
15136 | { | |
15137 | if (temp3) | |
15138 | delete arg3; | |
15139 | } | |
15140 | { | |
15141 | if (arg5) delete [] arg5; | |
15142 | } | |
15143 | return resultobj; | |
15144 | fail: | |
15145 | { | |
15146 | if (temp2) | |
15147 | delete arg2; | |
15148 | } | |
15149 | { | |
15150 | if (temp3) | |
15151 | delete arg3; | |
15152 | } | |
15153 | { | |
15154 | if (arg5) delete [] arg5; | |
15155 | } | |
15156 | return NULL; | |
15157 | } | |
15158 | ||
15159 | ||
c32bde28 | 15160 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15161 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15162 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; |
15163 | int result; | |
15164 | PyObject * obj0 = 0 ; | |
15165 | char *kwnames[] = { | |
15166 | (char *) "self", NULL | |
15167 | }; | |
15168 | ||
15169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15170 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
15171 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15172 | { |
15173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15174 | result = (int)(arg1)->GetSelection(); | |
15175 | ||
15176 | wxPyEndAllowThreads(__tstate); | |
15177 | if (PyErr_Occurred()) SWIG_fail; | |
15178 | } | |
093d3ff1 | 15179 | { |
32fe5131 | 15180 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 15181 | } |
d14a1e28 RD |
15182 | return resultobj; |
15183 | fail: | |
15184 | return NULL; | |
15185 | } | |
15186 | ||
15187 | ||
c32bde28 | 15188 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15189 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15190 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; |
15191 | wxString result; | |
15192 | PyObject * obj0 = 0 ; | |
15193 | char *kwnames[] = { | |
15194 | (char *) "self", NULL | |
15195 | }; | |
15196 | ||
15197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15198 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
15199 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15200 | { |
15201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15202 | result = (arg1)->GetStringSelection(); | |
15203 | ||
15204 | wxPyEndAllowThreads(__tstate); | |
15205 | if (PyErr_Occurred()) SWIG_fail; | |
15206 | } | |
15207 | { | |
15208 | #if wxUSE_UNICODE | |
15209 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15210 | #else | |
15211 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15212 | #endif | |
15213 | } | |
15214 | return resultobj; | |
15215 | fail: | |
15216 | return NULL; | |
15217 | } | |
15218 | ||
15219 | ||
c32bde28 | 15220 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15221 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15222 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; |
15223 | int arg2 ; | |
15224 | PyObject * obj0 = 0 ; | |
994141e6 | 15225 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15226 | char *kwnames[] = { |
15227 | (char *) "self",(char *) "sel", NULL | |
15228 | }; | |
15229 | ||
994141e6 | 15230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
15231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
15232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15233 | { | |
32fe5131 | 15234 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
15235 | if (SWIG_arg_fail(2)) SWIG_fail; |
15236 | } | |
d14a1e28 RD |
15237 | { |
15238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15239 | (arg1)->SetSelection(arg2); | |
15240 | ||
15241 | wxPyEndAllowThreads(__tstate); | |
15242 | if (PyErr_Occurred()) SWIG_fail; | |
15243 | } | |
15244 | Py_INCREF(Py_None); resultobj = Py_None; | |
15245 | return resultobj; | |
15246 | fail: | |
15247 | return NULL; | |
15248 | } | |
15249 | ||
15250 | ||
c32bde28 | 15251 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15252 | PyObject *obj; |
15253 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15254 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
15255 | Py_INCREF(obj); | |
15256 | return Py_BuildValue((char *)""); | |
15257 | } | |
c32bde28 | 15258 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15259 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15260 | wxWindow *arg1 = (wxWindow *) 0 ; |
15261 | wxString *arg2 = 0 ; | |
15262 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
15263 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15264 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15265 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d3b6e4ff | 15266 | long arg5 = (long) wxTextEntryDialogStyle ; |
d14a1e28 RD |
15267 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
15268 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
15269 | wxTextEntryDialog *result; | |
ae8162c8 RD |
15270 | bool temp2 = false ; |
15271 | bool temp3 = false ; | |
15272 | bool temp4 = false ; | |
d14a1e28 RD |
15273 | wxPoint temp6 ; |
15274 | PyObject * obj0 = 0 ; | |
15275 | PyObject * obj1 = 0 ; | |
15276 | PyObject * obj2 = 0 ; | |
15277 | PyObject * obj3 = 0 ; | |
994141e6 | 15278 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15279 | PyObject * obj5 = 0 ; |
15280 | char *kwnames[] = { | |
15281 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
15282 | }; | |
15283 | ||
994141e6 | 15284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
15285 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15286 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15287 | { |
15288 | arg2 = wxString_in_helper(obj1); | |
15289 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 15290 | temp2 = true; |
d14a1e28 RD |
15291 | } |
15292 | if (obj2) { | |
15293 | { | |
15294 | arg3 = wxString_in_helper(obj2); | |
15295 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 15296 | temp3 = true; |
d14a1e28 RD |
15297 | } |
15298 | } | |
15299 | if (obj3) { | |
15300 | { | |
15301 | arg4 = wxString_in_helper(obj3); | |
15302 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 15303 | temp4 = true; |
d14a1e28 RD |
15304 | } |
15305 | } | |
994141e6 | 15306 | if (obj4) { |
093d3ff1 | 15307 | { |
32fe5131 | 15308 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
15309 | if (SWIG_arg_fail(5)) SWIG_fail; |
15310 | } | |
994141e6 | 15311 | } |
d14a1e28 RD |
15312 | if (obj5) { |
15313 | { | |
15314 | arg6 = &temp6; | |
15315 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
15316 | } | |
15317 | } | |
15318 | { | |
e3b71cb8 | 15319 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15321 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
15322 | ||
15323 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15324 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15325 | } |
15afbcd0 | 15326 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
15327 | { |
15328 | if (temp2) | |
15329 | delete arg2; | |
15330 | } | |
15331 | { | |
15332 | if (temp3) | |
15333 | delete arg3; | |
15334 | } | |
15335 | { | |
15336 | if (temp4) | |
15337 | delete arg4; | |
15338 | } | |
15339 | return resultobj; | |
15340 | fail: | |
15341 | { | |
15342 | if (temp2) | |
15343 | delete arg2; | |
15344 | } | |
15345 | { | |
15346 | if (temp3) | |
15347 | delete arg3; | |
15348 | } | |
15349 | { | |
15350 | if (temp4) | |
15351 | delete arg4; | |
15352 | } | |
15353 | return NULL; | |
15354 | } | |
15355 | ||
15356 | ||
c32bde28 | 15357 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15358 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15359 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; |
15360 | wxString result; | |
15361 | PyObject * obj0 = 0 ; | |
15362 | char *kwnames[] = { | |
15363 | (char *) "self", NULL | |
15364 | }; | |
15365 | ||
15366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15367 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
15368 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15369 | { |
15370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15371 | result = (arg1)->GetValue(); | |
15372 | ||
15373 | wxPyEndAllowThreads(__tstate); | |
15374 | if (PyErr_Occurred()) SWIG_fail; | |
15375 | } | |
15376 | { | |
15377 | #if wxUSE_UNICODE | |
15378 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15379 | #else | |
15380 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15381 | #endif | |
15382 | } | |
15383 | return resultobj; | |
15384 | fail: | |
15385 | return NULL; | |
15386 | } | |
15387 | ||
15388 | ||
c32bde28 | 15389 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15390 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15391 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; |
15392 | wxString *arg2 = 0 ; | |
ae8162c8 | 15393 | bool temp2 = false ; |
d14a1e28 RD |
15394 | PyObject * obj0 = 0 ; |
15395 | PyObject * obj1 = 0 ; | |
15396 | char *kwnames[] = { | |
15397 | (char *) "self",(char *) "value", NULL | |
15398 | }; | |
15399 | ||
15400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15401 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
15402 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15403 | { |
15404 | arg2 = wxString_in_helper(obj1); | |
15405 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 15406 | temp2 = true; |
d14a1e28 RD |
15407 | } |
15408 | { | |
15409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15410 | (arg1)->SetValue((wxString const &)*arg2); | |
15411 | ||
15412 | wxPyEndAllowThreads(__tstate); | |
15413 | if (PyErr_Occurred()) SWIG_fail; | |
15414 | } | |
15415 | Py_INCREF(Py_None); resultobj = Py_None; | |
15416 | { | |
15417 | if (temp2) | |
15418 | delete arg2; | |
15419 | } | |
15420 | return resultobj; | |
15421 | fail: | |
15422 | { | |
15423 | if (temp2) | |
15424 | delete arg2; | |
15425 | } | |
15426 | return NULL; | |
15427 | } | |
15428 | ||
15429 | ||
c32bde28 | 15430 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15431 | PyObject *obj; |
15432 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15433 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
15434 | Py_INCREF(obj); | |
15435 | return Py_BuildValue((char *)""); | |
15436 | } | |
d3b6e4ff RD |
15437 | static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) { |
15438 | PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only."); | |
15439 | return 1; | |
15440 | } | |
15441 | ||
15442 | ||
093d3ff1 | 15443 | static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) { |
32fe5131 | 15444 | PyObject *pyobj = NULL; |
d3b6e4ff RD |
15445 | |
15446 | { | |
15447 | #if wxUSE_UNICODE | |
15448 | pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
15449 | #else | |
15450 | pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
15451 | #endif | |
15452 | } | |
15453 | return pyobj; | |
15454 | } | |
15455 | ||
15456 | ||
15457 | static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15458 | PyObject *resultobj = NULL; |
d3b6e4ff RD |
15459 | wxWindow *arg1 = (wxWindow *) 0 ; |
15460 | wxString *arg2 = 0 ; | |
15461 | wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ; | |
15462 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15463 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15464 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15465 | long arg5 = (long) wxTextEntryDialogStyle ; | |
15466 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
15467 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
15468 | wxPasswordEntryDialog *result; | |
15469 | bool temp2 = false ; | |
15470 | bool temp3 = false ; | |
15471 | bool temp4 = false ; | |
15472 | wxPoint temp6 ; | |
15473 | PyObject * obj0 = 0 ; | |
15474 | PyObject * obj1 = 0 ; | |
15475 | PyObject * obj2 = 0 ; | |
15476 | PyObject * obj3 = 0 ; | |
15477 | PyObject * obj4 = 0 ; | |
15478 | PyObject * obj5 = 0 ; | |
15479 | char *kwnames[] = { | |
15480 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL | |
15481 | }; | |
15482 | ||
15483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
15484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d3b6e4ff RD |
15486 | { |
15487 | arg2 = wxString_in_helper(obj1); | |
15488 | if (arg2 == NULL) SWIG_fail; | |
15489 | temp2 = true; | |
15490 | } | |
15491 | if (obj2) { | |
15492 | { | |
15493 | arg3 = wxString_in_helper(obj2); | |
15494 | if (arg3 == NULL) SWIG_fail; | |
15495 | temp3 = true; | |
15496 | } | |
15497 | } | |
15498 | if (obj3) { | |
15499 | { | |
15500 | arg4 = wxString_in_helper(obj3); | |
15501 | if (arg4 == NULL) SWIG_fail; | |
15502 | temp4 = true; | |
15503 | } | |
15504 | } | |
15505 | if (obj4) { | |
093d3ff1 | 15506 | { |
32fe5131 | 15507 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
15508 | if (SWIG_arg_fail(5)) SWIG_fail; |
15509 | } | |
d3b6e4ff RD |
15510 | } |
15511 | if (obj5) { | |
15512 | { | |
15513 | arg6 = &temp6; | |
15514 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
15515 | } | |
15516 | } | |
15517 | { | |
15518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15519 | result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
15520 | ||
15521 | wxPyEndAllowThreads(__tstate); | |
15522 | if (PyErr_Occurred()) SWIG_fail; | |
15523 | } | |
15524 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1); | |
15525 | { | |
15526 | if (temp2) | |
15527 | delete arg2; | |
15528 | } | |
15529 | { | |
15530 | if (temp3) | |
15531 | delete arg3; | |
15532 | } | |
15533 | { | |
15534 | if (temp4) | |
15535 | delete arg4; | |
15536 | } | |
15537 | return resultobj; | |
15538 | fail: | |
15539 | { | |
15540 | if (temp2) | |
15541 | delete arg2; | |
15542 | } | |
15543 | { | |
15544 | if (temp3) | |
15545 | delete arg3; | |
15546 | } | |
15547 | { | |
15548 | if (temp4) | |
15549 | delete arg4; | |
15550 | } | |
15551 | return NULL; | |
15552 | } | |
15553 | ||
15554 | ||
15555 | static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) { | |
15556 | PyObject *obj; | |
15557 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15558 | SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj); | |
15559 | Py_INCREF(obj); | |
15560 | return Py_BuildValue((char *)""); | |
15561 | } | |
c32bde28 | 15562 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15563 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15564 | wxFontData *result; |
15565 | char *kwnames[] = { | |
15566 | NULL | |
15567 | }; | |
15568 | ||
15569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
15570 | { | |
15571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15572 | result = (wxFontData *)new wxFontData(); | |
15573 | ||
15574 | wxPyEndAllowThreads(__tstate); | |
15575 | if (PyErr_Occurred()) SWIG_fail; | |
15576 | } | |
15afbcd0 | 15577 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
15578 | return resultobj; |
15579 | fail: | |
15580 | return NULL; | |
15581 | } | |
15582 | ||
15583 | ||
c32bde28 | 15584 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15585 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15586 | wxFontData *arg1 = (wxFontData *) 0 ; |
15587 | PyObject * obj0 = 0 ; | |
15588 | char *kwnames[] = { | |
15589 | (char *) "self", NULL | |
15590 | }; | |
15591 | ||
15592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15593 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15594 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15595 | { |
15596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15597 | delete arg1; | |
15598 | ||
15599 | wxPyEndAllowThreads(__tstate); | |
15600 | if (PyErr_Occurred()) SWIG_fail; | |
15601 | } | |
15602 | Py_INCREF(Py_None); resultobj = Py_None; | |
15603 | return resultobj; | |
15604 | fail: | |
15605 | return NULL; | |
15606 | } | |
15607 | ||
15608 | ||
c32bde28 | 15609 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15610 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15611 | wxFontData *arg1 = (wxFontData *) 0 ; |
15612 | bool arg2 ; | |
15613 | PyObject * obj0 = 0 ; | |
15614 | PyObject * obj1 = 0 ; | |
15615 | char *kwnames[] = { | |
15616 | (char *) "self",(char *) "enable", NULL | |
15617 | }; | |
15618 | ||
15619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15620 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15621 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15622 | { | |
32fe5131 | 15623 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
15624 | if (SWIG_arg_fail(2)) SWIG_fail; |
15625 | } | |
d14a1e28 RD |
15626 | { |
15627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15628 | (arg1)->EnableEffects(arg2); | |
15629 | ||
15630 | wxPyEndAllowThreads(__tstate); | |
15631 | if (PyErr_Occurred()) SWIG_fail; | |
15632 | } | |
15633 | Py_INCREF(Py_None); resultobj = Py_None; | |
15634 | return resultobj; | |
15635 | fail: | |
15636 | return NULL; | |
15637 | } | |
15638 | ||
15639 | ||
c32bde28 | 15640 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15641 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15642 | wxFontData *arg1 = (wxFontData *) 0 ; |
15643 | bool result; | |
15644 | PyObject * obj0 = 0 ; | |
15645 | char *kwnames[] = { | |
15646 | (char *) "self", NULL | |
15647 | }; | |
15648 | ||
15649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15650 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15651 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15652 | { |
15653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15654 | result = (bool)(arg1)->GetAllowSymbols(); | |
15655 | ||
15656 | wxPyEndAllowThreads(__tstate); | |
15657 | if (PyErr_Occurred()) SWIG_fail; | |
15658 | } | |
4f89f6a3 RD |
15659 | { |
15660 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15661 | } | |
d14a1e28 RD |
15662 | return resultobj; |
15663 | fail: | |
15664 | return NULL; | |
15665 | } | |
15666 | ||
15667 | ||
c32bde28 | 15668 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15669 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15670 | wxFontData *arg1 = (wxFontData *) 0 ; |
15671 | wxColour result; | |
15672 | PyObject * obj0 = 0 ; | |
15673 | char *kwnames[] = { | |
15674 | (char *) "self", NULL | |
15675 | }; | |
15676 | ||
15677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15678 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15679 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15680 | { |
15681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15682 | result = (arg1)->GetColour(); | |
15683 | ||
15684 | wxPyEndAllowThreads(__tstate); | |
15685 | if (PyErr_Occurred()) SWIG_fail; | |
15686 | } | |
15687 | { | |
15688 | wxColour * resultptr; | |
32fe5131 | 15689 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
15afbcd0 | 15690 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
15691 | } |
15692 | return resultobj; | |
15693 | fail: | |
15694 | return NULL; | |
15695 | } | |
15696 | ||
15697 | ||
c32bde28 | 15698 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15699 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15700 | wxFontData *arg1 = (wxFontData *) 0 ; |
15701 | wxFont result; | |
15702 | PyObject * obj0 = 0 ; | |
15703 | char *kwnames[] = { | |
15704 | (char *) "self", NULL | |
15705 | }; | |
15706 | ||
15707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15708 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15709 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15710 | { |
15711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15712 | result = (arg1)->GetChosenFont(); | |
15713 | ||
15714 | wxPyEndAllowThreads(__tstate); | |
15715 | if (PyErr_Occurred()) SWIG_fail; | |
15716 | } | |
15717 | { | |
15718 | wxFont * resultptr; | |
32fe5131 | 15719 | resultptr = new wxFont(static_cast<wxFont & >(result)); |
15afbcd0 | 15720 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
15721 | } |
15722 | return resultobj; | |
15723 | fail: | |
15724 | return NULL; | |
15725 | } | |
15726 | ||
15727 | ||
c32bde28 | 15728 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15729 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15730 | wxFontData *arg1 = (wxFontData *) 0 ; |
15731 | bool result; | |
15732 | PyObject * obj0 = 0 ; | |
15733 | char *kwnames[] = { | |
15734 | (char *) "self", NULL | |
15735 | }; | |
15736 | ||
15737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15738 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15739 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15740 | { |
15741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15742 | result = (bool)(arg1)->GetEnableEffects(); | |
15743 | ||
15744 | wxPyEndAllowThreads(__tstate); | |
15745 | if (PyErr_Occurred()) SWIG_fail; | |
15746 | } | |
4f89f6a3 RD |
15747 | { |
15748 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15749 | } | |
d14a1e28 RD |
15750 | return resultobj; |
15751 | fail: | |
15752 | return NULL; | |
15753 | } | |
15754 | ||
15755 | ||
c32bde28 | 15756 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15757 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15758 | wxFontData *arg1 = (wxFontData *) 0 ; |
15759 | wxFont result; | |
15760 | PyObject * obj0 = 0 ; | |
15761 | char *kwnames[] = { | |
15762 | (char *) "self", NULL | |
15763 | }; | |
15764 | ||
15765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15766 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15767 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15768 | { |
15769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15770 | result = (arg1)->GetInitialFont(); | |
15771 | ||
15772 | wxPyEndAllowThreads(__tstate); | |
15773 | if (PyErr_Occurred()) SWIG_fail; | |
15774 | } | |
15775 | { | |
15776 | wxFont * resultptr; | |
32fe5131 | 15777 | resultptr = new wxFont(static_cast<wxFont & >(result)); |
15afbcd0 | 15778 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
15779 | } |
15780 | return resultobj; | |
15781 | fail: | |
15782 | return NULL; | |
15783 | } | |
15784 | ||
15785 | ||
c32bde28 | 15786 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15787 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15788 | wxFontData *arg1 = (wxFontData *) 0 ; |
15789 | bool result; | |
15790 | PyObject * obj0 = 0 ; | |
15791 | char *kwnames[] = { | |
15792 | (char *) "self", NULL | |
15793 | }; | |
15794 | ||
15795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15796 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15797 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15798 | { |
15799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15800 | result = (bool)(arg1)->GetShowHelp(); | |
15801 | ||
15802 | wxPyEndAllowThreads(__tstate); | |
15803 | if (PyErr_Occurred()) SWIG_fail; | |
15804 | } | |
4f89f6a3 RD |
15805 | { |
15806 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15807 | } | |
d14a1e28 RD |
15808 | return resultobj; |
15809 | fail: | |
15810 | return NULL; | |
15811 | } | |
15812 | ||
15813 | ||
c32bde28 | 15814 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15815 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15816 | wxFontData *arg1 = (wxFontData *) 0 ; |
15817 | bool arg2 ; | |
15818 | PyObject * obj0 = 0 ; | |
15819 | PyObject * obj1 = 0 ; | |
15820 | char *kwnames[] = { | |
15821 | (char *) "self",(char *) "allowSymbols", NULL | |
15822 | }; | |
15823 | ||
15824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15825 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15826 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15827 | { | |
32fe5131 | 15828 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
15829 | if (SWIG_arg_fail(2)) SWIG_fail; |
15830 | } | |
d14a1e28 RD |
15831 | { |
15832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15833 | (arg1)->SetAllowSymbols(arg2); | |
15834 | ||
15835 | wxPyEndAllowThreads(__tstate); | |
15836 | if (PyErr_Occurred()) SWIG_fail; | |
15837 | } | |
15838 | Py_INCREF(Py_None); resultobj = Py_None; | |
15839 | return resultobj; | |
15840 | fail: | |
15841 | return NULL; | |
15842 | } | |
15843 | ||
15844 | ||
c32bde28 | 15845 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15846 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15847 | wxFontData *arg1 = (wxFontData *) 0 ; |
15848 | wxFont *arg2 = 0 ; | |
15849 | PyObject * obj0 = 0 ; | |
15850 | PyObject * obj1 = 0 ; | |
15851 | char *kwnames[] = { | |
15852 | (char *) "self",(char *) "font", NULL | |
15853 | }; | |
15854 | ||
15855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15858 | { | |
15859 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
15860 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15861 | if (arg2 == NULL) { | |
15862 | SWIG_null_ref("wxFont"); | |
15863 | } | |
15864 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
15865 | } |
15866 | { | |
15867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15868 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
15869 | ||
15870 | wxPyEndAllowThreads(__tstate); | |
15871 | if (PyErr_Occurred()) SWIG_fail; | |
15872 | } | |
15873 | Py_INCREF(Py_None); resultobj = Py_None; | |
15874 | return resultobj; | |
15875 | fail: | |
15876 | return NULL; | |
15877 | } | |
15878 | ||
15879 | ||
c32bde28 | 15880 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15881 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15882 | wxFontData *arg1 = (wxFontData *) 0 ; |
15883 | wxColour *arg2 = 0 ; | |
15884 | wxColour temp2 ; | |
15885 | PyObject * obj0 = 0 ; | |
15886 | PyObject * obj1 = 0 ; | |
15887 | char *kwnames[] = { | |
15888 | (char *) "self",(char *) "colour", NULL | |
15889 | }; | |
15890 | ||
15891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15892 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15893 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15894 | { |
15895 | arg2 = &temp2; | |
15896 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
15897 | } | |
15898 | { | |
15899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15900 | (arg1)->SetColour((wxColour const &)*arg2); | |
15901 | ||
15902 | wxPyEndAllowThreads(__tstate); | |
15903 | if (PyErr_Occurred()) SWIG_fail; | |
15904 | } | |
15905 | Py_INCREF(Py_None); resultobj = Py_None; | |
15906 | return resultobj; | |
15907 | fail: | |
15908 | return NULL; | |
15909 | } | |
15910 | ||
15911 | ||
c32bde28 | 15912 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15913 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15914 | wxFontData *arg1 = (wxFontData *) 0 ; |
15915 | wxFont *arg2 = 0 ; | |
15916 | PyObject * obj0 = 0 ; | |
15917 | PyObject * obj1 = 0 ; | |
15918 | char *kwnames[] = { | |
15919 | (char *) "self",(char *) "font", NULL | |
15920 | }; | |
15921 | ||
15922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15923 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15924 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15925 | { | |
15926 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
15927 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15928 | if (arg2 == NULL) { | |
15929 | SWIG_null_ref("wxFont"); | |
15930 | } | |
15931 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
15932 | } |
15933 | { | |
15934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15935 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
15936 | ||
15937 | wxPyEndAllowThreads(__tstate); | |
15938 | if (PyErr_Occurred()) SWIG_fail; | |
15939 | } | |
15940 | Py_INCREF(Py_None); resultobj = Py_None; | |
15941 | return resultobj; | |
15942 | fail: | |
15943 | return NULL; | |
15944 | } | |
15945 | ||
15946 | ||
c32bde28 | 15947 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15948 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15949 | wxFontData *arg1 = (wxFontData *) 0 ; |
15950 | int arg2 ; | |
15951 | int arg3 ; | |
15952 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15953 | PyObject * obj1 = 0 ; |
15954 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15955 | char *kwnames[] = { |
15956 | (char *) "self",(char *) "min",(char *) "max", NULL | |
15957 | }; | |
15958 | ||
994141e6 | 15959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
15960 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15961 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15962 | { | |
32fe5131 | 15963 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
15964 | if (SWIG_arg_fail(2)) SWIG_fail; |
15965 | } | |
15966 | { | |
32fe5131 | 15967 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
15968 | if (SWIG_arg_fail(3)) SWIG_fail; |
15969 | } | |
d14a1e28 RD |
15970 | { |
15971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15972 | (arg1)->SetRange(arg2,arg3); | |
15973 | ||
15974 | wxPyEndAllowThreads(__tstate); | |
15975 | if (PyErr_Occurred()) SWIG_fail; | |
15976 | } | |
15977 | Py_INCREF(Py_None); resultobj = Py_None; | |
15978 | return resultobj; | |
15979 | fail: | |
15980 | return NULL; | |
15981 | } | |
15982 | ||
15983 | ||
c32bde28 | 15984 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15985 | PyObject *resultobj = NULL; |
d14a1e28 RD |
15986 | wxFontData *arg1 = (wxFontData *) 0 ; |
15987 | bool arg2 ; | |
15988 | PyObject * obj0 = 0 ; | |
15989 | PyObject * obj1 = 0 ; | |
15990 | char *kwnames[] = { | |
15991 | (char *) "self",(char *) "showHelp", NULL | |
15992 | }; | |
15993 | ||
15994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15995 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15996 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15997 | { | |
32fe5131 | 15998 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
15999 | if (SWIG_arg_fail(2)) SWIG_fail; |
16000 | } | |
d14a1e28 RD |
16001 | { |
16002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16003 | (arg1)->SetShowHelp(arg2); | |
16004 | ||
16005 | wxPyEndAllowThreads(__tstate); | |
16006 | if (PyErr_Occurred()) SWIG_fail; | |
16007 | } | |
16008 | Py_INCREF(Py_None); resultobj = Py_None; | |
16009 | return resultobj; | |
16010 | fail: | |
16011 | return NULL; | |
16012 | } | |
16013 | ||
16014 | ||
c32bde28 | 16015 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16016 | PyObject *obj; |
16017 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16018 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
16019 | Py_INCREF(obj); | |
16020 | return Py_BuildValue((char *)""); | |
16021 | } | |
c32bde28 | 16022 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16023 | PyObject *resultobj = NULL; |
e498079e RD |
16024 | wxWindow *arg1 = (wxWindow *) 0 ; |
16025 | wxFontData *arg2 = 0 ; | |
16026 | wxFontDialog *result; | |
d14a1e28 | 16027 | PyObject * obj0 = 0 ; |
e498079e | 16028 | PyObject * obj1 = 0 ; |
15afbcd0 RD |
16029 | char *kwnames[] = { |
16030 | (char *) "parent",(char *) "data", NULL | |
16031 | }; | |
d14a1e28 | 16032 | |
15afbcd0 | 16033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
16034 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16035 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16036 | { | |
16037 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); | |
16038 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16039 | if (arg2 == NULL) { | |
16040 | SWIG_null_ref("wxFontData"); | |
16041 | } | |
16042 | if (SWIG_arg_fail(2)) SWIG_fail; | |
e498079e | 16043 | } |
d14a1e28 | 16044 | { |
e3b71cb8 | 16045 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 16046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
e498079e | 16047 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
16048 | |
16049 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16050 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 16051 | } |
15afbcd0 | 16052 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
16053 | return resultobj; |
16054 | fail: | |
16055 | return NULL; | |
16056 | } | |
16057 | ||
16058 | ||
c32bde28 | 16059 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16060 | PyObject *resultobj = NULL; |
d14a1e28 | 16061 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; |
e498079e | 16062 | wxFontData *result; |
d14a1e28 RD |
16063 | PyObject * obj0 = 0 ; |
16064 | char *kwnames[] = { | |
32fe5131 RD |
16065 | (char *) "self", NULL |
16066 | }; | |
16067 | ||
16068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
16069 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0); | |
16070 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16071 | { | |
16072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16073 | { | |
16074 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
16075 | result = (wxFontData *) &_result_ref; | |
16076 | } | |
16077 | ||
16078 | wxPyEndAllowThreads(__tstate); | |
16079 | if (PyErr_Occurred()) SWIG_fail; | |
16080 | } | |
16081 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); | |
16082 | return resultobj; | |
16083 | fail: | |
16084 | return NULL; | |
16085 | } | |
16086 | ||
16087 | ||
16088 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { | |
16089 | PyObject *obj; | |
16090 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16091 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
16092 | Py_INCREF(obj); | |
16093 | return Py_BuildValue((char *)""); | |
16094 | } | |
16095 | static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) { | |
16096 | PyObject *resultobj = NULL; | |
16097 | wxWindow *arg1 = (wxWindow *) NULL ; | |
16098 | wxFont const &arg2_defvalue = wxNullFont ; | |
16099 | wxFont *arg2 = (wxFont *) &arg2_defvalue ; | |
16100 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
16101 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
16102 | wxFont result; | |
16103 | bool temp3 = false ; | |
16104 | PyObject * obj0 = 0 ; | |
16105 | PyObject * obj1 = 0 ; | |
16106 | PyObject * obj2 = 0 ; | |
16107 | char *kwnames[] = { | |
16108 | (char *) "parent",(char *) "fontInit",(char *) "caption", NULL | |
d14a1e28 RD |
16109 | }; |
16110 | ||
32fe5131 RD |
16111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail; |
16112 | if (obj0) { | |
16113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
16114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16115 | } | |
16116 | if (obj1) { | |
e498079e | 16117 | { |
32fe5131 RD |
16118 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); |
16119 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16120 | if (arg2 == NULL) { | |
16121 | SWIG_null_ref("wxFont"); | |
16122 | } | |
16123 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16124 | } | |
16125 | } | |
16126 | if (obj2) { | |
16127 | { | |
16128 | arg3 = wxString_in_helper(obj2); | |
16129 | if (arg3 == NULL) SWIG_fail; | |
16130 | temp3 = true; | |
e498079e | 16131 | } |
32fe5131 RD |
16132 | } |
16133 | { | |
16134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16135 | result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3); | |
d14a1e28 RD |
16136 | |
16137 | wxPyEndAllowThreads(__tstate); | |
16138 | if (PyErr_Occurred()) SWIG_fail; | |
16139 | } | |
32fe5131 RD |
16140 | { |
16141 | wxFont * resultptr; | |
16142 | resultptr = new wxFont(static_cast<wxFont & >(result)); | |
16143 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); | |
16144 | } | |
16145 | { | |
16146 | if (temp3) | |
16147 | delete arg3; | |
16148 | } | |
d14a1e28 RD |
16149 | return resultobj; |
16150 | fail: | |
32fe5131 RD |
16151 | { |
16152 | if (temp3) | |
16153 | delete arg3; | |
16154 | } | |
d14a1e28 RD |
16155 | return NULL; |
16156 | } | |
16157 | ||
16158 | ||
c32bde28 | 16159 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16160 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16161 | wxWindow *arg1 = (wxWindow *) 0 ; |
16162 | wxString *arg2 = 0 ; | |
16163 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
16164 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
16165 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
16166 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
16167 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16168 | wxMessageDialog *result; | |
ae8162c8 RD |
16169 | bool temp2 = false ; |
16170 | bool temp3 = false ; | |
d14a1e28 RD |
16171 | wxPoint temp5 ; |
16172 | PyObject * obj0 = 0 ; | |
16173 | PyObject * obj1 = 0 ; | |
16174 | PyObject * obj2 = 0 ; | |
994141e6 | 16175 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
16176 | PyObject * obj4 = 0 ; |
16177 | char *kwnames[] = { | |
16178 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
16179 | }; | |
16180 | ||
994141e6 | 16181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
16182 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16183 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16184 | { |
16185 | arg2 = wxString_in_helper(obj1); | |
16186 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16187 | temp2 = true; |
d14a1e28 RD |
16188 | } |
16189 | if (obj2) { | |
16190 | { | |
16191 | arg3 = wxString_in_helper(obj2); | |
16192 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 16193 | temp3 = true; |
d14a1e28 RD |
16194 | } |
16195 | } | |
994141e6 | 16196 | if (obj3) { |
093d3ff1 | 16197 | { |
32fe5131 | 16198 | arg4 = static_cast<long >(SWIG_As_long(obj3)); |
093d3ff1 RD |
16199 | if (SWIG_arg_fail(4)) SWIG_fail; |
16200 | } | |
994141e6 | 16201 | } |
d14a1e28 RD |
16202 | if (obj4) { |
16203 | { | |
16204 | arg5 = &temp5; | |
16205 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
16206 | } | |
16207 | } | |
16208 | { | |
e3b71cb8 | 16209 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
16210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16211 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
16212 | ||
16213 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16214 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 16215 | } |
15afbcd0 | 16216 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
16217 | { |
16218 | if (temp2) | |
16219 | delete arg2; | |
16220 | } | |
16221 | { | |
16222 | if (temp3) | |
16223 | delete arg3; | |
16224 | } | |
16225 | return resultobj; | |
16226 | fail: | |
16227 | { | |
16228 | if (temp2) | |
16229 | delete arg2; | |
16230 | } | |
16231 | { | |
16232 | if (temp3) | |
16233 | delete arg3; | |
16234 | } | |
16235 | return NULL; | |
16236 | } | |
16237 | ||
16238 | ||
c32bde28 | 16239 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16240 | PyObject *obj; |
16241 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16242 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
16243 | Py_INCREF(obj); | |
16244 | return Py_BuildValue((char *)""); | |
16245 | } | |
c32bde28 | 16246 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16247 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16248 | wxString *arg1 = 0 ; |
16249 | wxString *arg2 = 0 ; | |
16250 | int arg3 = (int) 100 ; | |
16251 | wxWindow *arg4 = (wxWindow *) NULL ; | |
16252 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
16253 | wxProgressDialog *result; | |
ae8162c8 RD |
16254 | bool temp1 = false ; |
16255 | bool temp2 = false ; | |
d14a1e28 RD |
16256 | PyObject * obj0 = 0 ; |
16257 | PyObject * obj1 = 0 ; | |
994141e6 | 16258 | PyObject * obj2 = 0 ; |
d14a1e28 | 16259 | PyObject * obj3 = 0 ; |
994141e6 | 16260 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
16261 | char *kwnames[] = { |
16262 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
16263 | }; | |
16264 | ||
994141e6 | 16265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
16266 | { |
16267 | arg1 = wxString_in_helper(obj0); | |
16268 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 16269 | temp1 = true; |
d14a1e28 RD |
16270 | } |
16271 | { | |
16272 | arg2 = wxString_in_helper(obj1); | |
16273 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16274 | temp2 = true; |
d14a1e28 | 16275 | } |
994141e6 | 16276 | if (obj2) { |
093d3ff1 | 16277 | { |
32fe5131 | 16278 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
16279 | if (SWIG_arg_fail(3)) SWIG_fail; |
16280 | } | |
994141e6 | 16281 | } |
d14a1e28 | 16282 | if (obj3) { |
093d3ff1 RD |
16283 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16284 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d14a1e28 | 16285 | } |
994141e6 | 16286 | if (obj4) { |
093d3ff1 | 16287 | { |
32fe5131 | 16288 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
16289 | if (SWIG_arg_fail(5)) SWIG_fail; |
16290 | } | |
994141e6 | 16291 | } |
d14a1e28 | 16292 | { |
e3b71cb8 | 16293 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
16294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16295 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
16296 | ||
16297 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16298 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 16299 | } |
15afbcd0 | 16300 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
16301 | { |
16302 | if (temp1) | |
16303 | delete arg1; | |
16304 | } | |
16305 | { | |
16306 | if (temp2) | |
16307 | delete arg2; | |
16308 | } | |
16309 | return resultobj; | |
16310 | fail: | |
16311 | { | |
16312 | if (temp1) | |
16313 | delete arg1; | |
16314 | } | |
16315 | { | |
16316 | if (temp2) | |
16317 | delete arg2; | |
16318 | } | |
16319 | return NULL; | |
16320 | } | |
16321 | ||
16322 | ||
c32bde28 | 16323 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16324 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16325 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; |
16326 | int arg2 ; | |
16327 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
16328 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
16329 | bool result; | |
ae8162c8 | 16330 | bool temp3 = false ; |
d14a1e28 | 16331 | PyObject * obj0 = 0 ; |
994141e6 | 16332 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16333 | PyObject * obj2 = 0 ; |
16334 | char *kwnames[] = { | |
16335 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
16336 | }; | |
16337 | ||
994141e6 | 16338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
16339 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
16340 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16341 | { | |
32fe5131 | 16342 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
16343 | if (SWIG_arg_fail(2)) SWIG_fail; |
16344 | } | |
d14a1e28 RD |
16345 | if (obj2) { |
16346 | { | |
16347 | arg3 = wxString_in_helper(obj2); | |
16348 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 16349 | temp3 = true; |
d14a1e28 RD |
16350 | } |
16351 | } | |
16352 | { | |
16353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16354 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
16355 | ||
16356 | wxPyEndAllowThreads(__tstate); | |
16357 | if (PyErr_Occurred()) SWIG_fail; | |
16358 | } | |
4f89f6a3 RD |
16359 | { |
16360 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16361 | } | |
d14a1e28 RD |
16362 | { |
16363 | if (temp3) | |
16364 | delete arg3; | |
16365 | } | |
16366 | return resultobj; | |
16367 | fail: | |
16368 | { | |
16369 | if (temp3) | |
16370 | delete arg3; | |
16371 | } | |
16372 | return NULL; | |
16373 | } | |
16374 | ||
16375 | ||
c32bde28 | 16376 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16377 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16378 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; |
16379 | PyObject * obj0 = 0 ; | |
16380 | char *kwnames[] = { | |
16381 | (char *) "self", NULL | |
16382 | }; | |
16383 | ||
16384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16385 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
16386 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16387 | { |
16388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16389 | (arg1)->Resume(); | |
16390 | ||
16391 | wxPyEndAllowThreads(__tstate); | |
16392 | if (PyErr_Occurred()) SWIG_fail; | |
16393 | } | |
16394 | Py_INCREF(Py_None); resultobj = Py_None; | |
16395 | return resultobj; | |
16396 | fail: | |
16397 | return NULL; | |
16398 | } | |
16399 | ||
16400 | ||
c32bde28 | 16401 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16402 | PyObject *obj; |
16403 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16404 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
16405 | Py_INCREF(obj); | |
16406 | return Py_BuildValue((char *)""); | |
16407 | } | |
c32bde28 | 16408 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16409 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16410 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
16411 | int arg2 = (int) 0 ; | |
16412 | wxFindDialogEvent *result; | |
994141e6 RD |
16413 | PyObject * obj0 = 0 ; |
16414 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
16415 | char *kwnames[] = { |
16416 | (char *) "commandType",(char *) "id", NULL | |
16417 | }; | |
16418 | ||
994141e6 RD |
16419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
16420 | if (obj0) { | |
093d3ff1 | 16421 | { |
32fe5131 | 16422 | arg1 = static_cast<wxEventType >(SWIG_As_int(obj0)); |
093d3ff1 RD |
16423 | if (SWIG_arg_fail(1)) SWIG_fail; |
16424 | } | |
994141e6 RD |
16425 | } |
16426 | if (obj1) { | |
093d3ff1 | 16427 | { |
32fe5131 | 16428 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
16429 | if (SWIG_arg_fail(2)) SWIG_fail; |
16430 | } | |
994141e6 | 16431 | } |
d14a1e28 RD |
16432 | { |
16433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16434 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
16435 | ||
16436 | wxPyEndAllowThreads(__tstate); | |
16437 | if (PyErr_Occurred()) SWIG_fail; | |
16438 | } | |
15afbcd0 | 16439 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
16440 | return resultobj; |
16441 | fail: | |
16442 | return NULL; | |
16443 | } | |
16444 | ||
16445 | ||
c32bde28 | 16446 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16447 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16448 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16449 | int result; | |
16450 | PyObject * obj0 = 0 ; | |
16451 | char *kwnames[] = { | |
16452 | (char *) "self", NULL | |
16453 | }; | |
16454 | ||
16455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16456 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16457 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16458 | { |
16459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16460 | result = (int)(arg1)->GetFlags(); | |
16461 | ||
16462 | wxPyEndAllowThreads(__tstate); | |
16463 | if (PyErr_Occurred()) SWIG_fail; | |
16464 | } | |
093d3ff1 | 16465 | { |
32fe5131 | 16466 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 16467 | } |
d14a1e28 RD |
16468 | return resultobj; |
16469 | fail: | |
16470 | return NULL; | |
16471 | } | |
16472 | ||
16473 | ||
c32bde28 | 16474 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16475 | PyObject *resultobj = NULL; |
d14a1e28 | 16476 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
cc6dd355 | 16477 | wxString *result; |
d14a1e28 RD |
16478 | PyObject * obj0 = 0 ; |
16479 | char *kwnames[] = { | |
16480 | (char *) "self", NULL | |
16481 | }; | |
16482 | ||
16483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16486 | { |
16487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cc6dd355 RD |
16488 | { |
16489 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16490 | result = (wxString *) &_result_ref; | |
16491 | } | |
d14a1e28 RD |
16492 | |
16493 | wxPyEndAllowThreads(__tstate); | |
16494 | if (PyErr_Occurred()) SWIG_fail; | |
16495 | } | |
16496 | { | |
16497 | #if wxUSE_UNICODE | |
cc6dd355 | 16498 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 16499 | #else |
cc6dd355 | 16500 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
16501 | #endif |
16502 | } | |
16503 | return resultobj; | |
16504 | fail: | |
16505 | return NULL; | |
16506 | } | |
16507 | ||
16508 | ||
c32bde28 | 16509 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16510 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16511 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16512 | wxString *result; | |
16513 | PyObject * obj0 = 0 ; | |
16514 | char *kwnames[] = { | |
16515 | (char *) "self", NULL | |
16516 | }; | |
16517 | ||
16518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16519 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16520 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16521 | { |
16522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16523 | { | |
16524 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16525 | result = (wxString *) &_result_ref; | |
16526 | } | |
16527 | ||
16528 | wxPyEndAllowThreads(__tstate); | |
16529 | if (PyErr_Occurred()) SWIG_fail; | |
16530 | } | |
cc6dd355 RD |
16531 | { |
16532 | #if wxUSE_UNICODE | |
16533 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16534 | #else | |
16535 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16536 | #endif | |
16537 | } | |
d14a1e28 RD |
16538 | return resultobj; |
16539 | fail: | |
16540 | return NULL; | |
16541 | } | |
16542 | ||
16543 | ||
c32bde28 | 16544 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16545 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16546 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16547 | wxFindReplaceDialog *result; | |
16548 | PyObject * obj0 = 0 ; | |
16549 | char *kwnames[] = { | |
16550 | (char *) "self", NULL | |
16551 | }; | |
16552 | ||
16553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16554 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16555 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16556 | { |
16557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16558 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
16559 | ||
16560 | wxPyEndAllowThreads(__tstate); | |
16561 | if (PyErr_Occurred()) SWIG_fail; | |
16562 | } | |
15afbcd0 | 16563 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
16564 | return resultobj; |
16565 | fail: | |
16566 | return NULL; | |
16567 | } | |
16568 | ||
16569 | ||
c32bde28 | 16570 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16571 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16572 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16573 | int arg2 ; | |
16574 | PyObject * obj0 = 0 ; | |
994141e6 | 16575 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16576 | char *kwnames[] = { |
16577 | (char *) "self",(char *) "flags", NULL | |
16578 | }; | |
16579 | ||
994141e6 | 16580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
16581 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16582 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16583 | { | |
32fe5131 | 16584 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
16585 | if (SWIG_arg_fail(2)) SWIG_fail; |
16586 | } | |
d14a1e28 RD |
16587 | { |
16588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16589 | (arg1)->SetFlags(arg2); | |
16590 | ||
16591 | wxPyEndAllowThreads(__tstate); | |
16592 | if (PyErr_Occurred()) SWIG_fail; | |
16593 | } | |
16594 | Py_INCREF(Py_None); resultobj = Py_None; | |
16595 | return resultobj; | |
16596 | fail: | |
16597 | return NULL; | |
16598 | } | |
16599 | ||
16600 | ||
c32bde28 | 16601 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16602 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16603 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16604 | wxString *arg2 = 0 ; | |
ae8162c8 | 16605 | bool temp2 = false ; |
d14a1e28 RD |
16606 | PyObject * obj0 = 0 ; |
16607 | PyObject * obj1 = 0 ; | |
16608 | char *kwnames[] = { | |
16609 | (char *) "self",(char *) "str", NULL | |
16610 | }; | |
16611 | ||
16612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16613 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16614 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16615 | { |
16616 | arg2 = wxString_in_helper(obj1); | |
16617 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16618 | temp2 = true; |
d14a1e28 RD |
16619 | } |
16620 | { | |
16621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16622 | (arg1)->SetFindString((wxString const &)*arg2); | |
16623 | ||
16624 | wxPyEndAllowThreads(__tstate); | |
16625 | if (PyErr_Occurred()) SWIG_fail; | |
16626 | } | |
16627 | Py_INCREF(Py_None); resultobj = Py_None; | |
16628 | { | |
16629 | if (temp2) | |
16630 | delete arg2; | |
16631 | } | |
16632 | return resultobj; | |
16633 | fail: | |
16634 | { | |
16635 | if (temp2) | |
16636 | delete arg2; | |
16637 | } | |
16638 | return NULL; | |
16639 | } | |
16640 | ||
16641 | ||
c32bde28 | 16642 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16643 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16644 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; |
16645 | wxString *arg2 = 0 ; | |
ae8162c8 | 16646 | bool temp2 = false ; |
d14a1e28 RD |
16647 | PyObject * obj0 = 0 ; |
16648 | PyObject * obj1 = 0 ; | |
16649 | char *kwnames[] = { | |
16650 | (char *) "self",(char *) "str", NULL | |
16651 | }; | |
16652 | ||
16653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16654 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16655 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16656 | { |
16657 | arg2 = wxString_in_helper(obj1); | |
16658 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16659 | temp2 = true; |
d14a1e28 RD |
16660 | } |
16661 | { | |
16662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16663 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16664 | ||
16665 | wxPyEndAllowThreads(__tstate); | |
16666 | if (PyErr_Occurred()) SWIG_fail; | |
16667 | } | |
16668 | Py_INCREF(Py_None); resultobj = Py_None; | |
16669 | { | |
16670 | if (temp2) | |
16671 | delete arg2; | |
16672 | } | |
16673 | return resultobj; | |
16674 | fail: | |
16675 | { | |
16676 | if (temp2) | |
16677 | delete arg2; | |
16678 | } | |
16679 | return NULL; | |
16680 | } | |
16681 | ||
16682 | ||
c32bde28 | 16683 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16684 | PyObject *obj; |
16685 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16686 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
16687 | Py_INCREF(obj); | |
16688 | return Py_BuildValue((char *)""); | |
16689 | } | |
c32bde28 | 16690 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16691 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16692 | int arg1 = (int) 0 ; |
16693 | wxFindReplaceData *result; | |
994141e6 | 16694 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
16695 | char *kwnames[] = { |
16696 | (char *) "flags", NULL | |
16697 | }; | |
16698 | ||
994141e6 RD |
16699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
16700 | if (obj0) { | |
093d3ff1 | 16701 | { |
32fe5131 | 16702 | arg1 = static_cast<int >(SWIG_As_int(obj0)); |
093d3ff1 RD |
16703 | if (SWIG_arg_fail(1)) SWIG_fail; |
16704 | } | |
994141e6 | 16705 | } |
d14a1e28 RD |
16706 | { |
16707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16708 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
16709 | ||
16710 | wxPyEndAllowThreads(__tstate); | |
16711 | if (PyErr_Occurred()) SWIG_fail; | |
16712 | } | |
15afbcd0 | 16713 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
16714 | return resultobj; |
16715 | fail: | |
16716 | return NULL; | |
16717 | } | |
16718 | ||
16719 | ||
c32bde28 | 16720 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16721 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16722 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16723 | PyObject * obj0 = 0 ; | |
16724 | char *kwnames[] = { | |
16725 | (char *) "self", NULL | |
16726 | }; | |
16727 | ||
16728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16729 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16730 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16731 | { |
16732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16733 | delete arg1; | |
16734 | ||
16735 | wxPyEndAllowThreads(__tstate); | |
16736 | if (PyErr_Occurred()) SWIG_fail; | |
16737 | } | |
16738 | Py_INCREF(Py_None); resultobj = Py_None; | |
16739 | return resultobj; | |
16740 | fail: | |
16741 | return NULL; | |
16742 | } | |
16743 | ||
16744 | ||
c32bde28 | 16745 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16746 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16747 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16748 | wxString *result; | |
16749 | PyObject * obj0 = 0 ; | |
16750 | char *kwnames[] = { | |
16751 | (char *) "self", NULL | |
16752 | }; | |
16753 | ||
16754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16755 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16756 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16757 | { |
16758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16759 | { | |
16760 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16761 | result = (wxString *) &_result_ref; | |
16762 | } | |
16763 | ||
16764 | wxPyEndAllowThreads(__tstate); | |
16765 | if (PyErr_Occurred()) SWIG_fail; | |
16766 | } | |
cc6dd355 RD |
16767 | { |
16768 | #if wxUSE_UNICODE | |
16769 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16770 | #else | |
16771 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16772 | #endif | |
16773 | } | |
d14a1e28 RD |
16774 | return resultobj; |
16775 | fail: | |
16776 | return NULL; | |
16777 | } | |
16778 | ||
16779 | ||
c32bde28 | 16780 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16781 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16782 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16783 | wxString *result; | |
16784 | PyObject * obj0 = 0 ; | |
16785 | char *kwnames[] = { | |
16786 | (char *) "self", NULL | |
16787 | }; | |
16788 | ||
16789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16790 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16791 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16792 | { |
16793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16794 | { | |
16795 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16796 | result = (wxString *) &_result_ref; | |
16797 | } | |
16798 | ||
16799 | wxPyEndAllowThreads(__tstate); | |
16800 | if (PyErr_Occurred()) SWIG_fail; | |
16801 | } | |
cc6dd355 RD |
16802 | { |
16803 | #if wxUSE_UNICODE | |
16804 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16805 | #else | |
16806 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16807 | #endif | |
16808 | } | |
d14a1e28 RD |
16809 | return resultobj; |
16810 | fail: | |
16811 | return NULL; | |
16812 | } | |
16813 | ||
16814 | ||
c32bde28 | 16815 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16816 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16817 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16818 | int result; | |
16819 | PyObject * obj0 = 0 ; | |
16820 | char *kwnames[] = { | |
16821 | (char *) "self", NULL | |
16822 | }; | |
16823 | ||
16824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16825 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16826 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16827 | { |
16828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16829 | result = (int)(arg1)->GetFlags(); | |
16830 | ||
16831 | wxPyEndAllowThreads(__tstate); | |
16832 | if (PyErr_Occurred()) SWIG_fail; | |
16833 | } | |
093d3ff1 | 16834 | { |
32fe5131 | 16835 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 16836 | } |
d14a1e28 RD |
16837 | return resultobj; |
16838 | fail: | |
16839 | return NULL; | |
16840 | } | |
16841 | ||
16842 | ||
c32bde28 | 16843 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16844 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16845 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16846 | int arg2 ; | |
16847 | PyObject * obj0 = 0 ; | |
994141e6 | 16848 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16849 | char *kwnames[] = { |
16850 | (char *) "self",(char *) "flags", NULL | |
16851 | }; | |
16852 | ||
994141e6 | 16853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
16854 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16855 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16856 | { | |
32fe5131 | 16857 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
16858 | if (SWIG_arg_fail(2)) SWIG_fail; |
16859 | } | |
d14a1e28 RD |
16860 | { |
16861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16862 | (arg1)->SetFlags(arg2); | |
16863 | ||
16864 | wxPyEndAllowThreads(__tstate); | |
16865 | if (PyErr_Occurred()) SWIG_fail; | |
16866 | } | |
16867 | Py_INCREF(Py_None); resultobj = Py_None; | |
16868 | return resultobj; | |
16869 | fail: | |
16870 | return NULL; | |
16871 | } | |
16872 | ||
16873 | ||
c32bde28 | 16874 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16875 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16876 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16877 | wxString *arg2 = 0 ; | |
ae8162c8 | 16878 | bool temp2 = false ; |
d14a1e28 RD |
16879 | PyObject * obj0 = 0 ; |
16880 | PyObject * obj1 = 0 ; | |
16881 | char *kwnames[] = { | |
16882 | (char *) "self",(char *) "str", NULL | |
16883 | }; | |
16884 | ||
16885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16888 | { |
16889 | arg2 = wxString_in_helper(obj1); | |
16890 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16891 | temp2 = true; |
d14a1e28 RD |
16892 | } |
16893 | { | |
16894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16895 | (arg1)->SetFindString((wxString const &)*arg2); | |
16896 | ||
16897 | wxPyEndAllowThreads(__tstate); | |
16898 | if (PyErr_Occurred()) SWIG_fail; | |
16899 | } | |
16900 | Py_INCREF(Py_None); resultobj = Py_None; | |
16901 | { | |
16902 | if (temp2) | |
16903 | delete arg2; | |
16904 | } | |
16905 | return resultobj; | |
16906 | fail: | |
16907 | { | |
16908 | if (temp2) | |
16909 | delete arg2; | |
16910 | } | |
16911 | return NULL; | |
16912 | } | |
16913 | ||
16914 | ||
c32bde28 | 16915 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16916 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16917 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; |
16918 | wxString *arg2 = 0 ; | |
ae8162c8 | 16919 | bool temp2 = false ; |
d14a1e28 RD |
16920 | PyObject * obj0 = 0 ; |
16921 | PyObject * obj1 = 0 ; | |
16922 | char *kwnames[] = { | |
16923 | (char *) "self",(char *) "str", NULL | |
16924 | }; | |
16925 | ||
16926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16927 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16928 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16929 | { |
16930 | arg2 = wxString_in_helper(obj1); | |
16931 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16932 | temp2 = true; |
d14a1e28 RD |
16933 | } |
16934 | { | |
16935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16936 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16937 | ||
16938 | wxPyEndAllowThreads(__tstate); | |
16939 | if (PyErr_Occurred()) SWIG_fail; | |
16940 | } | |
16941 | Py_INCREF(Py_None); resultobj = Py_None; | |
16942 | { | |
16943 | if (temp2) | |
16944 | delete arg2; | |
16945 | } | |
16946 | return resultobj; | |
16947 | fail: | |
16948 | { | |
16949 | if (temp2) | |
16950 | delete arg2; | |
16951 | } | |
16952 | return NULL; | |
16953 | } | |
16954 | ||
16955 | ||
c32bde28 | 16956 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16957 | PyObject *obj; |
16958 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16959 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
16960 | Py_INCREF(obj); | |
16961 | return Py_BuildValue((char *)""); | |
16962 | } | |
c32bde28 | 16963 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16964 | PyObject *resultobj = NULL; |
d14a1e28 RD |
16965 | wxWindow *arg1 = (wxWindow *) 0 ; |
16966 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
16967 | wxString *arg3 = 0 ; | |
16968 | int arg4 = (int) 0 ; | |
16969 | wxFindReplaceDialog *result; | |
ae8162c8 | 16970 | bool temp3 = false ; |
d14a1e28 RD |
16971 | PyObject * obj0 = 0 ; |
16972 | PyObject * obj1 = 0 ; | |
16973 | PyObject * obj2 = 0 ; | |
994141e6 | 16974 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
16975 | char *kwnames[] = { |
16976 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
16977 | }; | |
16978 | ||
994141e6 | 16979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
16980 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16981 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16982 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16983 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
16984 | { |
16985 | arg3 = wxString_in_helper(obj2); | |
16986 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 16987 | temp3 = true; |
d14a1e28 | 16988 | } |
994141e6 | 16989 | if (obj3) { |
093d3ff1 | 16990 | { |
32fe5131 | 16991 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
16992 | if (SWIG_arg_fail(4)) SWIG_fail; |
16993 | } | |
994141e6 | 16994 | } |
d14a1e28 | 16995 | { |
e3b71cb8 | 16996 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
16997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16998 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
16999 | ||
17000 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17001 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17002 | } |
15afbcd0 | 17003 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
17004 | { |
17005 | if (temp3) | |
17006 | delete arg3; | |
17007 | } | |
17008 | return resultobj; | |
17009 | fail: | |
17010 | { | |
17011 | if (temp3) | |
17012 | delete arg3; | |
17013 | } | |
17014 | return NULL; | |
17015 | } | |
17016 | ||
17017 | ||
c32bde28 | 17018 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17019 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17020 | wxFindReplaceDialog *result; |
17021 | char *kwnames[] = { | |
17022 | NULL | |
17023 | }; | |
17024 | ||
17025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
17026 | { | |
e3b71cb8 | 17027 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17029 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
17030 | ||
17031 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17032 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17033 | } |
15afbcd0 | 17034 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
17035 | return resultobj; |
17036 | fail: | |
17037 | return NULL; | |
17038 | } | |
17039 | ||
17040 | ||
c32bde28 | 17041 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17042 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17043 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; |
17044 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17045 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
17046 | wxString *arg4 = 0 ; | |
17047 | int arg5 = (int) 0 ; | |
17048 | bool result; | |
ae8162c8 | 17049 | bool temp4 = false ; |
d14a1e28 RD |
17050 | PyObject * obj0 = 0 ; |
17051 | PyObject * obj1 = 0 ; | |
17052 | PyObject * obj2 = 0 ; | |
17053 | PyObject * obj3 = 0 ; | |
994141e6 | 17054 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
17055 | char *kwnames[] = { |
17056 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
17057 | }; | |
17058 | ||
994141e6 | 17059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
17060 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
17061 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17062 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
17063 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17064 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
17065 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
17066 | { |
17067 | arg4 = wxString_in_helper(obj3); | |
17068 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 17069 | temp4 = true; |
d14a1e28 | 17070 | } |
994141e6 | 17071 | if (obj4) { |
093d3ff1 | 17072 | { |
32fe5131 | 17073 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
17074 | if (SWIG_arg_fail(5)) SWIG_fail; |
17075 | } | |
994141e6 | 17076 | } |
d14a1e28 RD |
17077 | { |
17078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17079 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
17080 | ||
17081 | wxPyEndAllowThreads(__tstate); | |
17082 | if (PyErr_Occurred()) SWIG_fail; | |
17083 | } | |
4f89f6a3 RD |
17084 | { |
17085 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17086 | } | |
d14a1e28 RD |
17087 | { |
17088 | if (temp4) | |
17089 | delete arg4; | |
17090 | } | |
17091 | return resultobj; | |
17092 | fail: | |
17093 | { | |
17094 | if (temp4) | |
17095 | delete arg4; | |
17096 | } | |
17097 | return NULL; | |
17098 | } | |
17099 | ||
17100 | ||
c32bde28 | 17101 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17102 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17103 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; |
17104 | wxFindReplaceData *result; | |
17105 | PyObject * obj0 = 0 ; | |
17106 | char *kwnames[] = { | |
17107 | (char *) "self", NULL | |
17108 | }; | |
17109 | ||
17110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17111 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
17112 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17113 | { |
17114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17115 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
17116 | ||
17117 | wxPyEndAllowThreads(__tstate); | |
17118 | if (PyErr_Occurred()) SWIG_fail; | |
17119 | } | |
15afbcd0 | 17120 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
17121 | return resultobj; |
17122 | fail: | |
17123 | return NULL; | |
17124 | } | |
17125 | ||
17126 | ||
c32bde28 | 17127 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17128 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17129 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; |
17130 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
17131 | PyObject * obj0 = 0 ; | |
17132 | PyObject * obj1 = 0 ; | |
17133 | char *kwnames[] = { | |
17134 | (char *) "self",(char *) "data", NULL | |
17135 | }; | |
17136 | ||
17137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
17138 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
17139 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17140 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
17141 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
17142 | { |
17143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17144 | (arg1)->SetData(arg2); | |
17145 | ||
17146 | wxPyEndAllowThreads(__tstate); | |
17147 | if (PyErr_Occurred()) SWIG_fail; | |
17148 | } | |
17149 | Py_INCREF(Py_None); resultobj = Py_None; | |
17150 | return resultobj; | |
17151 | fail: | |
17152 | return NULL; | |
17153 | } | |
17154 | ||
17155 | ||
c32bde28 | 17156 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
17157 | PyObject *obj; |
17158 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17159 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
17160 | Py_INCREF(obj); | |
17161 | return Py_BuildValue((char *)""); | |
17162 | } | |
c32bde28 | 17163 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17164 | PyObject *resultobj = NULL; |
d14a1e28 | 17165 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 RD |
17166 | int arg2 = (int) (int)-1 ; |
17167 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17168 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
17169 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
17170 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
17171 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
17172 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
17173 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
17174 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
17175 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
17176 | wxMDIParentFrame *result; | |
ae8162c8 | 17177 | bool temp3 = false ; |
d14a1e28 RD |
17178 | wxPoint temp4 ; |
17179 | wxSize temp5 ; | |
ae8162c8 | 17180 | bool temp7 = false ; |
d14a1e28 | 17181 | PyObject * obj0 = 0 ; |
994141e6 | 17182 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17183 | PyObject * obj2 = 0 ; |
17184 | PyObject * obj3 = 0 ; | |
17185 | PyObject * obj4 = 0 ; | |
994141e6 | 17186 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
17187 | PyObject * obj6 = 0 ; |
17188 | char *kwnames[] = { | |
17189 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17190 | }; | |
17191 | ||
248ed943 | 17192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
17193 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
17194 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 17195 | if (obj1) { |
093d3ff1 | 17196 | { |
32fe5131 | 17197 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
17198 | if (SWIG_arg_fail(2)) SWIG_fail; |
17199 | } | |
248ed943 RD |
17200 | } |
17201 | if (obj2) { | |
17202 | { | |
17203 | arg3 = wxString_in_helper(obj2); | |
17204 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 17205 | temp3 = true; |
248ed943 | 17206 | } |
d14a1e28 RD |
17207 | } |
17208 | if (obj3) { | |
17209 | { | |
17210 | arg4 = &temp4; | |
17211 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
17212 | } | |
17213 | } | |
17214 | if (obj4) { | |
17215 | { | |
17216 | arg5 = &temp5; | |
17217 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
17218 | } | |
17219 | } | |
994141e6 | 17220 | if (obj5) { |
093d3ff1 | 17221 | { |
32fe5131 | 17222 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
17223 | if (SWIG_arg_fail(6)) SWIG_fail; |
17224 | } | |
994141e6 | 17225 | } |
d14a1e28 RD |
17226 | if (obj6) { |
17227 | { | |
17228 | arg7 = wxString_in_helper(obj6); | |
17229 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 17230 | temp7 = true; |
d14a1e28 RD |
17231 | } |
17232 | } | |
17233 | { | |
e3b71cb8 | 17234 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17236 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
17237 | ||
17238 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17239 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17240 | } |
15afbcd0 | 17241 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
17242 | { |
17243 | if (temp3) | |
17244 | delete arg3; | |
17245 | } | |
17246 | { | |
17247 | if (temp7) | |
17248 | delete arg7; | |
17249 | } | |
17250 | return resultobj; | |
17251 | fail: | |
17252 | { | |
17253 | if (temp3) | |
17254 | delete arg3; | |
17255 | } | |
17256 | { | |
17257 | if (temp7) | |
17258 | delete arg7; | |
17259 | } | |
17260 | return NULL; | |
17261 | } | |
17262 | ||
17263 | ||
c32bde28 | 17264 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17265 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17266 | wxMDIParentFrame *result; |
17267 | char *kwnames[] = { | |
17268 | NULL | |
17269 | }; | |
17270 | ||
17271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
17272 | { | |
e3b71cb8 | 17273 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17275 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
17276 | ||
17277 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17278 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17279 | } |
15afbcd0 | 17280 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
17281 | return resultobj; |
17282 | fail: | |
17283 | return NULL; | |
17284 | } | |
17285 | ||
17286 | ||
c32bde28 | 17287 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17288 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17289 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17290 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
17291 | int arg3 = (int) (int)-1 ; |
17292 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
17293 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
17294 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
17295 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
17296 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
17297 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
17298 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
17299 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
17300 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
17301 | bool result; | |
ae8162c8 | 17302 | bool temp4 = false ; |
d14a1e28 RD |
17303 | wxPoint temp5 ; |
17304 | wxSize temp6 ; | |
ae8162c8 | 17305 | bool temp8 = false ; |
d14a1e28 RD |
17306 | PyObject * obj0 = 0 ; |
17307 | PyObject * obj1 = 0 ; | |
994141e6 | 17308 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
17309 | PyObject * obj3 = 0 ; |
17310 | PyObject * obj4 = 0 ; | |
17311 | PyObject * obj5 = 0 ; | |
994141e6 | 17312 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
17313 | PyObject * obj7 = 0 ; |
17314 | char *kwnames[] = { | |
17315 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17316 | }; | |
17317 | ||
248ed943 | 17318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
17319 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17320 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17321 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
17322 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 17323 | if (obj2) { |
093d3ff1 | 17324 | { |
32fe5131 | 17325 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
17326 | if (SWIG_arg_fail(3)) SWIG_fail; |
17327 | } | |
248ed943 RD |
17328 | } |
17329 | if (obj3) { | |
17330 | { | |
17331 | arg4 = wxString_in_helper(obj3); | |
17332 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 17333 | temp4 = true; |
248ed943 | 17334 | } |
d14a1e28 RD |
17335 | } |
17336 | if (obj4) { | |
17337 | { | |
17338 | arg5 = &temp5; | |
17339 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
17340 | } | |
17341 | } | |
17342 | if (obj5) { | |
17343 | { | |
17344 | arg6 = &temp6; | |
17345 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
17346 | } | |
17347 | } | |
994141e6 | 17348 | if (obj6) { |
093d3ff1 | 17349 | { |
32fe5131 | 17350 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
093d3ff1 RD |
17351 | if (SWIG_arg_fail(7)) SWIG_fail; |
17352 | } | |
994141e6 | 17353 | } |
d14a1e28 RD |
17354 | if (obj7) { |
17355 | { | |
17356 | arg8 = wxString_in_helper(obj7); | |
17357 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 17358 | temp8 = true; |
d14a1e28 RD |
17359 | } |
17360 | } | |
17361 | { | |
17362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17363 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17364 | ||
17365 | wxPyEndAllowThreads(__tstate); | |
17366 | if (PyErr_Occurred()) SWIG_fail; | |
17367 | } | |
4f89f6a3 RD |
17368 | { |
17369 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17370 | } | |
d14a1e28 RD |
17371 | { |
17372 | if (temp4) | |
17373 | delete arg4; | |
17374 | } | |
17375 | { | |
17376 | if (temp8) | |
17377 | delete arg8; | |
17378 | } | |
17379 | return resultobj; | |
17380 | fail: | |
17381 | { | |
17382 | if (temp4) | |
17383 | delete arg4; | |
17384 | } | |
17385 | { | |
17386 | if (temp8) | |
17387 | delete arg8; | |
17388 | } | |
17389 | return NULL; | |
17390 | } | |
17391 | ||
17392 | ||
c32bde28 | 17393 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17394 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17395 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17396 | PyObject * obj0 = 0 ; | |
17397 | char *kwnames[] = { | |
17398 | (char *) "self", NULL | |
17399 | }; | |
17400 | ||
17401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17402 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17403 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17404 | { |
17405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17406 | (arg1)->ActivateNext(); | |
17407 | ||
17408 | wxPyEndAllowThreads(__tstate); | |
17409 | if (PyErr_Occurred()) SWIG_fail; | |
17410 | } | |
17411 | Py_INCREF(Py_None); resultobj = Py_None; | |
17412 | return resultobj; | |
17413 | fail: | |
17414 | return NULL; | |
17415 | } | |
17416 | ||
17417 | ||
c32bde28 | 17418 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17419 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17420 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17421 | PyObject * obj0 = 0 ; | |
17422 | char *kwnames[] = { | |
17423 | (char *) "self", NULL | |
17424 | }; | |
17425 | ||
17426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17427 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17428 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17429 | { |
17430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17431 | (arg1)->ActivatePrevious(); | |
17432 | ||
17433 | wxPyEndAllowThreads(__tstate); | |
17434 | if (PyErr_Occurred()) SWIG_fail; | |
17435 | } | |
17436 | Py_INCREF(Py_None); resultobj = Py_None; | |
17437 | return resultobj; | |
17438 | fail: | |
17439 | return NULL; | |
17440 | } | |
17441 | ||
17442 | ||
c32bde28 | 17443 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17444 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17445 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17446 | PyObject * obj0 = 0 ; | |
17447 | char *kwnames[] = { | |
17448 | (char *) "self", NULL | |
17449 | }; | |
17450 | ||
17451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17452 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17453 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17454 | { |
17455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17456 | (arg1)->ArrangeIcons(); | |
17457 | ||
17458 | wxPyEndAllowThreads(__tstate); | |
17459 | if (PyErr_Occurred()) SWIG_fail; | |
17460 | } | |
17461 | Py_INCREF(Py_None); resultobj = Py_None; | |
17462 | return resultobj; | |
17463 | fail: | |
17464 | return NULL; | |
17465 | } | |
17466 | ||
17467 | ||
c32bde28 | 17468 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17469 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17470 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17471 | PyObject * obj0 = 0 ; | |
17472 | char *kwnames[] = { | |
17473 | (char *) "self", NULL | |
17474 | }; | |
17475 | ||
17476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17477 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17478 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17479 | { |
17480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17481 | (arg1)->Cascade(); | |
17482 | ||
17483 | wxPyEndAllowThreads(__tstate); | |
17484 | if (PyErr_Occurred()) SWIG_fail; | |
17485 | } | |
17486 | Py_INCREF(Py_None); resultobj = Py_None; | |
17487 | return resultobj; | |
17488 | fail: | |
17489 | return NULL; | |
17490 | } | |
17491 | ||
17492 | ||
c32bde28 | 17493 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17494 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17495 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17496 | wxMDIChildFrame *result; | |
17497 | PyObject * obj0 = 0 ; | |
17498 | char *kwnames[] = { | |
17499 | (char *) "self", NULL | |
17500 | }; | |
17501 | ||
17502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17503 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17504 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17505 | { |
17506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17507 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
17508 | ||
17509 | wxPyEndAllowThreads(__tstate); | |
17510 | if (PyErr_Occurred()) SWIG_fail; | |
17511 | } | |
17512 | { | |
7e08d4ef | 17513 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
17514 | } |
17515 | return resultobj; | |
17516 | fail: | |
17517 | return NULL; | |
17518 | } | |
17519 | ||
17520 | ||
c32bde28 | 17521 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17522 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17523 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17524 | wxMDIClientWindow *result; | |
17525 | PyObject * obj0 = 0 ; | |
17526 | char *kwnames[] = { | |
17527 | (char *) "self", NULL | |
17528 | }; | |
17529 | ||
17530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17531 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17532 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17533 | { |
17534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17535 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
17536 | ||
17537 | wxPyEndAllowThreads(__tstate); | |
17538 | if (PyErr_Occurred()) SWIG_fail; | |
17539 | } | |
17540 | { | |
7e08d4ef | 17541 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
17542 | } |
17543 | return resultobj; | |
17544 | fail: | |
17545 | return NULL; | |
17546 | } | |
17547 | ||
17548 | ||
c32bde28 | 17549 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17550 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17551 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17552 | wxWindow *result; | |
17553 | PyObject * obj0 = 0 ; | |
17554 | char *kwnames[] = { | |
17555 | (char *) "self", NULL | |
17556 | }; | |
17557 | ||
17558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17561 | { |
17562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17563 | result = (wxWindow *)(arg1)->GetToolBar(); | |
17564 | ||
17565 | wxPyEndAllowThreads(__tstate); | |
17566 | if (PyErr_Occurred()) SWIG_fail; | |
17567 | } | |
17568 | { | |
412d302d | 17569 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
17570 | } |
17571 | return resultobj; | |
17572 | fail: | |
17573 | return NULL; | |
17574 | } | |
17575 | ||
17576 | ||
c32bde28 | 17577 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17578 | PyObject *resultobj = NULL; |
d14a1e28 | 17579 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
396fb509 | 17580 | wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ; |
d14a1e28 | 17581 | PyObject * obj0 = 0 ; |
396fb509 | 17582 | PyObject * obj1 = 0 ; |
d14a1e28 | 17583 | char *kwnames[] = { |
396fb509 | 17584 | (char *) "self",(char *) "orient", NULL |
d14a1e28 RD |
17585 | }; |
17586 | ||
396fb509 | 17587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
17588 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17589 | if (SWIG_arg_fail(1)) SWIG_fail; | |
396fb509 RD |
17590 | if (obj1) { |
17591 | { | |
32fe5131 | 17592 | arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1)); |
396fb509 RD |
17593 | if (SWIG_arg_fail(2)) SWIG_fail; |
17594 | } | |
17595 | } | |
d14a1e28 RD |
17596 | { |
17597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 17598 | (arg1)->Tile(arg2); |
d14a1e28 RD |
17599 | |
17600 | wxPyEndAllowThreads(__tstate); | |
17601 | if (PyErr_Occurred()) SWIG_fail; | |
17602 | } | |
17603 | Py_INCREF(Py_None); resultobj = Py_None; | |
17604 | return resultobj; | |
17605 | fail: | |
17606 | return NULL; | |
17607 | } | |
17608 | ||
17609 | ||
c32bde28 | 17610 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
17611 | PyObject *obj; |
17612 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17613 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
17614 | Py_INCREF(obj); | |
17615 | return Py_BuildValue((char *)""); | |
17616 | } | |
c32bde28 | 17617 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17618 | PyObject *resultobj = NULL; |
d14a1e28 | 17619 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
248ed943 RD |
17620 | int arg2 = (int) (int)-1 ; |
17621 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17622 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
17623 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
17624 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
17625 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
17626 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
17627 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
17628 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
17629 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
17630 | wxMDIChildFrame *result; | |
ae8162c8 | 17631 | bool temp3 = false ; |
d14a1e28 RD |
17632 | wxPoint temp4 ; |
17633 | wxSize temp5 ; | |
ae8162c8 | 17634 | bool temp7 = false ; |
d14a1e28 | 17635 | PyObject * obj0 = 0 ; |
994141e6 | 17636 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17637 | PyObject * obj2 = 0 ; |
17638 | PyObject * obj3 = 0 ; | |
17639 | PyObject * obj4 = 0 ; | |
994141e6 | 17640 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
17641 | PyObject * obj6 = 0 ; |
17642 | char *kwnames[] = { | |
17643 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17644 | }; | |
17645 | ||
248ed943 | 17646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
17647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 17649 | if (obj1) { |
093d3ff1 | 17650 | { |
32fe5131 | 17651 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
17652 | if (SWIG_arg_fail(2)) SWIG_fail; |
17653 | } | |
248ed943 RD |
17654 | } |
17655 | if (obj2) { | |
17656 | { | |
17657 | arg3 = wxString_in_helper(obj2); | |
17658 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 17659 | temp3 = true; |
248ed943 | 17660 | } |
d14a1e28 RD |
17661 | } |
17662 | if (obj3) { | |
17663 | { | |
17664 | arg4 = &temp4; | |
17665 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
17666 | } | |
17667 | } | |
17668 | if (obj4) { | |
17669 | { | |
17670 | arg5 = &temp5; | |
17671 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
17672 | } | |
17673 | } | |
994141e6 | 17674 | if (obj5) { |
093d3ff1 | 17675 | { |
32fe5131 | 17676 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
17677 | if (SWIG_arg_fail(6)) SWIG_fail; |
17678 | } | |
994141e6 | 17679 | } |
d14a1e28 RD |
17680 | if (obj6) { |
17681 | { | |
17682 | arg7 = wxString_in_helper(obj6); | |
17683 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 17684 | temp7 = true; |
d14a1e28 RD |
17685 | } |
17686 | } | |
17687 | { | |
e3b71cb8 | 17688 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17690 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
17691 | ||
17692 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17693 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17694 | } |
b0f7404b | 17695 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d14a1e28 RD |
17696 | { |
17697 | if (temp3) | |
17698 | delete arg3; | |
17699 | } | |
17700 | { | |
17701 | if (temp7) | |
17702 | delete arg7; | |
17703 | } | |
17704 | return resultobj; | |
17705 | fail: | |
17706 | { | |
17707 | if (temp3) | |
17708 | delete arg3; | |
17709 | } | |
17710 | { | |
17711 | if (temp7) | |
17712 | delete arg7; | |
17713 | } | |
17714 | return NULL; | |
17715 | } | |
17716 | ||
17717 | ||
c32bde28 | 17718 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17719 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17720 | wxMDIChildFrame *result; |
17721 | char *kwnames[] = { | |
17722 | NULL | |
17723 | }; | |
17724 | ||
17725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
17726 | { | |
e3b71cb8 | 17727 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17729 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
17730 | ||
17731 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17732 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17733 | } |
b0f7404b | 17734 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d14a1e28 RD |
17735 | return resultobj; |
17736 | fail: | |
17737 | return NULL; | |
17738 | } | |
17739 | ||
17740 | ||
c32bde28 | 17741 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17742 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17743 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; |
17744 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
17745 | int arg3 = (int) (int)-1 ; |
17746 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
17747 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
17748 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
17749 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
17750 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
17751 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
17752 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
17753 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
17754 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
17755 | bool result; | |
ae8162c8 | 17756 | bool temp4 = false ; |
d14a1e28 RD |
17757 | wxPoint temp5 ; |
17758 | wxSize temp6 ; | |
ae8162c8 | 17759 | bool temp8 = false ; |
d14a1e28 RD |
17760 | PyObject * obj0 = 0 ; |
17761 | PyObject * obj1 = 0 ; | |
994141e6 | 17762 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
17763 | PyObject * obj3 = 0 ; |
17764 | PyObject * obj4 = 0 ; | |
17765 | PyObject * obj5 = 0 ; | |
994141e6 | 17766 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
17767 | PyObject * obj7 = 0 ; |
17768 | char *kwnames[] = { | |
17769 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17770 | }; | |
17771 | ||
248ed943 | 17772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
17773 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17774 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17775 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
17776 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 17777 | if (obj2) { |
093d3ff1 | 17778 | { |
32fe5131 | 17779 | arg3 = static_cast<int const >(SWIG_As_int(obj2)); |
093d3ff1 RD |
17780 | if (SWIG_arg_fail(3)) SWIG_fail; |
17781 | } | |
248ed943 RD |
17782 | } |
17783 | if (obj3) { | |
17784 | { | |
17785 | arg4 = wxString_in_helper(obj3); | |
17786 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 17787 | temp4 = true; |
248ed943 | 17788 | } |
d14a1e28 RD |
17789 | } |
17790 | if (obj4) { | |
17791 | { | |
17792 | arg5 = &temp5; | |
17793 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
17794 | } | |
17795 | } | |
17796 | if (obj5) { | |
17797 | { | |
17798 | arg6 = &temp6; | |
17799 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
17800 | } | |
17801 | } | |
994141e6 | 17802 | if (obj6) { |
093d3ff1 | 17803 | { |
32fe5131 | 17804 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
093d3ff1 RD |
17805 | if (SWIG_arg_fail(7)) SWIG_fail; |
17806 | } | |
994141e6 | 17807 | } |
d14a1e28 RD |
17808 | if (obj7) { |
17809 | { | |
17810 | arg8 = wxString_in_helper(obj7); | |
17811 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 17812 | temp8 = true; |
d14a1e28 RD |
17813 | } |
17814 | } | |
17815 | { | |
17816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17817 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17818 | ||
17819 | wxPyEndAllowThreads(__tstate); | |
17820 | if (PyErr_Occurred()) SWIG_fail; | |
17821 | } | |
4f89f6a3 RD |
17822 | { |
17823 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17824 | } | |
d14a1e28 RD |
17825 | { |
17826 | if (temp4) | |
17827 | delete arg4; | |
17828 | } | |
17829 | { | |
17830 | if (temp8) | |
17831 | delete arg8; | |
17832 | } | |
17833 | return resultobj; | |
17834 | fail: | |
17835 | { | |
17836 | if (temp4) | |
17837 | delete arg4; | |
17838 | } | |
17839 | { | |
17840 | if (temp8) | |
17841 | delete arg8; | |
17842 | } | |
17843 | return NULL; | |
17844 | } | |
17845 | ||
17846 | ||
c32bde28 | 17847 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17848 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17849 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; |
17850 | PyObject * obj0 = 0 ; | |
17851 | char *kwnames[] = { | |
17852 | (char *) "self", NULL | |
17853 | }; | |
17854 | ||
17855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17858 | { |
17859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17860 | (arg1)->Activate(); | |
17861 | ||
17862 | wxPyEndAllowThreads(__tstate); | |
17863 | if (PyErr_Occurred()) SWIG_fail; | |
17864 | } | |
17865 | Py_INCREF(Py_None); resultobj = Py_None; | |
17866 | return resultobj; | |
17867 | fail: | |
17868 | return NULL; | |
17869 | } | |
17870 | ||
17871 | ||
c32bde28 | 17872 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17873 | PyObject *resultobj = NULL; |
d14a1e28 | 17874 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; |
5cbf236d | 17875 | bool arg2 = (bool) true ; |
d14a1e28 RD |
17876 | PyObject * obj0 = 0 ; |
17877 | PyObject * obj1 = 0 ; | |
17878 | char *kwnames[] = { | |
17879 | (char *) "self",(char *) "maximize", NULL | |
17880 | }; | |
17881 | ||
5cbf236d | 17882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
17883 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17884 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d | 17885 | if (obj1) { |
093d3ff1 | 17886 | { |
32fe5131 | 17887 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
17888 | if (SWIG_arg_fail(2)) SWIG_fail; |
17889 | } | |
5cbf236d | 17890 | } |
d14a1e28 RD |
17891 | { |
17892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17893 | (arg1)->Maximize(arg2); | |
17894 | ||
17895 | wxPyEndAllowThreads(__tstate); | |
17896 | if (PyErr_Occurred()) SWIG_fail; | |
17897 | } | |
17898 | Py_INCREF(Py_None); resultobj = Py_None; | |
17899 | return resultobj; | |
17900 | fail: | |
17901 | return NULL; | |
17902 | } | |
17903 | ||
17904 | ||
c32bde28 | 17905 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17906 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17907 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; |
17908 | PyObject * obj0 = 0 ; | |
17909 | char *kwnames[] = { | |
17910 | (char *) "self", NULL | |
17911 | }; | |
17912 | ||
17913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
17916 | { |
17917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17918 | (arg1)->Restore(); | |
17919 | ||
17920 | wxPyEndAllowThreads(__tstate); | |
17921 | if (PyErr_Occurred()) SWIG_fail; | |
17922 | } | |
17923 | Py_INCREF(Py_None); resultobj = Py_None; | |
17924 | return resultobj; | |
17925 | fail: | |
17926 | return NULL; | |
17927 | } | |
17928 | ||
17929 | ||
c32bde28 | 17930 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
17931 | PyObject *obj; |
17932 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17933 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
17934 | Py_INCREF(obj); | |
17935 | return Py_BuildValue((char *)""); | |
17936 | } | |
c32bde28 | 17937 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17938 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17939 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; |
17940 | long arg2 = (long) 0 ; | |
17941 | wxMDIClientWindow *result; | |
17942 | PyObject * obj0 = 0 ; | |
994141e6 | 17943 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17944 | char *kwnames[] = { |
17945 | (char *) "parent",(char *) "style", NULL | |
17946 | }; | |
17947 | ||
994141e6 | 17948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
17949 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17950 | if (SWIG_arg_fail(1)) SWIG_fail; | |
994141e6 | 17951 | if (obj1) { |
093d3ff1 | 17952 | { |
32fe5131 | 17953 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
17954 | if (SWIG_arg_fail(2)) SWIG_fail; |
17955 | } | |
994141e6 | 17956 | } |
d14a1e28 | 17957 | { |
e3b71cb8 | 17958 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17960 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
17961 | ||
17962 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17963 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17964 | } |
b0f7404b | 17965 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d14a1e28 RD |
17966 | return resultobj; |
17967 | fail: | |
17968 | return NULL; | |
17969 | } | |
17970 | ||
17971 | ||
c32bde28 | 17972 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17973 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17974 | wxMDIClientWindow *result; |
17975 | char *kwnames[] = { | |
17976 | NULL | |
17977 | }; | |
17978 | ||
17979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
17980 | { | |
e3b71cb8 | 17981 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
17982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17983 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
17984 | ||
17985 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17986 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 17987 | } |
b0f7404b | 17988 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d14a1e28 RD |
17989 | return resultobj; |
17990 | fail: | |
17991 | return NULL; | |
17992 | } | |
17993 | ||
17994 | ||
c32bde28 | 17995 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 17996 | PyObject *resultobj = NULL; |
d14a1e28 RD |
17997 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; |
17998 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
17999 | long arg3 = (long) 0 ; | |
18000 | bool result; | |
18001 | PyObject * obj0 = 0 ; | |
18002 | PyObject * obj1 = 0 ; | |
994141e6 | 18003 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
18004 | char *kwnames[] = { |
18005 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
18006 | }; | |
18007 | ||
994141e6 | 18008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
18009 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0); |
18010 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18011 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
18012 | if (SWIG_arg_fail(2)) SWIG_fail; | |
994141e6 | 18013 | if (obj2) { |
093d3ff1 | 18014 | { |
32fe5131 | 18015 | arg3 = static_cast<long >(SWIG_As_long(obj2)); |
093d3ff1 RD |
18016 | if (SWIG_arg_fail(3)) SWIG_fail; |
18017 | } | |
994141e6 | 18018 | } |
d14a1e28 RD |
18019 | { |
18020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18021 | result = (bool)(arg1)->Create(arg2,arg3); | |
18022 | ||
18023 | wxPyEndAllowThreads(__tstate); | |
18024 | if (PyErr_Occurred()) SWIG_fail; | |
18025 | } | |
4f89f6a3 RD |
18026 | { |
18027 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18028 | } | |
d14a1e28 RD |
18029 | return resultobj; |
18030 | fail: | |
18031 | return NULL; | |
18032 | } | |
18033 | ||
18034 | ||
c32bde28 | 18035 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
18036 | PyObject *obj; |
18037 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18038 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
18039 | Py_INCREF(obj); | |
18040 | return Py_BuildValue((char *)""); | |
18041 | } | |
c32bde28 | 18042 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18043 | PyObject *resultobj = NULL; |
d14a1e28 | 18044 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 18045 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
18046 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
18047 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
18048 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
18049 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
18050 | long arg5 = (long) 0 ; | |
18051 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
18052 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
18053 | wxPyWindow *result; | |
18054 | wxPoint temp3 ; | |
18055 | wxSize temp4 ; | |
ae8162c8 | 18056 | bool temp6 = false ; |
d14a1e28 | 18057 | PyObject * obj0 = 0 ; |
994141e6 | 18058 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18059 | PyObject * obj2 = 0 ; |
18060 | PyObject * obj3 = 0 ; | |
994141e6 | 18061 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
18062 | PyObject * obj5 = 0 ; |
18063 | char *kwnames[] = { | |
18064 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
18065 | }; | |
18066 | ||
248ed943 | 18067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
18068 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
18069 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 18070 | if (obj1) { |
093d3ff1 | 18071 | { |
32fe5131 | 18072 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18073 | if (SWIG_arg_fail(2)) SWIG_fail; |
18074 | } | |
248ed943 | 18075 | } |
d14a1e28 RD |
18076 | if (obj2) { |
18077 | { | |
18078 | arg3 = &temp3; | |
18079 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
18080 | } | |
18081 | } | |
18082 | if (obj3) { | |
18083 | { | |
18084 | arg4 = &temp4; | |
18085 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
18086 | } | |
18087 | } | |
994141e6 | 18088 | if (obj4) { |
093d3ff1 | 18089 | { |
32fe5131 | 18090 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
18091 | if (SWIG_arg_fail(5)) SWIG_fail; |
18092 | } | |
994141e6 | 18093 | } |
d14a1e28 RD |
18094 | if (obj5) { |
18095 | { | |
18096 | arg6 = wxString_in_helper(obj5); | |
18097 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 18098 | temp6 = true; |
d14a1e28 RD |
18099 | } |
18100 | } | |
18101 | { | |
e3b71cb8 | 18102 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
18103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18104 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
18105 | ||
18106 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18107 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 18108 | } |
15afbcd0 | 18109 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
18110 | { |
18111 | if (temp6) | |
18112 | delete arg6; | |
18113 | } | |
18114 | return resultobj; | |
18115 | fail: | |
18116 | { | |
18117 | if (temp6) | |
18118 | delete arg6; | |
18119 | } | |
18120 | return NULL; | |
18121 | } | |
18122 | ||
18123 | ||
c32bde28 | 18124 | static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18125 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
18126 | wxPyWindow *result; |
18127 | char *kwnames[] = { | |
18128 | NULL | |
18129 | }; | |
18130 | ||
18131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
18132 | { | |
e3b71cb8 | 18133 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
18134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18135 | result = (wxPyWindow *)new wxPyWindow(); | |
18136 | ||
18137 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18138 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
18139 | } |
18140 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
18141 | return resultobj; | |
18142 | fail: | |
18143 | return NULL; | |
18144 | } | |
18145 | ||
18146 | ||
c32bde28 | 18147 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18148 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18149 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18150 | PyObject *arg2 = (PyObject *) 0 ; | |
18151 | PyObject *arg3 = (PyObject *) 0 ; | |
18152 | PyObject * obj0 = 0 ; | |
18153 | PyObject * obj1 = 0 ; | |
18154 | PyObject * obj2 = 0 ; | |
18155 | char *kwnames[] = { | |
18156 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
18157 | }; | |
18158 | ||
18159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
18160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18162 | arg2 = obj1; |
18163 | arg3 = obj2; | |
18164 | { | |
18165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18166 | (arg1)->_setCallbackInfo(arg2,arg3); | |
18167 | ||
18168 | wxPyEndAllowThreads(__tstate); | |
18169 | if (PyErr_Occurred()) SWIG_fail; | |
18170 | } | |
18171 | Py_INCREF(Py_None); resultobj = Py_None; | |
18172 | return resultobj; | |
18173 | fail: | |
18174 | return NULL; | |
18175 | } | |
18176 | ||
18177 | ||
c32bde28 | 18178 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18179 | PyObject *resultobj = NULL; |
db3e571a RD |
18180 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18181 | wxSize *arg2 = 0 ; | |
18182 | wxSize temp2 ; | |
18183 | PyObject * obj0 = 0 ; | |
18184 | PyObject * obj1 = 0 ; | |
18185 | char *kwnames[] = { | |
18186 | (char *) "self",(char *) "size", NULL | |
18187 | }; | |
18188 | ||
18189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
18190 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18191 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
18192 | { |
18193 | arg2 = &temp2; | |
18194 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18195 | } | |
18196 | { | |
18197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18198 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
18199 | ||
18200 | wxPyEndAllowThreads(__tstate); | |
18201 | if (PyErr_Occurred()) SWIG_fail; | |
18202 | } | |
18203 | Py_INCREF(Py_None); resultobj = Py_None; | |
18204 | return resultobj; | |
18205 | fail: | |
18206 | return NULL; | |
18207 | } | |
18208 | ||
18209 | ||
976dbff5 | 18210 | static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18211 | PyObject *resultobj = NULL; |
976dbff5 RD |
18212 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18213 | wxDC *arg2 = (wxDC *) 0 ; | |
18214 | bool result; | |
18215 | PyObject * obj0 = 0 ; | |
18216 | PyObject * obj1 = 0 ; | |
18217 | char *kwnames[] = { | |
18218 | (char *) "self",(char *) "dc", NULL | |
18219 | }; | |
18220 | ||
18221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail; | |
18222 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); | |
18223 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18224 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
18225 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18226 | { | |
18227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18228 | result = (bool)(arg1)->DoEraseBackground(arg2); | |
18229 | ||
18230 | wxPyEndAllowThreads(__tstate); | |
18231 | if (PyErr_Occurred()) SWIG_fail; | |
18232 | } | |
18233 | { | |
18234 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18235 | } | |
18236 | return resultobj; | |
18237 | fail: | |
18238 | return NULL; | |
18239 | } | |
18240 | ||
18241 | ||
c26d9ab4 | 18242 | static PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18243 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18244 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18245 | int arg2 ; | |
18246 | int arg3 ; | |
18247 | int arg4 ; | |
18248 | int arg5 ; | |
18249 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18250 | PyObject * obj1 = 0 ; |
18251 | PyObject * obj2 = 0 ; | |
18252 | PyObject * obj3 = 0 ; | |
18253 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
18254 | char *kwnames[] = { |
18255 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
18256 | }; | |
18257 | ||
c26d9ab4 | 18258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
18259 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18260 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18261 | { | |
32fe5131 | 18262 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18263 | if (SWIG_arg_fail(2)) SWIG_fail; |
18264 | } | |
18265 | { | |
32fe5131 | 18266 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
18267 | if (SWIG_arg_fail(3)) SWIG_fail; |
18268 | } | |
18269 | { | |
32fe5131 | 18270 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
18271 | if (SWIG_arg_fail(4)) SWIG_fail; |
18272 | } | |
18273 | { | |
32fe5131 | 18274 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
18275 | if (SWIG_arg_fail(5)) SWIG_fail; |
18276 | } | |
d14a1e28 RD |
18277 | { |
18278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18279 | (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
18280 | |
18281 | wxPyEndAllowThreads(__tstate); | |
18282 | if (PyErr_Occurred()) SWIG_fail; | |
18283 | } | |
18284 | Py_INCREF(Py_None); resultobj = Py_None; | |
18285 | return resultobj; | |
18286 | fail: | |
18287 | return NULL; | |
18288 | } | |
18289 | ||
18290 | ||
c26d9ab4 | 18291 | static PyObject *_wrap_PyWindow_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18292 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18293 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18294 | int arg2 ; | |
18295 | int arg3 ; | |
18296 | int arg4 ; | |
18297 | int arg5 ; | |
18298 | int arg6 = (int) wxSIZE_AUTO ; | |
18299 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18300 | PyObject * obj1 = 0 ; |
18301 | PyObject * obj2 = 0 ; | |
18302 | PyObject * obj3 = 0 ; | |
18303 | PyObject * obj4 = 0 ; | |
18304 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
18305 | char *kwnames[] = { |
18306 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
18307 | }; | |
18308 | ||
c26d9ab4 | 18309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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; | |
18312 | { | |
32fe5131 | 18313 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18314 | if (SWIG_arg_fail(2)) SWIG_fail; |
18315 | } | |
18316 | { | |
32fe5131 | 18317 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
18318 | if (SWIG_arg_fail(3)) SWIG_fail; |
18319 | } | |
18320 | { | |
32fe5131 | 18321 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
18322 | if (SWIG_arg_fail(4)) SWIG_fail; |
18323 | } | |
18324 | { | |
32fe5131 | 18325 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
18326 | if (SWIG_arg_fail(5)) SWIG_fail; |
18327 | } | |
994141e6 | 18328 | if (obj5) { |
093d3ff1 | 18329 | { |
32fe5131 | 18330 | arg6 = static_cast<int >(SWIG_As_int(obj5)); |
093d3ff1 RD |
18331 | if (SWIG_arg_fail(6)) SWIG_fail; |
18332 | } | |
994141e6 | 18333 | } |
d14a1e28 RD |
18334 | { |
18335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18336 | (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6); |
d14a1e28 RD |
18337 | |
18338 | wxPyEndAllowThreads(__tstate); | |
18339 | if (PyErr_Occurred()) SWIG_fail; | |
18340 | } | |
18341 | Py_INCREF(Py_None); resultobj = Py_None; | |
18342 | return resultobj; | |
18343 | fail: | |
18344 | return NULL; | |
18345 | } | |
18346 | ||
18347 | ||
c26d9ab4 | 18348 | static PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18349 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18350 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18351 | int arg2 ; | |
18352 | int arg3 ; | |
18353 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18354 | PyObject * obj1 = 0 ; |
18355 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
18356 | char *kwnames[] = { |
18357 | (char *) "self",(char *) "width",(char *) "height", NULL | |
18358 | }; | |
18359 | ||
c26d9ab4 | 18360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
18361 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18362 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18363 | { | |
32fe5131 | 18364 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18365 | if (SWIG_arg_fail(2)) SWIG_fail; |
18366 | } | |
18367 | { | |
32fe5131 | 18368 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
18369 | if (SWIG_arg_fail(3)) SWIG_fail; |
18370 | } | |
d14a1e28 RD |
18371 | { |
18372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18373 | (arg1)->DoSetClientSize(arg2,arg3); |
d14a1e28 RD |
18374 | |
18375 | wxPyEndAllowThreads(__tstate); | |
18376 | if (PyErr_Occurred()) SWIG_fail; | |
18377 | } | |
18378 | Py_INCREF(Py_None); resultobj = Py_None; | |
18379 | return resultobj; | |
18380 | fail: | |
18381 | return NULL; | |
18382 | } | |
18383 | ||
18384 | ||
c26d9ab4 | 18385 | static PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18386 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18387 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18388 | int arg2 ; | |
18389 | int arg3 ; | |
18390 | PyObject * obj0 = 0 ; | |
994141e6 RD |
18391 | PyObject * obj1 = 0 ; |
18392 | PyObject * obj2 = 0 ; | |
d14a1e28 | 18393 | char *kwnames[] = { |
15afbcd0 RD |
18394 | (char *) "self",(char *) "x",(char *) "y", NULL |
18395 | }; | |
18396 | ||
c26d9ab4 | 18397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
18398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18400 | { | |
32fe5131 | 18401 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18402 | if (SWIG_arg_fail(2)) SWIG_fail; |
18403 | } | |
18404 | { | |
32fe5131 | 18405 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
18406 | if (SWIG_arg_fail(3)) SWIG_fail; |
18407 | } | |
d14a1e28 RD |
18408 | { |
18409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18410 | (arg1)->DoSetVirtualSize(arg2,arg3); |
d14a1e28 RD |
18411 | |
18412 | wxPyEndAllowThreads(__tstate); | |
18413 | if (PyErr_Occurred()) SWIG_fail; | |
18414 | } | |
18415 | Py_INCREF(Py_None); resultobj = Py_None; | |
18416 | return resultobj; | |
18417 | fail: | |
18418 | return NULL; | |
18419 | } | |
18420 | ||
18421 | ||
c26d9ab4 | 18422 | static PyObject *_wrap_PyWindow_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18423 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18424 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18425 | int *arg2 = (int *) 0 ; | |
18426 | int *arg3 = (int *) 0 ; | |
18427 | int temp2 ; | |
c32bde28 | 18428 | int res2 = 0 ; |
d14a1e28 | 18429 | int temp3 ; |
c32bde28 | 18430 | int res3 = 0 ; |
d14a1e28 RD |
18431 | PyObject * obj0 = 0 ; |
18432 | char *kwnames[] = { | |
18433 | (char *) "self", NULL | |
18434 | }; | |
18435 | ||
c32bde28 RD |
18436 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18437 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 18438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18439 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18440 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18441 | { |
18442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18443 | ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3); |
d14a1e28 RD |
18444 | |
18445 | wxPyEndAllowThreads(__tstate); | |
18446 | if (PyErr_Occurred()) SWIG_fail; | |
18447 | } | |
18448 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18449 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18450 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18451 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18452 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
18453 | return resultobj; |
18454 | fail: | |
18455 | return NULL; | |
18456 | } | |
18457 | ||
18458 | ||
c26d9ab4 | 18459 | static PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18460 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18461 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18462 | int *arg2 = (int *) 0 ; | |
18463 | int *arg3 = (int *) 0 ; | |
18464 | int temp2 ; | |
c32bde28 | 18465 | int res2 = 0 ; |
d14a1e28 | 18466 | int temp3 ; |
c32bde28 | 18467 | int res3 = 0 ; |
d14a1e28 RD |
18468 | PyObject * obj0 = 0 ; |
18469 | char *kwnames[] = { | |
18470 | (char *) "self", NULL | |
18471 | }; | |
18472 | ||
c32bde28 RD |
18473 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18474 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 18475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetClientSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18476 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18477 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18478 | { |
18479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18480 | ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3); |
d14a1e28 RD |
18481 | |
18482 | wxPyEndAllowThreads(__tstate); | |
18483 | if (PyErr_Occurred()) SWIG_fail; | |
18484 | } | |
18485 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18486 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18487 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18488 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18489 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
18490 | return resultobj; |
18491 | fail: | |
18492 | return NULL; | |
18493 | } | |
18494 | ||
18495 | ||
c26d9ab4 | 18496 | static PyObject *_wrap_PyWindow_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18497 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18498 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18499 | int *arg2 = (int *) 0 ; | |
18500 | int *arg3 = (int *) 0 ; | |
18501 | int temp2 ; | |
c32bde28 | 18502 | int res2 = 0 ; |
d14a1e28 | 18503 | int temp3 ; |
c32bde28 | 18504 | int res3 = 0 ; |
d14a1e28 RD |
18505 | PyObject * obj0 = 0 ; |
18506 | char *kwnames[] = { | |
18507 | (char *) "self", NULL | |
18508 | }; | |
18509 | ||
c32bde28 RD |
18510 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18511 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 18512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetPosition",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18513 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18514 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18515 | { |
18516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18517 | ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3); |
d14a1e28 RD |
18518 | |
18519 | wxPyEndAllowThreads(__tstate); | |
18520 | if (PyErr_Occurred()) SWIG_fail; | |
18521 | } | |
18522 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18523 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18524 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18525 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18526 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
18527 | return resultobj; |
18528 | fail: | |
18529 | return NULL; | |
18530 | } | |
18531 | ||
18532 | ||
c26d9ab4 | 18533 | static PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18534 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18535 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18536 | wxSize result; | |
18537 | PyObject * obj0 = 0 ; | |
18538 | char *kwnames[] = { | |
18539 | (char *) "self", NULL | |
18540 | }; | |
18541 | ||
c26d9ab4 | 18542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetVirtualSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18543 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18544 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18545 | { |
18546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18547 | result = ((wxPyWindow const *)arg1)->DoGetVirtualSize(); |
d14a1e28 RD |
18548 | |
18549 | wxPyEndAllowThreads(__tstate); | |
18550 | if (PyErr_Occurred()) SWIG_fail; | |
18551 | } | |
18552 | { | |
18553 | wxSize * resultptr; | |
32fe5131 | 18554 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 18555 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
18556 | } |
18557 | return resultobj; | |
18558 | fail: | |
18559 | return NULL; | |
18560 | } | |
18561 | ||
18562 | ||
c26d9ab4 | 18563 | static PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18564 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18565 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18566 | wxSize result; | |
18567 | PyObject * obj0 = 0 ; | |
18568 | char *kwnames[] = { | |
18569 | (char *) "self", NULL | |
18570 | }; | |
18571 | ||
c26d9ab4 | 18572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_DoGetBestSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18575 | { |
18576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18577 | result = ((wxPyWindow const *)arg1)->DoGetBestSize(); |
d14a1e28 RD |
18578 | |
18579 | wxPyEndAllowThreads(__tstate); | |
18580 | if (PyErr_Occurred()) SWIG_fail; | |
18581 | } | |
18582 | { | |
18583 | wxSize * resultptr; | |
32fe5131 | 18584 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 18585 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
18586 | } |
18587 | return resultobj; | |
18588 | fail: | |
18589 | return NULL; | |
18590 | } | |
18591 | ||
18592 | ||
c26d9ab4 | 18593 | static PyObject *_wrap_PyWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18594 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18595 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18596 | PyObject * obj0 = 0 ; | |
18597 | char *kwnames[] = { | |
18598 | (char *) "self", NULL | |
18599 | }; | |
18600 | ||
c26d9ab4 | 18601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_InitDialog",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18604 | { |
18605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18606 | (arg1)->InitDialog(); |
d14a1e28 RD |
18607 | |
18608 | wxPyEndAllowThreads(__tstate); | |
18609 | if (PyErr_Occurred()) SWIG_fail; | |
18610 | } | |
18611 | Py_INCREF(Py_None); resultobj = Py_None; | |
18612 | return resultobj; | |
18613 | fail: | |
18614 | return NULL; | |
18615 | } | |
18616 | ||
18617 | ||
c26d9ab4 | 18618 | static PyObject *_wrap_PyWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18619 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18620 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18621 | bool result; | |
18622 | PyObject * obj0 = 0 ; | |
18623 | char *kwnames[] = { | |
18624 | (char *) "self", NULL | |
18625 | }; | |
18626 | ||
c26d9ab4 | 18627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_TransferDataToWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18628 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18629 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18630 | { |
18631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18632 | result = (bool)(arg1)->TransferDataToWindow(); |
d14a1e28 RD |
18633 | |
18634 | wxPyEndAllowThreads(__tstate); | |
18635 | if (PyErr_Occurred()) SWIG_fail; | |
18636 | } | |
4f89f6a3 RD |
18637 | { |
18638 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18639 | } | |
d14a1e28 RD |
18640 | return resultobj; |
18641 | fail: | |
18642 | return NULL; | |
18643 | } | |
18644 | ||
18645 | ||
c26d9ab4 | 18646 | static PyObject *_wrap_PyWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18647 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18648 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18649 | bool result; | |
18650 | PyObject * obj0 = 0 ; | |
18651 | char *kwnames[] = { | |
18652 | (char *) "self", NULL | |
18653 | }; | |
18654 | ||
c26d9ab4 | 18655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18656 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18657 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18658 | { |
18659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18660 | result = (bool)(arg1)->TransferDataFromWindow(); |
d14a1e28 RD |
18661 | |
18662 | wxPyEndAllowThreads(__tstate); | |
18663 | if (PyErr_Occurred()) SWIG_fail; | |
18664 | } | |
4f89f6a3 RD |
18665 | { |
18666 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18667 | } | |
d14a1e28 RD |
18668 | return resultobj; |
18669 | fail: | |
18670 | return NULL; | |
18671 | } | |
18672 | ||
18673 | ||
c26d9ab4 | 18674 | static PyObject *_wrap_PyWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18675 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18676 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18677 | bool result; | |
18678 | PyObject * obj0 = 0 ; | |
18679 | char *kwnames[] = { | |
18680 | (char *) "self", NULL | |
18681 | }; | |
18682 | ||
c26d9ab4 | 18683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_Validate",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18684 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18685 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18686 | { |
18687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18688 | result = (bool)(arg1)->Validate(); |
d14a1e28 RD |
18689 | |
18690 | wxPyEndAllowThreads(__tstate); | |
18691 | if (PyErr_Occurred()) SWIG_fail; | |
18692 | } | |
4f89f6a3 RD |
18693 | { |
18694 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18695 | } | |
d14a1e28 RD |
18696 | return resultobj; |
18697 | fail: | |
18698 | return NULL; | |
18699 | } | |
18700 | ||
18701 | ||
c26d9ab4 | 18702 | static PyObject *_wrap_PyWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18703 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18704 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18705 | bool result; | |
18706 | PyObject * obj0 = 0 ; | |
18707 | char *kwnames[] = { | |
18708 | (char *) "self", NULL | |
18709 | }; | |
18710 | ||
c26d9ab4 | 18711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_AcceptsFocus",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18712 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18713 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18714 | { |
18715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18716 | result = (bool)((wxPyWindow const *)arg1)->AcceptsFocus(); |
d14a1e28 RD |
18717 | |
18718 | wxPyEndAllowThreads(__tstate); | |
18719 | if (PyErr_Occurred()) SWIG_fail; | |
18720 | } | |
4f89f6a3 RD |
18721 | { |
18722 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18723 | } | |
d14a1e28 RD |
18724 | return resultobj; |
18725 | fail: | |
18726 | return NULL; | |
18727 | } | |
18728 | ||
18729 | ||
c26d9ab4 | 18730 | static PyObject *_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18731 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18732 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18733 | bool result; | |
18734 | PyObject * obj0 = 0 ; | |
18735 | char *kwnames[] = { | |
18736 | (char *) "self", NULL | |
18737 | }; | |
18738 | ||
c26d9ab4 | 18739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18740 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18741 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18742 | { |
18743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18744 | result = (bool)((wxPyWindow const *)arg1)->AcceptsFocusFromKeyboard(); |
d14a1e28 RD |
18745 | |
18746 | wxPyEndAllowThreads(__tstate); | |
18747 | if (PyErr_Occurred()) SWIG_fail; | |
18748 | } | |
4f89f6a3 RD |
18749 | { |
18750 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18751 | } | |
d14a1e28 RD |
18752 | return resultobj; |
18753 | fail: | |
18754 | return NULL; | |
18755 | } | |
18756 | ||
18757 | ||
c26d9ab4 | 18758 | static PyObject *_wrap_PyWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18759 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18760 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18761 | wxSize result; | |
18762 | PyObject * obj0 = 0 ; | |
18763 | char *kwnames[] = { | |
18764 | (char *) "self", NULL | |
18765 | }; | |
18766 | ||
c26d9ab4 | 18767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_GetMaxSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18768 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18769 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
18770 | { |
18771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18772 | result = ((wxPyWindow const *)arg1)->GetMaxSize(); |
d14a1e28 RD |
18773 | |
18774 | wxPyEndAllowThreads(__tstate); | |
18775 | if (PyErr_Occurred()) SWIG_fail; | |
18776 | } | |
18777 | { | |
18778 | wxSize * resultptr; | |
32fe5131 | 18779 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 18780 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
18781 | } |
18782 | return resultobj; | |
18783 | fail: | |
18784 | return NULL; | |
18785 | } | |
18786 | ||
18787 | ||
c26d9ab4 | 18788 | static PyObject *_wrap_PyWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18789 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18790 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18791 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18792 | PyObject * obj0 = 0 ; | |
18793 | PyObject * obj1 = 0 ; | |
18794 | char *kwnames[] = { | |
18795 | (char *) "self",(char *) "child", NULL | |
18796 | }; | |
18797 | ||
c26d9ab4 | 18798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_AddChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
18799 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18800 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18801 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18802 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
18803 | { |
18804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18805 | (arg1)->AddChild(arg2); |
d14a1e28 RD |
18806 | |
18807 | wxPyEndAllowThreads(__tstate); | |
18808 | if (PyErr_Occurred()) SWIG_fail; | |
18809 | } | |
18810 | Py_INCREF(Py_None); resultobj = Py_None; | |
18811 | return resultobj; | |
18812 | fail: | |
18813 | return NULL; | |
18814 | } | |
18815 | ||
18816 | ||
c26d9ab4 | 18817 | static PyObject *_wrap_PyWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18818 | PyObject *resultobj = NULL; |
d14a1e28 RD |
18819 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18820 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18821 | PyObject * obj0 = 0 ; | |
18822 | PyObject * obj1 = 0 ; | |
18823 | char *kwnames[] = { | |
18824 | (char *) "self",(char *) "child", NULL | |
18825 | }; | |
18826 | ||
c26d9ab4 | 18827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
18828 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18829 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18830 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18831 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
18832 | { |
18833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18834 | (arg1)->RemoveChild(arg2); |
d14a1e28 RD |
18835 | |
18836 | wxPyEndAllowThreads(__tstate); | |
18837 | if (PyErr_Occurred()) SWIG_fail; | |
18838 | } | |
18839 | Py_INCREF(Py_None); resultobj = Py_None; | |
18840 | return resultobj; | |
18841 | fail: | |
18842 | return NULL; | |
18843 | } | |
18844 | ||
18845 | ||
c26d9ab4 | 18846 | static PyObject *_wrap_PyWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18847 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
18848 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18849 | bool result; | |
18850 | PyObject * obj0 = 0 ; | |
18851 | char *kwnames[] = { | |
18852 | (char *) "self", NULL | |
18853 | }; | |
18854 | ||
c26d9ab4 | 18855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_ShouldInheritColours",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
18858 | { |
18859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18860 | result = (bool)((wxPyWindow const *)arg1)->ShouldInheritColours(); |
1cb4a8aa RD |
18861 | |
18862 | wxPyEndAllowThreads(__tstate); | |
18863 | if (PyErr_Occurred()) SWIG_fail; | |
18864 | } | |
18865 | { | |
18866 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18867 | } | |
18868 | return resultobj; | |
18869 | fail: | |
18870 | return NULL; | |
18871 | } | |
18872 | ||
18873 | ||
c26d9ab4 | 18874 | static PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18875 | PyObject *resultobj = NULL; |
db3e571a RD |
18876 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18877 | wxVisualAttributes result; | |
18878 | PyObject * obj0 = 0 ; | |
18879 | char *kwnames[] = { | |
18880 | (char *) "self", NULL | |
18881 | }; | |
18882 | ||
c26d9ab4 | 18883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18884 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18885 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
18886 | { |
18887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18888 | result = (arg1)->GetDefaultAttributes(); |
db3e571a RD |
18889 | |
18890 | wxPyEndAllowThreads(__tstate); | |
18891 | if (PyErr_Occurred()) SWIG_fail; | |
18892 | } | |
18893 | { | |
18894 | wxVisualAttributes * resultptr; | |
32fe5131 | 18895 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
db3e571a RD |
18896 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
18897 | } | |
18898 | return resultobj; | |
18899 | fail: | |
18900 | return NULL; | |
18901 | } | |
18902 | ||
18903 | ||
c26d9ab4 | 18904 | static PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18905 | PyObject *resultobj = NULL; |
8d38bd1d RD |
18906 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; |
18907 | PyObject * obj0 = 0 ; | |
18908 | char *kwnames[] = { | |
18909 | (char *) "self", NULL | |
18910 | }; | |
18911 | ||
c26d9ab4 | 18912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_OnInternalIdle",kwnames,&obj0)) goto fail; |
8d38bd1d RD |
18913 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18914 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18915 | { | |
18916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 18917 | (arg1)->OnInternalIdle(); |
8d38bd1d RD |
18918 | |
18919 | wxPyEndAllowThreads(__tstate); | |
18920 | if (PyErr_Occurred()) SWIG_fail; | |
18921 | } | |
18922 | Py_INCREF(Py_None); resultobj = Py_None; | |
18923 | return resultobj; | |
18924 | fail: | |
18925 | return NULL; | |
18926 | } | |
18927 | ||
18928 | ||
c32bde28 | 18929 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
18930 | PyObject *obj; |
18931 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18932 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
18933 | Py_INCREF(obj); | |
18934 | return Py_BuildValue((char *)""); | |
18935 | } | |
c32bde28 | 18936 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 18937 | PyObject *resultobj = NULL; |
d14a1e28 | 18938 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 18939 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
18940 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
18941 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
18942 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
18943 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
18944 | long arg5 = (long) 0 ; | |
18945 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
18946 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
18947 | wxPyPanel *result; | |
18948 | wxPoint temp3 ; | |
18949 | wxSize temp4 ; | |
ae8162c8 | 18950 | bool temp6 = false ; |
d14a1e28 | 18951 | PyObject * obj0 = 0 ; |
994141e6 | 18952 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18953 | PyObject * obj2 = 0 ; |
18954 | PyObject * obj3 = 0 ; | |
994141e6 | 18955 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
18956 | PyObject * obj5 = 0 ; |
18957 | char *kwnames[] = { | |
18958 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
18959 | }; | |
18960 | ||
248ed943 | 18961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
18962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
18963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 18964 | if (obj1) { |
093d3ff1 | 18965 | { |
32fe5131 | 18966 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
18967 | if (SWIG_arg_fail(2)) SWIG_fail; |
18968 | } | |
248ed943 | 18969 | } |
d14a1e28 RD |
18970 | if (obj2) { |
18971 | { | |
18972 | arg3 = &temp3; | |
18973 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
18974 | } | |
18975 | } | |
18976 | if (obj3) { | |
18977 | { | |
18978 | arg4 = &temp4; | |
18979 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
18980 | } | |
18981 | } | |
994141e6 | 18982 | if (obj4) { |
093d3ff1 | 18983 | { |
32fe5131 | 18984 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
18985 | if (SWIG_arg_fail(5)) SWIG_fail; |
18986 | } | |
994141e6 | 18987 | } |
d14a1e28 RD |
18988 | if (obj5) { |
18989 | { | |
18990 | arg6 = wxString_in_helper(obj5); | |
18991 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 18992 | temp6 = true; |
d14a1e28 RD |
18993 | } |
18994 | } | |
18995 | { | |
e3b71cb8 | 18996 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
18997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18998 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
18999 | ||
19000 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19001 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 19002 | } |
15afbcd0 | 19003 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
19004 | { |
19005 | if (temp6) | |
19006 | delete arg6; | |
19007 | } | |
19008 | return resultobj; | |
19009 | fail: | |
19010 | { | |
19011 | if (temp6) | |
19012 | delete arg6; | |
19013 | } | |
19014 | return NULL; | |
19015 | } | |
19016 | ||
19017 | ||
c32bde28 | 19018 | static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19019 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
19020 | wxPyPanel *result; |
19021 | char *kwnames[] = { | |
19022 | NULL | |
19023 | }; | |
19024 | ||
19025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
19026 | { | |
e3b71cb8 | 19027 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
19028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19029 | result = (wxPyPanel *)new wxPyPanel(); | |
19030 | ||
19031 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19032 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
19033 | } |
19034 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
19035 | return resultobj; | |
19036 | fail: | |
19037 | return NULL; | |
19038 | } | |
19039 | ||
19040 | ||
c32bde28 | 19041 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19042 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19043 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19044 | PyObject *arg2 = (PyObject *) 0 ; | |
19045 | PyObject *arg3 = (PyObject *) 0 ; | |
19046 | PyObject * obj0 = 0 ; | |
19047 | PyObject * obj1 = 0 ; | |
19048 | PyObject * obj2 = 0 ; | |
19049 | char *kwnames[] = { | |
19050 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19051 | }; | |
19052 | ||
19053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
19054 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19055 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19056 | arg2 = obj1; |
19057 | arg3 = obj2; | |
19058 | { | |
19059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19060 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19061 | ||
19062 | wxPyEndAllowThreads(__tstate); | |
19063 | if (PyErr_Occurred()) SWIG_fail; | |
19064 | } | |
19065 | Py_INCREF(Py_None); resultobj = Py_None; | |
19066 | return resultobj; | |
19067 | fail: | |
19068 | return NULL; | |
19069 | } | |
19070 | ||
19071 | ||
c32bde28 | 19072 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19073 | PyObject *resultobj = NULL; |
db3e571a RD |
19074 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19075 | wxSize *arg2 = 0 ; | |
19076 | wxSize temp2 ; | |
19077 | PyObject * obj0 = 0 ; | |
19078 | PyObject * obj1 = 0 ; | |
19079 | char *kwnames[] = { | |
19080 | (char *) "self",(char *) "size", NULL | |
19081 | }; | |
19082 | ||
19083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
19084 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19085 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
19086 | { |
19087 | arg2 = &temp2; | |
19088 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
19089 | } | |
19090 | { | |
19091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19092 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
19093 | ||
19094 | wxPyEndAllowThreads(__tstate); | |
19095 | if (PyErr_Occurred()) SWIG_fail; | |
19096 | } | |
19097 | Py_INCREF(Py_None); resultobj = Py_None; | |
19098 | return resultobj; | |
19099 | fail: | |
19100 | return NULL; | |
19101 | } | |
19102 | ||
19103 | ||
976dbff5 | 19104 | static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19105 | PyObject *resultobj = NULL; |
976dbff5 RD |
19106 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19107 | wxDC *arg2 = (wxDC *) 0 ; | |
19108 | bool result; | |
19109 | PyObject * obj0 = 0 ; | |
19110 | PyObject * obj1 = 0 ; | |
19111 | char *kwnames[] = { | |
19112 | (char *) "self",(char *) "dc", NULL | |
19113 | }; | |
19114 | ||
19115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail; | |
19116 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); | |
19117 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19118 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
19119 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19120 | { | |
19121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19122 | result = (bool)(arg1)->DoEraseBackground(arg2); | |
19123 | ||
19124 | wxPyEndAllowThreads(__tstate); | |
19125 | if (PyErr_Occurred()) SWIG_fail; | |
19126 | } | |
19127 | { | |
19128 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19129 | } | |
19130 | return resultobj; | |
19131 | fail: | |
19132 | return NULL; | |
19133 | } | |
19134 | ||
19135 | ||
c26d9ab4 | 19136 | static PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19137 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19138 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19139 | int arg2 ; | |
19140 | int arg3 ; | |
19141 | int arg4 ; | |
19142 | int arg5 ; | |
19143 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19144 | PyObject * obj1 = 0 ; |
19145 | PyObject * obj2 = 0 ; | |
19146 | PyObject * obj3 = 0 ; | |
19147 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
19148 | char *kwnames[] = { |
19149 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
19150 | }; | |
19151 | ||
c26d9ab4 | 19152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
19153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19155 | { | |
32fe5131 | 19156 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
19157 | if (SWIG_arg_fail(2)) SWIG_fail; |
19158 | } | |
19159 | { | |
32fe5131 | 19160 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
19161 | if (SWIG_arg_fail(3)) SWIG_fail; |
19162 | } | |
19163 | { | |
32fe5131 | 19164 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
19165 | if (SWIG_arg_fail(4)) SWIG_fail; |
19166 | } | |
19167 | { | |
32fe5131 | 19168 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
19169 | if (SWIG_arg_fail(5)) SWIG_fail; |
19170 | } | |
d14a1e28 RD |
19171 | { |
19172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19173 | (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
19174 | |
19175 | wxPyEndAllowThreads(__tstate); | |
19176 | if (PyErr_Occurred()) SWIG_fail; | |
19177 | } | |
19178 | Py_INCREF(Py_None); resultobj = Py_None; | |
19179 | return resultobj; | |
19180 | fail: | |
19181 | return NULL; | |
19182 | } | |
19183 | ||
19184 | ||
c26d9ab4 | 19185 | static PyObject *_wrap_PyPanel_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19186 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19187 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19188 | int arg2 ; | |
19189 | int arg3 ; | |
19190 | int arg4 ; | |
19191 | int arg5 ; | |
19192 | int arg6 = (int) wxSIZE_AUTO ; | |
19193 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19194 | PyObject * obj1 = 0 ; |
19195 | PyObject * obj2 = 0 ; | |
19196 | PyObject * obj3 = 0 ; | |
19197 | PyObject * obj4 = 0 ; | |
19198 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
19199 | char *kwnames[] = { |
19200 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
19201 | }; | |
19202 | ||
c26d9ab4 | 19203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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; | |
19206 | { | |
32fe5131 | 19207 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
19208 | if (SWIG_arg_fail(2)) SWIG_fail; |
19209 | } | |
19210 | { | |
32fe5131 | 19211 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
19212 | if (SWIG_arg_fail(3)) SWIG_fail; |
19213 | } | |
19214 | { | |
32fe5131 | 19215 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
19216 | if (SWIG_arg_fail(4)) SWIG_fail; |
19217 | } | |
19218 | { | |
32fe5131 | 19219 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
19220 | if (SWIG_arg_fail(5)) SWIG_fail; |
19221 | } | |
994141e6 | 19222 | if (obj5) { |
093d3ff1 | 19223 | { |
32fe5131 | 19224 | arg6 = static_cast<int >(SWIG_As_int(obj5)); |
093d3ff1 RD |
19225 | if (SWIG_arg_fail(6)) SWIG_fail; |
19226 | } | |
994141e6 | 19227 | } |
d14a1e28 RD |
19228 | { |
19229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19230 | (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6); |
d14a1e28 RD |
19231 | |
19232 | wxPyEndAllowThreads(__tstate); | |
19233 | if (PyErr_Occurred()) SWIG_fail; | |
19234 | } | |
19235 | Py_INCREF(Py_None); resultobj = Py_None; | |
19236 | return resultobj; | |
19237 | fail: | |
19238 | return NULL; | |
19239 | } | |
19240 | ||
19241 | ||
c26d9ab4 | 19242 | static PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19243 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19244 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19245 | int arg2 ; | |
19246 | int arg3 ; | |
19247 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19248 | PyObject * obj1 = 0 ; |
19249 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19250 | char *kwnames[] = { |
19251 | (char *) "self",(char *) "width",(char *) "height", NULL | |
19252 | }; | |
19253 | ||
c26d9ab4 | 19254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
19255 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19256 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19257 | { | |
32fe5131 | 19258 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
19259 | if (SWIG_arg_fail(2)) SWIG_fail; |
19260 | } | |
19261 | { | |
32fe5131 | 19262 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
19263 | if (SWIG_arg_fail(3)) SWIG_fail; |
19264 | } | |
d14a1e28 RD |
19265 | { |
19266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19267 | (arg1)->DoSetClientSize(arg2,arg3); |
d14a1e28 RD |
19268 | |
19269 | wxPyEndAllowThreads(__tstate); | |
19270 | if (PyErr_Occurred()) SWIG_fail; | |
19271 | } | |
19272 | Py_INCREF(Py_None); resultobj = Py_None; | |
19273 | return resultobj; | |
19274 | fail: | |
19275 | return NULL; | |
19276 | } | |
19277 | ||
19278 | ||
c26d9ab4 | 19279 | static PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19280 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19281 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19282 | int arg2 ; | |
19283 | int arg3 ; | |
19284 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19285 | PyObject * obj1 = 0 ; |
19286 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19287 | char *kwnames[] = { |
19288 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19289 | }; | |
19290 | ||
c26d9ab4 | 19291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
19292 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19293 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19294 | { | |
32fe5131 | 19295 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
19296 | if (SWIG_arg_fail(2)) SWIG_fail; |
19297 | } | |
19298 | { | |
32fe5131 | 19299 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
19300 | if (SWIG_arg_fail(3)) SWIG_fail; |
19301 | } | |
d14a1e28 RD |
19302 | { |
19303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19304 | (arg1)->DoSetVirtualSize(arg2,arg3); |
d14a1e28 RD |
19305 | |
19306 | wxPyEndAllowThreads(__tstate); | |
19307 | if (PyErr_Occurred()) SWIG_fail; | |
19308 | } | |
19309 | Py_INCREF(Py_None); resultobj = Py_None; | |
19310 | return resultobj; | |
19311 | fail: | |
19312 | return NULL; | |
19313 | } | |
19314 | ||
19315 | ||
c26d9ab4 | 19316 | static PyObject *_wrap_PyPanel_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19317 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19318 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19319 | int *arg2 = (int *) 0 ; | |
19320 | int *arg3 = (int *) 0 ; | |
19321 | int temp2 ; | |
c32bde28 | 19322 | int res2 = 0 ; |
d14a1e28 | 19323 | int temp3 ; |
c32bde28 | 19324 | int res3 = 0 ; |
d14a1e28 RD |
19325 | PyObject * obj0 = 0 ; |
19326 | char *kwnames[] = { | |
19327 | (char *) "self", NULL | |
19328 | }; | |
19329 | ||
c32bde28 RD |
19330 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19331 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 19332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19335 | { |
19336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19337 | ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3); |
d14a1e28 RD |
19338 | |
19339 | wxPyEndAllowThreads(__tstate); | |
19340 | if (PyErr_Occurred()) SWIG_fail; | |
19341 | } | |
19342 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19343 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19344 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19345 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19346 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
19347 | return resultobj; |
19348 | fail: | |
19349 | return NULL; | |
19350 | } | |
19351 | ||
19352 | ||
c26d9ab4 | 19353 | static PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19354 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19355 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19356 | int *arg2 = (int *) 0 ; | |
19357 | int *arg3 = (int *) 0 ; | |
19358 | int temp2 ; | |
c32bde28 | 19359 | int res2 = 0 ; |
d14a1e28 | 19360 | int temp3 ; |
c32bde28 | 19361 | int res3 = 0 ; |
d14a1e28 RD |
19362 | PyObject * obj0 = 0 ; |
19363 | char *kwnames[] = { | |
19364 | (char *) "self", NULL | |
19365 | }; | |
19366 | ||
c32bde28 RD |
19367 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19368 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 19369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetClientSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19372 | { |
19373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19374 | ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3); |
d14a1e28 RD |
19375 | |
19376 | wxPyEndAllowThreads(__tstate); | |
19377 | if (PyErr_Occurred()) SWIG_fail; | |
19378 | } | |
19379 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19380 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19381 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19382 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19383 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
19384 | return resultobj; |
19385 | fail: | |
19386 | return NULL; | |
19387 | } | |
19388 | ||
19389 | ||
c26d9ab4 | 19390 | static PyObject *_wrap_PyPanel_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19391 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19392 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19393 | int *arg2 = (int *) 0 ; | |
19394 | int *arg3 = (int *) 0 ; | |
19395 | int temp2 ; | |
c32bde28 | 19396 | int res2 = 0 ; |
d14a1e28 | 19397 | int temp3 ; |
c32bde28 | 19398 | int res3 = 0 ; |
d14a1e28 RD |
19399 | PyObject * obj0 = 0 ; |
19400 | char *kwnames[] = { | |
19401 | (char *) "self", NULL | |
19402 | }; | |
19403 | ||
c32bde28 RD |
19404 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19405 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 19406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetPosition",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19407 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19408 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19409 | { |
19410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19411 | ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3); |
d14a1e28 RD |
19412 | |
19413 | wxPyEndAllowThreads(__tstate); | |
19414 | if (PyErr_Occurred()) SWIG_fail; | |
19415 | } | |
19416 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19417 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19418 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19419 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19420 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
19421 | return resultobj; |
19422 | fail: | |
19423 | return NULL; | |
19424 | } | |
19425 | ||
19426 | ||
c26d9ab4 | 19427 | static PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19428 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19429 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19430 | wxSize result; | |
19431 | PyObject * obj0 = 0 ; | |
19432 | char *kwnames[] = { | |
19433 | (char *) "self", NULL | |
19434 | }; | |
19435 | ||
c26d9ab4 | 19436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetVirtualSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19439 | { |
19440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19441 | result = ((wxPyPanel const *)arg1)->DoGetVirtualSize(); |
d14a1e28 RD |
19442 | |
19443 | wxPyEndAllowThreads(__tstate); | |
19444 | if (PyErr_Occurred()) SWIG_fail; | |
19445 | } | |
19446 | { | |
19447 | wxSize * resultptr; | |
32fe5131 | 19448 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 19449 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
19450 | } |
19451 | return resultobj; | |
19452 | fail: | |
19453 | return NULL; | |
19454 | } | |
19455 | ||
19456 | ||
c26d9ab4 | 19457 | static PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19458 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19459 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19460 | wxSize result; | |
19461 | PyObject * obj0 = 0 ; | |
19462 | char *kwnames[] = { | |
19463 | (char *) "self", NULL | |
19464 | }; | |
19465 | ||
c26d9ab4 | 19466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_DoGetBestSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19467 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19468 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19469 | { |
19470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19471 | result = ((wxPyPanel const *)arg1)->DoGetBestSize(); |
d14a1e28 RD |
19472 | |
19473 | wxPyEndAllowThreads(__tstate); | |
19474 | if (PyErr_Occurred()) SWIG_fail; | |
19475 | } | |
19476 | { | |
19477 | wxSize * resultptr; | |
32fe5131 | 19478 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 19479 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
19480 | } |
19481 | return resultobj; | |
19482 | fail: | |
19483 | return NULL; | |
19484 | } | |
19485 | ||
19486 | ||
c26d9ab4 | 19487 | static PyObject *_wrap_PyPanel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19488 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19489 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19490 | PyObject * obj0 = 0 ; | |
19491 | char *kwnames[] = { | |
19492 | (char *) "self", NULL | |
19493 | }; | |
19494 | ||
c26d9ab4 | 19495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_InitDialog",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19496 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19497 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19498 | { |
19499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19500 | (arg1)->InitDialog(); |
d14a1e28 RD |
19501 | |
19502 | wxPyEndAllowThreads(__tstate); | |
19503 | if (PyErr_Occurred()) SWIG_fail; | |
19504 | } | |
19505 | Py_INCREF(Py_None); resultobj = Py_None; | |
19506 | return resultobj; | |
19507 | fail: | |
19508 | return NULL; | |
19509 | } | |
19510 | ||
19511 | ||
c26d9ab4 | 19512 | static PyObject *_wrap_PyPanel_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19513 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19514 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19515 | bool result; | |
19516 | PyObject * obj0 = 0 ; | |
19517 | char *kwnames[] = { | |
19518 | (char *) "self", NULL | |
19519 | }; | |
19520 | ||
c26d9ab4 | 19521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_TransferDataToWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19524 | { |
19525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19526 | result = (bool)(arg1)->TransferDataToWindow(); |
d14a1e28 RD |
19527 | |
19528 | wxPyEndAllowThreads(__tstate); | |
19529 | if (PyErr_Occurred()) SWIG_fail; | |
19530 | } | |
4f89f6a3 RD |
19531 | { |
19532 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19533 | } | |
d14a1e28 RD |
19534 | return resultobj; |
19535 | fail: | |
19536 | return NULL; | |
19537 | } | |
19538 | ||
19539 | ||
c26d9ab4 | 19540 | static PyObject *_wrap_PyPanel_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19541 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19542 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19543 | bool result; | |
19544 | PyObject * obj0 = 0 ; | |
19545 | char *kwnames[] = { | |
19546 | (char *) "self", NULL | |
19547 | }; | |
19548 | ||
c26d9ab4 | 19549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_TransferDataFromWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19550 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19551 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19552 | { |
19553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19554 | result = (bool)(arg1)->TransferDataFromWindow(); |
d14a1e28 RD |
19555 | |
19556 | wxPyEndAllowThreads(__tstate); | |
19557 | if (PyErr_Occurred()) SWIG_fail; | |
19558 | } | |
4f89f6a3 RD |
19559 | { |
19560 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19561 | } | |
d14a1e28 RD |
19562 | return resultobj; |
19563 | fail: | |
19564 | return NULL; | |
19565 | } | |
19566 | ||
19567 | ||
c26d9ab4 | 19568 | static PyObject *_wrap_PyPanel_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19569 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19570 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19571 | bool result; | |
19572 | PyObject * obj0 = 0 ; | |
19573 | char *kwnames[] = { | |
19574 | (char *) "self", NULL | |
19575 | }; | |
19576 | ||
c26d9ab4 | 19577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_Validate",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19578 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19579 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19580 | { |
19581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19582 | result = (bool)(arg1)->Validate(); |
d14a1e28 RD |
19583 | |
19584 | wxPyEndAllowThreads(__tstate); | |
19585 | if (PyErr_Occurred()) SWIG_fail; | |
19586 | } | |
4f89f6a3 RD |
19587 | { |
19588 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19589 | } | |
d14a1e28 RD |
19590 | return resultobj; |
19591 | fail: | |
19592 | return NULL; | |
19593 | } | |
19594 | ||
19595 | ||
c26d9ab4 | 19596 | static PyObject *_wrap_PyPanel_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19597 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19598 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19599 | bool result; | |
19600 | PyObject * obj0 = 0 ; | |
19601 | char *kwnames[] = { | |
19602 | (char *) "self", NULL | |
19603 | }; | |
19604 | ||
c26d9ab4 | 19605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_AcceptsFocus",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19606 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19607 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19608 | { |
19609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19610 | result = (bool)((wxPyPanel const *)arg1)->AcceptsFocus(); |
d14a1e28 RD |
19611 | |
19612 | wxPyEndAllowThreads(__tstate); | |
19613 | if (PyErr_Occurred()) SWIG_fail; | |
19614 | } | |
4f89f6a3 RD |
19615 | { |
19616 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19617 | } | |
d14a1e28 RD |
19618 | return resultobj; |
19619 | fail: | |
19620 | return NULL; | |
19621 | } | |
19622 | ||
19623 | ||
c26d9ab4 | 19624 | static PyObject *_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19625 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19626 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19627 | bool result; | |
19628 | PyObject * obj0 = 0 ; | |
19629 | char *kwnames[] = { | |
19630 | (char *) "self", NULL | |
19631 | }; | |
19632 | ||
c26d9ab4 | 19633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19634 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19635 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19636 | { |
19637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19638 | result = (bool)((wxPyPanel const *)arg1)->AcceptsFocusFromKeyboard(); |
d14a1e28 RD |
19639 | |
19640 | wxPyEndAllowThreads(__tstate); | |
19641 | if (PyErr_Occurred()) SWIG_fail; | |
19642 | } | |
4f89f6a3 RD |
19643 | { |
19644 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19645 | } | |
d14a1e28 RD |
19646 | return resultobj; |
19647 | fail: | |
19648 | return NULL; | |
19649 | } | |
19650 | ||
19651 | ||
c26d9ab4 | 19652 | static PyObject *_wrap_PyPanel_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19653 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19654 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19655 | wxSize result; | |
19656 | PyObject * obj0 = 0 ; | |
19657 | char *kwnames[] = { | |
19658 | (char *) "self", NULL | |
19659 | }; | |
19660 | ||
c26d9ab4 | 19661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_GetMaxSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19662 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19663 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19664 | { |
19665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19666 | result = ((wxPyPanel const *)arg1)->GetMaxSize(); |
d14a1e28 RD |
19667 | |
19668 | wxPyEndAllowThreads(__tstate); | |
19669 | if (PyErr_Occurred()) SWIG_fail; | |
19670 | } | |
19671 | { | |
19672 | wxSize * resultptr; | |
32fe5131 | 19673 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 19674 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
19675 | } |
19676 | return resultobj; | |
19677 | fail: | |
19678 | return NULL; | |
19679 | } | |
19680 | ||
19681 | ||
c26d9ab4 | 19682 | static PyObject *_wrap_PyPanel_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19683 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19684 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19685 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19686 | PyObject * obj0 = 0 ; | |
19687 | PyObject * obj1 = 0 ; | |
19688 | char *kwnames[] = { | |
19689 | (char *) "self",(char *) "child", NULL | |
19690 | }; | |
19691 | ||
c26d9ab4 | 19692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_AddChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
19693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19695 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19696 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
19697 | { |
19698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19699 | (arg1)->AddChild(arg2); |
d14a1e28 RD |
19700 | |
19701 | wxPyEndAllowThreads(__tstate); | |
19702 | if (PyErr_Occurred()) SWIG_fail; | |
19703 | } | |
19704 | Py_INCREF(Py_None); resultobj = Py_None; | |
19705 | return resultobj; | |
19706 | fail: | |
19707 | return NULL; | |
19708 | } | |
19709 | ||
19710 | ||
c26d9ab4 | 19711 | static PyObject *_wrap_PyPanel_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19712 | PyObject *resultobj = NULL; |
d14a1e28 RD |
19713 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19714 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19715 | PyObject * obj0 = 0 ; | |
19716 | PyObject * obj1 = 0 ; | |
19717 | char *kwnames[] = { | |
19718 | (char *) "self",(char *) "child", NULL | |
19719 | }; | |
19720 | ||
c26d9ab4 | 19721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_RemoveChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
19722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19724 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19725 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
19726 | { |
19727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19728 | (arg1)->RemoveChild(arg2); |
d14a1e28 RD |
19729 | |
19730 | wxPyEndAllowThreads(__tstate); | |
19731 | if (PyErr_Occurred()) SWIG_fail; | |
19732 | } | |
19733 | Py_INCREF(Py_None); resultobj = Py_None; | |
19734 | return resultobj; | |
19735 | fail: | |
19736 | return NULL; | |
19737 | } | |
19738 | ||
19739 | ||
c26d9ab4 | 19740 | static PyObject *_wrap_PyPanel_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19741 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
19742 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19743 | bool result; | |
19744 | PyObject * obj0 = 0 ; | |
d14a1e28 | 19745 | char *kwnames[] = { |
1cb4a8aa | 19746 | (char *) "self", NULL |
d14a1e28 RD |
19747 | }; |
19748 | ||
c26d9ab4 | 19749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_ShouldInheritColours",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19750 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19751 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
19752 | { |
19753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19754 | result = (bool)((wxPyPanel const *)arg1)->ShouldInheritColours(); |
d14a1e28 RD |
19755 | |
19756 | wxPyEndAllowThreads(__tstate); | |
19757 | if (PyErr_Occurred()) SWIG_fail; | |
19758 | } | |
1cb4a8aa RD |
19759 | { |
19760 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19761 | } | |
d14a1e28 RD |
19762 | return resultobj; |
19763 | fail: | |
19764 | return NULL; | |
19765 | } | |
19766 | ||
19767 | ||
c26d9ab4 | 19768 | static PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19769 | PyObject *resultobj = NULL; |
db3e571a RD |
19770 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19771 | wxVisualAttributes result; | |
19772 | PyObject * obj0 = 0 ; | |
19773 | char *kwnames[] = { | |
19774 | (char *) "self", NULL | |
19775 | }; | |
19776 | ||
c26d9ab4 | 19777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_GetDefaultAttributes",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19778 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19779 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
19780 | { |
19781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19782 | result = (arg1)->GetDefaultAttributes(); |
db3e571a RD |
19783 | |
19784 | wxPyEndAllowThreads(__tstate); | |
19785 | if (PyErr_Occurred()) SWIG_fail; | |
19786 | } | |
19787 | { | |
19788 | wxVisualAttributes * resultptr; | |
32fe5131 | 19789 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
db3e571a RD |
19790 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
19791 | } | |
19792 | return resultobj; | |
19793 | fail: | |
19794 | return NULL; | |
19795 | } | |
19796 | ||
19797 | ||
c26d9ab4 | 19798 | static PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19799 | PyObject *resultobj = NULL; |
8d38bd1d RD |
19800 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
19801 | PyObject * obj0 = 0 ; | |
19802 | char *kwnames[] = { | |
19803 | (char *) "self", NULL | |
19804 | }; | |
19805 | ||
c26d9ab4 | 19806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_OnInternalIdle",kwnames,&obj0)) goto fail; |
8d38bd1d RD |
19807 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19808 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19809 | { | |
19810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 19811 | (arg1)->OnInternalIdle(); |
8d38bd1d RD |
19812 | |
19813 | wxPyEndAllowThreads(__tstate); | |
19814 | if (PyErr_Occurred()) SWIG_fail; | |
19815 | } | |
19816 | Py_INCREF(Py_None); resultobj = Py_None; | |
19817 | return resultobj; | |
19818 | fail: | |
19819 | return NULL; | |
19820 | } | |
19821 | ||
19822 | ||
c32bde28 | 19823 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
1cb4a8aa RD |
19824 | PyObject *obj; |
19825 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19826 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
19827 | Py_INCREF(obj); | |
19828 | return Py_BuildValue((char *)""); | |
19829 | } | |
c32bde28 | 19830 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19831 | PyObject *resultobj = NULL; |
1cb4a8aa | 19832 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 19833 | int arg2 = (int) (int)-1 ; |
1cb4a8aa RD |
19834 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
19835 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
19836 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
19837 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
19838 | long arg5 = (long) 0 ; | |
19839 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
19840 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
19841 | wxPyScrolledWindow *result; | |
19842 | wxPoint temp3 ; | |
19843 | wxSize temp4 ; | |
ae8162c8 | 19844 | bool temp6 = false ; |
d14a1e28 | 19845 | PyObject * obj0 = 0 ; |
1cb4a8aa RD |
19846 | PyObject * obj1 = 0 ; |
19847 | PyObject * obj2 = 0 ; | |
19848 | PyObject * obj3 = 0 ; | |
19849 | PyObject * obj4 = 0 ; | |
19850 | PyObject * obj5 = 0 ; | |
d14a1e28 | 19851 | char *kwnames[] = { |
1cb4a8aa | 19852 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
19853 | }; |
19854 | ||
248ed943 | 19855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
19856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
19857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 19858 | if (obj1) { |
093d3ff1 | 19859 | { |
32fe5131 | 19860 | arg2 = static_cast<int const >(SWIG_As_int(obj1)); |
093d3ff1 RD |
19861 | if (SWIG_arg_fail(2)) SWIG_fail; |
19862 | } | |
248ed943 | 19863 | } |
1cb4a8aa RD |
19864 | if (obj2) { |
19865 | { | |
19866 | arg3 = &temp3; | |
19867 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
19868 | } | |
19869 | } | |
19870 | if (obj3) { | |
19871 | { | |
19872 | arg4 = &temp4; | |
19873 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
19874 | } | |
19875 | } | |
19876 | if (obj4) { | |
093d3ff1 | 19877 | { |
32fe5131 | 19878 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
19879 | if (SWIG_arg_fail(5)) SWIG_fail; |
19880 | } | |
1cb4a8aa RD |
19881 | } |
19882 | if (obj5) { | |
19883 | { | |
19884 | arg6 = wxString_in_helper(obj5); | |
19885 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 19886 | temp6 = true; |
1cb4a8aa RD |
19887 | } |
19888 | } | |
19889 | { | |
e3b71cb8 | 19890 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
19891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19892 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
19893 | ||
19894 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19895 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
19896 | } |
19897 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
19898 | { | |
19899 | if (temp6) | |
19900 | delete arg6; | |
19901 | } | |
19902 | return resultobj; | |
19903 | fail: | |
19904 | { | |
19905 | if (temp6) | |
19906 | delete arg6; | |
19907 | } | |
19908 | return NULL; | |
19909 | } | |
19910 | ||
19911 | ||
c32bde28 | 19912 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19913 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
19914 | wxPyScrolledWindow *result; |
19915 | char *kwnames[] = { | |
19916 | NULL | |
19917 | }; | |
19918 | ||
19919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
19920 | { | |
e3b71cb8 | 19921 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
19922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19923 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
19924 | ||
19925 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19926 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
19927 | } |
19928 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
19929 | return resultobj; | |
19930 | fail: | |
19931 | return NULL; | |
19932 | } | |
19933 | ||
19934 | ||
c32bde28 | 19935 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19936 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
19937 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
19938 | PyObject *arg2 = (PyObject *) 0 ; | |
19939 | PyObject *arg3 = (PyObject *) 0 ; | |
19940 | PyObject * obj0 = 0 ; | |
19941 | PyObject * obj1 = 0 ; | |
19942 | PyObject * obj2 = 0 ; | |
19943 | char *kwnames[] = { | |
19944 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19945 | }; | |
19946 | ||
19947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
19948 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19949 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
19950 | arg2 = obj1; |
19951 | arg3 = obj2; | |
19952 | { | |
19953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19954 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19955 | ||
19956 | wxPyEndAllowThreads(__tstate); | |
19957 | if (PyErr_Occurred()) SWIG_fail; | |
19958 | } | |
19959 | Py_INCREF(Py_None); resultobj = Py_None; | |
19960 | return resultobj; | |
19961 | fail: | |
19962 | return NULL; | |
19963 | } | |
19964 | ||
19965 | ||
c32bde28 | 19966 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19967 | PyObject *resultobj = NULL; |
db3e571a RD |
19968 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
19969 | wxSize *arg2 = 0 ; | |
19970 | wxSize temp2 ; | |
19971 | PyObject * obj0 = 0 ; | |
19972 | PyObject * obj1 = 0 ; | |
19973 | char *kwnames[] = { | |
19974 | (char *) "self",(char *) "size", NULL | |
19975 | }; | |
19976 | ||
19977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
19978 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19979 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
19980 | { |
19981 | arg2 = &temp2; | |
19982 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
19983 | } | |
19984 | { | |
19985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19986 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
19987 | ||
19988 | wxPyEndAllowThreads(__tstate); | |
19989 | if (PyErr_Occurred()) SWIG_fail; | |
19990 | } | |
19991 | Py_INCREF(Py_None); resultobj = Py_None; | |
19992 | return resultobj; | |
19993 | fail: | |
19994 | return NULL; | |
19995 | } | |
19996 | ||
19997 | ||
976dbff5 | 19998 | static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 19999 | PyObject *resultobj = NULL; |
976dbff5 RD |
20000 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20001 | wxDC *arg2 = (wxDC *) 0 ; | |
20002 | bool result; | |
20003 | PyObject * obj0 = 0 ; | |
20004 | PyObject * obj1 = 0 ; | |
20005 | char *kwnames[] = { | |
20006 | (char *) "self",(char *) "dc", NULL | |
20007 | }; | |
20008 | ||
20009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail; | |
20010 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
20011 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20012 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
20013 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20014 | { | |
20015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20016 | result = (bool)(arg1)->DoEraseBackground(arg2); | |
20017 | ||
20018 | wxPyEndAllowThreads(__tstate); | |
20019 | if (PyErr_Occurred()) SWIG_fail; | |
20020 | } | |
20021 | { | |
20022 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20023 | } | |
20024 | return resultobj; | |
20025 | fail: | |
20026 | return NULL; | |
20027 | } | |
20028 | ||
20029 | ||
c26d9ab4 | 20030 | static PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20031 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20032 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20033 | int arg2 ; | |
20034 | int arg3 ; | |
20035 | int arg4 ; | |
20036 | int arg5 ; | |
20037 | PyObject * obj0 = 0 ; | |
20038 | PyObject * obj1 = 0 ; | |
20039 | PyObject * obj2 = 0 ; | |
20040 | PyObject * obj3 = 0 ; | |
20041 | PyObject * obj4 = 0 ; | |
20042 | char *kwnames[] = { | |
20043 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
20044 | }; | |
20045 | ||
c26d9ab4 | 20046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
20047 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20048 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20049 | { | |
32fe5131 | 20050 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
20051 | if (SWIG_arg_fail(2)) SWIG_fail; |
20052 | } | |
20053 | { | |
32fe5131 | 20054 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
20055 | if (SWIG_arg_fail(3)) SWIG_fail; |
20056 | } | |
20057 | { | |
32fe5131 | 20058 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
20059 | if (SWIG_arg_fail(4)) SWIG_fail; |
20060 | } | |
20061 | { | |
32fe5131 | 20062 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
20063 | if (SWIG_arg_fail(5)) SWIG_fail; |
20064 | } | |
1cb4a8aa RD |
20065 | { |
20066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20067 | (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5); |
1cb4a8aa RD |
20068 | |
20069 | wxPyEndAllowThreads(__tstate); | |
20070 | if (PyErr_Occurred()) SWIG_fail; | |
20071 | } | |
20072 | Py_INCREF(Py_None); resultobj = Py_None; | |
20073 | return resultobj; | |
20074 | fail: | |
20075 | return NULL; | |
20076 | } | |
20077 | ||
20078 | ||
c26d9ab4 | 20079 | static PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20080 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20081 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20082 | int arg2 ; | |
20083 | int arg3 ; | |
20084 | int arg4 ; | |
20085 | int arg5 ; | |
20086 | int arg6 = (int) wxSIZE_AUTO ; | |
20087 | PyObject * obj0 = 0 ; | |
20088 | PyObject * obj1 = 0 ; | |
20089 | PyObject * obj2 = 0 ; | |
20090 | PyObject * obj3 = 0 ; | |
20091 | PyObject * obj4 = 0 ; | |
20092 | PyObject * obj5 = 0 ; | |
20093 | char *kwnames[] = { | |
20094 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
20095 | }; | |
20096 | ||
c26d9ab4 | 20097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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; | |
20100 | { | |
32fe5131 | 20101 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
20102 | if (SWIG_arg_fail(2)) SWIG_fail; |
20103 | } | |
20104 | { | |
32fe5131 | 20105 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
20106 | if (SWIG_arg_fail(3)) SWIG_fail; |
20107 | } | |
20108 | { | |
32fe5131 | 20109 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
20110 | if (SWIG_arg_fail(4)) SWIG_fail; |
20111 | } | |
20112 | { | |
32fe5131 | 20113 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
20114 | if (SWIG_arg_fail(5)) SWIG_fail; |
20115 | } | |
1cb4a8aa | 20116 | if (obj5) { |
093d3ff1 | 20117 | { |
32fe5131 | 20118 | arg6 = static_cast<int >(SWIG_As_int(obj5)); |
093d3ff1 RD |
20119 | if (SWIG_arg_fail(6)) SWIG_fail; |
20120 | } | |
1cb4a8aa RD |
20121 | } |
20122 | { | |
20123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20124 | (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6); |
1cb4a8aa RD |
20125 | |
20126 | wxPyEndAllowThreads(__tstate); | |
20127 | if (PyErr_Occurred()) SWIG_fail; | |
20128 | } | |
20129 | Py_INCREF(Py_None); resultobj = Py_None; | |
20130 | return resultobj; | |
20131 | fail: | |
20132 | return NULL; | |
20133 | } | |
20134 | ||
20135 | ||
c26d9ab4 | 20136 | static PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20137 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20138 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20139 | int arg2 ; | |
20140 | int arg3 ; | |
20141 | PyObject * obj0 = 0 ; | |
20142 | PyObject * obj1 = 0 ; | |
20143 | PyObject * obj2 = 0 ; | |
20144 | char *kwnames[] = { | |
20145 | (char *) "self",(char *) "width",(char *) "height", NULL | |
20146 | }; | |
20147 | ||
c26d9ab4 | 20148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
20149 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20150 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20151 | { | |
32fe5131 | 20152 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
20153 | if (SWIG_arg_fail(2)) SWIG_fail; |
20154 | } | |
20155 | { | |
32fe5131 | 20156 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
20157 | if (SWIG_arg_fail(3)) SWIG_fail; |
20158 | } | |
1cb4a8aa RD |
20159 | { |
20160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20161 | (arg1)->DoSetClientSize(arg2,arg3); |
1cb4a8aa RD |
20162 | |
20163 | wxPyEndAllowThreads(__tstate); | |
20164 | if (PyErr_Occurred()) SWIG_fail; | |
20165 | } | |
20166 | Py_INCREF(Py_None); resultobj = Py_None; | |
20167 | return resultobj; | |
20168 | fail: | |
20169 | return NULL; | |
20170 | } | |
20171 | ||
20172 | ||
c26d9ab4 | 20173 | static PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20174 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20175 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20176 | int arg2 ; | |
20177 | int arg3 ; | |
20178 | PyObject * obj0 = 0 ; | |
20179 | PyObject * obj1 = 0 ; | |
20180 | PyObject * obj2 = 0 ; | |
20181 | char *kwnames[] = { | |
20182 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20183 | }; | |
20184 | ||
c26d9ab4 | 20185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
20186 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20187 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20188 | { | |
32fe5131 | 20189 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
20190 | if (SWIG_arg_fail(2)) SWIG_fail; |
20191 | } | |
20192 | { | |
32fe5131 | 20193 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
20194 | if (SWIG_arg_fail(3)) SWIG_fail; |
20195 | } | |
1cb4a8aa RD |
20196 | { |
20197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20198 | (arg1)->DoSetVirtualSize(arg2,arg3); |
1cb4a8aa RD |
20199 | |
20200 | wxPyEndAllowThreads(__tstate); | |
20201 | if (PyErr_Occurred()) SWIG_fail; | |
20202 | } | |
20203 | Py_INCREF(Py_None); resultobj = Py_None; | |
20204 | return resultobj; | |
20205 | fail: | |
20206 | return NULL; | |
20207 | } | |
20208 | ||
20209 | ||
c26d9ab4 | 20210 | static PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20211 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20212 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20213 | int *arg2 = (int *) 0 ; | |
20214 | int *arg3 = (int *) 0 ; | |
20215 | int temp2 ; | |
c32bde28 | 20216 | int res2 = 0 ; |
1cb4a8aa | 20217 | int temp3 ; |
c32bde28 | 20218 | int res3 = 0 ; |
1cb4a8aa RD |
20219 | PyObject * obj0 = 0 ; |
20220 | char *kwnames[] = { | |
20221 | (char *) "self", NULL | |
20222 | }; | |
20223 | ||
c32bde28 RD |
20224 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
20225 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 20226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20227 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20228 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20229 | { |
20230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20231 | ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3); |
1cb4a8aa RD |
20232 | |
20233 | wxPyEndAllowThreads(__tstate); | |
20234 | if (PyErr_Occurred()) SWIG_fail; | |
20235 | } | |
20236 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
20237 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
20238 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
20239 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
20240 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
20241 | return resultobj; |
20242 | fail: | |
20243 | return NULL; | |
20244 | } | |
20245 | ||
20246 | ||
c26d9ab4 | 20247 | static PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20248 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20249 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20250 | int *arg2 = (int *) 0 ; | |
20251 | int *arg3 = (int *) 0 ; | |
20252 | int temp2 ; | |
c32bde28 | 20253 | int res2 = 0 ; |
1cb4a8aa | 20254 | int temp3 ; |
c32bde28 | 20255 | int res3 = 0 ; |
1cb4a8aa RD |
20256 | PyObject * obj0 = 0 ; |
20257 | char *kwnames[] = { | |
20258 | (char *) "self", NULL | |
20259 | }; | |
20260 | ||
c32bde28 RD |
20261 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
20262 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 20263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20264 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20265 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20266 | { |
20267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20268 | ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3); |
1cb4a8aa RD |
20269 | |
20270 | wxPyEndAllowThreads(__tstate); | |
20271 | if (PyErr_Occurred()) SWIG_fail; | |
20272 | } | |
20273 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
20274 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
20275 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
20276 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
20277 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
20278 | return resultobj; |
20279 | fail: | |
20280 | return NULL; | |
20281 | } | |
20282 | ||
20283 | ||
c26d9ab4 | 20284 | static PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20285 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20286 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20287 | int *arg2 = (int *) 0 ; | |
20288 | int *arg3 = (int *) 0 ; | |
20289 | int temp2 ; | |
c32bde28 | 20290 | int res2 = 0 ; |
1cb4a8aa | 20291 | int temp3 ; |
c32bde28 | 20292 | int res3 = 0 ; |
1cb4a8aa RD |
20293 | PyObject * obj0 = 0 ; |
20294 | char *kwnames[] = { | |
20295 | (char *) "self", NULL | |
20296 | }; | |
20297 | ||
c32bde28 RD |
20298 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
20299 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
c26d9ab4 | 20300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20301 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20302 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20303 | { |
20304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20305 | ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3); |
1cb4a8aa RD |
20306 | |
20307 | wxPyEndAllowThreads(__tstate); | |
20308 | if (PyErr_Occurred()) SWIG_fail; | |
20309 | } | |
20310 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
20311 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
20312 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
20313 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
20314 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
20315 | return resultobj; |
20316 | fail: | |
20317 | return NULL; | |
20318 | } | |
20319 | ||
20320 | ||
c26d9ab4 | 20321 | static PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20322 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20323 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20324 | wxSize result; | |
20325 | PyObject * obj0 = 0 ; | |
20326 | char *kwnames[] = { | |
20327 | (char *) "self", NULL | |
20328 | }; | |
20329 | ||
c26d9ab4 | 20330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20331 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20332 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20333 | { |
20334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20335 | result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize(); |
1cb4a8aa RD |
20336 | |
20337 | wxPyEndAllowThreads(__tstate); | |
20338 | if (PyErr_Occurred()) SWIG_fail; | |
20339 | } | |
20340 | { | |
20341 | wxSize * resultptr; | |
32fe5131 | 20342 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
1cb4a8aa RD |
20343 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
20344 | } | |
20345 | return resultobj; | |
20346 | fail: | |
20347 | return NULL; | |
20348 | } | |
20349 | ||
20350 | ||
c26d9ab4 | 20351 | static PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20352 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20353 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20354 | wxSize result; | |
20355 | PyObject * obj0 = 0 ; | |
20356 | char *kwnames[] = { | |
20357 | (char *) "self", NULL | |
20358 | }; | |
20359 | ||
c26d9ab4 | 20360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20361 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20362 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20363 | { |
20364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20365 | result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize(); |
1cb4a8aa RD |
20366 | |
20367 | wxPyEndAllowThreads(__tstate); | |
20368 | if (PyErr_Occurred()) SWIG_fail; | |
20369 | } | |
20370 | { | |
20371 | wxSize * resultptr; | |
32fe5131 | 20372 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
1cb4a8aa RD |
20373 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
20374 | } | |
20375 | return resultobj; | |
20376 | fail: | |
20377 | return NULL; | |
20378 | } | |
20379 | ||
20380 | ||
c26d9ab4 | 20381 | static PyObject *_wrap_PyScrolledWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20382 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20383 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20384 | PyObject * obj0 = 0 ; | |
20385 | char *kwnames[] = { | |
20386 | (char *) "self", NULL | |
20387 | }; | |
20388 | ||
c26d9ab4 | 20389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_InitDialog",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20390 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20391 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20392 | { |
20393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20394 | (arg1)->InitDialog(); |
1cb4a8aa RD |
20395 | |
20396 | wxPyEndAllowThreads(__tstate); | |
20397 | if (PyErr_Occurred()) SWIG_fail; | |
20398 | } | |
20399 | Py_INCREF(Py_None); resultobj = Py_None; | |
20400 | return resultobj; | |
20401 | fail: | |
20402 | return NULL; | |
20403 | } | |
20404 | ||
20405 | ||
c26d9ab4 | 20406 | static PyObject *_wrap_PyScrolledWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20407 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20408 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20409 | bool result; | |
20410 | PyObject * obj0 = 0 ; | |
20411 | char *kwnames[] = { | |
20412 | (char *) "self", NULL | |
20413 | }; | |
20414 | ||
c26d9ab4 | 20415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20416 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20417 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20418 | { |
20419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20420 | result = (bool)(arg1)->TransferDataToWindow(); |
1cb4a8aa RD |
20421 | |
20422 | wxPyEndAllowThreads(__tstate); | |
20423 | if (PyErr_Occurred()) SWIG_fail; | |
20424 | } | |
20425 | { | |
20426 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20427 | } | |
20428 | return resultobj; | |
20429 | fail: | |
20430 | return NULL; | |
20431 | } | |
20432 | ||
20433 | ||
c26d9ab4 | 20434 | static PyObject *_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20435 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20436 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20437 | bool result; | |
20438 | PyObject * obj0 = 0 ; | |
20439 | char *kwnames[] = { | |
20440 | (char *) "self", NULL | |
20441 | }; | |
20442 | ||
c26d9ab4 | 20443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20446 | { |
20447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20448 | result = (bool)(arg1)->TransferDataFromWindow(); |
1cb4a8aa RD |
20449 | |
20450 | wxPyEndAllowThreads(__tstate); | |
20451 | if (PyErr_Occurred()) SWIG_fail; | |
20452 | } | |
20453 | { | |
20454 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20455 | } | |
20456 | return resultobj; | |
20457 | fail: | |
20458 | return NULL; | |
20459 | } | |
20460 | ||
20461 | ||
c26d9ab4 | 20462 | static PyObject *_wrap_PyScrolledWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20463 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20464 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20465 | bool result; | |
20466 | PyObject * obj0 = 0 ; | |
20467 | char *kwnames[] = { | |
20468 | (char *) "self", NULL | |
20469 | }; | |
20470 | ||
c26d9ab4 | 20471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_Validate",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20472 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20473 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20474 | { |
20475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20476 | result = (bool)(arg1)->Validate(); |
1cb4a8aa RD |
20477 | |
20478 | wxPyEndAllowThreads(__tstate); | |
20479 | if (PyErr_Occurred()) SWIG_fail; | |
20480 | } | |
20481 | { | |
20482 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20483 | } | |
20484 | return resultobj; | |
20485 | fail: | |
20486 | return NULL; | |
20487 | } | |
20488 | ||
20489 | ||
c26d9ab4 | 20490 | static PyObject *_wrap_PyScrolledWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20491 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20492 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20493 | bool result; | |
20494 | PyObject * obj0 = 0 ; | |
20495 | char *kwnames[] = { | |
20496 | (char *) "self", NULL | |
20497 | }; | |
20498 | ||
c26d9ab4 | 20499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20500 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20501 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20502 | { |
20503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20504 | result = (bool)((wxPyScrolledWindow const *)arg1)->AcceptsFocus(); |
1cb4a8aa RD |
20505 | |
20506 | wxPyEndAllowThreads(__tstate); | |
20507 | if (PyErr_Occurred()) SWIG_fail; | |
20508 | } | |
20509 | { | |
20510 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20511 | } | |
20512 | return resultobj; | |
20513 | fail: | |
20514 | return NULL; | |
20515 | } | |
20516 | ||
20517 | ||
c26d9ab4 | 20518 | static PyObject *_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20519 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20520 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20521 | bool result; | |
20522 | PyObject * obj0 = 0 ; | |
20523 | char *kwnames[] = { | |
20524 | (char *) "self", NULL | |
20525 | }; | |
20526 | ||
c26d9ab4 | 20527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20528 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20529 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20530 | { |
20531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20532 | result = (bool)((wxPyScrolledWindow const *)arg1)->AcceptsFocusFromKeyboard(); |
1cb4a8aa RD |
20533 | |
20534 | wxPyEndAllowThreads(__tstate); | |
20535 | if (PyErr_Occurred()) SWIG_fail; | |
20536 | } | |
20537 | { | |
20538 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20539 | } | |
20540 | return resultobj; | |
20541 | fail: | |
20542 | return NULL; | |
20543 | } | |
20544 | ||
20545 | ||
c26d9ab4 | 20546 | static PyObject *_wrap_PyScrolledWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20547 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20548 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20549 | wxSize result; | |
20550 | PyObject * obj0 = 0 ; | |
20551 | char *kwnames[] = { | |
20552 | (char *) "self", NULL | |
20553 | }; | |
20554 | ||
c26d9ab4 | 20555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20556 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20557 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20558 | { |
20559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20560 | result = ((wxPyScrolledWindow const *)arg1)->GetMaxSize(); |
1cb4a8aa RD |
20561 | |
20562 | wxPyEndAllowThreads(__tstate); | |
20563 | if (PyErr_Occurred()) SWIG_fail; | |
20564 | } | |
20565 | { | |
20566 | wxSize * resultptr; | |
32fe5131 | 20567 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
1cb4a8aa RD |
20568 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
20569 | } | |
20570 | return resultobj; | |
20571 | fail: | |
20572 | return NULL; | |
20573 | } | |
20574 | ||
20575 | ||
c26d9ab4 | 20576 | static PyObject *_wrap_PyScrolledWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20577 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20578 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20579 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20580 | PyObject * obj0 = 0 ; | |
20581 | PyObject * obj1 = 0 ; | |
20582 | char *kwnames[] = { | |
20583 | (char *) "self",(char *) "child", NULL | |
20584 | }; | |
20585 | ||
c26d9ab4 | 20586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_AddChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
20587 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20588 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20589 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
20590 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1cb4a8aa RD |
20591 | { |
20592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20593 | (arg1)->AddChild(arg2); |
1cb4a8aa RD |
20594 | |
20595 | wxPyEndAllowThreads(__tstate); | |
20596 | if (PyErr_Occurred()) SWIG_fail; | |
20597 | } | |
20598 | Py_INCREF(Py_None); resultobj = Py_None; | |
20599 | return resultobj; | |
20600 | fail: | |
20601 | return NULL; | |
20602 | } | |
20603 | ||
20604 | ||
c26d9ab4 | 20605 | static PyObject *_wrap_PyScrolledWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20606 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20607 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20608 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20609 | PyObject * obj0 = 0 ; | |
20610 | PyObject * obj1 = 0 ; | |
20611 | char *kwnames[] = { | |
20612 | (char *) "self",(char *) "child", NULL | |
20613 | }; | |
20614 | ||
c26d9ab4 | 20615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
20616 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20617 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20618 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
20619 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1cb4a8aa RD |
20620 | { |
20621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20622 | (arg1)->RemoveChild(arg2); |
1cb4a8aa RD |
20623 | |
20624 | wxPyEndAllowThreads(__tstate); | |
20625 | if (PyErr_Occurred()) SWIG_fail; | |
20626 | } | |
20627 | Py_INCREF(Py_None); resultobj = Py_None; | |
20628 | return resultobj; | |
20629 | fail: | |
20630 | return NULL; | |
20631 | } | |
20632 | ||
20633 | ||
c26d9ab4 | 20634 | static PyObject *_wrap_PyScrolledWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20635 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20636 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20637 | bool result; | |
20638 | PyObject * obj0 = 0 ; | |
20639 | char *kwnames[] = { | |
20640 | (char *) "self", NULL | |
20641 | }; | |
20642 | ||
c26d9ab4 | 20643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20646 | { |
20647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20648 | result = (bool)((wxPyScrolledWindow const *)arg1)->ShouldInheritColours(); |
1cb4a8aa RD |
20649 | |
20650 | wxPyEndAllowThreads(__tstate); | |
20651 | if (PyErr_Occurred()) SWIG_fail; | |
20652 | } | |
20653 | { | |
20654 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20655 | } | |
20656 | return resultobj; | |
20657 | fail: | |
20658 | return NULL; | |
20659 | } | |
20660 | ||
20661 | ||
c26d9ab4 | 20662 | static PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20663 | PyObject *resultobj = NULL; |
db3e571a RD |
20664 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20665 | wxVisualAttributes result; | |
20666 | PyObject * obj0 = 0 ; | |
20667 | char *kwnames[] = { | |
20668 | (char *) "self", NULL | |
20669 | }; | |
20670 | ||
c26d9ab4 | 20671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
20672 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20673 | if (SWIG_arg_fail(1)) SWIG_fail; | |
db3e571a RD |
20674 | { |
20675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20676 | result = (arg1)->GetDefaultAttributes(); |
db3e571a RD |
20677 | |
20678 | wxPyEndAllowThreads(__tstate); | |
20679 | if (PyErr_Occurred()) SWIG_fail; | |
20680 | } | |
20681 | { | |
20682 | wxVisualAttributes * resultptr; | |
32fe5131 | 20683 | resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result)); |
db3e571a RD |
20684 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
20685 | } | |
20686 | return resultobj; | |
20687 | fail: | |
20688 | return NULL; | |
20689 | } | |
20690 | ||
20691 | ||
c26d9ab4 | 20692 | static PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20693 | PyObject *resultobj = NULL; |
8d38bd1d RD |
20694 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; |
20695 | PyObject * obj0 = 0 ; | |
20696 | char *kwnames[] = { | |
20697 | (char *) "self", NULL | |
20698 | }; | |
20699 | ||
c26d9ab4 | 20700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames,&obj0)) goto fail; |
8d38bd1d RD |
20701 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20702 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20703 | { | |
20704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 20705 | (arg1)->OnInternalIdle(); |
8d38bd1d RD |
20706 | |
20707 | wxPyEndAllowThreads(__tstate); | |
20708 | if (PyErr_Occurred()) SWIG_fail; | |
20709 | } | |
20710 | Py_INCREF(Py_None); resultobj = Py_None; | |
20711 | return resultobj; | |
20712 | fail: | |
20713 | return NULL; | |
20714 | } | |
20715 | ||
20716 | ||
c32bde28 | 20717 | static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) { |
1cb4a8aa RD |
20718 | PyObject *obj; |
20719 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20720 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
20721 | Py_INCREF(obj); | |
20722 | return Py_BuildValue((char *)""); | |
20723 | } | |
c32bde28 | 20724 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
1cb4a8aa RD |
20725 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
20726 | return 1; | |
20727 | } | |
20728 | ||
20729 | ||
093d3ff1 | 20730 | static PyObject *_wrap_PrintoutTitleStr_get(void) { |
32fe5131 | 20731 | PyObject *pyobj = NULL; |
1cb4a8aa RD |
20732 | |
20733 | { | |
20734 | #if wxUSE_UNICODE | |
20735 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20736 | #else | |
20737 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20738 | #endif | |
20739 | } | |
20740 | return pyobj; | |
20741 | } | |
20742 | ||
20743 | ||
c32bde28 | 20744 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
1cb4a8aa RD |
20745 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
20746 | return 1; | |
20747 | } | |
20748 | ||
20749 | ||
093d3ff1 | 20750 | static PyObject *_wrap_PreviewCanvasNameStr_get(void) { |
32fe5131 | 20751 | PyObject *pyobj = NULL; |
1cb4a8aa RD |
20752 | |
20753 | { | |
20754 | #if wxUSE_UNICODE | |
20755 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20756 | #else | |
20757 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20758 | #endif | |
20759 | } | |
20760 | return pyobj; | |
20761 | } | |
20762 | ||
20763 | ||
c32bde28 | 20764 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 20765 | PyObject *resultobj = NULL; |
1cb4a8aa | 20766 | wxPrintData *result; |
1cb4a8aa | 20767 | |
11207aef | 20768 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
1cb4a8aa RD |
20769 | { |
20770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20771 | result = (wxPrintData *)new wxPrintData(); | |
20772 | ||
20773 | wxPyEndAllowThreads(__tstate); | |
20774 | if (PyErr_Occurred()) SWIG_fail; | |
20775 | } | |
20776 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20777 | return resultobj; | |
20778 | fail: | |
20779 | return NULL; | |
20780 | } | |
20781 | ||
20782 | ||
c32bde28 | 20783 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 20784 | PyObject *resultobj = NULL; |
11207aef RD |
20785 | wxPrintData *arg1 = 0 ; |
20786 | wxPrintData *result; | |
20787 | PyObject * obj0 = 0 ; | |
20788 | ||
20789 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail; | |
093d3ff1 RD |
20790 | { |
20791 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
20792 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20793 | if (arg1 == NULL) { | |
20794 | SWIG_null_ref("wxPrintData"); | |
20795 | } | |
20796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11207aef RD |
20797 | } |
20798 | { | |
20799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20800 | result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1); | |
20801 | ||
20802 | wxPyEndAllowThreads(__tstate); | |
20803 | if (PyErr_Occurred()) SWIG_fail; | |
20804 | } | |
20805 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20806 | return resultobj; | |
20807 | fail: | |
20808 | return NULL; | |
20809 | } | |
20810 | ||
20811 | ||
20812 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { | |
20813 | int argc; | |
20814 | PyObject *argv[2]; | |
20815 | int ii; | |
20816 | ||
20817 | argc = PyObject_Length(args); | |
20818 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
20819 | argv[ii] = PyTuple_GetItem(args,ii); | |
20820 | } | |
20821 | if (argc == 0) { | |
20822 | return _wrap_new_PrintData__SWIG_0(self,args); | |
20823 | } | |
20824 | if (argc == 1) { | |
20825 | int _v; | |
20826 | { | |
093d3ff1 | 20827 | void *ptr = 0; |
11207aef RD |
20828 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
20829 | _v = 0; | |
20830 | PyErr_Clear(); | |
20831 | } else { | |
093d3ff1 | 20832 | _v = (ptr != 0); |
11207aef RD |
20833 | } |
20834 | } | |
20835 | if (_v) { | |
20836 | return _wrap_new_PrintData__SWIG_1(self,args); | |
20837 | } | |
20838 | } | |
20839 | ||
093d3ff1 | 20840 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'"); |
11207aef RD |
20841 | return NULL; |
20842 | } | |
20843 | ||
20844 | ||
c32bde28 | 20845 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20846 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20847 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
20848 | PyObject * obj0 = 0 ; | |
20849 | char *kwnames[] = { | |
20850 | (char *) "self", NULL | |
20851 | }; | |
20852 | ||
20853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20854 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20855 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20856 | { |
20857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20858 | delete arg1; | |
20859 | ||
20860 | wxPyEndAllowThreads(__tstate); | |
20861 | if (PyErr_Occurred()) SWIG_fail; | |
20862 | } | |
20863 | Py_INCREF(Py_None); resultobj = Py_None; | |
20864 | return resultobj; | |
20865 | fail: | |
20866 | return NULL; | |
20867 | } | |
20868 | ||
20869 | ||
c32bde28 | 20870 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20871 | PyObject *resultobj = NULL; |
1cb4a8aa RD |
20872 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
20873 | int result; | |
20874 | PyObject * obj0 = 0 ; | |
20875 | char *kwnames[] = { | |
20876 | (char *) "self", NULL | |
20877 | }; | |
20878 | ||
20879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20880 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20881 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1cb4a8aa RD |
20882 | { |
20883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20884 | result = (int)(arg1)->GetNoCopies(); | |
20885 | ||
20886 | wxPyEndAllowThreads(__tstate); | |
20887 | if (PyErr_Occurred()) SWIG_fail; | |
20888 | } | |
093d3ff1 | 20889 | { |
32fe5131 | 20890 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 20891 | } |
1cb4a8aa RD |
20892 | return resultobj; |
20893 | fail: | |
d14a1e28 RD |
20894 | return NULL; |
20895 | } | |
20896 | ||
20897 | ||
c32bde28 | 20898 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20899 | PyObject *resultobj = NULL; |
d14a1e28 RD |
20900 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
20901 | bool result; | |
20902 | PyObject * obj0 = 0 ; | |
20903 | char *kwnames[] = { | |
20904 | (char *) "self", NULL | |
20905 | }; | |
20906 | ||
20907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20908 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20909 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
20910 | { |
20911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20912 | result = (bool)(arg1)->GetCollate(); | |
20913 | ||
20914 | wxPyEndAllowThreads(__tstate); | |
20915 | if (PyErr_Occurred()) SWIG_fail; | |
20916 | } | |
4f89f6a3 RD |
20917 | { |
20918 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20919 | } | |
d14a1e28 RD |
20920 | return resultobj; |
20921 | fail: | |
20922 | return NULL; | |
20923 | } | |
20924 | ||
20925 | ||
c32bde28 | 20926 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20927 | PyObject *resultobj = NULL; |
d14a1e28 RD |
20928 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
20929 | int result; | |
20930 | PyObject * obj0 = 0 ; | |
20931 | char *kwnames[] = { | |
20932 | (char *) "self", NULL | |
20933 | }; | |
20934 | ||
20935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20936 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20937 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
20938 | { |
20939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20940 | result = (int)(arg1)->GetOrientation(); | |
20941 | ||
20942 | wxPyEndAllowThreads(__tstate); | |
20943 | if (PyErr_Occurred()) SWIG_fail; | |
20944 | } | |
093d3ff1 | 20945 | { |
32fe5131 | 20946 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 20947 | } |
d14a1e28 RD |
20948 | return resultobj; |
20949 | fail: | |
20950 | return NULL; | |
20951 | } | |
20952 | ||
20953 | ||
c32bde28 | 20954 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20955 | PyObject *resultobj = NULL; |
d14a1e28 RD |
20956 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
20957 | bool result; | |
20958 | PyObject * obj0 = 0 ; | |
20959 | char *kwnames[] = { | |
20960 | (char *) "self", NULL | |
20961 | }; | |
20962 | ||
20963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20964 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20965 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
20966 | { |
20967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20968 | result = (bool)(arg1)->Ok(); | |
20969 | ||
20970 | wxPyEndAllowThreads(__tstate); | |
20971 | if (PyErr_Occurred()) SWIG_fail; | |
20972 | } | |
4f89f6a3 RD |
20973 | { |
20974 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20975 | } | |
d14a1e28 RD |
20976 | return resultobj; |
20977 | fail: | |
20978 | return NULL; | |
20979 | } | |
20980 | ||
20981 | ||
c32bde28 | 20982 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 20983 | PyObject *resultobj = NULL; |
d14a1e28 RD |
20984 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
20985 | wxString *result; | |
20986 | PyObject * obj0 = 0 ; | |
20987 | char *kwnames[] = { | |
20988 | (char *) "self", NULL | |
20989 | }; | |
20990 | ||
20991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20992 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20993 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
20994 | { |
20995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20996 | { | |
20997 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
20998 | result = (wxString *) &_result_ref; | |
20999 | } | |
21000 | ||
21001 | wxPyEndAllowThreads(__tstate); | |
21002 | if (PyErr_Occurred()) SWIG_fail; | |
21003 | } | |
cc6dd355 RD |
21004 | { |
21005 | #if wxUSE_UNICODE | |
21006 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21007 | #else | |
21008 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21009 | #endif | |
21010 | } | |
d14a1e28 RD |
21011 | return resultobj; |
21012 | fail: | |
21013 | return NULL; | |
21014 | } | |
21015 | ||
21016 | ||
c32bde28 | 21017 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21018 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21019 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21020 | bool result; | |
21021 | PyObject * obj0 = 0 ; | |
21022 | char *kwnames[] = { | |
21023 | (char *) "self", NULL | |
21024 | }; | |
21025 | ||
21026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21027 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21028 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21029 | { |
21030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21031 | result = (bool)(arg1)->GetColour(); | |
21032 | ||
21033 | wxPyEndAllowThreads(__tstate); | |
21034 | if (PyErr_Occurred()) SWIG_fail; | |
21035 | } | |
4f89f6a3 RD |
21036 | { |
21037 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21038 | } | |
d14a1e28 RD |
21039 | return resultobj; |
21040 | fail: | |
21041 | return NULL; | |
21042 | } | |
21043 | ||
21044 | ||
c32bde28 | 21045 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21046 | PyObject *resultobj = NULL; |
d14a1e28 | 21047 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21048 | wxDuplexMode result; |
d14a1e28 RD |
21049 | PyObject * obj0 = 0 ; |
21050 | char *kwnames[] = { | |
21051 | (char *) "self", NULL | |
21052 | }; | |
21053 | ||
21054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21055 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21056 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21057 | { |
21058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 21059 | result = (wxDuplexMode)(arg1)->GetDuplex(); |
d14a1e28 RD |
21060 | |
21061 | wxPyEndAllowThreads(__tstate); | |
21062 | if (PyErr_Occurred()) SWIG_fail; | |
21063 | } | |
093d3ff1 | 21064 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
21065 | return resultobj; |
21066 | fail: | |
21067 | return NULL; | |
21068 | } | |
21069 | ||
21070 | ||
c32bde28 | 21071 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21072 | PyObject *resultobj = NULL; |
d14a1e28 | 21073 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21074 | wxPaperSize result; |
d14a1e28 RD |
21075 | PyObject * obj0 = 0 ; |
21076 | char *kwnames[] = { | |
21077 | (char *) "self", NULL | |
21078 | }; | |
21079 | ||
21080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21081 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21082 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21083 | { |
21084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 21085 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d14a1e28 RD |
21086 | |
21087 | wxPyEndAllowThreads(__tstate); | |
21088 | if (PyErr_Occurred()) SWIG_fail; | |
21089 | } | |
093d3ff1 | 21090 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
21091 | return resultobj; |
21092 | fail: | |
21093 | return NULL; | |
21094 | } | |
21095 | ||
21096 | ||
c32bde28 | 21097 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21098 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21099 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21100 | wxSize *result; | |
21101 | PyObject * obj0 = 0 ; | |
21102 | char *kwnames[] = { | |
21103 | (char *) "self", NULL | |
21104 | }; | |
21105 | ||
21106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21107 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21108 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21109 | { |
21110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21111 | { | |
21112 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
21113 | result = (wxSize *) &_result_ref; | |
21114 | } | |
21115 | ||
21116 | wxPyEndAllowThreads(__tstate); | |
21117 | if (PyErr_Occurred()) SWIG_fail; | |
21118 | } | |
15afbcd0 | 21119 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
21120 | return resultobj; |
21121 | fail: | |
21122 | return NULL; | |
21123 | } | |
21124 | ||
21125 | ||
c32bde28 | 21126 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21127 | PyObject *resultobj = NULL; |
d14a1e28 | 21128 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
b2dc1044 | 21129 | int result; |
d14a1e28 RD |
21130 | PyObject * obj0 = 0 ; |
21131 | char *kwnames[] = { | |
21132 | (char *) "self", NULL | |
21133 | }; | |
21134 | ||
21135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21136 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21137 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21138 | { |
21139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b2dc1044 | 21140 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
21141 | |
21142 | wxPyEndAllowThreads(__tstate); | |
21143 | if (PyErr_Occurred()) SWIG_fail; | |
21144 | } | |
093d3ff1 | 21145 | { |
32fe5131 | 21146 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 21147 | } |
d14a1e28 RD |
21148 | return resultobj; |
21149 | fail: | |
21150 | return NULL; | |
21151 | } | |
21152 | ||
21153 | ||
2ef75293 | 21154 | static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21155 | PyObject *resultobj = NULL; |
2ef75293 | 21156 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21157 | wxPrintBin result; |
2ef75293 RD |
21158 | PyObject * obj0 = 0 ; |
21159 | char *kwnames[] = { | |
21160 | (char *) "self", NULL | |
21161 | }; | |
21162 | ||
21163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21164 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21165 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2ef75293 RD |
21166 | { |
21167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 21168 | result = (wxPrintBin)(arg1)->GetBin(); |
2ef75293 RD |
21169 | |
21170 | wxPyEndAllowThreads(__tstate); | |
21171 | if (PyErr_Occurred()) SWIG_fail; | |
21172 | } | |
093d3ff1 | 21173 | resultobj = SWIG_From_int((result)); |
2ef75293 RD |
21174 | return resultobj; |
21175 | fail: | |
21176 | return NULL; | |
21177 | } | |
21178 | ||
21179 | ||
d3b6e4ff | 21180 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21181 | PyObject *resultobj = NULL; |
d3b6e4ff | 21182 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21183 | wxPrintMode result; |
d3b6e4ff RD |
21184 | PyObject * obj0 = 0 ; |
21185 | char *kwnames[] = { | |
21186 | (char *) "self", NULL | |
21187 | }; | |
21188 | ||
21189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21190 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21191 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d3b6e4ff RD |
21192 | { |
21193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 21194 | result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode(); |
d3b6e4ff RD |
21195 | |
21196 | wxPyEndAllowThreads(__tstate); | |
21197 | if (PyErr_Occurred()) SWIG_fail; | |
21198 | } | |
093d3ff1 | 21199 | resultobj = SWIG_From_int((result)); |
d3b6e4ff RD |
21200 | return resultobj; |
21201 | fail: | |
21202 | return NULL; | |
21203 | } | |
21204 | ||
21205 | ||
c32bde28 | 21206 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21207 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21208 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21209 | int arg2 ; | |
21210 | PyObject * obj0 = 0 ; | |
994141e6 | 21211 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21212 | char *kwnames[] = { |
21213 | (char *) "self",(char *) "v", NULL | |
21214 | }; | |
21215 | ||
994141e6 | 21216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21219 | { | |
32fe5131 | 21220 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21221 | if (SWIG_arg_fail(2)) SWIG_fail; |
21222 | } | |
d14a1e28 RD |
21223 | { |
21224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21225 | (arg1)->SetNoCopies(arg2); | |
21226 | ||
21227 | wxPyEndAllowThreads(__tstate); | |
21228 | if (PyErr_Occurred()) SWIG_fail; | |
21229 | } | |
21230 | Py_INCREF(Py_None); resultobj = Py_None; | |
21231 | return resultobj; | |
21232 | fail: | |
21233 | return NULL; | |
21234 | } | |
21235 | ||
21236 | ||
c32bde28 | 21237 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21238 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21239 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21240 | bool arg2 ; | |
21241 | PyObject * obj0 = 0 ; | |
21242 | PyObject * obj1 = 0 ; | |
21243 | char *kwnames[] = { | |
21244 | (char *) "self",(char *) "flag", NULL | |
21245 | }; | |
21246 | ||
21247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21248 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21249 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21250 | { | |
32fe5131 | 21251 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
21252 | if (SWIG_arg_fail(2)) SWIG_fail; |
21253 | } | |
d14a1e28 RD |
21254 | { |
21255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21256 | (arg1)->SetCollate(arg2); | |
21257 | ||
21258 | wxPyEndAllowThreads(__tstate); | |
21259 | if (PyErr_Occurred()) SWIG_fail; | |
21260 | } | |
21261 | Py_INCREF(Py_None); resultobj = Py_None; | |
21262 | return resultobj; | |
21263 | fail: | |
21264 | return NULL; | |
21265 | } | |
21266 | ||
21267 | ||
c32bde28 | 21268 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21269 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21270 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21271 | int arg2 ; | |
21272 | PyObject * obj0 = 0 ; | |
994141e6 | 21273 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21274 | char *kwnames[] = { |
21275 | (char *) "self",(char *) "orient", NULL | |
21276 | }; | |
21277 | ||
994141e6 | 21278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21279 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21280 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21281 | { | |
32fe5131 | 21282 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21283 | if (SWIG_arg_fail(2)) SWIG_fail; |
21284 | } | |
d14a1e28 RD |
21285 | { |
21286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21287 | (arg1)->SetOrientation(arg2); | |
21288 | ||
21289 | wxPyEndAllowThreads(__tstate); | |
21290 | if (PyErr_Occurred()) SWIG_fail; | |
21291 | } | |
21292 | Py_INCREF(Py_None); resultobj = Py_None; | |
21293 | return resultobj; | |
21294 | fail: | |
21295 | return NULL; | |
21296 | } | |
21297 | ||
21298 | ||
c32bde28 | 21299 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21300 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21301 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21302 | wxString *arg2 = 0 ; | |
ae8162c8 | 21303 | bool temp2 = false ; |
d14a1e28 RD |
21304 | PyObject * obj0 = 0 ; |
21305 | PyObject * obj1 = 0 ; | |
21306 | char *kwnames[] = { | |
21307 | (char *) "self",(char *) "name", NULL | |
21308 | }; | |
21309 | ||
21310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21311 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21312 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21313 | { |
21314 | arg2 = wxString_in_helper(obj1); | |
21315 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 21316 | temp2 = true; |
d14a1e28 RD |
21317 | } |
21318 | { | |
21319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21320 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
21321 | ||
21322 | wxPyEndAllowThreads(__tstate); | |
21323 | if (PyErr_Occurred()) SWIG_fail; | |
21324 | } | |
21325 | Py_INCREF(Py_None); resultobj = Py_None; | |
21326 | { | |
21327 | if (temp2) | |
21328 | delete arg2; | |
21329 | } | |
21330 | return resultobj; | |
21331 | fail: | |
21332 | { | |
21333 | if (temp2) | |
21334 | delete arg2; | |
21335 | } | |
21336 | return NULL; | |
21337 | } | |
21338 | ||
21339 | ||
c32bde28 | 21340 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21341 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21342 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21343 | bool arg2 ; | |
21344 | PyObject * obj0 = 0 ; | |
21345 | PyObject * obj1 = 0 ; | |
21346 | char *kwnames[] = { | |
21347 | (char *) "self",(char *) "colour", NULL | |
21348 | }; | |
21349 | ||
21350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21351 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21352 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21353 | { | |
32fe5131 | 21354 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
21355 | if (SWIG_arg_fail(2)) SWIG_fail; |
21356 | } | |
d14a1e28 RD |
21357 | { |
21358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21359 | (arg1)->SetColour(arg2); | |
21360 | ||
21361 | wxPyEndAllowThreads(__tstate); | |
21362 | if (PyErr_Occurred()) SWIG_fail; | |
21363 | } | |
21364 | Py_INCREF(Py_None); resultobj = Py_None; | |
21365 | return resultobj; | |
21366 | fail: | |
21367 | return NULL; | |
21368 | } | |
21369 | ||
21370 | ||
c32bde28 | 21371 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21372 | PyObject *resultobj = NULL; |
d14a1e28 | 21373 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21374 | wxDuplexMode arg2 ; |
d14a1e28 | 21375 | PyObject * obj0 = 0 ; |
994141e6 | 21376 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21377 | char *kwnames[] = { |
21378 | (char *) "self",(char *) "duplex", NULL | |
21379 | }; | |
21380 | ||
994141e6 | 21381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21382 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21383 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21384 | { | |
32fe5131 | 21385 | arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21386 | if (SWIG_arg_fail(2)) SWIG_fail; |
21387 | } | |
d14a1e28 RD |
21388 | { |
21389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 21390 | (arg1)->SetDuplex(arg2); |
d14a1e28 RD |
21391 | |
21392 | wxPyEndAllowThreads(__tstate); | |
21393 | if (PyErr_Occurred()) SWIG_fail; | |
21394 | } | |
21395 | Py_INCREF(Py_None); resultobj = Py_None; | |
21396 | return resultobj; | |
21397 | fail: | |
21398 | return NULL; | |
21399 | } | |
21400 | ||
21401 | ||
c32bde28 | 21402 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21403 | PyObject *resultobj = NULL; |
d14a1e28 | 21404 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21405 | wxPaperSize arg2 ; |
d14a1e28 | 21406 | PyObject * obj0 = 0 ; |
994141e6 | 21407 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21408 | char *kwnames[] = { |
21409 | (char *) "self",(char *) "sizeId", NULL | |
21410 | }; | |
21411 | ||
994141e6 | 21412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21415 | { | |
32fe5131 | 21416 | arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21417 | if (SWIG_arg_fail(2)) SWIG_fail; |
21418 | } | |
d14a1e28 RD |
21419 | { |
21420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 21421 | (arg1)->SetPaperId(arg2); |
d14a1e28 RD |
21422 | |
21423 | wxPyEndAllowThreads(__tstate); | |
21424 | if (PyErr_Occurred()) SWIG_fail; | |
21425 | } | |
21426 | Py_INCREF(Py_None); resultobj = Py_None; | |
21427 | return resultobj; | |
21428 | fail: | |
21429 | return NULL; | |
21430 | } | |
21431 | ||
21432 | ||
c32bde28 | 21433 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21434 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21435 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21436 | wxSize *arg2 = 0 ; | |
21437 | wxSize temp2 ; | |
21438 | PyObject * obj0 = 0 ; | |
21439 | PyObject * obj1 = 0 ; | |
21440 | char *kwnames[] = { | |
21441 | (char *) "self",(char *) "sz", NULL | |
21442 | }; | |
21443 | ||
21444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21447 | { |
21448 | arg2 = &temp2; | |
21449 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
21450 | } | |
21451 | { | |
21452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21453 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
21454 | ||
21455 | wxPyEndAllowThreads(__tstate); | |
21456 | if (PyErr_Occurred()) SWIG_fail; | |
21457 | } | |
21458 | Py_INCREF(Py_None); resultobj = Py_None; | |
21459 | return resultobj; | |
21460 | fail: | |
21461 | return NULL; | |
21462 | } | |
21463 | ||
21464 | ||
c32bde28 | 21465 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21466 | PyObject *resultobj = NULL; |
d14a1e28 | 21467 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
b2dc1044 | 21468 | int arg2 ; |
d14a1e28 | 21469 | PyObject * obj0 = 0 ; |
994141e6 | 21470 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21471 | char *kwnames[] = { |
21472 | (char *) "self",(char *) "quality", NULL | |
21473 | }; | |
21474 | ||
994141e6 | 21475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21476 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21477 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21478 | { | |
32fe5131 | 21479 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21480 | if (SWIG_arg_fail(2)) SWIG_fail; |
21481 | } | |
d14a1e28 RD |
21482 | { |
21483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21484 | (arg1)->SetQuality(arg2); | |
21485 | ||
21486 | wxPyEndAllowThreads(__tstate); | |
21487 | if (PyErr_Occurred()) SWIG_fail; | |
21488 | } | |
21489 | Py_INCREF(Py_None); resultobj = Py_None; | |
21490 | return resultobj; | |
21491 | fail: | |
21492 | return NULL; | |
21493 | } | |
21494 | ||
21495 | ||
2ef75293 | 21496 | static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21497 | PyObject *resultobj = NULL; |
2ef75293 | 21498 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21499 | wxPrintBin arg2 ; |
2ef75293 RD |
21500 | PyObject * obj0 = 0 ; |
21501 | PyObject * obj1 = 0 ; | |
21502 | char *kwnames[] = { | |
21503 | (char *) "self",(char *) "bin", NULL | |
21504 | }; | |
21505 | ||
21506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21507 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21508 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21509 | { | |
32fe5131 | 21510 | arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21511 | if (SWIG_arg_fail(2)) SWIG_fail; |
21512 | } | |
2ef75293 RD |
21513 | { |
21514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 21515 | (arg1)->SetBin(arg2); |
2ef75293 RD |
21516 | |
21517 | wxPyEndAllowThreads(__tstate); | |
21518 | if (PyErr_Occurred()) SWIG_fail; | |
21519 | } | |
21520 | Py_INCREF(Py_None); resultobj = Py_None; | |
21521 | return resultobj; | |
21522 | fail: | |
21523 | return NULL; | |
21524 | } | |
21525 | ||
21526 | ||
d3b6e4ff | 21527 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21528 | PyObject *resultobj = NULL; |
d14a1e28 | 21529 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
093d3ff1 | 21530 | wxPrintMode arg2 ; |
d3b6e4ff RD |
21531 | PyObject * obj0 = 0 ; |
21532 | PyObject * obj1 = 0 ; | |
21533 | char *kwnames[] = { | |
21534 | (char *) "self",(char *) "printMode", NULL | |
21535 | }; | |
21536 | ||
21537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21538 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21539 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21540 | { | |
32fe5131 | 21541 | arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1)); |
093d3ff1 RD |
21542 | if (SWIG_arg_fail(2)) SWIG_fail; |
21543 | } | |
d3b6e4ff RD |
21544 | { |
21545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 21546 | (arg1)->SetPrintMode(arg2); |
d3b6e4ff RD |
21547 | |
21548 | wxPyEndAllowThreads(__tstate); | |
21549 | if (PyErr_Occurred()) SWIG_fail; | |
21550 | } | |
21551 | Py_INCREF(Py_None); resultobj = Py_None; | |
21552 | return resultobj; | |
21553 | fail: | |
21554 | return NULL; | |
21555 | } | |
21556 | ||
21557 | ||
21558 | static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 21559 | PyObject *resultobj = NULL; |
d3b6e4ff RD |
21560 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21561 | wxString result; | |
d14a1e28 RD |
21562 | PyObject * obj0 = 0 ; |
21563 | char *kwnames[] = { | |
21564 | (char *) "self", NULL | |
21565 | }; | |
21566 | ||
d3b6e4ff | 21567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
21568 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21569 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21570 | { |
21571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 21572 | result = ((wxPrintData const *)arg1)->GetFilename(); |
d14a1e28 RD |
21573 | |
21574 | wxPyEndAllowThreads(__tstate); | |
21575 | if (PyErr_Occurred()) SWIG_fail; | |
21576 | } | |
cc6dd355 RD |
21577 | { |
21578 | #if wxUSE_UNICODE | |
d3b6e4ff | 21579 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
cc6dd355 | 21580 | #else |
d3b6e4ff | 21581 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
cc6dd355 RD |
21582 | #endif |
21583 | } | |
d14a1e28 RD |
21584 | return resultobj; |
21585 | fail: | |
21586 | return NULL; | |
21587 | } | |
21588 | ||
21589 | ||
d3b6e4ff | 21590 | static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21591 | PyObject *resultobj = NULL; |
d3b6e4ff RD |
21592 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21593 | wxString *arg2 = 0 ; | |
21594 | bool temp2 = false ; | |
21595 | PyObject * obj0 = 0 ; | |
21596 | PyObject * obj1 = 0 ; | |
21597 | char *kwnames[] = { | |
21598 | (char *) "self",(char *) "filename", NULL | |
21599 | }; | |
21600 | ||
21601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d3b6e4ff RD |
21604 | { |
21605 | arg2 = wxString_in_helper(obj1); | |
21606 | if (arg2 == NULL) SWIG_fail; | |
21607 | temp2 = true; | |
21608 | } | |
21609 | { | |
21610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21611 | (arg1)->SetFilename((wxString const &)*arg2); | |
21612 | ||
21613 | wxPyEndAllowThreads(__tstate); | |
21614 | if (PyErr_Occurred()) SWIG_fail; | |
21615 | } | |
21616 | Py_INCREF(Py_None); resultobj = Py_None; | |
21617 | { | |
21618 | if (temp2) | |
21619 | delete arg2; | |
21620 | } | |
21621 | return resultobj; | |
21622 | fail: | |
21623 | { | |
21624 | if (temp2) | |
21625 | delete arg2; | |
21626 | } | |
21627 | return NULL; | |
21628 | } | |
21629 | ||
21630 | ||
b9d6a5f3 | 21631 | static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21632 | PyObject *resultobj = NULL; |
b9d6a5f3 RD |
21633 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21634 | PyObject *result; | |
21635 | PyObject * obj0 = 0 ; | |
21636 | char *kwnames[] = { | |
21637 | (char *) "self", NULL | |
21638 | }; | |
21639 | ||
21640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail; | |
21641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21643 | { | |
21644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21645 | result = (PyObject *)wxPrintData_GetPrivData(arg1); | |
21646 | ||
21647 | wxPyEndAllowThreads(__tstate); | |
21648 | if (PyErr_Occurred()) SWIG_fail; | |
21649 | } | |
21650 | resultobj = result; | |
21651 | return resultobj; | |
21652 | fail: | |
21653 | return NULL; | |
21654 | } | |
21655 | ||
21656 | ||
21657 | static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 21658 | PyObject *resultobj = NULL; |
b9d6a5f3 RD |
21659 | wxPrintData *arg1 = (wxPrintData *) 0 ; |
21660 | PyObject *arg2 = (PyObject *) 0 ; | |
21661 | PyObject * obj0 = 0 ; | |
21662 | PyObject * obj1 = 0 ; | |
21663 | char *kwnames[] = { | |
21664 | (char *) "self",(char *) "data", NULL | |
21665 | }; | |
21666 | ||
21667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail; | |
21668 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21669 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21670 | arg2 = obj1; | |
21671 | { | |
21672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21673 | wxPrintData_SetPrivData(arg1,arg2); | |
21674 | ||
21675 | wxPyEndAllowThreads(__tstate); | |
21676 | if (PyErr_Occurred()) SWIG_fail; | |
21677 | } | |
21678 | Py_INCREF(Py_None); resultobj = Py_None; | |
21679 | return resultobj; | |
21680 | fail: | |
21681 | return NULL; | |
21682 | } | |
21683 | ||
21684 | ||
c32bde28 | 21685 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
21686 | PyObject *obj; |
21687 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21688 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
21689 | Py_INCREF(obj); | |
21690 | return Py_BuildValue((char *)""); | |
21691 | } | |
c32bde28 | 21692 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 21693 | PyObject *resultobj = NULL; |
d14a1e28 | 21694 | wxPageSetupDialogData *result; |
d14a1e28 | 21695 | |
11207aef | 21696 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
d14a1e28 RD |
21697 | { |
21698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21699 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
21700 | ||
21701 | wxPyEndAllowThreads(__tstate); | |
21702 | if (PyErr_Occurred()) SWIG_fail; | |
21703 | } | |
15afbcd0 | 21704 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
21705 | return resultobj; |
21706 | fail: | |
21707 | return NULL; | |
21708 | } | |
21709 | ||
21710 | ||
c32bde28 | 21711 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 21712 | PyObject *resultobj = NULL; |
11207aef RD |
21713 | wxPageSetupDialogData *arg1 = 0 ; |
21714 | wxPageSetupDialogData *result; | |
21715 | PyObject * obj0 = 0 ; | |
21716 | ||
21717 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
093d3ff1 RD |
21718 | { |
21719 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
21720 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21721 | if (arg1 == NULL) { | |
21722 | SWIG_null_ref("wxPageSetupDialogData"); | |
21723 | } | |
21724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11207aef RD |
21725 | } |
21726 | { | |
21727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21728 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1); | |
21729 | ||
21730 | wxPyEndAllowThreads(__tstate); | |
21731 | if (PyErr_Occurred()) SWIG_fail; | |
21732 | } | |
21733 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21734 | return resultobj; | |
21735 | fail: | |
21736 | return NULL; | |
21737 | } | |
21738 | ||
21739 | ||
7557b9b5 | 21740 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) { |
32fe5131 | 21741 | PyObject *resultobj = NULL; |
7557b9b5 RD |
21742 | wxPrintData *arg1 = 0 ; |
21743 | wxPageSetupDialogData *result; | |
21744 | PyObject * obj0 = 0 ; | |
21745 | ||
21746 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
21747 | { | |
21748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21750 | if (arg1 == NULL) { | |
21751 | SWIG_null_ref("wxPrintData"); | |
21752 | } | |
21753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21754 | } | |
21755 | { | |
21756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21757 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1); | |
21758 | ||
21759 | wxPyEndAllowThreads(__tstate); | |
21760 | if (PyErr_Occurred()) SWIG_fail; | |
21761 | } | |
21762 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21763 | return resultobj; | |
21764 | fail: | |
21765 | return NULL; | |
21766 | } | |
21767 | ||
21768 | ||
11207aef RD |
21769 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { |
21770 | int argc; | |
21771 | PyObject *argv[2]; | |
21772 | int ii; | |
21773 | ||
21774 | argc = PyObject_Length(args); | |
21775 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
21776 | argv[ii] = PyTuple_GetItem(args,ii); | |
21777 | } | |
21778 | if (argc == 0) { | |
21779 | return _wrap_new_PageSetupDialogData__SWIG_0(self,args); | |
21780 | } | |
21781 | if (argc == 1) { | |
21782 | int _v; | |
21783 | { | |
093d3ff1 | 21784 | void *ptr = 0; |
11207aef RD |
21785 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) { |
21786 | _v = 0; | |
21787 | PyErr_Clear(); | |
21788 | } else { | |
093d3ff1 | 21789 | _v = (ptr != 0); |
11207aef RD |
21790 | } |
21791 | } | |
21792 | if (_v) { | |
21793 | return _wrap_new_PageSetupDialogData__SWIG_1(self,args); | |
21794 | } | |
21795 | } | |
7557b9b5 RD |
21796 | if (argc == 1) { |
21797 | int _v; | |
21798 | { | |
21799 | void *ptr = 0; | |
21800 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
21801 | _v = 0; | |
21802 | PyErr_Clear(); | |
21803 | } else { | |
21804 | _v = (ptr != 0); | |
21805 | } | |
21806 | } | |
21807 | if (_v) { | |
21808 | return _wrap_new_PageSetupDialogData__SWIG_2(self,args); | |
21809 | } | |
21810 | } | |
11207aef | 21811 | |
093d3ff1 | 21812 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'"); |
11207aef RD |
21813 | return NULL; |
21814 | } | |
21815 | ||
21816 | ||
c32bde28 | 21817 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21818 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21819 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
21820 | PyObject * obj0 = 0 ; | |
21821 | char *kwnames[] = { | |
21822 | (char *) "self", NULL | |
21823 | }; | |
21824 | ||
21825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21826 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21827 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
21828 | { |
21829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21830 | delete arg1; | |
21831 | ||
21832 | wxPyEndAllowThreads(__tstate); | |
21833 | if (PyErr_Occurred()) SWIG_fail; | |
21834 | } | |
21835 | Py_INCREF(Py_None); resultobj = Py_None; | |
21836 | return resultobj; | |
21837 | fail: | |
21838 | return NULL; | |
21839 | } | |
21840 | ||
21841 | ||
c32bde28 | 21842 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21843 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21844 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
21845 | bool arg2 ; | |
21846 | PyObject * obj0 = 0 ; | |
21847 | PyObject * obj1 = 0 ; | |
21848 | char *kwnames[] = { | |
21849 | (char *) "self",(char *) "flag", NULL | |
21850 | }; | |
21851 | ||
21852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21853 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21854 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21855 | { | |
32fe5131 | 21856 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
21857 | if (SWIG_arg_fail(2)) SWIG_fail; |
21858 | } | |
d14a1e28 RD |
21859 | { |
21860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21861 | (arg1)->EnableHelp(arg2); | |
21862 | ||
21863 | wxPyEndAllowThreads(__tstate); | |
21864 | if (PyErr_Occurred()) SWIG_fail; | |
21865 | } | |
21866 | Py_INCREF(Py_None); resultobj = Py_None; | |
21867 | return resultobj; | |
21868 | fail: | |
21869 | return NULL; | |
21870 | } | |
21871 | ||
21872 | ||
c32bde28 | 21873 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21874 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21875 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
21876 | bool arg2 ; | |
21877 | PyObject * obj0 = 0 ; | |
21878 | PyObject * obj1 = 0 ; | |
21879 | char *kwnames[] = { | |
21880 | (char *) "self",(char *) "flag", NULL | |
21881 | }; | |
21882 | ||
21883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21884 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21885 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21886 | { | |
32fe5131 | 21887 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
21888 | if (SWIG_arg_fail(2)) SWIG_fail; |
21889 | } | |
d14a1e28 RD |
21890 | { |
21891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21892 | (arg1)->EnableMargins(arg2); | |
21893 | ||
21894 | wxPyEndAllowThreads(__tstate); | |
21895 | if (PyErr_Occurred()) SWIG_fail; | |
21896 | } | |
21897 | Py_INCREF(Py_None); resultobj = Py_None; | |
21898 | return resultobj; | |
21899 | fail: | |
21900 | return NULL; | |
21901 | } | |
21902 | ||
21903 | ||
c32bde28 | 21904 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21905 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21906 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
21907 | bool arg2 ; | |
21908 | PyObject * obj0 = 0 ; | |
21909 | PyObject * obj1 = 0 ; | |
21910 | char *kwnames[] = { | |
21911 | (char *) "self",(char *) "flag", NULL | |
21912 | }; | |
21913 | ||
21914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21915 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21916 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21917 | { | |
32fe5131 | 21918 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
21919 | if (SWIG_arg_fail(2)) SWIG_fail; |
21920 | } | |
d14a1e28 RD |
21921 | { |
21922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21923 | (arg1)->EnableOrientation(arg2); | |
21924 | ||
21925 | wxPyEndAllowThreads(__tstate); | |
21926 | if (PyErr_Occurred()) SWIG_fail; | |
21927 | } | |
21928 | Py_INCREF(Py_None); resultobj = Py_None; | |
21929 | return resultobj; | |
21930 | fail: | |
21931 | return NULL; | |
21932 | } | |
21933 | ||
21934 | ||
c32bde28 | 21935 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21936 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21937 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
21938 | bool arg2 ; | |
21939 | PyObject * obj0 = 0 ; | |
21940 | PyObject * obj1 = 0 ; | |
21941 | char *kwnames[] = { | |
21942 | (char *) "self",(char *) "flag", NULL | |
21943 | }; | |
21944 | ||
21945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21946 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21947 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21948 | { | |
32fe5131 | 21949 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
21950 | if (SWIG_arg_fail(2)) SWIG_fail; |
21951 | } | |
d14a1e28 RD |
21952 | { |
21953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21954 | (arg1)->EnablePaper(arg2); | |
21955 | ||
21956 | wxPyEndAllowThreads(__tstate); | |
21957 | if (PyErr_Occurred()) SWIG_fail; | |
21958 | } | |
21959 | Py_INCREF(Py_None); resultobj = Py_None; | |
21960 | return resultobj; | |
21961 | fail: | |
21962 | return NULL; | |
21963 | } | |
21964 | ||
21965 | ||
c32bde28 | 21966 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21967 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21968 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
21969 | bool arg2 ; | |
21970 | PyObject * obj0 = 0 ; | |
21971 | PyObject * obj1 = 0 ; | |
21972 | char *kwnames[] = { | |
21973 | (char *) "self",(char *) "flag", NULL | |
21974 | }; | |
21975 | ||
21976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21979 | { | |
32fe5131 | 21980 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
21981 | if (SWIG_arg_fail(2)) SWIG_fail; |
21982 | } | |
d14a1e28 RD |
21983 | { |
21984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21985 | (arg1)->EnablePrinter(arg2); | |
21986 | ||
21987 | wxPyEndAllowThreads(__tstate); | |
21988 | if (PyErr_Occurred()) SWIG_fail; | |
21989 | } | |
21990 | Py_INCREF(Py_None); resultobj = Py_None; | |
21991 | return resultobj; | |
21992 | fail: | |
21993 | return NULL; | |
21994 | } | |
21995 | ||
21996 | ||
c32bde28 | 21997 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 21998 | PyObject *resultobj = NULL; |
d14a1e28 RD |
21999 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22000 | bool result; | |
22001 | PyObject * obj0 = 0 ; | |
22002 | char *kwnames[] = { | |
22003 | (char *) "self", NULL | |
22004 | }; | |
22005 | ||
22006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22007 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22008 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22009 | { |
22010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22011 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
22012 | ||
22013 | wxPyEndAllowThreads(__tstate); | |
22014 | if (PyErr_Occurred()) SWIG_fail; | |
22015 | } | |
4f89f6a3 RD |
22016 | { |
22017 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22018 | } | |
d14a1e28 RD |
22019 | return resultobj; |
22020 | fail: | |
22021 | return NULL; | |
22022 | } | |
22023 | ||
22024 | ||
c32bde28 | 22025 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22026 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22027 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22028 | bool result; | |
22029 | PyObject * obj0 = 0 ; | |
22030 | char *kwnames[] = { | |
22031 | (char *) "self", NULL | |
22032 | }; | |
22033 | ||
22034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22035 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22036 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22037 | { |
22038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22039 | result = (bool)(arg1)->GetEnableMargins(); | |
22040 | ||
22041 | wxPyEndAllowThreads(__tstate); | |
22042 | if (PyErr_Occurred()) SWIG_fail; | |
22043 | } | |
4f89f6a3 RD |
22044 | { |
22045 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22046 | } | |
d14a1e28 RD |
22047 | return resultobj; |
22048 | fail: | |
22049 | return NULL; | |
22050 | } | |
22051 | ||
22052 | ||
c32bde28 | 22053 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22054 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22055 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22056 | bool result; | |
22057 | PyObject * obj0 = 0 ; | |
22058 | char *kwnames[] = { | |
22059 | (char *) "self", NULL | |
22060 | }; | |
22061 | ||
22062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22063 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22064 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22065 | { |
22066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22067 | result = (bool)(arg1)->GetEnableOrientation(); | |
22068 | ||
22069 | wxPyEndAllowThreads(__tstate); | |
22070 | if (PyErr_Occurred()) SWIG_fail; | |
22071 | } | |
4f89f6a3 RD |
22072 | { |
22073 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22074 | } | |
d14a1e28 RD |
22075 | return resultobj; |
22076 | fail: | |
22077 | return NULL; | |
22078 | } | |
22079 | ||
22080 | ||
c32bde28 | 22081 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22082 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22083 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22084 | bool result; | |
22085 | PyObject * obj0 = 0 ; | |
22086 | char *kwnames[] = { | |
22087 | (char *) "self", NULL | |
22088 | }; | |
22089 | ||
22090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22091 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22092 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22093 | { |
22094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22095 | result = (bool)(arg1)->GetEnablePaper(); | |
22096 | ||
22097 | wxPyEndAllowThreads(__tstate); | |
22098 | if (PyErr_Occurred()) SWIG_fail; | |
22099 | } | |
4f89f6a3 RD |
22100 | { |
22101 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22102 | } | |
d14a1e28 RD |
22103 | return resultobj; |
22104 | fail: | |
22105 | return NULL; | |
22106 | } | |
22107 | ||
22108 | ||
c32bde28 | 22109 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22110 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22111 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22112 | bool result; | |
22113 | PyObject * obj0 = 0 ; | |
22114 | char *kwnames[] = { | |
22115 | (char *) "self", NULL | |
22116 | }; | |
22117 | ||
22118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22119 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22120 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22121 | { |
22122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22123 | result = (bool)(arg1)->GetEnablePrinter(); | |
22124 | ||
22125 | wxPyEndAllowThreads(__tstate); | |
22126 | if (PyErr_Occurred()) SWIG_fail; | |
22127 | } | |
4f89f6a3 RD |
22128 | { |
22129 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22130 | } | |
d14a1e28 RD |
22131 | return resultobj; |
22132 | fail: | |
22133 | return NULL; | |
22134 | } | |
22135 | ||
22136 | ||
c32bde28 | 22137 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22138 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22139 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22140 | bool result; | |
22141 | PyObject * obj0 = 0 ; | |
22142 | char *kwnames[] = { | |
22143 | (char *) "self", NULL | |
22144 | }; | |
22145 | ||
22146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22147 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22148 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22149 | { |
22150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22151 | result = (bool)(arg1)->GetEnableHelp(); | |
22152 | ||
22153 | wxPyEndAllowThreads(__tstate); | |
22154 | if (PyErr_Occurred()) SWIG_fail; | |
22155 | } | |
4f89f6a3 RD |
22156 | { |
22157 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22158 | } | |
d14a1e28 RD |
22159 | return resultobj; |
22160 | fail: | |
22161 | return NULL; | |
22162 | } | |
22163 | ||
22164 | ||
c32bde28 | 22165 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22166 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22167 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22168 | bool result; | |
22169 | PyObject * obj0 = 0 ; | |
22170 | char *kwnames[] = { | |
22171 | (char *) "self", NULL | |
22172 | }; | |
22173 | ||
22174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22175 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22176 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22177 | { |
22178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22179 | result = (bool)(arg1)->GetDefaultInfo(); | |
22180 | ||
22181 | wxPyEndAllowThreads(__tstate); | |
22182 | if (PyErr_Occurred()) SWIG_fail; | |
22183 | } | |
4f89f6a3 RD |
22184 | { |
22185 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22186 | } | |
d14a1e28 RD |
22187 | return resultobj; |
22188 | fail: | |
22189 | return NULL; | |
22190 | } | |
22191 | ||
22192 | ||
c32bde28 | 22193 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22194 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22195 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22196 | wxPoint result; | |
22197 | PyObject * obj0 = 0 ; | |
22198 | char *kwnames[] = { | |
22199 | (char *) "self", NULL | |
22200 | }; | |
22201 | ||
22202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22205 | { |
22206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22207 | result = (arg1)->GetMarginTopLeft(); | |
22208 | ||
22209 | wxPyEndAllowThreads(__tstate); | |
22210 | if (PyErr_Occurred()) SWIG_fail; | |
22211 | } | |
22212 | { | |
22213 | wxPoint * resultptr; | |
32fe5131 | 22214 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 22215 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
22216 | } |
22217 | return resultobj; | |
22218 | fail: | |
22219 | return NULL; | |
22220 | } | |
22221 | ||
22222 | ||
c32bde28 | 22223 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22224 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22225 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22226 | wxPoint result; | |
22227 | PyObject * obj0 = 0 ; | |
22228 | char *kwnames[] = { | |
22229 | (char *) "self", NULL | |
22230 | }; | |
22231 | ||
22232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22235 | { |
22236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22237 | result = (arg1)->GetMarginBottomRight(); | |
22238 | ||
22239 | wxPyEndAllowThreads(__tstate); | |
22240 | if (PyErr_Occurred()) SWIG_fail; | |
22241 | } | |
22242 | { | |
22243 | wxPoint * resultptr; | |
32fe5131 | 22244 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 22245 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
22246 | } |
22247 | return resultobj; | |
22248 | fail: | |
22249 | return NULL; | |
22250 | } | |
22251 | ||
22252 | ||
c32bde28 | 22253 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22254 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22255 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22256 | wxPoint result; | |
22257 | PyObject * obj0 = 0 ; | |
22258 | char *kwnames[] = { | |
22259 | (char *) "self", NULL | |
22260 | }; | |
22261 | ||
22262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22263 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22264 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22265 | { |
22266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22267 | result = (arg1)->GetMinMarginTopLeft(); | |
22268 | ||
22269 | wxPyEndAllowThreads(__tstate); | |
22270 | if (PyErr_Occurred()) SWIG_fail; | |
22271 | } | |
22272 | { | |
22273 | wxPoint * resultptr; | |
32fe5131 | 22274 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 22275 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
22276 | } |
22277 | return resultobj; | |
22278 | fail: | |
22279 | return NULL; | |
22280 | } | |
22281 | ||
22282 | ||
c32bde28 | 22283 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22284 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22285 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22286 | wxPoint result; | |
22287 | PyObject * obj0 = 0 ; | |
22288 | char *kwnames[] = { | |
22289 | (char *) "self", NULL | |
22290 | }; | |
22291 | ||
22292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22293 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22294 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22295 | { |
22296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22297 | result = (arg1)->GetMinMarginBottomRight(); | |
22298 | ||
22299 | wxPyEndAllowThreads(__tstate); | |
22300 | if (PyErr_Occurred()) SWIG_fail; | |
22301 | } | |
22302 | { | |
22303 | wxPoint * resultptr; | |
32fe5131 | 22304 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
15afbcd0 | 22305 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
22306 | } |
22307 | return resultobj; | |
22308 | fail: | |
22309 | return NULL; | |
22310 | } | |
22311 | ||
22312 | ||
c32bde28 | 22313 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22314 | PyObject *resultobj = NULL; |
d14a1e28 | 22315 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
093d3ff1 | 22316 | wxPaperSize result; |
d14a1e28 RD |
22317 | PyObject * obj0 = 0 ; |
22318 | char *kwnames[] = { | |
22319 | (char *) "self", NULL | |
22320 | }; | |
22321 | ||
22322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22323 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22324 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22325 | { |
22326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 22327 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d14a1e28 RD |
22328 | |
22329 | wxPyEndAllowThreads(__tstate); | |
22330 | if (PyErr_Occurred()) SWIG_fail; | |
22331 | } | |
093d3ff1 | 22332 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
22333 | return resultobj; |
22334 | fail: | |
22335 | return NULL; | |
22336 | } | |
22337 | ||
22338 | ||
c32bde28 | 22339 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22340 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22341 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22342 | wxSize result; | |
22343 | PyObject * obj0 = 0 ; | |
22344 | char *kwnames[] = { | |
22345 | (char *) "self", NULL | |
22346 | }; | |
22347 | ||
22348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22349 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22350 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22351 | { |
22352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22353 | result = (arg1)->GetPaperSize(); | |
22354 | ||
22355 | wxPyEndAllowThreads(__tstate); | |
22356 | if (PyErr_Occurred()) SWIG_fail; | |
22357 | } | |
22358 | { | |
22359 | wxSize * resultptr; | |
32fe5131 | 22360 | resultptr = new wxSize(static_cast<wxSize & >(result)); |
15afbcd0 | 22361 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
22362 | } |
22363 | return resultobj; | |
22364 | fail: | |
22365 | return NULL; | |
22366 | } | |
22367 | ||
22368 | ||
c32bde28 | 22369 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22370 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22371 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22372 | wxPrintData *result; | |
22373 | PyObject * obj0 = 0 ; | |
22374 | char *kwnames[] = { | |
22375 | (char *) "self", NULL | |
22376 | }; | |
22377 | ||
22378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22379 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22380 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22381 | { |
22382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22383 | { | |
22384 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
22385 | result = (wxPrintData *) &_result_ref; | |
22386 | } | |
22387 | ||
22388 | wxPyEndAllowThreads(__tstate); | |
22389 | if (PyErr_Occurred()) SWIG_fail; | |
22390 | } | |
15afbcd0 | 22391 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
22392 | return resultobj; |
22393 | fail: | |
22394 | return NULL; | |
22395 | } | |
22396 | ||
22397 | ||
c32bde28 | 22398 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22399 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22400 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22401 | bool result; | |
22402 | PyObject * obj0 = 0 ; | |
22403 | char *kwnames[] = { | |
22404 | (char *) "self", NULL | |
22405 | }; | |
22406 | ||
22407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22408 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22409 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22410 | { |
22411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22412 | result = (bool)(arg1)->Ok(); | |
22413 | ||
22414 | wxPyEndAllowThreads(__tstate); | |
22415 | if (PyErr_Occurred()) SWIG_fail; | |
22416 | } | |
4f89f6a3 RD |
22417 | { |
22418 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22419 | } | |
d14a1e28 RD |
22420 | return resultobj; |
22421 | fail: | |
22422 | return NULL; | |
22423 | } | |
22424 | ||
22425 | ||
c32bde28 | 22426 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22427 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22428 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22429 | bool arg2 ; | |
22430 | PyObject * obj0 = 0 ; | |
22431 | PyObject * obj1 = 0 ; | |
22432 | char *kwnames[] = { | |
22433 | (char *) "self",(char *) "flag", NULL | |
22434 | }; | |
22435 | ||
22436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22439 | { | |
32fe5131 | 22440 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
22441 | if (SWIG_arg_fail(2)) SWIG_fail; |
22442 | } | |
d14a1e28 RD |
22443 | { |
22444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22445 | (arg1)->SetDefaultInfo(arg2); | |
22446 | ||
22447 | wxPyEndAllowThreads(__tstate); | |
22448 | if (PyErr_Occurred()) SWIG_fail; | |
22449 | } | |
22450 | Py_INCREF(Py_None); resultobj = Py_None; | |
22451 | return resultobj; | |
22452 | fail: | |
22453 | return NULL; | |
22454 | } | |
22455 | ||
22456 | ||
c32bde28 | 22457 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22458 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22459 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22460 | bool arg2 ; | |
22461 | PyObject * obj0 = 0 ; | |
22462 | PyObject * obj1 = 0 ; | |
22463 | char *kwnames[] = { | |
22464 | (char *) "self",(char *) "flag", NULL | |
22465 | }; | |
22466 | ||
22467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22468 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22469 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22470 | { | |
32fe5131 | 22471 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
22472 | if (SWIG_arg_fail(2)) SWIG_fail; |
22473 | } | |
d14a1e28 RD |
22474 | { |
22475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22476 | (arg1)->SetDefaultMinMargins(arg2); | |
22477 | ||
22478 | wxPyEndAllowThreads(__tstate); | |
22479 | if (PyErr_Occurred()) SWIG_fail; | |
22480 | } | |
22481 | Py_INCREF(Py_None); resultobj = Py_None; | |
22482 | return resultobj; | |
22483 | fail: | |
22484 | return NULL; | |
22485 | } | |
22486 | ||
22487 | ||
c32bde28 | 22488 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22489 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22490 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22491 | wxPoint *arg2 = 0 ; | |
22492 | wxPoint temp2 ; | |
22493 | PyObject * obj0 = 0 ; | |
22494 | PyObject * obj1 = 0 ; | |
22495 | char *kwnames[] = { | |
22496 | (char *) "self",(char *) "pt", NULL | |
22497 | }; | |
22498 | ||
22499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22500 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22501 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22502 | { |
22503 | arg2 = &temp2; | |
22504 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22505 | } | |
22506 | { | |
22507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22508 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
22509 | ||
22510 | wxPyEndAllowThreads(__tstate); | |
22511 | if (PyErr_Occurred()) SWIG_fail; | |
22512 | } | |
22513 | Py_INCREF(Py_None); resultobj = Py_None; | |
22514 | return resultobj; | |
22515 | fail: | |
22516 | return NULL; | |
22517 | } | |
22518 | ||
22519 | ||
c32bde28 | 22520 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22521 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22522 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22523 | wxPoint *arg2 = 0 ; | |
22524 | wxPoint temp2 ; | |
22525 | PyObject * obj0 = 0 ; | |
22526 | PyObject * obj1 = 0 ; | |
22527 | char *kwnames[] = { | |
22528 | (char *) "self",(char *) "pt", NULL | |
22529 | }; | |
22530 | ||
22531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22532 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22533 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22534 | { |
22535 | arg2 = &temp2; | |
22536 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22537 | } | |
22538 | { | |
22539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22540 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
22541 | ||
22542 | wxPyEndAllowThreads(__tstate); | |
22543 | if (PyErr_Occurred()) SWIG_fail; | |
22544 | } | |
22545 | Py_INCREF(Py_None); resultobj = Py_None; | |
22546 | return resultobj; | |
22547 | fail: | |
22548 | return NULL; | |
22549 | } | |
22550 | ||
22551 | ||
c32bde28 | 22552 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22553 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22554 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22555 | wxPoint *arg2 = 0 ; | |
22556 | wxPoint temp2 ; | |
22557 | PyObject * obj0 = 0 ; | |
22558 | PyObject * obj1 = 0 ; | |
22559 | char *kwnames[] = { | |
22560 | (char *) "self",(char *) "pt", NULL | |
22561 | }; | |
22562 | ||
22563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22564 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22565 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22566 | { |
22567 | arg2 = &temp2; | |
22568 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22569 | } | |
22570 | { | |
22571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22572 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
22573 | ||
22574 | wxPyEndAllowThreads(__tstate); | |
22575 | if (PyErr_Occurred()) SWIG_fail; | |
22576 | } | |
22577 | Py_INCREF(Py_None); resultobj = Py_None; | |
22578 | return resultobj; | |
22579 | fail: | |
22580 | return NULL; | |
22581 | } | |
22582 | ||
22583 | ||
c32bde28 | 22584 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22585 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22586 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22587 | wxPoint *arg2 = 0 ; | |
22588 | wxPoint temp2 ; | |
22589 | PyObject * obj0 = 0 ; | |
22590 | PyObject * obj1 = 0 ; | |
22591 | char *kwnames[] = { | |
22592 | (char *) "self",(char *) "pt", NULL | |
22593 | }; | |
22594 | ||
22595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22596 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22597 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22598 | { |
22599 | arg2 = &temp2; | |
22600 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22601 | } | |
22602 | { | |
22603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22604 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
22605 | ||
22606 | wxPyEndAllowThreads(__tstate); | |
22607 | if (PyErr_Occurred()) SWIG_fail; | |
22608 | } | |
22609 | Py_INCREF(Py_None); resultobj = Py_None; | |
22610 | return resultobj; | |
22611 | fail: | |
22612 | return NULL; | |
22613 | } | |
22614 | ||
22615 | ||
c32bde28 | 22616 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22617 | PyObject *resultobj = NULL; |
d14a1e28 | 22618 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
093d3ff1 | 22619 | wxPaperSize arg2 ; |
d14a1e28 | 22620 | PyObject * obj0 = 0 ; |
994141e6 | 22621 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22622 | char *kwnames[] = { |
22623 | (char *) "self",(char *) "id", NULL | |
22624 | }; | |
22625 | ||
994141e6 | 22626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
22627 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22628 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22629 | { | |
32fe5131 | 22630 | arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1)); |
093d3ff1 RD |
22631 | if (SWIG_arg_fail(2)) SWIG_fail; |
22632 | } | |
d14a1e28 RD |
22633 | { |
22634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 22635 | (arg1)->SetPaperId(arg2); |
d14a1e28 RD |
22636 | |
22637 | wxPyEndAllowThreads(__tstate); | |
22638 | if (PyErr_Occurred()) SWIG_fail; | |
22639 | } | |
22640 | Py_INCREF(Py_None); resultobj = Py_None; | |
22641 | return resultobj; | |
22642 | fail: | |
22643 | return NULL; | |
22644 | } | |
22645 | ||
22646 | ||
c32bde28 | 22647 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22648 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22649 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22650 | wxSize *arg2 = 0 ; | |
22651 | wxSize temp2 ; | |
22652 | PyObject * obj0 = 0 ; | |
22653 | PyObject * obj1 = 0 ; | |
22654 | char *kwnames[] = { | |
22655 | (char *) "self",(char *) "size", NULL | |
22656 | }; | |
22657 | ||
22658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22659 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22660 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22661 | { |
22662 | arg2 = &temp2; | |
22663 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
22664 | } | |
22665 | { | |
22666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22667 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
22668 | ||
22669 | wxPyEndAllowThreads(__tstate); | |
22670 | if (PyErr_Occurred()) SWIG_fail; | |
22671 | } | |
22672 | Py_INCREF(Py_None); resultobj = Py_None; | |
22673 | return resultobj; | |
22674 | fail: | |
22675 | return NULL; | |
22676 | } | |
22677 | ||
22678 | ||
c32bde28 | 22679 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22680 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22681 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22682 | wxPrintData *arg2 = 0 ; | |
22683 | PyObject * obj0 = 0 ; | |
22684 | PyObject * obj1 = 0 ; | |
22685 | char *kwnames[] = { | |
22686 | (char *) "self",(char *) "printData", NULL | |
22687 | }; | |
22688 | ||
22689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22690 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22691 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22692 | { | |
22693 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
22694 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22695 | if (arg2 == NULL) { | |
22696 | SWIG_null_ref("wxPrintData"); | |
22697 | } | |
22698 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
22699 | } |
22700 | { | |
22701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22702 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
22703 | ||
22704 | wxPyEndAllowThreads(__tstate); | |
22705 | if (PyErr_Occurred()) SWIG_fail; | |
22706 | } | |
22707 | Py_INCREF(Py_None); resultobj = Py_None; | |
22708 | return resultobj; | |
22709 | fail: | |
22710 | return NULL; | |
22711 | } | |
22712 | ||
22713 | ||
7557b9b5 | 22714 | static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22715 | PyObject *resultobj = NULL; |
7557b9b5 RD |
22716 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22717 | PyObject * obj0 = 0 ; | |
22718 | char *kwnames[] = { | |
22719 | (char *) "self", NULL | |
22720 | }; | |
22721 | ||
22722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail; | |
22723 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
22724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22725 | { | |
22726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22727 | (arg1)->CalculateIdFromPaperSize(); | |
22728 | ||
22729 | wxPyEndAllowThreads(__tstate); | |
22730 | if (PyErr_Occurred()) SWIG_fail; | |
22731 | } | |
22732 | Py_INCREF(Py_None); resultobj = Py_None; | |
22733 | return resultobj; | |
22734 | fail: | |
22735 | return NULL; | |
22736 | } | |
22737 | ||
22738 | ||
22739 | static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 22740 | PyObject *resultobj = NULL; |
7557b9b5 RD |
22741 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; |
22742 | PyObject * obj0 = 0 ; | |
22743 | char *kwnames[] = { | |
22744 | (char *) "self", NULL | |
22745 | }; | |
22746 | ||
22747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail; | |
22748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
22749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22750 | { | |
22751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22752 | (arg1)->CalculatePaperSizeFromId(); | |
22753 | ||
22754 | wxPyEndAllowThreads(__tstate); | |
22755 | if (PyErr_Occurred()) SWIG_fail; | |
22756 | } | |
22757 | Py_INCREF(Py_None); resultobj = Py_None; | |
22758 | return resultobj; | |
22759 | fail: | |
22760 | return NULL; | |
22761 | } | |
22762 | ||
22763 | ||
c32bde28 | 22764 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22765 | PyObject *obj; |
22766 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22767 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
22768 | Py_INCREF(obj); | |
22769 | return Py_BuildValue((char *)""); | |
22770 | } | |
c32bde28 | 22771 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22772 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22773 | wxWindow *arg1 = (wxWindow *) 0 ; |
22774 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
22775 | wxPageSetupDialog *result; | |
22776 | PyObject * obj0 = 0 ; | |
22777 | PyObject * obj1 = 0 ; | |
22778 | char *kwnames[] = { | |
22779 | (char *) "parent",(char *) "data", NULL | |
22780 | }; | |
22781 | ||
22782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
22784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 22785 | if (obj1) { |
093d3ff1 RD |
22786 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22787 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
22788 | } |
22789 | { | |
e3b71cb8 | 22790 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
22791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22792 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
22793 | ||
22794 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22795 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 22796 | } |
15afbcd0 | 22797 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
22798 | return resultobj; |
22799 | fail: | |
22800 | return NULL; | |
22801 | } | |
22802 | ||
22803 | ||
c32bde28 | 22804 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22805 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22806 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; |
22807 | wxPageSetupDialogData *result; | |
22808 | PyObject * obj0 = 0 ; | |
22809 | char *kwnames[] = { | |
22810 | (char *) "self", NULL | |
22811 | }; | |
22812 | ||
22813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22814 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22815 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22816 | { |
22817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22818 | { | |
22819 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
22820 | result = (wxPageSetupDialogData *) &_result_ref; | |
22821 | } | |
22822 | ||
22823 | wxPyEndAllowThreads(__tstate); | |
22824 | if (PyErr_Occurred()) SWIG_fail; | |
22825 | } | |
15afbcd0 | 22826 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
22827 | return resultobj; |
22828 | fail: | |
22829 | return NULL; | |
22830 | } | |
22831 | ||
22832 | ||
8ac8dba0 | 22833 | static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22834 | PyObject *resultobj = NULL; |
8ac8dba0 RD |
22835 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; |
22836 | wxPageSetupDialogData *result; | |
22837 | PyObject * obj0 = 0 ; | |
22838 | char *kwnames[] = { | |
22839 | (char *) "self", NULL | |
22840 | }; | |
22841 | ||
22842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8ac8dba0 RD |
22845 | { |
22846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22847 | { | |
22848 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData(); | |
22849 | result = (wxPageSetupDialogData *) &_result_ref; | |
22850 | } | |
22851 | ||
22852 | wxPyEndAllowThreads(__tstate); | |
22853 | if (PyErr_Occurred()) SWIG_fail; | |
22854 | } | |
22855 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
22856 | return resultobj; | |
22857 | fail: | |
22858 | return NULL; | |
22859 | } | |
22860 | ||
22861 | ||
c32bde28 | 22862 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 22863 | PyObject *resultobj = NULL; |
d14a1e28 RD |
22864 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; |
22865 | int result; | |
22866 | PyObject * obj0 = 0 ; | |
22867 | char *kwnames[] = { | |
22868 | (char *) "self", NULL | |
22869 | }; | |
22870 | ||
22871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22872 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22873 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
22874 | { |
22875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22876 | result = (int)(arg1)->ShowModal(); | |
22877 | ||
22878 | wxPyEndAllowThreads(__tstate); | |
22879 | if (PyErr_Occurred()) SWIG_fail; | |
22880 | } | |
093d3ff1 | 22881 | { |
32fe5131 | 22882 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 22883 | } |
d14a1e28 RD |
22884 | return resultobj; |
22885 | fail: | |
22886 | return NULL; | |
22887 | } | |
22888 | ||
22889 | ||
c32bde28 | 22890 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22891 | PyObject *obj; |
22892 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22893 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
22894 | Py_INCREF(obj); | |
22895 | return Py_BuildValue((char *)""); | |
22896 | } | |
c32bde28 | 22897 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 22898 | PyObject *resultobj = NULL; |
d14a1e28 | 22899 | wxPrintDialogData *result; |
d14a1e28 | 22900 | |
4276dc52 | 22901 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
22902 | { |
22903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22904 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
22905 | ||
22906 | wxPyEndAllowThreads(__tstate); | |
22907 | if (PyErr_Occurred()) SWIG_fail; | |
22908 | } | |
15afbcd0 | 22909 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
22910 | return resultobj; |
22911 | fail: | |
22912 | return NULL; | |
22913 | } | |
22914 | ||
22915 | ||
c32bde28 | 22916 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 22917 | PyObject *resultobj = NULL; |
4276dc52 RD |
22918 | wxPrintData *arg1 = 0 ; |
22919 | wxPrintDialogData *result; | |
22920 | PyObject * obj0 = 0 ; | |
22921 | ||
22922 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
093d3ff1 RD |
22923 | { |
22924 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
22925 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22926 | if (arg1 == NULL) { | |
22927 | SWIG_null_ref("wxPrintData"); | |
22928 | } | |
22929 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
22930 | } |
22931 | { | |
22932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22933 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
22934 | ||
22935 | wxPyEndAllowThreads(__tstate); | |
22936 | if (PyErr_Occurred()) SWIG_fail; | |
22937 | } | |
22938 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
22939 | return resultobj; | |
22940 | fail: | |
22941 | return NULL; | |
22942 | } | |
22943 | ||
22944 | ||
7557b9b5 | 22945 | static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) { |
32fe5131 | 22946 | PyObject *resultobj = NULL; |
7557b9b5 RD |
22947 | wxPrintDialogData *arg1 = 0 ; |
22948 | wxPrintDialogData *result; | |
22949 | PyObject * obj0 = 0 ; | |
22950 | ||
22951 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
22952 | { | |
22953 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); | |
22954 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22955 | if (arg1 == NULL) { | |
22956 | SWIG_null_ref("wxPrintDialogData"); | |
22957 | } | |
22958 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22959 | } | |
22960 | { | |
22961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22962 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1); | |
22963 | ||
22964 | wxPyEndAllowThreads(__tstate); | |
22965 | if (PyErr_Occurred()) SWIG_fail; | |
22966 | } | |
22967 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
22968 | return resultobj; | |
22969 | fail: | |
22970 | return NULL; | |
22971 | } | |
22972 | ||
22973 | ||
4276dc52 RD |
22974 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { |
22975 | int argc; | |
22976 | PyObject *argv[2]; | |
22977 | int ii; | |
22978 | ||
22979 | argc = PyObject_Length(args); | |
22980 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
22981 | argv[ii] = PyTuple_GetItem(args,ii); | |
22982 | } | |
22983 | if (argc == 0) { | |
22984 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
22985 | } | |
22986 | if (argc == 1) { | |
22987 | int _v; | |
22988 | { | |
093d3ff1 | 22989 | void *ptr = 0; |
4276dc52 RD |
22990 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
22991 | _v = 0; | |
22992 | PyErr_Clear(); | |
22993 | } else { | |
093d3ff1 | 22994 | _v = (ptr != 0); |
4276dc52 RD |
22995 | } |
22996 | } | |
22997 | if (_v) { | |
22998 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
22999 | } | |
23000 | } | |
7557b9b5 RD |
23001 | if (argc == 1) { |
23002 | int _v; | |
23003 | { | |
23004 | void *ptr = 0; | |
23005 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
23006 | _v = 0; | |
23007 | PyErr_Clear(); | |
23008 | } else { | |
23009 | _v = (ptr != 0); | |
23010 | } | |
23011 | } | |
23012 | if (_v) { | |
23013 | return _wrap_new_PrintDialogData__SWIG_2(self,args); | |
23014 | } | |
23015 | } | |
4276dc52 | 23016 | |
093d3ff1 | 23017 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'"); |
4276dc52 RD |
23018 | return NULL; |
23019 | } | |
23020 | ||
23021 | ||
c32bde28 | 23022 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23023 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23024 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23025 | PyObject * obj0 = 0 ; | |
23026 | char *kwnames[] = { | |
23027 | (char *) "self", NULL | |
23028 | }; | |
23029 | ||
23030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23031 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23032 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23033 | { |
23034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23035 | delete arg1; | |
23036 | ||
23037 | wxPyEndAllowThreads(__tstate); | |
23038 | if (PyErr_Occurred()) SWIG_fail; | |
23039 | } | |
23040 | Py_INCREF(Py_None); resultobj = Py_None; | |
23041 | return resultobj; | |
23042 | fail: | |
23043 | return NULL; | |
23044 | } | |
23045 | ||
23046 | ||
c32bde28 | 23047 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23048 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23049 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23050 | int result; | |
23051 | PyObject * obj0 = 0 ; | |
23052 | char *kwnames[] = { | |
23053 | (char *) "self", NULL | |
23054 | }; | |
23055 | ||
23056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23059 | { |
23060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23061 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
23062 | ||
23063 | wxPyEndAllowThreads(__tstate); | |
23064 | if (PyErr_Occurred()) SWIG_fail; | |
23065 | } | |
093d3ff1 | 23066 | { |
32fe5131 | 23067 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23068 | } |
d14a1e28 RD |
23069 | return resultobj; |
23070 | fail: | |
23071 | return NULL; | |
23072 | } | |
23073 | ||
23074 | ||
c32bde28 | 23075 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23076 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23077 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23078 | int result; | |
23079 | PyObject * obj0 = 0 ; | |
23080 | char *kwnames[] = { | |
23081 | (char *) "self", NULL | |
23082 | }; | |
23083 | ||
23084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23085 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23086 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23087 | { |
23088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23089 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
23090 | ||
23091 | wxPyEndAllowThreads(__tstate); | |
23092 | if (PyErr_Occurred()) SWIG_fail; | |
23093 | } | |
093d3ff1 | 23094 | { |
32fe5131 | 23095 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23096 | } |
d14a1e28 RD |
23097 | return resultobj; |
23098 | fail: | |
23099 | return NULL; | |
23100 | } | |
23101 | ||
23102 | ||
c32bde28 | 23103 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23104 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23105 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23106 | int result; | |
23107 | PyObject * obj0 = 0 ; | |
23108 | char *kwnames[] = { | |
23109 | (char *) "self", NULL | |
23110 | }; | |
23111 | ||
23112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23115 | { |
23116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23117 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
23118 | ||
23119 | wxPyEndAllowThreads(__tstate); | |
23120 | if (PyErr_Occurred()) SWIG_fail; | |
23121 | } | |
093d3ff1 | 23122 | { |
32fe5131 | 23123 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23124 | } |
d14a1e28 RD |
23125 | return resultobj; |
23126 | fail: | |
23127 | return NULL; | |
23128 | } | |
23129 | ||
23130 | ||
c32bde28 | 23131 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23132 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23133 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23134 | int result; | |
23135 | PyObject * obj0 = 0 ; | |
23136 | char *kwnames[] = { | |
23137 | (char *) "self", NULL | |
23138 | }; | |
23139 | ||
23140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23141 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23142 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23143 | { |
23144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23145 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
23146 | ||
23147 | wxPyEndAllowThreads(__tstate); | |
23148 | if (PyErr_Occurred()) SWIG_fail; | |
23149 | } | |
093d3ff1 | 23150 | { |
32fe5131 | 23151 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23152 | } |
d14a1e28 RD |
23153 | return resultobj; |
23154 | fail: | |
23155 | return NULL; | |
23156 | } | |
23157 | ||
23158 | ||
c32bde28 | 23159 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23160 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23161 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23162 | int result; | |
23163 | PyObject * obj0 = 0 ; | |
23164 | char *kwnames[] = { | |
23165 | (char *) "self", NULL | |
23166 | }; | |
23167 | ||
23168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23169 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23170 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23171 | { |
23172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23173 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
23174 | ||
23175 | wxPyEndAllowThreads(__tstate); | |
23176 | if (PyErr_Occurred()) SWIG_fail; | |
23177 | } | |
093d3ff1 | 23178 | { |
32fe5131 | 23179 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23180 | } |
d14a1e28 RD |
23181 | return resultobj; |
23182 | fail: | |
23183 | return NULL; | |
23184 | } | |
23185 | ||
23186 | ||
c32bde28 | 23187 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23188 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23189 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23190 | bool result; | |
23191 | PyObject * obj0 = 0 ; | |
23192 | char *kwnames[] = { | |
23193 | (char *) "self", NULL | |
23194 | }; | |
23195 | ||
23196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23197 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23198 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23199 | { |
23200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23201 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
23202 | ||
23203 | wxPyEndAllowThreads(__tstate); | |
23204 | if (PyErr_Occurred()) SWIG_fail; | |
23205 | } | |
4f89f6a3 RD |
23206 | { |
23207 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23208 | } | |
d14a1e28 RD |
23209 | return resultobj; |
23210 | fail: | |
23211 | return NULL; | |
23212 | } | |
23213 | ||
23214 | ||
c32bde28 | 23215 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23216 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23217 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23218 | bool result; | |
23219 | PyObject * obj0 = 0 ; | |
23220 | char *kwnames[] = { | |
23221 | (char *) "self", NULL | |
23222 | }; | |
23223 | ||
23224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23225 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23226 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23227 | { |
23228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23229 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
23230 | ||
23231 | wxPyEndAllowThreads(__tstate); | |
23232 | if (PyErr_Occurred()) SWIG_fail; | |
23233 | } | |
4f89f6a3 RD |
23234 | { |
23235 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23236 | } | |
d14a1e28 RD |
23237 | return resultobj; |
23238 | fail: | |
23239 | return NULL; | |
23240 | } | |
23241 | ||
23242 | ||
c32bde28 | 23243 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23244 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23245 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23246 | bool result; | |
23247 | PyObject * obj0 = 0 ; | |
23248 | char *kwnames[] = { | |
23249 | (char *) "self", NULL | |
23250 | }; | |
23251 | ||
23252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23253 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23254 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23255 | { |
23256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23257 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
23258 | ||
23259 | wxPyEndAllowThreads(__tstate); | |
23260 | if (PyErr_Occurred()) SWIG_fail; | |
23261 | } | |
4f89f6a3 RD |
23262 | { |
23263 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23264 | } | |
d14a1e28 RD |
23265 | return resultobj; |
23266 | fail: | |
23267 | return NULL; | |
23268 | } | |
23269 | ||
23270 | ||
c32bde28 | 23271 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23272 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23273 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23274 | bool result; | |
23275 | PyObject * obj0 = 0 ; | |
23276 | char *kwnames[] = { | |
23277 | (char *) "self", NULL | |
23278 | }; | |
23279 | ||
23280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23281 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23282 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23283 | { |
23284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23285 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
23286 | ||
23287 | wxPyEndAllowThreads(__tstate); | |
23288 | if (PyErr_Occurred()) SWIG_fail; | |
23289 | } | |
4f89f6a3 RD |
23290 | { |
23291 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23292 | } | |
d14a1e28 RD |
23293 | return resultobj; |
23294 | fail: | |
23295 | return NULL; | |
23296 | } | |
23297 | ||
23298 | ||
c32bde28 | 23299 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23300 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23301 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23302 | int arg2 ; | |
23303 | PyObject * obj0 = 0 ; | |
994141e6 | 23304 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23305 | char *kwnames[] = { |
23306 | (char *) "self",(char *) "v", NULL | |
23307 | }; | |
23308 | ||
994141e6 | 23309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
23310 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23311 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23312 | { | |
32fe5131 | 23313 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
23314 | if (SWIG_arg_fail(2)) SWIG_fail; |
23315 | } | |
d14a1e28 RD |
23316 | { |
23317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23318 | (arg1)->SetFromPage(arg2); | |
23319 | ||
23320 | wxPyEndAllowThreads(__tstate); | |
23321 | if (PyErr_Occurred()) SWIG_fail; | |
23322 | } | |
23323 | Py_INCREF(Py_None); resultobj = Py_None; | |
23324 | return resultobj; | |
23325 | fail: | |
23326 | return NULL; | |
23327 | } | |
23328 | ||
23329 | ||
c32bde28 | 23330 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23331 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23332 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23333 | int arg2 ; | |
23334 | PyObject * obj0 = 0 ; | |
994141e6 | 23335 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23336 | char *kwnames[] = { |
23337 | (char *) "self",(char *) "v", NULL | |
23338 | }; | |
23339 | ||
994141e6 | 23340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
23341 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23342 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23343 | { | |
32fe5131 | 23344 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
23345 | if (SWIG_arg_fail(2)) SWIG_fail; |
23346 | } | |
d14a1e28 RD |
23347 | { |
23348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23349 | (arg1)->SetToPage(arg2); | |
23350 | ||
23351 | wxPyEndAllowThreads(__tstate); | |
23352 | if (PyErr_Occurred()) SWIG_fail; | |
23353 | } | |
23354 | Py_INCREF(Py_None); resultobj = Py_None; | |
23355 | return resultobj; | |
23356 | fail: | |
23357 | return NULL; | |
23358 | } | |
23359 | ||
23360 | ||
c32bde28 | 23361 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23362 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23363 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23364 | int arg2 ; | |
23365 | PyObject * obj0 = 0 ; | |
994141e6 | 23366 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23367 | char *kwnames[] = { |
23368 | (char *) "self",(char *) "v", NULL | |
23369 | }; | |
23370 | ||
994141e6 | 23371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
23372 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23373 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23374 | { | |
32fe5131 | 23375 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
23376 | if (SWIG_arg_fail(2)) SWIG_fail; |
23377 | } | |
d14a1e28 RD |
23378 | { |
23379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23380 | (arg1)->SetMinPage(arg2); | |
23381 | ||
23382 | wxPyEndAllowThreads(__tstate); | |
23383 | if (PyErr_Occurred()) SWIG_fail; | |
23384 | } | |
23385 | Py_INCREF(Py_None); resultobj = Py_None; | |
23386 | return resultobj; | |
23387 | fail: | |
23388 | return NULL; | |
23389 | } | |
23390 | ||
23391 | ||
c32bde28 | 23392 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23393 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23394 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23395 | int arg2 ; | |
23396 | PyObject * obj0 = 0 ; | |
994141e6 | 23397 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23398 | char *kwnames[] = { |
23399 | (char *) "self",(char *) "v", NULL | |
23400 | }; | |
23401 | ||
994141e6 | 23402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) 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; | |
23405 | { | |
32fe5131 | 23406 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
23407 | if (SWIG_arg_fail(2)) SWIG_fail; |
23408 | } | |
d14a1e28 RD |
23409 | { |
23410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23411 | (arg1)->SetMaxPage(arg2); | |
23412 | ||
23413 | wxPyEndAllowThreads(__tstate); | |
23414 | if (PyErr_Occurred()) SWIG_fail; | |
23415 | } | |
23416 | Py_INCREF(Py_None); resultobj = Py_None; | |
23417 | return resultobj; | |
23418 | fail: | |
23419 | return NULL; | |
23420 | } | |
23421 | ||
23422 | ||
c32bde28 | 23423 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23424 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23425 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23426 | int arg2 ; | |
23427 | PyObject * obj0 = 0 ; | |
994141e6 | 23428 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23429 | char *kwnames[] = { |
23430 | (char *) "self",(char *) "v", NULL | |
23431 | }; | |
23432 | ||
994141e6 | 23433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
23434 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23435 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23436 | { | |
32fe5131 | 23437 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
23438 | if (SWIG_arg_fail(2)) SWIG_fail; |
23439 | } | |
d14a1e28 RD |
23440 | { |
23441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23442 | (arg1)->SetNoCopies(arg2); | |
23443 | ||
23444 | wxPyEndAllowThreads(__tstate); | |
23445 | if (PyErr_Occurred()) SWIG_fail; | |
23446 | } | |
23447 | Py_INCREF(Py_None); resultobj = Py_None; | |
23448 | return resultobj; | |
23449 | fail: | |
23450 | return NULL; | |
23451 | } | |
23452 | ||
23453 | ||
c32bde28 | 23454 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23455 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23456 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23457 | bool arg2 ; | |
23458 | PyObject * obj0 = 0 ; | |
23459 | PyObject * obj1 = 0 ; | |
23460 | char *kwnames[] = { | |
23461 | (char *) "self",(char *) "flag", NULL | |
23462 | }; | |
23463 | ||
23464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23465 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23466 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23467 | { | |
32fe5131 | 23468 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23469 | if (SWIG_arg_fail(2)) SWIG_fail; |
23470 | } | |
d14a1e28 RD |
23471 | { |
23472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23473 | (arg1)->SetAllPages(arg2); | |
23474 | ||
23475 | wxPyEndAllowThreads(__tstate); | |
23476 | if (PyErr_Occurred()) SWIG_fail; | |
23477 | } | |
23478 | Py_INCREF(Py_None); resultobj = Py_None; | |
23479 | return resultobj; | |
23480 | fail: | |
23481 | return NULL; | |
23482 | } | |
23483 | ||
23484 | ||
c32bde28 | 23485 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23486 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23487 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23488 | bool arg2 ; | |
23489 | PyObject * obj0 = 0 ; | |
23490 | PyObject * obj1 = 0 ; | |
23491 | char *kwnames[] = { | |
23492 | (char *) "self",(char *) "flag", NULL | |
23493 | }; | |
23494 | ||
23495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23496 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23497 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23498 | { | |
32fe5131 | 23499 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23500 | if (SWIG_arg_fail(2)) SWIG_fail; |
23501 | } | |
d14a1e28 RD |
23502 | { |
23503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23504 | (arg1)->SetSelection(arg2); | |
23505 | ||
23506 | wxPyEndAllowThreads(__tstate); | |
23507 | if (PyErr_Occurred()) SWIG_fail; | |
23508 | } | |
23509 | Py_INCREF(Py_None); resultobj = Py_None; | |
23510 | return resultobj; | |
23511 | fail: | |
23512 | return NULL; | |
23513 | } | |
23514 | ||
23515 | ||
c32bde28 | 23516 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23517 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23518 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23519 | bool arg2 ; | |
23520 | PyObject * obj0 = 0 ; | |
23521 | PyObject * obj1 = 0 ; | |
23522 | char *kwnames[] = { | |
23523 | (char *) "self",(char *) "flag", NULL | |
23524 | }; | |
23525 | ||
23526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23527 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23528 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23529 | { | |
32fe5131 | 23530 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23531 | if (SWIG_arg_fail(2)) SWIG_fail; |
23532 | } | |
d14a1e28 RD |
23533 | { |
23534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23535 | (arg1)->SetCollate(arg2); | |
23536 | ||
23537 | wxPyEndAllowThreads(__tstate); | |
23538 | if (PyErr_Occurred()) SWIG_fail; | |
23539 | } | |
23540 | Py_INCREF(Py_None); resultobj = Py_None; | |
23541 | return resultobj; | |
23542 | fail: | |
23543 | return NULL; | |
23544 | } | |
23545 | ||
23546 | ||
c32bde28 | 23547 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23548 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23549 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23550 | bool arg2 ; | |
23551 | PyObject * obj0 = 0 ; | |
23552 | PyObject * obj1 = 0 ; | |
23553 | char *kwnames[] = { | |
23554 | (char *) "self",(char *) "flag", NULL | |
23555 | }; | |
23556 | ||
23557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23558 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23559 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23560 | { | |
32fe5131 | 23561 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23562 | if (SWIG_arg_fail(2)) SWIG_fail; |
23563 | } | |
d14a1e28 RD |
23564 | { |
23565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23566 | (arg1)->SetPrintToFile(arg2); | |
23567 | ||
23568 | wxPyEndAllowThreads(__tstate); | |
23569 | if (PyErr_Occurred()) SWIG_fail; | |
23570 | } | |
23571 | Py_INCREF(Py_None); resultobj = Py_None; | |
23572 | return resultobj; | |
23573 | fail: | |
23574 | return NULL; | |
23575 | } | |
23576 | ||
23577 | ||
c32bde28 | 23578 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23579 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23580 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23581 | bool arg2 ; | |
23582 | PyObject * obj0 = 0 ; | |
23583 | PyObject * obj1 = 0 ; | |
23584 | char *kwnames[] = { | |
23585 | (char *) "self",(char *) "flag", NULL | |
23586 | }; | |
23587 | ||
23588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23589 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23590 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23591 | { | |
32fe5131 | 23592 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23593 | if (SWIG_arg_fail(2)) SWIG_fail; |
23594 | } | |
d14a1e28 RD |
23595 | { |
23596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23597 | (arg1)->EnablePrintToFile(arg2); | |
23598 | ||
23599 | wxPyEndAllowThreads(__tstate); | |
23600 | if (PyErr_Occurred()) SWIG_fail; | |
23601 | } | |
23602 | Py_INCREF(Py_None); resultobj = Py_None; | |
23603 | return resultobj; | |
23604 | fail: | |
23605 | return NULL; | |
23606 | } | |
23607 | ||
23608 | ||
c32bde28 | 23609 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23610 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23611 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23612 | bool arg2 ; | |
23613 | PyObject * obj0 = 0 ; | |
23614 | PyObject * obj1 = 0 ; | |
23615 | char *kwnames[] = { | |
23616 | (char *) "self",(char *) "flag", NULL | |
23617 | }; | |
23618 | ||
23619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23620 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23621 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23622 | { | |
32fe5131 | 23623 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23624 | if (SWIG_arg_fail(2)) SWIG_fail; |
23625 | } | |
d14a1e28 RD |
23626 | { |
23627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23628 | (arg1)->EnableSelection(arg2); | |
23629 | ||
23630 | wxPyEndAllowThreads(__tstate); | |
23631 | if (PyErr_Occurred()) SWIG_fail; | |
23632 | } | |
23633 | Py_INCREF(Py_None); resultobj = Py_None; | |
23634 | return resultobj; | |
23635 | fail: | |
23636 | return NULL; | |
23637 | } | |
23638 | ||
23639 | ||
c32bde28 | 23640 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23641 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23642 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23643 | bool arg2 ; | |
23644 | PyObject * obj0 = 0 ; | |
23645 | PyObject * obj1 = 0 ; | |
23646 | char *kwnames[] = { | |
23647 | (char *) "self",(char *) "flag", NULL | |
23648 | }; | |
23649 | ||
23650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23651 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23652 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23653 | { | |
32fe5131 | 23654 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23655 | if (SWIG_arg_fail(2)) SWIG_fail; |
23656 | } | |
d14a1e28 RD |
23657 | { |
23658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23659 | (arg1)->EnablePageNumbers(arg2); | |
23660 | ||
23661 | wxPyEndAllowThreads(__tstate); | |
23662 | if (PyErr_Occurred()) SWIG_fail; | |
23663 | } | |
23664 | Py_INCREF(Py_None); resultobj = Py_None; | |
23665 | return resultobj; | |
23666 | fail: | |
23667 | return NULL; | |
23668 | } | |
23669 | ||
23670 | ||
c32bde28 | 23671 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23672 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23673 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23674 | bool arg2 ; | |
23675 | PyObject * obj0 = 0 ; | |
23676 | PyObject * obj1 = 0 ; | |
23677 | char *kwnames[] = { | |
23678 | (char *) "self",(char *) "flag", NULL | |
23679 | }; | |
23680 | ||
23681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23682 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23683 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23684 | { | |
32fe5131 | 23685 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
23686 | if (SWIG_arg_fail(2)) SWIG_fail; |
23687 | } | |
d14a1e28 RD |
23688 | { |
23689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23690 | (arg1)->EnableHelp(arg2); | |
23691 | ||
23692 | wxPyEndAllowThreads(__tstate); | |
23693 | if (PyErr_Occurred()) SWIG_fail; | |
23694 | } | |
23695 | Py_INCREF(Py_None); resultobj = Py_None; | |
23696 | return resultobj; | |
23697 | fail: | |
23698 | return NULL; | |
23699 | } | |
23700 | ||
23701 | ||
c32bde28 | 23702 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23703 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23704 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23705 | bool result; | |
23706 | PyObject * obj0 = 0 ; | |
23707 | char *kwnames[] = { | |
23708 | (char *) "self", NULL | |
23709 | }; | |
23710 | ||
23711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23712 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23713 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23714 | { |
23715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23716 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
23717 | ||
23718 | wxPyEndAllowThreads(__tstate); | |
23719 | if (PyErr_Occurred()) SWIG_fail; | |
23720 | } | |
4f89f6a3 RD |
23721 | { |
23722 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23723 | } | |
d14a1e28 RD |
23724 | return resultobj; |
23725 | fail: | |
23726 | return NULL; | |
23727 | } | |
23728 | ||
23729 | ||
c32bde28 | 23730 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23731 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23732 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23733 | bool result; | |
23734 | PyObject * obj0 = 0 ; | |
23735 | char *kwnames[] = { | |
23736 | (char *) "self", NULL | |
23737 | }; | |
23738 | ||
23739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23740 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23741 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23742 | { |
23743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23744 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
23745 | ||
23746 | wxPyEndAllowThreads(__tstate); | |
23747 | if (PyErr_Occurred()) SWIG_fail; | |
23748 | } | |
4f89f6a3 RD |
23749 | { |
23750 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23751 | } | |
d14a1e28 RD |
23752 | return resultobj; |
23753 | fail: | |
23754 | return NULL; | |
23755 | } | |
23756 | ||
23757 | ||
c32bde28 | 23758 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23759 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23760 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23761 | bool result; | |
23762 | PyObject * obj0 = 0 ; | |
23763 | char *kwnames[] = { | |
23764 | (char *) "self", NULL | |
23765 | }; | |
23766 | ||
23767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23768 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23769 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23770 | { |
23771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23772 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
23773 | ||
23774 | wxPyEndAllowThreads(__tstate); | |
23775 | if (PyErr_Occurred()) SWIG_fail; | |
23776 | } | |
4f89f6a3 RD |
23777 | { |
23778 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23779 | } | |
d14a1e28 RD |
23780 | return resultobj; |
23781 | fail: | |
23782 | return NULL; | |
23783 | } | |
23784 | ||
23785 | ||
c32bde28 | 23786 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23787 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23788 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23789 | bool result; | |
23790 | PyObject * obj0 = 0 ; | |
23791 | char *kwnames[] = { | |
23792 | (char *) "self", NULL | |
23793 | }; | |
23794 | ||
23795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23796 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23797 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23798 | { |
23799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23800 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
23801 | ||
23802 | wxPyEndAllowThreads(__tstate); | |
23803 | if (PyErr_Occurred()) SWIG_fail; | |
23804 | } | |
4f89f6a3 RD |
23805 | { |
23806 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23807 | } | |
d14a1e28 RD |
23808 | return resultobj; |
23809 | fail: | |
23810 | return NULL; | |
23811 | } | |
23812 | ||
23813 | ||
c32bde28 | 23814 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23815 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23816 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23817 | bool result; | |
23818 | PyObject * obj0 = 0 ; | |
23819 | char *kwnames[] = { | |
23820 | (char *) "self", NULL | |
23821 | }; | |
23822 | ||
23823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23824 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23825 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23826 | { |
23827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23828 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
23829 | ||
23830 | wxPyEndAllowThreads(__tstate); | |
23831 | if (PyErr_Occurred()) SWIG_fail; | |
23832 | } | |
4f89f6a3 RD |
23833 | { |
23834 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23835 | } | |
d14a1e28 RD |
23836 | return resultobj; |
23837 | fail: | |
23838 | return NULL; | |
23839 | } | |
23840 | ||
23841 | ||
c32bde28 | 23842 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23843 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23844 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23845 | wxPrintData *result; | |
23846 | PyObject * obj0 = 0 ; | |
23847 | char *kwnames[] = { | |
23848 | (char *) "self", NULL | |
23849 | }; | |
23850 | ||
23851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23854 | { |
23855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23856 | { | |
23857 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
23858 | result = (wxPrintData *) &_result_ref; | |
23859 | } | |
23860 | ||
23861 | wxPyEndAllowThreads(__tstate); | |
23862 | if (PyErr_Occurred()) SWIG_fail; | |
23863 | } | |
15afbcd0 | 23864 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
23865 | return resultobj; |
23866 | fail: | |
23867 | return NULL; | |
23868 | } | |
23869 | ||
23870 | ||
c32bde28 | 23871 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23872 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23873 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; |
23874 | wxPrintData *arg2 = 0 ; | |
23875 | PyObject * obj0 = 0 ; | |
23876 | PyObject * obj1 = 0 ; | |
23877 | char *kwnames[] = { | |
23878 | (char *) "self",(char *) "printData", NULL | |
23879 | }; | |
23880 | ||
23881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23884 | { | |
23885 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
23886 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23887 | if (arg2 == NULL) { | |
23888 | SWIG_null_ref("wxPrintData"); | |
23889 | } | |
23890 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
23891 | } |
23892 | { | |
23893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23894 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
23895 | ||
23896 | wxPyEndAllowThreads(__tstate); | |
23897 | if (PyErr_Occurred()) SWIG_fail; | |
23898 | } | |
23899 | Py_INCREF(Py_None); resultobj = Py_None; | |
23900 | return resultobj; | |
23901 | fail: | |
23902 | return NULL; | |
23903 | } | |
23904 | ||
23905 | ||
c32bde28 | 23906 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
23907 | PyObject *obj; |
23908 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23909 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
23910 | Py_INCREF(obj); | |
23911 | return Py_BuildValue((char *)""); | |
23912 | } | |
c32bde28 | 23913 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23914 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23915 | wxWindow *arg1 = (wxWindow *) 0 ; |
23916 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
23917 | wxPrintDialog *result; | |
23918 | PyObject * obj0 = 0 ; | |
23919 | PyObject * obj1 = 0 ; | |
23920 | char *kwnames[] = { | |
23921 | (char *) "parent",(char *) "data", NULL | |
23922 | }; | |
23923 | ||
23924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23925 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
23926 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 23927 | if (obj1) { |
093d3ff1 RD |
23928 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23929 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
23930 | } |
23931 | { | |
e3b71cb8 | 23932 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
23933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23934 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
23935 | ||
23936 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23937 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 23938 | } |
15afbcd0 | 23939 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
23940 | return resultobj; |
23941 | fail: | |
23942 | return NULL; | |
23943 | } | |
23944 | ||
23945 | ||
d3b6e4ff | 23946 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23947 | PyObject *resultobj = NULL; |
d3b6e4ff RD |
23948 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
23949 | int result; | |
23950 | PyObject * obj0 = 0 ; | |
23951 | char *kwnames[] = { | |
23952 | (char *) "self", NULL | |
23953 | }; | |
23954 | ||
23955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23956 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
23957 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d3b6e4ff RD |
23958 | { |
23959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23960 | result = (int)(arg1)->ShowModal(); | |
23961 | ||
23962 | wxPyEndAllowThreads(__tstate); | |
23963 | if (PyErr_Occurred()) SWIG_fail; | |
23964 | } | |
093d3ff1 | 23965 | { |
32fe5131 | 23966 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 23967 | } |
d3b6e4ff RD |
23968 | return resultobj; |
23969 | fail: | |
23970 | return NULL; | |
23971 | } | |
23972 | ||
23973 | ||
c32bde28 | 23974 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 23975 | PyObject *resultobj = NULL; |
d14a1e28 RD |
23976 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
23977 | wxPrintDialogData *result; | |
23978 | PyObject * obj0 = 0 ; | |
23979 | char *kwnames[] = { | |
23980 | (char *) "self", NULL | |
23981 | }; | |
23982 | ||
23983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23984 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
23985 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
23986 | { |
23987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23988 | { | |
23989 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
23990 | result = (wxPrintDialogData *) &_result_ref; | |
23991 | } | |
23992 | ||
23993 | wxPyEndAllowThreads(__tstate); | |
23994 | if (PyErr_Occurred()) SWIG_fail; | |
23995 | } | |
15afbcd0 | 23996 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
23997 | return resultobj; |
23998 | fail: | |
23999 | return NULL; | |
24000 | } | |
24001 | ||
24002 | ||
d3b6e4ff | 24003 | static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24004 | PyObject *resultobj = NULL; |
d14a1e28 | 24005 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
d3b6e4ff | 24006 | wxPrintData *result; |
d14a1e28 RD |
24007 | PyObject * obj0 = 0 ; |
24008 | char *kwnames[] = { | |
24009 | (char *) "self", NULL | |
24010 | }; | |
24011 | ||
d3b6e4ff | 24012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24013 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24014 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24015 | { |
24016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff RD |
24017 | { |
24018 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
24019 | result = (wxPrintData *) &_result_ref; | |
24020 | } | |
d14a1e28 RD |
24021 | |
24022 | wxPyEndAllowThreads(__tstate); | |
24023 | if (PyErr_Occurred()) SWIG_fail; | |
24024 | } | |
d3b6e4ff | 24025 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
24026 | return resultobj; |
24027 | fail: | |
24028 | return NULL; | |
24029 | } | |
24030 | ||
24031 | ||
d3b6e4ff | 24032 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24033 | PyObject *resultobj = NULL; |
d14a1e28 | 24034 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; |
d3b6e4ff | 24035 | wxDC *result; |
d14a1e28 RD |
24036 | PyObject * obj0 = 0 ; |
24037 | char *kwnames[] = { | |
24038 | (char *) "self", NULL | |
24039 | }; | |
24040 | ||
d3b6e4ff | 24041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24042 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24043 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24044 | { |
24045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24046 | result = (wxDC *)(arg1)->GetPrintDC(); |
d14a1e28 RD |
24047 | |
24048 | wxPyEndAllowThreads(__tstate); | |
24049 | if (PyErr_Occurred()) SWIG_fail; | |
24050 | } | |
d3b6e4ff | 24051 | { |
7e08d4ef | 24052 | resultobj = wxPyMake_wxObject(result, (bool)1); |
d3b6e4ff | 24053 | } |
d14a1e28 RD |
24054 | return resultobj; |
24055 | fail: | |
24056 | return NULL; | |
24057 | } | |
24058 | ||
24059 | ||
c32bde28 | 24060 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
24061 | PyObject *obj; |
24062 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24063 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
24064 | Py_INCREF(obj); | |
24065 | return Py_BuildValue((char *)""); | |
24066 | } | |
c32bde28 | 24067 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24068 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24069 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; |
24070 | wxPrinter *result; | |
24071 | PyObject * obj0 = 0 ; | |
24072 | char *kwnames[] = { | |
24073 | (char *) "data", NULL | |
24074 | }; | |
24075 | ||
24076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
24077 | if (obj0) { | |
093d3ff1 RD |
24078 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24079 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24080 | } |
24081 | { | |
e3b71cb8 | 24082 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
24083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24084 | result = (wxPrinter *)new wxPrinter(arg1); | |
24085 | ||
24086 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24087 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 24088 | } |
15afbcd0 | 24089 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
24090 | return resultobj; |
24091 | fail: | |
24092 | return NULL; | |
24093 | } | |
24094 | ||
24095 | ||
c32bde28 | 24096 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24097 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24098 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24099 | PyObject * obj0 = 0 ; | |
24100 | char *kwnames[] = { | |
24101 | (char *) "self", NULL | |
24102 | }; | |
24103 | ||
24104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24105 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24106 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24107 | { |
24108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24109 | delete arg1; | |
24110 | ||
24111 | wxPyEndAllowThreads(__tstate); | |
24112 | if (PyErr_Occurred()) SWIG_fail; | |
24113 | } | |
24114 | Py_INCREF(Py_None); resultobj = Py_None; | |
24115 | return resultobj; | |
24116 | fail: | |
24117 | return NULL; | |
24118 | } | |
24119 | ||
24120 | ||
c32bde28 | 24121 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24122 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24123 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24124 | wxWindow *arg2 = (wxWindow *) 0 ; | |
a68b8331 | 24125 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
d3b6e4ff | 24126 | wxWindow *result; |
d14a1e28 RD |
24127 | PyObject * obj0 = 0 ; |
24128 | PyObject * obj1 = 0 ; | |
24129 | PyObject * obj2 = 0 ; | |
24130 | char *kwnames[] = { | |
24131 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
24132 | }; | |
24133 | ||
24134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
24135 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24136 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24137 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24138 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24139 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24140 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
24141 | { |
24142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24143 | result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3); |
d14a1e28 RD |
24144 | |
24145 | wxPyEndAllowThreads(__tstate); | |
24146 | if (PyErr_Occurred()) SWIG_fail; | |
24147 | } | |
d3b6e4ff RD |
24148 | { |
24149 | resultobj = wxPyMake_wxObject(result, 0); | |
24150 | } | |
d14a1e28 RD |
24151 | return resultobj; |
24152 | fail: | |
24153 | return NULL; | |
24154 | } | |
24155 | ||
24156 | ||
d3b6e4ff | 24157 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24158 | PyObject *resultobj = NULL; |
d14a1e28 | 24159 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
d3b6e4ff | 24160 | wxWindow *arg2 = (wxWindow *) 0 ; |
a68b8331 | 24161 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
d3b6e4ff RD |
24162 | wxString *arg4 = 0 ; |
24163 | bool temp4 = false ; | |
d14a1e28 | 24164 | PyObject * obj0 = 0 ; |
d3b6e4ff RD |
24165 | PyObject * obj1 = 0 ; |
24166 | PyObject * obj2 = 0 ; | |
24167 | PyObject * obj3 = 0 ; | |
d14a1e28 | 24168 | char *kwnames[] = { |
d3b6e4ff | 24169 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL |
d14a1e28 RD |
24170 | }; |
24171 | ||
d3b6e4ff | 24172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
24173 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24174 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24175 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24176 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24177 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24178 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d3b6e4ff RD |
24179 | { |
24180 | arg4 = wxString_in_helper(obj3); | |
24181 | if (arg4 == NULL) SWIG_fail; | |
24182 | temp4 = true; | |
24183 | } | |
d14a1e28 RD |
24184 | { |
24185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24186 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); |
d14a1e28 RD |
24187 | |
24188 | wxPyEndAllowThreads(__tstate); | |
24189 | if (PyErr_Occurred()) SWIG_fail; | |
24190 | } | |
d3b6e4ff RD |
24191 | Py_INCREF(Py_None); resultobj = Py_None; |
24192 | { | |
24193 | if (temp4) | |
24194 | delete arg4; | |
24195 | } | |
d14a1e28 RD |
24196 | return resultobj; |
24197 | fail: | |
d3b6e4ff RD |
24198 | { |
24199 | if (temp4) | |
24200 | delete arg4; | |
24201 | } | |
d14a1e28 RD |
24202 | return NULL; |
24203 | } | |
24204 | ||
24205 | ||
d3b6e4ff | 24206 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24207 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24208 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24209 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d14a1e28 RD |
24210 | bool result; |
24211 | PyObject * obj0 = 0 ; | |
24212 | PyObject * obj1 = 0 ; | |
d14a1e28 | 24213 | char *kwnames[] = { |
d3b6e4ff | 24214 | (char *) "self",(char *) "parent", NULL |
d14a1e28 RD |
24215 | }; |
24216 | ||
d3b6e4ff | 24217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
24218 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24219 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24220 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24221 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
24222 | { |
24223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24224 | result = (bool)(arg1)->Setup(arg2); |
d14a1e28 RD |
24225 | |
24226 | wxPyEndAllowThreads(__tstate); | |
24227 | if (PyErr_Occurred()) SWIG_fail; | |
24228 | } | |
4f89f6a3 RD |
24229 | { |
24230 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24231 | } | |
d14a1e28 RD |
24232 | return resultobj; |
24233 | fail: | |
24234 | return NULL; | |
24235 | } | |
24236 | ||
24237 | ||
d3b6e4ff | 24238 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24239 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24240 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24241 | wxWindow *arg2 = (wxWindow *) 0 ; | |
a68b8331 | 24242 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
d3b6e4ff RD |
24243 | bool arg4 = (bool) true ; |
24244 | bool result; | |
d14a1e28 RD |
24245 | PyObject * obj0 = 0 ; |
24246 | PyObject * obj1 = 0 ; | |
d3b6e4ff RD |
24247 | PyObject * obj2 = 0 ; |
24248 | PyObject * obj3 = 0 ; | |
d14a1e28 | 24249 | char *kwnames[] = { |
d3b6e4ff | 24250 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL |
d14a1e28 RD |
24251 | }; |
24252 | ||
d3b6e4ff | 24253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
24254 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24255 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24256 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24257 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24258 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24259 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d3b6e4ff | 24260 | if (obj3) { |
093d3ff1 | 24261 | { |
32fe5131 | 24262 | arg4 = static_cast<bool >(SWIG_As_bool(obj3)); |
093d3ff1 RD |
24263 | if (SWIG_arg_fail(4)) SWIG_fail; |
24264 | } | |
d3b6e4ff | 24265 | } |
d14a1e28 RD |
24266 | { |
24267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24268 | result = (bool)(arg1)->Print(arg2,arg3,arg4); |
d14a1e28 RD |
24269 | |
24270 | wxPyEndAllowThreads(__tstate); | |
24271 | if (PyErr_Occurred()) SWIG_fail; | |
24272 | } | |
24273 | { | |
d3b6e4ff | 24274 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
24275 | } |
24276 | return resultobj; | |
24277 | fail: | |
24278 | return NULL; | |
24279 | } | |
24280 | ||
24281 | ||
d3b6e4ff | 24282 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24283 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24284 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24285 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d3b6e4ff | 24286 | wxDC *result; |
d14a1e28 RD |
24287 | PyObject * obj0 = 0 ; |
24288 | PyObject * obj1 = 0 ; | |
d14a1e28 | 24289 | char *kwnames[] = { |
d3b6e4ff | 24290 | (char *) "self",(char *) "parent", NULL |
d14a1e28 RD |
24291 | }; |
24292 | ||
d3b6e4ff | 24293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
24294 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24295 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24296 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24297 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
24298 | { |
24299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 24300 | result = (wxDC *)(arg1)->PrintDialog(arg2); |
d14a1e28 RD |
24301 | |
24302 | wxPyEndAllowThreads(__tstate); | |
24303 | if (PyErr_Occurred()) SWIG_fail; | |
24304 | } | |
d14a1e28 | 24305 | { |
7e08d4ef | 24306 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
24307 | } |
24308 | return resultobj; | |
24309 | fail: | |
d14a1e28 RD |
24310 | return NULL; |
24311 | } | |
24312 | ||
24313 | ||
d3b6e4ff | 24314 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24315 | PyObject *resultobj = NULL; |
d14a1e28 | 24316 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
d3b6e4ff | 24317 | wxPrintDialogData *result; |
d14a1e28 | 24318 | PyObject * obj0 = 0 ; |
d14a1e28 | 24319 | char *kwnames[] = { |
d3b6e4ff | 24320 | (char *) "self", NULL |
d14a1e28 RD |
24321 | }; |
24322 | ||
d3b6e4ff | 24323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24324 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24325 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24326 | { |
24327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff RD |
24328 | { |
24329 | wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData(); | |
24330 | result = (wxPrintDialogData *) &_result_ref; | |
24331 | } | |
d14a1e28 RD |
24332 | |
24333 | wxPyEndAllowThreads(__tstate); | |
24334 | if (PyErr_Occurred()) SWIG_fail; | |
24335 | } | |
d3b6e4ff | 24336 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
24337 | return resultobj; |
24338 | fail: | |
24339 | return NULL; | |
24340 | } | |
24341 | ||
24342 | ||
c32bde28 | 24343 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24344 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24345 | wxPrinter *arg1 = (wxPrinter *) 0 ; |
24346 | bool result; | |
24347 | PyObject * obj0 = 0 ; | |
24348 | char *kwnames[] = { | |
24349 | (char *) "self", NULL | |
24350 | }; | |
24351 | ||
24352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24355 | { |
24356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24357 | result = (bool)(arg1)->GetAbort(); | |
24358 | ||
24359 | wxPyEndAllowThreads(__tstate); | |
24360 | if (PyErr_Occurred()) SWIG_fail; | |
24361 | } | |
4f89f6a3 RD |
24362 | { |
24363 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24364 | } | |
d14a1e28 RD |
24365 | return resultobj; |
24366 | fail: | |
24367 | return NULL; | |
24368 | } | |
24369 | ||
24370 | ||
c32bde28 | 24371 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24372 | PyObject *resultobj = NULL; |
093d3ff1 | 24373 | wxPrinterError result; |
d14a1e28 RD |
24374 | char *kwnames[] = { |
24375 | NULL | |
24376 | }; | |
24377 | ||
24378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
24379 | { | |
24380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 24381 | result = (wxPrinterError)wxPrinter::GetLastError(); |
d14a1e28 RD |
24382 | |
24383 | wxPyEndAllowThreads(__tstate); | |
24384 | if (PyErr_Occurred()) SWIG_fail; | |
24385 | } | |
093d3ff1 | 24386 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
24387 | return resultobj; |
24388 | fail: | |
24389 | return NULL; | |
24390 | } | |
24391 | ||
24392 | ||
c32bde28 | 24393 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
24394 | PyObject *obj; |
24395 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24396 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
24397 | Py_INCREF(obj); | |
24398 | return Py_BuildValue((char *)""); | |
24399 | } | |
c32bde28 | 24400 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24401 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24402 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; |
24403 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
24404 | wxPyPrintout *result; | |
ae8162c8 | 24405 | bool temp1 = false ; |
d14a1e28 RD |
24406 | PyObject * obj0 = 0 ; |
24407 | char *kwnames[] = { | |
24408 | (char *) "title", NULL | |
24409 | }; | |
24410 | ||
24411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
24412 | if (obj0) { | |
24413 | { | |
24414 | arg1 = wxString_in_helper(obj0); | |
24415 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 24416 | temp1 = true; |
d14a1e28 RD |
24417 | } |
24418 | } | |
24419 | { | |
e3b71cb8 | 24420 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
24421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24422 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
24423 | ||
24424 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24425 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24426 | } |
24427 | { | |
7e08d4ef | 24428 | resultobj = wxPyMake_wxObject(result, (bool)1); |
d14a1e28 RD |
24429 | } |
24430 | { | |
24431 | if (temp1) | |
24432 | delete arg1; | |
24433 | } | |
24434 | return resultobj; | |
24435 | fail: | |
24436 | { | |
24437 | if (temp1) | |
24438 | delete arg1; | |
24439 | } | |
24440 | return NULL; | |
24441 | } | |
24442 | ||
24443 | ||
c32bde28 | 24444 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24445 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24446 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24447 | PyObject *arg2 = (PyObject *) 0 ; | |
24448 | PyObject *arg3 = (PyObject *) 0 ; | |
24449 | PyObject * obj0 = 0 ; | |
24450 | PyObject * obj1 = 0 ; | |
24451 | PyObject * obj2 = 0 ; | |
24452 | char *kwnames[] = { | |
24453 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24454 | }; | |
24455 | ||
24456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
24457 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24458 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24459 | arg2 = obj1; |
24460 | arg3 = obj2; | |
24461 | { | |
24462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24463 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24464 | ||
24465 | wxPyEndAllowThreads(__tstate); | |
24466 | if (PyErr_Occurred()) SWIG_fail; | |
24467 | } | |
24468 | Py_INCREF(Py_None); resultobj = Py_None; | |
24469 | return resultobj; | |
24470 | fail: | |
24471 | return NULL; | |
24472 | } | |
24473 | ||
24474 | ||
c32bde28 | 24475 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24476 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24477 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24478 | wxString result; | |
24479 | PyObject * obj0 = 0 ; | |
24480 | char *kwnames[] = { | |
24481 | (char *) "self", NULL | |
24482 | }; | |
24483 | ||
24484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24487 | { |
24488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24489 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
24490 | ||
24491 | wxPyEndAllowThreads(__tstate); | |
24492 | if (PyErr_Occurred()) SWIG_fail; | |
24493 | } | |
24494 | { | |
24495 | #if wxUSE_UNICODE | |
24496 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
24497 | #else | |
24498 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
24499 | #endif | |
24500 | } | |
24501 | return resultobj; | |
24502 | fail: | |
24503 | return NULL; | |
24504 | } | |
24505 | ||
24506 | ||
c32bde28 | 24507 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24508 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24509 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24510 | wxDC *result; | |
24511 | PyObject * obj0 = 0 ; | |
24512 | char *kwnames[] = { | |
24513 | (char *) "self", NULL | |
24514 | }; | |
24515 | ||
24516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24517 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24518 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24519 | { |
24520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24521 | result = (wxDC *)(arg1)->GetDC(); | |
24522 | ||
24523 | wxPyEndAllowThreads(__tstate); | |
24524 | if (PyErr_Occurred()) SWIG_fail; | |
24525 | } | |
24526 | { | |
7e08d4ef | 24527 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
24528 | } |
24529 | return resultobj; | |
24530 | fail: | |
24531 | return NULL; | |
24532 | } | |
24533 | ||
24534 | ||
c32bde28 | 24535 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24536 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24537 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24538 | wxDC *arg2 = (wxDC *) 0 ; | |
24539 | PyObject * obj0 = 0 ; | |
24540 | PyObject * obj1 = 0 ; | |
24541 | char *kwnames[] = { | |
24542 | (char *) "self",(char *) "dc", NULL | |
24543 | }; | |
24544 | ||
24545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
24546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24548 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
24549 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
24550 | { |
24551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24552 | (arg1)->SetDC(arg2); | |
24553 | ||
24554 | wxPyEndAllowThreads(__tstate); | |
24555 | if (PyErr_Occurred()) SWIG_fail; | |
24556 | } | |
24557 | Py_INCREF(Py_None); resultobj = Py_None; | |
24558 | return resultobj; | |
24559 | fail: | |
24560 | return NULL; | |
24561 | } | |
24562 | ||
24563 | ||
c32bde28 | 24564 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24565 | PyObject *resultobj = NULL; |
d14a1e28 | 24566 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
322913ce RD |
24567 | int arg2 ; |
24568 | int arg3 ; | |
d14a1e28 | 24569 | PyObject * obj0 = 0 ; |
994141e6 RD |
24570 | PyObject * obj1 = 0 ; |
24571 | PyObject * obj2 = 0 ; | |
d14a1e28 | 24572 | char *kwnames[] = { |
322913ce | 24573 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
24574 | }; |
24575 | ||
994141e6 | 24576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
24577 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24578 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24579 | { | |
32fe5131 | 24580 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
24581 | if (SWIG_arg_fail(2)) SWIG_fail; |
24582 | } | |
24583 | { | |
32fe5131 | 24584 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
24585 | if (SWIG_arg_fail(3)) SWIG_fail; |
24586 | } | |
d14a1e28 RD |
24587 | { |
24588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 24589 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
24590 | |
24591 | wxPyEndAllowThreads(__tstate); | |
24592 | if (PyErr_Occurred()) SWIG_fail; | |
24593 | } | |
24594 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
24595 | return resultobj; |
24596 | fail: | |
24597 | return NULL; | |
24598 | } | |
24599 | ||
24600 | ||
c32bde28 | 24601 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24602 | PyObject *resultobj = NULL; |
d14a1e28 | 24603 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
322913ce RD |
24604 | int *arg2 = (int *) 0 ; |
24605 | int *arg3 = (int *) 0 ; | |
24606 | int temp2 ; | |
c32bde28 | 24607 | int res2 = 0 ; |
322913ce | 24608 | int temp3 ; |
c32bde28 | 24609 | int res3 = 0 ; |
d14a1e28 RD |
24610 | PyObject * obj0 = 0 ; |
24611 | char *kwnames[] = { | |
322913ce | 24612 | (char *) "self", NULL |
d14a1e28 RD |
24613 | }; |
24614 | ||
c32bde28 RD |
24615 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24616 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
322913ce | 24617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24618 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24619 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24620 | { |
24621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 24622 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
24623 | |
24624 | wxPyEndAllowThreads(__tstate); | |
24625 | if (PyErr_Occurred()) SWIG_fail; | |
24626 | } | |
24627 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24628 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24629 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24630 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24631 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
24632 | return resultobj; |
24633 | fail: | |
24634 | return NULL; | |
24635 | } | |
24636 | ||
24637 | ||
c32bde28 | 24638 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24639 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24640 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24641 | int arg2 ; | |
24642 | int arg3 ; | |
24643 | PyObject * obj0 = 0 ; | |
994141e6 RD |
24644 | PyObject * obj1 = 0 ; |
24645 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
24646 | char *kwnames[] = { |
24647 | (char *) "self",(char *) "w",(char *) "h", NULL | |
24648 | }; | |
24649 | ||
994141e6 | 24650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
24651 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24652 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24653 | { | |
32fe5131 | 24654 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
24655 | if (SWIG_arg_fail(2)) SWIG_fail; |
24656 | } | |
24657 | { | |
32fe5131 | 24658 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
24659 | if (SWIG_arg_fail(3)) SWIG_fail; |
24660 | } | |
d14a1e28 RD |
24661 | { |
24662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24663 | (arg1)->SetPageSizeMM(arg2,arg3); | |
24664 | ||
24665 | wxPyEndAllowThreads(__tstate); | |
24666 | if (PyErr_Occurred()) SWIG_fail; | |
24667 | } | |
24668 | Py_INCREF(Py_None); resultobj = Py_None; | |
24669 | return resultobj; | |
24670 | fail: | |
24671 | return NULL; | |
24672 | } | |
24673 | ||
24674 | ||
c32bde28 | 24675 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24676 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24677 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24678 | int *arg2 = (int *) 0 ; | |
24679 | int *arg3 = (int *) 0 ; | |
24680 | int temp2 ; | |
c32bde28 | 24681 | int res2 = 0 ; |
d14a1e28 | 24682 | int temp3 ; |
c32bde28 | 24683 | int res3 = 0 ; |
d14a1e28 RD |
24684 | PyObject * obj0 = 0 ; |
24685 | char *kwnames[] = { | |
24686 | (char *) "self", NULL | |
24687 | }; | |
24688 | ||
c32bde28 RD |
24689 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24690 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 24691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24694 | { |
24695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24696 | (arg1)->GetPageSizeMM(arg2,arg3); | |
24697 | ||
24698 | wxPyEndAllowThreads(__tstate); | |
24699 | if (PyErr_Occurred()) SWIG_fail; | |
24700 | } | |
24701 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24702 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24703 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24704 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24705 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
24706 | return resultobj; |
24707 | fail: | |
24708 | return NULL; | |
24709 | } | |
24710 | ||
24711 | ||
c32bde28 | 24712 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24713 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24714 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24715 | int arg2 ; | |
24716 | int arg3 ; | |
24717 | PyObject * obj0 = 0 ; | |
994141e6 RD |
24718 | PyObject * obj1 = 0 ; |
24719 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
24720 | char *kwnames[] = { |
24721 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24722 | }; | |
24723 | ||
994141e6 | 24724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
24725 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24726 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24727 | { | |
32fe5131 | 24728 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
24729 | if (SWIG_arg_fail(2)) SWIG_fail; |
24730 | } | |
24731 | { | |
32fe5131 | 24732 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
24733 | if (SWIG_arg_fail(3)) SWIG_fail; |
24734 | } | |
d14a1e28 RD |
24735 | { |
24736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24737 | (arg1)->SetPPIScreen(arg2,arg3); | |
24738 | ||
24739 | wxPyEndAllowThreads(__tstate); | |
24740 | if (PyErr_Occurred()) SWIG_fail; | |
24741 | } | |
24742 | Py_INCREF(Py_None); resultobj = Py_None; | |
24743 | return resultobj; | |
24744 | fail: | |
24745 | return NULL; | |
24746 | } | |
24747 | ||
24748 | ||
c32bde28 | 24749 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24750 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24751 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24752 | int *arg2 = (int *) 0 ; | |
24753 | int *arg3 = (int *) 0 ; | |
24754 | int temp2 ; | |
c32bde28 | 24755 | int res2 = 0 ; |
d14a1e28 | 24756 | int temp3 ; |
c32bde28 | 24757 | int res3 = 0 ; |
d14a1e28 RD |
24758 | PyObject * obj0 = 0 ; |
24759 | char *kwnames[] = { | |
24760 | (char *) "self", NULL | |
24761 | }; | |
24762 | ||
c32bde28 RD |
24763 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24764 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 24765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24766 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24767 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24768 | { |
24769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24770 | (arg1)->GetPPIScreen(arg2,arg3); | |
24771 | ||
24772 | wxPyEndAllowThreads(__tstate); | |
24773 | if (PyErr_Occurred()) SWIG_fail; | |
24774 | } | |
24775 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24776 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24777 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24778 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24779 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
24780 | return resultobj; |
24781 | fail: | |
24782 | return NULL; | |
24783 | } | |
24784 | ||
24785 | ||
c32bde28 | 24786 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24787 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24788 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24789 | int arg2 ; | |
24790 | int arg3 ; | |
24791 | PyObject * obj0 = 0 ; | |
994141e6 RD |
24792 | PyObject * obj1 = 0 ; |
24793 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
24794 | char *kwnames[] = { |
24795 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24796 | }; | |
24797 | ||
994141e6 | 24798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
24799 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24800 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24801 | { | |
32fe5131 | 24802 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
24803 | if (SWIG_arg_fail(2)) SWIG_fail; |
24804 | } | |
24805 | { | |
32fe5131 | 24806 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
24807 | if (SWIG_arg_fail(3)) SWIG_fail; |
24808 | } | |
d14a1e28 RD |
24809 | { |
24810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24811 | (arg1)->SetPPIPrinter(arg2,arg3); | |
24812 | ||
24813 | wxPyEndAllowThreads(__tstate); | |
24814 | if (PyErr_Occurred()) SWIG_fail; | |
24815 | } | |
24816 | Py_INCREF(Py_None); resultobj = Py_None; | |
24817 | return resultobj; | |
24818 | fail: | |
24819 | return NULL; | |
24820 | } | |
24821 | ||
24822 | ||
c32bde28 | 24823 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24824 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24825 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24826 | int *arg2 = (int *) 0 ; | |
24827 | int *arg3 = (int *) 0 ; | |
24828 | int temp2 ; | |
c32bde28 | 24829 | int res2 = 0 ; |
d14a1e28 | 24830 | int temp3 ; |
c32bde28 | 24831 | int res3 = 0 ; |
d14a1e28 RD |
24832 | PyObject * obj0 = 0 ; |
24833 | char *kwnames[] = { | |
24834 | (char *) "self", NULL | |
24835 | }; | |
24836 | ||
c32bde28 RD |
24837 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24838 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 24839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24842 | { |
24843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24844 | (arg1)->GetPPIPrinter(arg2,arg3); | |
24845 | ||
24846 | wxPyEndAllowThreads(__tstate); | |
24847 | if (PyErr_Occurred()) SWIG_fail; | |
24848 | } | |
24849 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24850 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24851 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24852 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24853 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
24854 | return resultobj; |
24855 | fail: | |
24856 | return NULL; | |
24857 | } | |
24858 | ||
24859 | ||
c32bde28 | 24860 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24861 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24862 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24863 | bool result; | |
24864 | PyObject * obj0 = 0 ; | |
24865 | char *kwnames[] = { | |
24866 | (char *) "self", NULL | |
24867 | }; | |
24868 | ||
24869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24870 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24871 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24872 | { |
24873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24874 | result = (bool)(arg1)->IsPreview(); | |
24875 | ||
24876 | wxPyEndAllowThreads(__tstate); | |
24877 | if (PyErr_Occurred()) SWIG_fail; | |
24878 | } | |
4f89f6a3 RD |
24879 | { |
24880 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24881 | } | |
d14a1e28 RD |
24882 | return resultobj; |
24883 | fail: | |
24884 | return NULL; | |
24885 | } | |
24886 | ||
24887 | ||
c32bde28 | 24888 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24889 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24890 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24891 | bool arg2 ; | |
24892 | PyObject * obj0 = 0 ; | |
24893 | PyObject * obj1 = 0 ; | |
24894 | char *kwnames[] = { | |
24895 | (char *) "self",(char *) "p", NULL | |
24896 | }; | |
24897 | ||
24898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
24899 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24900 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24901 | { | |
32fe5131 | 24902 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
24903 | if (SWIG_arg_fail(2)) SWIG_fail; |
24904 | } | |
d14a1e28 RD |
24905 | { |
24906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24907 | (arg1)->SetIsPreview(arg2); | |
24908 | ||
24909 | wxPyEndAllowThreads(__tstate); | |
24910 | if (PyErr_Occurred()) SWIG_fail; | |
24911 | } | |
24912 | Py_INCREF(Py_None); resultobj = Py_None; | |
24913 | return resultobj; | |
24914 | fail: | |
24915 | return NULL; | |
24916 | } | |
24917 | ||
24918 | ||
c26d9ab4 | 24919 | static PyObject *_wrap_Printout_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24920 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24921 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24922 | int arg2 ; | |
24923 | int arg3 ; | |
24924 | bool result; | |
24925 | PyObject * obj0 = 0 ; | |
994141e6 RD |
24926 | PyObject * obj1 = 0 ; |
24927 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
24928 | char *kwnames[] = { |
24929 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
24930 | }; | |
24931 | ||
c26d9ab4 | 24932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
24933 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24934 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24935 | { | |
32fe5131 | 24936 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
24937 | if (SWIG_arg_fail(2)) SWIG_fail; |
24938 | } | |
24939 | { | |
32fe5131 | 24940 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
24941 | if (SWIG_arg_fail(3)) SWIG_fail; |
24942 | } | |
d14a1e28 RD |
24943 | { |
24944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 24945 | result = (bool)(arg1)->OnBeginDocument(arg2,arg3); |
d14a1e28 RD |
24946 | |
24947 | wxPyEndAllowThreads(__tstate); | |
24948 | if (PyErr_Occurred()) SWIG_fail; | |
24949 | } | |
4f89f6a3 RD |
24950 | { |
24951 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24952 | } | |
d14a1e28 RD |
24953 | return resultobj; |
24954 | fail: | |
24955 | return NULL; | |
24956 | } | |
24957 | ||
24958 | ||
c26d9ab4 | 24959 | static PyObject *_wrap_Printout_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24960 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24961 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24962 | PyObject * obj0 = 0 ; | |
24963 | char *kwnames[] = { | |
24964 | (char *) "self", NULL | |
24965 | }; | |
24966 | ||
c26d9ab4 | 24967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnEndDocument",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24968 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24969 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24970 | { |
24971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 24972 | (arg1)->OnEndDocument(); |
d14a1e28 RD |
24973 | |
24974 | wxPyEndAllowThreads(__tstate); | |
24975 | if (PyErr_Occurred()) SWIG_fail; | |
24976 | } | |
24977 | Py_INCREF(Py_None); resultobj = Py_None; | |
24978 | return resultobj; | |
24979 | fail: | |
24980 | return NULL; | |
24981 | } | |
24982 | ||
24983 | ||
c26d9ab4 | 24984 | static PyObject *_wrap_Printout_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 24985 | PyObject *resultobj = NULL; |
d14a1e28 RD |
24986 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
24987 | PyObject * obj0 = 0 ; | |
24988 | char *kwnames[] = { | |
24989 | (char *) "self", NULL | |
24990 | }; | |
24991 | ||
c26d9ab4 | 24992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnBeginPrinting",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24993 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24994 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
24995 | { |
24996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 24997 | (arg1)->OnBeginPrinting(); |
d14a1e28 RD |
24998 | |
24999 | wxPyEndAllowThreads(__tstate); | |
25000 | if (PyErr_Occurred()) SWIG_fail; | |
25001 | } | |
25002 | Py_INCREF(Py_None); resultobj = Py_None; | |
25003 | return resultobj; | |
25004 | fail: | |
25005 | return NULL; | |
25006 | } | |
25007 | ||
25008 | ||
c26d9ab4 | 25009 | static PyObject *_wrap_Printout_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25010 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25011 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25012 | PyObject * obj0 = 0 ; | |
25013 | char *kwnames[] = { | |
25014 | (char *) "self", NULL | |
25015 | }; | |
25016 | ||
c26d9ab4 | 25017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnEndPrinting",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
25018 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25019 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25020 | { |
25021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 25022 | (arg1)->OnEndPrinting(); |
d14a1e28 RD |
25023 | |
25024 | wxPyEndAllowThreads(__tstate); | |
25025 | if (PyErr_Occurred()) SWIG_fail; | |
25026 | } | |
25027 | Py_INCREF(Py_None); resultobj = Py_None; | |
25028 | return resultobj; | |
25029 | fail: | |
25030 | return NULL; | |
25031 | } | |
25032 | ||
25033 | ||
c26d9ab4 | 25034 | static PyObject *_wrap_Printout_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25035 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25036 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25037 | PyObject * obj0 = 0 ; | |
25038 | char *kwnames[] = { | |
25039 | (char *) "self", NULL | |
25040 | }; | |
25041 | ||
c26d9ab4 | 25042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_OnPreparePrinting",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
25043 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25044 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25045 | { |
25046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 25047 | (arg1)->OnPreparePrinting(); |
d14a1e28 RD |
25048 | |
25049 | wxPyEndAllowThreads(__tstate); | |
25050 | if (PyErr_Occurred()) SWIG_fail; | |
25051 | } | |
25052 | Py_INCREF(Py_None); resultobj = Py_None; | |
25053 | return resultobj; | |
25054 | fail: | |
25055 | return NULL; | |
25056 | } | |
25057 | ||
25058 | ||
c26d9ab4 | 25059 | static PyObject *_wrap_Printout_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25060 | PyObject *resultobj = NULL; |
322913ce RD |
25061 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25062 | int arg2 ; | |
25063 | bool result; | |
25064 | PyObject * obj0 = 0 ; | |
994141e6 | 25065 | PyObject * obj1 = 0 ; |
322913ce RD |
25066 | char *kwnames[] = { |
25067 | (char *) "self",(char *) "page", NULL | |
25068 | }; | |
25069 | ||
c26d9ab4 | 25070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
25071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25073 | { | |
32fe5131 | 25074 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
25075 | if (SWIG_arg_fail(2)) SWIG_fail; |
25076 | } | |
322913ce RD |
25077 | { |
25078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 25079 | result = (bool)(arg1)->HasPage(arg2); |
322913ce RD |
25080 | |
25081 | wxPyEndAllowThreads(__tstate); | |
25082 | if (PyErr_Occurred()) SWIG_fail; | |
25083 | } | |
4f89f6a3 RD |
25084 | { |
25085 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25086 | } | |
322913ce RD |
25087 | return resultobj; |
25088 | fail: | |
25089 | return NULL; | |
25090 | } | |
25091 | ||
25092 | ||
c26d9ab4 | 25093 | static PyObject *_wrap_Printout_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25094 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25095 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25096 | int *arg2 = (int *) 0 ; | |
25097 | int *arg3 = (int *) 0 ; | |
25098 | int *arg4 = (int *) 0 ; | |
25099 | int *arg5 = (int *) 0 ; | |
25100 | int temp2 ; | |
c32bde28 | 25101 | int res2 = 0 ; |
d14a1e28 | 25102 | int temp3 ; |
c32bde28 | 25103 | int res3 = 0 ; |
d14a1e28 | 25104 | int temp4 ; |
c32bde28 | 25105 | int res4 = 0 ; |
d14a1e28 | 25106 | int temp5 ; |
c32bde28 | 25107 | int res5 = 0 ; |
d14a1e28 RD |
25108 | PyObject * obj0 = 0 ; |
25109 | char *kwnames[] = { | |
25110 | (char *) "self", NULL | |
25111 | }; | |
25112 | ||
c32bde28 RD |
25113 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
25114 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
25115 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
25116 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
c26d9ab4 | 25117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageInfo",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)->GetPageInfo(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
25123 | |
25124 | wxPyEndAllowThreads(__tstate); | |
25125 | if (PyErr_Occurred()) SWIG_fail; | |
25126 | } | |
25127 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
25128 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
25129 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
25130 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
25131 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
25132 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
25133 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
25134 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
25135 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
25136 | return resultobj; |
25137 | fail: | |
25138 | return NULL; | |
25139 | } | |
25140 | ||
25141 | ||
c32bde28 | 25142 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25143 | PyObject *obj; |
25144 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25145 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
25146 | Py_INCREF(obj); | |
25147 | return Py_BuildValue((char *)""); | |
25148 | } | |
c32bde28 | 25149 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25150 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25151 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
25152 | wxWindow *arg2 = (wxWindow *) 0 ; | |
25153 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
25154 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
25155 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
25156 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
25157 | long arg5 = (long) 0 ; | |
25158 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
25159 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
25160 | wxPreviewCanvas *result; | |
25161 | wxPoint temp3 ; | |
25162 | wxSize temp4 ; | |
ae8162c8 | 25163 | bool temp6 = false ; |
d14a1e28 RD |
25164 | PyObject * obj0 = 0 ; |
25165 | PyObject * obj1 = 0 ; | |
25166 | PyObject * obj2 = 0 ; | |
25167 | PyObject * obj3 = 0 ; | |
994141e6 | 25168 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
25169 | PyObject * obj5 = 0 ; |
25170 | char *kwnames[] = { | |
25171 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25172 | }; | |
25173 | ||
994141e6 | 25174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
25175 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25176 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25177 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25178 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
25179 | if (obj2) { |
25180 | { | |
25181 | arg3 = &temp3; | |
25182 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
25183 | } | |
25184 | } | |
25185 | if (obj3) { | |
25186 | { | |
25187 | arg4 = &temp4; | |
25188 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
25189 | } | |
25190 | } | |
994141e6 | 25191 | if (obj4) { |
093d3ff1 | 25192 | { |
32fe5131 | 25193 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
25194 | if (SWIG_arg_fail(5)) SWIG_fail; |
25195 | } | |
994141e6 | 25196 | } |
d14a1e28 RD |
25197 | if (obj5) { |
25198 | { | |
25199 | arg6 = wxString_in_helper(obj5); | |
25200 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 25201 | temp6 = true; |
d14a1e28 RD |
25202 | } |
25203 | } | |
25204 | { | |
e3b71cb8 | 25205 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25207 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
25208 | ||
25209 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25210 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25211 | } |
15afbcd0 | 25212 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
25213 | { |
25214 | if (temp6) | |
25215 | delete arg6; | |
25216 | } | |
25217 | return resultobj; | |
25218 | fail: | |
25219 | { | |
25220 | if (temp6) | |
25221 | delete arg6; | |
25222 | } | |
25223 | return NULL; | |
25224 | } | |
25225 | ||
25226 | ||
c32bde28 | 25227 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25228 | PyObject *obj; |
25229 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25230 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
25231 | Py_INCREF(obj); | |
25232 | return Py_BuildValue((char *)""); | |
25233 | } | |
c32bde28 | 25234 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25235 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25236 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
25237 | wxFrame *arg2 = (wxFrame *) 0 ; | |
25238 | wxString *arg3 = 0 ; | |
25239 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25240 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25241 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25242 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25243 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
25244 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
25245 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25246 | wxPreviewFrame *result; | |
ae8162c8 | 25247 | bool temp3 = false ; |
d14a1e28 RD |
25248 | wxPoint temp4 ; |
25249 | wxSize temp5 ; | |
ae8162c8 | 25250 | bool temp7 = false ; |
d14a1e28 RD |
25251 | PyObject * obj0 = 0 ; |
25252 | PyObject * obj1 = 0 ; | |
25253 | PyObject * obj2 = 0 ; | |
25254 | PyObject * obj3 = 0 ; | |
25255 | PyObject * obj4 = 0 ; | |
994141e6 | 25256 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
25257 | PyObject * obj6 = 0 ; |
25258 | char *kwnames[] = { | |
25259 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25260 | }; | |
25261 | ||
994141e6 | 25262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
25263 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25264 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25265 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
25266 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
25267 | { |
25268 | arg3 = wxString_in_helper(obj2); | |
25269 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 25270 | temp3 = true; |
d14a1e28 RD |
25271 | } |
25272 | if (obj3) { | |
25273 | { | |
25274 | arg4 = &temp4; | |
25275 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25276 | } | |
25277 | } | |
25278 | if (obj4) { | |
25279 | { | |
25280 | arg5 = &temp5; | |
25281 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25282 | } | |
25283 | } | |
994141e6 | 25284 | if (obj5) { |
093d3ff1 | 25285 | { |
32fe5131 | 25286 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
25287 | if (SWIG_arg_fail(6)) SWIG_fail; |
25288 | } | |
994141e6 | 25289 | } |
d14a1e28 RD |
25290 | if (obj6) { |
25291 | { | |
25292 | arg7 = wxString_in_helper(obj6); | |
25293 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 25294 | temp7 = true; |
d14a1e28 RD |
25295 | } |
25296 | } | |
25297 | { | |
e3b71cb8 | 25298 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25300 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25301 | ||
25302 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25303 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25304 | } |
15afbcd0 | 25305 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
25306 | { |
25307 | if (temp3) | |
25308 | delete arg3; | |
25309 | } | |
25310 | { | |
25311 | if (temp7) | |
25312 | delete arg7; | |
25313 | } | |
25314 | return resultobj; | |
25315 | fail: | |
25316 | { | |
25317 | if (temp3) | |
25318 | delete arg3; | |
25319 | } | |
25320 | { | |
25321 | if (temp7) | |
25322 | delete arg7; | |
25323 | } | |
25324 | return NULL; | |
25325 | } | |
25326 | ||
25327 | ||
c32bde28 | 25328 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25329 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25330 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
25331 | PyObject * obj0 = 0 ; | |
25332 | char *kwnames[] = { | |
25333 | (char *) "self", NULL | |
25334 | }; | |
25335 | ||
25336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25339 | { |
25340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25341 | (arg1)->Initialize(); | |
25342 | ||
25343 | wxPyEndAllowThreads(__tstate); | |
25344 | if (PyErr_Occurred()) SWIG_fail; | |
25345 | } | |
25346 | Py_INCREF(Py_None); resultobj = Py_None; | |
25347 | return resultobj; | |
25348 | fail: | |
25349 | return NULL; | |
25350 | } | |
25351 | ||
25352 | ||
c32bde28 | 25353 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25354 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25355 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
25356 | PyObject * obj0 = 0 ; | |
25357 | char *kwnames[] = { | |
25358 | (char *) "self", NULL | |
25359 | }; | |
25360 | ||
25361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25362 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25363 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25364 | { |
25365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25366 | (arg1)->CreateControlBar(); | |
25367 | ||
25368 | wxPyEndAllowThreads(__tstate); | |
25369 | if (PyErr_Occurred()) SWIG_fail; | |
25370 | } | |
25371 | Py_INCREF(Py_None); resultobj = Py_None; | |
25372 | return resultobj; | |
25373 | fail: | |
25374 | return NULL; | |
25375 | } | |
25376 | ||
25377 | ||
c32bde28 | 25378 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25379 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25380 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
25381 | PyObject * obj0 = 0 ; | |
25382 | char *kwnames[] = { | |
25383 | (char *) "self", NULL | |
25384 | }; | |
25385 | ||
25386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25387 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25388 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25389 | { |
25390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25391 | (arg1)->CreateCanvas(); | |
25392 | ||
25393 | wxPyEndAllowThreads(__tstate); | |
25394 | if (PyErr_Occurred()) SWIG_fail; | |
25395 | } | |
25396 | Py_INCREF(Py_None); resultobj = Py_None; | |
25397 | return resultobj; | |
25398 | fail: | |
25399 | return NULL; | |
25400 | } | |
25401 | ||
25402 | ||
c32bde28 | 25403 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25404 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25405 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; |
25406 | wxPreviewControlBar *result; | |
25407 | PyObject * obj0 = 0 ; | |
25408 | char *kwnames[] = { | |
25409 | (char *) "self", NULL | |
25410 | }; | |
25411 | ||
25412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25415 | { |
25416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25417 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
25418 | ||
25419 | wxPyEndAllowThreads(__tstate); | |
25420 | if (PyErr_Occurred()) SWIG_fail; | |
25421 | } | |
15afbcd0 | 25422 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
25423 | return resultobj; |
25424 | fail: | |
25425 | return NULL; | |
25426 | } | |
25427 | ||
25428 | ||
c32bde28 | 25429 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25430 | PyObject *obj; |
25431 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25432 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
25433 | Py_INCREF(obj); | |
25434 | return Py_BuildValue((char *)""); | |
25435 | } | |
c32bde28 | 25436 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25437 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25438 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
25439 | long arg2 ; | |
25440 | wxWindow *arg3 = (wxWindow *) 0 ; | |
25441 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25442 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25443 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25444 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25445 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
25446 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
25447 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25448 | wxPreviewControlBar *result; | |
25449 | wxPoint temp4 ; | |
25450 | wxSize temp5 ; | |
ae8162c8 | 25451 | bool temp7 = false ; |
d14a1e28 | 25452 | PyObject * obj0 = 0 ; |
994141e6 | 25453 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
25454 | PyObject * obj2 = 0 ; |
25455 | PyObject * obj3 = 0 ; | |
25456 | PyObject * obj4 = 0 ; | |
994141e6 | 25457 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
25458 | PyObject * obj6 = 0 ; |
25459 | char *kwnames[] = { | |
25460 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25461 | }; | |
25462 | ||
994141e6 | 25463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
25464 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25465 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25466 | { | |
32fe5131 | 25467 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
25468 | if (SWIG_arg_fail(2)) SWIG_fail; |
25469 | } | |
25470 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25471 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
25472 | if (obj3) { |
25473 | { | |
25474 | arg4 = &temp4; | |
25475 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25476 | } | |
25477 | } | |
25478 | if (obj4) { | |
25479 | { | |
25480 | arg5 = &temp5; | |
25481 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25482 | } | |
25483 | } | |
994141e6 | 25484 | if (obj5) { |
093d3ff1 | 25485 | { |
32fe5131 | 25486 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
25487 | if (SWIG_arg_fail(6)) SWIG_fail; |
25488 | } | |
994141e6 | 25489 | } |
d14a1e28 RD |
25490 | if (obj6) { |
25491 | { | |
25492 | arg7 = wxString_in_helper(obj6); | |
25493 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 25494 | temp7 = true; |
d14a1e28 RD |
25495 | } |
25496 | } | |
25497 | { | |
e3b71cb8 | 25498 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25500 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25501 | ||
25502 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25503 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25504 | } |
15afbcd0 | 25505 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
25506 | { |
25507 | if (temp7) | |
25508 | delete arg7; | |
25509 | } | |
25510 | return resultobj; | |
25511 | fail: | |
25512 | { | |
25513 | if (temp7) | |
25514 | delete arg7; | |
25515 | } | |
25516 | return NULL; | |
25517 | } | |
25518 | ||
25519 | ||
c32bde28 | 25520 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25521 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25522 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25523 | int result; | |
25524 | PyObject * obj0 = 0 ; | |
25525 | char *kwnames[] = { | |
25526 | (char *) "self", NULL | |
25527 | }; | |
25528 | ||
25529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25530 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25531 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25532 | { |
25533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25534 | result = (int)(arg1)->GetZoomControl(); | |
25535 | ||
25536 | wxPyEndAllowThreads(__tstate); | |
25537 | if (PyErr_Occurred()) SWIG_fail; | |
25538 | } | |
093d3ff1 | 25539 | { |
32fe5131 | 25540 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 25541 | } |
d14a1e28 RD |
25542 | return resultobj; |
25543 | fail: | |
25544 | return NULL; | |
25545 | } | |
25546 | ||
25547 | ||
c32bde28 | 25548 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25549 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25550 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25551 | int arg2 ; | |
25552 | PyObject * obj0 = 0 ; | |
994141e6 | 25553 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
25554 | char *kwnames[] = { |
25555 | (char *) "self",(char *) "zoom", NULL | |
25556 | }; | |
25557 | ||
994141e6 | 25558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
25559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25561 | { | |
32fe5131 | 25562 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
25563 | if (SWIG_arg_fail(2)) SWIG_fail; |
25564 | } | |
d14a1e28 RD |
25565 | { |
25566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25567 | (arg1)->SetZoomControl(arg2); | |
25568 | ||
25569 | wxPyEndAllowThreads(__tstate); | |
25570 | if (PyErr_Occurred()) SWIG_fail; | |
25571 | } | |
25572 | Py_INCREF(Py_None); resultobj = Py_None; | |
25573 | return resultobj; | |
25574 | fail: | |
25575 | return NULL; | |
25576 | } | |
25577 | ||
25578 | ||
c32bde28 | 25579 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25580 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25581 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25582 | wxPrintPreview *result; | |
25583 | PyObject * obj0 = 0 ; | |
25584 | char *kwnames[] = { | |
25585 | (char *) "self", NULL | |
25586 | }; | |
25587 | ||
25588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25589 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25590 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25591 | { |
25592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25593 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
25594 | ||
25595 | wxPyEndAllowThreads(__tstate); | |
25596 | if (PyErr_Occurred()) SWIG_fail; | |
25597 | } | |
15afbcd0 | 25598 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
25599 | return resultobj; |
25600 | fail: | |
25601 | return NULL; | |
25602 | } | |
25603 | ||
25604 | ||
c32bde28 | 25605 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25606 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25607 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25608 | PyObject * obj0 = 0 ; | |
25609 | char *kwnames[] = { | |
25610 | (char *) "self", NULL | |
25611 | }; | |
25612 | ||
25613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25614 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25615 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25616 | { |
25617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25618 | (arg1)->OnNext(); | |
25619 | ||
25620 | wxPyEndAllowThreads(__tstate); | |
25621 | if (PyErr_Occurred()) SWIG_fail; | |
25622 | } | |
25623 | Py_INCREF(Py_None); resultobj = Py_None; | |
25624 | return resultobj; | |
25625 | fail: | |
25626 | return NULL; | |
25627 | } | |
25628 | ||
25629 | ||
c32bde28 | 25630 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25631 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25632 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25633 | PyObject * obj0 = 0 ; | |
25634 | char *kwnames[] = { | |
25635 | (char *) "self", NULL | |
25636 | }; | |
25637 | ||
25638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25639 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25640 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25641 | { |
25642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25643 | (arg1)->OnPrevious(); | |
25644 | ||
25645 | wxPyEndAllowThreads(__tstate); | |
25646 | if (PyErr_Occurred()) SWIG_fail; | |
25647 | } | |
25648 | Py_INCREF(Py_None); resultobj = Py_None; | |
25649 | return resultobj; | |
25650 | fail: | |
25651 | return NULL; | |
25652 | } | |
25653 | ||
25654 | ||
c32bde28 | 25655 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25656 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25657 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25658 | PyObject * obj0 = 0 ; | |
25659 | char *kwnames[] = { | |
25660 | (char *) "self", NULL | |
25661 | }; | |
25662 | ||
25663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25664 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25665 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25666 | { |
25667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25668 | (arg1)->OnFirst(); | |
25669 | ||
25670 | wxPyEndAllowThreads(__tstate); | |
25671 | if (PyErr_Occurred()) SWIG_fail; | |
25672 | } | |
25673 | Py_INCREF(Py_None); resultobj = Py_None; | |
25674 | return resultobj; | |
25675 | fail: | |
25676 | return NULL; | |
25677 | } | |
25678 | ||
25679 | ||
c32bde28 | 25680 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25681 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25682 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25683 | PyObject * obj0 = 0 ; | |
25684 | char *kwnames[] = { | |
25685 | (char *) "self", NULL | |
25686 | }; | |
25687 | ||
25688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25689 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25690 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25691 | { |
25692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25693 | (arg1)->OnLast(); | |
25694 | ||
25695 | wxPyEndAllowThreads(__tstate); | |
25696 | if (PyErr_Occurred()) SWIG_fail; | |
25697 | } | |
25698 | Py_INCREF(Py_None); resultobj = Py_None; | |
25699 | return resultobj; | |
25700 | fail: | |
25701 | return NULL; | |
25702 | } | |
25703 | ||
25704 | ||
c32bde28 | 25705 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25706 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25707 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; |
25708 | PyObject * obj0 = 0 ; | |
25709 | char *kwnames[] = { | |
25710 | (char *) "self", NULL | |
25711 | }; | |
25712 | ||
25713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25714 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25715 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25716 | { |
25717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25718 | (arg1)->OnGoto(); | |
25719 | ||
25720 | wxPyEndAllowThreads(__tstate); | |
25721 | if (PyErr_Occurred()) SWIG_fail; | |
25722 | } | |
25723 | Py_INCREF(Py_None); resultobj = Py_None; | |
25724 | return resultobj; | |
25725 | fail: | |
25726 | return NULL; | |
25727 | } | |
25728 | ||
25729 | ||
c32bde28 | 25730 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25731 | PyObject *obj; |
25732 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25733 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
25734 | Py_INCREF(obj); | |
25735 | return Py_BuildValue((char *)""); | |
25736 | } | |
c32bde28 | 25737 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 25738 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25739 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25740 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
7e08d4ef | 25741 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
25742 | wxPrintPreview *result; |
25743 | PyObject * obj0 = 0 ; | |
25744 | PyObject * obj1 = 0 ; | |
25745 | PyObject * obj2 = 0 ; | |
d14a1e28 | 25746 | |
7e08d4ef | 25747 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
25748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25750 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25751 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7e08d4ef RD |
25752 | if (obj2) { |
25753 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); | |
25754 | if (SWIG_arg_fail(3)) SWIG_fail; | |
25755 | } | |
d14a1e28 | 25756 | { |
e3b71cb8 | 25757 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25759 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25760 | ||
25761 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25762 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25763 | } |
15afbcd0 | 25764 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
25765 | return resultobj; |
25766 | fail: | |
25767 | return NULL; | |
25768 | } | |
25769 | ||
25770 | ||
c32bde28 | 25771 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 25772 | PyObject *resultobj = NULL; |
4276dc52 RD |
25773 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
25774 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25775 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
25776 | wxPrintPreview *result; | |
25777 | PyObject * obj0 = 0 ; | |
25778 | PyObject * obj1 = 0 ; | |
25779 | PyObject * obj2 = 0 ; | |
25780 | ||
25781 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
25782 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25783 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25784 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25785 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25786 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
25787 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4276dc52 | 25788 | { |
e3b71cb8 | 25789 | if (!wxPyCheckForApp()) SWIG_fail; |
4276dc52 RD |
25790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25791 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25792 | ||
25793 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25794 | if (PyErr_Occurred()) SWIG_fail; |
4276dc52 RD |
25795 | } |
25796 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
25797 | return resultobj; | |
25798 | fail: | |
25799 | return NULL; | |
25800 | } | |
25801 | ||
25802 | ||
25803 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
25804 | int argc; | |
25805 | PyObject *argv[4]; | |
25806 | int ii; | |
25807 | ||
25808 | argc = PyObject_Length(args); | |
25809 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
25810 | argv[ii] = PyTuple_GetItem(args,ii); | |
25811 | } | |
7e08d4ef | 25812 | if ((argc >= 2) && (argc <= 3)) { |
4276dc52 RD |
25813 | int _v; |
25814 | { | |
25815 | void *ptr; | |
25816 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25817 | _v = 0; | |
25818 | PyErr_Clear(); | |
25819 | } else { | |
25820 | _v = 1; | |
25821 | } | |
25822 | } | |
25823 | if (_v) { | |
25824 | { | |
25825 | void *ptr; | |
25826 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25827 | _v = 0; | |
25828 | PyErr_Clear(); | |
25829 | } else { | |
25830 | _v = 1; | |
25831 | } | |
25832 | } | |
25833 | if (_v) { | |
7e08d4ef RD |
25834 | if (argc <= 2) { |
25835 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
4276dc52 RD |
25836 | } |
25837 | { | |
25838 | void *ptr; | |
25839 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
25840 | _v = 0; | |
25841 | PyErr_Clear(); | |
25842 | } else { | |
25843 | _v = 1; | |
25844 | } | |
25845 | } | |
25846 | if (_v) { | |
25847 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
25848 | } | |
25849 | } | |
25850 | } | |
25851 | } | |
25852 | if (argc == 3) { | |
25853 | int _v; | |
25854 | { | |
25855 | void *ptr; | |
25856 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25857 | _v = 0; | |
25858 | PyErr_Clear(); | |
25859 | } else { | |
25860 | _v = 1; | |
25861 | } | |
25862 | } | |
25863 | if (_v) { | |
25864 | { | |
25865 | void *ptr; | |
25866 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25867 | _v = 0; | |
25868 | PyErr_Clear(); | |
25869 | } else { | |
25870 | _v = 1; | |
25871 | } | |
25872 | } | |
25873 | if (_v) { | |
25874 | { | |
25875 | void *ptr; | |
25876 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
25877 | _v = 0; | |
25878 | PyErr_Clear(); | |
25879 | } else { | |
25880 | _v = 1; | |
25881 | } | |
25882 | } | |
25883 | if (_v) { | |
7e08d4ef | 25884 | return _wrap_new_PrintPreview__SWIG_1(self,args); |
4276dc52 RD |
25885 | } |
25886 | } | |
25887 | } | |
25888 | } | |
25889 | ||
093d3ff1 | 25890 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'"); |
4276dc52 RD |
25891 | return NULL; |
25892 | } | |
25893 | ||
25894 | ||
c32bde28 | 25895 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25896 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25897 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
25898 | int arg2 ; | |
25899 | bool result; | |
25900 | PyObject * obj0 = 0 ; | |
994141e6 | 25901 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
25902 | char *kwnames[] = { |
25903 | (char *) "self",(char *) "pageNum", NULL | |
25904 | }; | |
25905 | ||
994141e6 | 25906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
25907 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25908 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25909 | { | |
32fe5131 | 25910 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
25911 | if (SWIG_arg_fail(2)) SWIG_fail; |
25912 | } | |
d14a1e28 RD |
25913 | { |
25914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25915 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
25916 | ||
25917 | wxPyEndAllowThreads(__tstate); | |
25918 | if (PyErr_Occurred()) SWIG_fail; | |
25919 | } | |
4f89f6a3 RD |
25920 | { |
25921 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25922 | } | |
d14a1e28 RD |
25923 | return resultobj; |
25924 | fail: | |
25925 | return NULL; | |
25926 | } | |
25927 | ||
25928 | ||
c32bde28 | 25929 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25930 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25931 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
25932 | int result; | |
25933 | PyObject * obj0 = 0 ; | |
25934 | char *kwnames[] = { | |
25935 | (char *) "self", NULL | |
25936 | }; | |
25937 | ||
25938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25939 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25940 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25941 | { |
25942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25943 | result = (int)(arg1)->GetCurrentPage(); | |
25944 | ||
25945 | wxPyEndAllowThreads(__tstate); | |
25946 | if (PyErr_Occurred()) SWIG_fail; | |
25947 | } | |
093d3ff1 | 25948 | { |
32fe5131 | 25949 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 25950 | } |
d14a1e28 RD |
25951 | return resultobj; |
25952 | fail: | |
25953 | return NULL; | |
25954 | } | |
25955 | ||
25956 | ||
c32bde28 | 25957 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25958 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25959 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
25960 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25961 | PyObject * obj0 = 0 ; | |
25962 | PyObject * obj1 = 0 ; | |
25963 | char *kwnames[] = { | |
25964 | (char *) "self",(char *) "printout", NULL | |
25965 | }; | |
25966 | ||
25967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
25968 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25969 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25970 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25971 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
25972 | { |
25973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25974 | (arg1)->SetPrintout(arg2); | |
25975 | ||
25976 | wxPyEndAllowThreads(__tstate); | |
25977 | if (PyErr_Occurred()) SWIG_fail; | |
25978 | } | |
25979 | Py_INCREF(Py_None); resultobj = Py_None; | |
25980 | return resultobj; | |
25981 | fail: | |
25982 | return NULL; | |
25983 | } | |
25984 | ||
25985 | ||
c32bde28 | 25986 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 25987 | PyObject *resultobj = NULL; |
d14a1e28 RD |
25988 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
25989 | wxPyPrintout *result; | |
25990 | PyObject * obj0 = 0 ; | |
25991 | char *kwnames[] = { | |
25992 | (char *) "self", NULL | |
25993 | }; | |
25994 | ||
25995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25996 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25997 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
25998 | { |
25999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26000 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
26001 | ||
26002 | wxPyEndAllowThreads(__tstate); | |
26003 | if (PyErr_Occurred()) SWIG_fail; | |
26004 | } | |
26005 | { | |
7e08d4ef | 26006 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
26007 | } |
26008 | return resultobj; | |
26009 | fail: | |
26010 | return NULL; | |
26011 | } | |
26012 | ||
26013 | ||
c32bde28 | 26014 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26015 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26016 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26017 | wxPyPrintout *result; | |
26018 | PyObject * obj0 = 0 ; | |
26019 | char *kwnames[] = { | |
26020 | (char *) "self", NULL | |
26021 | }; | |
26022 | ||
26023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26024 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26025 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26026 | { |
26027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26028 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
26029 | ||
26030 | wxPyEndAllowThreads(__tstate); | |
26031 | if (PyErr_Occurred()) SWIG_fail; | |
26032 | } | |
26033 | { | |
7e08d4ef | 26034 | resultobj = wxPyMake_wxObject(result, (bool)0); |
d14a1e28 RD |
26035 | } |
26036 | return resultobj; | |
26037 | fail: | |
26038 | return NULL; | |
26039 | } | |
26040 | ||
26041 | ||
c32bde28 | 26042 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26043 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26044 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26045 | wxFrame *arg2 = (wxFrame *) 0 ; | |
26046 | PyObject * obj0 = 0 ; | |
26047 | PyObject * obj1 = 0 ; | |
26048 | char *kwnames[] = { | |
26049 | (char *) "self",(char *) "frame", NULL | |
26050 | }; | |
26051 | ||
26052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26055 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
26056 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
26057 | { |
26058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26059 | (arg1)->SetFrame(arg2); | |
26060 | ||
26061 | wxPyEndAllowThreads(__tstate); | |
26062 | if (PyErr_Occurred()) SWIG_fail; | |
26063 | } | |
26064 | Py_INCREF(Py_None); resultobj = Py_None; | |
26065 | return resultobj; | |
26066 | fail: | |
26067 | return NULL; | |
26068 | } | |
26069 | ||
26070 | ||
c32bde28 | 26071 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26072 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26073 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26074 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26075 | PyObject * obj0 = 0 ; | |
26076 | PyObject * obj1 = 0 ; | |
26077 | char *kwnames[] = { | |
26078 | (char *) "self",(char *) "canvas", NULL | |
26079 | }; | |
26080 | ||
26081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26082 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26083 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26084 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26085 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
26086 | { |
26087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26088 | (arg1)->SetCanvas(arg2); | |
26089 | ||
26090 | wxPyEndAllowThreads(__tstate); | |
26091 | if (PyErr_Occurred()) SWIG_fail; | |
26092 | } | |
26093 | Py_INCREF(Py_None); resultobj = Py_None; | |
26094 | return resultobj; | |
26095 | fail: | |
26096 | return NULL; | |
26097 | } | |
26098 | ||
26099 | ||
c32bde28 | 26100 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26101 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26102 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26103 | wxFrame *result; | |
26104 | PyObject * obj0 = 0 ; | |
26105 | char *kwnames[] = { | |
26106 | (char *) "self", NULL | |
26107 | }; | |
26108 | ||
26109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26110 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26111 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26112 | { |
26113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26114 | result = (wxFrame *)(arg1)->GetFrame(); | |
26115 | ||
26116 | wxPyEndAllowThreads(__tstate); | |
26117 | if (PyErr_Occurred()) SWIG_fail; | |
26118 | } | |
26119 | { | |
412d302d | 26120 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
26121 | } |
26122 | return resultobj; | |
26123 | fail: | |
26124 | return NULL; | |
26125 | } | |
26126 | ||
26127 | ||
c32bde28 | 26128 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26129 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26130 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26131 | wxPreviewCanvas *result; | |
26132 | PyObject * obj0 = 0 ; | |
26133 | char *kwnames[] = { | |
26134 | (char *) "self", NULL | |
26135 | }; | |
26136 | ||
26137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26138 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26139 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26140 | { |
26141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26142 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
26143 | ||
26144 | wxPyEndAllowThreads(__tstate); | |
26145 | if (PyErr_Occurred()) SWIG_fail; | |
26146 | } | |
15afbcd0 | 26147 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
26148 | return resultobj; |
26149 | fail: | |
26150 | return NULL; | |
26151 | } | |
26152 | ||
26153 | ||
c32bde28 | 26154 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26155 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26156 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26157 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26158 | wxDC *arg3 = 0 ; | |
26159 | bool result; | |
26160 | PyObject * obj0 = 0 ; | |
26161 | PyObject * obj1 = 0 ; | |
26162 | PyObject * obj2 = 0 ; | |
26163 | char *kwnames[] = { | |
26164 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26165 | }; | |
26166 | ||
26167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26168 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26169 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26170 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26171 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26172 | { | |
26173 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26174 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26175 | if (arg3 == NULL) { | |
26176 | SWIG_null_ref("wxDC"); | |
26177 | } | |
26178 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
26179 | } |
26180 | { | |
26181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26182 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
26183 | ||
26184 | wxPyEndAllowThreads(__tstate); | |
26185 | if (PyErr_Occurred()) SWIG_fail; | |
26186 | } | |
4f89f6a3 RD |
26187 | { |
26188 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26189 | } | |
d14a1e28 RD |
26190 | return resultobj; |
26191 | fail: | |
26192 | return NULL; | |
26193 | } | |
26194 | ||
26195 | ||
c32bde28 | 26196 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26197 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26198 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26199 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26200 | wxDC *arg3 = 0 ; | |
26201 | bool result; | |
26202 | PyObject * obj0 = 0 ; | |
26203 | PyObject * obj1 = 0 ; | |
26204 | PyObject * obj2 = 0 ; | |
26205 | char *kwnames[] = { | |
26206 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26207 | }; | |
26208 | ||
26209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26210 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26211 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26212 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26213 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26214 | { | |
26215 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26216 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26217 | if (arg3 == NULL) { | |
26218 | SWIG_null_ref("wxDC"); | |
26219 | } | |
26220 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
26221 | } |
26222 | { | |
26223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26224 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
26225 | ||
26226 | wxPyEndAllowThreads(__tstate); | |
26227 | if (PyErr_Occurred()) SWIG_fail; | |
26228 | } | |
4f89f6a3 RD |
26229 | { |
26230 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26231 | } | |
d14a1e28 RD |
26232 | return resultobj; |
26233 | fail: | |
26234 | return NULL; | |
26235 | } | |
26236 | ||
26237 | ||
c32bde28 | 26238 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26239 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26240 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26241 | int arg2 ; | |
26242 | bool result; | |
26243 | PyObject * obj0 = 0 ; | |
994141e6 | 26244 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
26245 | char *kwnames[] = { |
26246 | (char *) "self",(char *) "pageNum", NULL | |
26247 | }; | |
26248 | ||
994141e6 | 26249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
26250 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26251 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26252 | { | |
32fe5131 | 26253 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
26254 | if (SWIG_arg_fail(2)) SWIG_fail; |
26255 | } | |
d14a1e28 RD |
26256 | { |
26257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26258 | result = (bool)(arg1)->RenderPage(arg2); | |
26259 | ||
26260 | wxPyEndAllowThreads(__tstate); | |
26261 | if (PyErr_Occurred()) SWIG_fail; | |
26262 | } | |
4f89f6a3 RD |
26263 | { |
26264 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26265 | } | |
d14a1e28 RD |
26266 | return resultobj; |
26267 | fail: | |
26268 | return NULL; | |
26269 | } | |
26270 | ||
26271 | ||
c32bde28 | 26272 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26273 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26274 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26275 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26276 | PyObject * obj0 = 0 ; | |
26277 | PyObject * obj1 = 0 ; | |
26278 | char *kwnames[] = { | |
26279 | (char *) "self",(char *) "canvas", NULL | |
26280 | }; | |
26281 | ||
26282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26285 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26286 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
26287 | { |
26288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26289 | (arg1)->AdjustScrollbars(arg2); | |
26290 | ||
26291 | wxPyEndAllowThreads(__tstate); | |
26292 | if (PyErr_Occurred()) SWIG_fail; | |
26293 | } | |
26294 | Py_INCREF(Py_None); resultobj = Py_None; | |
26295 | return resultobj; | |
26296 | fail: | |
26297 | return NULL; | |
26298 | } | |
26299 | ||
26300 | ||
c32bde28 | 26301 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26302 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26303 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26304 | wxPrintDialogData *result; | |
26305 | PyObject * obj0 = 0 ; | |
26306 | char *kwnames[] = { | |
26307 | (char *) "self", NULL | |
26308 | }; | |
26309 | ||
26310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26311 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26312 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26313 | { |
26314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26315 | { | |
26316 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
26317 | result = (wxPrintDialogData *) &_result_ref; | |
26318 | } | |
26319 | ||
26320 | wxPyEndAllowThreads(__tstate); | |
26321 | if (PyErr_Occurred()) SWIG_fail; | |
26322 | } | |
15afbcd0 | 26323 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
26324 | return resultobj; |
26325 | fail: | |
26326 | return NULL; | |
26327 | } | |
26328 | ||
26329 | ||
c32bde28 | 26330 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26331 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26332 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26333 | int arg2 ; | |
26334 | PyObject * obj0 = 0 ; | |
994141e6 | 26335 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
26336 | char *kwnames[] = { |
26337 | (char *) "self",(char *) "percent", NULL | |
26338 | }; | |
26339 | ||
994141e6 | 26340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
26341 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26342 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26343 | { | |
32fe5131 | 26344 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
26345 | if (SWIG_arg_fail(2)) SWIG_fail; |
26346 | } | |
d14a1e28 RD |
26347 | { |
26348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26349 | (arg1)->SetZoom(arg2); | |
26350 | ||
26351 | wxPyEndAllowThreads(__tstate); | |
26352 | if (PyErr_Occurred()) SWIG_fail; | |
26353 | } | |
26354 | Py_INCREF(Py_None); resultobj = Py_None; | |
26355 | return resultobj; | |
26356 | fail: | |
26357 | return NULL; | |
26358 | } | |
26359 | ||
26360 | ||
c32bde28 | 26361 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26362 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26363 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26364 | int result; | |
26365 | PyObject * obj0 = 0 ; | |
26366 | char *kwnames[] = { | |
26367 | (char *) "self", NULL | |
26368 | }; | |
26369 | ||
26370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26371 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26372 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26373 | { |
26374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26375 | result = (int)(arg1)->GetZoom(); | |
26376 | ||
26377 | wxPyEndAllowThreads(__tstate); | |
26378 | if (PyErr_Occurred()) SWIG_fail; | |
26379 | } | |
093d3ff1 | 26380 | { |
32fe5131 | 26381 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 26382 | } |
d14a1e28 RD |
26383 | return resultobj; |
26384 | fail: | |
26385 | return NULL; | |
26386 | } | |
26387 | ||
26388 | ||
c32bde28 | 26389 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26390 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26391 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26392 | int result; | |
26393 | PyObject * obj0 = 0 ; | |
26394 | char *kwnames[] = { | |
26395 | (char *) "self", NULL | |
26396 | }; | |
26397 | ||
26398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26401 | { |
26402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26403 | result = (int)(arg1)->GetMaxPage(); | |
26404 | ||
26405 | wxPyEndAllowThreads(__tstate); | |
26406 | if (PyErr_Occurred()) SWIG_fail; | |
26407 | } | |
093d3ff1 | 26408 | { |
32fe5131 | 26409 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 26410 | } |
d14a1e28 RD |
26411 | return resultobj; |
26412 | fail: | |
26413 | return NULL; | |
26414 | } | |
26415 | ||
26416 | ||
c32bde28 | 26417 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26418 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26419 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26420 | int result; | |
26421 | PyObject * obj0 = 0 ; | |
26422 | char *kwnames[] = { | |
26423 | (char *) "self", NULL | |
26424 | }; | |
26425 | ||
26426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26427 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26428 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26429 | { |
26430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26431 | result = (int)(arg1)->GetMinPage(); | |
26432 | ||
26433 | wxPyEndAllowThreads(__tstate); | |
26434 | if (PyErr_Occurred()) SWIG_fail; | |
26435 | } | |
093d3ff1 | 26436 | { |
32fe5131 | 26437 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 26438 | } |
d14a1e28 RD |
26439 | return resultobj; |
26440 | fail: | |
26441 | return NULL; | |
26442 | } | |
26443 | ||
26444 | ||
c32bde28 | 26445 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26446 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26447 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26448 | bool result; | |
26449 | PyObject * obj0 = 0 ; | |
26450 | char *kwnames[] = { | |
26451 | (char *) "self", NULL | |
26452 | }; | |
26453 | ||
26454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26455 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26456 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26457 | { |
26458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26459 | result = (bool)(arg1)->Ok(); | |
26460 | ||
26461 | wxPyEndAllowThreads(__tstate); | |
26462 | if (PyErr_Occurred()) SWIG_fail; | |
26463 | } | |
4f89f6a3 RD |
26464 | { |
26465 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26466 | } | |
d14a1e28 RD |
26467 | return resultobj; |
26468 | fail: | |
26469 | return NULL; | |
26470 | } | |
26471 | ||
26472 | ||
c32bde28 | 26473 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26474 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26475 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26476 | bool arg2 ; | |
26477 | PyObject * obj0 = 0 ; | |
26478 | PyObject * obj1 = 0 ; | |
26479 | char *kwnames[] = { | |
26480 | (char *) "self",(char *) "ok", NULL | |
26481 | }; | |
26482 | ||
26483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26486 | { | |
32fe5131 | 26487 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
26488 | if (SWIG_arg_fail(2)) SWIG_fail; |
26489 | } | |
d14a1e28 RD |
26490 | { |
26491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26492 | (arg1)->SetOk(arg2); | |
26493 | ||
26494 | wxPyEndAllowThreads(__tstate); | |
26495 | if (PyErr_Occurred()) SWIG_fail; | |
26496 | } | |
26497 | Py_INCREF(Py_None); resultobj = Py_None; | |
26498 | return resultobj; | |
26499 | fail: | |
26500 | return NULL; | |
26501 | } | |
26502 | ||
26503 | ||
c32bde28 | 26504 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26505 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26506 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26507 | bool arg2 ; | |
26508 | bool result; | |
26509 | PyObject * obj0 = 0 ; | |
26510 | PyObject * obj1 = 0 ; | |
26511 | char *kwnames[] = { | |
26512 | (char *) "self",(char *) "interactive", NULL | |
26513 | }; | |
26514 | ||
26515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26516 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26517 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26518 | { | |
32fe5131 | 26519 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
26520 | if (SWIG_arg_fail(2)) SWIG_fail; |
26521 | } | |
d14a1e28 RD |
26522 | { |
26523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26524 | result = (bool)(arg1)->Print(arg2); | |
26525 | ||
26526 | wxPyEndAllowThreads(__tstate); | |
26527 | if (PyErr_Occurred()) SWIG_fail; | |
26528 | } | |
4f89f6a3 RD |
26529 | { |
26530 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26531 | } | |
d14a1e28 RD |
26532 | return resultobj; |
26533 | fail: | |
26534 | return NULL; | |
26535 | } | |
26536 | ||
26537 | ||
c32bde28 | 26538 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26539 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26540 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
26541 | PyObject * obj0 = 0 ; | |
26542 | char *kwnames[] = { | |
26543 | (char *) "self", NULL | |
26544 | }; | |
26545 | ||
26546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26547 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26548 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26549 | { |
26550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26551 | (arg1)->DetermineScaling(); | |
26552 | ||
26553 | wxPyEndAllowThreads(__tstate); | |
26554 | if (PyErr_Occurred()) SWIG_fail; | |
26555 | } | |
26556 | Py_INCREF(Py_None); resultobj = Py_None; | |
26557 | return resultobj; | |
26558 | fail: | |
26559 | return NULL; | |
26560 | } | |
26561 | ||
26562 | ||
c32bde28 | 26563 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
26564 | PyObject *obj; |
26565 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
26566 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
26567 | Py_INCREF(obj); | |
26568 | return Py_BuildValue((char *)""); | |
26569 | } | |
c32bde28 | 26570 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
32fe5131 | 26571 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26572 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
26573 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
7e08d4ef | 26574 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
26575 | wxPyPrintPreview *result; |
26576 | PyObject * obj0 = 0 ; | |
26577 | PyObject * obj1 = 0 ; | |
26578 | PyObject * obj2 = 0 ; | |
d14a1e28 | 26579 | |
7e08d4ef | 26580 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
26581 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26582 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26583 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26584 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7e08d4ef RD |
26585 | if (obj2) { |
26586 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); | |
26587 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26588 | } | |
d14a1e28 | 26589 | { |
e3b71cb8 | 26590 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
26591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26592 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26593 | ||
26594 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26595 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 26596 | } |
15afbcd0 | 26597 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
26598 | return resultobj; |
26599 | fail: | |
26600 | return NULL; | |
26601 | } | |
26602 | ||
26603 | ||
c32bde28 | 26604 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
32fe5131 | 26605 | PyObject *resultobj = NULL; |
4276dc52 RD |
26606 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; |
26607 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26608 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
26609 | wxPyPrintPreview *result; | |
26610 | PyObject * obj0 = 0 ; | |
26611 | PyObject * obj1 = 0 ; | |
26612 | PyObject * obj2 = 0 ; | |
26613 | ||
26614 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26615 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26616 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26617 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26618 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26619 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
26620 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4276dc52 | 26621 | { |
e3b71cb8 | 26622 | if (!wxPyCheckForApp()) SWIG_fail; |
4276dc52 RD |
26623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26624 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26625 | ||
26626 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26627 | if (PyErr_Occurred()) SWIG_fail; |
4276dc52 RD |
26628 | } |
26629 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
26630 | return resultobj; | |
26631 | fail: | |
26632 | return NULL; | |
26633 | } | |
26634 | ||
26635 | ||
26636 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
26637 | int argc; | |
26638 | PyObject *argv[4]; | |
26639 | int ii; | |
26640 | ||
26641 | argc = PyObject_Length(args); | |
26642 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
26643 | argv[ii] = PyTuple_GetItem(args,ii); | |
26644 | } | |
7e08d4ef | 26645 | if ((argc >= 2) && (argc <= 3)) { |
4276dc52 RD |
26646 | int _v; |
26647 | { | |
26648 | void *ptr; | |
26649 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26650 | _v = 0; | |
26651 | PyErr_Clear(); | |
26652 | } else { | |
26653 | _v = 1; | |
26654 | } | |
26655 | } | |
26656 | if (_v) { | |
26657 | { | |
26658 | void *ptr; | |
26659 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26660 | _v = 0; | |
26661 | PyErr_Clear(); | |
26662 | } else { | |
26663 | _v = 1; | |
26664 | } | |
26665 | } | |
26666 | if (_v) { | |
7e08d4ef RD |
26667 | if (argc <= 2) { |
26668 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
4276dc52 RD |
26669 | } |
26670 | { | |
26671 | void *ptr; | |
26672 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
26673 | _v = 0; | |
26674 | PyErr_Clear(); | |
26675 | } else { | |
26676 | _v = 1; | |
26677 | } | |
26678 | } | |
26679 | if (_v) { | |
26680 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
26681 | } | |
26682 | } | |
26683 | } | |
26684 | } | |
26685 | if (argc == 3) { | |
26686 | int _v; | |
26687 | { | |
26688 | void *ptr; | |
26689 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26690 | _v = 0; | |
26691 | PyErr_Clear(); | |
26692 | } else { | |
26693 | _v = 1; | |
26694 | } | |
26695 | } | |
26696 | if (_v) { | |
26697 | { | |
26698 | void *ptr; | |
26699 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26700 | _v = 0; | |
26701 | PyErr_Clear(); | |
26702 | } else { | |
26703 | _v = 1; | |
26704 | } | |
26705 | } | |
26706 | if (_v) { | |
26707 | { | |
26708 | void *ptr; | |
26709 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
26710 | _v = 0; | |
26711 | PyErr_Clear(); | |
26712 | } else { | |
26713 | _v = 1; | |
26714 | } | |
26715 | } | |
26716 | if (_v) { | |
7e08d4ef | 26717 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); |
4276dc52 RD |
26718 | } |
26719 | } | |
26720 | } | |
26721 | } | |
26722 | ||
093d3ff1 | 26723 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'"); |
4276dc52 RD |
26724 | return NULL; |
26725 | } | |
26726 | ||
26727 | ||
c32bde28 | 26728 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26729 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26730 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26731 | PyObject *arg2 = (PyObject *) 0 ; | |
26732 | PyObject *arg3 = (PyObject *) 0 ; | |
26733 | PyObject * obj0 = 0 ; | |
26734 | PyObject * obj1 = 0 ; | |
26735 | PyObject * obj2 = 0 ; | |
26736 | char *kwnames[] = { | |
26737 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
26738 | }; | |
26739 | ||
26740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26741 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26742 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26743 | arg2 = obj1; |
26744 | arg3 = obj2; | |
26745 | { | |
26746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26747 | (arg1)->_setCallbackInfo(arg2,arg3); | |
26748 | ||
26749 | wxPyEndAllowThreads(__tstate); | |
26750 | if (PyErr_Occurred()) SWIG_fail; | |
26751 | } | |
26752 | Py_INCREF(Py_None); resultobj = Py_None; | |
26753 | return resultobj; | |
26754 | fail: | |
26755 | return NULL; | |
26756 | } | |
26757 | ||
26758 | ||
c26d9ab4 | 26759 | static PyObject *_wrap_PyPrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26760 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26761 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26762 | int arg2 ; | |
26763 | bool result; | |
26764 | PyObject * obj0 = 0 ; | |
994141e6 | 26765 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
26766 | char *kwnames[] = { |
26767 | (char *) "self",(char *) "pageNum", NULL | |
26768 | }; | |
26769 | ||
c26d9ab4 | 26770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
26771 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26772 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26773 | { | |
32fe5131 | 26774 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
26775 | if (SWIG_arg_fail(2)) SWIG_fail; |
26776 | } | |
d14a1e28 RD |
26777 | { |
26778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 26779 | result = (bool)(arg1)->SetCurrentPage(arg2); |
d14a1e28 RD |
26780 | |
26781 | wxPyEndAllowThreads(__tstate); | |
26782 | if (PyErr_Occurred()) SWIG_fail; | |
26783 | } | |
4f89f6a3 RD |
26784 | { |
26785 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26786 | } | |
d14a1e28 RD |
26787 | return resultobj; |
26788 | fail: | |
26789 | return NULL; | |
26790 | } | |
26791 | ||
26792 | ||
c26d9ab4 | 26793 | static PyObject *_wrap_PyPrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26794 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26795 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26796 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26797 | wxDC *arg3 = 0 ; | |
26798 | bool result; | |
26799 | PyObject * obj0 = 0 ; | |
26800 | PyObject * obj1 = 0 ; | |
26801 | PyObject * obj2 = 0 ; | |
26802 | char *kwnames[] = { | |
26803 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26804 | }; | |
26805 | ||
c26d9ab4 | 26806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
26807 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26808 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26809 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26810 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26811 | { | |
26812 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26813 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26814 | if (arg3 == NULL) { | |
26815 | SWIG_null_ref("wxDC"); | |
26816 | } | |
26817 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
26818 | } |
26819 | { | |
26820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 26821 | result = (bool)(arg1)->PaintPage(arg2,*arg3); |
d14a1e28 RD |
26822 | |
26823 | wxPyEndAllowThreads(__tstate); | |
26824 | if (PyErr_Occurred()) SWIG_fail; | |
26825 | } | |
4f89f6a3 RD |
26826 | { |
26827 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26828 | } | |
d14a1e28 RD |
26829 | return resultobj; |
26830 | fail: | |
26831 | return NULL; | |
26832 | } | |
26833 | ||
26834 | ||
c26d9ab4 | 26835 | static PyObject *_wrap_PyPrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26836 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26837 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26838 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26839 | wxDC *arg3 = 0 ; | |
26840 | bool result; | |
26841 | PyObject * obj0 = 0 ; | |
26842 | PyObject * obj1 = 0 ; | |
26843 | PyObject * obj2 = 0 ; | |
26844 | char *kwnames[] = { | |
26845 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26846 | }; | |
26847 | ||
c26d9ab4 | 26848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
26849 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26850 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26851 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26852 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26853 | { | |
26854 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26855 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26856 | if (arg3 == NULL) { | |
26857 | SWIG_null_ref("wxDC"); | |
26858 | } | |
26859 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
26860 | } |
26861 | { | |
26862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 26863 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); |
d14a1e28 RD |
26864 | |
26865 | wxPyEndAllowThreads(__tstate); | |
26866 | if (PyErr_Occurred()) SWIG_fail; | |
26867 | } | |
4f89f6a3 RD |
26868 | { |
26869 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26870 | } | |
d14a1e28 RD |
26871 | return resultobj; |
26872 | fail: | |
26873 | return NULL; | |
26874 | } | |
26875 | ||
26876 | ||
c26d9ab4 | 26877 | static PyObject *_wrap_PyPrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26878 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26879 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26880 | int arg2 ; | |
26881 | bool result; | |
26882 | PyObject * obj0 = 0 ; | |
994141e6 | 26883 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
26884 | char *kwnames[] = { |
26885 | (char *) "self",(char *) "pageNum", NULL | |
26886 | }; | |
26887 | ||
c26d9ab4 | 26888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
26889 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26890 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26891 | { | |
32fe5131 | 26892 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
26893 | if (SWIG_arg_fail(2)) SWIG_fail; |
26894 | } | |
d14a1e28 RD |
26895 | { |
26896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 26897 | result = (bool)(arg1)->RenderPage(arg2); |
d14a1e28 RD |
26898 | |
26899 | wxPyEndAllowThreads(__tstate); | |
26900 | if (PyErr_Occurred()) SWIG_fail; | |
26901 | } | |
4f89f6a3 RD |
26902 | { |
26903 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26904 | } | |
d14a1e28 RD |
26905 | return resultobj; |
26906 | fail: | |
26907 | return NULL; | |
26908 | } | |
26909 | ||
26910 | ||
c26d9ab4 | 26911 | static PyObject *_wrap_PyPrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26912 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26913 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26914 | int arg2 ; | |
26915 | PyObject * obj0 = 0 ; | |
994141e6 | 26916 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
26917 | char *kwnames[] = { |
26918 | (char *) "self",(char *) "percent", NULL | |
26919 | }; | |
26920 | ||
c26d9ab4 | 26921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
26922 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26923 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26924 | { | |
32fe5131 | 26925 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
26926 | if (SWIG_arg_fail(2)) SWIG_fail; |
26927 | } | |
d14a1e28 RD |
26928 | { |
26929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 26930 | (arg1)->SetZoom(arg2); |
d14a1e28 RD |
26931 | |
26932 | wxPyEndAllowThreads(__tstate); | |
26933 | if (PyErr_Occurred()) SWIG_fail; | |
26934 | } | |
26935 | Py_INCREF(Py_None); resultobj = Py_None; | |
26936 | return resultobj; | |
26937 | fail: | |
26938 | return NULL; | |
26939 | } | |
26940 | ||
26941 | ||
c26d9ab4 | 26942 | static PyObject *_wrap_PyPrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26943 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26944 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26945 | bool arg2 ; | |
26946 | bool result; | |
26947 | PyObject * obj0 = 0 ; | |
26948 | PyObject * obj1 = 0 ; | |
26949 | char *kwnames[] = { | |
26950 | (char *) "self",(char *) "interactive", NULL | |
26951 | }; | |
26952 | ||
c26d9ab4 | 26953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
26954 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26955 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26956 | { | |
32fe5131 | 26957 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
26958 | if (SWIG_arg_fail(2)) SWIG_fail; |
26959 | } | |
d14a1e28 RD |
26960 | { |
26961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 26962 | result = (bool)(arg1)->Print(arg2); |
d14a1e28 RD |
26963 | |
26964 | wxPyEndAllowThreads(__tstate); | |
26965 | if (PyErr_Occurred()) SWIG_fail; | |
26966 | } | |
4f89f6a3 RD |
26967 | { |
26968 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26969 | } | |
d14a1e28 RD |
26970 | return resultobj; |
26971 | fail: | |
26972 | return NULL; | |
26973 | } | |
26974 | ||
26975 | ||
c26d9ab4 | 26976 | static PyObject *_wrap_PyPrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 26977 | PyObject *resultobj = NULL; |
d14a1e28 RD |
26978 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; |
26979 | PyObject * obj0 = 0 ; | |
26980 | char *kwnames[] = { | |
26981 | (char *) "self", NULL | |
26982 | }; | |
26983 | ||
c26d9ab4 | 26984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
26985 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26986 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
26987 | { |
26988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 26989 | (arg1)->DetermineScaling(); |
d14a1e28 RD |
26990 | |
26991 | wxPyEndAllowThreads(__tstate); | |
26992 | if (PyErr_Occurred()) SWIG_fail; | |
26993 | } | |
26994 | Py_INCREF(Py_None); resultobj = Py_None; | |
26995 | return resultobj; | |
26996 | fail: | |
26997 | return NULL; | |
26998 | } | |
26999 | ||
27000 | ||
c32bde28 | 27001 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
27002 | PyObject *obj; |
27003 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27004 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
27005 | Py_INCREF(obj); | |
27006 | return Py_BuildValue((char *)""); | |
27007 | } | |
c32bde28 | 27008 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27009 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27010 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
27011 | wxFrame *arg2 = (wxFrame *) 0 ; | |
27012 | wxString *arg3 = 0 ; | |
27013 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27014 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27015 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27016 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27017 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
27018 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
27019 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27020 | wxPyPreviewFrame *result; | |
ae8162c8 | 27021 | bool temp3 = false ; |
d14a1e28 RD |
27022 | wxPoint temp4 ; |
27023 | wxSize temp5 ; | |
ae8162c8 | 27024 | bool temp7 = false ; |
d14a1e28 RD |
27025 | PyObject * obj0 = 0 ; |
27026 | PyObject * obj1 = 0 ; | |
27027 | PyObject * obj2 = 0 ; | |
27028 | PyObject * obj3 = 0 ; | |
27029 | PyObject * obj4 = 0 ; | |
994141e6 | 27030 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
27031 | PyObject * obj6 = 0 ; |
27032 | char *kwnames[] = { | |
27033 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27034 | }; | |
27035 | ||
994141e6 | 27036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
27037 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27038 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27039 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
27040 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
27041 | { |
27042 | arg3 = wxString_in_helper(obj2); | |
27043 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 27044 | temp3 = true; |
d14a1e28 RD |
27045 | } |
27046 | if (obj3) { | |
27047 | { | |
27048 | arg4 = &temp4; | |
27049 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27050 | } | |
27051 | } | |
27052 | if (obj4) { | |
27053 | { | |
27054 | arg5 = &temp5; | |
27055 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27056 | } | |
27057 | } | |
994141e6 | 27058 | if (obj5) { |
093d3ff1 | 27059 | { |
32fe5131 | 27060 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
27061 | if (SWIG_arg_fail(6)) SWIG_fail; |
27062 | } | |
994141e6 | 27063 | } |
d14a1e28 RD |
27064 | if (obj6) { |
27065 | { | |
27066 | arg7 = wxString_in_helper(obj6); | |
27067 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 27068 | temp7 = true; |
d14a1e28 RD |
27069 | } |
27070 | } | |
27071 | { | |
e3b71cb8 | 27072 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
27073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27074 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27075 | ||
27076 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27077 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 27078 | } |
15afbcd0 | 27079 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
27080 | { |
27081 | if (temp3) | |
27082 | delete arg3; | |
27083 | } | |
27084 | { | |
27085 | if (temp7) | |
27086 | delete arg7; | |
27087 | } | |
27088 | return resultobj; | |
27089 | fail: | |
27090 | { | |
27091 | if (temp3) | |
27092 | delete arg3; | |
27093 | } | |
27094 | { | |
27095 | if (temp7) | |
27096 | delete arg7; | |
27097 | } | |
27098 | return NULL; | |
27099 | } | |
27100 | ||
27101 | ||
c32bde28 | 27102 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27103 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27104 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27105 | PyObject *arg2 = (PyObject *) 0 ; | |
27106 | PyObject *arg3 = (PyObject *) 0 ; | |
27107 | PyObject * obj0 = 0 ; | |
27108 | PyObject * obj1 = 0 ; | |
27109 | PyObject * obj2 = 0 ; | |
27110 | char *kwnames[] = { | |
27111 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27112 | }; | |
27113 | ||
27114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
27115 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27116 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27117 | arg2 = obj1; |
27118 | arg3 = obj2; | |
27119 | { | |
27120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27121 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27122 | ||
27123 | wxPyEndAllowThreads(__tstate); | |
27124 | if (PyErr_Occurred()) SWIG_fail; | |
27125 | } | |
27126 | Py_INCREF(Py_None); resultobj = Py_None; | |
27127 | return resultobj; | |
27128 | fail: | |
27129 | return NULL; | |
27130 | } | |
27131 | ||
27132 | ||
c32bde28 | 27133 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27134 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27135 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27136 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
27137 | PyObject * obj0 = 0 ; | |
27138 | PyObject * obj1 = 0 ; | |
27139 | char *kwnames[] = { | |
27140 | (char *) "self",(char *) "canvas", NULL | |
27141 | }; | |
27142 | ||
27143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27144 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27145 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27146 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
27147 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
27148 | { |
27149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27150 | (arg1)->SetPreviewCanvas(arg2); | |
27151 | ||
27152 | wxPyEndAllowThreads(__tstate); | |
27153 | if (PyErr_Occurred()) SWIG_fail; | |
27154 | } | |
27155 | Py_INCREF(Py_None); resultobj = Py_None; | |
27156 | return resultobj; | |
27157 | fail: | |
27158 | return NULL; | |
27159 | } | |
27160 | ||
27161 | ||
c32bde28 | 27162 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27163 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27164 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27165 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
27166 | PyObject * obj0 = 0 ; | |
27167 | PyObject * obj1 = 0 ; | |
27168 | char *kwnames[] = { | |
27169 | (char *) "self",(char *) "bar", NULL | |
27170 | }; | |
27171 | ||
27172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27173 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27174 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27175 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); | |
27176 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
27177 | { |
27178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27179 | (arg1)->SetControlBar(arg2); | |
27180 | ||
27181 | wxPyEndAllowThreads(__tstate); | |
27182 | if (PyErr_Occurred()) SWIG_fail; | |
27183 | } | |
27184 | Py_INCREF(Py_None); resultobj = Py_None; | |
27185 | return resultobj; | |
27186 | fail: | |
27187 | return NULL; | |
27188 | } | |
27189 | ||
27190 | ||
c26d9ab4 | 27191 | static PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27192 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27193 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27194 | PyObject * obj0 = 0 ; | |
27195 | char *kwnames[] = { | |
27196 | (char *) "self", NULL | |
27197 | }; | |
27198 | ||
c26d9ab4 | 27199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_Initialize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
27200 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27201 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27202 | { |
27203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27204 | (arg1)->Initialize(); |
d14a1e28 RD |
27205 | |
27206 | wxPyEndAllowThreads(__tstate); | |
27207 | if (PyErr_Occurred()) SWIG_fail; | |
27208 | } | |
27209 | Py_INCREF(Py_None); resultobj = Py_None; | |
27210 | return resultobj; | |
27211 | fail: | |
27212 | return NULL; | |
27213 | } | |
27214 | ||
27215 | ||
c26d9ab4 | 27216 | static PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27217 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27218 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27219 | PyObject * obj0 = 0 ; | |
27220 | char *kwnames[] = { | |
27221 | (char *) "self", NULL | |
27222 | }; | |
27223 | ||
c26d9ab4 | 27224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
27225 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27226 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27227 | { |
27228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27229 | (arg1)->CreateCanvas(); |
d14a1e28 RD |
27230 | |
27231 | wxPyEndAllowThreads(__tstate); | |
27232 | if (PyErr_Occurred()) SWIG_fail; | |
27233 | } | |
27234 | Py_INCREF(Py_None); resultobj = Py_None; | |
27235 | return resultobj; | |
27236 | fail: | |
27237 | return NULL; | |
27238 | } | |
27239 | ||
27240 | ||
c26d9ab4 | 27241 | static PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27242 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27243 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; |
27244 | PyObject * obj0 = 0 ; | |
27245 | char *kwnames[] = { | |
27246 | (char *) "self", NULL | |
27247 | }; | |
27248 | ||
c26d9ab4 | 27249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
27250 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27251 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27252 | { |
27253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27254 | (arg1)->CreateControlBar(); |
d14a1e28 RD |
27255 | |
27256 | wxPyEndAllowThreads(__tstate); | |
27257 | if (PyErr_Occurred()) SWIG_fail; | |
27258 | } | |
27259 | Py_INCREF(Py_None); resultobj = Py_None; | |
27260 | return resultobj; | |
27261 | fail: | |
27262 | return NULL; | |
27263 | } | |
27264 | ||
27265 | ||
c32bde28 | 27266 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
27267 | PyObject *obj; |
27268 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27269 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
27270 | Py_INCREF(obj); | |
27271 | return Py_BuildValue((char *)""); | |
27272 | } | |
c32bde28 | 27273 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27274 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27275 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; |
27276 | long arg2 ; | |
27277 | wxWindow *arg3 = (wxWindow *) 0 ; | |
27278 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27279 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27280 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27281 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27282 | long arg6 = (long) 0 ; | |
27283 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
27284 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27285 | wxPyPreviewControlBar *result; | |
27286 | wxPoint temp4 ; | |
27287 | wxSize temp5 ; | |
ae8162c8 | 27288 | bool temp7 = false ; |
d14a1e28 | 27289 | PyObject * obj0 = 0 ; |
994141e6 | 27290 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
27291 | PyObject * obj2 = 0 ; |
27292 | PyObject * obj3 = 0 ; | |
27293 | PyObject * obj4 = 0 ; | |
994141e6 | 27294 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
27295 | PyObject * obj6 = 0 ; |
27296 | char *kwnames[] = { | |
27297 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27298 | }; | |
27299 | ||
994141e6 | 27300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
27301 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27302 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27303 | { | |
32fe5131 | 27304 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
093d3ff1 RD |
27305 | if (SWIG_arg_fail(2)) SWIG_fail; |
27306 | } | |
27307 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
27308 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d14a1e28 RD |
27309 | if (obj3) { |
27310 | { | |
27311 | arg4 = &temp4; | |
27312 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27313 | } | |
27314 | } | |
27315 | if (obj4) { | |
27316 | { | |
27317 | arg5 = &temp5; | |
27318 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27319 | } | |
27320 | } | |
994141e6 | 27321 | if (obj5) { |
093d3ff1 | 27322 | { |
32fe5131 | 27323 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
27324 | if (SWIG_arg_fail(6)) SWIG_fail; |
27325 | } | |
994141e6 | 27326 | } |
d14a1e28 RD |
27327 | if (obj6) { |
27328 | { | |
27329 | arg7 = wxString_in_helper(obj6); | |
27330 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 27331 | temp7 = true; |
d14a1e28 RD |
27332 | } |
27333 | } | |
27334 | { | |
e3b71cb8 | 27335 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
27336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27337 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27338 | ||
27339 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27340 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 27341 | } |
15afbcd0 | 27342 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
27343 | { |
27344 | if (temp7) | |
27345 | delete arg7; | |
27346 | } | |
27347 | return resultobj; | |
27348 | fail: | |
27349 | { | |
27350 | if (temp7) | |
27351 | delete arg7; | |
27352 | } | |
27353 | return NULL; | |
27354 | } | |
27355 | ||
27356 | ||
c32bde28 | 27357 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27358 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27359 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
27360 | PyObject *arg2 = (PyObject *) 0 ; | |
27361 | PyObject *arg3 = (PyObject *) 0 ; | |
27362 | PyObject * obj0 = 0 ; | |
27363 | PyObject * obj1 = 0 ; | |
27364 | PyObject * obj2 = 0 ; | |
27365 | char *kwnames[] = { | |
27366 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27367 | }; | |
27368 | ||
27369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
27370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27372 | arg2 = obj1; |
27373 | arg3 = obj2; | |
27374 | { | |
27375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27376 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27377 | ||
27378 | wxPyEndAllowThreads(__tstate); | |
27379 | if (PyErr_Occurred()) SWIG_fail; | |
27380 | } | |
27381 | Py_INCREF(Py_None); resultobj = Py_None; | |
27382 | return resultobj; | |
27383 | fail: | |
27384 | return NULL; | |
27385 | } | |
27386 | ||
27387 | ||
c32bde28 | 27388 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27389 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27390 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
27391 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
27392 | PyObject * obj0 = 0 ; | |
27393 | PyObject * obj1 = 0 ; | |
27394 | char *kwnames[] = { | |
27395 | (char *) "self",(char *) "preview", NULL | |
27396 | }; | |
27397 | ||
27398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27401 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); | |
27402 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
27403 | { |
27404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27405 | (arg1)->SetPrintPreview(arg2); | |
27406 | ||
27407 | wxPyEndAllowThreads(__tstate); | |
27408 | if (PyErr_Occurred()) SWIG_fail; | |
27409 | } | |
27410 | Py_INCREF(Py_None); resultobj = Py_None; | |
27411 | return resultobj; | |
27412 | fail: | |
27413 | return NULL; | |
27414 | } | |
27415 | ||
27416 | ||
c26d9ab4 | 27417 | static PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27418 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27419 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
27420 | PyObject * obj0 = 0 ; | |
27421 | char *kwnames[] = { | |
27422 | (char *) "self", NULL | |
27423 | }; | |
27424 | ||
c26d9ab4 | 27425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
27426 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27427 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
27428 | { |
27429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27430 | (arg1)->CreateButtons(); |
d14a1e28 RD |
27431 | |
27432 | wxPyEndAllowThreads(__tstate); | |
27433 | if (PyErr_Occurred()) SWIG_fail; | |
27434 | } | |
27435 | Py_INCREF(Py_None); resultobj = Py_None; | |
27436 | return resultobj; | |
27437 | fail: | |
27438 | return NULL; | |
27439 | } | |
27440 | ||
27441 | ||
c26d9ab4 | 27442 | static PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 27443 | PyObject *resultobj = NULL; |
d14a1e28 RD |
27444 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; |
27445 | int arg2 ; | |
27446 | PyObject * obj0 = 0 ; | |
994141e6 | 27447 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
27448 | char *kwnames[] = { |
27449 | (char *) "self",(char *) "zoom", NULL | |
27450 | }; | |
27451 | ||
c26d9ab4 | 27452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
27453 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27454 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27455 | { | |
32fe5131 | 27456 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
27457 | if (SWIG_arg_fail(2)) SWIG_fail; |
27458 | } | |
d14a1e28 RD |
27459 | { |
27460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c26d9ab4 | 27461 | (arg1)->SetZoomControl(arg2); |
d14a1e28 RD |
27462 | |
27463 | wxPyEndAllowThreads(__tstate); | |
27464 | if (PyErr_Occurred()) SWIG_fail; | |
27465 | } | |
27466 | Py_INCREF(Py_None); resultobj = Py_None; | |
27467 | return resultobj; | |
27468 | fail: | |
27469 | return NULL; | |
27470 | } | |
27471 | ||
27472 | ||
c32bde28 | 27473 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
27474 | PyObject *obj; |
27475 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27476 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
27477 | Py_INCREF(obj); | |
27478 | return Py_BuildValue((char *)""); | |
27479 | } | |
d3b6e4ff | 27480 | static PyMethodDef SwigMethods[] = { |
093d3ff1 RD |
27481 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL}, |
27482 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27483 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27484 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27485 | { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27486 | { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27487 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27488 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL}, | |
27489 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27490 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27491 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27492 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27493 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27494 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27495 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27496 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27497 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27498 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27499 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27500 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27501 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27502 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27503 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL}, | |
27504 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL}, | |
27505 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27506 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27507 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27508 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27509 | { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27510 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27511 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
27512 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27513 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27514 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27515 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27516 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27517 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27518 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27519 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27520 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27521 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27522 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27523 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27524 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27525 | { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27526 | { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27527 | { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27528 | { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27529 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL}, | |
27530 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27531 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27532 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27533 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27534 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27535 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27536 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27537 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27538 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27539 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27540 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27541 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27542 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27543 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27544 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27545 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27546 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27547 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27548 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27549 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27550 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27551 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27552 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27553 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL}, | |
27554 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27555 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27556 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27557 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27558 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27559 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27560 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e505d15e | 27561 | { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
27562 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL}, |
27563 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27564 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27565 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27566 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL}, | |
27567 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27568 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27569 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27570 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL}, | |
27571 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27572 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27573 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27574 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL}, | |
27575 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27576 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27577 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27578 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27579 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL}, | |
27580 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27581 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27582 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27583 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27584 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27585 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27586 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27587 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27588 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27589 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27590 | { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27591 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27592 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27593 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27594 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27595 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27596 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL}, | |
27597 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27598 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27599 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27600 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27601 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27602 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27603 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27604 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27605 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27606 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27607 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27608 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27609 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27610 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27611 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27612 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27613 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27614 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27615 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27616 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27617 | { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27618 | { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27619 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27620 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27621 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27622 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27623 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27624 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27625 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27626 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL}, | |
27627 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27628 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27629 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27630 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27631 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27632 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27633 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL}, | |
27634 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27635 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27636 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27637 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27638 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27639 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27640 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27641 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27642 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27643 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27644 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27645 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27646 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27647 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27648 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27649 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27650 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27651 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27652 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27653 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27654 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27655 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27656 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL}, | |
27657 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27658 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27659 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27660 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27661 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27662 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27663 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27664 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL}, | |
27665 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27666 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27667 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27668 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27669 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27670 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27671 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27672 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27673 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27674 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27675 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27676 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL}, | |
27677 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27678 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27679 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27680 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27681 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27682 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL}, | |
27683 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27684 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27685 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27686 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27687 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27688 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27689 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27690 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27691 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL}, | |
27692 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27693 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27694 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27695 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27696 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27697 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL}, | |
27698 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27699 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27700 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27701 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27702 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL}, | |
27703 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27704 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27705 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27706 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27707 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27708 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL}, | |
27709 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27710 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27711 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27712 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL}, | |
27713 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27714 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27715 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27716 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27717 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27718 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27719 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27720 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27721 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27722 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27723 | { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27724 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27725 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27726 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
70b7a5fe RD |
27727 | { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL}, |
27728 | { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27729 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
27730 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, |
27731 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
27732 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL}, |
27733 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27734 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27735 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27736 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27737 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27738 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27739 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27740 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27741 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27742 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27743 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27744 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27745 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27746 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27747 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27748 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27749 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27750 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27751 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27752 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27753 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27754 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27755 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27756 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27757 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27758 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL}, | |
27759 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27760 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27761 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27762 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27763 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27764 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27765 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27766 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL}, | |
27767 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
7e08d4ef | 27768 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
27769 | { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
27770 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27771 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27772 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27773 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27774 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27775 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27776 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL}, | |
27777 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27778 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL}, | |
27779 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27780 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27781 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27782 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27783 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27784 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27785 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27786 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27787 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL}, | |
27788 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27789 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27790 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL}, | |
32fe5131 | 27791 | { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
27792 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL}, |
27793 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27794 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27795 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27796 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27797 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27798 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL}, | |
27799 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27800 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27801 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27802 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27803 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27804 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27805 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27806 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27807 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27808 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27809 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27810 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27811 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27812 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27813 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27814 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27815 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27816 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL}, | |
27817 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27818 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27819 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27820 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
27821 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27822 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27823 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27824 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27825 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
27826 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27827 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27828 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27829 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL}, | |
27830 | { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27831 | { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL}, | |
27832 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27833 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27834 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27835 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27836 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27837 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27838 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27839 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27840 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27841 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27842 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27843 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27844 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27845 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27846 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27847 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL}, | |
27848 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27849 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27850 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL}, | |
32fe5131 | 27851 | { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
27852 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL}, |
27853 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL}, | |
27854 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27855 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27856 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27857 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL}, | |
27858 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27859 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27860 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27861 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27862 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27863 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27864 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27865 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27866 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL}, | |
27867 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27868 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27869 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27870 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27871 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27872 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27873 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27874 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27875 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL}, | |
27876 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27877 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27878 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27879 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27880 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27881 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL}, | |
27882 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27883 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27884 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27885 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27886 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27887 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27888 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27889 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27890 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27891 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27892 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27893 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL}, | |
27894 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27895 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27896 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27897 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27898 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27899 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27900 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL}, | |
27901 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27902 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27903 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27904 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL}, | |
27905 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27906 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27907 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27908 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
976dbff5 | 27909 | { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, |
c26d9ab4 RD |
27910 | { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
27911 | { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27912 | { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27913 | { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27914 | { (char *)"PyWindow_DoGetSize", (PyCFunction) _wrap_PyWindow_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27915 | { (char *)"PyWindow_DoGetClientSize", (PyCFunction) _wrap_PyWindow_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27916 | { (char *)"PyWindow_DoGetPosition", (PyCFunction) _wrap_PyWindow_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27917 | { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27918 | { (char *)"PyWindow_DoGetBestSize", (PyCFunction) _wrap_PyWindow_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27919 | { (char *)"PyWindow_InitDialog", (PyCFunction) _wrap_PyWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27920 | { (char *)"PyWindow_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27921 | { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27922 | { (char *)"PyWindow_Validate", (PyCFunction) _wrap_PyWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27923 | { (char *)"PyWindow_AcceptsFocus", (PyCFunction) _wrap_PyWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27924 | { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27925 | { (char *)"PyWindow_GetMaxSize", (PyCFunction) _wrap_PyWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27926 | { (char *)"PyWindow_AddChild", (PyCFunction) _wrap_PyWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27927 | { (char *)"PyWindow_RemoveChild", (PyCFunction) _wrap_PyWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27928 | { (char *)"PyWindow_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27929 | { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27930 | { (char *)"PyWindow_OnInternalIdle", (PyCFunction) _wrap_PyWindow_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
27931 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL}, |
27932 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27933 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27934 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27935 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
976dbff5 | 27936 | { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, |
c26d9ab4 RD |
27937 | { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
27938 | { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27939 | { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27940 | { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27941 | { (char *)"PyPanel_DoGetSize", (PyCFunction) _wrap_PyPanel_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27942 | { (char *)"PyPanel_DoGetClientSize", (PyCFunction) _wrap_PyPanel_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27943 | { (char *)"PyPanel_DoGetPosition", (PyCFunction) _wrap_PyPanel_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27944 | { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27945 | { (char *)"PyPanel_DoGetBestSize", (PyCFunction) _wrap_PyPanel_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27946 | { (char *)"PyPanel_InitDialog", (PyCFunction) _wrap_PyPanel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27947 | { (char *)"PyPanel_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27948 | { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27949 | { (char *)"PyPanel_Validate", (PyCFunction) _wrap_PyPanel_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27950 | { (char *)"PyPanel_AcceptsFocus", (PyCFunction) _wrap_PyPanel_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27951 | { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27952 | { (char *)"PyPanel_GetMaxSize", (PyCFunction) _wrap_PyPanel_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27953 | { (char *)"PyPanel_AddChild", (PyCFunction) _wrap_PyPanel_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27954 | { (char *)"PyPanel_RemoveChild", (PyCFunction) _wrap_PyPanel_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27955 | { (char *)"PyPanel_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27956 | { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27957 | { (char *)"PyPanel_OnInternalIdle", (PyCFunction) _wrap_PyPanel_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
27958 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL}, |
27959 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27960 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27961 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27962 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
976dbff5 | 27963 | { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL}, |
c26d9ab4 RD |
27964 | { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
27965 | { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27966 | { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27967 | { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27968 | { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27969 | { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27970 | { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27971 | { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27972 | { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27973 | { (char *)"PyScrolledWindow_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27974 | { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27975 | { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27976 | { (char *)"PyScrolledWindow_Validate", (PyCFunction) _wrap_PyScrolledWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27977 | { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27978 | { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27979 | { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27980 | { (char *)"PyScrolledWindow_AddChild", (PyCFunction) _wrap_PyScrolledWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27981 | { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27982 | { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27983 | { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27984 | { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
27985 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL}, |
27986 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL}, | |
27987 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27988 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27989 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27990 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27991 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27992 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27993 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27994 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27995 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27996 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27997 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27998 | { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27999 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28000 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28001 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28002 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28003 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28004 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28005 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28006 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28007 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28008 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28009 | { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28010 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28011 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28012 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
b9d6a5f3 RD |
28013 | { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL}, |
28014 | { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28015 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL}, |
28016 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL}, | |
28017 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28018 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28019 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28020 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28021 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28022 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28023 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28024 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28025 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28026 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28027 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28028 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28029 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28030 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28031 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28032 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28033 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28034 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28035 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28036 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28037 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28038 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28039 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28040 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28041 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28042 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28043 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28044 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28045 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28046 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
7557b9b5 RD |
28047 | { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
28048 | { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28049 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL}, |
28050 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28051 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28052 | { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28053 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28054 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL}, | |
28055 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL}, | |
28056 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28057 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28058 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28059 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28060 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28061 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28062 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28063 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28064 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28065 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28066 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
28067 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28068 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28069 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28070 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28071 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28072 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28073 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28074 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28075 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28076 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28077 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28078 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28079 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28080 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28081 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28082 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28083 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28084 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28085 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28086 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL}, | |
28087 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28088 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28089 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28090 | { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28091 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28092 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL}, | |
28093 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28094 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28095 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28096 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28097 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28098 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28099 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28100 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28101 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28102 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28103 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL}, | |
28104 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28105 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28106 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28107 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28108 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28109 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28110 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28111 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28112 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28113 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28114 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28115 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28116 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28117 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28118 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
c26d9ab4 RD |
28119 | { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL}, |
28120 | { (char *)"Printout_OnEndDocument", (PyCFunction) _wrap_Printout_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28121 | { (char *)"Printout_OnBeginPrinting", (PyCFunction) _wrap_Printout_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28122 | { (char *)"Printout_OnEndPrinting", (PyCFunction) _wrap_Printout_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28123 | { (char *)"Printout_OnPreparePrinting", (PyCFunction) _wrap_Printout_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28124 | { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28125 | { (char *)"Printout_GetPageInfo", (PyCFunction) _wrap_Printout_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28126 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL}, |
28127 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28128 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL}, | |
28129 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28130 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28131 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28132 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28133 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28134 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL}, | |
28135 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28136 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28137 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28138 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28139 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28140 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28141 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28142 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28143 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28144 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL}, | |
28145 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL}, | |
28146 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28147 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28148 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28149 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28150 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28151 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28152 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28153 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28154 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28155 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28156 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28157 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28158 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28159 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28160 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28161 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28162 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28163 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28164 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28165 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28166 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28167 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28168 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL}, | |
28169 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL}, | |
28170 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
c26d9ab4 RD |
28171 | { (char *)"PyPrintPreview_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
28172 | { (char *)"PyPrintPreview_PaintPage", (PyCFunction) _wrap_PyPrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28173 | { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28174 | { (char *)"PyPrintPreview_RenderPage", (PyCFunction) _wrap_PyPrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28175 | { (char *)"PyPrintPreview_SetZoom", (PyCFunction) _wrap_PyPrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28176 | { (char *)"PyPrintPreview_Print", (PyCFunction) _wrap_PyPrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28177 | { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28178 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL}, |
28179 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28180 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28181 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28182 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
c26d9ab4 RD |
28183 | { (char *)"PyPreviewFrame_Initialize", (PyCFunction) _wrap_PyPreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, |
28184 | { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28185 | { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 RD |
28186 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL}, |
28187 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28188 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28189 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
c26d9ab4 RD |
28190 | { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL}, |
28191 | { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 | 28192 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL}, |
c32bde28 | 28193 | { NULL, NULL, 0, NULL } |
d14a1e28 RD |
28194 | }; |
28195 | ||
28196 | ||
28197 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
28198 | ||
28199 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
28200 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28201 | } | |
28202 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
28203 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
28204 | } | |
28205 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
28206 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
28207 | } | |
28208 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
28209 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
28210 | } | |
28211 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
28212 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
28213 | } | |
28214 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
28215 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
28216 | } | |
28217 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
28218 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
28219 | } | |
28220 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
28221 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28222 | } | |
28223 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
28224 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
28225 | } | |
28226 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
28227 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
28228 | } | |
28229 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
28230 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28231 | } | |
28232 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
28233 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
28234 | } | |
28235 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
28236 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28237 | } | |
28238 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
28239 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28240 | } | |
28241 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
28242 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
28243 | } | |
28244 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
28245 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28246 | } | |
28247 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
28248 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28249 | } | |
28250 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
28251 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
28252 | } | |
28253 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
28254 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
28255 | } | |
28256 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
28257 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
28258 | } | |
28259 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
28260 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
28261 | } | |
28262 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
28263 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
28264 | } | |
53aa7709 RD |
28265 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
28266 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
28267 | } | |
d14a1e28 RD |
28268 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
28269 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
28270 | } | |
28271 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
28272 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
28273 | } | |
28274 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
28275 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28276 | } | |
28277 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
28278 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28279 | } | |
28280 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
28281 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28282 | } | |
28283 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
28284 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28285 | } | |
28286 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
28287 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28288 | } | |
28289 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
28290 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
28291 | } | |
28292 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
28293 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
28294 | } | |
28295 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
28296 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
28297 | } | |
28298 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
28299 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
28300 | } | |
28301 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
28302 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28303 | } | |
28304 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
28305 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
28306 | } | |
28307 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
28308 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
28309 | } | |
28310 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
28311 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
28312 | } | |
28313 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
28314 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28315 | } | |
28316 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
28317 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28318 | } | |
28319 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
28320 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
28321 | } | |
28322 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
28323 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
28324 | } | |
28325 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
28326 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28327 | } | |
28328 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
28329 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28330 | } | |
d3b6e4ff RD |
28331 | static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { |
28332 | return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28333 | } | |
d14a1e28 RD |
28334 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
28335 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28336 | } | |
28337 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
28338 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28339 | } | |
28340 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
28341 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28342 | } | |
28343 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
28344 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
28345 | } | |
28346 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
28347 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
28348 | } | |
28349 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
28350 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
28351 | } | |
28352 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
28353 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
28354 | } | |
d3b6e4ff RD |
28355 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
28356 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28357 | } | |
d14a1e28 RD |
28358 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
28359 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28360 | } | |
28361 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28362 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28363 | } | |
28364 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28365 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28366 | } | |
28367 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
28368 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28369 | } | |
28370 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
28371 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28372 | } | |
28373 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
28374 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28375 | } | |
28376 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
28377 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28378 | } | |
28379 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
28380 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
28381 | } | |
28382 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
28383 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
28384 | } | |
28385 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28386 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28387 | } | |
28388 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
28389 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
28390 | } | |
28391 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
28392 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28393 | } | |
28394 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
28395 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
28396 | } | |
28397 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
28398 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28399 | } | |
28400 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
28401 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
28402 | } | |
28403 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
28404 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
28405 | } | |
28406 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
28407 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
28408 | } | |
28409 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
28410 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
28411 | } | |
28412 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28413 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28414 | } | |
28415 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
28416 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
28417 | } | |
28418 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
28419 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
28420 | } | |
1cb4a8aa RD |
28421 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
28422 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28423 | } | |
d14a1e28 RD |
28424 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
28425 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
28426 | } | |
28427 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28428 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28429 | } | |
28430 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28431 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28432 | } | |
28433 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
28434 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28435 | } | |
28436 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
28437 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
28438 | } | |
28439 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
28440 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
28441 | } | |
28442 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
28443 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
28444 | } | |
28445 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
28446 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28447 | } | |
28448 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
28449 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28450 | } | |
28451 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
28452 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28453 | } | |
28454 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28455 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
28456 | } | |
28457 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28458 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28459 | } | |
5e483524 RD |
28460 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
28461 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 RD |
28462 | } |
28463 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
28464 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28465 | } | |
d14a1e28 RD |
28466 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
28467 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28468 | } | |
28469 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
28470 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28471 | } | |
28472 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
28473 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28474 | } | |
d3b6e4ff RD |
28475 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
28476 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28477 | } | |
d14a1e28 RD |
28478 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
28479 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28480 | } | |
28481 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
28482 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28483 | } | |
28484 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
28485 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
28486 | } | |
28487 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
28488 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
28489 | } | |
28490 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
28491 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
28492 | } | |
28493 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
28494 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28495 | } | |
28496 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
28497 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
28498 | } | |
28499 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
28500 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
28501 | } | |
28502 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
28503 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
28504 | } | |
28505 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
28506 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
28507 | } | |
28508 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
28509 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28510 | } | |
28511 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
28512 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28513 | } | |
28514 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
28515 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28516 | } | |
28517 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
28518 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
28519 | } | |
28520 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
28521 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
28522 | } | |
28523 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
28524 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
28525 | } | |
28526 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
28527 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
28528 | } | |
28529 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
28530 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
28531 | } | |
28532 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
28533 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
28534 | } | |
28535 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
28536 | return (void *)((wxObject *) ((wxSizer *) x)); | |
28537 | } | |
28538 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
28539 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
28540 | } | |
28541 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
28542 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28543 | } | |
28544 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
28545 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28546 | } | |
28547 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
28548 | return (void *)((wxObject *) ((wxEvent *) x)); | |
28549 | } | |
28550 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
28551 | return (void *)((wxObject *) ((wxFontData *) x)); | |
28552 | } | |
28553 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
28554 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
28555 | } | |
28556 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
28557 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
28558 | } | |
28559 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
28560 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
28561 | } | |
28562 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
28563 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
28564 | } | |
28565 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
28566 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
28567 | } | |
5e483524 RD |
28568 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
28569 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 RD |
28570 | } |
28571 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
28572 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28573 | } | |
28574 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
28575 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
28576 | } | |
28577 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
28578 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
28579 | } | |
28580 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
28581 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28582 | } | |
28583 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
28584 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28585 | } | |
28586 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
28587 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28588 | } | |
28589 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
28590 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28591 | } | |
28592 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
28593 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28594 | } | |
28595 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
28596 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
28597 | } | |
28598 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
28599 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
28600 | } | |
28601 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
28602 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28603 | } | |
28604 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
28605 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
28606 | } | |
28607 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
28608 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
28609 | } | |
28610 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
28611 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
28612 | } | |
28613 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
28614 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28615 | } | |
28616 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
28617 | return (void *)((wxObject *) ((wxColourData *) x)); | |
28618 | } | |
28619 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
28620 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
28621 | } | |
28622 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
28623 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28624 | } | |
28625 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
28626 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
28627 | } | |
28628 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
28629 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28630 | } | |
28631 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
28632 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28633 | } | |
28634 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
28635 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28636 | } | |
28637 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
28638 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28639 | } | |
28640 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
28641 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28642 | } | |
d3b6e4ff RD |
28643 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
28644 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28645 | } | |
d14a1e28 RD |
28646 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
28647 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28648 | } | |
28649 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
28650 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28651 | } | |
28652 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
28653 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28654 | } | |
28655 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
28656 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
28657 | } | |
28658 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
28659 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
28660 | } | |
28661 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
28662 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
28663 | } | |
53aa7709 RD |
28664 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
28665 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
28666 | } | |
d14a1e28 RD |
28667 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
28668 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
28669 | } | |
28670 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
28671 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28672 | } | |
28673 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
28674 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28675 | } | |
28676 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
28677 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
28678 | } | |
28679 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
28680 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
28681 | } | |
28682 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
28683 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
28684 | } | |
28685 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
28686 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
28687 | } | |
28688 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
28689 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
28690 | } | |
d14a1e28 RD |
28691 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
28692 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
28693 | } | |
28694 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
28695 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
28696 | } | |
28697 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
28698 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
28699 | } | |
28700 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
28701 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
28702 | } | |
28703 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
28704 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
28705 | } | |
28706 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
28707 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
28708 | } | |
28709 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
28710 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
28711 | } | |
28712 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
28713 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
28714 | } | |
28715 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
28716 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
28717 | } | |
943e8dfd RD |
28718 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
28719 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
28720 | } | |
d14a1e28 RD |
28721 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
28722 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
28723 | } | |
943e8dfd RD |
28724 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
28725 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
28726 | } | |
d14a1e28 RD |
28727 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
28728 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
28729 | } | |
28730 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
28731 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
28732 | } | |
28733 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
28734 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28735 | } | |
28736 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
28737 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28738 | } | |
28739 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
28740 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28741 | } | |
e505d15e RD |
28742 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
28743 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
28744 | } | |
d14a1e28 RD |
28745 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
28746 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
28747 | } | |
28748 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
28749 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28750 | } | |
28751 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
28752 | return (void *)((wxObject *) ((wxImage *) x)); | |
28753 | } | |
28754 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
28755 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28756 | } | |
28757 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
28758 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
28759 | } | |
28760 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
28761 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
28762 | } | |
28763 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
28764 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28765 | } | |
28766 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
28767 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
28768 | } | |
28769 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
28770 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28771 | } | |
28772 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
28773 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28774 | } | |
28775 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
28776 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28777 | } | |
28778 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
28779 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
28780 | } | |
d14a1e28 RD |
28781 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
28782 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
28783 | } | |
28784 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
28785 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
28786 | } | |
28787 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
28788 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
28789 | } | |
1e0c8722 RD |
28790 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
28791 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28792 | } | |
d14a1e28 RD |
28793 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
28794 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
28795 | } | |
28796 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
28797 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
28798 | } | |
28799 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
28800 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
28801 | } | |
28802 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
28803 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
28804 | } | |
28805 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
28806 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28807 | } | |
28808 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
28809 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
28810 | } | |
28811 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
28812 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28813 | } | |
28814 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
28815 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
28816 | } | |
28817 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
28818 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28819 | } | |
28820 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
28821 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
28822 | } | |
1cb4a8aa RD |
28823 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
28824 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28825 | } | |
d14a1e28 RD |
28826 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
28827 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
28828 | } | |
28829 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
28830 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
28831 | } | |
28832 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
28833 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
28834 | } | |
28835 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
28836 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
28837 | } | |
28838 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
28839 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28840 | } | |
28841 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
28842 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28843 | } | |
28844 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
28845 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28846 | } | |
28847 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
28848 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28849 | } | |
28850 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
8ac8dba0 | 28851 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
d14a1e28 RD |
28852 | } |
28853 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
a68b8331 | 28854 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
d14a1e28 RD |
28855 | } |
28856 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
28857 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
28858 | } | |
28859 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
28860 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
28861 | } | |
28862 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
28863 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
28864 | } | |
28865 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
28866 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
28867 | } | |
28868 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
28869 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
28870 | } | |
28871 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
28872 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
28873 | } | |
28874 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
28875 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
28876 | } | |
28877 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
28878 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
28879 | } | |
28880 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
28881 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
28882 | } | |
28883 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
28884 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
28885 | } | |
28886 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
28887 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28888 | } | |
28889 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
28890 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
28891 | } | |
28892 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
28893 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
28894 | } | |
28895 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
28896 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
28897 | } | |
28898 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
28899 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
28900 | } | |
28901 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
28902 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
28903 | } | |
28904 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
28905 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
28906 | } | |
28907 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
28908 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
28909 | } | |
28910 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
28911 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
28912 | } | |
28913 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
28914 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28915 | } | |
28916 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
28917 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28918 | } | |
28919 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
28920 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
28921 | } | |
28922 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
28923 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28924 | } | |
28925 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
28926 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
28927 | } | |
28928 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
28929 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28930 | } | |
28931 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
28932 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
28933 | } | |
28934 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
28935 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
28936 | } | |
28937 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
28938 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
28939 | } | |
28940 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
28941 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
28942 | } | |
28943 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
28944 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
28945 | } | |
28946 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
28947 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
28948 | } | |
d14a1e28 RD |
28949 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
28950 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
28951 | } | |
28952 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
28953 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
28954 | } | |
28955 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
28956 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
28957 | } | |
d14a1e28 RD |
28958 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
28959 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
28960 | } | |
28961 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
28962 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
28963 | } | |
d3b6e4ff RD |
28964 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
28965 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28966 | } | |
d14a1e28 RD |
28967 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
28968 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
28969 | } | |
28970 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
28971 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28972 | } | |
28973 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
28974 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28975 | } | |
28976 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
28977 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
28978 | } | |
d3b6e4ff RD |
28979 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
28980 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
28981 | } | |
d14a1e28 RD |
28982 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
28983 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
28984 | } | |
28985 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
28986 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28987 | } | |
28988 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
28989 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28990 | } | |
28991 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
28992 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28993 | } | |
28994 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
28995 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
28996 | } | |
28997 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
28998 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
28999 | } | |
29000 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
29001 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
29002 | } | |
29003 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
29004 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
29005 | } | |
29006 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
29007 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
29008 | } | |
d3b6e4ff RD |
29009 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
29010 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29011 | } | |
d14a1e28 RD |
29012 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
29013 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
29014 | } | |
29015 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
29016 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29017 | } | |
29018 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
29019 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29020 | } | |
29021 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
29022 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
29023 | } | |
29024 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
29025 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
29026 | } | |
29027 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
29028 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
29029 | } | |
d14a1e28 RD |
29030 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
29031 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29032 | } | |
29033 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
29034 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
29035 | } | |
29036 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
29037 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
29038 | } | |
29039 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
29040 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
29041 | } | |
29042 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
29043 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
29044 | } | |
29045 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
29046 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
29047 | } | |
29048 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
29049 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
29050 | } | |
29051 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
29052 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
29053 | } | |
29054 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
29055 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
29056 | } | |
29057 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
29058 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
29059 | } | |
d3b6e4ff RD |
29060 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
29061 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
29062 | } | |
1cb4a8aa RD |
29063 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
29064 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29065 | } | |
d14a1e28 RD |
29066 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
29067 | return (void *)((wxWindow *) ((wxControl *) x)); | |
29068 | } | |
29069 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
29070 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
29071 | } | |
29072 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
29073 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
29074 | } | |
29075 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
29076 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
29077 | } | |
29078 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
29079 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
29080 | } | |
29081 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
29082 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
29083 | } | |
29084 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
29085 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29086 | } | |
29087 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
29088 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29089 | } | |
29090 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
29091 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29092 | } | |
29093 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
29094 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
29095 | } | |
29096 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
29097 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29098 | } | |
29099 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
29100 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
29101 | } | |
29102 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
29103 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
29104 | } | |
29105 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
29106 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
29107 | } | |
29108 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
29109 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
29110 | } | |
29111 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
29112 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
29113 | } | |
d14a1e28 RD |
29114 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
29115 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
29116 | } | |
1cb4a8aa RD |
29117 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
29118 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29119 | } | |
d14a1e28 RD |
29120 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
29121 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29122 | } | |
29123 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
29124 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
29125 | } | |
29126 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
29127 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
29128 | } | |
29129 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
29130 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
29131 | } | |
29132 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
29133 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
29134 | } | |
d14a1e28 RD |
29135 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
29136 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
29137 | } | |
29138 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
29139 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29140 | } | |
29141 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
29142 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29143 | } | |
29144 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
29145 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
29146 | } | |
d3b6e4ff RD |
29147 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
29148 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29149 | } | |
d14a1e28 RD |
29150 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
29151 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
29152 | } | |
29153 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
29154 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
29155 | } | |
29156 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
29157 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
29158 | } | |
29159 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
29160 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29161 | } | |
1cb4a8aa RD |
29162 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
29163 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29164 | } | |
d14a1e28 RD |
29165 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
29166 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29167 | } | |
29168 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
29169 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29170 | } | |
29171 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
29172 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
29173 | } | |
29174 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
29175 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29176 | } | |
29177 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
29178 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
29179 | } | |
29180 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
29181 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29182 | } | |
29183 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
29184 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
29185 | } | |
29186 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
29187 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
29188 | } | |
29189 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
29190 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
29191 | } | |
53aa7709 RD |
29192 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { |
29193 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
29194 | } | |
d14a1e28 RD |
29195 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { |
29196 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
29197 | } | |
29198 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
29199 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
29200 | } | |
29201 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
29202 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
29203 | } | |
29204 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
29205 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
29206 | } | |
29207 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
29208 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
29209 | } | |
29210 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
29211 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
29212 | } | |
29213 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
29214 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
29215 | } | |
29216 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
29217 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
29218 | } | |
29219 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
29220 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29221 | } | |
32fe5131 RD |
29222 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; |
29223 | static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; | |
29224 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; | |
29225 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; | |
29226 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; | |
29227 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; | |
29228 | static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0}; | |
29229 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; | |
29230 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0}; | |
29231 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; | |
29232 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0}; | |
29233 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0}; | |
29234 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; | |
29235 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; | |
29236 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; | |
29237 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; | |
29238 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; | |
29239 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; | |
29240 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; | |
29241 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; | |
29242 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; | |
29243 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; | |
29244 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0}; | |
29245 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0}; | |
29246 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; | |
29247 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; | |
29248 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; | |
29249 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; | |
29250 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; | |
29251 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; | |
29252 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0}; | |
29253 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0}; | |
29254 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; | |
29255 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; | |
29256 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; | |
29257 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0}; | |
29258 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0}; | |
29259 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; | |
29260 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; | |
29261 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; | |
29262 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0}; | |
29263 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0}; | |
29264 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0}; | |
29265 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0}; | |
29266 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0}; | |
29267 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0}; | |
29268 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; | |
29269 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; | |
29270 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; | |
29271 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; | |
29272 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; | |
29273 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; | |
29274 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; | |
29275 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; | |
29276 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; | |
29277 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; | |
29278 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; | |
29279 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0}; | |
29280 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0}; | |
29281 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0}; | |
29282 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0}; | |
29283 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0}; | |
29284 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; | |
29285 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0}; | |
29286 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0}; | |
29287 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; | |
29288 | static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; | |
29289 | static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0}; | |
29290 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0}; | |
29291 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0}; | |
29292 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0}; | |
29293 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0}; | |
29294 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0}; | |
29295 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0}; | |
29296 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0}; | |
29297 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0}; | |
29298 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0}; | |
29299 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0}; | |
29300 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; | |
29301 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0}; | |
29302 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; | |
29303 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; | |
29304 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; | |
29305 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; | |
29306 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0}; | |
29307 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0}; | |
29308 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; | |
29309 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; | |
29310 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; | |
29311 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; | |
29312 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; | |
29313 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; | |
29314 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; | |
29315 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; | |
29316 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; | |
29317 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; | |
29318 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; | |
29319 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; | |
29320 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; | |
29321 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; | |
29322 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; | |
29323 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; | |
29324 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; | |
29325 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; | |
29326 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; | |
29327 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; | |
29328 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; | |
29329 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0}; | |
29330 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0}; | |
29331 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0}; | |
29332 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; | |
29333 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0}; | |
29334 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; | |
29335 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0}; | |
29336 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0}; | |
29337 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0}; | |
29338 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0}; | |
29339 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0}; | |
29340 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0}; | |
29341 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0}; | |
29342 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0}; | |
29343 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0}; | |
29344 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0}; | |
29345 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0}; | |
29346 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0}; | |
29347 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0}; | |
29348 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0}; | |
29349 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0}; | |
29350 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0}; | |
29351 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0}; | |
29352 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0}; | |
29353 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0}; | |
29354 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0}; | |
29355 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0}; | |
29356 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0}; | |
29357 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0}; | |
29358 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; | |
29359 | static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0}; | |
29360 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0}; | |
29361 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0}; | |
29362 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0}; | |
29363 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0}; | |
29364 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0}; | |
29365 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0}; | |
29366 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; | |
29367 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0}; | |
29368 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0}; | |
29369 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0}; | |
29370 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0}; | |
29371 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0}; | |
29372 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0}; | |
29373 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; | |
29374 | static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0}; | |
29375 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0}; | |
29376 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0}; | |
29377 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0}; | |
29378 | static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0}; | |
29379 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0}; | |
29380 | static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0}; | |
29381 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; | |
29382 | static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; | |
29383 | static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; | |
29384 | static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; | |
29385 | ||
29386 | static swig_type_info *swig_type_initial[] = { | |
29387 | &_swigt__p_char, | |
29388 | &_swigt__p_form_ops_t, | |
29389 | &_swigt__p_int, | |
29390 | &_swigt__p_unsigned_char, | |
29391 | &_swigt__p_unsigned_int, | |
29392 | &_swigt__p_unsigned_long, | |
29393 | &_swigt__p_wxANIHandler, | |
29394 | &_swigt__p_wxAcceleratorTable, | |
29395 | &_swigt__p_wxActivateEvent, | |
29396 | &_swigt__p_wxArrayInt, | |
29397 | &_swigt__p_wxBMPHandler, | |
29398 | &_swigt__p_wxBitmap, | |
29399 | &_swigt__p_wxBoxSizer, | |
29400 | &_swigt__p_wxCURHandler, | |
29401 | &_swigt__p_wxCalculateLayoutEvent, | |
29402 | &_swigt__p_wxChildFocusEvent, | |
29403 | &_swigt__p_wxCloseEvent, | |
29404 | &_swigt__p_wxColour, | |
29405 | &_swigt__p_wxColourData, | |
29406 | &_swigt__p_wxColourDialog, | |
29407 | &_swigt__p_wxCommandEvent, | |
29408 | &_swigt__p_wxContextMenuEvent, | |
29409 | &_swigt__p_wxControl, | |
29410 | &_swigt__p_wxControlWithItems, | |
29411 | &_swigt__p_wxDC, | |
29412 | &_swigt__p_wxDateEvent, | |
29413 | &_swigt__p_wxDialog, | |
29414 | &_swigt__p_wxDirDialog, | |
29415 | &_swigt__p_wxDisplayChangedEvent, | |
29416 | &_swigt__p_wxDropFilesEvent, | |
29417 | &_swigt__p_wxDuplexMode, | |
29418 | &_swigt__p_wxEraseEvent, | |
29419 | &_swigt__p_wxEvent, | |
29420 | &_swigt__p_wxEvtHandler, | |
29421 | &_swigt__p_wxFSFile, | |
29422 | &_swigt__p_wxFileDialog, | |
29423 | &_swigt__p_wxFileSystem, | |
29424 | &_swigt__p_wxFindDialogEvent, | |
29425 | &_swigt__p_wxFindReplaceData, | |
29426 | &_swigt__p_wxFindReplaceDialog, | |
29427 | &_swigt__p_wxFlexGridSizer, | |
29428 | &_swigt__p_wxFocusEvent, | |
29429 | &_swigt__p_wxFont, | |
29430 | &_swigt__p_wxFontData, | |
29431 | &_swigt__p_wxFontDialog, | |
29432 | &_swigt__p_wxFrame, | |
29433 | &_swigt__p_wxGBSizerItem, | |
29434 | &_swigt__p_wxGIFHandler, | |
29435 | &_swigt__p_wxGridBagSizer, | |
29436 | &_swigt__p_wxGridSizer, | |
29437 | &_swigt__p_wxICOHandler, | |
29438 | &_swigt__p_wxIcon, | |
29439 | &_swigt__p_wxIconBundle, | |
29440 | &_swigt__p_wxIconizeEvent, | |
29441 | &_swigt__p_wxIdleEvent, | |
29442 | &_swigt__p_wxImage, | |
29443 | &_swigt__p_wxImageHandler, | |
29444 | &_swigt__p_wxIndividualLayoutConstraint, | |
29445 | &_swigt__p_wxInitDialogEvent, | |
29446 | &_swigt__p_wxJPEGHandler, | |
29447 | &_swigt__p_wxKeyEvent, | |
29448 | &_swigt__p_wxLayoutAlgorithm, | |
29449 | &_swigt__p_wxLayoutConstraints, | |
29450 | &_swigt__p_wxMDIChildFrame, | |
29451 | &_swigt__p_wxMDIClientWindow, | |
29452 | &_swigt__p_wxMDIParentFrame, | |
29453 | &_swigt__p_wxMaximizeEvent, | |
29454 | &_swigt__p_wxMenu, | |
29455 | &_swigt__p_wxMenuBar, | |
29456 | &_swigt__p_wxMenuEvent, | |
29457 | &_swigt__p_wxMenuItem, | |
29458 | &_swigt__p_wxMessageDialog, | |
29459 | &_swigt__p_wxMiniFrame, | |
29460 | &_swigt__p_wxMouseCaptureChangedEvent, | |
29461 | &_swigt__p_wxMouseEvent, | |
29462 | &_swigt__p_wxMoveEvent, | |
29463 | &_swigt__p_wxMultiChoiceDialog, | |
29464 | &_swigt__p_wxNavigationKeyEvent, | |
29465 | &_swigt__p_wxNcPaintEvent, | |
29466 | &_swigt__p_wxNotifyEvent, | |
29467 | &_swigt__p_wxObject, | |
29468 | &_swigt__p_wxPCXHandler, | |
29469 | &_swigt__p_wxPNGHandler, | |
29470 | &_swigt__p_wxPNMHandler, | |
29471 | &_swigt__p_wxPageSetupDialog, | |
29472 | &_swigt__p_wxPageSetupDialogData, | |
29473 | &_swigt__p_wxPaintEvent, | |
29474 | &_swigt__p_wxPaletteChangedEvent, | |
29475 | &_swigt__p_wxPanel, | |
29476 | &_swigt__p_wxPaperSize, | |
29477 | &_swigt__p_wxPasswordEntryDialog, | |
29478 | &_swigt__p_wxPoint, | |
29479 | &_swigt__p_wxPopupWindow, | |
29480 | &_swigt__p_wxPreviewCanvas, | |
29481 | &_swigt__p_wxPreviewControlBar, | |
29482 | &_swigt__p_wxPreviewFrame, | |
29483 | &_swigt__p_wxPrintData, | |
29484 | &_swigt__p_wxPrintDialog, | |
29485 | &_swigt__p_wxPrintDialogData, | |
29486 | &_swigt__p_wxPrintPreview, | |
29487 | &_swigt__p_wxPrinter, | |
29488 | &_swigt__p_wxProgressDialog, | |
29489 | &_swigt__p_wxPyApp, | |
29490 | &_swigt__p_wxPyCommandEvent, | |
29491 | &_swigt__p_wxPyEvent, | |
29492 | &_swigt__p_wxPyHtmlListBox, | |
29493 | &_swigt__p_wxPyImageHandler, | |
29494 | &_swigt__p_wxPyPanel, | |
29495 | &_swigt__p_wxPyPopupTransientWindow, | |
29496 | &_swigt__p_wxPyPreviewControlBar, | |
29497 | &_swigt__p_wxPyPreviewFrame, | |
29498 | &_swigt__p_wxPyPrintPreview, | |
29499 | &_swigt__p_wxPyPrintout, | |
29500 | &_swigt__p_wxPyScrolledWindow, | |
29501 | &_swigt__p_wxPySizer, | |
29502 | &_swigt__p_wxPyTaskBarIcon, | |
29503 | &_swigt__p_wxPyVListBox, | |
29504 | &_swigt__p_wxPyVScrolledWindow, | |
29505 | &_swigt__p_wxPyValidator, | |
29506 | &_swigt__p_wxPyWindow, | |
29507 | &_swigt__p_wxQueryLayoutInfoEvent, | |
29508 | &_swigt__p_wxQueryNewPaletteEvent, | |
29509 | &_swigt__p_wxRect, | |
29510 | &_swigt__p_wxRegion, | |
29511 | &_swigt__p_wxSashEvent, | |
29512 | &_swigt__p_wxSashLayoutWindow, | |
29513 | &_swigt__p_wxSashWindow, | |
29514 | &_swigt__p_wxScrollEvent, | |
29515 | &_swigt__p_wxScrollWinEvent, | |
29516 | &_swigt__p_wxScrolledWindow, | |
29517 | &_swigt__p_wxSetCursorEvent, | |
29518 | &_swigt__p_wxShowEvent, | |
29519 | &_swigt__p_wxSingleChoiceDialog, | |
29520 | &_swigt__p_wxSize, | |
29521 | &_swigt__p_wxSizeEvent, | |
29522 | &_swigt__p_wxSizer, | |
29523 | &_swigt__p_wxSizerItem, | |
29524 | &_swigt__p_wxSplashScreen, | |
29525 | &_swigt__p_wxSplashScreenWindow, | |
29526 | &_swigt__p_wxSplitterEvent, | |
29527 | &_swigt__p_wxSplitterWindow, | |
29528 | &_swigt__p_wxStaticBoxSizer, | |
29529 | &_swigt__p_wxStatusBar, | |
29530 | &_swigt__p_wxStdDialogButtonSizer, | |
29531 | &_swigt__p_wxString, | |
29532 | &_swigt__p_wxSysColourChangedEvent, | |
29533 | &_swigt__p_wxTIFFHandler, | |
29534 | &_swigt__p_wxTaskBarIcon, | |
29535 | &_swigt__p_wxTaskBarIconEvent, | |
29536 | &_swigt__p_wxTextEntryDialog, | |
29537 | &_swigt__p_wxTipWindow, | |
29538 | &_swigt__p_wxToolBar, | |
29539 | &_swigt__p_wxTopLevelWindow, | |
29540 | &_swigt__p_wxUpdateUIEvent, | |
29541 | &_swigt__p_wxValidator, | |
29542 | &_swigt__p_wxVisualAttributes, | |
29543 | &_swigt__p_wxWindow, | |
29544 | &_swigt__p_wxWindowCreateEvent, | |
29545 | &_swigt__p_wxWindowDestroyEvent, | |
29546 | &_swigt__p_wxXPMHandler, | |
29547 | &_swigt__ptrdiff_t, | |
29548 | &_swigt__std__ptrdiff_t, | |
29549 | &_swigt__unsigned_int, | |
29550 | }; | |
29551 | ||
29552 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
29553 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
29554 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
29555 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
29556 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
29557 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
29558 | static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}}; | |
29559 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
29560 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29561 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
29562 | static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
29563 | static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29564 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29565 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29566 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29567 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29568 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29569 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29570 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29571 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29572 | 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}}; | |
29573 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; | |
29574 | 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}}; | |
29575 | static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29576 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; | |
29577 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29578 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29579 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29580 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29581 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29582 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29583 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29584 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29585 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29586 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29587 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29588 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29589 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29590 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29591 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29592 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29593 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29594 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29595 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29596 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29597 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29598 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29599 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29600 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29601 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29602 | 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}}; | |
29603 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
29604 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
29605 | static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
29606 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
29607 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
29608 | 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}}; | |
29609 | static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29610 | static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
29611 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29612 | static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
29613 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29614 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
29615 | static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
29616 | static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29617 | 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}}; | |
29618 | static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
29619 | static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}}; | |
29620 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
29621 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
29622 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29623 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
29624 | static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
29625 | static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
29626 | static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29627 | static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
29628 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29629 | 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}}; | |
29630 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
29631 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
29632 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
29633 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
29634 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29635 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29636 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29637 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29638 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29639 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29640 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
29641 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29642 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
29643 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29644 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29645 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29646 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29647 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29648 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29649 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29650 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29651 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29652 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29653 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29654 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29655 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
29656 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
29657 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
29658 | 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}}; | |
29659 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29660 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
29661 | 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}}; | |
29662 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
29663 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29664 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
29665 | 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}}; | |
29666 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
29667 | 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}}; | |
29668 | 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}}; | |
29669 | static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
29670 | static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29671 | static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
29672 | 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}}; | |
29673 | static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
29674 | static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29675 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
29676 | static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
29677 | 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}}; | |
29678 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
29679 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
29680 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
29681 | static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
29682 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29683 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
29684 | 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}}; | |
29685 | 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}}; | |
29686 | static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29687 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29688 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; | |
29689 | static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}}; | |
29690 | static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29691 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29692 | 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}}; | |
29693 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29694 | 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}}; | |
29695 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
29696 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
29697 | static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
29698 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29699 | static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29700 | static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29701 | static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
29702 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
29703 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
29704 | static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
29705 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
29706 | 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}}; | |
29707 | static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
29708 | static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}}; | |
29709 | 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}}; | |
29710 | static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; | |
29711 | 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}}; | |
29712 | static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; | |
29713 | static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; | |
29714 | static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
29715 | ||
29716 | static swig_cast_info *swig_cast_initial[] = { | |
29717 | _swigc__p_char, | |
29718 | _swigc__p_form_ops_t, | |
29719 | _swigc__p_int, | |
29720 | _swigc__p_unsigned_char, | |
29721 | _swigc__p_unsigned_int, | |
29722 | _swigc__p_unsigned_long, | |
29723 | _swigc__p_wxANIHandler, | |
29724 | _swigc__p_wxAcceleratorTable, | |
29725 | _swigc__p_wxActivateEvent, | |
29726 | _swigc__p_wxArrayInt, | |
29727 | _swigc__p_wxBMPHandler, | |
29728 | _swigc__p_wxBitmap, | |
29729 | _swigc__p_wxBoxSizer, | |
29730 | _swigc__p_wxCURHandler, | |
29731 | _swigc__p_wxCalculateLayoutEvent, | |
29732 | _swigc__p_wxChildFocusEvent, | |
29733 | _swigc__p_wxCloseEvent, | |
29734 | _swigc__p_wxColour, | |
29735 | _swigc__p_wxColourData, | |
29736 | _swigc__p_wxColourDialog, | |
29737 | _swigc__p_wxCommandEvent, | |
29738 | _swigc__p_wxContextMenuEvent, | |
29739 | _swigc__p_wxControl, | |
29740 | _swigc__p_wxControlWithItems, | |
29741 | _swigc__p_wxDC, | |
29742 | _swigc__p_wxDateEvent, | |
29743 | _swigc__p_wxDialog, | |
29744 | _swigc__p_wxDirDialog, | |
29745 | _swigc__p_wxDisplayChangedEvent, | |
29746 | _swigc__p_wxDropFilesEvent, | |
29747 | _swigc__p_wxDuplexMode, | |
29748 | _swigc__p_wxEraseEvent, | |
29749 | _swigc__p_wxEvent, | |
29750 | _swigc__p_wxEvtHandler, | |
29751 | _swigc__p_wxFSFile, | |
29752 | _swigc__p_wxFileDialog, | |
29753 | _swigc__p_wxFileSystem, | |
29754 | _swigc__p_wxFindDialogEvent, | |
29755 | _swigc__p_wxFindReplaceData, | |
29756 | _swigc__p_wxFindReplaceDialog, | |
29757 | _swigc__p_wxFlexGridSizer, | |
29758 | _swigc__p_wxFocusEvent, | |
29759 | _swigc__p_wxFont, | |
29760 | _swigc__p_wxFontData, | |
29761 | _swigc__p_wxFontDialog, | |
29762 | _swigc__p_wxFrame, | |
29763 | _swigc__p_wxGBSizerItem, | |
29764 | _swigc__p_wxGIFHandler, | |
29765 | _swigc__p_wxGridBagSizer, | |
29766 | _swigc__p_wxGridSizer, | |
29767 | _swigc__p_wxICOHandler, | |
29768 | _swigc__p_wxIcon, | |
29769 | _swigc__p_wxIconBundle, | |
29770 | _swigc__p_wxIconizeEvent, | |
29771 | _swigc__p_wxIdleEvent, | |
29772 | _swigc__p_wxImage, | |
29773 | _swigc__p_wxImageHandler, | |
29774 | _swigc__p_wxIndividualLayoutConstraint, | |
29775 | _swigc__p_wxInitDialogEvent, | |
29776 | _swigc__p_wxJPEGHandler, | |
29777 | _swigc__p_wxKeyEvent, | |
29778 | _swigc__p_wxLayoutAlgorithm, | |
29779 | _swigc__p_wxLayoutConstraints, | |
29780 | _swigc__p_wxMDIChildFrame, | |
29781 | _swigc__p_wxMDIClientWindow, | |
29782 | _swigc__p_wxMDIParentFrame, | |
29783 | _swigc__p_wxMaximizeEvent, | |
29784 | _swigc__p_wxMenu, | |
29785 | _swigc__p_wxMenuBar, | |
29786 | _swigc__p_wxMenuEvent, | |
29787 | _swigc__p_wxMenuItem, | |
29788 | _swigc__p_wxMessageDialog, | |
29789 | _swigc__p_wxMiniFrame, | |
29790 | _swigc__p_wxMouseCaptureChangedEvent, | |
29791 | _swigc__p_wxMouseEvent, | |
29792 | _swigc__p_wxMoveEvent, | |
29793 | _swigc__p_wxMultiChoiceDialog, | |
29794 | _swigc__p_wxNavigationKeyEvent, | |
29795 | _swigc__p_wxNcPaintEvent, | |
29796 | _swigc__p_wxNotifyEvent, | |
29797 | _swigc__p_wxObject, | |
29798 | _swigc__p_wxPCXHandler, | |
29799 | _swigc__p_wxPNGHandler, | |
29800 | _swigc__p_wxPNMHandler, | |
29801 | _swigc__p_wxPageSetupDialog, | |
29802 | _swigc__p_wxPageSetupDialogData, | |
29803 | _swigc__p_wxPaintEvent, | |
29804 | _swigc__p_wxPaletteChangedEvent, | |
29805 | _swigc__p_wxPanel, | |
29806 | _swigc__p_wxPaperSize, | |
29807 | _swigc__p_wxPasswordEntryDialog, | |
29808 | _swigc__p_wxPoint, | |
29809 | _swigc__p_wxPopupWindow, | |
29810 | _swigc__p_wxPreviewCanvas, | |
29811 | _swigc__p_wxPreviewControlBar, | |
29812 | _swigc__p_wxPreviewFrame, | |
29813 | _swigc__p_wxPrintData, | |
29814 | _swigc__p_wxPrintDialog, | |
29815 | _swigc__p_wxPrintDialogData, | |
29816 | _swigc__p_wxPrintPreview, | |
29817 | _swigc__p_wxPrinter, | |
29818 | _swigc__p_wxProgressDialog, | |
29819 | _swigc__p_wxPyApp, | |
29820 | _swigc__p_wxPyCommandEvent, | |
29821 | _swigc__p_wxPyEvent, | |
29822 | _swigc__p_wxPyHtmlListBox, | |
29823 | _swigc__p_wxPyImageHandler, | |
29824 | _swigc__p_wxPyPanel, | |
29825 | _swigc__p_wxPyPopupTransientWindow, | |
29826 | _swigc__p_wxPyPreviewControlBar, | |
29827 | _swigc__p_wxPyPreviewFrame, | |
29828 | _swigc__p_wxPyPrintPreview, | |
29829 | _swigc__p_wxPyPrintout, | |
29830 | _swigc__p_wxPyScrolledWindow, | |
29831 | _swigc__p_wxPySizer, | |
29832 | _swigc__p_wxPyTaskBarIcon, | |
29833 | _swigc__p_wxPyVListBox, | |
29834 | _swigc__p_wxPyVScrolledWindow, | |
29835 | _swigc__p_wxPyValidator, | |
29836 | _swigc__p_wxPyWindow, | |
29837 | _swigc__p_wxQueryLayoutInfoEvent, | |
29838 | _swigc__p_wxQueryNewPaletteEvent, | |
29839 | _swigc__p_wxRect, | |
29840 | _swigc__p_wxRegion, | |
29841 | _swigc__p_wxSashEvent, | |
29842 | _swigc__p_wxSashLayoutWindow, | |
29843 | _swigc__p_wxSashWindow, | |
29844 | _swigc__p_wxScrollEvent, | |
29845 | _swigc__p_wxScrollWinEvent, | |
29846 | _swigc__p_wxScrolledWindow, | |
29847 | _swigc__p_wxSetCursorEvent, | |
29848 | _swigc__p_wxShowEvent, | |
29849 | _swigc__p_wxSingleChoiceDialog, | |
29850 | _swigc__p_wxSize, | |
29851 | _swigc__p_wxSizeEvent, | |
29852 | _swigc__p_wxSizer, | |
29853 | _swigc__p_wxSizerItem, | |
29854 | _swigc__p_wxSplashScreen, | |
29855 | _swigc__p_wxSplashScreenWindow, | |
29856 | _swigc__p_wxSplitterEvent, | |
29857 | _swigc__p_wxSplitterWindow, | |
29858 | _swigc__p_wxStaticBoxSizer, | |
29859 | _swigc__p_wxStatusBar, | |
29860 | _swigc__p_wxStdDialogButtonSizer, | |
29861 | _swigc__p_wxString, | |
29862 | _swigc__p_wxSysColourChangedEvent, | |
29863 | _swigc__p_wxTIFFHandler, | |
29864 | _swigc__p_wxTaskBarIcon, | |
29865 | _swigc__p_wxTaskBarIconEvent, | |
29866 | _swigc__p_wxTextEntryDialog, | |
29867 | _swigc__p_wxTipWindow, | |
29868 | _swigc__p_wxToolBar, | |
29869 | _swigc__p_wxTopLevelWindow, | |
29870 | _swigc__p_wxUpdateUIEvent, | |
29871 | _swigc__p_wxValidator, | |
29872 | _swigc__p_wxVisualAttributes, | |
29873 | _swigc__p_wxWindow, | |
29874 | _swigc__p_wxWindowCreateEvent, | |
29875 | _swigc__p_wxWindowDestroyEvent, | |
29876 | _swigc__p_wxXPMHandler, | |
29877 | _swigc__ptrdiff_t, | |
29878 | _swigc__std__ptrdiff_t, | |
29879 | _swigc__unsigned_int, | |
d14a1e28 RD |
29880 | }; |
29881 | ||
29882 | ||
29883 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
29884 | ||
29885 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 29886 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
29887 | |
29888 | #ifdef __cplusplus | |
29889 | } | |
29890 | #endif | |
32fe5131 RD |
29891 | /************************************************************************* |
29892 | * Type initialization: | |
29893 | * This problem is tough by the requirement that no dynamic | |
29894 | * memory is used. Also, since swig_type_info structures store pointers to | |
29895 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
29896 | * to swig_type_info structures, we need some lookup code at initialization. | |
29897 | * The idea is that swig generates all the structures that are needed. | |
29898 | * The runtime then collects these partially filled structures. | |
29899 | * The SWIG_InitializeModule function takes these initial arrays out of | |
29900 | * swig_module, and does all the lookup, filling in the swig_module.types | |
29901 | * array with the correct data and linking the correct swig_cast_info | |
29902 | * structures together. | |
29903 | ||
29904 | * The generated swig_type_info structures are assigned staticly to an initial | |
29905 | * array. We just loop though that array, and handle each type individually. | |
29906 | * First we lookup if this type has been already loaded, and if so, use the | |
29907 | * loaded structure instead of the generated one. Then we have to fill in the | |
29908 | * cast linked list. The cast data is initially stored in something like a | |
29909 | * two-dimensional array. Each row corresponds to a type (there are the same | |
29910 | * number of rows as there are in the swig_type_initial array). Each entry in | |
29911 | * a column is one of the swig_cast_info structures for that type. | |
29912 | * The cast_initial array is actually an array of arrays, because each row has | |
29913 | * a variable number of columns. So to actually build the cast linked list, | |
29914 | * we find the array of casts associated with the type, and loop through it | |
29915 | * adding the casts to the list. The one last trick we need to do is making | |
29916 | * sure the type pointer in the swig_cast_info struct is correct. | |
29917 | ||
29918 | * First off, we lookup the cast->type name to see if it is already loaded. | |
29919 | * There are three cases to handle: | |
29920 | * 1) If the cast->type has already been loaded AND the type we are adding | |
29921 | * casting info to has not been loaded (it is in this module), THEN we | |
29922 | * replace the cast->type pointer with the type pointer that has already | |
29923 | * been loaded. | |
29924 | * 2) If BOTH types (the one we are adding casting info to, and the | |
29925 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
29926 | * the previous module so we just ignore it. | |
29927 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
29928 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
29929 | * be correct. | |
29930 | **/ | |
29931 | ||
29932 | #ifdef __cplusplus | |
29933 | extern "C" { | |
29934 | #if 0 | |
29935 | } /* c-mode */ | |
29936 | #endif | |
29937 | #endif | |
29938 | ||
29939 | #if 0 | |
29940 | #define SWIGRUNTIME_DEBUG | |
29941 | #endif | |
29942 | ||
29943 | SWIGRUNTIME void | |
29944 | SWIG_InitializeModule(void *clientdata) { | |
29945 | size_t i; | |
29946 | swig_module_info *module_head; | |
29947 | static int init_run = 0; | |
29948 | ||
29949 | clientdata = clientdata; | |
29950 | ||
29951 | if (init_run) return; | |
29952 | init_run = 1; | |
29953 | ||
29954 | /* Initialize the swig_module */ | |
29955 | swig_module.type_initial = swig_type_initial; | |
29956 | swig_module.cast_initial = swig_cast_initial; | |
29957 | ||
29958 | /* Try and load any already created modules */ | |
29959 | module_head = SWIG_GetModule(clientdata); | |
29960 | if (module_head) { | |
29961 | swig_module.next = module_head->next; | |
29962 | module_head->next = &swig_module; | |
29963 | } else { | |
29964 | /* This is the first module loaded */ | |
29965 | swig_module.next = &swig_module; | |
29966 | SWIG_SetModule(clientdata, &swig_module); | |
29967 | } | |
29968 | ||
29969 | /* Now work on filling in swig_module.types */ | |
29970 | #ifdef SWIGRUNTIME_DEBUG | |
29971 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
29972 | #endif | |
29973 | for (i = 0; i < swig_module.size; ++i) { | |
29974 | swig_type_info *type = 0; | |
29975 | swig_type_info *ret; | |
29976 | swig_cast_info *cast; | |
29977 | ||
29978 | #ifdef SWIGRUNTIME_DEBUG | |
29979 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
29980 | #endif | |
29981 | ||
29982 | /* if there is another module already loaded */ | |
29983 | if (swig_module.next != &swig_module) { | |
29984 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
29985 | } | |
29986 | if (type) { | |
29987 | /* Overwrite clientdata field */ | |
29988 | #ifdef SWIGRUNTIME_DEBUG | |
29989 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
29990 | #endif | |
29991 | if (swig_module.type_initial[i]->clientdata) { | |
29992 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
29993 | #ifdef SWIGRUNTIME_DEBUG | |
29994 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
29995 | #endif | |
29996 | } | |
29997 | } else { | |
29998 | type = swig_module.type_initial[i]; | |
29999 | } | |
30000 | ||
30001 | /* Insert casting types */ | |
30002 | cast = swig_module.cast_initial[i]; | |
30003 | while (cast->type) { | |
30004 | /* Don't need to add information already in the list */ | |
30005 | ret = 0; | |
30006 | #ifdef SWIGRUNTIME_DEBUG | |
30007 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
30008 | #endif | |
30009 | if (swig_module.next != &swig_module) { | |
30010 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
30011 | #ifdef SWIGRUNTIME_DEBUG | |
30012 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
30013 | #endif | |
30014 | } | |
30015 | if (ret) { | |
30016 | if (type == swig_module.type_initial[i]) { | |
30017 | #ifdef SWIGRUNTIME_DEBUG | |
30018 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
30019 | #endif | |
30020 | cast->type = ret; | |
30021 | ret = 0; | |
30022 | } else { | |
30023 | /* Check for casting already in the list */ | |
30024 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
30025 | #ifdef SWIGRUNTIME_DEBUG | |
30026 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
30027 | #endif | |
30028 | if (!ocast) ret = 0; | |
30029 | } | |
30030 | } | |
30031 | ||
30032 | if (!ret) { | |
30033 | #ifdef SWIGRUNTIME_DEBUG | |
30034 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
30035 | #endif | |
30036 | if (type->cast) { | |
30037 | type->cast->prev = cast; | |
30038 | cast->next = type->cast; | |
30039 | } | |
30040 | type->cast = cast; | |
30041 | } | |
30042 | cast++; | |
30043 | } | |
30044 | /* Set entry in modules->types array equal to the type */ | |
30045 | swig_module.types[i] = type; | |
30046 | } | |
30047 | swig_module.types[i] = 0; | |
30048 | ||
30049 | #ifdef SWIGRUNTIME_DEBUG | |
30050 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
30051 | for (i = 0; i < swig_module.size; ++i) { | |
30052 | int j = 0; | |
30053 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
30054 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
30055 | while (cast->type) { | |
30056 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
30057 | cast++; | |
30058 | ++j; | |
30059 | } | |
30060 | printf("---- Total casts: %d\n",j); | |
30061 | } | |
30062 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
30063 | #endif | |
30064 | } | |
30065 | ||
30066 | /* This function will propagate the clientdata field of type to | |
30067 | * any new swig_type_info structures that have been added into the list | |
30068 | * of equivalent types. It is like calling | |
30069 | * SWIG_TypeClientData(type, clientdata) a second time. | |
30070 | */ | |
30071 | SWIGRUNTIME void | |
30072 | SWIG_PropagateClientData(void) { | |
30073 | size_t i; | |
30074 | swig_cast_info *equiv; | |
30075 | static int init_run = 0; | |
30076 | ||
30077 | if (init_run) return; | |
30078 | init_run = 1; | |
30079 | ||
30080 | for (i = 0; i < swig_module.size; i++) { | |
30081 | if (swig_module.types[i]->clientdata) { | |
30082 | equiv = swig_module.types[i]->cast; | |
30083 | while (equiv) { | |
30084 | if (!equiv->converter) { | |
30085 | if (equiv->type && !equiv->type->clientdata) | |
30086 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
30087 | } | |
30088 | equiv = equiv->next; | |
30089 | } | |
30090 | } | |
30091 | } | |
30092 | } | |
30093 | ||
30094 | #ifdef __cplusplus | |
30095 | #if 0 | |
30096 | { | |
30097 | /* c-mode */ | |
30098 | #endif | |
30099 | } | |
30100 | #endif | |
30101 | ||
d14a1e28 | 30102 | |
093d3ff1 RD |
30103 | |
30104 | #ifdef __cplusplus | |
30105 | extern "C" { | |
30106 | #endif | |
30107 | ||
30108 | /* Python-specific SWIG API */ | |
30109 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
30110 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
30111 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
30112 | ||
30113 | /* ----------------------------------------------------------------------------- | |
30114 | * global variable support code. | |
30115 | * ----------------------------------------------------------------------------- */ | |
30116 | ||
30117 | typedef struct swig_globalvar { | |
30118 | char *name; /* Name of global variable */ | |
32fe5131 | 30119 | PyObject *(*get_attr)(void); /* Return the current value */ |
093d3ff1 RD |
30120 | int (*set_attr)(PyObject *); /* Set the value */ |
30121 | struct swig_globalvar *next; | |
30122 | } swig_globalvar; | |
30123 | ||
30124 | typedef struct swig_varlinkobject { | |
30125 | PyObject_HEAD | |
30126 | swig_globalvar *vars; | |
30127 | } swig_varlinkobject; | |
30128 | ||
32fe5131 | 30129 | SWIGINTERN PyObject * |
093d3ff1 RD |
30130 | swig_varlink_repr(swig_varlinkobject *v) { |
30131 | v = v; | |
30132 | return PyString_FromString("<Swig global variables>"); | |
30133 | } | |
30134 | ||
32fe5131 | 30135 | SWIGINTERN int |
093d3ff1 RD |
30136 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { |
30137 | swig_globalvar *var; | |
30138 | flags = flags; | |
30139 | fprintf(fp,"Swig global variables { "); | |
30140 | for (var = v->vars; var; var=var->next) { | |
30141 | fprintf(fp,"%s", var->name); | |
30142 | if (var->next) fprintf(fp,", "); | |
30143 | } | |
30144 | fprintf(fp," }\n"); | |
30145 | return 0; | |
30146 | } | |
30147 | ||
32fe5131 | 30148 | SWIGINTERN PyObject * |
093d3ff1 RD |
30149 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { |
30150 | swig_globalvar *var = v->vars; | |
30151 | while (var) { | |
30152 | if (strcmp(var->name,n) == 0) { | |
30153 | return (*var->get_attr)(); | |
30154 | } | |
30155 | var = var->next; | |
30156 | } | |
30157 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
30158 | return NULL; | |
30159 | } | |
30160 | ||
32fe5131 | 30161 | SWIGINTERN int |
093d3ff1 RD |
30162 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { |
30163 | swig_globalvar *var = v->vars; | |
30164 | while (var) { | |
30165 | if (strcmp(var->name,n) == 0) { | |
30166 | return (*var->set_attr)(p); | |
30167 | } | |
30168 | var = var->next; | |
30169 | } | |
30170 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
30171 | return 1; | |
30172 | } | |
30173 | ||
32fe5131 RD |
30174 | SWIGINTERN PyTypeObject* |
30175 | swig_varlink_type(void) { | |
30176 | static char varlink__doc__[] = "Swig var link object"; | |
30177 | static PyTypeObject varlink_type | |
30178 | #if !defined(__cplusplus) | |
30179 | ; | |
30180 | static int type_init = 0; | |
30181 | if (!type_init) { | |
30182 | PyTypeObject tmp | |
30183 | #endif | |
30184 | = { | |
30185 | PyObject_HEAD_INIT(&PyType_Type) | |
30186 | 0, /* Number of items in variable part (ob_size) */ | |
30187 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
30188 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
30189 | 0, /* Itemsize (tp_itemsize) */ | |
30190 | 0, /* Deallocator (tp_dealloc) */ | |
30191 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
30192 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
30193 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
30194 | 0, /* tp_compare */ | |
30195 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
30196 | 0, /* tp_as_number */ | |
30197 | 0, /* tp_as_sequence */ | |
30198 | 0, /* tp_as_mapping */ | |
30199 | 0, /* tp_hash */ | |
30200 | 0, /* tp_call */ | |
30201 | 0, /* tp_str */ | |
30202 | 0, /* tp_getattro */ | |
30203 | 0, /* tp_setattro */ | |
30204 | 0, /* tp_as_buffer */ | |
30205 | 0, /* tp_flags */ | |
30206 | varlink__doc__, /* tp_doc */ | |
093d3ff1 | 30207 | #if PY_VERSION_HEX >= 0x02000000 |
32fe5131 RD |
30208 | 0, /* tp_traverse */ |
30209 | 0, /* tp_clear */ | |
093d3ff1 RD |
30210 | #endif |
30211 | #if PY_VERSION_HEX >= 0x02010000 | |
32fe5131 RD |
30212 | 0, /* tp_richcompare */ |
30213 | 0, /* tp_weaklistoffset */ | |
093d3ff1 RD |
30214 | #endif |
30215 | #if PY_VERSION_HEX >= 0x02020000 | |
32fe5131 | 30216 | 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 |
30217 | #endif |
30218 | #if PY_VERSION_HEX >= 0x02030000 | |
32fe5131 | 30219 | 0, /* tp_del */ |
093d3ff1 RD |
30220 | #endif |
30221 | #ifdef COUNT_ALLOCS | |
32fe5131 | 30222 | 0,0,0,0 /* tp_alloc -> tp_next */ |
093d3ff1 | 30223 | #endif |
32fe5131 RD |
30224 | }; |
30225 | #if !defined(__cplusplus) | |
30226 | varlink_type = tmp; | |
30227 | type_init = 1; | |
30228 | } | |
30229 | #endif | |
30230 | return &varlink_type; | |
30231 | } | |
093d3ff1 RD |
30232 | |
30233 | /* Create a variable linking object for use later */ | |
32fe5131 | 30234 | SWIGINTERN PyObject * |
093d3ff1 | 30235 | SWIG_Python_newvarlink(void) { |
32fe5131 RD |
30236 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); |
30237 | if (result) { | |
30238 | result->vars = 0; | |
30239 | } | |
093d3ff1 RD |
30240 | return ((PyObject*) result); |
30241 | } | |
30242 | ||
32fe5131 | 30243 | SWIGINTERN void |
093d3ff1 | 30244 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { |
32fe5131 RD |
30245 | swig_varlinkobject *v = (swig_varlinkobject *) p; |
30246 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
30247 | if (gv) { | |
30248 | size_t size = strlen(name)+1; | |
30249 | gv->name = (char *)malloc(size); | |
30250 | if (gv->name) { | |
30251 | strncpy(gv->name,name,size); | |
30252 | gv->get_attr = get_attr; | |
30253 | gv->set_attr = set_attr; | |
30254 | gv->next = v->vars; | |
30255 | } | |
30256 | } | |
093d3ff1 RD |
30257 | v->vars = gv; |
30258 | } | |
30259 | ||
30260 | /* ----------------------------------------------------------------------------- | |
30261 | * constants/methods manipulation | |
30262 | * ----------------------------------------------------------------------------- */ | |
30263 | ||
30264 | /* Install Constants */ | |
32fe5131 | 30265 | SWIGINTERN void |
093d3ff1 RD |
30266 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { |
30267 | PyObject *obj = 0; | |
30268 | size_t i; | |
32fe5131 | 30269 | for (i = 0; constants[i].type; ++i) { |
093d3ff1 RD |
30270 | switch(constants[i].type) { |
30271 | case SWIG_PY_INT: | |
30272 | obj = PyInt_FromLong(constants[i].lvalue); | |
30273 | break; | |
30274 | case SWIG_PY_FLOAT: | |
30275 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
30276 | break; | |
30277 | case SWIG_PY_STRING: | |
30278 | if (constants[i].pvalue) { | |
30279 | obj = PyString_FromString((char *) constants[i].pvalue); | |
30280 | } else { | |
30281 | Py_INCREF(Py_None); | |
30282 | obj = Py_None; | |
30283 | } | |
30284 | break; | |
30285 | case SWIG_PY_POINTER: | |
30286 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
30287 | break; | |
30288 | case SWIG_PY_BINARY: | |
30289 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
30290 | break; | |
30291 | default: | |
30292 | obj = 0; | |
30293 | break; | |
30294 | } | |
30295 | if (obj) { | |
30296 | PyDict_SetItemString(d,constants[i].name,obj); | |
30297 | Py_DECREF(obj); | |
30298 | } | |
30299 | } | |
30300 | } | |
30301 | ||
30302 | /* -----------------------------------------------------------------------------*/ | |
30303 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
30304 | /* -----------------------------------------------------------------------------*/ | |
30305 | ||
32fe5131 | 30306 | SWIGINTERN void |
093d3ff1 RD |
30307 | SWIG_Python_FixMethods(PyMethodDef *methods, |
30308 | swig_const_info *const_table, | |
30309 | swig_type_info **types, | |
30310 | swig_type_info **types_initial) { | |
30311 | size_t i; | |
30312 | for (i = 0; methods[i].ml_name; ++i) { | |
30313 | char *c = methods[i].ml_doc; | |
30314 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
30315 | int j; | |
30316 | swig_const_info *ci = 0; | |
30317 | char *name = c + 10; | |
32fe5131 | 30318 | for (j = 0; const_table[j].type; ++j) { |
093d3ff1 RD |
30319 | if (strncmp(const_table[j].name, name, |
30320 | strlen(const_table[j].name)) == 0) { | |
30321 | ci = &(const_table[j]); | |
30322 | break; | |
30323 | } | |
30324 | } | |
30325 | if (ci) { | |
30326 | size_t shift = (ci->ptype) - types; | |
30327 | swig_type_info *ty = types_initial[shift]; | |
30328 | size_t ldoc = (c - methods[i].ml_doc); | |
30329 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
30330 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
32fe5131 RD |
30331 | if (ndoc) { |
30332 | char *buff = ndoc; | |
30333 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
30334 | if (ptr) { | |
30335 | strncpy(buff, methods[i].ml_doc, ldoc); | |
30336 | buff += ldoc; | |
30337 | strncpy(buff, "swig_ptr: ", 10); | |
30338 | buff += 10; | |
30339 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
30340 | methods[i].ml_doc = ndoc; | |
30341 | } | |
30342 | } | |
093d3ff1 RD |
30343 | } |
30344 | } | |
30345 | } | |
30346 | } | |
30347 | ||
30348 | /* -----------------------------------------------------------------------------* | |
30349 | * Initialize type list | |
30350 | * -----------------------------------------------------------------------------*/ | |
30351 | ||
093d3ff1 RD |
30352 | #ifdef __cplusplus |
30353 | } | |
30354 | #endif | |
30355 | ||
30356 | /* -----------------------------------------------------------------------------* | |
30357 | * Partial Init method | |
30358 | * -----------------------------------------------------------------------------*/ | |
30359 | ||
d14a1e28 RD |
30360 | #ifdef __cplusplus |
30361 | extern "C" | |
30362 | #endif | |
32fe5131 | 30363 | SWIGEXPORT void SWIG_init(void) { |
d14a1e28 | 30364 | static PyObject *SWIG_globals = 0; |
d14a1e28 | 30365 | PyObject *m, *d; |
d14a1e28 | 30366 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); |
093d3ff1 RD |
30367 | |
30368 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
32fe5131 | 30369 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); |
093d3ff1 | 30370 | |
d14a1e28 RD |
30371 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
30372 | d = PyModule_GetDict(m); | |
30373 | ||
32fe5131 | 30374 | SWIG_InitializeModule(0); |
093d3ff1 RD |
30375 | SWIG_InstallConstants(d,swig_const_table); |
30376 | ||
30377 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
30378 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
30379 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
30380 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
30381 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
30382 | { | |
32fe5131 RD |
30383 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP))); |
30384 | } | |
30385 | { | |
30386 | PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE))); | |
093d3ff1 RD |
30387 | } |
30388 | { | |
32fe5131 | 30389 | PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE))); |
093d3ff1 RD |
30390 | } |
30391 | { | |
32fe5131 | 30392 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE))); |
093d3ff1 RD |
30393 | } |
30394 | { | |
32fe5131 | 30395 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX))); |
093d3ff1 RD |
30396 | } |
30397 | { | |
32fe5131 | 30398 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME))); |
093d3ff1 RD |
30399 | } |
30400 | { | |
32fe5131 | 30401 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU))); |
093d3ff1 RD |
30402 | } |
30403 | { | |
32fe5131 | 30404 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX))); |
093d3ff1 RD |
30405 | } |
30406 | { | |
32fe5131 | 30407 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX))); |
093d3ff1 RD |
30408 | } |
30409 | { | |
32fe5131 | 30410 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ))); |
093d3ff1 RD |
30411 | } |
30412 | { | |
32fe5131 | 30413 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT))); |
093d3ff1 RD |
30414 | } |
30415 | { | |
32fe5131 | 30416 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX))); |
093d3ff1 RD |
30417 | } |
30418 | { | |
32fe5131 | 30419 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER))); |
093d3ff1 RD |
30420 | } |
30421 | { | |
32fe5131 | 30422 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT))); |
093d3ff1 RD |
30423 | } |
30424 | { | |
32fe5131 | 30425 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE))); |
093d3ff1 RD |
30426 | } |
30427 | { | |
32fe5131 | 30428 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE))); |
093d3ff1 RD |
30429 | } |
30430 | { | |
32fe5131 | 30431 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW))); |
093d3ff1 RD |
30432 | } |
30433 | { | |
32fe5131 | 30434 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT))); |
093d3ff1 RD |
30435 | } |
30436 | { | |
32fe5131 | 30437 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU))); |
093d3ff1 RD |
30438 | } |
30439 | { | |
32fe5131 | 30440 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR))); |
093d3ff1 RD |
30441 | } |
30442 | { | |
32fe5131 | 30443 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED))); |
093d3ff1 RD |
30444 | } |
30445 | { | |
32fe5131 | 30446 | PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER))); |
093d3ff1 RD |
30447 | } |
30448 | { | |
32fe5131 | 30449 | PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL))); |
093d3ff1 | 30450 | } |
8f4d7c19 | 30451 | { |
32fe5131 | 30452 | PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL))); |
8f4d7c19 RD |
30453 | } |
30454 | { | |
32fe5131 | 30455 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL))); |
8f4d7c19 | 30456 | } |
093d3ff1 | 30457 | { |
32fe5131 | 30458 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS))); |
093d3ff1 RD |
30459 | } |
30460 | { | |
32fe5131 | 30461 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS))); |
093d3ff1 RD |
30462 | } |
30463 | { | |
32fe5131 | 30464 | PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D))); |
093d3ff1 RD |
30465 | } |
30466 | { | |
32fe5131 | 30467 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR))); |
093d3ff1 RD |
30468 | } |
30469 | { | |
32fe5131 | 30470 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR))); |
093d3ff1 RD |
30471 | } |
30472 | { | |
32fe5131 | 30473 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR))); |
093d3ff1 RD |
30474 | } |
30475 | { | |
32fe5131 | 30476 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER))); |
093d3ff1 RD |
30477 | } |
30478 | { | |
32fe5131 | 30479 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION))); |
093d3ff1 RD |
30480 | } |
30481 | { | |
32fe5131 | 30482 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL))); |
093d3ff1 RD |
30483 | } |
30484 | { | |
32fe5131 | 30485 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG))); |
093d3ff1 RD |
30486 | } |
30487 | { | |
32fe5131 | 30488 | PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO))); |
093d3ff1 RD |
30489 | } |
30490 | { | |
32fe5131 | 30491 | PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR))); |
093d3ff1 RD |
30492 | } |
30493 | { | |
32fe5131 | 30494 | PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags))); |
093d3ff1 RD |
30495 | } |
30496 | { | |
32fe5131 | 30497 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT))); |
093d3ff1 RD |
30498 | } |
30499 | { | |
32fe5131 | 30500 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN))); |
093d3ff1 RD |
30501 | } |
30502 | { | |
32fe5131 | 30503 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE))); |
093d3ff1 RD |
30504 | } |
30505 | { | |
32fe5131 | 30506 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT))); |
093d3ff1 RD |
30507 | } |
30508 | { | |
32fe5131 | 30509 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT))); |
093d3ff1 RD |
30510 | } |
30511 | { | |
32fe5131 | 30512 | PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL))); |
093d3ff1 RD |
30513 | } |
30514 | { | |
32fe5131 | 30515 | PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT))); |
093d3ff1 RD |
30516 | } |
30517 | { | |
32fe5131 | 30518 | PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED))); |
093d3ff1 | 30519 | } |
b2dc1044 | 30520 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
093d3ff1 | 30521 | { |
32fe5131 | 30522 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER))); |
093d3ff1 RD |
30523 | } |
30524 | { | |
32fe5131 | 30525 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH))); |
093d3ff1 RD |
30526 | } |
30527 | { | |
32fe5131 | 30528 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT))); |
093d3ff1 RD |
30529 | } |
30530 | { | |
32fe5131 | 30531 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE))); |
093d3ff1 RD |
30532 | } |
30533 | { | |
32fe5131 | 30534 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH))); |
093d3ff1 RD |
30535 | } |
30536 | { | |
32fe5131 | 30537 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER))); |
093d3ff1 RD |
30538 | } |
30539 | { | |
32fe5131 | 30540 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME))); |
093d3ff1 RD |
30541 | } |
30542 | { | |
32fe5131 | 30543 | PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER))); |
093d3ff1 RD |
30544 | } |
30545 | { | |
32fe5131 | 30546 | PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D))); |
093d3ff1 RD |
30547 | } |
30548 | { | |
32fe5131 | 30549 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL))); |
093d3ff1 RD |
30550 | } |
30551 | { | |
32fe5131 | 30552 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL))); |
093d3ff1 RD |
30553 | } |
30554 | { | |
32fe5131 | 30555 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE))); |
093d3ff1 RD |
30556 | } |
30557 | { | |
32fe5131 | 30558 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING))); |
093d3ff1 RD |
30559 | } |
30560 | { | |
32fe5131 | 30561 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN))); |
093d3ff1 | 30562 | } |
d14a1e28 RD |
30563 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
30564 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
30565 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
30566 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
b2dc1044 RD |
30567 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
30568 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
093d3ff1 | 30569 | { |
32fe5131 | 30570 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE))); |
093d3ff1 RD |
30571 | } |
30572 | { | |
32fe5131 | 30573 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING))); |
093d3ff1 RD |
30574 | } |
30575 | { | |
32fe5131 | 30576 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN))); |
093d3ff1 RD |
30577 | } |
30578 | { | |
32fe5131 | 30579 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER))); |
093d3ff1 RD |
30580 | } |
30581 | { | |
32fe5131 | 30582 | PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER))); |
093d3ff1 RD |
30583 | } |
30584 | { | |
32fe5131 | 30585 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH))); |
093d3ff1 RD |
30586 | } |
30587 | { | |
32fe5131 | 30588 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER))); |
093d3ff1 RD |
30589 | } |
30590 | { | |
32fe5131 | 30591 | PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D))); |
093d3ff1 RD |
30592 | } |
30593 | { | |
32fe5131 | 30594 | PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP))); |
093d3ff1 RD |
30595 | } |
30596 | { | |
32fe5131 | 30597 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT))); |
093d3ff1 RD |
30598 | } |
30599 | { | |
32fe5131 | 30600 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM))); |
093d3ff1 RD |
30601 | } |
30602 | { | |
32fe5131 | 30603 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT))); |
093d3ff1 RD |
30604 | } |
30605 | { | |
32fe5131 | 30606 | PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE))); |
093d3ff1 RD |
30607 | } |
30608 | { | |
32fe5131 | 30609 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK))); |
093d3ff1 RD |
30610 | } |
30611 | { | |
32fe5131 | 30612 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE))); |
093d3ff1 | 30613 | } |
d14a1e28 | 30614 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
093d3ff1 | 30615 | { |
32fe5131 | 30616 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL))); |
093d3ff1 RD |
30617 | } |
30618 | { | |
32fe5131 | 30619 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL))); |
093d3ff1 RD |
30620 | } |
30621 | { | |
32fe5131 | 30622 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE))); |
093d3ff1 RD |
30623 | } |
30624 | { | |
32fe5131 | 30625 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP))); |
093d3ff1 RD |
30626 | } |
30627 | { | |
32fe5131 | 30628 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT))); |
093d3ff1 RD |
30629 | } |
30630 | { | |
32fe5131 | 30631 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT))); |
093d3ff1 RD |
30632 | } |
30633 | { | |
32fe5131 | 30634 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM))); |
093d3ff1 RD |
30635 | } |
30636 | { | |
32fe5131 | 30637 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y))); |
093d3ff1 RD |
30638 | } |
30639 | { | |
32fe5131 | 30640 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X))); |
093d3ff1 RD |
30641 | } |
30642 | { | |
32fe5131 | 30643 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH))); |
093d3ff1 RD |
30644 | } |
30645 | { | |
32fe5131 | 30646 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY))); |
093d3ff1 | 30647 | } |
d14a1e28 RD |
30648 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
30649 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
b2dc1044 | 30650 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
30651 | |
30652 | // Map renamed classes back to their common name for OOR | |
30653 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
30654 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
30655 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
30656 | ||
30657 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
30658 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
30659 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
30660 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
30661 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
30662 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
30663 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
b2dc1044 RD |
30664 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
30665 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
30666 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
30667 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
30668 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
30669 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
093d3ff1 | 30670 | { |
32fe5131 | 30671 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE))); |
093d3ff1 RD |
30672 | } |
30673 | { | |
32fe5131 | 30674 | PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle))); |
093d3ff1 | 30675 | } |
d3b6e4ff | 30676 | SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set); |
093d3ff1 | 30677 | { |
32fe5131 | 30678 | PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN))); |
093d3ff1 RD |
30679 | } |
30680 | { | |
32fe5131 | 30681 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD))); |
093d3ff1 RD |
30682 | } |
30683 | { | |
32fe5131 | 30684 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE))); |
093d3ff1 RD |
30685 | } |
30686 | { | |
32fe5131 | 30687 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG))); |
093d3ff1 RD |
30688 | } |
30689 | { | |
32fe5131 | 30690 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN))); |
093d3ff1 RD |
30691 | } |
30692 | { | |
32fe5131 | 30693 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE))); |
093d3ff1 RD |
30694 | } |
30695 | { | |
32fe5131 | 30696 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD))); |
093d3ff1 | 30697 | } |
d14a1e28 RD |
30698 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
30699 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
30700 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
30701 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
30702 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
093d3ff1 | 30703 | { |
32fe5131 | 30704 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001))); |
093d3ff1 RD |
30705 | } |
30706 | { | |
32fe5131 | 30707 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001))); |
093d3ff1 RD |
30708 | } |
30709 | { | |
32fe5131 | 30710 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002))); |
093d3ff1 RD |
30711 | } |
30712 | { | |
32fe5131 | 30713 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003))); |
093d3ff1 RD |
30714 | } |
30715 | { | |
32fe5131 | 30716 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004))); |
093d3ff1 RD |
30717 | } |
30718 | { | |
32fe5131 | 30719 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005))); |
093d3ff1 | 30720 | } |
24d7cbea | 30721 | { |
32fe5131 | 30722 | PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006))); |
24d7cbea | 30723 | } |
093d3ff1 | 30724 | { |
32fe5131 | 30725 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100))); |
093d3ff1 RD |
30726 | } |
30727 | { | |
32fe5131 | 30728 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600))); |
093d3ff1 | 30729 | } |
b2dc1044 RD |
30730 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
30731 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
093d3ff1 | 30732 | { |
32fe5131 | 30733 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE))); |
093d3ff1 RD |
30734 | } |
30735 | { | |
32fe5131 | 30736 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW))); |
093d3ff1 RD |
30737 | } |
30738 | { | |
32fe5131 | 30739 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE))); |
093d3ff1 RD |
30740 | } |
30741 | { | |
32fe5131 | 30742 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER))); |
093d3ff1 RD |
30743 | } |
30744 | { | |
32fe5131 | 30745 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM))); |
093d3ff1 RD |
30746 | } |
30747 | { | |
32fe5131 | 30748 | PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT))); |
093d3ff1 RD |
30749 | } |
30750 | { | |
32fe5131 | 30751 | PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE))); |
093d3ff1 RD |
30752 | } |
30753 | { | |
32fe5131 | 30754 | PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER))); |
093d3ff1 RD |
30755 | } |
30756 | { | |
32fe5131 | 30757 | PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE))); |
093d3ff1 RD |
30758 | } |
30759 | { | |
32fe5131 | 30760 | PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL))); |
093d3ff1 RD |
30761 | } |
30762 | { | |
32fe5131 | 30763 | PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE))); |
093d3ff1 RD |
30764 | } |
30765 | { | |
32fe5131 | 30766 | PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL))); |
093d3ff1 RD |
30767 | } |
30768 | { | |
32fe5131 | 30769 | PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO))); |
093d3ff1 RD |
30770 | } |
30771 | { | |
32fe5131 | 30772 | PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR))); |
093d3ff1 RD |
30773 | } |
30774 | { | |
32fe5131 | 30775 | PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT))); |
093d3ff1 RD |
30776 | } |
30777 | { | |
32fe5131 | 30778 | PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT))); |
093d3ff1 RD |
30779 | } |
30780 | { | |
32fe5131 | 30781 | PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY))); |
093d3ff1 RD |
30782 | } |
30783 | { | |
32fe5131 | 30784 | PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE))); |
093d3ff1 RD |
30785 | } |
30786 | { | |
32fe5131 | 30787 | PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE))); |
093d3ff1 RD |
30788 | } |
30789 | { | |
32fe5131 | 30790 | PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER))); |
093d3ff1 RD |
30791 | } |
30792 | { | |
32fe5131 | 30793 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR))); |
093d3ff1 RD |
30794 | } |
30795 | { | |
32fe5131 | 30796 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED))); |
093d3ff1 RD |
30797 | } |
30798 | { | |
32fe5131 | 30799 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR))); |
093d3ff1 RD |
30800 | } |
30801 | { | |
32fe5131 | 30802 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT))); |
093d3ff1 RD |
30803 | } |
30804 | { | |
32fe5131 | 30805 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS))); |
093d3ff1 RD |
30806 | } |
30807 | { | |
32fe5131 | 30808 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT))); |
093d3ff1 RD |
30809 | } |
30810 | { | |
32fe5131 | 30811 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM))); |
093d3ff1 RD |
30812 | } |
30813 | { | |
32fe5131 | 30814 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST))); |
093d3ff1 RD |
30815 | } |
30816 | { | |
32fe5131 | 30817 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST))); |
093d3ff1 RD |
30818 | } |
30819 | { | |
32fe5131 | 30820 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO))); |
093d3ff1 RD |
30821 | } |
30822 | { | |
32fe5131 | 30823 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT))); |
093d3ff1 RD |
30824 | } |
30825 | { | |
32fe5131 | 30826 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE))); |
093d3ff1 RD |
30827 | } |
30828 | { | |
32fe5131 | 30829 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT))); |
093d3ff1 RD |
30830 | } |
30831 | { | |
32fe5131 | 30832 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS))); |
093d3ff1 RD |
30833 | } |
30834 | { | |
32fe5131 | 30835 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT))); |
093d3ff1 RD |
30836 | } |
30837 | { | |
32fe5131 | 30838 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM))); |
093d3ff1 RD |
30839 | } |
30840 | { | |
32fe5131 | 30841 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST))); |
093d3ff1 RD |
30842 | } |
30843 | { | |
32fe5131 | 30844 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST))); |
093d3ff1 RD |
30845 | } |
30846 | { | |
32fe5131 | 30847 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO))); |
093d3ff1 | 30848 | } |
d14a1e28 RD |
30849 | |
30850 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
30851 | ||
30852 | } | |
30853 |