]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
0085ce49 3 * Version 1.3.29
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
0085ce49 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d14a1e28
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
d14a1e28
RD
28#endif
29
0085ce49 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
0085ce49 33 * ----------------------------------------------------------------------------- */
d14a1e28 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
0085ce49
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
093d3ff1 46#endif
d14a1e28 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
0085ce49
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
0085ce49
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
0085ce49
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
0085ce49
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
0085ce49
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
c9c7117a 127
0085ce49 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d14a1e28 130
0085ce49 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d14a1e28 133 *
0085ce49
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d14a1e28 137
093d3ff1
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d14a1e28 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
32fe5131 159
093d3ff1 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
32fe5131 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
166#endif
167
0085ce49
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
d14a1e28
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
d14a1e28 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
0085ce49 325 int owndata; /* flag if the structure owns the clientdata */
d14a1e28
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
093d3ff1
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
0085ce49 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
093d3ff1
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
093d3ff1
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
093d3ff1 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
32fe5131 401 return equiv;
093d3ff1
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
093d3ff1
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
0085ce49 481 if (!type) return NULL;
093d3ff1
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
093d3ff1
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
093d3ff1
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
0085ce49
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
093d3ff1 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
093d3ff1 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
093d3ff1
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
093d3ff1
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
32fe5131 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
0085ce49 622 register unsigned char uu;
093d3ff1
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
093d3ff1
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d14a1e28 682
093d3ff1
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d14a1e28
RD
695
696#ifdef __cplusplus
697}
698#endif
699
0085ce49
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
d14a1e28 714
0085ce49
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
093d3ff1 764#endif
0085ce49
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c32bde28 799
093d3ff1 800/* -----------------------------------------------------------------------------
0085ce49 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d14a1e28 803
0085ce49
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
d14a1e28 846
0085ce49
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
093d3ff1 935#endif
d14a1e28 936
0085ce49
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
0085ce49
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d14a1e28 951
093d3ff1 952/* Constant Types */
093d3ff1
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
0085ce49
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
093d3ff1 964} swig_const_info;
d14a1e28 965
994141e6 966#ifdef __cplusplus
0085ce49
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
994141e6 972
15afbcd0 973
0085ce49
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
093d3ff1
RD
978 * pyrun.swg
979 *
0085ce49
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
093d3ff1 983 *
0085ce49 984 * ----------------------------------------------------------------------------- */
15afbcd0 985
093d3ff1 986/* Common SWIG API */
994141e6 987
d1a49b78
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
0085ce49
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
994141e6 1000
0085ce49
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
994141e6 1004
0085ce49
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d14a1e28 1008
0085ce49
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d14a1e28 1012
0085ce49
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1016
d14a1e28 1017
0085ce49 1018/* Runtime API */
15afbcd0 1019
0085ce49
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1023
0085ce49
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
32fe5131 1029
15afbcd0 1030
0085ce49 1031/* Runtime API implementation */
994141e6 1032
0085ce49 1033/* Error manipulation */
994141e6 1034
0085ce49
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
c32bde28 1041}
15afbcd0 1042
0085ce49
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
15afbcd0
RD
1048}
1049
0085ce49 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
0085ce49 1052/* Set a constant value */
15afbcd0 1053
0085ce49
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
c32bde28 1058}
15afbcd0 1059
0085ce49 1060/* Append a value to the result obj */
994141e6 1061
0085ce49
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
093d3ff1 1088 } else {
0085ce49
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c32bde28 1100 }
0085ce49
RD
1101 return result;
1102#endif
c32bde28
RD
1103}
1104
0085ce49 1105/* Unpack the argument tuple */
15afbcd0 1106
0085ce49
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1613#endif
1614 };
1615
0085ce49 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
093d3ff1 1618 if (!type_init) {
0085ce49
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
093d3ff1 1632#endif
0085ce49
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
093d3ff1 1651#if PY_VERSION_HEX >= 0x02020000
0085ce49
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
093d3ff1
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
0085ce49 1674 0, /* tp_del */
093d3ff1
RD
1675#endif
1676#ifdef COUNT_ALLOCS
0085ce49 1677 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1678#endif
0085ce49 1679 };
32fe5131 1680 pyswigobject_type = tmp;
0085ce49 1681 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
093d3ff1
RD
1685}
1686
1687SWIGRUNTIME PyObject *
0085ce49 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c32bde28 1689{
0085ce49
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
32fe5131 1696 }
0085ce49 1697 return (PyObject *)sobj;
093d3ff1 1698}
d14a1e28 1699
093d3ff1
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
994141e6 1703
093d3ff1
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
0085ce49 1707 swig_type_info *ty;
093d3ff1
RD
1708 size_t size;
1709} PySwigPacked;
c32bde28 1710
093d3ff1 1711SWIGRUNTIME int
0085ce49 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
994141e6 1713{
093d3ff1
RD
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
0085ce49 1720 fputs(v->ty->name,fp);
093d3ff1
RD
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
0085ce49 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1731 } else {
0085ce49 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1 1733 }
15afbcd0
RD
1734}
1735
093d3ff1
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
0085ce49 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1742 } else {
0085ce49 1743 return PyString_FromString(v->ty->name);
093d3ff1
RD
1744 }
1745}
15afbcd0 1746
093d3ff1
RD
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
15afbcd0 1749{
0085ce49
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c32bde28
RD
1754}
1755
0085ce49 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
994141e6 1757
093d3ff1 1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
0085ce49
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
093d3ff1
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
0085ce49 1837 0, /* tp_del */
093d3ff1
RD
1838#endif
1839#ifdef COUNT_ALLOCS
0085ce49 1840 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1841#endif
0085ce49 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
0085ce49 1844 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
093d3ff1 1848}
d14a1e28 1849
093d3ff1 1850SWIGRUNTIME PyObject *
0085ce49 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1852{
0085ce49
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
093d3ff1 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
0085ce49
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
093d3ff1 1865 }
0085ce49 1866 return (PyObject *) sobj;
093d3ff1 1867}
d14a1e28 1868
0085ce49 1869SWIGRUNTIME swig_type_info *
093d3ff1 1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d14a1e28 1871{
0085ce49
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
093d3ff1 1880}
d14a1e28 1881
093d3ff1 1882/* -----------------------------------------------------------------------------
0085ce49 1883 * pointers/data manipulation
093d3ff1 1884 * ----------------------------------------------------------------------------- */
d14a1e28 1885
0085ce49
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
d14a1e28 1891
0085ce49
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
d14a1e28 1898
0085ce49 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d14a1e28 1900
0085ce49
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1903{
0085ce49
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
093d3ff1 1926 } else {
0085ce49
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
093d3ff1 1929 }
093d3ff1 1930 }
0085ce49
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
093d3ff1
RD
1947 }
1948}
d14a1e28 1949
0085ce49
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
093d3ff1 1961 }
0085ce49 1962 return 0;
093d3ff1 1963}
d14a1e28 1964
0085ce49
RD
1965/* Convert a pointer value */
1966
093d3ff1 1967SWIGRUNTIME int
0085ce49
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
093d3ff1 1992 } else {
0085ce49
RD
1993 if (ptr) *ptr = vptr;
1994 break;
093d3ff1 1995 }
093d3ff1 1996 }
0085ce49
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
093d3ff1
RD
2042 }
2043}
d14a1e28 2044
0085ce49
RD
2045/* Convert a function ptr value */
2046
093d3ff1 2047SWIGRUNTIME int
0085ce49
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2051 } else {
0085ce49
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
d1a49b78 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
0085ce49
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
093d3ff1
RD
2069 }
2070}
d14a1e28 2071
0085ce49 2072/* Convert a packed value value */
d14a1e28 2073
093d3ff1 2074SWIGRUNTIME int
0085ce49
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
093d3ff1 2084 }
0085ce49
RD
2085 return SWIG_OK;
2086}
d14a1e28 2087
0085ce49
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
d14a1e28 2091
0085ce49
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
d14a1e28 2096
0085ce49
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
093d3ff1 2115 }
0085ce49
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
093d3ff1 2120 }
0085ce49
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
093d3ff1 2126 }
0085ce49
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
093d3ff1 2140 }
0085ce49
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
093d3ff1 2147 }
0085ce49
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
093d3ff1 2158}
d14a1e28 2159
0085ce49
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
093d3ff1 2175#endif
0085ce49
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
d14a1e28 2180
0085ce49
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2191 } else {
0085ce49 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2193 }
0085ce49 2194 return SWIG_Py_Void();
093d3ff1 2195 }
0085ce49
RD
2196}
2197
2198/* Create a new pointer object */
093d3ff1 2199
093d3ff1 2200SWIGRUNTIME PyObject *
0085ce49 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2202 if (!ptr) {
0085ce49
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
093d3ff1 2213 }
093d3ff1 2214 }
0085ce49 2215 return robj;
093d3ff1 2216 }
093d3ff1
RD
2217}
2218
0085ce49
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
093d3ff1 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
0085ce49 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
093d3ff1
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
093d3ff1 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
093d3ff1
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
0085ce49 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
0085ce49 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
0085ce49 2268 return SWIG_ERROR;
32fe5131
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
0085ce49 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
0085ce49 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
0085ce49 2281 return SWIG_OK;
093d3ff1 2282}
32fe5131 2283#endif
093d3ff1 2284
0085ce49
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
32fe5131
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
0085ce49 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
0085ce49
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
093d3ff1 2314
0085ce49
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
093d3ff1 2320}
093d3ff1 2321
0085ce49
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
01f6b6d3
RD
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
2477#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478#define SWIGTYPE_p_wxBitmap swig_types[12]
2479#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2131d850
RD
2483#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485#define SWIGTYPE_p_wxColour swig_types[19]
2486#define SWIGTYPE_p_wxColourData swig_types[20]
2487#define SWIGTYPE_p_wxColourDialog swig_types[21]
2488#define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489#define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490#define SWIGTYPE_p_wxControl swig_types[24]
2491#define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492#define SWIGTYPE_p_wxDC swig_types[26]
2493#define SWIGTYPE_p_wxDateEvent swig_types[27]
2494#define SWIGTYPE_p_wxDialog swig_types[28]
2495#define SWIGTYPE_p_wxDirDialog swig_types[29]
2496#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498#define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499#define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500#define SWIGTYPE_p_wxEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502#define SWIGTYPE_p_wxFSFile swig_types[36]
2503#define SWIGTYPE_p_wxFileDialog swig_types[37]
2504#define SWIGTYPE_p_wxFileSystem swig_types[38]
2505#define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506#define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507#define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509#define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510#define SWIGTYPE_p_wxFont swig_types[44]
2511#define SWIGTYPE_p_wxFontData swig_types[45]
2512#define SWIGTYPE_p_wxFontDialog swig_types[46]
2513#define SWIGTYPE_p_wxFrame swig_types[47]
2514#define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515#define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517#define SWIGTYPE_p_wxGridSizer swig_types[51]
2518#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519#define SWIGTYPE_p_wxICOHandler swig_types[53]
2520#define SWIGTYPE_p_wxIcon swig_types[54]
2521#define SWIGTYPE_p_wxIconBundle swig_types[55]
2522#define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523#define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524#define SWIGTYPE_p_wxImage swig_types[58]
2525#define SWIGTYPE_p_wxImageHandler swig_types[59]
2526#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528#define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529#define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531#define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532#define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533#define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534#define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535#define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536#define SWIGTYPE_p_wxMenu swig_types[70]
2537#define SWIGTYPE_p_wxMenuBar swig_types[71]
2538#define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539#define SWIGTYPE_p_wxMenuItem swig_types[73]
2540#define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541#define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543#define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544#define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547#define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548#define SWIGTYPE_p_wxNotifyEvent swig_types[82]
27e45892
RD
2549#define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550#define SWIGTYPE_p_wxObject swig_types[84]
2551#define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552#define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553#define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554#define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555#define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556#define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558#define SWIGTYPE_p_wxPanel swig_types[92]
2559#define SWIGTYPE_p_wxPaperSize swig_types[93]
2560#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561#define SWIGTYPE_p_wxPoint swig_types[95]
2562#define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563#define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564#define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565#define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566#define SWIGTYPE_p_wxPrintData swig_types[100]
2567#define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568#define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569#define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570#define SWIGTYPE_p_wxPrinter swig_types[104]
2571#define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572#define SWIGTYPE_p_wxPyApp swig_types[106]
2573#define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574#define SWIGTYPE_p_wxPyEvent swig_types[108]
2575#define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576#define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577#define SWIGTYPE_p_wxPyPanel swig_types[111]
2578#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580#define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581#define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582#define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583#define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584#define SWIGTYPE_p_wxPySizer swig_types[118]
2585#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586#define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588#define SWIGTYPE_p_wxPyValidator swig_types[122]
2589#define SWIGTYPE_p_wxPyWindow swig_types[123]
2590#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592#define SWIGTYPE_p_wxRect swig_types[126]
2593#define SWIGTYPE_p_wxRegion swig_types[127]
2594#define SWIGTYPE_p_wxSashEvent swig_types[128]
2595#define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596#define SWIGTYPE_p_wxSashWindow swig_types[130]
2597#define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598#define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599#define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600#define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601#define SWIGTYPE_p_wxShowEvent swig_types[135]
2602#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603#define SWIGTYPE_p_wxSize swig_types[137]
2604#define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605#define SWIGTYPE_p_wxSizer swig_types[139]
2606#define SWIGTYPE_p_wxSizerItem swig_types[140]
2607#define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608#define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609#define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610#define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611#define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612#define SWIGTYPE_p_wxStatusBar swig_types[146]
2613#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614#define SWIGTYPE_p_wxString swig_types[148]
2615#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616#define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617#define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619#define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620#define SWIGTYPE_p_wxTipWindow swig_types[154]
2621#define SWIGTYPE_p_wxToolBar swig_types[155]
2622#define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623#define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624#define SWIGTYPE_p_wxValidator swig_types[158]
2625#define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626#define SWIGTYPE_p_wxWindow swig_types[160]
2627#define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629#define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630static swig_type_info *swig_types[165];
2631static swig_module_info swig_module = {swig_types, 164, 0, 0, 0, 0};
32fe5131
RD
2632#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2634
2635/* -------- TYPES TABLE (END) -------- */
2636
0085ce49
RD
2637#if (PY_VERSION_HEX <= 0x02000000)
2638# if !defined(SWIG_PYTHON_CLASSIC)
2639# error "This python version requires to use swig with the '-classic' option"
2640# endif
2641#endif
2642#if (PY_VERSION_HEX <= 0x02020000)
2643# error "This python version requires to use swig with the '-nomodern' option"
2644#endif
2645#if (PY_VERSION_HEX <= 0x02020000)
2646# error "This python version requires to use swig with the '-nomodernargs' option"
2647#endif
2648#ifndef METH_O
2649# error "This python version requires to use swig with the '-nofastunpack' option"
2650#endif
093d3ff1
RD
2651
2652/*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655#define SWIG_init init_windows_
2656
2657#define SWIG_name "_windows_"
2658
0085ce49 2659#define SWIGVERSION 0x010329
093d3ff1 2660
093d3ff1 2661
0085ce49
RD
2662#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
093d3ff1
RD
2664
2665
0085ce49 2666#include <stdexcept>
093d3ff1
RD
2667
2668
0085ce49
RD
2669namespace swig {
2670 class PyObject_ptr {
2671 protected:
2672 PyObject *_obj;
093d3ff1 2673
0085ce49
RD
2674 public:
2675 PyObject_ptr() :_obj(0)
2676 {
2677 }
093d3ff1 2678
0085ce49
RD
2679 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2680 {
2681 Py_XINCREF(_obj);
093d3ff1 2682 }
0085ce49
RD
2683
2684 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2685 {
2686 if (initial_ref) Py_XINCREF(_obj);
093d3ff1 2687 }
0085ce49
RD
2688
2689 PyObject_ptr & operator=(const PyObject_ptr& item)
2690 {
2691 Py_XINCREF(item._obj);
2692 Py_XDECREF(_obj);
2693 _obj = item._obj;
2694 return *this;
2695 }
2696
2697 ~PyObject_ptr()
2698 {
2699 Py_XDECREF(_obj);
2700 }
2701
2702 operator PyObject *() const
2703 {
2704 return _obj;
2705 }
2706
2707 PyObject *operator->() const
2708 {
2709 return _obj;
2710 }
2711 };
093d3ff1
RD
2712}
2713
2714
0085ce49
RD
2715namespace swig {
2716 struct PyObject_var : PyObject_ptr {
2717 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2718
2719 PyObject_var & operator = (PyObject* obj)
2720 {
2721 Py_XDECREF(_obj);
2722 _obj = obj;
2723 return *this;
093d3ff1 2724 }
0085ce49 2725 };
093d3ff1 2726}
093d3ff1
RD
2727
2728
0085ce49
RD
2729#include "wx/wxPython/wxPython.h"
2730#include "wx/wxPython/pyclasses.h"
2731
093d3ff1 2732
0085ce49
RD
2733 static const wxString wxPyEmptyString(wxEmptyString);
2734 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1 2735
093d3ff1 2736
0085ce49
RD
2737
2738#include <limits.h>
2739#ifndef LLONG_MIN
2740# define LLONG_MIN LONG_LONG_MIN
2741#endif
2742#ifndef LLONG_MAX
2743# define LLONG_MAX LONG_LONG_MAX
2744#endif
2745#ifndef ULLONG_MAX
2746# define ULLONG_MAX ULONG_LONG_MAX
2747#endif
2748
2749
2750SWIGINTERN int
2751SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1 2752{
0085ce49
RD
2753 if (PyNumber_Check(obj)) {
2754 if (val) *val = PyInt_AsLong(obj);
2755 return SWIG_OK;
2756 }
2757 return SWIG_TypeError;
093d3ff1
RD
2758}
2759
0085ce49
RD
2760
2761SWIGINTERN int
2762SWIG_AsVal_int (PyObject * obj, int *val)
093d3ff1 2763{
0085ce49
RD
2764 long v;
2765 int res = SWIG_AsVal_long (obj, &v);
2766 if (SWIG_IsOK(res)) {
2767 if ((v < INT_MIN || v > INT_MAX)) {
2768 return SWIG_OverflowError;
2769 } else {
2770 if (val) *val = static_cast< int >(v);
2771 }
2772 }
2773 return res;
093d3ff1
RD
2774}
2775
2776
2777SWIGINTERN int
0085ce49 2778SWIG_AsVal_bool (PyObject *obj, bool *val)
093d3ff1
RD
2779{
2780 if (obj == Py_True) {
2781 if (val) *val = true;
0085ce49
RD
2782 return SWIG_OK;
2783 } else if (obj == Py_False) {
093d3ff1 2784 if (val) *val = false;
0085ce49 2785 return SWIG_OK;
093d3ff1 2786 } else {
0085ce49
RD
2787 long v = 0;
2788 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2789 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2790 return res;
093d3ff1 2791 }
093d3ff1
RD
2792}
2793
2794
0085ce49 2795 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2796
2797
0085ce49
RD
2798SWIGINTERNINLINE PyObject *
2799SWIG_From_int (int value)
2800{
2801 return SWIG_From_long (value);
2802}
093d3ff1
RD
2803
2804
2805SWIGINTERN int
0085ce49 2806SWIG_AsVal_double (PyObject *obj, double* val)
093d3ff1
RD
2807{
2808 if (PyNumber_Check(obj)) {
2809 if (val) *val = PyFloat_AsDouble(obj);
0085ce49 2810 return SWIG_OK;
093d3ff1 2811 }
0085ce49 2812 return SWIG_TypeError;
093d3ff1
RD
2813}
2814
2815
0085ce49 2816 #define SWIG_From_double PyFloat_FromDouble
093d3ff1
RD
2817
2818 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2819 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2820 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2821 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
0085ce49
RD
2822SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2823SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
093d3ff1
RD
2824
2825
0085ce49 2826SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
093d3ff1
RD
2827 wxRect r;
2828 self->GetFieldRect(i, r);
2829 return r;
2830 }
2831 static const wxString wxPySplitterNameStr(wxT("splitter"));
2832 static const wxString wxPySashNameStr(wxT("sashWindow"));
2833 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2834
2835#include <wx/popupwin.h>
2836
2837
2838class wxPyPopupTransientWindow : public wxPopupTransientWindow
2839{
2840public:
2841 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2842 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2843 : wxPopupTransientWindow(parent, style) {}
2844
2845 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2846 DEC_PYCALLBACK__(OnDismiss);
2847 DEC_PYCALLBACK_BOOL_(CanDismiss);
2848 PYPRIVATE;
2849};
2850
2851
2852IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2853IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2854IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2855
2856
2857#include <wx/tipwin.h>
2858
0085ce49 2859SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
093d3ff1
RD
2860 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2861 }
2862
2863#include <wx/tipwin.h>
2864
2865
2866#include <wx/vscroll.h>
2867
2868
2869class wxPyVScrolledWindow : public wxVScrolledWindow
2870{
32fe5131 2871 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
2872public:
2873 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2874
2875 wxPyVScrolledWindow(wxWindow *parent,
2876 wxWindowID id = wxID_ANY,
2877 const wxPoint& pos = wxDefaultPosition,
2878 const wxSize& size = wxDefaultSize,
2879 long style = 0,
2880 const wxString& name = wxPyPanelNameStr)
2881 : wxVScrolledWindow(parent, id, pos, size, style, name)
2882 {}
2883
2884 // Overridable virtuals
2885
2886 // this function must be overridden in the derived class and it should
2887 // return the height of the given line in pixels
2888 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2889
2890
2891 // this function doesn't have to be overridden but it may be useful to do
2892 // it if calculating the lines heights is a relatively expensive operation
2893 // as it gives the user code a possibility to calculate several of them at
2894 // once
2895 //
2896 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2897 // shouldn't rely on the latter being called for all lines in the interval
2898 // specified here. It is also possible that OnGetLineHeight() will be
2899 // called for the lines outside of this interval, so this is really just a
2900 // hint, not a promise.
2901 //
2902 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2903 // usual
2904 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2905
2906
2907 // when the number of lines changes, we try to estimate the total height
2908 // of all lines which is a rather expensive operation in terms of lines
2909 // access, so if the user code may estimate the average height
2910 // better/faster than we do, it should override this function to implement
2911 // its own logic
2912 //
2913 // this function should return the best guess for the total height it may
2914 // make
2915 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2916
2917
2918 // Also expose some other interesting protected methods
2919
2920
2921 // find the index of the line we need to show at the top of the window such
2922 // that the last (fully or partially) visible line is the given one
2923 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2924 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2925
2926 // get the total height of the lines between lineMin (inclusive) and
2927 // lineMax (exclusive)
2928 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2929 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d14a1e28 2930
01f6b6d3
RD
2931 // update the thumb size shown by the scrollbar
2932 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2933
2934 // remove the scrollbar completely because we don't need it
2935 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
d14a1e28
RD
2936
2937 PYPRIVATE;
2938};
2939
2940IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2941
2942IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2943IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2944IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2945
2946
093d3ff1 2947SWIGINTERN int
0085ce49 2948SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
15afbcd0 2949{
c32bde28
RD
2950 long v = 0;
2951 if (SWIG_AsVal_long(obj, &v) && v < 0) {
0085ce49 2952 return SWIG_TypeError;
15afbcd0 2953 }
c32bde28
RD
2954 else if (val)
2955 *val = (unsigned long)v;
0085ce49 2956 return SWIG_OK;
15afbcd0
RD
2957}
2958
2959
32fe5131 2960SWIGINTERNINLINE int
0085ce49 2961SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c32bde28 2962{
0085ce49
RD
2963 unsigned long v;
2964 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2965 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2966 return res;
15afbcd0
RD
2967}
2968
2969
32fe5131 2970SWIGINTERNINLINE PyObject*
0085ce49 2971SWIG_From_unsigned_SS_long (unsigned long value)
994141e6 2972{
15afbcd0 2973 return (value > LONG_MAX) ?
0085ce49
RD
2974 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2975}
2976
2977
2978SWIGINTERNINLINE PyObject *
2979SWIG_From_size_t (size_t value)
2980{
2981 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
994141e6
RD
2982}
2983
2984
d14a1e28 2985#include <wx/vlbox.h>
d14a1e28 2986
b2dc1044 2987 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
2988
2989class wxPyVListBox : public wxVListBox
2990{
32fe5131 2991 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d14a1e28
RD
2992public:
2993 wxPyVListBox() : wxVListBox() {}
2994
2995 wxPyVListBox(wxWindow *parent,
2996 wxWindowID id = wxID_ANY,
2997 const wxPoint& pos = wxDefaultPosition,
2998 const wxSize& size = wxDefaultSize,
2999 long style = 0,
3000 const wxString& name = wxPyVListBoxNameStr)
3001 : wxVListBox(parent, id, pos, size, style, name)
3002 {}
3003
3004 // Overridable virtuals
3005
3006 // the derived class must implement this function to actually draw the item
3007 // with the given index on the provided DC
3008 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3009 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3010
3011
3012 // the derived class must implement this method to return the height of the
3013 // specified item
3014 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3015 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3016
3017
3018 // this method may be used to draw separators between the lines; note that
3019 // the rectangle may be modified, typically to deflate it a bit before
3020 // passing to OnDrawItem()
3021 //
3022 // the base class version doesn't do anything
3023 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
75219dcb 3024 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d14a1e28
RD
3025
3026
3027 // this method is used to draw the items background and, maybe, a border
3028 // around it
3029 //
3030 // the base class version implements a reasonable default behaviour which
3031 // consists in drawing the selected item with the standard background
3032 // colour and drawing a border around the item if it is either selected or
3033 // current
3034 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3035 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3036
3037
3038 PYPRIVATE;
3039};
3040
3041IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3042
3043IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3044IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
75219dcb 3045IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d14a1e28
RD
3046IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3047
3048
0085ce49 3049SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3050 unsigned long cookie = 0;
3051 int selected = self->GetFirstSelected(cookie);
5a446332 3052 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3053 PyObject* tup = PyTuple_New(2);
3054 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3055 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3056 wxPyEndBlockThreads(blocked);
3057 return tup;
3058 }
0085ce49 3059SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3060 int selected = self->GetNextSelected(cookie);
5a446332 3061 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3062 PyObject* tup = PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3064 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3065 wxPyEndBlockThreads(blocked);
3066 return tup;
3067 }
d14a1e28
RD
3068
3069#include <wx/htmllbox.h>
3070
3071
3072class wxPyHtmlListBox : public wxHtmlListBox
3073{
32fe5131 3074 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d14a1e28
RD
3075public:
3076 wxPyHtmlListBox() : wxHtmlListBox() {}
3077
3078 wxPyHtmlListBox(wxWindow *parent,
3079 wxWindowID id = wxID_ANY,
3080 const wxPoint& pos = wxDefaultPosition,
3081 const wxSize& size = wxDefaultSize,
3082 long style = 0,
3083 const wxString& name = wxPyVListBoxNameStr)
3084 : wxHtmlListBox(parent, id, pos, size, style, name)
3085 {}
3086
3087 // Overridable virtuals
3088
3089 // this method must be implemented in the derived class and should return
3090 // the body (i.e. without <html>) of the HTML for the given item
3091 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3092
3093 // this function may be overridden to decorate HTML returned by OnGetItem()
3094 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3095
75219dcb
RD
3096 // These are from wxVListBox
3097 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3098 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3099
d14a1e28
RD
3100// TODO:
3101// // this method allows to customize the selection appearance: it may be used
3102// // to specify the colour of the text which normally has the given colour
3103// // colFg when it is inside the selection
3104// //
3105// // by default, the original colour is not used at all and all text has the
3106// // same (default for this system) colour inside selection
3107// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3108
3109// // this is the same as GetSelectedTextColour() but allows to customize the
3110// // background colour -- this is even more rarely used as you can change it
3111// // globally using SetSelectionBackground()
3112// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3113
e9d6f3a4
RD
3114
3115 // This method may be overriden to handle clicking on a link in
3116 // the listbox. By default, clicking links is ignored.
3117 virtual void OnLinkClicked(size_t n,
3118 const wxHtmlLinkInfo& link);
d14a1e28
RD
3119
3120 PYPRIVATE;
3121};
3122
3123
3124IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3125
3126IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3127IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
75219dcb
RD
3128IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3129IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d14a1e28
RD
3130
3131
e9d6f3a4
RD
3132void wxPyHtmlListBox::OnLinkClicked(size_t n,
3133 const wxHtmlLinkInfo& link) {
3134 bool found;
3135 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3136 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3137 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3138 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3139 Py_DECREF(obj);
3140 }
3141 wxPyEndBlockThreads(blocked);
3142 if (! found)
3143 wxPyHtmlListBox::OnLinkClicked(n, link);
3144}
3145
3146
d14a1e28
RD
3147
3148
3149
ae8162c8
RD
3150#ifndef wxHAS_TASK_BAR_ICON
3151// implement dummy classes for platforms that don't have it
d14a1e28
RD
3152
3153class wxTaskBarIcon : public wxEvtHandler
3154{
3155public:
39f61e25 3156 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28 3157};
09c21d3b 3158
d14a1e28
RD
3159
3160class wxTaskBarIconEvent : public wxEvent
3161{
3162public:
3163 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 3164 { wxPyRaiseNotImplemented(); }
d14a1e28 3165 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
3166 bool IsOk() const { return false; }
3167 bool IsIconInstalled() const { return false; }
3168 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3169 bool RemoveIcon() { return false; }
3170 bool PopupMenu(wxMenu *menu) { return false; }
d14a1e28
RD
3171};
3172
3173enum {
3174 wxEVT_TASKBAR_MOVE = 0,
3175 wxEVT_TASKBAR_LEFT_DOWN = 0,
3176 wxEVT_TASKBAR_LEFT_UP = 0,
3177 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3178 wxEVT_TASKBAR_RIGHT_UP = 0,
3179 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3180 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3181};
09c21d3b
RD
3182
3183
3184#else
5e483524
RD
3185// Otherwise make a class that can virtualize CreatePopupMenu
3186class wxPyTaskBarIcon : public wxTaskBarIcon
3187{
32fe5131 3188 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3189public:
3190 wxPyTaskBarIcon() : wxTaskBarIcon()
3191 {}
3192
3193 wxMenu* CreatePopupMenu() {
3194 wxMenu *rval = NULL;
3195 bool found;
5a446332 3196 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3197 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3198 PyObject* ro;
3199 wxMenu* ptr;
3200 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3201 if (ro) {
3202 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3203 rval = ptr;
3204 Py_DECREF(ro);
3205 }
3206 }
3207 wxPyEndBlockThreads(blocked);
3208 if (! found)
3209 rval = wxTaskBarIcon::CreatePopupMenu();
3210 return rval;
3211 }
3212
3213 PYPRIVATE;
3214};
3215
3216IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 3217
d14a1e28
RD
3218#endif
3219
0085ce49 3220SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
74a57fcd 3221 self->RemoveIcon();
5e483524 3222 delete self;
74a57fcd 3223 }
b2dc1044
RD
3224 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3225 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3226 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3227 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3228 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3229 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3230
3231// for compatibility only
3232#define wxHIDE_READONLY 0
3233
0085ce49 3234SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d14a1e28
RD
3235 wxArrayString arr;
3236 self->GetFilenames(arr);
3237 return wxArrayString2PyList_helper(arr);
3238 }
0085ce49 3239SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d14a1e28
RD
3240 wxArrayString arr;
3241 self->GetPaths(arr);
3242 return wxArrayString2PyList_helper(arr);
3243 }
0085ce49 3244SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d14a1e28
RD
3245 return wxArrayInt2PyList_helper(self->GetSelections());
3246 }
0085ce49 3247SWIGINTERN 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
3248 return new wxSingleChoiceDialog(parent, message, caption,
3249 choices, choices_array, NULL, style, pos);
3250 }
d3b6e4ff 3251 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d14a1e28 3252
01f6b6d3
RD
3253SWIGINTERNINLINE PyObject*
3254 SWIG_From_bool (bool value)
3255{
3256 return PyBool_FromLong(value ? 1 : 0);
3257}
3258
3259
d14a1e28
RD
3260#include <wx/mdi.h>
3261
3262 // C++ version of Python aware wxWindow
3263class wxPyWindow : public wxWindow
3264{
3265 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3266public:
3267 wxPyWindow() : wxWindow() {}
3268 wxPyWindow(wxWindow* parent, const wxWindowID id,
3269 const wxPoint& pos = wxDefaultPosition,
3270 const wxSize& size = wxDefaultSize,
3271 long style = 0,
3272 const wxString& name = wxPyPanelNameStr)
3273 : wxWindow(parent, id, pos, size, style, name) {}
3274
db3e571a 3275 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d14a1e28 3276
976dbff5
RD
3277 bool DoEraseBackground(wxDC* dc) {
3278#ifdef __WXMSW__
3279 return wxWindow::DoEraseBackground(dc->GetHDC());
3280#else
3281 dc->SetBackground(wxBrush(GetBackgroundColour()));
3282 dc->Clear();
3283 return true;
3284#endif
3285 }
3286
d14a1e28
RD
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3291
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3295
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3298
3299 DEC_PYCALLBACK__(InitDialog);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3302 DEC_PYCALLBACK_BOOL_(Validate);
3303
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3307
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3310
db3e571a 3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 3313
51b83b37
RD
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3315
8d38bd1d
RD
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3317
d14a1e28
RD
3318 PYPRIVATE;
3319};
3320
3321IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3322
3323IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3324IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3325IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3326IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3327
3328IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3329IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3330IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3331
3332IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3333IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3334
3335IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3336IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3337IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3338IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3339
3340IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3341IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3342IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3343
3344IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3345IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3346
db3e571a 3347IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
db3e571a 3348IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3349
3350IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d14a1e28 3351
8d38bd1d
RD
3352IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3353
d14a1e28
RD
3354 // C++ version of Python aware wxPanel
3355class wxPyPanel : public wxPanel
3356{
3357 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3358public:
3359 wxPyPanel() : wxPanel() {}
3360 wxPyPanel(wxWindow* parent, const wxWindowID id,
3361 const wxPoint& pos = wxDefaultPosition,
3362 const wxSize& size = wxDefaultSize,
3363 long style = 0,
3364 const wxString& name = wxPyPanelNameStr)
3365 : wxPanel(parent, id, pos, size, style, name) {}
3366
db3e571a 3367 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
976dbff5
RD
3368 bool DoEraseBackground(wxDC* dc) {
3369#ifdef __WXMSW__
3370 return wxWindow::DoEraseBackground(dc->GetHDC());
3371#else
3372 dc->SetBackground(wxBrush(GetBackgroundColour()));
3373 dc->Clear();
3374 return true;
3375#endif
3376 }
db3e571a 3377
d14a1e28
RD
3378
3379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3380 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3383
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3387
3388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3390
3391 DEC_PYCALLBACK__(InitDialog);
3392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3394 DEC_PYCALLBACK_BOOL_(Validate);
3395
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3398 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3399
3400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3402
db3e571a 3403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 3405
51b83b37
RD
3406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3407
8d38bd1d
RD
3408 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3409
d14a1e28
RD
3410 PYPRIVATE;
3411};
3412
3413IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3414
3415IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3416IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3417IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3418IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3419
3420IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3421IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3422IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3423
3424IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3425IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3426
3427IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3428IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3429IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3430IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3431
3432IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3433IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3434IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3435
3436IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3437IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3438
db3e571a 3439IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
db3e571a 3440IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1cb4a8aa 3441
51b83b37
RD
3442IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3443
8d38bd1d
RD
3444IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3445
1cb4a8aa
RD
3446 // C++ version of Python aware wxScrolledWindow
3447class wxPyScrolledWindow : public wxScrolledWindow
3448{
3449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3450public:
3451 wxPyScrolledWindow() : wxScrolledWindow() {}
3452 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3453 const wxPoint& pos = wxDefaultPosition,
3454 const wxSize& size = wxDefaultSize,
3455 long style = 0,
3456 const wxString& name = wxPyPanelNameStr)
3457 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3458
db3e571a 3459 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
976dbff5
RD
3460 bool DoEraseBackground(wxDC* dc) {
3461#ifdef __WXMSW__
3462 return wxWindow::DoEraseBackground(dc->GetHDC());
3463#else
3464 dc->SetBackground(wxBrush(GetBackgroundColour()));
3465 dc->Clear();
3466 return true;
3467#endif
3468 }
1cb4a8aa
RD
3469
3470 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3471 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3474
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3478
3479 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3480 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3481
3482 DEC_PYCALLBACK__(InitDialog);
3483 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3484 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3485 DEC_PYCALLBACK_BOOL_(Validate);
3486
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3489 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3490
3491 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3493
db3e571a 3494 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3495 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1cb4a8aa 3496
51b83b37
RD
3497 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3498
8d38bd1d
RD
3499 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3500
1cb4a8aa
RD
3501 PYPRIVATE;
3502};
3503
3504IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3505
3506IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3507IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3508IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3509IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3510
3511IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3512IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3513IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3514
3515IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3516IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3517
3518IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3519IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3520IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3521IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3522
3523IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3524IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3525IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3526
3527IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3528IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3529
db3e571a 3530IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
db3e571a
RD
3531IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3532
51b83b37 3533IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d14a1e28 3534
8d38bd1d
RD
3535IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3536
d14a1e28
RD
3537
3538#include "wx/wxPython/printfw.h"
3539
d14a1e28 3540
33b885b9
RD
3541 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3542 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
0085ce49 3543SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
b9d6a5f3 3544 PyObject* data;
5a446332 3545 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3546 data = PyString_FromStringAndSize(self->GetPrivData(),
3547 self->GetPrivDataLen());
3548 wxPyEndBlockThreads(blocked);
3549 return data;
3550 }
0085ce49 3551SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
b9d6a5f3
RD
3552 if (! PyString_Check(data)) {
3553 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3554 "Expected string object"));
3555 return /* NULL */ ;
3556 }
3557
5a446332 3558 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3559 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3560 wxPyEndBlockThreads(blocked);
3561 }
d14a1e28
RD
3562
3563
a68b8331 3564IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d14a1e28
RD
3565
3566// Since this one would be tough and ugly to do with the Macros...
3567void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 3568 bool hadErr = false;
d14a1e28
RD
3569 bool found;
3570
5a446332 3571 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3572 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3573 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3574 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3575 PyObject* val;
3576
3577 val = PyTuple_GetItem(result, 0);
3578 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 3579 else hadErr = true;
d14a1e28
RD
3580
3581 val = PyTuple_GetItem(result, 1);
3582 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 3583 else hadErr = true;
d14a1e28
RD
3584
3585 val = PyTuple_GetItem(result, 2);
3586 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 3587 else hadErr = true;
d14a1e28
RD
3588
3589 val = PyTuple_GetItem(result, 3);
3590 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 3591 else hadErr = true;
d14a1e28
RD
3592 }
3593 else
ae8162c8 3594 hadErr = true;
d14a1e28
RD
3595
3596 if (hadErr) {
3597 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3598 PyErr_Print();
3599 }
3600 Py_DECREF(result);
3601 }
4f89f6a3 3602 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3603 if (! found)
3604 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3605}
3606
d14a1e28
RD
3607
3608
3609IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3610IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3611IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3612IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3613IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3614IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3615IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3616
3617
3618
3619
3620
ae8162c8 3621#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
c26d9ab4 3622 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d14a1e28
RD
3623
3624
ae8162c8
RD
3625#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3626 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3627 bool rval=false; \
3628 bool found; \
32fe5131 3629 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
3630 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3631 PyObject* win = wxPyMake_wxObject(a,false); \
3632 PyObject* dc = wxPyMake_wxObject(&b,false); \
3633 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3634 Py_DECREF(win); \
3635 Py_DECREF(dc); \
3636 } \
3637 wxPyEndBlockThreads(blocked); \
3638 if (! found) \
3639 rval = PCLASS::CBNAME(a, b); \
3640 return rval; \
c26d9ab4 3641 }
d14a1e28
RD
3642
3643
3644
3645
3646class wxPyPrintPreview : public wxPrintPreview
3647{
3648 DECLARE_CLASS(wxPyPrintPreview)
3649public:
4276dc52
RD
3650 wxPyPrintPreview(wxPyPrintout* printout,
3651 wxPyPrintout* printoutForPrinting,
3652 wxPrintDialogData* data=NULL)
3653 : wxPrintPreview(printout, printoutForPrinting, data)
3654 {}
d14a1e28
RD
3655 wxPyPrintPreview(wxPyPrintout* printout,
3656 wxPyPrintout* printoutForPrinting,
32fe5131 3657 wxPrintData* data)
d14a1e28
RD
3658 : wxPrintPreview(printout, printoutForPrinting, data)
3659 {}
3660
3661 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3664 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3665 DEC_PYCALLBACK_VOID_INT(SetZoom);
3666 DEC_PYCALLBACK_BOOL_BOOL(Print);
3667 DEC_PYCALLBACK_VOID_(DetermineScaling);
3668
3669 PYPRIVATE;
3670};
3671
3672// Stupid renamed classes... Fix this in 2.5...
3673#if defined(__WXMSW__)
3674IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3675#elif defined(__WXMAC__)
3676IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3677#else
3678IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3679#endif
3680
3681IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3682IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3683IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3684IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3685IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3686IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3687IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3688
3689
3690class wxPyPreviewFrame : public wxPreviewFrame
3691{
32fe5131 3692 DECLARE_CLASS(wxPyPreviewFrame)
d14a1e28
RD
3693public:
3694 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3695 const wxString& title,
3696 const wxPoint& pos = wxDefaultPosition,
3697 const wxSize& size = wxDefaultSize,
3698 long style = wxDEFAULT_FRAME_STYLE,
3699 const wxString& name = wxPyFrameNameStr)
3700 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3701 {}
3702
3703 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3704 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3705
3706 DEC_PYCALLBACK_VOID_(Initialize);
3707 DEC_PYCALLBACK_VOID_(CreateCanvas);
3708 DEC_PYCALLBACK_VOID_(CreateControlBar);
3709
3710 PYPRIVATE;
3711};
3712
3713IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3714
3715IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3716IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3717IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3718
3719
3720class wxPyPreviewControlBar : public wxPreviewControlBar
3721{
32fe5131 3722 DECLARE_CLASS(wxPyPreviewControlBar)
d14a1e28
RD
3723public:
3724 wxPyPreviewControlBar(wxPrintPreview *preview,
3725 long buttons,
3726 wxWindow *parent,
3727 const wxPoint& pos = wxDefaultPosition,
3728 const wxSize& size = wxDefaultSize,
3729 long style = 0,
3730 const wxString& name = wxPyPanelNameStr)
3731 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3732 {}
3733
3734 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3735
3736 DEC_PYCALLBACK_VOID_(CreateButtons);
3737 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3738
3739 PYPRIVATE;
3740};
3741
3742IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3743IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3744IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3745
3746#ifdef __cplusplus
3747extern "C" {
3748#endif
0085ce49
RD
3749SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj = 0;
3751 wxWindow *arg1 = (wxWindow *) 0 ;
3752 int arg2 = (int) (int)-1 ;
3753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3755 wxSize const &arg4_defvalue = wxDefaultSize ;
3756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3757 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3758 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3759 wxString *arg6 = (wxString *) &arg6_defvalue ;
3760 wxPanel *result = 0 ;
3761 void *argp1 = 0 ;
3762 int res1 = 0 ;
3763 int val2 ;
3764 int ecode2 = 0 ;
3765 wxPoint temp3 ;
3766 wxSize temp4 ;
3767 long val5 ;
3768 int ecode5 = 0 ;
3769 bool temp6 = false ;
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 PyObject * obj2 = 0 ;
3773 PyObject * obj3 = 0 ;
3774 PyObject * obj4 = 0 ;
3775 PyObject * obj5 = 0 ;
3776 char * kwnames[] = {
3777 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3778 };
3779
3780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3782 if (!SWIG_IsOK(res1)) {
3783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3784 }
3785 arg1 = reinterpret_cast< wxWindow * >(argp1);
3786 if (obj1) {
3787 ecode2 = SWIG_AsVal_int(obj1, &val2);
3788 if (!SWIG_IsOK(ecode2)) {
3789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3790 }
3791 arg2 = static_cast< int >(val2);
3792 }
3793 if (obj2) {
d14a1e28 3794 {
0085ce49
RD
3795 arg3 = &temp3;
3796 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 3797 }
0085ce49
RD
3798 }
3799 if (obj3) {
d14a1e28 3800 {
0085ce49
RD
3801 arg4 = &temp4;
3802 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 3803 }
0085ce49
RD
3804 }
3805 if (obj4) {
3806 ecode5 = SWIG_AsVal_long(obj4, &val5);
3807 if (!SWIG_IsOK(ecode5)) {
3808 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3809 }
3810 arg5 = static_cast< long >(val5);
3811 }
3812 if (obj5) {
d14a1e28 3813 {
0085ce49
RD
3814 arg6 = wxString_in_helper(obj5);
3815 if (arg6 == NULL) SWIG_fail;
3816 temp6 = true;
3817 }
3818 }
3819 {
3820 if (!wxPyCheckForApp()) SWIG_fail;
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3827 {
3828 if (temp6)
3829 delete arg6;
3830 }
3831 return resultobj;
3832fail:
3833 {
3834 if (temp6)
3835 delete arg6;
3836 }
3837 return NULL;
d14a1e28
RD
3838}
3839
3840
0085ce49
RD
3841SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3842 PyObject *resultobj = 0;
3843 wxPanel *result = 0 ;
3844
3845 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3846 {
3847 if (!wxPyCheckForApp()) SWIG_fail;
3848 PyThreadState* __tstate = wxPyBeginAllowThreads();
3849 result = (wxPanel *)new wxPanel();
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3854 return resultobj;
3855fail:
3856 return NULL;
3857}
3858
3859
3860SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3861 PyObject *resultobj = 0;
3862 wxPanel *arg1 = (wxPanel *) 0 ;
3863 wxWindow *arg2 = (wxWindow *) 0 ;
3864 int arg3 = (int) (int)-1 ;
3865 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3866 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3867 wxSize const &arg5_defvalue = wxDefaultSize ;
3868 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3869 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3870 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3871 wxString *arg7 = (wxString *) &arg7_defvalue ;
3872 bool result;
3873 void *argp1 = 0 ;
3874 int res1 = 0 ;
3875 void *argp2 = 0 ;
3876 int res2 = 0 ;
3877 int val3 ;
3878 int ecode3 = 0 ;
3879 wxPoint temp4 ;
3880 wxSize temp5 ;
3881 long val6 ;
3882 int ecode6 = 0 ;
3883 bool temp7 = false ;
3884 PyObject * obj0 = 0 ;
3885 PyObject * obj1 = 0 ;
3886 PyObject * obj2 = 0 ;
3887 PyObject * obj3 = 0 ;
3888 PyObject * obj4 = 0 ;
3889 PyObject * obj5 = 0 ;
3890 PyObject * obj6 = 0 ;
3891 char * kwnames[] = {
3892 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3893 };
3894
3895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3897 if (!SWIG_IsOK(res1)) {
3898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3899 }
3900 arg1 = reinterpret_cast< wxPanel * >(argp1);
3901 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3902 if (!SWIG_IsOK(res2)) {
3903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3904 }
3905 arg2 = reinterpret_cast< wxWindow * >(argp2);
3906 if (obj2) {
3907 ecode3 = SWIG_AsVal_int(obj2, &val3);
3908 if (!SWIG_IsOK(ecode3)) {
3909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3910 }
3911 arg3 = static_cast< int >(val3);
3912 }
3913 if (obj3) {
4f89f6a3 3914 {
0085ce49
RD
3915 arg4 = &temp4;
3916 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 3917 }
0085ce49
RD
3918 }
3919 if (obj4) {
d14a1e28 3920 {
0085ce49
RD
3921 arg5 = &temp5;
3922 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 3923 }
0085ce49
RD
3924 }
3925 if (obj5) {
3926 ecode6 = SWIG_AsVal_long(obj5, &val6);
3927 if (!SWIG_IsOK(ecode6)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3929 }
3930 arg6 = static_cast< long >(val6);
3931 }
3932 if (obj6) {
d14a1e28 3933 {
0085ce49
RD
3934 arg7 = wxString_in_helper(obj6);
3935 if (arg7 == NULL) SWIG_fail;
3936 temp7 = true;
d14a1e28 3937 }
0085ce49
RD
3938 }
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 {
3946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3947 }
3948 {
3949 if (temp7)
3950 delete arg7;
3951 }
3952 return resultobj;
3953fail:
3954 {
3955 if (temp7)
3956 delete arg7;
3957 }
3958 return NULL;
5cbf236d
RD
3959}
3960
3961
0085ce49
RD
3962SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3963 PyObject *resultobj = 0;
3964 wxPanel *arg1 = (wxPanel *) 0 ;
3965 void *argp1 = 0 ;
3966 int res1 = 0 ;
3967 PyObject *swig_obj[1] ;
3968
3969 if (!args) SWIG_fail;
3970 swig_obj[0] = args;
3971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3972 if (!SWIG_IsOK(res1)) {
3973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3974 }
3975 arg1 = reinterpret_cast< wxPanel * >(argp1);
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 (arg1)->SetFocusIgnoringChildren();
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 resultobj = SWIG_Py_Void();
3983 return resultobj;
3984fail:
3985 return NULL;
3986}
3987
3988
3989SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3990 PyObject *resultobj = 0;
3991 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3992 SwigValueWrapper<wxVisualAttributes > result;
3993 int val1 ;
3994 int ecode1 = 0 ;
3995 PyObject * obj0 = 0 ;
3996 char * kwnames[] = {
3997 (char *) "variant", NULL
3998 };
3999
4000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4001 if (obj0) {
4002 ecode1 = SWIG_AsVal_int(obj0, &val1);
4003 if (!SWIG_IsOK(ecode1)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4005 }
4006 arg1 = static_cast< wxWindowVariant >(val1);
4007 }
4008 {
4009 if (!wxPyCheckForApp()) SWIG_fail;
4010 PyThreadState* __tstate = wxPyBeginAllowThreads();
4011 result = wxPanel::GetClassDefaultAttributes(arg1);
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4016 return resultobj;
4017fail:
4018 return NULL;
4019}
4020
4021
4022SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4023 PyObject *obj;
4024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4026 return SWIG_Py_Void();
4027}
4028
4029SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4030 return SWIG_Python_InitShadowInstance(args);
4031}
4032
4033SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4034 PyObject *resultobj = 0;
4035 wxWindow *arg1 = (wxWindow *) 0 ;
4036 int arg2 = (int) (int)-1 ;
4037 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4038 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4039 wxSize const &arg4_defvalue = wxDefaultSize ;
4040 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4041 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4042 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4043 wxString *arg6 = (wxString *) &arg6_defvalue ;
4044 wxScrolledWindow *result = 0 ;
4045 void *argp1 = 0 ;
4046 int res1 = 0 ;
4047 int val2 ;
4048 int ecode2 = 0 ;
4049 wxPoint temp3 ;
4050 wxSize temp4 ;
4051 long val5 ;
4052 int ecode5 = 0 ;
4053 bool temp6 = false ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 PyObject * obj2 = 0 ;
4057 PyObject * obj3 = 0 ;
4058 PyObject * obj4 = 0 ;
4059 PyObject * obj5 = 0 ;
4060 char * kwnames[] = {
4061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4062 };
4063
4064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4066 if (!SWIG_IsOK(res1)) {
4067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4068 }
4069 arg1 = reinterpret_cast< wxWindow * >(argp1);
4070 if (obj1) {
4071 ecode2 = SWIG_AsVal_int(obj1, &val2);
4072 if (!SWIG_IsOK(ecode2)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4074 }
4075 arg2 = static_cast< int >(val2);
4076 }
4077 if (obj2) {
5cbf236d 4078 {
0085ce49
RD
4079 arg3 = &temp3;
4080 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22bfe96c 4081 }
0085ce49
RD
4082 }
4083 if (obj3) {
22bfe96c 4084 {
0085ce49
RD
4085 arg4 = &temp4;
4086 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22bfe96c 4087 }
0085ce49
RD
4088 }
4089 if (obj4) {
4090 ecode5 = SWIG_AsVal_long(obj4, &val5);
4091 if (!SWIG_IsOK(ecode5)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4093 }
4094 arg5 = static_cast< long >(val5);
4095 }
4096 if (obj5) {
22bfe96c 4097 {
0085ce49
RD
4098 arg6 = wxString_in_helper(obj5);
4099 if (arg6 == NULL) SWIG_fail;
4100 temp6 = true;
22bfe96c 4101 }
0085ce49
RD
4102 }
4103 {
4104 if (!wxPyCheckForApp()) SWIG_fail;
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4111 {
4112 if (temp6)
4113 delete arg6;
4114 }
4115 return resultobj;
4116fail:
4117 {
4118 if (temp6)
4119 delete arg6;
4120 }
4121 return NULL;
22bfe96c
RD
4122}
4123
4124
0085ce49
RD
4125SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4126 PyObject *resultobj = 0;
4127 wxScrolledWindow *result = 0 ;
4128
4129 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4130 {
4131 if (!wxPyCheckForApp()) SWIG_fail;
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (wxScrolledWindow *)new wxScrolledWindow();
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4138 return resultobj;
4139fail:
4140 return NULL;
4141}
4142
4143
4144SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4145 PyObject *resultobj = 0;
4146 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4147 wxWindow *arg2 = (wxWindow *) 0 ;
4148 int arg3 = (int) (int)-1 ;
4149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4151 wxSize const &arg5_defvalue = wxDefaultSize ;
4152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4153 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4154 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4155 wxString *arg7 = (wxString *) &arg7_defvalue ;
4156 bool result;
4157 void *argp1 = 0 ;
4158 int res1 = 0 ;
4159 void *argp2 = 0 ;
4160 int res2 = 0 ;
4161 int val3 ;
4162 int ecode3 = 0 ;
4163 wxPoint temp4 ;
4164 wxSize temp5 ;
4165 long val6 ;
4166 int ecode6 = 0 ;
4167 bool temp7 = false ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 PyObject * obj2 = 0 ;
4171 PyObject * obj3 = 0 ;
4172 PyObject * obj4 = 0 ;
4173 PyObject * obj5 = 0 ;
4174 PyObject * obj6 = 0 ;
4175 char * kwnames[] = {
4176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4177 };
4178
4179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4181 if (!SWIG_IsOK(res1)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4183 }
4184 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4186 if (!SWIG_IsOK(res2)) {
4187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4188 }
4189 arg2 = reinterpret_cast< wxWindow * >(argp2);
4190 if (obj2) {
4191 ecode3 = SWIG_AsVal_int(obj2, &val3);
4192 if (!SWIG_IsOK(ecode3)) {
4193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4194 }
4195 arg3 = static_cast< int >(val3);
4196 }
4197 if (obj3) {
d14a1e28 4198 {
0085ce49
RD
4199 arg4 = &temp4;
4200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4201 }
4202 }
4203 if (obj4) {
d14a1e28 4204 {
0085ce49
RD
4205 arg5 = &temp5;
4206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 4207 }
0085ce49
RD
4208 }
4209 if (obj5) {
4210 ecode6 = SWIG_AsVal_long(obj5, &val6);
4211 if (!SWIG_IsOK(ecode6)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4213 }
4214 arg6 = static_cast< long >(val6);
4215 }
4216 if (obj6) {
d14a1e28 4217 {
0085ce49
RD
4218 arg7 = wxString_in_helper(obj6);
4219 if (arg7 == NULL) SWIG_fail;
4220 temp7 = true;
d14a1e28 4221 }
0085ce49
RD
4222 }
4223 {
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 {
4230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4231 }
4232 {
4233 if (temp7)
4234 delete arg7;
4235 }
4236 return resultobj;
4237fail:
4238 {
4239 if (temp7)
4240 delete arg7;
4241 }
4242 return NULL;
4243}
4244
4245
4246SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj = 0;
4248 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4249 int arg2 ;
4250 int arg3 ;
4251 int arg4 ;
4252 int arg5 ;
4253 int arg6 = (int) 0 ;
4254 int arg7 = (int) 0 ;
4255 bool arg8 = (bool) false ;
4256 void *argp1 = 0 ;
4257 int res1 = 0 ;
4258 int val2 ;
4259 int ecode2 = 0 ;
4260 int val3 ;
4261 int ecode3 = 0 ;
4262 int val4 ;
4263 int ecode4 = 0 ;
4264 int val5 ;
4265 int ecode5 = 0 ;
4266 int val6 ;
4267 int ecode6 = 0 ;
4268 int val7 ;
4269 int ecode7 = 0 ;
4270 bool val8 ;
4271 int ecode8 = 0 ;
4272 PyObject * obj0 = 0 ;
4273 PyObject * obj1 = 0 ;
4274 PyObject * obj2 = 0 ;
4275 PyObject * obj3 = 0 ;
4276 PyObject * obj4 = 0 ;
4277 PyObject * obj5 = 0 ;
4278 PyObject * obj6 = 0 ;
4279 PyObject * obj7 = 0 ;
4280 char * kwnames[] = {
4281 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4282 };
4283
4284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4286 if (!SWIG_IsOK(res1)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4288 }
4289 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4290 ecode2 = SWIG_AsVal_int(obj1, &val2);
4291 if (!SWIG_IsOK(ecode2)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4293 }
4294 arg2 = static_cast< int >(val2);
4295 ecode3 = SWIG_AsVal_int(obj2, &val3);
4296 if (!SWIG_IsOK(ecode3)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4298 }
4299 arg3 = static_cast< int >(val3);
4300 ecode4 = SWIG_AsVal_int(obj3, &val4);
4301 if (!SWIG_IsOK(ecode4)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4303 }
4304 arg4 = static_cast< int >(val4);
4305 ecode5 = SWIG_AsVal_int(obj4, &val5);
4306 if (!SWIG_IsOK(ecode5)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4308 }
4309 arg5 = static_cast< int >(val5);
4310 if (obj5) {
4311 ecode6 = SWIG_AsVal_int(obj5, &val6);
4312 if (!SWIG_IsOK(ecode6)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4314 }
4315 arg6 = static_cast< int >(val6);
4316 }
4317 if (obj6) {
4318 ecode7 = SWIG_AsVal_int(obj6, &val7);
4319 if (!SWIG_IsOK(ecode7)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4321 }
4322 arg7 = static_cast< int >(val7);
4323 }
4324 if (obj7) {
4325 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4326 if (!SWIG_IsOK(ecode8)) {
4327 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4328 }
4329 arg8 = static_cast< bool >(val8);
4330 }
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 resultobj = SWIG_Py_Void();
4338 return resultobj;
4339fail:
4340 return NULL;
4341}
4342
4343
4344SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj = 0;
4346 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4347 int arg2 ;
4348 int arg3 ;
4349 void *argp1 = 0 ;
4350 int res1 = 0 ;
4351 int val2 ;
4352 int ecode2 = 0 ;
4353 int val3 ;
4354 int ecode3 = 0 ;
4355 PyObject * obj0 = 0 ;
4356 PyObject * obj1 = 0 ;
4357 PyObject * obj2 = 0 ;
4358 char * kwnames[] = {
4359 (char *) "self",(char *) "x",(char *) "y", NULL
4360 };
4361
4362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4364 if (!SWIG_IsOK(res1)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4366 }
4367 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4368 ecode2 = SWIG_AsVal_int(obj1, &val2);
4369 if (!SWIG_IsOK(ecode2)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4371 }
4372 arg2 = static_cast< int >(val2);
4373 ecode3 = SWIG_AsVal_int(obj2, &val3);
4374 if (!SWIG_IsOK(ecode3)) {
4375 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4376 }
4377 arg3 = static_cast< int >(val3);
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 (arg1)->Scroll(arg2,arg3);
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 resultobj = SWIG_Py_Void();
4385 return resultobj;
4386fail:
4387 return NULL;
4388}
4389
4390
4391SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4392 PyObject *resultobj = 0;
4393 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4394 int arg2 ;
4395 int result;
4396 void *argp1 = 0 ;
4397 int res1 = 0 ;
4398 int val2 ;
4399 int ecode2 = 0 ;
4400 PyObject * obj0 = 0 ;
4401 PyObject * obj1 = 0 ;
4402 char * kwnames[] = {
4403 (char *) "self",(char *) "orient", NULL
4404 };
4405
4406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4408 if (!SWIG_IsOK(res1)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4410 }
4411 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4412 ecode2 = SWIG_AsVal_int(obj1, &val2);
4413 if (!SWIG_IsOK(ecode2)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4415 }
4416 arg2 = static_cast< int >(val2);
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4420 wxPyEndAllowThreads(__tstate);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 resultobj = SWIG_From_int(static_cast< int >(result));
4424 return resultobj;
4425fail:
4426 return NULL;
4427}
4428
4429
4430SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4431 PyObject *resultobj = 0;
4432 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4433 int arg2 ;
4434 int arg3 ;
4435 void *argp1 = 0 ;
4436 int res1 = 0 ;
4437 int val2 ;
4438 int ecode2 = 0 ;
4439 int val3 ;
4440 int ecode3 = 0 ;
4441 PyObject * obj0 = 0 ;
4442 PyObject * obj1 = 0 ;
4443 PyObject * obj2 = 0 ;
4444 char * kwnames[] = {
4445 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4446 };
4447
4448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4450 if (!SWIG_IsOK(res1)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4452 }
4453 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4454 ecode2 = SWIG_AsVal_int(obj1, &val2);
4455 if (!SWIG_IsOK(ecode2)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4457 }
4458 arg2 = static_cast< int >(val2);
4459 ecode3 = SWIG_AsVal_int(obj2, &val3);
4460 if (!SWIG_IsOK(ecode3)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4462 }
4463 arg3 = static_cast< int >(val3);
4464 {
4465 PyThreadState* __tstate = wxPyBeginAllowThreads();
4466 (arg1)->SetScrollPageSize(arg2,arg3);
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 resultobj = SWIG_Py_Void();
4471 return resultobj;
4472fail:
4473 return NULL;
4474}
4475
4476
4477SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj = 0;
4479 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4480 int arg2 ;
4481 int arg3 ;
4482 void *argp1 = 0 ;
4483 int res1 = 0 ;
4484 int val2 ;
4485 int ecode2 = 0 ;
4486 int val3 ;
4487 int ecode3 = 0 ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 PyObject * obj2 = 0 ;
4491 char * kwnames[] = {
4492 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4493 };
4494
4495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4497 if (!SWIG_IsOK(res1)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4499 }
4500 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4501 ecode2 = SWIG_AsVal_int(obj1, &val2);
4502 if (!SWIG_IsOK(ecode2)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4504 }
4505 arg2 = static_cast< int >(val2);
4506 ecode3 = SWIG_AsVal_int(obj2, &val3);
4507 if (!SWIG_IsOK(ecode3)) {
4508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4509 }
4510 arg3 = static_cast< int >(val3);
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 (arg1)->SetScrollRate(arg2,arg3);
4514 wxPyEndAllowThreads(__tstate);
4515 if (PyErr_Occurred()) SWIG_fail;
4516 }
4517 resultobj = SWIG_Py_Void();
4518 return resultobj;
4519fail:
4520 return NULL;
4521}
4522
4523
4524SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4525 PyObject *resultobj = 0;
4526 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4527 int *arg2 = (int *) 0 ;
4528 int *arg3 = (int *) 0 ;
4529 void *argp1 = 0 ;
4530 int res1 = 0 ;
4531 int temp2 ;
4532 int res2 = SWIG_TMPOBJ ;
4533 int temp3 ;
4534 int res3 = SWIG_TMPOBJ ;
4535 PyObject *swig_obj[1] ;
4536
4537 arg2 = &temp2;
4538 arg3 = &temp3;
4539 if (!args) SWIG_fail;
4540 swig_obj[0] = args;
4541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4542 if (!SWIG_IsOK(res1)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4544 }
4545 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4546 {
4547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4548 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 resultobj = SWIG_Py_Void();
4553 if (SWIG_IsTmpObj(res2)) {
4554 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4555 } else {
4556 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4557 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4558 }
4559 if (SWIG_IsTmpObj(res3)) {
4560 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4561 } else {
4562 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4564 }
4565 return resultobj;
4566fail:
4567 return NULL;
4568}
4569
4570
4571SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4572 PyObject *resultobj = 0;
4573 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4574 bool arg2 ;
4575 bool arg3 ;
4576 void *argp1 = 0 ;
4577 int res1 = 0 ;
4578 bool val2 ;
4579 int ecode2 = 0 ;
4580 bool val3 ;
4581 int ecode3 = 0 ;
4582 PyObject * obj0 = 0 ;
4583 PyObject * obj1 = 0 ;
4584 PyObject * obj2 = 0 ;
4585 char * kwnames[] = {
4586 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4587 };
4588
4589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4591 if (!SWIG_IsOK(res1)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4593 }
4594 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4595 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4596 if (!SWIG_IsOK(ecode2)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4598 }
4599 arg2 = static_cast< bool >(val2);
4600 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4601 if (!SWIG_IsOK(ecode3)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4603 }
4604 arg3 = static_cast< bool >(val3);
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->EnableScrolling(arg2,arg3);
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 resultobj = SWIG_Py_Void();
4612 return resultobj;
4613fail:
4614 return NULL;
4615}
4616
4617
4618SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4619 PyObject *resultobj = 0;
4620 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4621 int *arg2 = (int *) 0 ;
4622 int *arg3 = (int *) 0 ;
4623 void *argp1 = 0 ;
4624 int res1 = 0 ;
4625 int temp2 ;
4626 int res2 = SWIG_TMPOBJ ;
4627 int temp3 ;
4628 int res3 = SWIG_TMPOBJ ;
4629 PyObject *swig_obj[1] ;
4630
4631 arg2 = &temp2;
4632 arg3 = &temp3;
4633 if (!args) SWIG_fail;
4634 swig_obj[0] = args;
4635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4636 if (!SWIG_IsOK(res1)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4638 }
4639 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 resultobj = SWIG_Py_Void();
4647 if (SWIG_IsTmpObj(res2)) {
4648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4649 } else {
4650 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4652 }
4653 if (SWIG_IsTmpObj(res3)) {
4654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4655 } else {
4656 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4658 }
4659 return resultobj;
4660fail:
4661 return NULL;
4662}
4663
4664
4665SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj = 0;
4667 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4668 double arg2 ;
4669 double arg3 ;
4670 void *argp1 = 0 ;
4671 int res1 = 0 ;
4672 double val2 ;
4673 int ecode2 = 0 ;
4674 double val3 ;
4675 int ecode3 = 0 ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
4679 char * kwnames[] = {
4680 (char *) "self",(char *) "xs",(char *) "ys", NULL
4681 };
4682
4683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4685 if (!SWIG_IsOK(res1)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4687 }
4688 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4689 ecode2 = SWIG_AsVal_double(obj1, &val2);
4690 if (!SWIG_IsOK(ecode2)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4692 }
4693 arg2 = static_cast< double >(val2);
4694 ecode3 = SWIG_AsVal_double(obj2, &val3);
4695 if (!SWIG_IsOK(ecode3)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4697 }
4698 arg3 = static_cast< double >(val3);
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 (arg1)->SetScale(arg2,arg3);
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 resultobj = SWIG_Py_Void();
4706 return resultobj;
4707fail:
4708 return NULL;
d14a1e28
RD
4709}
4710
4711
0085ce49
RD
4712SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4713 PyObject *resultobj = 0;
4714 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4715 double result;
4716 void *argp1 = 0 ;
4717 int res1 = 0 ;
4718 PyObject *swig_obj[1] ;
4719
4720 if (!args) SWIG_fail;
4721 swig_obj[0] = args;
4722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4723 if (!SWIG_IsOK(res1)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 }
4726 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 resultobj = SWIG_From_double(static_cast< double >(result));
4734 return resultobj;
4735fail:
4736 return NULL;
d14a1e28
RD
4737}
4738
4739
0085ce49
RD
4740SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4741 PyObject *resultobj = 0;
4742 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4743 double result;
4744 void *argp1 = 0 ;
4745 int res1 = 0 ;
4746 PyObject *swig_obj[1] ;
4747
4748 if (!args) SWIG_fail;
4749 swig_obj[0] = args;
4750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4751 if (!SWIG_IsOK(res1)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4753 }
4754 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 resultobj = SWIG_From_double(static_cast< double >(result));
4762 return resultobj;
4763fail:
4764 return NULL;
d14a1e28
RD
4765}
4766
4767
0085ce49
RD
4768SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4769 PyObject *resultobj = 0;
4770 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4771 wxPoint *arg2 = 0 ;
4772 wxPoint result;
4773 void *argp1 = 0 ;
4774 int res1 = 0 ;
4775 wxPoint temp2 ;
4776
4777 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4779 if (!SWIG_IsOK(res1)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4781 }
4782 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4783 {
4784 arg2 = &temp2;
4785 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4786 }
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4794 return resultobj;
4795fail:
4796 return NULL;
4797}
4798
4799
4800SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4801 PyObject *resultobj = 0;
4802 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4803 int arg2 ;
4804 int arg3 ;
4805 int *arg4 = (int *) 0 ;
4806 int *arg5 = (int *) 0 ;
4807 void *argp1 = 0 ;
4808 int res1 = 0 ;
4809 int val2 ;
4810 int ecode2 = 0 ;
4811 int val3 ;
4812 int ecode3 = 0 ;
4813 int temp4 ;
4814 int res4 = SWIG_TMPOBJ ;
4815 int temp5 ;
4816 int res5 = SWIG_TMPOBJ ;
4817
4818 arg4 = &temp4;
4819 arg5 = &temp5;
4820 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4822 if (!SWIG_IsOK(res1)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4824 }
4825 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4826 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4827 if (!SWIG_IsOK(ecode2)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4829 }
4830 arg2 = static_cast< int >(val2);
4831 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4832 if (!SWIG_IsOK(ecode3)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4834 }
4835 arg3 = static_cast< int >(val3);
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 resultobj = SWIG_Py_Void();
4843 if (SWIG_IsTmpObj(res4)) {
4844 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4845 } else {
4846 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4847 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4848 }
4849 if (SWIG_IsTmpObj(res5)) {
4850 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4851 } else {
4852 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4854 }
4855 return resultobj;
4856fail:
4857 return NULL;
d14a1e28
RD
4858}
4859
4860
0085ce49
RD
4861SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4862 int argc;
4863 PyObject *argv[4];
4864
4865 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4866 --argc;
4867 if (argc == 2) {
4868 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4869 }
4870 if (argc == 3) {
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4872 }
4873
4874fail:
4875 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4876 return NULL;
d14a1e28
RD
4877}
4878
4879
0085ce49
RD
4880SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4881 PyObject *resultobj = 0;
4882 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4883 wxPoint *arg2 = 0 ;
4884 wxPoint result;
4885 void *argp1 = 0 ;
4886 int res1 = 0 ;
4887 wxPoint temp2 ;
4888
4889 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4891 if (!SWIG_IsOK(res1)) {
4892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4893 }
4894 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4895 {
4896 arg2 = &temp2;
4897 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4898 }
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4906 return resultobj;
4907fail:
4908 return NULL;
4909}
4910
4911
4912SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4913 PyObject *resultobj = 0;
4914 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4915 int arg2 ;
4916 int arg3 ;
4917 int *arg4 = (int *) 0 ;
4918 int *arg5 = (int *) 0 ;
4919 void *argp1 = 0 ;
4920 int res1 = 0 ;
4921 int val2 ;
4922 int ecode2 = 0 ;
4923 int val3 ;
4924 int ecode3 = 0 ;
4925 int temp4 ;
4926 int res4 = SWIG_TMPOBJ ;
4927 int temp5 ;
4928 int res5 = SWIG_TMPOBJ ;
4929
4930 arg4 = &temp4;
4931 arg5 = &temp5;
4932 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4934 if (!SWIG_IsOK(res1)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4936 }
4937 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4938 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4939 if (!SWIG_IsOK(ecode2)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4941 }
4942 arg2 = static_cast< int >(val2);
4943 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4944 if (!SWIG_IsOK(ecode3)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4946 }
4947 arg3 = static_cast< int >(val3);
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 resultobj = SWIG_Py_Void();
4955 if (SWIG_IsTmpObj(res4)) {
4956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4957 } else {
4958 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4960 }
4961 if (SWIG_IsTmpObj(res5)) {
4962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4963 } else {
4964 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4966 }
4967 return resultobj;
4968fail:
4969 return NULL;
d14a1e28
RD
4970}
4971
4972
0085ce49
RD
4973SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4974 int argc;
4975 PyObject *argv[4];
4976
4977 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4978 --argc;
4979 if (argc == 2) {
4980 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4981 }
4982 if (argc == 3) {
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4984 }
4985
4986fail:
4987 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4988 return NULL;
d14a1e28
RD
4989}
4990
4991
0085ce49
RD
4992SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4993 PyObject *resultobj = 0;
4994 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4995 void *argp1 = 0 ;
4996 int res1 = 0 ;
4997 PyObject *swig_obj[1] ;
4998
4999 if (!args) SWIG_fail;
5000 swig_obj[0] = args;
5001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5002 if (!SWIG_IsOK(res1)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5004 }
5005 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 (arg1)->AdjustScrollbars();
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 resultobj = SWIG_Py_Void();
5013 return resultobj;
5014fail:
5015 return NULL;
5016}
5017
5018
5019SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj = 0;
5021 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5022 wxScrollWinEvent *arg2 = 0 ;
5023 int result;
5024 void *argp1 = 0 ;
5025 int res1 = 0 ;
5026 void *argp2 = 0 ;
5027 int res2 = 0 ;
5028 PyObject * obj0 = 0 ;
5029 PyObject * obj1 = 0 ;
5030 char * kwnames[] = {
5031 (char *) "self",(char *) "event", NULL
5032 };
5033
5034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5036 if (!SWIG_IsOK(res1)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5038 }
5039 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5040 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5041 if (!SWIG_IsOK(res2)) {
5042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5043 }
5044 if (!argp2) {
5045 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 }
5047 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 result = (int)(arg1)->CalcScrollInc(*arg2);
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 resultobj = SWIG_From_int(static_cast< int >(result));
5055 return resultobj;
5056fail:
5057 return NULL;
5058}
5059
5060
5061SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj = 0;
5063 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5064 wxWindow *arg2 = (wxWindow *) 0 ;
5065 void *argp1 = 0 ;
5066 int res1 = 0 ;
5067 void *argp2 = 0 ;
5068 int res2 = 0 ;
5069 PyObject * obj0 = 0 ;
5070 PyObject * obj1 = 0 ;
5071 char * kwnames[] = {
5072 (char *) "self",(char *) "target", NULL
5073 };
5074
5075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5077 if (!SWIG_IsOK(res1)) {
5078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5079 }
5080 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5081 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5082 if (!SWIG_IsOK(res2)) {
5083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5084 }
5085 arg2 = reinterpret_cast< wxWindow * >(argp2);
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 (arg1)->SetTargetWindow(arg2);
5089 wxPyEndAllowThreads(__tstate);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
5092 resultobj = SWIG_Py_Void();
5093 return resultobj;
5094fail:
5095 return NULL;
d14a1e28
RD
5096}
5097
5098
0085ce49
RD
5099SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5100 PyObject *resultobj = 0;
5101 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5102 wxWindow *result = 0 ;
5103 void *argp1 = 0 ;
5104 int res1 = 0 ;
5105 PyObject *swig_obj[1] ;
5106
5107 if (!args) SWIG_fail;
5108 swig_obj[0] = args;
5109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5110 if (!SWIG_IsOK(res1)) {
5111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5112 }
5113 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 {
5121 resultobj = wxPyMake_wxObject(result, 0);
5122 }
5123 return resultobj;
5124fail:
5125 return NULL;
5126}
5127
5128
5129SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5130 PyObject *resultobj = 0;
5131 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5132 wxDC *arg2 = 0 ;
5133 void *argp1 = 0 ;
5134 int res1 = 0 ;
5135 void *argp2 = 0 ;
5136 int res2 = 0 ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char * kwnames[] = {
5140 (char *) "self",(char *) "dc", NULL
5141 };
5142
5143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5145 if (!SWIG_IsOK(res1)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5147 }
5148 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5149 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5150 if (!SWIG_IsOK(res2)) {
5151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5152 }
5153 if (!argp2) {
5154 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5155 }
5156 arg2 = reinterpret_cast< wxDC * >(argp2);
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 (arg1)->DoPrepareDC(*arg2);
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 resultobj = SWIG_Py_Void();
5164 return resultobj;
5165fail:
5166 return NULL;
5167}
5168
5169
5170SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5171 PyObject *resultobj = 0;
5172 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5173 SwigValueWrapper<wxVisualAttributes > result;
5174 int val1 ;
5175 int ecode1 = 0 ;
5176 PyObject * obj0 = 0 ;
5177 char * kwnames[] = {
5178 (char *) "variant", NULL
5179 };
5180
5181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5182 if (obj0) {
5183 ecode1 = SWIG_AsVal_int(obj0, &val1);
5184 if (!SWIG_IsOK(ecode1)) {
5185 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5186 }
5187 arg1 = static_cast< wxWindowVariant >(val1);
5188 }
5189 {
5190 if (!wxPyCheckForApp()) SWIG_fail;
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5197 return resultobj;
5198fail:
5199 return NULL;
d14a1e28
RD
5200}
5201
5202
0085ce49
RD
5203SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5204 PyObject *obj;
5205 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5206 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5207 return SWIG_Py_Void();
d14a1e28
RD
5208}
5209
0085ce49
RD
5210SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5211 return SWIG_Python_InitShadowInstance(args);
5212}
d14a1e28 5213
0085ce49
RD
5214SWIGINTERN int FrameNameStr_set(PyObject *) {
5215 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5216 return 1;
d14a1e28
RD
5217}
5218
5219
0085ce49
RD
5220SWIGINTERN PyObject *FrameNameStr_get(void) {
5221 PyObject *pyobj = 0;
5222
5223 {
5224#if wxUSE_UNICODE
5225 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5226#else
5227 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5228#endif
5229 }
5230 return pyobj;
d14a1e28
RD
5231}
5232
5233
0085ce49
RD
5234SWIGINTERN int DialogNameStr_set(PyObject *) {
5235 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5236 return 1;
d14a1e28
RD
5237}
5238
5239
0085ce49
RD
5240SWIGINTERN PyObject *DialogNameStr_get(void) {
5241 PyObject *pyobj = 0;
5242
5243 {
5244#if wxUSE_UNICODE
5245 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5246#else
5247 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5248#endif
5249 }
5250 return pyobj;
d14a1e28
RD
5251}
5252
5253
0085ce49
RD
5254SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5255 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5256 return 1;
d14a1e28
RD
5257}
5258
5259
0085ce49
RD
5260SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5261 PyObject *pyobj = 0;
5262
5263 {
5264#if wxUSE_UNICODE
5265 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5266#else
5267 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5268#endif
5269 }
5270 return pyobj;
d14a1e28
RD
5271}
5272
5273
0085ce49
RD
5274SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5275 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5276 return 1;
d14a1e28
RD
5277}
5278
5279
0085ce49
RD
5280SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5281 PyObject *pyobj = 0;
5282
5283 {
5284#if wxUSE_UNICODE
5285 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5286#else
5287 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5288#endif
5289 }
5290 return pyobj;
5291}
5292
5293
5294SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5295 PyObject *resultobj = 0;
5296 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5297 bool arg2 = (bool) true ;
5298 void *argp1 = 0 ;
5299 int res1 = 0 ;
5300 bool val2 ;
5301 int ecode2 = 0 ;
5302 PyObject * obj0 = 0 ;
5303 PyObject * obj1 = 0 ;
5304 char * kwnames[] = {
5305 (char *) "self",(char *) "maximize", NULL
5306 };
5307
5308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5310 if (!SWIG_IsOK(res1)) {
5311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5312 }
5313 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5314 if (obj1) {
5315 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5316 if (!SWIG_IsOK(ecode2)) {
5317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5318 }
5319 arg2 = static_cast< bool >(val2);
5320 }
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 (arg1)->Maximize(arg2);
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 resultobj = SWIG_Py_Void();
5328 return resultobj;
5329fail:
5330 return NULL;
d14a1e28
RD
5331}
5332
5333
0085ce49
RD
5334SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5335 PyObject *resultobj = 0;
5336 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5337 void *argp1 = 0 ;
5338 int res1 = 0 ;
5339 PyObject *swig_obj[1] ;
5340
5341 if (!args) SWIG_fail;
5342 swig_obj[0] = args;
5343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5344 if (!SWIG_IsOK(res1)) {
5345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5346 }
5347 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5348 {
5349 PyThreadState* __tstate = wxPyBeginAllowThreads();
5350 (arg1)->Restore();
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 resultobj = SWIG_Py_Void();
5355 return resultobj;
5356fail:
5357 return NULL;
5358}
5359
5360
5361SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5362 PyObject *resultobj = 0;
5363 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5364 bool arg2 = (bool) true ;
5365 void *argp1 = 0 ;
5366 int res1 = 0 ;
5367 bool val2 ;
5368 int ecode2 = 0 ;
5369 PyObject * obj0 = 0 ;
5370 PyObject * obj1 = 0 ;
5371 char * kwnames[] = {
5372 (char *) "self",(char *) "iconize", NULL
5373 };
5374
5375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5377 if (!SWIG_IsOK(res1)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5379 }
5380 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5381 if (obj1) {
5382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5383 if (!SWIG_IsOK(ecode2)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5385 }
5386 arg2 = static_cast< bool >(val2);
5387 }
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 (arg1)->Iconize(arg2);
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = SWIG_Py_Void();
5395 return resultobj;
5396fail:
5397 return NULL;
d14a1e28
RD
5398}
5399
5400
0085ce49
RD
5401SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5402 PyObject *resultobj = 0;
5403 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5404 bool result;
5405 void *argp1 = 0 ;
5406 int res1 = 0 ;
5407 PyObject *swig_obj[1] ;
5408
5409 if (!args) SWIG_fail;
5410 swig_obj[0] = args;
5411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5412 if (!SWIG_IsOK(res1)) {
5413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5414 }
5415 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 {
5423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5424 }
5425 return resultobj;
5426fail:
5427 return NULL;
d14a1e28
RD
5428}
5429
5430
01f6b6d3
RD
5431SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5432 PyObject *resultobj = 0;
5433 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5434 bool result;
5435 void *argp1 = 0 ;
5436 int res1 = 0 ;
5437 PyObject *swig_obj[1] ;
5438
5439 if (!args) SWIG_fail;
5440 swig_obj[0] = args;
5441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5442 if (!SWIG_IsOK(res1)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5444 }
5445 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5449 wxPyEndAllowThreads(__tstate);
5450 if (PyErr_Occurred()) SWIG_fail;
5451 }
5452 {
5453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5454 }
5455 return resultobj;
5456fail:
5457 return NULL;
5458}
5459
5460
0085ce49
RD
5461SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5462 PyObject *resultobj = 0;
5463 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5464 bool result;
5465 void *argp1 = 0 ;
5466 int res1 = 0 ;
5467 PyObject *swig_obj[1] ;
5468
5469 if (!args) SWIG_fail;
5470 swig_obj[0] = args;
5471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5472 if (!SWIG_IsOK(res1)) {
5473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5474 }
5475 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 {
5483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5484 }
5485 return resultobj;
5486fail:
5487 return NULL;
f5b96ee1
RD
5488}
5489
5490
0085ce49
RD
5491SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5492 PyObject *resultobj = 0;
5493 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5494 wxIcon result;
5495 void *argp1 = 0 ;
5496 int res1 = 0 ;
5497 PyObject *swig_obj[1] ;
5498
5499 if (!args) SWIG_fail;
5500 swig_obj[0] = args;
5501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5502 if (!SWIG_IsOK(res1)) {
5503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5504 }
5505 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5506 {
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5513 return resultobj;
5514fail:
5515 return NULL;
5516}
5517
5518
5519SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj = 0;
5521 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5522 wxIcon *arg2 = 0 ;
5523 void *argp1 = 0 ;
5524 int res1 = 0 ;
5525 void *argp2 = 0 ;
5526 int res2 = 0 ;
5527 PyObject * obj0 = 0 ;
5528 PyObject * obj1 = 0 ;
5529 char * kwnames[] = {
5530 (char *) "self",(char *) "icon", NULL
5531 };
5532
5533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5535 if (!SWIG_IsOK(res1)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5537 }
5538 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5539 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5540 if (!SWIG_IsOK(res2)) {
5541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5542 }
5543 if (!argp2) {
5544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5545 }
5546 arg2 = reinterpret_cast< wxIcon * >(argp2);
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 (arg1)->SetIcon((wxIcon const &)*arg2);
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 resultobj = SWIG_Py_Void();
5554 return resultobj;
5555fail:
5556 return NULL;
5557}
5558
5559
5560SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj = 0;
5562 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5563 wxIconBundle *arg2 = 0 ;
5564 void *argp1 = 0 ;
5565 int res1 = 0 ;
5566 void *argp2 = 0 ;
5567 int res2 = 0 ;
5568 PyObject * obj0 = 0 ;
5569 PyObject * obj1 = 0 ;
5570 char * kwnames[] = {
5571 (char *) "self",(char *) "icons", NULL
5572 };
5573
5574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5576 if (!SWIG_IsOK(res1)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5578 }
5579 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5580 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5581 if (!SWIG_IsOK(res2)) {
5582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5583 }
5584 if (!argp2) {
5585 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5586 }
5587 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 resultobj = SWIG_Py_Void();
5595 return resultobj;
5596fail:
5597 return NULL;
5598}
5599
5600
5601SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj = 0;
5603 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5604 bool arg2 ;
5605 long arg3 = (long) wxFULLSCREEN_ALL ;
5606 bool result;
5607 void *argp1 = 0 ;
5608 int res1 = 0 ;
5609 bool val2 ;
5610 int ecode2 = 0 ;
5611 long val3 ;
5612 int ecode3 = 0 ;
5613 PyObject * obj0 = 0 ;
5614 PyObject * obj1 = 0 ;
5615 PyObject * obj2 = 0 ;
5616 char * kwnames[] = {
5617 (char *) "self",(char *) "show",(char *) "style", NULL
5618 };
5619
5620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5622 if (!SWIG_IsOK(res1)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5624 }
5625 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5626 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5627 if (!SWIG_IsOK(ecode2)) {
5628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5629 }
5630 arg2 = static_cast< bool >(val2);
5631 if (obj2) {
5632 ecode3 = SWIG_AsVal_long(obj2, &val3);
5633 if (!SWIG_IsOK(ecode3)) {
5634 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5635 }
5636 arg3 = static_cast< long >(val3);
5637 }
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 {
5645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5646 }
5647 return resultobj;
5648fail:
5649 return NULL;
22bfe96c
RD
5650}
5651
5652
0085ce49
RD
5653SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5654 PyObject *resultobj = 0;
5655 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5656 bool result;
5657 void *argp1 = 0 ;
5658 int res1 = 0 ;
5659 PyObject *swig_obj[1] ;
5660
5661 if (!args) SWIG_fail;
5662 swig_obj[0] = args;
5663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5664 if (!SWIG_IsOK(res1)) {
5665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5666 }
5667 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5668 {
5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
5670 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 {
5675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5676 }
5677 return resultobj;
5678fail:
5679 return NULL;
5680}
5681
5682
5683SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj = 0;
5685 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5686 wxString *arg2 = 0 ;
5687 void *argp1 = 0 ;
5688 int res1 = 0 ;
5689 bool temp2 = false ;
5690 PyObject * obj0 = 0 ;
5691 PyObject * obj1 = 0 ;
5692 char * kwnames[] = {
5693 (char *) "self",(char *) "title", NULL
5694 };
5695
5696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5698 if (!SWIG_IsOK(res1)) {
5699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5700 }
5701 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5702 {
5703 arg2 = wxString_in_helper(obj1);
5704 if (arg2 == NULL) SWIG_fail;
5705 temp2 = true;
5706 }
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 (arg1)->SetTitle((wxString const &)*arg2);
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 resultobj = SWIG_Py_Void();
5714 {
5715 if (temp2)
5716 delete arg2;
5717 }
5718 return resultobj;
5719fail:
5720 {
5721 if (temp2)
5722 delete arg2;
5723 }
5724 return NULL;
b2dc1044
RD
5725}
5726
5727
0085ce49
RD
5728SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5729 PyObject *resultobj = 0;
5730 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5731 wxString result;
5732 void *argp1 = 0 ;
5733 int res1 = 0 ;
5734 PyObject *swig_obj[1] ;
5735
5736 if (!args) SWIG_fail;
5737 swig_obj[0] = args;
5738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5739 if (!SWIG_IsOK(res1)) {
5740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5741 }
5742 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5743 {
5744 PyThreadState* __tstate = wxPyBeginAllowThreads();
5745 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 {
b2dc1044 5750#if wxUSE_UNICODE
0085ce49 5751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
b2dc1044 5752#else
0085ce49 5753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
b2dc1044 5754#endif
0085ce49
RD
5755 }
5756 return resultobj;
5757fail:
5758 return NULL;
5759}
5760
5761
5762SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5763 PyObject *resultobj = 0;
5764 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5765 wxRegion *arg2 = 0 ;
5766 bool result;
5767 void *argp1 = 0 ;
5768 int res1 = 0 ;
5769 void *argp2 = 0 ;
5770 int res2 = 0 ;
5771 PyObject * obj0 = 0 ;
5772 PyObject * obj1 = 0 ;
5773 char * kwnames[] = {
5774 (char *) "self",(char *) "region", NULL
5775 };
5776
5777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5779 if (!SWIG_IsOK(res1)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5781 }
5782 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5783 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5784 if (!SWIG_IsOK(res2)) {
5785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5786 }
5787 if (!argp2) {
5788 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5789 }
5790 arg2 = reinterpret_cast< wxRegion * >(argp2);
5791 {
5792 PyThreadState* __tstate = wxPyBeginAllowThreads();
5793 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 {
5798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5799 }
5800 return resultobj;
5801fail:
5802 return NULL;
5803}
5804
5805
5806SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj = 0;
5808 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5809 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5810 void *argp1 = 0 ;
5811 int res1 = 0 ;
5812 int val2 ;
5813 int ecode2 = 0 ;
5814 PyObject * obj0 = 0 ;
5815 PyObject * obj1 = 0 ;
5816 char * kwnames[] = {
5817 (char *) "self",(char *) "flags", NULL
5818 };
5819
5820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5822 if (!SWIG_IsOK(res1)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5824 }
5825 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5826 if (obj1) {
5827 ecode2 = SWIG_AsVal_int(obj1, &val2);
5828 if (!SWIG_IsOK(ecode2)) {
5829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5830 }
5831 arg2 = static_cast< int >(val2);
5832 }
5833 {
5834 PyThreadState* __tstate = wxPyBeginAllowThreads();
5835 (arg1)->RequestUserAttention(arg2);
5836 wxPyEndAllowThreads(__tstate);
5837 if (PyErr_Occurred()) SWIG_fail;
5838 }
5839 resultobj = SWIG_Py_Void();
5840 return resultobj;
5841fail:
5842 return NULL;
b2dc1044
RD
5843}
5844
5845
0085ce49
RD
5846SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5847 PyObject *resultobj = 0;
5848 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5849 bool result;
5850 void *argp1 = 0 ;
5851 int res1 = 0 ;
5852 PyObject *swig_obj[1] ;
5853
5854 if (!args) SWIG_fail;
5855 swig_obj[0] = args;
5856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5857 if (!SWIG_IsOK(res1)) {
5858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5859 }
5860 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5861 {
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 result = (bool)(arg1)->IsActive();
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 {
5868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5869 }
5870 return resultobj;
5871fail:
5872 return NULL;
5873}
5874
5875
5876SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5877 PyObject *resultobj = 0;
5878 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5879 bool arg2 ;
5880 void *argp1 = 0 ;
5881 int res1 = 0 ;
5882 bool val2 ;
5883 int ecode2 = 0 ;
5884 PyObject * obj0 = 0 ;
5885 PyObject * obj1 = 0 ;
5886 char * kwnames[] = {
5887 (char *) "self",(char *) "on", NULL
5888 };
5889
5890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5892 if (!SWIG_IsOK(res1)) {
5893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5894 }
5895 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5896 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5897 if (!SWIG_IsOK(ecode2)) {
5898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5899 }
5900 arg2 = static_cast< bool >(val2);
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 resultobj = SWIG_Py_Void();
5908 return resultobj;
5909fail:
5910 return NULL;
b2dc1044
RD
5911}
5912
5913
0085ce49
RD
5914SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5915 PyObject *resultobj = 0;
5916 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5917 bool result;
5918 void *argp1 = 0 ;
5919 int res1 = 0 ;
5920 PyObject *swig_obj[1] ;
5921
5922 if (!args) SWIG_fail;
5923 swig_obj[0] = args;
5924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5925 if (!SWIG_IsOK(res1)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5927 }
5928 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 {
5936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5937 }
5938 return resultobj;
5939fail:
5940 return NULL;
5941}
5942
5943
5944SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5945 PyObject *resultobj = 0;
5946 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5947 int arg2 = (int) wxBOTH ;
5948 void *argp1 = 0 ;
5949 int res1 = 0 ;
5950 int val2 ;
5951 int ecode2 = 0 ;
5952 PyObject * obj0 = 0 ;
5953 PyObject * obj1 = 0 ;
5954 char * kwnames[] = {
5955 (char *) "self",(char *) "dir", NULL
5956 };
5957
5958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5960 if (!SWIG_IsOK(res1)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5962 }
5963 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5964 if (obj1) {
5965 ecode2 = SWIG_AsVal_int(obj1, &val2);
5966 if (!SWIG_IsOK(ecode2)) {
5967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5968 }
5969 arg2 = static_cast< int >(val2);
5970 }
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 (arg1)->CenterOnScreen(arg2);
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 resultobj = SWIG_Py_Void();
5978 return resultobj;
5979fail:
5980 return NULL;
5981}
5982
5983
5984SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5985 PyObject *obj;
5986 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5987 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5988 return SWIG_Py_Void();
5989}
5990
5991SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj = 0;
5993 wxWindow *arg1 = (wxWindow *) 0 ;
5994 int arg2 = (int) (int)-1 ;
5995 wxString const &arg3_defvalue = wxPyEmptyString ;
5996 wxString *arg3 = (wxString *) &arg3_defvalue ;
5997 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5998 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5999 wxSize const &arg5_defvalue = wxDefaultSize ;
6000 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6001 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6002 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6003 wxString *arg7 = (wxString *) &arg7_defvalue ;
6004 wxFrame *result = 0 ;
6005 void *argp1 = 0 ;
6006 int res1 = 0 ;
6007 int val2 ;
6008 int ecode2 = 0 ;
6009 bool temp3 = false ;
6010 wxPoint temp4 ;
6011 wxSize temp5 ;
6012 long val6 ;
6013 int ecode6 = 0 ;
6014 bool temp7 = false ;
6015 PyObject * obj0 = 0 ;
6016 PyObject * obj1 = 0 ;
6017 PyObject * obj2 = 0 ;
6018 PyObject * obj3 = 0 ;
6019 PyObject * obj4 = 0 ;
6020 PyObject * obj5 = 0 ;
6021 PyObject * obj6 = 0 ;
6022 char * kwnames[] = {
6023 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6024 };
6025
6026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6028 if (!SWIG_IsOK(res1)) {
6029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6030 }
6031 arg1 = reinterpret_cast< wxWindow * >(argp1);
6032 if (obj1) {
6033 ecode2 = SWIG_AsVal_int(obj1, &val2);
6034 if (!SWIG_IsOK(ecode2)) {
6035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6036 }
6037 arg2 = static_cast< int >(val2);
6038 }
6039 if (obj2) {
b2dc1044 6040 {
0085ce49
RD
6041 arg3 = wxString_in_helper(obj2);
6042 if (arg3 == NULL) SWIG_fail;
6043 temp3 = true;
b2dc1044 6044 }
0085ce49
RD
6045 }
6046 if (obj3) {
b2dc1044 6047 {
0085ce49
RD
6048 arg4 = &temp4;
6049 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b2dc1044 6050 }
0085ce49
RD
6051 }
6052 if (obj4) {
b2dc1044 6053 {
0085ce49
RD
6054 arg5 = &temp5;
6055 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 6056 }
0085ce49
RD
6057 }
6058 if (obj5) {
6059 ecode6 = SWIG_AsVal_long(obj5, &val6);
6060 if (!SWIG_IsOK(ecode6)) {
6061 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6062 }
6063 arg6 = static_cast< long >(val6);
6064 }
6065 if (obj6) {
d14a1e28 6066 {
0085ce49
RD
6067 arg7 = wxString_in_helper(obj6);
6068 if (arg7 == NULL) SWIG_fail;
6069 temp7 = true;
d14a1e28 6070 }
0085ce49
RD
6071 }
6072 {
6073 if (!wxPyCheckForApp()) SWIG_fail;
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6080 {
6081 if (temp3)
6082 delete arg3;
6083 }
6084 {
6085 if (temp7)
6086 delete arg7;
6087 }
6088 return resultobj;
6089fail:
6090 {
6091 if (temp3)
6092 delete arg3;
6093 }
6094 {
6095 if (temp7)
6096 delete arg7;
6097 }
6098 return NULL;
d14a1e28
RD
6099}
6100
6101
0085ce49
RD
6102SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6103 PyObject *resultobj = 0;
6104 wxFrame *result = 0 ;
6105
6106 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6107 {
6108 if (!wxPyCheckForApp()) SWIG_fail;
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 result = (wxFrame *)new wxFrame();
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6115 return resultobj;
6116fail:
6117 return NULL;
6118}
6119
6120
6121SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj = 0;
6123 wxFrame *arg1 = (wxFrame *) 0 ;
6124 wxWindow *arg2 = (wxWindow *) 0 ;
6125 int arg3 = (int) (int)-1 ;
6126 wxString const &arg4_defvalue = wxPyEmptyString ;
6127 wxString *arg4 = (wxString *) &arg4_defvalue ;
6128 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6129 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6130 wxSize const &arg6_defvalue = wxDefaultSize ;
6131 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6132 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6133 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6134 wxString *arg8 = (wxString *) &arg8_defvalue ;
6135 bool result;
6136 void *argp1 = 0 ;
6137 int res1 = 0 ;
6138 void *argp2 = 0 ;
6139 int res2 = 0 ;
6140 int val3 ;
6141 int ecode3 = 0 ;
6142 bool temp4 = false ;
6143 wxPoint temp5 ;
6144 wxSize temp6 ;
6145 long val7 ;
6146 int ecode7 = 0 ;
6147 bool temp8 = false ;
6148 PyObject * obj0 = 0 ;
6149 PyObject * obj1 = 0 ;
6150 PyObject * obj2 = 0 ;
6151 PyObject * obj3 = 0 ;
6152 PyObject * obj4 = 0 ;
6153 PyObject * obj5 = 0 ;
6154 PyObject * obj6 = 0 ;
6155 PyObject * obj7 = 0 ;
6156 char * kwnames[] = {
6157 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6158 };
6159
6160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6162 if (!SWIG_IsOK(res1)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6164 }
6165 arg1 = reinterpret_cast< wxFrame * >(argp1);
6166 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6167 if (!SWIG_IsOK(res2)) {
6168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6169 }
6170 arg2 = reinterpret_cast< wxWindow * >(argp2);
6171 if (obj2) {
6172 ecode3 = SWIG_AsVal_int(obj2, &val3);
6173 if (!SWIG_IsOK(ecode3)) {
6174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6175 }
6176 arg3 = static_cast< int >(val3);
6177 }
6178 if (obj3) {
d14a1e28 6179 {
0085ce49
RD
6180 arg4 = wxString_in_helper(obj3);
6181 if (arg4 == NULL) SWIG_fail;
6182 temp4 = true;
d14a1e28 6183 }
0085ce49
RD
6184 }
6185 if (obj4) {
4f89f6a3 6186 {
0085ce49
RD
6187 arg5 = &temp5;
6188 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 6189 }
0085ce49
RD
6190 }
6191 if (obj5) {
d14a1e28 6192 {
0085ce49
RD
6193 arg6 = &temp6;
6194 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 6195 }
0085ce49
RD
6196 }
6197 if (obj6) {
6198 ecode7 = SWIG_AsVal_long(obj6, &val7);
6199 if (!SWIG_IsOK(ecode7)) {
6200 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6201 }
6202 arg7 = static_cast< long >(val7);
6203 }
6204 if (obj7) {
4f89f6a3 6205 {
0085ce49
RD
6206 arg8 = wxString_in_helper(obj7);
6207 if (arg8 == NULL) SWIG_fail;
6208 temp8 = true;
4f89f6a3 6209 }
0085ce49
RD
6210 }
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 {
6218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6219 }
6220 {
6221 if (temp4)
6222 delete arg4;
6223 }
6224 {
6225 if (temp8)
6226 delete arg8;
6227 }
6228 return resultobj;
6229fail:
6230 {
6231 if (temp4)
6232 delete arg4;
6233 }
6234 {
6235 if (temp8)
6236 delete arg8;
6237 }
6238 return NULL;
d14a1e28
RD
6239}
6240
6241
0085ce49
RD
6242SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6243 PyObject *resultobj = 0;
6244 wxFrame *arg1 = (wxFrame *) 0 ;
6245 void *argp1 = 0 ;
6246 int res1 = 0 ;
6247 PyObject *swig_obj[1] ;
6248
6249 if (!args) SWIG_fail;
6250 swig_obj[0] = args;
6251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6252 if (!SWIG_IsOK(res1)) {
6253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6254 }
6255 arg1 = reinterpret_cast< wxFrame * >(argp1);
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 (arg1)->SendSizeEvent();
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 resultobj = SWIG_Py_Void();
6263 return resultobj;
6264fail:
6265 return NULL;
6266}
6267
6268
6269SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj = 0;
6271 wxFrame *arg1 = (wxFrame *) 0 ;
6272 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6273 void *argp1 = 0 ;
6274 int res1 = 0 ;
6275 void *argp2 = 0 ;
6276 int res2 = 0 ;
6277 PyObject * obj0 = 0 ;
6278 PyObject * obj1 = 0 ;
6279 char * kwnames[] = {
6280 (char *) "self",(char *) "menubar", NULL
6281 };
6282
6283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6285 if (!SWIG_IsOK(res1)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6287 }
6288 arg1 = reinterpret_cast< wxFrame * >(argp1);
6289 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6290 if (!SWIG_IsOK(res2)) {
6291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6292 }
6293 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 (arg1)->SetMenuBar(arg2);
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 resultobj = SWIG_Py_Void();
6301 return resultobj;
6302fail:
6303 return NULL;
d14a1e28
RD
6304}
6305
6306
0085ce49
RD
6307SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6308 PyObject *resultobj = 0;
6309 wxFrame *arg1 = (wxFrame *) 0 ;
6310 wxMenuBar *result = 0 ;
6311 void *argp1 = 0 ;
6312 int res1 = 0 ;
6313 PyObject *swig_obj[1] ;
6314
6315 if (!args) SWIG_fail;
6316 swig_obj[0] = args;
6317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6318 if (!SWIG_IsOK(res1)) {
6319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6320 }
6321 arg1 = reinterpret_cast< wxFrame * >(argp1);
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 {
6329 resultobj = wxPyMake_wxObject(result, 0);
6330 }
6331 return resultobj;
6332fail:
6333 return NULL;
6334}
6335
6336
6337SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6338 PyObject *resultobj = 0;
6339 wxFrame *arg1 = (wxFrame *) 0 ;
6340 int arg2 ;
6341 bool result;
6342 void *argp1 = 0 ;
6343 int res1 = 0 ;
6344 int val2 ;
6345 int ecode2 = 0 ;
6346 PyObject * obj0 = 0 ;
6347 PyObject * obj1 = 0 ;
6348 char * kwnames[] = {
6349 (char *) "self",(char *) "winid", NULL
6350 };
6351
6352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6354 if (!SWIG_IsOK(res1)) {
6355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6356 }
6357 arg1 = reinterpret_cast< wxFrame * >(argp1);
6358 ecode2 = SWIG_AsVal_int(obj1, &val2);
6359 if (!SWIG_IsOK(ecode2)) {
6360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6361 }
6362 arg2 = static_cast< int >(val2);
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 result = (bool)(arg1)->ProcessCommand(arg2);
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 {
6370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6371 }
6372 return resultobj;
6373fail:
6374 return NULL;
6375}
6376
6377
6378SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6379 PyObject *resultobj = 0;
6380 wxFrame *arg1 = (wxFrame *) 0 ;
6381 int arg2 = (int) 1 ;
6382 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6383 int arg4 = (int) 0 ;
6384 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6385 wxString *arg5 = (wxString *) &arg5_defvalue ;
6386 wxStatusBar *result = 0 ;
6387 void *argp1 = 0 ;
6388 int res1 = 0 ;
6389 int val2 ;
6390 int ecode2 = 0 ;
6391 long val3 ;
6392 int ecode3 = 0 ;
6393 int val4 ;
6394 int ecode4 = 0 ;
6395 bool temp5 = false ;
6396 PyObject * obj0 = 0 ;
6397 PyObject * obj1 = 0 ;
6398 PyObject * obj2 = 0 ;
6399 PyObject * obj3 = 0 ;
6400 PyObject * obj4 = 0 ;
6401 char * kwnames[] = {
6402 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6403 };
6404
6405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6407 if (!SWIG_IsOK(res1)) {
6408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6409 }
6410 arg1 = reinterpret_cast< wxFrame * >(argp1);
6411 if (obj1) {
6412 ecode2 = SWIG_AsVal_int(obj1, &val2);
6413 if (!SWIG_IsOK(ecode2)) {
6414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6415 }
6416 arg2 = static_cast< int >(val2);
6417 }
6418 if (obj2) {
6419 ecode3 = SWIG_AsVal_long(obj2, &val3);
6420 if (!SWIG_IsOK(ecode3)) {
6421 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6422 }
6423 arg3 = static_cast< long >(val3);
6424 }
6425 if (obj3) {
6426 ecode4 = SWIG_AsVal_int(obj3, &val4);
6427 if (!SWIG_IsOK(ecode4)) {
6428 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6429 }
6430 arg4 = static_cast< int >(val4);
6431 }
6432 if (obj4) {
093d3ff1 6433 {
0085ce49
RD
6434 arg5 = wxString_in_helper(obj4);
6435 if (arg5 == NULL) SWIG_fail;
6436 temp5 = true;
d14a1e28 6437 }
0085ce49
RD
6438 }
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 {
6446 resultobj = wxPyMake_wxObject(result, (bool)0);
6447 }
6448 {
6449 if (temp5)
6450 delete arg5;
6451 }
6452 return resultobj;
6453fail:
6454 {
6455 if (temp5)
6456 delete arg5;
6457 }
6458 return NULL;
d14a1e28
RD
6459}
6460
6461
0085ce49
RD
6462SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6463 PyObject *resultobj = 0;
6464 wxFrame *arg1 = (wxFrame *) 0 ;
6465 wxStatusBar *result = 0 ;
6466 void *argp1 = 0 ;
6467 int res1 = 0 ;
6468 PyObject *swig_obj[1] ;
6469
6470 if (!args) SWIG_fail;
6471 swig_obj[0] = args;
6472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6473 if (!SWIG_IsOK(res1)) {
6474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6475 }
6476 arg1 = reinterpret_cast< wxFrame * >(argp1);
6477 {
6478 PyThreadState* __tstate = wxPyBeginAllowThreads();
6479 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 {
6484 resultobj = wxPyMake_wxObject(result, (bool)0);
6485 }
6486 return resultobj;
6487fail:
6488 return NULL;
6489}
6490
6491
6492SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6493 PyObject *resultobj = 0;
6494 wxFrame *arg1 = (wxFrame *) 0 ;
6495 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6496 void *argp1 = 0 ;
6497 int res1 = 0 ;
6498 void *argp2 = 0 ;
6499 int res2 = 0 ;
6500 PyObject * obj0 = 0 ;
6501 PyObject * obj1 = 0 ;
6502 char * kwnames[] = {
6503 (char *) "self",(char *) "statBar", NULL
6504 };
6505
6506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6508 if (!SWIG_IsOK(res1)) {
6509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6510 }
6511 arg1 = reinterpret_cast< wxFrame * >(argp1);
6512 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6513 if (!SWIG_IsOK(res2)) {
6514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6515 }
6516 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 (arg1)->SetStatusBar(arg2);
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 resultobj = SWIG_Py_Void();
6524 return resultobj;
6525fail:
6526 return NULL;
6527}
6528
6529
6530SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj = 0;
6532 wxFrame *arg1 = (wxFrame *) 0 ;
6533 wxString *arg2 = 0 ;
6534 int arg3 = (int) 0 ;
6535 void *argp1 = 0 ;
6536 int res1 = 0 ;
6537 bool temp2 = false ;
6538 int val3 ;
6539 int ecode3 = 0 ;
6540 PyObject * obj0 = 0 ;
6541 PyObject * obj1 = 0 ;
6542 PyObject * obj2 = 0 ;
6543 char * kwnames[] = {
6544 (char *) "self",(char *) "text",(char *) "number", NULL
6545 };
6546
6547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6549 if (!SWIG_IsOK(res1)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6551 }
6552 arg1 = reinterpret_cast< wxFrame * >(argp1);
6553 {
6554 arg2 = wxString_in_helper(obj1);
6555 if (arg2 == NULL) SWIG_fail;
6556 temp2 = true;
6557 }
6558 if (obj2) {
6559 ecode3 = SWIG_AsVal_int(obj2, &val3);
6560 if (!SWIG_IsOK(ecode3)) {
6561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6562 }
6563 arg3 = static_cast< int >(val3);
6564 }
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 resultobj = SWIG_Py_Void();
6572 {
6573 if (temp2)
6574 delete arg2;
6575 }
6576 return resultobj;
6577fail:
6578 {
6579 if (temp2)
6580 delete arg2;
6581 }
6582 return NULL;
d14a1e28
RD
6583}
6584
6585
0085ce49
RD
6586SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj = 0;
6588 wxFrame *arg1 = (wxFrame *) 0 ;
6589 int arg2 ;
6590 int *arg3 = (int *) 0 ;
6591 void *argp1 = 0 ;
6592 int res1 = 0 ;
6593 PyObject * obj0 = 0 ;
6594 PyObject * obj1 = 0 ;
6595 char * kwnames[] = {
6596 (char *) "self",(char *) "widths", NULL
6597 };
6598
6599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6601 if (!SWIG_IsOK(res1)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6603 }
6604 arg1 = reinterpret_cast< wxFrame * >(argp1);
6605 {
6606 arg2 = PyList_Size(obj1);
6607 arg3 = int_LIST_helper(obj1);
6608 if (arg3 == NULL) SWIG_fail;
6609 }
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 resultobj = SWIG_Py_Void();
6617 {
6618 if (arg3) delete [] arg3;
6619 }
6620 return resultobj;
6621fail:
6622 {
6623 if (arg3) delete [] arg3;
6624 }
6625 return NULL;
6626}
6627
6628
6629SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6630 PyObject *resultobj = 0;
6631 wxFrame *arg1 = (wxFrame *) 0 ;
6632 wxString *arg2 = 0 ;
6633 int arg3 = (int) 0 ;
6634 void *argp1 = 0 ;
6635 int res1 = 0 ;
6636 bool temp2 = false ;
6637 int val3 ;
6638 int ecode3 = 0 ;
6639 PyObject * obj0 = 0 ;
6640 PyObject * obj1 = 0 ;
6641 PyObject * obj2 = 0 ;
6642 char * kwnames[] = {
6643 (char *) "self",(char *) "text",(char *) "number", NULL
6644 };
6645
6646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6648 if (!SWIG_IsOK(res1)) {
6649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6650 }
6651 arg1 = reinterpret_cast< wxFrame * >(argp1);
6652 {
6653 arg2 = wxString_in_helper(obj1);
6654 if (arg2 == NULL) SWIG_fail;
6655 temp2 = true;
6656 }
6657 if (obj2) {
6658 ecode3 = SWIG_AsVal_int(obj2, &val3);
6659 if (!SWIG_IsOK(ecode3)) {
6660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6661 }
6662 arg3 = static_cast< int >(val3);
6663 }
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 resultobj = SWIG_Py_Void();
6671 {
6672 if (temp2)
6673 delete arg2;
6674 }
6675 return resultobj;
6676fail:
6677 {
6678 if (temp2)
6679 delete arg2;
6680 }
6681 return NULL;
6682}
6683
6684
6685SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj = 0;
6687 wxFrame *arg1 = (wxFrame *) 0 ;
6688 int arg2 = (int) 0 ;
6689 void *argp1 = 0 ;
6690 int res1 = 0 ;
6691 int val2 ;
6692 int ecode2 = 0 ;
6693 PyObject * obj0 = 0 ;
6694 PyObject * obj1 = 0 ;
6695 char * kwnames[] = {
6696 (char *) "self",(char *) "number", NULL
6697 };
6698
6699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6701 if (!SWIG_IsOK(res1)) {
6702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6703 }
6704 arg1 = reinterpret_cast< wxFrame * >(argp1);
6705 if (obj1) {
6706 ecode2 = SWIG_AsVal_int(obj1, &val2);
6707 if (!SWIG_IsOK(ecode2)) {
6708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6709 }
6710 arg2 = static_cast< int >(val2);
6711 }
6712 {
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
6714 (arg1)->PopStatusText(arg2);
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 resultobj = SWIG_Py_Void();
6719 return resultobj;
6720fail:
6721 return NULL;
6722}
6723
6724
6725SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj = 0;
6727 wxFrame *arg1 = (wxFrame *) 0 ;
6728 int arg2 ;
6729 void *argp1 = 0 ;
6730 int res1 = 0 ;
6731 int val2 ;
6732 int ecode2 = 0 ;
6733 PyObject * obj0 = 0 ;
6734 PyObject * obj1 = 0 ;
6735 char * kwnames[] = {
6736 (char *) "self",(char *) "n", NULL
6737 };
6738
6739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6741 if (!SWIG_IsOK(res1)) {
6742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6743 }
6744 arg1 = reinterpret_cast< wxFrame * >(argp1);
6745 ecode2 = SWIG_AsVal_int(obj1, &val2);
6746 if (!SWIG_IsOK(ecode2)) {
6747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6748 }
6749 arg2 = static_cast< int >(val2);
6750 {
6751 PyThreadState* __tstate = wxPyBeginAllowThreads();
6752 (arg1)->SetStatusBarPane(arg2);
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 resultobj = SWIG_Py_Void();
6757 return resultobj;
6758fail:
6759 return NULL;
d14a1e28
RD
6760}
6761
6762
0085ce49
RD
6763SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6764 PyObject *resultobj = 0;
6765 wxFrame *arg1 = (wxFrame *) 0 ;
6766 int result;
6767 void *argp1 = 0 ;
6768 int res1 = 0 ;
6769 PyObject *swig_obj[1] ;
6770
6771 if (!args) SWIG_fail;
6772 swig_obj[0] = args;
6773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6774 if (!SWIG_IsOK(res1)) {
6775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6776 }
6777 arg1 = reinterpret_cast< wxFrame * >(argp1);
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 resultobj = SWIG_From_int(static_cast< int >(result));
6785 return resultobj;
6786fail:
6787 return NULL;
6788}
6789
6790
6791SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6792 PyObject *resultobj = 0;
6793 wxFrame *arg1 = (wxFrame *) 0 ;
6794 long arg2 = (long) -1 ;
6795 int arg3 = (int) -1 ;
6796 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6797 wxString *arg4 = (wxString *) &arg4_defvalue ;
6798 wxToolBar *result = 0 ;
6799 void *argp1 = 0 ;
6800 int res1 = 0 ;
6801 long val2 ;
6802 int ecode2 = 0 ;
6803 int val3 ;
6804 int ecode3 = 0 ;
6805 bool temp4 = false ;
6806 PyObject * obj0 = 0 ;
6807 PyObject * obj1 = 0 ;
6808 PyObject * obj2 = 0 ;
6809 PyObject * obj3 = 0 ;
6810 char * kwnames[] = {
6811 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6812 };
6813
6814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6816 if (!SWIG_IsOK(res1)) {
6817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6818 }
6819 arg1 = reinterpret_cast< wxFrame * >(argp1);
6820 if (obj1) {
6821 ecode2 = SWIG_AsVal_long(obj1, &val2);
6822 if (!SWIG_IsOK(ecode2)) {
6823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6824 }
6825 arg2 = static_cast< long >(val2);
6826 }
6827 if (obj2) {
6828 ecode3 = SWIG_AsVal_int(obj2, &val3);
6829 if (!SWIG_IsOK(ecode3)) {
6830 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6831 }
6832 arg3 = static_cast< int >(val3);
6833 }
6834 if (obj3) {
4f89f6a3 6835 {
0085ce49
RD
6836 arg4 = wxString_in_helper(obj3);
6837 if (arg4 == NULL) SWIG_fail;
6838 temp4 = true;
4f89f6a3 6839 }
0085ce49
RD
6840 }
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 {
6848 resultobj = wxPyMake_wxObject(result, (bool)0);
6849 }
6850 {
6851 if (temp4)
6852 delete arg4;
6853 }
6854 return resultobj;
6855fail:
6856 {
6857 if (temp4)
6858 delete arg4;
6859 }
6860 return NULL;
d14a1e28
RD
6861}
6862
6863
0085ce49
RD
6864SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6865 PyObject *resultobj = 0;
6866 wxFrame *arg1 = (wxFrame *) 0 ;
6867 wxToolBar *result = 0 ;
6868 void *argp1 = 0 ;
6869 int res1 = 0 ;
6870 PyObject *swig_obj[1] ;
6871
6872 if (!args) SWIG_fail;
6873 swig_obj[0] = args;
6874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6875 if (!SWIG_IsOK(res1)) {
6876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6877 }
6878 arg1 = reinterpret_cast< wxFrame * >(argp1);
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 {
6886 resultobj = wxPyMake_wxObject(result, (bool)0);
6887 }
6888 return resultobj;
6889fail:
6890 return NULL;
6891}
6892
6893
6894SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6895 PyObject *resultobj = 0;
6896 wxFrame *arg1 = (wxFrame *) 0 ;
6897 wxToolBar *arg2 = (wxToolBar *) 0 ;
6898 void *argp1 = 0 ;
6899 int res1 = 0 ;
6900 void *argp2 = 0 ;
6901 int res2 = 0 ;
6902 PyObject * obj0 = 0 ;
6903 PyObject * obj1 = 0 ;
6904 char * kwnames[] = {
6905 (char *) "self",(char *) "toolbar", NULL
6906 };
6907
6908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6910 if (!SWIG_IsOK(res1)) {
6911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6912 }
6913 arg1 = reinterpret_cast< wxFrame * >(argp1);
6914 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6915 if (!SWIG_IsOK(res2)) {
6916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6917 }
6918 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 (arg1)->SetToolBar(arg2);
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 resultobj = SWIG_Py_Void();
6926 return resultobj;
6927fail:
6928 return NULL;
6929}
6930
6931
6932SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6933 PyObject *resultobj = 0;
6934 wxFrame *arg1 = (wxFrame *) 0 ;
6935 wxString *arg2 = 0 ;
6936 bool arg3 ;
6937 void *argp1 = 0 ;
6938 int res1 = 0 ;
6939 bool temp2 = false ;
6940 bool val3 ;
6941 int ecode3 = 0 ;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944 PyObject * obj2 = 0 ;
6945 char * kwnames[] = {
6946 (char *) "self",(char *) "text",(char *) "show", NULL
6947 };
6948
6949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6951 if (!SWIG_IsOK(res1)) {
6952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6953 }
6954 arg1 = reinterpret_cast< wxFrame * >(argp1);
6955 {
6956 arg2 = wxString_in_helper(obj1);
6957 if (arg2 == NULL) SWIG_fail;
6958 temp2 = true;
6959 }
6960 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6961 if (!SWIG_IsOK(ecode3)) {
6962 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6963 }
6964 arg3 = static_cast< bool >(val3);
6965 {
6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
6967 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 resultobj = SWIG_Py_Void();
6972 {
6973 if (temp2)
6974 delete arg2;
6975 }
6976 return resultobj;
6977fail:
6978 {
6979 if (temp2)
6980 delete arg2;
6981 }
6982 return NULL;
6983}
6984
6985
6986SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj = 0;
6988 wxFrame *arg1 = (wxFrame *) 0 ;
6989 wxMenu *arg2 = (wxMenu *) NULL ;
6990 void *argp1 = 0 ;
6991 int res1 = 0 ;
6992 void *argp2 = 0 ;
6993 int res2 = 0 ;
6994 PyObject * obj0 = 0 ;
6995 PyObject * obj1 = 0 ;
6996 char * kwnames[] = {
6997 (char *) "self",(char *) "menu", NULL
6998 };
6999
7000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7002 if (!SWIG_IsOK(res1)) {
7003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7004 }
7005 arg1 = reinterpret_cast< wxFrame * >(argp1);
7006 if (obj1) {
7007 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7008 if (!SWIG_IsOK(res2)) {
7009 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d14a1e28 7010 }
0085ce49
RD
7011 arg2 = reinterpret_cast< wxMenu * >(argp2);
7012 }
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 (arg1)->DoMenuUpdates(arg2);
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 resultobj = SWIG_Py_Void();
7020 return resultobj;
7021fail:
7022 return NULL;
7023}
7024
7025
7026SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj = 0;
7028 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7029 SwigValueWrapper<wxVisualAttributes > result;
7030 int val1 ;
7031 int ecode1 = 0 ;
7032 PyObject * obj0 = 0 ;
7033 char * kwnames[] = {
7034 (char *) "variant", NULL
7035 };
7036
7037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7038 if (obj0) {
7039 ecode1 = SWIG_AsVal_int(obj0, &val1);
7040 if (!SWIG_IsOK(ecode1)) {
7041 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7042 }
7043 arg1 = static_cast< wxWindowVariant >(val1);
7044 }
7045 {
7046 if (!wxPyCheckForApp()) SWIG_fail;
7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7048 result = wxFrame::GetClassDefaultAttributes(arg1);
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7053 return resultobj;
7054fail:
7055 return NULL;
7056}
7057
7058
7059SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7060 PyObject *obj;
7061 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7062 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7063 return SWIG_Py_Void();
7064}
7065
7066SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7067 return SWIG_Python_InitShadowInstance(args);
7068}
7069
7070SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj = 0;
7072 wxWindow *arg1 = (wxWindow *) 0 ;
7073 int arg2 = (int) (int)-1 ;
7074 wxString const &arg3_defvalue = wxPyEmptyString ;
7075 wxString *arg3 = (wxString *) &arg3_defvalue ;
7076 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7077 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7078 wxSize const &arg5_defvalue = wxDefaultSize ;
7079 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7080 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7081 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7082 wxString *arg7 = (wxString *) &arg7_defvalue ;
7083 wxDialog *result = 0 ;
7084 void *argp1 = 0 ;
7085 int res1 = 0 ;
7086 int val2 ;
7087 int ecode2 = 0 ;
7088 bool temp3 = false ;
7089 wxPoint temp4 ;
7090 wxSize temp5 ;
7091 long val6 ;
7092 int ecode6 = 0 ;
7093 bool temp7 = false ;
7094 PyObject * obj0 = 0 ;
7095 PyObject * obj1 = 0 ;
7096 PyObject * obj2 = 0 ;
7097 PyObject * obj3 = 0 ;
7098 PyObject * obj4 = 0 ;
7099 PyObject * obj5 = 0 ;
7100 PyObject * obj6 = 0 ;
7101 char * kwnames[] = {
7102 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7103 };
7104
7105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7107 if (!SWIG_IsOK(res1)) {
7108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7109 }
7110 arg1 = reinterpret_cast< wxWindow * >(argp1);
7111 if (obj1) {
7112 ecode2 = SWIG_AsVal_int(obj1, &val2);
7113 if (!SWIG_IsOK(ecode2)) {
7114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7115 }
7116 arg2 = static_cast< int >(val2);
7117 }
7118 if (obj2) {
d14a1e28 7119 {
0085ce49
RD
7120 arg3 = wxString_in_helper(obj2);
7121 if (arg3 == NULL) SWIG_fail;
7122 temp3 = true;
d14a1e28 7123 }
0085ce49
RD
7124 }
7125 if (obj3) {
d14a1e28 7126 {
0085ce49
RD
7127 arg4 = &temp4;
7128 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7129 }
0085ce49
RD
7130 }
7131 if (obj4) {
d14a1e28 7132 {
0085ce49
RD
7133 arg5 = &temp5;
7134 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7135 }
0085ce49
RD
7136 }
7137 if (obj5) {
7138 ecode6 = SWIG_AsVal_long(obj5, &val6);
7139 if (!SWIG_IsOK(ecode6)) {
7140 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7141 }
7142 arg6 = static_cast< long >(val6);
7143 }
7144 if (obj6) {
d14a1e28 7145 {
0085ce49
RD
7146 arg7 = wxString_in_helper(obj6);
7147 if (arg7 == NULL) SWIG_fail;
7148 temp7 = true;
d14a1e28 7149 }
0085ce49
RD
7150 }
7151 {
7152 if (!wxPyCheckForApp()) SWIG_fail;
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
7158 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7159 {
7160 if (temp3)
7161 delete arg3;
7162 }
7163 {
7164 if (temp7)
7165 delete arg7;
7166 }
7167 return resultobj;
7168fail:
7169 {
7170 if (temp3)
7171 delete arg3;
7172 }
7173 {
7174 if (temp7)
7175 delete arg7;
7176 }
7177 return NULL;
d14a1e28
RD
7178}
7179
7180
0085ce49
RD
7181SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7182 PyObject *resultobj = 0;
7183 wxDialog *result = 0 ;
7184
7185 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7186 {
7187 if (!wxPyCheckForApp()) SWIG_fail;
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 result = (wxDialog *)new wxDialog();
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7194 return resultobj;
7195fail:
7196 return NULL;
7197}
7198
7199
7200SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7201 PyObject *resultobj = 0;
7202 wxDialog *arg1 = (wxDialog *) 0 ;
7203 wxWindow *arg2 = (wxWindow *) 0 ;
7204 int arg3 = (int) (int)-1 ;
7205 wxString const &arg4_defvalue = wxPyEmptyString ;
7206 wxString *arg4 = (wxString *) &arg4_defvalue ;
7207 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7208 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7209 wxSize const &arg6_defvalue = wxDefaultSize ;
7210 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7211 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7212 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7213 wxString *arg8 = (wxString *) &arg8_defvalue ;
7214 bool result;
7215 void *argp1 = 0 ;
7216 int res1 = 0 ;
7217 void *argp2 = 0 ;
7218 int res2 = 0 ;
7219 int val3 ;
7220 int ecode3 = 0 ;
7221 bool temp4 = false ;
7222 wxPoint temp5 ;
7223 wxSize temp6 ;
7224 long val7 ;
7225 int ecode7 = 0 ;
7226 bool temp8 = false ;
7227 PyObject * obj0 = 0 ;
7228 PyObject * obj1 = 0 ;
7229 PyObject * obj2 = 0 ;
7230 PyObject * obj3 = 0 ;
7231 PyObject * obj4 = 0 ;
7232 PyObject * obj5 = 0 ;
7233 PyObject * obj6 = 0 ;
7234 PyObject * obj7 = 0 ;
7235 char * kwnames[] = {
7236 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7237 };
7238
7239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7241 if (!SWIG_IsOK(res1)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7243 }
7244 arg1 = reinterpret_cast< wxDialog * >(argp1);
7245 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7246 if (!SWIG_IsOK(res2)) {
7247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7248 }
7249 arg2 = reinterpret_cast< wxWindow * >(argp2);
7250 if (obj2) {
7251 ecode3 = SWIG_AsVal_int(obj2, &val3);
7252 if (!SWIG_IsOK(ecode3)) {
7253 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7254 }
7255 arg3 = static_cast< int >(val3);
7256 }
7257 if (obj3) {
093d3ff1 7258 {
0085ce49
RD
7259 arg4 = wxString_in_helper(obj3);
7260 if (arg4 == NULL) SWIG_fail;
7261 temp4 = true;
d14a1e28 7262 }
0085ce49
RD
7263 }
7264 if (obj4) {
d14a1e28 7265 {
0085ce49
RD
7266 arg5 = &temp5;
7267 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7268 }
0085ce49
RD
7269 }
7270 if (obj5) {
4f89f6a3 7271 {
0085ce49
RD
7272 arg6 = &temp6;
7273 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
c32bde28 7274 }
0085ce49
RD
7275 }
7276 if (obj6) {
7277 ecode7 = SWIG_AsVal_long(obj6, &val7);
7278 if (!SWIG_IsOK(ecode7)) {
7279 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7280 }
7281 arg7 = static_cast< long >(val7);
7282 }
7283 if (obj7) {
c32bde28 7284 {
0085ce49
RD
7285 arg8 = wxString_in_helper(obj7);
7286 if (arg8 == NULL) SWIG_fail;
7287 temp8 = true;
7288 }
7289 }
7290 {
7291 PyThreadState* __tstate = wxPyBeginAllowThreads();
7292 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 {
7297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7298 }
7299 {
7300 if (temp4)
7301 delete arg4;
7302 }
7303 {
7304 if (temp8)
7305 delete arg8;
7306 }
7307 return resultobj;
7308fail:
7309 {
7310 if (temp4)
7311 delete arg4;
7312 }
7313 {
7314 if (temp8)
7315 delete arg8;
7316 }
7317 return NULL;
7318}
7319
7320
7321SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7322 PyObject *resultobj = 0;
7323 wxDialog *arg1 = (wxDialog *) 0 ;
7324 int arg2 ;
7325 void *argp1 = 0 ;
7326 int res1 = 0 ;
7327 int val2 ;
7328 int ecode2 = 0 ;
7329 PyObject * obj0 = 0 ;
7330 PyObject * obj1 = 0 ;
7331 char * kwnames[] = {
7332 (char *) "self",(char *) "returnCode", NULL
7333 };
7334
7335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7337 if (!SWIG_IsOK(res1)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7339 }
7340 arg1 = reinterpret_cast< wxDialog * >(argp1);
7341 ecode2 = SWIG_AsVal_int(obj1, &val2);
7342 if (!SWIG_IsOK(ecode2)) {
7343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7344 }
7345 arg2 = static_cast< int >(val2);
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 (arg1)->SetReturnCode(arg2);
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 resultobj = SWIG_Py_Void();
7353 return resultobj;
7354fail:
7355 return NULL;
c32bde28
RD
7356}
7357
7358
0085ce49
RD
7359SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7360 PyObject *resultobj = 0;
7361 wxDialog *arg1 = (wxDialog *) 0 ;
7362 int result;
7363 void *argp1 = 0 ;
7364 int res1 = 0 ;
7365 PyObject *swig_obj[1] ;
7366
7367 if (!args) SWIG_fail;
7368 swig_obj[0] = args;
7369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7370 if (!SWIG_IsOK(res1)) {
7371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7372 }
7373 arg1 = reinterpret_cast< wxDialog * >(argp1);
7374 {
7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7376 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7377 wxPyEndAllowThreads(__tstate);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 resultobj = SWIG_From_int(static_cast< int >(result));
7381 return resultobj;
7382fail:
7383 return NULL;
7384}
7385
7386
7387SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj = 0;
7389 wxDialog *arg1 = (wxDialog *) 0 ;
7390 int arg2 ;
7391 void *argp1 = 0 ;
7392 int res1 = 0 ;
7393 int val2 ;
7394 int ecode2 = 0 ;
7395 PyObject * obj0 = 0 ;
7396 PyObject * obj1 = 0 ;
7397 char * kwnames[] = {
7398 (char *) "self",(char *) "affirmativeId", NULL
7399 };
7400
7401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7403 if (!SWIG_IsOK(res1)) {
7404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7405 }
7406 arg1 = reinterpret_cast< wxDialog * >(argp1);
7407 ecode2 = SWIG_AsVal_int(obj1, &val2);
7408 if (!SWIG_IsOK(ecode2)) {
7409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7410 }
7411 arg2 = static_cast< int >(val2);
7412 {
7413 PyThreadState* __tstate = wxPyBeginAllowThreads();
7414 (arg1)->SetAffirmativeId(arg2);
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
7418 resultobj = SWIG_Py_Void();
7419 return resultobj;
7420fail:
7421 return NULL;
b6294124
RD
7422}
7423
7424
0085ce49
RD
7425SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7426 PyObject *resultobj = 0;
7427 wxDialog *arg1 = (wxDialog *) 0 ;
7428 int result;
7429 void *argp1 = 0 ;
7430 int res1 = 0 ;
7431 PyObject *swig_obj[1] ;
7432
7433 if (!args) SWIG_fail;
7434 swig_obj[0] = args;
7435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7436 if (!SWIG_IsOK(res1)) {
7437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7438 }
7439 arg1 = reinterpret_cast< wxDialog * >(argp1);
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 resultobj = SWIG_From_int(static_cast< int >(result));
7447 return resultobj;
7448fail:
7449 return NULL;
7450}
7451
7452
7453SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj = 0;
7455 wxDialog *arg1 = (wxDialog *) 0 ;
7456 int arg2 ;
7457 void *argp1 = 0 ;
7458 int res1 = 0 ;
7459 int val2 ;
7460 int ecode2 = 0 ;
7461 PyObject * obj0 = 0 ;
7462 PyObject * obj1 = 0 ;
7463 char * kwnames[] = {
7464 (char *) "self",(char *) "escapeId", NULL
7465 };
7466
7467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7469 if (!SWIG_IsOK(res1)) {
7470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7471 }
7472 arg1 = reinterpret_cast< wxDialog * >(argp1);
7473 ecode2 = SWIG_AsVal_int(obj1, &val2);
7474 if (!SWIG_IsOK(ecode2)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7476 }
7477 arg2 = static_cast< int >(val2);
7478 {
7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
7480 (arg1)->SetEscapeId(arg2);
7481 wxPyEndAllowThreads(__tstate);
7482 if (PyErr_Occurred()) SWIG_fail;
7483 }
7484 resultobj = SWIG_Py_Void();
7485 return resultobj;
7486fail:
7487 return NULL;
84f85550
RD
7488}
7489
7490
0085ce49
RD
7491SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7492 PyObject *resultobj = 0;
7493 wxDialog *arg1 = (wxDialog *) 0 ;
7494 int result;
7495 void *argp1 = 0 ;
7496 int res1 = 0 ;
7497 PyObject *swig_obj[1] ;
7498
7499 if (!args) SWIG_fail;
7500 swig_obj[0] = args;
7501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7502 if (!SWIG_IsOK(res1)) {
7503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7504 }
7505 arg1 = reinterpret_cast< wxDialog * >(argp1);
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 resultobj = SWIG_From_int(static_cast< int >(result));
7513 return resultobj;
7514fail:
7515 return NULL;
7516}
7517
7518
7519SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj = 0;
7521 wxDialog *arg1 = (wxDialog *) 0 ;
7522 wxString *arg2 = 0 ;
7523 wxSizer *result = 0 ;
7524 void *argp1 = 0 ;
7525 int res1 = 0 ;
7526 bool temp2 = false ;
7527 PyObject * obj0 = 0 ;
7528 PyObject * obj1 = 0 ;
7529 char * kwnames[] = {
7530 (char *) "self",(char *) "message", NULL
7531 };
7532
7533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7535 if (!SWIG_IsOK(res1)) {
7536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7537 }
7538 arg1 = reinterpret_cast< wxDialog * >(argp1);
7539 {
7540 arg2 = wxString_in_helper(obj1);
7541 if (arg2 == NULL) SWIG_fail;
7542 temp2 = true;
7543 }
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 {
7551 resultobj = wxPyMake_wxObject(result, (bool)0);
7552 }
7553 {
7554 if (temp2)
7555 delete arg2;
7556 }
7557 return resultobj;
7558fail:
7559 {
7560 if (temp2)
7561 delete arg2;
7562 }
7563 return NULL;
7564}
7565
7566
7567SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj = 0;
7569 wxDialog *arg1 = (wxDialog *) 0 ;
7570 long arg2 ;
7571 bool arg3 = (bool) false ;
7572 int arg4 = (int) 0 ;
7573 wxSizer *result = 0 ;
7574 void *argp1 = 0 ;
7575 int res1 = 0 ;
7576 long val2 ;
7577 int ecode2 = 0 ;
7578 bool val3 ;
7579 int ecode3 = 0 ;
7580 int val4 ;
7581 int ecode4 = 0 ;
7582 PyObject * obj0 = 0 ;
7583 PyObject * obj1 = 0 ;
7584 PyObject * obj2 = 0 ;
7585 PyObject * obj3 = 0 ;
7586 char * kwnames[] = {
7587 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7588 };
7589
7590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7592 if (!SWIG_IsOK(res1)) {
7593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7594 }
7595 arg1 = reinterpret_cast< wxDialog * >(argp1);
7596 ecode2 = SWIG_AsVal_long(obj1, &val2);
7597 if (!SWIG_IsOK(ecode2)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7599 }
7600 arg2 = static_cast< long >(val2);
7601 if (obj2) {
7602 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7603 if (!SWIG_IsOK(ecode3)) {
7604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7605 }
7606 arg3 = static_cast< bool >(val3);
7607 }
7608 if (obj3) {
7609 ecode4 = SWIG_AsVal_int(obj3, &val4);
7610 if (!SWIG_IsOK(ecode4)) {
7611 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7612 }
7613 arg4 = static_cast< int >(val4);
7614 }
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7618 wxPyEndAllowThreads(__tstate);
7619 if (PyErr_Occurred()) SWIG_fail;
7620 }
7621 {
7622 resultobj = wxPyMake_wxObject(result, (bool)0);
7623 }
7624 return resultobj;
7625fail:
7626 return NULL;
7627}
7628
7629
7630SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj = 0;
7632 wxDialog *arg1 = (wxDialog *) 0 ;
7633 long arg2 ;
7634 wxStdDialogButtonSizer *result = 0 ;
7635 void *argp1 = 0 ;
7636 int res1 = 0 ;
7637 long val2 ;
7638 int ecode2 = 0 ;
7639 PyObject * obj0 = 0 ;
7640 PyObject * obj1 = 0 ;
7641 char * kwnames[] = {
7642 (char *) "self",(char *) "flags", NULL
7643 };
7644
7645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7647 if (!SWIG_IsOK(res1)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7649 }
7650 arg1 = reinterpret_cast< wxDialog * >(argp1);
7651 ecode2 = SWIG_AsVal_long(obj1, &val2);
7652 if (!SWIG_IsOK(ecode2)) {
7653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7654 }
7655 arg2 = static_cast< long >(val2);
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7663 return resultobj;
7664fail:
7665 return NULL;
84f85550
RD
7666}
7667
7668
0085ce49
RD
7669SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7670 PyObject *resultobj = 0;
7671 wxDialog *arg1 = (wxDialog *) 0 ;
7672 bool result;
7673 void *argp1 = 0 ;
7674 int res1 = 0 ;
7675 PyObject *swig_obj[1] ;
7676
7677 if (!args) SWIG_fail;
7678 swig_obj[0] = args;
7679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7680 if (!SWIG_IsOK(res1)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7682 }
7683 arg1 = reinterpret_cast< wxDialog * >(argp1);
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 result = (bool)((wxDialog const *)arg1)->IsModal();
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 {
7691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7692 }
7693 return resultobj;
7694fail:
7695 return NULL;
b1fcee84
RD
7696}
7697
7698
0085ce49
RD
7699SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7700 PyObject *resultobj = 0;
7701 wxDialog *arg1 = (wxDialog *) 0 ;
7702 int result;
7703 void *argp1 = 0 ;
7704 int res1 = 0 ;
7705 PyObject *swig_obj[1] ;
7706
7707 if (!args) SWIG_fail;
7708 swig_obj[0] = args;
7709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7710 if (!SWIG_IsOK(res1)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7712 }
7713 arg1 = reinterpret_cast< wxDialog * >(argp1);
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 result = (int)(arg1)->ShowModal();
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 resultobj = SWIG_From_int(static_cast< int >(result));
7721 return resultobj;
7722fail:
7723 return NULL;
7724}
7725
7726
7727SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj = 0;
7729 wxDialog *arg1 = (wxDialog *) 0 ;
7730 int arg2 ;
7731 void *argp1 = 0 ;
7732 int res1 = 0 ;
7733 int val2 ;
7734 int ecode2 = 0 ;
7735 PyObject * obj0 = 0 ;
7736 PyObject * obj1 = 0 ;
7737 char * kwnames[] = {
7738 (char *) "self",(char *) "retCode", NULL
7739 };
7740
7741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7743 if (!SWIG_IsOK(res1)) {
7744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7745 }
7746 arg1 = reinterpret_cast< wxDialog * >(argp1);
7747 ecode2 = SWIG_AsVal_int(obj1, &val2);
7748 if (!SWIG_IsOK(ecode2)) {
7749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7750 }
7751 arg2 = static_cast< int >(val2);
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 (arg1)->EndModal(arg2);
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 resultobj = SWIG_Py_Void();
7759 return resultobj;
7760fail:
7761 return NULL;
7762}
7763
7764
7765SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj = 0;
7767 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7768 SwigValueWrapper<wxVisualAttributes > result;
7769 int val1 ;
7770 int ecode1 = 0 ;
7771 PyObject * obj0 = 0 ;
7772 char * kwnames[] = {
7773 (char *) "variant", NULL
7774 };
7775
7776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7777 if (obj0) {
7778 ecode1 = SWIG_AsVal_int(obj0, &val1);
7779 if (!SWIG_IsOK(ecode1)) {
7780 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7781 }
7782 arg1 = static_cast< wxWindowVariant >(val1);
7783 }
7784 {
7785 if (!wxPyCheckForApp()) SWIG_fail;
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 result = wxDialog::GetClassDefaultAttributes(arg1);
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7792 return resultobj;
7793fail:
7794 return NULL;
7795}
7796
7797
7798SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7799 PyObject *obj;
7800 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7801 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7802 return SWIG_Py_Void();
7803}
7804
7805SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7806 return SWIG_Python_InitShadowInstance(args);
7807}
7808
7809SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7810 PyObject *resultobj = 0;
7811 wxWindow *arg1 = (wxWindow *) 0 ;
7812 int arg2 = (int) (int)-1 ;
7813 wxString const &arg3_defvalue = wxPyEmptyString ;
7814 wxString *arg3 = (wxString *) &arg3_defvalue ;
7815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7817 wxSize const &arg5_defvalue = wxDefaultSize ;
7818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7819 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7820 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7821 wxString *arg7 = (wxString *) &arg7_defvalue ;
7822 wxMiniFrame *result = 0 ;
7823 void *argp1 = 0 ;
7824 int res1 = 0 ;
7825 int val2 ;
7826 int ecode2 = 0 ;
7827 bool temp3 = false ;
7828 wxPoint temp4 ;
7829 wxSize temp5 ;
7830 long val6 ;
7831 int ecode6 = 0 ;
7832 bool temp7 = false ;
7833 PyObject * obj0 = 0 ;
7834 PyObject * obj1 = 0 ;
7835 PyObject * obj2 = 0 ;
7836 PyObject * obj3 = 0 ;
7837 PyObject * obj4 = 0 ;
7838 PyObject * obj5 = 0 ;
7839 PyObject * obj6 = 0 ;
7840 char * kwnames[] = {
7841 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7842 };
7843
7844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7846 if (!SWIG_IsOK(res1)) {
7847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7848 }
7849 arg1 = reinterpret_cast< wxWindow * >(argp1);
7850 if (obj1) {
7851 ecode2 = SWIG_AsVal_int(obj1, &val2);
7852 if (!SWIG_IsOK(ecode2)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7854 }
7855 arg2 = static_cast< int >(val2);
7856 }
7857 if (obj2) {
d14a1e28 7858 {
0085ce49
RD
7859 arg3 = wxString_in_helper(obj2);
7860 if (arg3 == NULL) SWIG_fail;
7861 temp3 = true;
d14a1e28 7862 }
0085ce49
RD
7863 }
7864 if (obj3) {
d14a1e28 7865 {
0085ce49
RD
7866 arg4 = &temp4;
7867 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7868 }
0085ce49
RD
7869 }
7870 if (obj4) {
d14a1e28 7871 {
0085ce49
RD
7872 arg5 = &temp5;
7873 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7874 }
0085ce49
RD
7875 }
7876 if (obj5) {
7877 ecode6 = SWIG_AsVal_long(obj5, &val6);
7878 if (!SWIG_IsOK(ecode6)) {
7879 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7880 }
7881 arg6 = static_cast< long >(val6);
7882 }
7883 if (obj6) {
d14a1e28 7884 {
0085ce49
RD
7885 arg7 = wxString_in_helper(obj6);
7886 if (arg7 == NULL) SWIG_fail;
7887 temp7 = true;
d14a1e28 7888 }
0085ce49
RD
7889 }
7890 {
7891 if (!wxPyCheckForApp()) SWIG_fail;
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7898 {
7899 if (temp3)
7900 delete arg3;
7901 }
7902 {
7903 if (temp7)
7904 delete arg7;
7905 }
7906 return resultobj;
7907fail:
7908 {
7909 if (temp3)
7910 delete arg3;
7911 }
7912 {
7913 if (temp7)
7914 delete arg7;
7915 }
7916 return NULL;
d14a1e28
RD
7917}
7918
7919
0085ce49
RD
7920SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7921 PyObject *resultobj = 0;
7922 wxMiniFrame *result = 0 ;
7923
7924 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7925 {
7926 if (!wxPyCheckForApp()) SWIG_fail;
7927 PyThreadState* __tstate = wxPyBeginAllowThreads();
7928 result = (wxMiniFrame *)new wxMiniFrame();
7929 wxPyEndAllowThreads(__tstate);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 }
7932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7933 return resultobj;
7934fail:
7935 return NULL;
7936}
7937
7938
7939SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj = 0;
7941 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7942 wxWindow *arg2 = (wxWindow *) 0 ;
7943 int arg3 = (int) (int)-1 ;
7944 wxString const &arg4_defvalue = wxPyEmptyString ;
7945 wxString *arg4 = (wxString *) &arg4_defvalue ;
7946 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7947 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7948 wxSize const &arg6_defvalue = wxDefaultSize ;
7949 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7950 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7951 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7952 wxString *arg8 = (wxString *) &arg8_defvalue ;
7953 bool result;
7954 void *argp1 = 0 ;
7955 int res1 = 0 ;
7956 void *argp2 = 0 ;
7957 int res2 = 0 ;
7958 int val3 ;
7959 int ecode3 = 0 ;
7960 bool temp4 = false ;
7961 wxPoint temp5 ;
7962 wxSize temp6 ;
7963 long val7 ;
7964 int ecode7 = 0 ;
7965 bool temp8 = false ;
7966 PyObject * obj0 = 0 ;
7967 PyObject * obj1 = 0 ;
7968 PyObject * obj2 = 0 ;
7969 PyObject * obj3 = 0 ;
7970 PyObject * obj4 = 0 ;
7971 PyObject * obj5 = 0 ;
7972 PyObject * obj6 = 0 ;
7973 PyObject * obj7 = 0 ;
7974 char * kwnames[] = {
7975 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7976 };
7977
7978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7980 if (!SWIG_IsOK(res1)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7982 }
7983 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7984 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7985 if (!SWIG_IsOK(res2)) {
7986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7987 }
7988 arg2 = reinterpret_cast< wxWindow * >(argp2);
7989 if (obj2) {
7990 ecode3 = SWIG_AsVal_int(obj2, &val3);
7991 if (!SWIG_IsOK(ecode3)) {
7992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7993 }
7994 arg3 = static_cast< int >(val3);
7995 }
7996 if (obj3) {
d14a1e28 7997 {
0085ce49
RD
7998 arg4 = wxString_in_helper(obj3);
7999 if (arg4 == NULL) SWIG_fail;
8000 temp4 = true;
d14a1e28 8001 }
0085ce49
RD
8002 }
8003 if (obj4) {
4f89f6a3 8004 {
0085ce49
RD
8005 arg5 = &temp5;
8006 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 8007 }
0085ce49
RD
8008 }
8009 if (obj5) {
d14a1e28 8010 {
0085ce49
RD
8011 arg6 = &temp6;
8012 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 8013 }
0085ce49
RD
8014 }
8015 if (obj6) {
8016 ecode7 = SWIG_AsVal_long(obj6, &val7);
8017 if (!SWIG_IsOK(ecode7)) {
8018 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8019 }
8020 arg7 = static_cast< long >(val7);
8021 }
8022 if (obj7) {
d14a1e28 8023 {
0085ce49
RD
8024 arg8 = wxString_in_helper(obj7);
8025 if (arg8 == NULL) SWIG_fail;
8026 temp8 = true;
d14a1e28 8027 }
0085ce49
RD
8028 }
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 {
8036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8037 }
8038 {
8039 if (temp4)
8040 delete arg4;
8041 }
8042 {
8043 if (temp8)
8044 delete arg8;
8045 }
8046 return resultobj;
8047fail:
8048 {
8049 if (temp4)
8050 delete arg4;
8051 }
8052 {
8053 if (temp8)
8054 delete arg8;
8055 }
8056 return NULL;
8057}
8058
8059
8060SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8061 PyObject *obj;
8062 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8063 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8064 return SWIG_Py_Void();
8065}
8066
8067SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8068 return SWIG_Python_InitShadowInstance(args);
8069}
8070
8071SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8072 PyObject *resultobj = 0;
8073 wxBitmap *arg1 = 0 ;
8074 wxWindow *arg2 = (wxWindow *) 0 ;
8075 int arg3 ;
8076 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8077 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8078 wxSize const &arg5_defvalue = wxDefaultSize ;
8079 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8080 long arg6 = (long) wxNO_BORDER ;
8081 wxSplashScreenWindow *result = 0 ;
8082 void *argp1 = 0 ;
8083 int res1 = 0 ;
8084 void *argp2 = 0 ;
8085 int res2 = 0 ;
8086 int val3 ;
8087 int ecode3 = 0 ;
8088 wxPoint temp4 ;
8089 wxSize temp5 ;
8090 long val6 ;
8091 int ecode6 = 0 ;
8092 PyObject * obj0 = 0 ;
8093 PyObject * obj1 = 0 ;
8094 PyObject * obj2 = 0 ;
8095 PyObject * obj3 = 0 ;
8096 PyObject * obj4 = 0 ;
8097 PyObject * obj5 = 0 ;
8098 char * kwnames[] = {
8099 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8100 };
8101
8102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8103 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8104 if (!SWIG_IsOK(res1)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8106 }
8107 if (!argp1) {
8108 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8109 }
8110 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8111 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8112 if (!SWIG_IsOK(res2)) {
8113 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8114 }
8115 arg2 = reinterpret_cast< wxWindow * >(argp2);
8116 ecode3 = SWIG_AsVal_int(obj2, &val3);
8117 if (!SWIG_IsOK(ecode3)) {
8118 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8119 }
8120 arg3 = static_cast< int >(val3);
8121 if (obj3) {
d14a1e28 8122 {
0085ce49
RD
8123 arg4 = &temp4;
8124 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 8125 }
0085ce49
RD
8126 }
8127 if (obj4) {
d14a1e28 8128 {
0085ce49
RD
8129 arg5 = &temp5;
8130 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 8131 }
0085ce49
RD
8132 }
8133 if (obj5) {
8134 ecode6 = SWIG_AsVal_long(obj5, &val6);
8135 if (!SWIG_IsOK(ecode6)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8137 }
8138 arg6 = static_cast< long >(val6);
8139 }
8140 {
8141 if (!wxPyCheckForApp()) SWIG_fail;
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8144 wxPyEndAllowThreads(__tstate);
8145 if (PyErr_Occurred()) SWIG_fail;
8146 }
8147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8148 return resultobj;
8149fail:
8150 return NULL;
8151}
8152
8153
8154SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8155 PyObject *resultobj = 0;
8156 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8157 wxBitmap *arg2 = 0 ;
8158 void *argp1 = 0 ;
8159 int res1 = 0 ;
8160 void *argp2 = 0 ;
8161 int res2 = 0 ;
8162 PyObject * obj0 = 0 ;
8163 PyObject * obj1 = 0 ;
8164 char * kwnames[] = {
8165 (char *) "self",(char *) "bitmap", NULL
8166 };
8167
8168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8170 if (!SWIG_IsOK(res1)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8172 }
8173 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8174 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8175 if (!SWIG_IsOK(res2)) {
8176 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8177 }
8178 if (!argp2) {
8179 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8180 }
8181 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8185 wxPyEndAllowThreads(__tstate);
8186 if (PyErr_Occurred()) SWIG_fail;
8187 }
8188 resultobj = SWIG_Py_Void();
8189 return resultobj;
8190fail:
8191 return NULL;
d14a1e28
RD
8192}
8193
8194
0085ce49
RD
8195SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8196 PyObject *resultobj = 0;
8197 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8198 wxBitmap *result = 0 ;
8199 void *argp1 = 0 ;
8200 int res1 = 0 ;
8201 PyObject *swig_obj[1] ;
8202
8203 if (!args) SWIG_fail;
8204 swig_obj[0] = args;
8205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8206 if (!SWIG_IsOK(res1)) {
8207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8208 }
8209 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 {
8213 wxBitmap &_result_ref = (arg1)->GetBitmap();
8214 result = (wxBitmap *) &_result_ref;
8215 }
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 {
8220 wxBitmap* resultptr = new wxBitmap(*result);
8221 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8222 }
8223 return resultobj;
8224fail:
8225 return NULL;
8226}
8227
8228
8229SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8230 PyObject *obj;
8231 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8232 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8233 return SWIG_Py_Void();
8234}
8235
8236SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8237 return SWIG_Python_InitShadowInstance(args);
8238}
8239
8240SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj = 0;
8242 wxBitmap *arg1 = 0 ;
8243 long arg2 ;
8244 int arg3 ;
8245 wxWindow *arg4 = (wxWindow *) 0 ;
8246 int arg5 = (int) -1 ;
8247 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8248 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8249 wxSize const &arg7_defvalue = wxDefaultSize ;
8250 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8251 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8252 wxSplashScreen *result = 0 ;
8253 void *argp1 = 0 ;
8254 int res1 = 0 ;
8255 long val2 ;
8256 int ecode2 = 0 ;
8257 int val3 ;
8258 int ecode3 = 0 ;
8259 void *argp4 = 0 ;
8260 int res4 = 0 ;
8261 int val5 ;
8262 int ecode5 = 0 ;
8263 wxPoint temp6 ;
8264 wxSize temp7 ;
8265 long val8 ;
8266 int ecode8 = 0 ;
8267 PyObject * obj0 = 0 ;
8268 PyObject * obj1 = 0 ;
8269 PyObject * obj2 = 0 ;
8270 PyObject * obj3 = 0 ;
8271 PyObject * obj4 = 0 ;
8272 PyObject * obj5 = 0 ;
8273 PyObject * obj6 = 0 ;
8274 PyObject * obj7 = 0 ;
8275 char * kwnames[] = {
8276 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8277 };
8278
8279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8280 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8281 if (!SWIG_IsOK(res1)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8283 }
8284 if (!argp1) {
8285 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8286 }
8287 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8288 ecode2 = SWIG_AsVal_long(obj1, &val2);
8289 if (!SWIG_IsOK(ecode2)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8291 }
8292 arg2 = static_cast< long >(val2);
8293 ecode3 = SWIG_AsVal_int(obj2, &val3);
8294 if (!SWIG_IsOK(ecode3)) {
8295 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8296 }
8297 arg3 = static_cast< int >(val3);
8298 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8299 if (!SWIG_IsOK(res4)) {
8300 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8301 }
8302 arg4 = reinterpret_cast< wxWindow * >(argp4);
8303 if (obj4) {
8304 ecode5 = SWIG_AsVal_int(obj4, &val5);
8305 if (!SWIG_IsOK(ecode5)) {
8306 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8307 }
8308 arg5 = static_cast< int >(val5);
8309 }
8310 if (obj5) {
d14a1e28 8311 {
0085ce49
RD
8312 arg6 = &temp6;
8313 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 8314 }
0085ce49
RD
8315 }
8316 if (obj6) {
d14a1e28 8317 {
0085ce49
RD
8318 arg7 = &temp7;
8319 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d14a1e28 8320 }
0085ce49
RD
8321 }
8322 if (obj7) {
8323 ecode8 = SWIG_AsVal_long(obj7, &val8);
8324 if (!SWIG_IsOK(ecode8)) {
8325 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8326 }
8327 arg8 = static_cast< long >(val8);
8328 }
8329 {
8330 if (!wxPyCheckForApp()) SWIG_fail;
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8337 return resultobj;
8338fail:
8339 return NULL;
d14a1e28
RD
8340}
8341
8342
0085ce49
RD
8343SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8344 PyObject *resultobj = 0;
8345 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8346 long result;
8347 void *argp1 = 0 ;
8348 int res1 = 0 ;
8349 PyObject *swig_obj[1] ;
8350
8351 if (!args) SWIG_fail;
8352 swig_obj[0] = args;
8353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8354 if (!SWIG_IsOK(res1)) {
8355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8356 }
8357 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8361 wxPyEndAllowThreads(__tstate);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 }
8364 resultobj = SWIG_From_long(static_cast< long >(result));
8365 return resultobj;
8366fail:
8367 return NULL;
d14a1e28
RD
8368}
8369
8370
0085ce49
RD
8371SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8372 PyObject *resultobj = 0;
8373 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8374 wxSplashScreenWindow *result = 0 ;
8375 void *argp1 = 0 ;
8376 int res1 = 0 ;
8377 PyObject *swig_obj[1] ;
8378
8379 if (!args) SWIG_fail;
8380 swig_obj[0] = args;
8381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8382 if (!SWIG_IsOK(res1)) {
8383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8384 }
8385 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8393 return resultobj;
8394fail:
8395 return NULL;
d14a1e28
RD
8396}
8397
8398
0085ce49
RD
8399SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8400 PyObject *resultobj = 0;
8401 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8402 int result;
8403 void *argp1 = 0 ;
8404 int res1 = 0 ;
8405 PyObject *swig_obj[1] ;
8406
8407 if (!args) SWIG_fail;
8408 swig_obj[0] = args;
8409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8410 if (!SWIG_IsOK(res1)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8412 }
8413 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8414 {
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = SWIG_From_int(static_cast< int >(result));
8421 return resultobj;
8422fail:
8423 return NULL;
8424}
8425
8426
8427SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8428 PyObject *obj;
8429 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8430 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8431 return SWIG_Py_Void();
8432}
8433
8434SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8435 return SWIG_Python_InitShadowInstance(args);
8436}
8437
8438SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8439 PyObject *resultobj = 0;
8440 wxWindow *arg1 = (wxWindow *) 0 ;
8441 int arg2 = (int) -1 ;
8442 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8443 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8444 wxString *arg4 = (wxString *) &arg4_defvalue ;
8445 wxStatusBar *result = 0 ;
8446 void *argp1 = 0 ;
8447 int res1 = 0 ;
8448 int val2 ;
8449 int ecode2 = 0 ;
8450 long val3 ;
8451 int ecode3 = 0 ;
8452 bool temp4 = false ;
8453 PyObject * obj0 = 0 ;
8454 PyObject * obj1 = 0 ;
8455 PyObject * obj2 = 0 ;
8456 PyObject * obj3 = 0 ;
8457 char * kwnames[] = {
8458 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8459 };
8460
8461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8463 if (!SWIG_IsOK(res1)) {
8464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8465 }
8466 arg1 = reinterpret_cast< wxWindow * >(argp1);
8467 if (obj1) {
8468 ecode2 = SWIG_AsVal_int(obj1, &val2);
8469 if (!SWIG_IsOK(ecode2)) {
8470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8471 }
8472 arg2 = static_cast< int >(val2);
8473 }
8474 if (obj2) {
8475 ecode3 = SWIG_AsVal_long(obj2, &val3);
8476 if (!SWIG_IsOK(ecode3)) {
8477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8478 }
8479 arg3 = static_cast< long >(val3);
8480 }
8481 if (obj3) {
d14a1e28 8482 {
0085ce49
RD
8483 arg4 = wxString_in_helper(obj3);
8484 if (arg4 == NULL) SWIG_fail;
8485 temp4 = true;
d14a1e28 8486 }
0085ce49
RD
8487 }
8488 {
8489 if (!wxPyCheckForApp()) SWIG_fail;
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8492 wxPyEndAllowThreads(__tstate);
8493 if (PyErr_Occurred()) SWIG_fail;
8494 }
8495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8496 {
8497 if (temp4)
8498 delete arg4;
8499 }
8500 return resultobj;
8501fail:
8502 {
8503 if (temp4)
8504 delete arg4;
8505 }
8506 return NULL;
d14a1e28
RD
8507}
8508
8509
0085ce49
RD
8510SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8511 PyObject *resultobj = 0;
8512 wxStatusBar *result = 0 ;
8513
8514 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8515 {
8516 if (!wxPyCheckForApp()) SWIG_fail;
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 result = (wxStatusBar *)new wxStatusBar();
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8523 return resultobj;
8524fail:
8525 return NULL;
8526}
8527
8528
8529SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8530 PyObject *resultobj = 0;
8531 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8532 wxWindow *arg2 = (wxWindow *) 0 ;
8533 int arg3 = (int) -1 ;
8534 long arg4 = (long) wxST_SIZEGRIP ;
8535 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8536 wxString *arg5 = (wxString *) &arg5_defvalue ;
8537 bool result;
8538 void *argp1 = 0 ;
8539 int res1 = 0 ;
8540 void *argp2 = 0 ;
8541 int res2 = 0 ;
8542 int val3 ;
8543 int ecode3 = 0 ;
8544 long val4 ;
8545 int ecode4 = 0 ;
8546 bool temp5 = false ;
8547 PyObject * obj0 = 0 ;
8548 PyObject * obj1 = 0 ;
8549 PyObject * obj2 = 0 ;
8550 PyObject * obj3 = 0 ;
8551 PyObject * obj4 = 0 ;
8552 char * kwnames[] = {
8553 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8554 };
8555
8556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8558 if (!SWIG_IsOK(res1)) {
8559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8560 }
8561 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8562 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8563 if (!SWIG_IsOK(res2)) {
8564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8565 }
8566 arg2 = reinterpret_cast< wxWindow * >(argp2);
8567 if (obj2) {
8568 ecode3 = SWIG_AsVal_int(obj2, &val3);
8569 if (!SWIG_IsOK(ecode3)) {
8570 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8571 }
8572 arg3 = static_cast< int >(val3);
8573 }
8574 if (obj3) {
8575 ecode4 = SWIG_AsVal_long(obj3, &val4);
8576 if (!SWIG_IsOK(ecode4)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8578 }
8579 arg4 = static_cast< long >(val4);
8580 }
8581 if (obj4) {
d14a1e28 8582 {
0085ce49
RD
8583 arg5 = wxString_in_helper(obj4);
8584 if (arg5 == NULL) SWIG_fail;
8585 temp5 = true;
d14a1e28 8586 }
0085ce49
RD
8587 }
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8591 wxPyEndAllowThreads(__tstate);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 {
8595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8596 }
8597 {
8598 if (temp5)
8599 delete arg5;
8600 }
8601 return resultobj;
8602fail:
8603 {
8604 if (temp5)
8605 delete arg5;
8606 }
8607 return NULL;
8608}
8609
8610
8611SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8612 PyObject *resultobj = 0;
8613 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8614 int arg2 = (int) 1 ;
8615 void *argp1 = 0 ;
8616 int res1 = 0 ;
8617 int val2 ;
8618 int ecode2 = 0 ;
8619 PyObject * obj0 = 0 ;
8620 PyObject * obj1 = 0 ;
8621 char * kwnames[] = {
8622 (char *) "self",(char *) "number", NULL
8623 };
8624
8625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8627 if (!SWIG_IsOK(res1)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8629 }
8630 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8631 if (obj1) {
8632 ecode2 = SWIG_AsVal_int(obj1, &val2);
8633 if (!SWIG_IsOK(ecode2)) {
8634 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8635 }
8636 arg2 = static_cast< int >(val2);
8637 }
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 (arg1)->SetFieldsCount(arg2);
8641 wxPyEndAllowThreads(__tstate);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 }
8644 resultobj = SWIG_Py_Void();
8645 return resultobj;
8646fail:
8647 return NULL;
d14a1e28
RD
8648}
8649
8650
0085ce49
RD
8651SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8652 PyObject *resultobj = 0;
8653 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8654 int result;
8655 void *argp1 = 0 ;
8656 int res1 = 0 ;
8657 PyObject *swig_obj[1] ;
8658
8659 if (!args) SWIG_fail;
8660 swig_obj[0] = args;
8661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8662 if (!SWIG_IsOK(res1)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8664 }
8665 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8666 {
8667 PyThreadState* __tstate = wxPyBeginAllowThreads();
8668 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 resultobj = SWIG_From_int(static_cast< int >(result));
8673 return resultobj;
8674fail:
8675 return NULL;
8676}
8677
8678
8679SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj = 0;
8681 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8682 wxString *arg2 = 0 ;
8683 int arg3 = (int) 0 ;
8684 void *argp1 = 0 ;
8685 int res1 = 0 ;
8686 bool temp2 = false ;
8687 int val3 ;
8688 int ecode3 = 0 ;
8689 PyObject * obj0 = 0 ;
8690 PyObject * obj1 = 0 ;
8691 PyObject * obj2 = 0 ;
8692 char * kwnames[] = {
8693 (char *) "self",(char *) "text",(char *) "number", NULL
8694 };
8695
8696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8698 if (!SWIG_IsOK(res1)) {
8699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8700 }
8701 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8702 {
8703 arg2 = wxString_in_helper(obj1);
8704 if (arg2 == NULL) SWIG_fail;
8705 temp2 = true;
8706 }
8707 if (obj2) {
8708 ecode3 = SWIG_AsVal_int(obj2, &val3);
8709 if (!SWIG_IsOK(ecode3)) {
8710 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8711 }
8712 arg3 = static_cast< int >(val3);
8713 }
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 resultobj = SWIG_Py_Void();
8721 {
8722 if (temp2)
8723 delete arg2;
8724 }
8725 return resultobj;
8726fail:
8727 {
8728 if (temp2)
8729 delete arg2;
8730 }
8731 return NULL;
8732}
8733
8734
8735SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8736 PyObject *resultobj = 0;
8737 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8738 int arg2 = (int) 0 ;
8739 wxString result;
8740 void *argp1 = 0 ;
8741 int res1 = 0 ;
8742 int val2 ;
8743 int ecode2 = 0 ;
8744 PyObject * obj0 = 0 ;
8745 PyObject * obj1 = 0 ;
8746 char * kwnames[] = {
8747 (char *) "self",(char *) "number", NULL
8748 };
8749
8750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8752 if (!SWIG_IsOK(res1)) {
8753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8754 }
8755 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8756 if (obj1) {
8757 ecode2 = SWIG_AsVal_int(obj1, &val2);
8758 if (!SWIG_IsOK(ecode2)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8760 }
8761 arg2 = static_cast< int >(val2);
8762 }
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 {
8770#if wxUSE_UNICODE
8771 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8772#else
8773 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8774#endif
8775 }
8776 return resultobj;
8777fail:
8778 return NULL;
8779}
8780
8781
8782SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj = 0;
8784 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8785 wxString *arg2 = 0 ;
8786 int arg3 = (int) 0 ;
8787 void *argp1 = 0 ;
8788 int res1 = 0 ;
8789 bool temp2 = false ;
8790 int val3 ;
8791 int ecode3 = 0 ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 PyObject * obj2 = 0 ;
8795 char * kwnames[] = {
8796 (char *) "self",(char *) "text",(char *) "number", NULL
8797 };
8798
8799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8801 if (!SWIG_IsOK(res1)) {
8802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8803 }
8804 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8805 {
8806 arg2 = wxString_in_helper(obj1);
8807 if (arg2 == NULL) SWIG_fail;
8808 temp2 = true;
8809 }
8810 if (obj2) {
8811 ecode3 = SWIG_AsVal_int(obj2, &val3);
8812 if (!SWIG_IsOK(ecode3)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8814 }
8815 arg3 = static_cast< int >(val3);
8816 }
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
8819 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 resultobj = SWIG_Py_Void();
8824 {
8825 if (temp2)
8826 delete arg2;
8827 }
8828 return resultobj;
8829fail:
8830 {
8831 if (temp2)
8832 delete arg2;
8833 }
8834 return NULL;
8835}
8836
8837
8838SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj = 0;
8840 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8841 int arg2 = (int) 0 ;
8842 void *argp1 = 0 ;
8843 int res1 = 0 ;
8844 int val2 ;
8845 int ecode2 = 0 ;
8846 PyObject * obj0 = 0 ;
8847 PyObject * obj1 = 0 ;
8848 char * kwnames[] = {
8849 (char *) "self",(char *) "number", NULL
8850 };
8851
8852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8854 if (!SWIG_IsOK(res1)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8856 }
8857 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8858 if (obj1) {
8859 ecode2 = SWIG_AsVal_int(obj1, &val2);
8860 if (!SWIG_IsOK(ecode2)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8862 }
8863 arg2 = static_cast< int >(val2);
8864 }
8865 {
8866 PyThreadState* __tstate = wxPyBeginAllowThreads();
8867 (arg1)->PopStatusText(arg2);
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 resultobj = SWIG_Py_Void();
8872 return resultobj;
8873fail:
8874 return NULL;
8875}
8876
8877
8878SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8879 PyObject *resultobj = 0;
8880 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8881 int arg2 ;
8882 int *arg3 = (int *) 0 ;
8883 void *argp1 = 0 ;
8884 int res1 = 0 ;
8885 PyObject * obj0 = 0 ;
8886 PyObject * obj1 = 0 ;
8887 char * kwnames[] = {
8888 (char *) "self",(char *) "widths", NULL
8889 };
8890
8891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8893 if (!SWIG_IsOK(res1)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8895 }
8896 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8897 {
8898 arg2 = PyList_Size(obj1);
8899 arg3 = int_LIST_helper(obj1);
8900 if (arg3 == NULL) SWIG_fail;
8901 }
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 resultobj = SWIG_Py_Void();
8909 {
8910 if (arg3) delete [] arg3;
8911 }
8912 return resultobj;
8913fail:
8914 {
8915 if (arg3) delete [] arg3;
8916 }
8917 return NULL;
d14a1e28
RD
8918}
8919
8920
0085ce49
RD
8921SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8922 PyObject *resultobj = 0;
8923 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8924 int arg2 ;
8925 int *arg3 = (int *) 0 ;
8926 void *argp1 = 0 ;
8927 int res1 = 0 ;
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 char * kwnames[] = {
8931 (char *) "self",(char *) "styles", NULL
8932 };
8933
8934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8936 if (!SWIG_IsOK(res1)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8938 }
8939 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8940 {
8941 arg2 = PyList_Size(obj1);
8942 arg3 = int_LIST_helper(obj1);
8943 if (arg3 == NULL) SWIG_fail;
8944 }
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
8951 resultobj = SWIG_Py_Void();
8952 {
8953 if (arg3) delete [] arg3;
8954 }
8955 return resultobj;
8956fail:
8957 {
8958 if (arg3) delete [] arg3;
8959 }
8960 return NULL;
8961}
8962
8963
8964SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8965 PyObject *resultobj = 0;
8966 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8967 int arg2 ;
8968 wxRect result;
8969 void *argp1 = 0 ;
8970 int res1 = 0 ;
8971 int val2 ;
8972 int ecode2 = 0 ;
8973 PyObject * obj0 = 0 ;
8974 PyObject * obj1 = 0 ;
8975 char * kwnames[] = {
8976 (char *) "self",(char *) "i", NULL
8977 };
8978
8979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8981 if (!SWIG_IsOK(res1)) {
8982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8983 }
8984 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8985 ecode2 = SWIG_AsVal_int(obj1, &val2);
8986 if (!SWIG_IsOK(ecode2)) {
8987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8988 }
8989 arg2 = static_cast< int >(val2);
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 result = wxStatusBar_GetFieldRect(arg1,arg2);
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8997 return resultobj;
8998fail:
8999 return NULL;
9000}
9001
9002
9003SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9004 PyObject *resultobj = 0;
9005 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9006 int arg2 ;
9007 void *argp1 = 0 ;
9008 int res1 = 0 ;
9009 int val2 ;
9010 int ecode2 = 0 ;
9011 PyObject * obj0 = 0 ;
9012 PyObject * obj1 = 0 ;
9013 char * kwnames[] = {
9014 (char *) "self",(char *) "height", NULL
9015 };
9016
9017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9019 if (!SWIG_IsOK(res1)) {
9020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9021 }
9022 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9023 ecode2 = SWIG_AsVal_int(obj1, &val2);
9024 if (!SWIG_IsOK(ecode2)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9026 }
9027 arg2 = static_cast< int >(val2);
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 (arg1)->SetMinHeight(arg2);
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 resultobj = SWIG_Py_Void();
9035 return resultobj;
9036fail:
9037 return NULL;
d14a1e28
RD
9038}
9039
9040
0085ce49
RD
9041SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9042 PyObject *resultobj = 0;
9043 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9044 int result;
9045 void *argp1 = 0 ;
9046 int res1 = 0 ;
9047 PyObject *swig_obj[1] ;
9048
9049 if (!args) SWIG_fail;
9050 swig_obj[0] = args;
9051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9052 if (!SWIG_IsOK(res1)) {
9053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9054 }
9055 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 resultobj = SWIG_From_int(static_cast< int >(result));
9063 return resultobj;
9064fail:
9065 return NULL;
d14a1e28
RD
9066}
9067
9068
0085ce49
RD
9069SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9070 PyObject *resultobj = 0;
9071 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9072 int result;
9073 void *argp1 = 0 ;
9074 int res1 = 0 ;
9075 PyObject *swig_obj[1] ;
9076
9077 if (!args) SWIG_fail;
9078 swig_obj[0] = args;
9079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9080 if (!SWIG_IsOK(res1)) {
9081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9082 }
9083 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 resultobj = SWIG_From_int(static_cast< int >(result));
9091 return resultobj;
9092fail:
9093 return NULL;
9094}
9095
9096
9097SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9098 PyObject *resultobj = 0;
9099 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9100 SwigValueWrapper<wxVisualAttributes > result;
9101 int val1 ;
9102 int ecode1 = 0 ;
9103 PyObject * obj0 = 0 ;
9104 char * kwnames[] = {
9105 (char *) "variant", NULL
9106 };
9107
9108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9109 if (obj0) {
9110 ecode1 = SWIG_AsVal_int(obj0, &val1);
9111 if (!SWIG_IsOK(ecode1)) {
9112 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9113 }
9114 arg1 = static_cast< wxWindowVariant >(val1);
9115 }
9116 {
9117 if (!wxPyCheckForApp()) SWIG_fail;
9118 PyThreadState* __tstate = wxPyBeginAllowThreads();
9119 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9120 wxPyEndAllowThreads(__tstate);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 }
9123 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9124 return resultobj;
9125fail:
9126 return NULL;
d14a1e28
RD
9127}
9128
9129
0085ce49
RD
9130SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9131 PyObject *obj;
9132 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9133 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9134 return SWIG_Py_Void();
d14a1e28
RD
9135}
9136
0085ce49
RD
9137SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9138 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
9139}
9140
0085ce49
RD
9141SWIGINTERN int SplitterNameStr_set(PyObject *) {
9142 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9143 return 1;
d14a1e28
RD
9144}
9145
9146
0085ce49
RD
9147SWIGINTERN PyObject *SplitterNameStr_get(void) {
9148 PyObject *pyobj = 0;
9149
9150 {
9151#if wxUSE_UNICODE
9152 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9153#else
9154 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9155#endif
9156 }
9157 return pyobj;
9158}
9159
9160
9161SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9162 PyObject *resultobj = 0;
9163 wxWindow *arg1 = (wxWindow *) 0 ;
9164 int arg2 = (int) -1 ;
9165 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9166 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9167 wxSize const &arg4_defvalue = wxDefaultSize ;
9168 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9169 long arg5 = (long) wxSP_3D ;
9170 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9171 wxString *arg6 = (wxString *) &arg6_defvalue ;
9172 wxSplitterWindow *result = 0 ;
9173 void *argp1 = 0 ;
9174 int res1 = 0 ;
9175 int val2 ;
9176 int ecode2 = 0 ;
9177 wxPoint temp3 ;
9178 wxSize temp4 ;
9179 long val5 ;
9180 int ecode5 = 0 ;
9181 bool temp6 = false ;
9182 PyObject * obj0 = 0 ;
9183 PyObject * obj1 = 0 ;
9184 PyObject * obj2 = 0 ;
9185 PyObject * obj3 = 0 ;
9186 PyObject * obj4 = 0 ;
9187 PyObject * obj5 = 0 ;
9188 char * kwnames[] = {
9189 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9190 };
9191
9192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9194 if (!SWIG_IsOK(res1)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9196 }
9197 arg1 = reinterpret_cast< wxWindow * >(argp1);
9198 if (obj1) {
9199 ecode2 = SWIG_AsVal_int(obj1, &val2);
9200 if (!SWIG_IsOK(ecode2)) {
9201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9202 }
9203 arg2 = static_cast< int >(val2);
9204 }
9205 if (obj2) {
093d3ff1 9206 {
0085ce49
RD
9207 arg3 = &temp3;
9208 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 9209 }
0085ce49
RD
9210 }
9211 if (obj3) {
d14a1e28 9212 {
0085ce49
RD
9213 arg4 = &temp4;
9214 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9215 }
0085ce49
RD
9216 }
9217 if (obj4) {
9218 ecode5 = SWIG_AsVal_long(obj4, &val5);
9219 if (!SWIG_IsOK(ecode5)) {
9220 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9221 }
9222 arg5 = static_cast< long >(val5);
9223 }
9224 if (obj5) {
093d3ff1 9225 {
0085ce49
RD
9226 arg6 = wxString_in_helper(obj5);
9227 if (arg6 == NULL) SWIG_fail;
9228 temp6 = true;
093d3ff1 9229 }
0085ce49
RD
9230 }
9231 {
9232 if (!wxPyCheckForApp()) SWIG_fail;
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9239 {
9240 if (temp6)
9241 delete arg6;
9242 }
9243 return resultobj;
9244fail:
9245 {
9246 if (temp6)
9247 delete arg6;
9248 }
9249 return NULL;
d14a1e28
RD
9250}
9251
9252
0085ce49
RD
9253SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9254 PyObject *resultobj = 0;
9255 wxSplitterWindow *result = 0 ;
9256
9257 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9258 {
9259 if (!wxPyCheckForApp()) SWIG_fail;
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 result = (wxSplitterWindow *)new wxSplitterWindow();
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9266 return resultobj;
9267fail:
9268 return NULL;
9269}
9270
9271
9272SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj = 0;
9274 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9275 wxWindow *arg2 = (wxWindow *) 0 ;
9276 int arg3 = (int) -1 ;
9277 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9278 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9279 wxSize const &arg5_defvalue = wxDefaultSize ;
9280 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9281 long arg6 = (long) wxSP_3D ;
9282 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9283 wxString *arg7 = (wxString *) &arg7_defvalue ;
9284 bool result;
9285 void *argp1 = 0 ;
9286 int res1 = 0 ;
9287 void *argp2 = 0 ;
9288 int res2 = 0 ;
9289 int val3 ;
9290 int ecode3 = 0 ;
9291 wxPoint temp4 ;
9292 wxSize temp5 ;
9293 long val6 ;
9294 int ecode6 = 0 ;
9295 bool temp7 = false ;
9296 PyObject * obj0 = 0 ;
9297 PyObject * obj1 = 0 ;
9298 PyObject * obj2 = 0 ;
9299 PyObject * obj3 = 0 ;
9300 PyObject * obj4 = 0 ;
9301 PyObject * obj5 = 0 ;
9302 PyObject * obj6 = 0 ;
9303 char * kwnames[] = {
9304 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9305 };
9306
9307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9309 if (!SWIG_IsOK(res1)) {
9310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9311 }
9312 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9313 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9314 if (!SWIG_IsOK(res2)) {
9315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9316 }
9317 arg2 = reinterpret_cast< wxWindow * >(argp2);
9318 if (obj2) {
9319 ecode3 = SWIG_AsVal_int(obj2, &val3);
9320 if (!SWIG_IsOK(ecode3)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9322 }
9323 arg3 = static_cast< int >(val3);
9324 }
9325 if (obj3) {
d14a1e28 9326 {
0085ce49
RD
9327 arg4 = &temp4;
9328 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9329 }
0085ce49
RD
9330 }
9331 if (obj4) {
d14a1e28 9332 {
0085ce49
RD
9333 arg5 = &temp5;
9334 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 9335 }
0085ce49
RD
9336 }
9337 if (obj5) {
9338 ecode6 = SWIG_AsVal_long(obj5, &val6);
9339 if (!SWIG_IsOK(ecode6)) {
9340 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9341 }
9342 arg6 = static_cast< long >(val6);
9343 }
9344 if (obj6) {
d14a1e28 9345 {
0085ce49
RD
9346 arg7 = wxString_in_helper(obj6);
9347 if (arg7 == NULL) SWIG_fail;
9348 temp7 = true;
d14a1e28 9349 }
0085ce49
RD
9350 }
9351 {
9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
9353 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 {
9358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9359 }
9360 {
9361 if (temp7)
9362 delete arg7;
9363 }
9364 return resultobj;
9365fail:
9366 {
9367 if (temp7)
9368 delete arg7;
9369 }
9370 return NULL;
d14a1e28
RD
9371}
9372
9373
0085ce49
RD
9374SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9375 PyObject *resultobj = 0;
9376 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9377 wxWindow *result = 0 ;
9378 void *argp1 = 0 ;
9379 int res1 = 0 ;
9380 PyObject *swig_obj[1] ;
9381
9382 if (!args) SWIG_fail;
9383 swig_obj[0] = args;
9384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9385 if (!SWIG_IsOK(res1)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9387 }
9388 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9389 {
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 {
9396 resultobj = wxPyMake_wxObject(result, 0);
9397 }
9398 return resultobj;
9399fail:
9400 return NULL;
d14a1e28
RD
9401}
9402
9403
0085ce49
RD
9404SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9405 PyObject *resultobj = 0;
9406 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9407 wxWindow *result = 0 ;
9408 void *argp1 = 0 ;
9409 int res1 = 0 ;
9410 PyObject *swig_obj[1] ;
9411
9412 if (!args) SWIG_fail;
9413 swig_obj[0] = args;
9414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9415 if (!SWIG_IsOK(res1)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9417 }
9418 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 {
9426 resultobj = wxPyMake_wxObject(result, 0);
9427 }
9428 return resultobj;
9429fail:
9430 return NULL;
9431}
9432
9433
9434SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj = 0;
9436 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9437 int arg2 ;
9438 void *argp1 = 0 ;
9439 int res1 = 0 ;
9440 int val2 ;
9441 int ecode2 = 0 ;
9442 PyObject * obj0 = 0 ;
9443 PyObject * obj1 = 0 ;
9444 char * kwnames[] = {
9445 (char *) "self",(char *) "mode", NULL
9446 };
9447
9448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9450 if (!SWIG_IsOK(res1)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9452 }
9453 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9454 ecode2 = SWIG_AsVal_int(obj1, &val2);
9455 if (!SWIG_IsOK(ecode2)) {
9456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9457 }
9458 arg2 = static_cast< int >(val2);
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 (arg1)->SetSplitMode(arg2);
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 resultobj = SWIG_Py_Void();
9466 return resultobj;
9467fail:
9468 return NULL;
d14a1e28
RD
9469}
9470
9471
0085ce49
RD
9472SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9473 PyObject *resultobj = 0;
9474 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9475 wxSplitMode result;
9476 void *argp1 = 0 ;
9477 int res1 = 0 ;
9478 PyObject *swig_obj[1] ;
9479
9480 if (!args) SWIG_fail;
9481 swig_obj[0] = args;
9482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9483 if (!SWIG_IsOK(res1)) {
9484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9485 }
9486 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 resultobj = SWIG_From_int(static_cast< int >(result));
9494 return resultobj;
9495fail:
9496 return NULL;
9497}
9498
9499
9500SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj = 0;
9502 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9503 wxWindow *arg2 = (wxWindow *) 0 ;
9504 void *argp1 = 0 ;
9505 int res1 = 0 ;
9506 void *argp2 = 0 ;
9507 int res2 = 0 ;
9508 PyObject * obj0 = 0 ;
9509 PyObject * obj1 = 0 ;
9510 char * kwnames[] = {
9511 (char *) "self",(char *) "window", NULL
9512 };
9513
9514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9516 if (!SWIG_IsOK(res1)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9518 }
9519 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9521 if (!SWIG_IsOK(res2)) {
9522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9523 }
9524 arg2 = reinterpret_cast< wxWindow * >(argp2);
9525 {
9526 PyThreadState* __tstate = wxPyBeginAllowThreads();
9527 (arg1)->Initialize(arg2);
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 resultobj = SWIG_Py_Void();
9532 return resultobj;
9533fail:
9534 return NULL;
9535}
9536
9537
9538SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj = 0;
9540 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9541 wxWindow *arg2 = (wxWindow *) 0 ;
9542 wxWindow *arg3 = (wxWindow *) 0 ;
9543 int arg4 = (int) 0 ;
9544 bool result;
9545 void *argp1 = 0 ;
9546 int res1 = 0 ;
9547 void *argp2 = 0 ;
9548 int res2 = 0 ;
9549 void *argp3 = 0 ;
9550 int res3 = 0 ;
9551 int val4 ;
9552 int ecode4 = 0 ;
9553 PyObject * obj0 = 0 ;
9554 PyObject * obj1 = 0 ;
9555 PyObject * obj2 = 0 ;
9556 PyObject * obj3 = 0 ;
9557 char * kwnames[] = {
9558 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9559 };
9560
9561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9563 if (!SWIG_IsOK(res1)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9565 }
9566 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9567 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9568 if (!SWIG_IsOK(res2)) {
9569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9570 }
9571 arg2 = reinterpret_cast< wxWindow * >(argp2);
9572 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9573 if (!SWIG_IsOK(res3)) {
9574 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9575 }
9576 arg3 = reinterpret_cast< wxWindow * >(argp3);
9577 if (obj3) {
9578 ecode4 = SWIG_AsVal_int(obj3, &val4);
9579 if (!SWIG_IsOK(ecode4)) {
9580 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9581 }
9582 arg4 = static_cast< int >(val4);
9583 }
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
9590 {
9591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9592 }
9593 return resultobj;
9594fail:
9595 return NULL;
9596}
9597
9598
9599SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj = 0;
9601 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9602 wxWindow *arg2 = (wxWindow *) 0 ;
9603 wxWindow *arg3 = (wxWindow *) 0 ;
9604 int arg4 = (int) 0 ;
9605 bool result;
9606 void *argp1 = 0 ;
9607 int res1 = 0 ;
9608 void *argp2 = 0 ;
9609 int res2 = 0 ;
9610 void *argp3 = 0 ;
9611 int res3 = 0 ;
9612 int val4 ;
9613 int ecode4 = 0 ;
9614 PyObject * obj0 = 0 ;
9615 PyObject * obj1 = 0 ;
9616 PyObject * obj2 = 0 ;
9617 PyObject * obj3 = 0 ;
9618 char * kwnames[] = {
9619 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9620 };
9621
9622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9624 if (!SWIG_IsOK(res1)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9626 }
9627 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9628 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9629 if (!SWIG_IsOK(res2)) {
9630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9631 }
9632 arg2 = reinterpret_cast< wxWindow * >(argp2);
9633 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9634 if (!SWIG_IsOK(res3)) {
9635 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9636 }
9637 arg3 = reinterpret_cast< wxWindow * >(argp3);
9638 if (obj3) {
9639 ecode4 = SWIG_AsVal_int(obj3, &val4);
9640 if (!SWIG_IsOK(ecode4)) {
9641 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9642 }
9643 arg4 = static_cast< int >(val4);
9644 }
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 {
9652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9653 }
9654 return resultobj;
9655fail:
9656 return NULL;
9657}
9658
9659
9660SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9661 PyObject *resultobj = 0;
9662 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9663 wxWindow *arg2 = (wxWindow *) NULL ;
9664 bool result;
9665 void *argp1 = 0 ;
9666 int res1 = 0 ;
9667 void *argp2 = 0 ;
9668 int res2 = 0 ;
9669 PyObject * obj0 = 0 ;
9670 PyObject * obj1 = 0 ;
9671 char * kwnames[] = {
9672 (char *) "self",(char *) "toRemove", NULL
9673 };
9674
9675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9677 if (!SWIG_IsOK(res1)) {
9678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9679 }
9680 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9681 if (obj1) {
9682 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9683 if (!SWIG_IsOK(res2)) {
9684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
d14a1e28 9685 }
0085ce49
RD
9686 arg2 = reinterpret_cast< wxWindow * >(argp2);
9687 }
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 result = (bool)(arg1)->Unsplit(arg2);
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 {
9695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9696 }
9697 return resultobj;
9698fail:
9699 return NULL;
9700}
9701
9702
9703SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9704 PyObject *resultobj = 0;
9705 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9706 wxWindow *arg2 = (wxWindow *) 0 ;
9707 wxWindow *arg3 = (wxWindow *) 0 ;
9708 bool result;
9709 void *argp1 = 0 ;
9710 int res1 = 0 ;
9711 void *argp2 = 0 ;
9712 int res2 = 0 ;
9713 void *argp3 = 0 ;
9714 int res3 = 0 ;
9715 PyObject * obj0 = 0 ;
9716 PyObject * obj1 = 0 ;
9717 PyObject * obj2 = 0 ;
9718 char * kwnames[] = {
9719 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9720 };
9721
9722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9724 if (!SWIG_IsOK(res1)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9726 }
9727 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9728 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9729 if (!SWIG_IsOK(res2)) {
9730 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9731 }
9732 arg2 = reinterpret_cast< wxWindow * >(argp2);
9733 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9734 if (!SWIG_IsOK(res3)) {
9735 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9736 }
9737 arg3 = reinterpret_cast< wxWindow * >(argp3);
9738 {
9739 PyThreadState* __tstate = wxPyBeginAllowThreads();
9740 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 {
9745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9746 }
9747 return resultobj;
9748fail:
9749 return NULL;
d14a1e28
RD
9750}
9751
9752
0085ce49
RD
9753SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9754 PyObject *resultobj = 0;
9755 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9756 void *argp1 = 0 ;
9757 int res1 = 0 ;
9758 PyObject *swig_obj[1] ;
9759
9760 if (!args) SWIG_fail;
9761 swig_obj[0] = args;
9762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9763 if (!SWIG_IsOK(res1)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9765 }
9766 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9767 {
9768 PyThreadState* __tstate = wxPyBeginAllowThreads();
9769 (arg1)->UpdateSize();
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 resultobj = SWIG_Py_Void();
9774 return resultobj;
9775fail:
9776 return NULL;
22bfe96c
RD
9777}
9778
9779
0085ce49
RD
9780SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9781 PyObject *resultobj = 0;
9782 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9783 bool result;
9784 void *argp1 = 0 ;
9785 int res1 = 0 ;
9786 PyObject *swig_obj[1] ;
9787
9788 if (!args) SWIG_fail;
9789 swig_obj[0] = args;
9790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9791 if (!SWIG_IsOK(res1)) {
9792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9793 }
9794 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 {
9802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9803 }
9804 return resultobj;
9805fail:
9806 return NULL;
9807}
9808
9809
9810SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9811 PyObject *resultobj = 0;
9812 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9813 int arg2 ;
9814 void *argp1 = 0 ;
9815 int res1 = 0 ;
9816 int val2 ;
9817 int ecode2 = 0 ;
9818 PyObject * obj0 = 0 ;
9819 PyObject * obj1 = 0 ;
9820 char * kwnames[] = {
9821 (char *) "self",(char *) "width", NULL
9822 };
9823
9824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9826 if (!SWIG_IsOK(res1)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9828 }
9829 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9830 ecode2 = SWIG_AsVal_int(obj1, &val2);
9831 if (!SWIG_IsOK(ecode2)) {
9832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9833 }
9834 arg2 = static_cast< int >(val2);
9835 {
9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
9837 (arg1)->SetSashSize(arg2);
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 resultobj = SWIG_Py_Void();
9842 return resultobj;
9843fail:
9844 return NULL;
9845}
9846
9847
9848SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj = 0;
9850 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9851 int arg2 ;
9852 void *argp1 = 0 ;
9853 int res1 = 0 ;
9854 int val2 ;
9855 int ecode2 = 0 ;
9856 PyObject * obj0 = 0 ;
9857 PyObject * obj1 = 0 ;
9858 char * kwnames[] = {
9859 (char *) "self",(char *) "width", NULL
9860 };
9861
9862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9864 if (!SWIG_IsOK(res1)) {
9865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9866 }
9867 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9868 ecode2 = SWIG_AsVal_int(obj1, &val2);
9869 if (!SWIG_IsOK(ecode2)) {
9870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9871 }
9872 arg2 = static_cast< int >(val2);
9873 {
9874 PyThreadState* __tstate = wxPyBeginAllowThreads();
9875 (arg1)->SetBorderSize(arg2);
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 resultobj = SWIG_Py_Void();
9880 return resultobj;
9881fail:
9882 return NULL;
d14a1e28
RD
9883}
9884
9885
0085ce49
RD
9886SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9887 PyObject *resultobj = 0;
9888 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9889 int result;
9890 void *argp1 = 0 ;
9891 int res1 = 0 ;
9892 PyObject *swig_obj[1] ;
9893
9894 if (!args) SWIG_fail;
9895 swig_obj[0] = args;
9896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9897 if (!SWIG_IsOK(res1)) {
9898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9899 }
9900 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 resultobj = SWIG_From_int(static_cast< int >(result));
9908 return resultobj;
9909fail:
9910 return NULL;
d14a1e28
RD
9911}
9912
9913
0085ce49
RD
9914SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9915 PyObject *resultobj = 0;
9916 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9917 int result;
9918 void *argp1 = 0 ;
9919 int res1 = 0 ;
9920 PyObject *swig_obj[1] ;
9921
9922 if (!args) SWIG_fail;
9923 swig_obj[0] = args;
9924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9925 if (!SWIG_IsOK(res1)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9927 }
9928 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 resultobj = SWIG_From_int(static_cast< int >(result));
9936 return resultobj;
9937fail:
9938 return NULL;
9939}
9940
9941
9942SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj = 0;
9944 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9945 int arg2 ;
9946 bool arg3 = (bool) true ;
9947 void *argp1 = 0 ;
9948 int res1 = 0 ;
9949 int val2 ;
9950 int ecode2 = 0 ;
9951 bool val3 ;
9952 int ecode3 = 0 ;
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 PyObject * obj2 = 0 ;
9956 char * kwnames[] = {
9957 (char *) "self",(char *) "position",(char *) "redraw", NULL
9958 };
9959
9960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9962 if (!SWIG_IsOK(res1)) {
9963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9964 }
9965 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9966 ecode2 = SWIG_AsVal_int(obj1, &val2);
9967 if (!SWIG_IsOK(ecode2)) {
9968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9969 }
9970 arg2 = static_cast< int >(val2);
9971 if (obj2) {
9972 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9973 if (!SWIG_IsOK(ecode3)) {
9974 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9975 }
9976 arg3 = static_cast< bool >(val3);
9977 }
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 (arg1)->SetSashPosition(arg2,arg3);
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 resultobj = SWIG_Py_Void();
9985 return resultobj;
9986fail:
9987 return NULL;
d14a1e28
RD
9988}
9989
9990
0085ce49
RD
9991SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9992 PyObject *resultobj = 0;
9993 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9994 int result;
9995 void *argp1 = 0 ;
9996 int res1 = 0 ;
9997 PyObject *swig_obj[1] ;
9998
9999 if (!args) SWIG_fail;
10000 swig_obj[0] = args;
10001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10002 if (!SWIG_IsOK(res1)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10004 }
10005 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10006 {
10007 PyThreadState* __tstate = wxPyBeginAllowThreads();
10008 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 resultobj = SWIG_From_int(static_cast< int >(result));
10013 return resultobj;
10014fail:
10015 return NULL;
10016}
10017
10018
10019SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj = 0;
10021 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10022 double arg2 ;
10023 void *argp1 = 0 ;
10024 int res1 = 0 ;
10025 double val2 ;
10026 int ecode2 = 0 ;
10027 PyObject * obj0 = 0 ;
10028 PyObject * obj1 = 0 ;
10029 char * kwnames[] = {
10030 (char *) "self",(char *) "gravity", NULL
10031 };
10032
10033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10035 if (!SWIG_IsOK(res1)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10037 }
10038 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10039 ecode2 = SWIG_AsVal_double(obj1, &val2);
10040 if (!SWIG_IsOK(ecode2)) {
10041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10042 }
10043 arg2 = static_cast< double >(val2);
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 (arg1)->SetSashGravity(arg2);
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 resultobj = SWIG_Py_Void();
10051 return resultobj;
10052fail:
10053 return NULL;
d14a1e28
RD
10054}
10055
10056
0085ce49
RD
10057SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10058 PyObject *resultobj = 0;
10059 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10060 double result;
10061 void *argp1 = 0 ;
10062 int res1 = 0 ;
10063 PyObject *swig_obj[1] ;
10064
10065 if (!args) SWIG_fail;
10066 swig_obj[0] = args;
10067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10068 if (!SWIG_IsOK(res1)) {
10069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10070 }
10071 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10072 {
10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
10074 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10075 wxPyEndAllowThreads(__tstate);
10076 if (PyErr_Occurred()) SWIG_fail;
10077 }
10078 resultobj = SWIG_From_double(static_cast< double >(result));
10079 return resultobj;
10080fail:
10081 return NULL;
10082}
10083
10084
10085SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10086 PyObject *resultobj = 0;
10087 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10088 int arg2 ;
10089 void *argp1 = 0 ;
10090 int res1 = 0 ;
10091 int val2 ;
10092 int ecode2 = 0 ;
10093 PyObject * obj0 = 0 ;
10094 PyObject * obj1 = 0 ;
10095 char * kwnames[] = {
10096 (char *) "self",(char *) "min", NULL
10097 };
10098
10099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10101 if (!SWIG_IsOK(res1)) {
10102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10103 }
10104 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10105 ecode2 = SWIG_AsVal_int(obj1, &val2);
10106 if (!SWIG_IsOK(ecode2)) {
10107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10108 }
10109 arg2 = static_cast< int >(val2);
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 (arg1)->SetMinimumPaneSize(arg2);
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 resultobj = SWIG_Py_Void();
10117 return resultobj;
10118fail:
10119 return NULL;
d14a1e28
RD
10120}
10121
10122
0085ce49
RD
10123SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10124 PyObject *resultobj = 0;
10125 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10126 int result;
10127 void *argp1 = 0 ;
10128 int res1 = 0 ;
10129 PyObject *swig_obj[1] ;
10130
10131 if (!args) SWIG_fail;
10132 swig_obj[0] = args;
10133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10134 if (!SWIG_IsOK(res1)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10136 }
10137 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 resultobj = SWIG_From_int(static_cast< int >(result));
10145 return resultobj;
10146fail:
10147 return NULL;
10148}
10149
10150
10151SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj = 0;
10153 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10154 int arg2 ;
10155 int arg3 ;
10156 int arg4 = (int) 5 ;
10157 bool result;
10158 void *argp1 = 0 ;
10159 int res1 = 0 ;
10160 int val2 ;
10161 int ecode2 = 0 ;
10162 int val3 ;
10163 int ecode3 = 0 ;
10164 int val4 ;
10165 int ecode4 = 0 ;
10166 PyObject * obj0 = 0 ;
10167 PyObject * obj1 = 0 ;
10168 PyObject * obj2 = 0 ;
10169 PyObject * obj3 = 0 ;
10170 char * kwnames[] = {
10171 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10172 };
10173
10174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10176 if (!SWIG_IsOK(res1)) {
10177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10178 }
10179 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10180 ecode2 = SWIG_AsVal_int(obj1, &val2);
10181 if (!SWIG_IsOK(ecode2)) {
10182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10183 }
10184 arg2 = static_cast< int >(val2);
10185 ecode3 = SWIG_AsVal_int(obj2, &val3);
10186 if (!SWIG_IsOK(ecode3)) {
10187 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10188 }
10189 arg3 = static_cast< int >(val3);
10190 if (obj3) {
10191 ecode4 = SWIG_AsVal_int(obj3, &val4);
10192 if (!SWIG_IsOK(ecode4)) {
10193 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10194 }
10195 arg4 = static_cast< int >(val4);
10196 }
10197 {
10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
10199 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 {
10204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10205 }
10206 return resultobj;
10207fail:
10208 return NULL;
b1fcee84
RD
10209}
10210
10211
0085ce49
RD
10212SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10213 PyObject *resultobj = 0;
10214 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10215 void *argp1 = 0 ;
10216 int res1 = 0 ;
10217 PyObject *swig_obj[1] ;
10218
10219 if (!args) SWIG_fail;
10220 swig_obj[0] = args;
10221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10222 if (!SWIG_IsOK(res1)) {
10223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10224 }
10225 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 (arg1)->SizeWindows();
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 resultobj = SWIG_Py_Void();
10233 return resultobj;
10234fail:
10235 return NULL;
10236}
10237
10238
10239SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10240 PyObject *resultobj = 0;
10241 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10242 bool arg2 ;
10243 void *argp1 = 0 ;
10244 int res1 = 0 ;
10245 bool val2 ;
10246 int ecode2 = 0 ;
10247 PyObject * obj0 = 0 ;
10248 PyObject * obj1 = 0 ;
10249 char * kwnames[] = {
10250 (char *) "self",(char *) "needUpdating", NULL
10251 };
10252
10253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10255 if (!SWIG_IsOK(res1)) {
10256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10257 }
10258 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10259 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10260 if (!SWIG_IsOK(ecode2)) {
10261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10262 }
10263 arg2 = static_cast< bool >(val2);
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 (arg1)->SetNeedUpdating(arg2);
10267 wxPyEndAllowThreads(__tstate);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 }
10270 resultobj = SWIG_Py_Void();
10271 return resultobj;
10272fail:
10273 return NULL;
b1fcee84
RD
10274}
10275
10276
0085ce49
RD
10277SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10278 PyObject *resultobj = 0;
10279 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10280 bool result;
10281 void *argp1 = 0 ;
10282 int res1 = 0 ;
10283 PyObject *swig_obj[1] ;
10284
10285 if (!args) SWIG_fail;
10286 swig_obj[0] = args;
10287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10288 if (!SWIG_IsOK(res1)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10290 }
10291 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
10298 {
10299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10300 }
10301 return resultobj;
10302fail:
10303 return NULL;
b1fcee84
RD
10304}
10305
10306
0085ce49
RD
10307SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10308 PyObject *resultobj = 0;
10309 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10310 SwigValueWrapper<wxVisualAttributes > result;
10311 int val1 ;
10312 int ecode1 = 0 ;
10313 PyObject * obj0 = 0 ;
10314 char * kwnames[] = {
10315 (char *) "variant", NULL
10316 };
10317
10318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10319 if (obj0) {
10320 ecode1 = SWIG_AsVal_int(obj0, &val1);
10321 if (!SWIG_IsOK(ecode1)) {
10322 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10323 }
10324 arg1 = static_cast< wxWindowVariant >(val1);
10325 }
10326 {
10327 if (!wxPyCheckForApp()) SWIG_fail;
10328 PyThreadState* __tstate = wxPyBeginAllowThreads();
10329 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10334 return resultobj;
10335fail:
10336 return NULL;
b1fcee84
RD
10337}
10338
10339
0085ce49
RD
10340SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10341 PyObject *obj;
10342 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10343 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10344 return SWIG_Py_Void();
d14a1e28
RD
10345}
10346
0085ce49
RD
10347SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10348 return SWIG_Python_InitShadowInstance(args);
e505d15e
RD
10349}
10350
0085ce49
RD
10351SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj = 0;
10353 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10354 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10355 wxSplitterEvent *result = 0 ;
10356 int val1 ;
10357 int ecode1 = 0 ;
10358 void *argp2 = 0 ;
10359 int res2 = 0 ;
10360 PyObject * obj0 = 0 ;
10361 PyObject * obj1 = 0 ;
10362 char * kwnames[] = {
10363 (char *) "type",(char *) "splitter", NULL
10364 };
10365
10366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10367 if (obj0) {
10368 ecode1 = SWIG_AsVal_int(obj0, &val1);
10369 if (!SWIG_IsOK(ecode1)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10371 }
10372 arg1 = static_cast< wxEventType >(val1);
10373 }
10374 if (obj1) {
10375 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10376 if (!SWIG_IsOK(res2)) {
10377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
4f89f6a3 10378 }
0085ce49
RD
10379 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10380 }
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10388 return resultobj;
10389fail:
10390 return NULL;
10391}
10392
10393
10394SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10395 PyObject *resultobj = 0;
10396 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10397 int arg2 ;
10398 void *argp1 = 0 ;
10399 int res1 = 0 ;
10400 int val2 ;
10401 int ecode2 = 0 ;
10402 PyObject * obj0 = 0 ;
10403 PyObject * obj1 = 0 ;
10404 char * kwnames[] = {
10405 (char *) "self",(char *) "pos", NULL
10406 };
10407
10408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10410 if (!SWIG_IsOK(res1)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10412 }
10413 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10414 ecode2 = SWIG_AsVal_int(obj1, &val2);
10415 if (!SWIG_IsOK(ecode2)) {
10416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10417 }
10418 arg2 = static_cast< int >(val2);
10419 {
10420 PyThreadState* __tstate = wxPyBeginAllowThreads();
10421 (arg1)->SetSashPosition(arg2);
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 resultobj = SWIG_Py_Void();
10426 return resultobj;
10427fail:
10428 return NULL;
d14a1e28
RD
10429}
10430
10431
0085ce49
RD
10432SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10433 PyObject *resultobj = 0;
10434 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10435 int result;
10436 void *argp1 = 0 ;
10437 int res1 = 0 ;
10438 PyObject *swig_obj[1] ;
10439
10440 if (!args) SWIG_fail;
10441 swig_obj[0] = args;
10442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10443 if (!SWIG_IsOK(res1)) {
10444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10445 }
10446 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 resultobj = SWIG_From_int(static_cast< int >(result));
10454 return resultobj;
10455fail:
10456 return NULL;
d14a1e28
RD
10457}
10458
10459
0085ce49
RD
10460SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10461 PyObject *resultobj = 0;
10462 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10463 wxWindow *result = 0 ;
10464 void *argp1 = 0 ;
10465 int res1 = 0 ;
10466 PyObject *swig_obj[1] ;
10467
10468 if (!args) SWIG_fail;
10469 swig_obj[0] = args;
10470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10471 if (!SWIG_IsOK(res1)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10473 }
10474 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 {
10482 resultobj = wxPyMake_wxObject(result, 0);
10483 }
10484 return resultobj;
10485fail:
10486 return NULL;
d14a1e28
RD
10487}
10488
10489
0085ce49
RD
10490SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10491 PyObject *resultobj = 0;
10492 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10493 int result;
10494 void *argp1 = 0 ;
10495 int res1 = 0 ;
10496 PyObject *swig_obj[1] ;
10497
10498 if (!args) SWIG_fail;
10499 swig_obj[0] = args;
10500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10501 if (!SWIG_IsOK(res1)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10503 }
10504 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 resultobj = SWIG_From_int(static_cast< int >(result));
10512 return resultobj;
10513fail:
10514 return NULL;
22bfe96c
RD
10515}
10516
10517
0085ce49
RD
10518SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10519 PyObject *resultobj = 0;
10520 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10521 int result;
10522 void *argp1 = 0 ;
10523 int res1 = 0 ;
10524 PyObject *swig_obj[1] ;
10525
10526 if (!args) SWIG_fail;
10527 swig_obj[0] = args;
10528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10529 if (!SWIG_IsOK(res1)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10531 }
10532 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10533 {
10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
10535 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 resultobj = SWIG_From_int(static_cast< int >(result));
10540 return resultobj;
10541fail:
10542 return NULL;
d14a1e28
RD
10543}
10544
10545
0085ce49
RD
10546SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10547 PyObject *obj;
10548 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10549 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10550 return SWIG_Py_Void();
d14a1e28
RD
10551}
10552
0085ce49
RD
10553SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10554 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
10555}
10556
0085ce49
RD
10557SWIGINTERN int SashNameStr_set(PyObject *) {
10558 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10559 return 1;
d14a1e28
RD
10560}
10561
10562
0085ce49
RD
10563SWIGINTERN PyObject *SashNameStr_get(void) {
10564 PyObject *pyobj = 0;
10565
10566 {
10567#if wxUSE_UNICODE
10568 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10569#else
10570 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10571#endif
10572 }
10573 return pyobj;
d14a1e28
RD
10574}
10575
10576
0085ce49
RD
10577SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10578 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10579 return 1;
d14a1e28
RD
10580}
10581
10582
0085ce49
RD
10583SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10584 PyObject *pyobj = 0;
10585
10586 {
10587#if wxUSE_UNICODE
10588 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10589#else
10590 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10591#endif
10592 }
10593 return pyobj;
10594}
10595
10596
10597SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10598 PyObject *resultobj = 0;
10599 wxWindow *arg1 = (wxWindow *) 0 ;
10600 int arg2 = (int) -1 ;
10601 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10602 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10603 wxSize const &arg4_defvalue = wxDefaultSize ;
10604 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10605 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10606 wxString const &arg6_defvalue = wxPySashNameStr ;
10607 wxString *arg6 = (wxString *) &arg6_defvalue ;
10608 wxSashWindow *result = 0 ;
10609 void *argp1 = 0 ;
10610 int res1 = 0 ;
10611 int val2 ;
10612 int ecode2 = 0 ;
10613 wxPoint temp3 ;
10614 wxSize temp4 ;
10615 long val5 ;
10616 int ecode5 = 0 ;
10617 bool temp6 = false ;
10618 PyObject * obj0 = 0 ;
10619 PyObject * obj1 = 0 ;
10620 PyObject * obj2 = 0 ;
10621 PyObject * obj3 = 0 ;
10622 PyObject * obj4 = 0 ;
10623 PyObject * obj5 = 0 ;
10624 char * kwnames[] = {
10625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10626 };
10627
10628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10630 if (!SWIG_IsOK(res1)) {
10631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10632 }
10633 arg1 = reinterpret_cast< wxWindow * >(argp1);
10634 if (obj1) {
10635 ecode2 = SWIG_AsVal_int(obj1, &val2);
10636 if (!SWIG_IsOK(ecode2)) {
10637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10638 }
10639 arg2 = static_cast< int >(val2);
10640 }
10641 if (obj2) {
093d3ff1 10642 {
0085ce49
RD
10643 arg3 = &temp3;
10644 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
994141e6 10645 }
0085ce49
RD
10646 }
10647 if (obj3) {
d14a1e28 10648 {
0085ce49
RD
10649 arg4 = &temp4;
10650 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10651 }
0085ce49
RD
10652 }
10653 if (obj4) {
10654 ecode5 = SWIG_AsVal_long(obj4, &val5);
10655 if (!SWIG_IsOK(ecode5)) {
10656 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10657 }
10658 arg5 = static_cast< long >(val5);
10659 }
10660 if (obj5) {
093d3ff1 10661 {
0085ce49
RD
10662 arg6 = wxString_in_helper(obj5);
10663 if (arg6 == NULL) SWIG_fail;
10664 temp6 = true;
093d3ff1 10665 }
0085ce49
RD
10666 }
10667 {
10668 if (!wxPyCheckForApp()) SWIG_fail;
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10675 {
10676 if (temp6)
10677 delete arg6;
10678 }
10679 return resultobj;
10680fail:
10681 {
10682 if (temp6)
10683 delete arg6;
10684 }
10685 return NULL;
d14a1e28
RD
10686}
10687
10688
0085ce49
RD
10689SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10690 PyObject *resultobj = 0;
10691 wxSashWindow *result = 0 ;
10692
10693 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10694 {
10695 if (!wxPyCheckForApp()) SWIG_fail;
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 result = (wxSashWindow *)new wxSashWindow();
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10702 return resultobj;
10703fail:
10704 return NULL;
10705}
10706
10707
10708SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10709 PyObject *resultobj = 0;
10710 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10711 wxWindow *arg2 = (wxWindow *) 0 ;
10712 int arg3 = (int) -1 ;
10713 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10714 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10715 wxSize const &arg5_defvalue = wxDefaultSize ;
10716 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10717 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10718 wxString const &arg7_defvalue = wxPySashNameStr ;
10719 wxString *arg7 = (wxString *) &arg7_defvalue ;
10720 bool result;
10721 void *argp1 = 0 ;
10722 int res1 = 0 ;
10723 void *argp2 = 0 ;
10724 int res2 = 0 ;
10725 int val3 ;
10726 int ecode3 = 0 ;
10727 wxPoint temp4 ;
10728 wxSize temp5 ;
10729 long val6 ;
10730 int ecode6 = 0 ;
10731 bool temp7 = false ;
10732 PyObject * obj0 = 0 ;
10733 PyObject * obj1 = 0 ;
10734 PyObject * obj2 = 0 ;
10735 PyObject * obj3 = 0 ;
10736 PyObject * obj4 = 0 ;
10737 PyObject * obj5 = 0 ;
10738 PyObject * obj6 = 0 ;
10739 char * kwnames[] = {
10740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10741 };
10742
10743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10745 if (!SWIG_IsOK(res1)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10747 }
10748 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10749 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10750 if (!SWIG_IsOK(res2)) {
10751 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10752 }
10753 arg2 = reinterpret_cast< wxWindow * >(argp2);
10754 if (obj2) {
10755 ecode3 = SWIG_AsVal_int(obj2, &val3);
10756 if (!SWIG_IsOK(ecode3)) {
10757 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10758 }
10759 arg3 = static_cast< int >(val3);
10760 }
10761 if (obj3) {
093d3ff1 10762 {
0085ce49
RD
10763 arg4 = &temp4;
10764 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10765 }
0085ce49
RD
10766 }
10767 if (obj4) {
d14a1e28 10768 {
0085ce49
RD
10769 arg5 = &temp5;
10770 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 10771 }
0085ce49
RD
10772 }
10773 if (obj5) {
10774 ecode6 = SWIG_AsVal_long(obj5, &val6);
10775 if (!SWIG_IsOK(ecode6)) {
10776 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10777 }
10778 arg6 = static_cast< long >(val6);
10779 }
10780 if (obj6) {
d14a1e28 10781 {
0085ce49
RD
10782 arg7 = wxString_in_helper(obj6);
10783 if (arg7 == NULL) SWIG_fail;
10784 temp7 = true;
d14a1e28 10785 }
0085ce49
RD
10786 }
10787 {
10788 PyThreadState* __tstate = wxPyBeginAllowThreads();
10789 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 {
10794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10795 }
10796 {
10797 if (temp7)
10798 delete arg7;
10799 }
10800 return resultobj;
10801fail:
10802 {
10803 if (temp7)
10804 delete arg7;
10805 }
10806 return NULL;
10807}
10808
10809
10810SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10811 PyObject *resultobj = 0;
10812 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10813 wxSashEdgePosition arg2 ;
10814 bool arg3 ;
10815 void *argp1 = 0 ;
10816 int res1 = 0 ;
10817 int val2 ;
10818 int ecode2 = 0 ;
10819 bool val3 ;
10820 int ecode3 = 0 ;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 PyObject * obj2 = 0 ;
10824 char * kwnames[] = {
10825 (char *) "self",(char *) "edge",(char *) "sash", NULL
10826 };
10827
10828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10830 if (!SWIG_IsOK(res1)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10832 }
10833 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10834 ecode2 = SWIG_AsVal_int(obj1, &val2);
10835 if (!SWIG_IsOK(ecode2)) {
10836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10837 }
10838 arg2 = static_cast< wxSashEdgePosition >(val2);
10839 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10840 if (!SWIG_IsOK(ecode3)) {
10841 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10842 }
10843 arg3 = static_cast< bool >(val3);
10844 {
10845 PyThreadState* __tstate = wxPyBeginAllowThreads();
10846 (arg1)->SetSashVisible(arg2,arg3);
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 resultobj = SWIG_Py_Void();
10851 return resultobj;
10852fail:
10853 return NULL;
10854}
10855
10856
10857SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10858 PyObject *resultobj = 0;
10859 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10860 wxSashEdgePosition arg2 ;
10861 bool result;
10862 void *argp1 = 0 ;
10863 int res1 = 0 ;
10864 int val2 ;
10865 int ecode2 = 0 ;
10866 PyObject * obj0 = 0 ;
10867 PyObject * obj1 = 0 ;
10868 char * kwnames[] = {
10869 (char *) "self",(char *) "edge", NULL
10870 };
10871
10872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10874 if (!SWIG_IsOK(res1)) {
10875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10876 }
10877 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10878 ecode2 = SWIG_AsVal_int(obj1, &val2);
10879 if (!SWIG_IsOK(ecode2)) {
10880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10881 }
10882 arg2 = static_cast< wxSashEdgePosition >(val2);
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 {
10890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10891 }
10892 return resultobj;
10893fail:
10894 return NULL;
10895}
10896
10897
10898SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10899 PyObject *resultobj = 0;
10900 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10901 wxSashEdgePosition arg2 ;
10902 bool arg3 ;
10903 void *argp1 = 0 ;
10904 int res1 = 0 ;
10905 int val2 ;
10906 int ecode2 = 0 ;
10907 bool val3 ;
10908 int ecode3 = 0 ;
10909 PyObject * obj0 = 0 ;
10910 PyObject * obj1 = 0 ;
10911 PyObject * obj2 = 0 ;
10912 char * kwnames[] = {
10913 (char *) "self",(char *) "edge",(char *) "border", NULL
10914 };
10915
10916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10918 if (!SWIG_IsOK(res1)) {
10919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10920 }
10921 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10922 ecode2 = SWIG_AsVal_int(obj1, &val2);
10923 if (!SWIG_IsOK(ecode2)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10925 }
10926 arg2 = static_cast< wxSashEdgePosition >(val2);
10927 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10928 if (!SWIG_IsOK(ecode3)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10930 }
10931 arg3 = static_cast< bool >(val3);
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 (arg1)->SetSashBorder(arg2,arg3);
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
10938 resultobj = SWIG_Py_Void();
10939 return resultobj;
10940fail:
10941 return NULL;
10942}
10943
10944
10945SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10946 PyObject *resultobj = 0;
10947 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10948 wxSashEdgePosition arg2 ;
10949 bool result;
10950 void *argp1 = 0 ;
10951 int res1 = 0 ;
10952 int val2 ;
10953 int ecode2 = 0 ;
10954 PyObject * obj0 = 0 ;
10955 PyObject * obj1 = 0 ;
10956 char * kwnames[] = {
10957 (char *) "self",(char *) "edge", NULL
10958 };
10959
10960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10962 if (!SWIG_IsOK(res1)) {
10963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10964 }
10965 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10966 ecode2 = SWIG_AsVal_int(obj1, &val2);
10967 if (!SWIG_IsOK(ecode2)) {
10968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10969 }
10970 arg2 = static_cast< wxSashEdgePosition >(val2);
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10974 wxPyEndAllowThreads(__tstate);
10975 if (PyErr_Occurred()) SWIG_fail;
10976 }
10977 {
10978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10979 }
10980 return resultobj;
10981fail:
10982 return NULL;
10983}
10984
10985
10986SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10987 PyObject *resultobj = 0;
10988 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10989 wxSashEdgePosition arg2 ;
10990 int result;
10991 void *argp1 = 0 ;
10992 int res1 = 0 ;
10993 int val2 ;
10994 int ecode2 = 0 ;
10995 PyObject * obj0 = 0 ;
10996 PyObject * obj1 = 0 ;
10997 char * kwnames[] = {
10998 (char *) "self",(char *) "edge", NULL
10999 };
11000
11001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11003 if (!SWIG_IsOK(res1)) {
11004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11005 }
11006 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11007 ecode2 = SWIG_AsVal_int(obj1, &val2);
11008 if (!SWIG_IsOK(ecode2)) {
11009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11010 }
11011 arg2 = static_cast< wxSashEdgePosition >(val2);
11012 {
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 resultobj = SWIG_From_int(static_cast< int >(result));
11019 return resultobj;
11020fail:
11021 return NULL;
11022}
11023
11024
11025SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj = 0;
11027 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11028 int arg2 ;
11029 void *argp1 = 0 ;
11030 int res1 = 0 ;
11031 int val2 ;
11032 int ecode2 = 0 ;
11033 PyObject * obj0 = 0 ;
11034 PyObject * obj1 = 0 ;
11035 char * kwnames[] = {
11036 (char *) "self",(char *) "width", NULL
11037 };
11038
11039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11041 if (!SWIG_IsOK(res1)) {
11042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11043 }
11044 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11045 ecode2 = SWIG_AsVal_int(obj1, &val2);
11046 if (!SWIG_IsOK(ecode2)) {
11047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11048 }
11049 arg2 = static_cast< int >(val2);
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 (arg1)->SetDefaultBorderSize(arg2);
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 resultobj = SWIG_Py_Void();
11057 return resultobj;
11058fail:
11059 return NULL;
d14a1e28
RD
11060}
11061
11062
0085ce49
RD
11063SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11064 PyObject *resultobj = 0;
11065 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11066 int result;
11067 void *argp1 = 0 ;
11068 int res1 = 0 ;
11069 PyObject *swig_obj[1] ;
11070
11071 if (!args) SWIG_fail;
11072 swig_obj[0] = args;
11073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11074 if (!SWIG_IsOK(res1)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11076 }
11077 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 resultobj = SWIG_From_int(static_cast< int >(result));
11085 return resultobj;
11086fail:
11087 return NULL;
11088}
11089
11090
11091SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11092 PyObject *resultobj = 0;
11093 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11094 int arg2 ;
11095 void *argp1 = 0 ;
11096 int res1 = 0 ;
11097 int val2 ;
11098 int ecode2 = 0 ;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 char * kwnames[] = {
11102 (char *) "self",(char *) "width", NULL
11103 };
11104
11105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11107 if (!SWIG_IsOK(res1)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11109 }
11110 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11111 ecode2 = SWIG_AsVal_int(obj1, &val2);
11112 if (!SWIG_IsOK(ecode2)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11114 }
11115 arg2 = static_cast< int >(val2);
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 (arg1)->SetExtraBorderSize(arg2);
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 resultobj = SWIG_Py_Void();
11123 return resultobj;
11124fail:
11125 return NULL;
d14a1e28
RD
11126}
11127
11128
0085ce49
RD
11129SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11130 PyObject *resultobj = 0;
11131 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11132 int result;
11133 void *argp1 = 0 ;
11134 int res1 = 0 ;
11135 PyObject *swig_obj[1] ;
11136
11137 if (!args) SWIG_fail;
11138 swig_obj[0] = args;
11139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11140 if (!SWIG_IsOK(res1)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11142 }
11143 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 resultobj = SWIG_From_int(static_cast< int >(result));
11151 return resultobj;
11152fail:
11153 return NULL;
11154}
11155
11156
11157SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11158 PyObject *resultobj = 0;
11159 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11160 int arg2 ;
11161 void *argp1 = 0 ;
11162 int res1 = 0 ;
11163 int val2 ;
11164 int ecode2 = 0 ;
11165 PyObject * obj0 = 0 ;
11166 PyObject * obj1 = 0 ;
11167 char * kwnames[] = {
11168 (char *) "self",(char *) "min", NULL
11169 };
11170
11171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11173 if (!SWIG_IsOK(res1)) {
11174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11175 }
11176 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11177 ecode2 = SWIG_AsVal_int(obj1, &val2);
11178 if (!SWIG_IsOK(ecode2)) {
11179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11180 }
11181 arg2 = static_cast< int >(val2);
11182 {
11183 PyThreadState* __tstate = wxPyBeginAllowThreads();
11184 (arg1)->SetMinimumSizeX(arg2);
11185 wxPyEndAllowThreads(__tstate);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 resultobj = SWIG_Py_Void();
11189 return resultobj;
11190fail:
11191 return NULL;
11192}
11193
11194
11195SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11196 PyObject *resultobj = 0;
11197 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11198 int arg2 ;
11199 void *argp1 = 0 ;
11200 int res1 = 0 ;
11201 int val2 ;
11202 int ecode2 = 0 ;
11203 PyObject * obj0 = 0 ;
11204 PyObject * obj1 = 0 ;
11205 char * kwnames[] = {
11206 (char *) "self",(char *) "min", NULL
11207 };
11208
11209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11211 if (!SWIG_IsOK(res1)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11213 }
11214 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11215 ecode2 = SWIG_AsVal_int(obj1, &val2);
11216 if (!SWIG_IsOK(ecode2)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11218 }
11219 arg2 = static_cast< int >(val2);
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 (arg1)->SetMinimumSizeY(arg2);
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 resultobj = SWIG_Py_Void();
11227 return resultobj;
11228fail:
11229 return NULL;
d14a1e28
RD
11230}
11231
11232
0085ce49
RD
11233SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11234 PyObject *resultobj = 0;
11235 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11236 int result;
11237 void *argp1 = 0 ;
11238 int res1 = 0 ;
11239 PyObject *swig_obj[1] ;
11240
11241 if (!args) SWIG_fail;
11242 swig_obj[0] = args;
11243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11244 if (!SWIG_IsOK(res1)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11246 }
11247 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11248 {
11249 PyThreadState* __tstate = wxPyBeginAllowThreads();
11250 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 resultobj = SWIG_From_int(static_cast< int >(result));
11255 return resultobj;
11256fail:
11257 return NULL;
d14a1e28
RD
11258}
11259
11260
0085ce49
RD
11261SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11262 PyObject *resultobj = 0;
11263 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11264 int result;
11265 void *argp1 = 0 ;
11266 int res1 = 0 ;
11267 PyObject *swig_obj[1] ;
11268
11269 if (!args) SWIG_fail;
11270 swig_obj[0] = args;
11271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11272 if (!SWIG_IsOK(res1)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11274 }
11275 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 resultobj = SWIG_From_int(static_cast< int >(result));
11283 return resultobj;
11284fail:
11285 return NULL;
11286}
11287
11288
11289SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj = 0;
11291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11292 int arg2 ;
11293 void *argp1 = 0 ;
11294 int res1 = 0 ;
11295 int val2 ;
11296 int ecode2 = 0 ;
11297 PyObject * obj0 = 0 ;
11298 PyObject * obj1 = 0 ;
11299 char * kwnames[] = {
11300 (char *) "self",(char *) "max", NULL
11301 };
11302
11303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11305 if (!SWIG_IsOK(res1)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11307 }
11308 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11309 ecode2 = SWIG_AsVal_int(obj1, &val2);
11310 if (!SWIG_IsOK(ecode2)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11312 }
11313 arg2 = static_cast< int >(val2);
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->SetMaximumSizeX(arg2);
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = SWIG_Py_Void();
11321 return resultobj;
11322fail:
11323 return NULL;
11324}
11325
11326
11327SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11328 PyObject *resultobj = 0;
11329 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11330 int arg2 ;
11331 void *argp1 = 0 ;
11332 int res1 = 0 ;
11333 int val2 ;
11334 int ecode2 = 0 ;
11335 PyObject * obj0 = 0 ;
11336 PyObject * obj1 = 0 ;
11337 char * kwnames[] = {
11338 (char *) "self",(char *) "max", NULL
11339 };
11340
11341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11343 if (!SWIG_IsOK(res1)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11345 }
11346 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11347 ecode2 = SWIG_AsVal_int(obj1, &val2);
11348 if (!SWIG_IsOK(ecode2)) {
11349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11350 }
11351 arg2 = static_cast< int >(val2);
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 (arg1)->SetMaximumSizeY(arg2);
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 resultobj = SWIG_Py_Void();
11359 return resultobj;
11360fail:
11361 return NULL;
d14a1e28
RD
11362}
11363
11364
0085ce49
RD
11365SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11366 PyObject *resultobj = 0;
11367 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11368 int result;
11369 void *argp1 = 0 ;
11370 int res1 = 0 ;
11371 PyObject *swig_obj[1] ;
11372
11373 if (!args) SWIG_fail;
11374 swig_obj[0] = args;
11375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11376 if (!SWIG_IsOK(res1)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11378 }
11379 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 resultobj = SWIG_From_int(static_cast< int >(result));
11387 return resultobj;
11388fail:
11389 return NULL;
d14a1e28
RD
11390}
11391
11392
0085ce49
RD
11393SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11394 PyObject *resultobj = 0;
11395 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11396 int result;
11397 void *argp1 = 0 ;
11398 int res1 = 0 ;
11399 PyObject *swig_obj[1] ;
11400
11401 if (!args) SWIG_fail;
11402 swig_obj[0] = args;
11403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11404 if (!SWIG_IsOK(res1)) {
11405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11406 }
11407 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11408 {
11409 PyThreadState* __tstate = wxPyBeginAllowThreads();
11410 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 resultobj = SWIG_From_int(static_cast< int >(result));
11415 return resultobj;
11416fail:
11417 return NULL;
11418}
11419
11420
11421SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj = 0;
11423 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11424 int arg2 ;
11425 int arg3 ;
11426 int arg4 = (int) 2 ;
11427 wxSashEdgePosition result;
11428 void *argp1 = 0 ;
11429 int res1 = 0 ;
11430 int val2 ;
11431 int ecode2 = 0 ;
11432 int val3 ;
11433 int ecode3 = 0 ;
11434 int val4 ;
11435 int ecode4 = 0 ;
11436 PyObject * obj0 = 0 ;
11437 PyObject * obj1 = 0 ;
11438 PyObject * obj2 = 0 ;
11439 PyObject * obj3 = 0 ;
11440 char * kwnames[] = {
11441 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11442 };
11443
11444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11446 if (!SWIG_IsOK(res1)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11448 }
11449 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11450 ecode2 = SWIG_AsVal_int(obj1, &val2);
11451 if (!SWIG_IsOK(ecode2)) {
11452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11453 }
11454 arg2 = static_cast< int >(val2);
11455 ecode3 = SWIG_AsVal_int(obj2, &val3);
11456 if (!SWIG_IsOK(ecode3)) {
11457 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11458 }
11459 arg3 = static_cast< int >(val3);
11460 if (obj3) {
11461 ecode4 = SWIG_AsVal_int(obj3, &val4);
11462 if (!SWIG_IsOK(ecode4)) {
11463 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11464 }
11465 arg4 = static_cast< int >(val4);
11466 }
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11470 wxPyEndAllowThreads(__tstate);
11471 if (PyErr_Occurred()) SWIG_fail;
11472 }
11473 resultobj = SWIG_From_int(static_cast< int >(result));
11474 return resultobj;
11475fail:
11476 return NULL;
d14a1e28
RD
11477}
11478
11479
0085ce49
RD
11480SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11481 PyObject *resultobj = 0;
11482 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11483 void *argp1 = 0 ;
11484 int res1 = 0 ;
11485 PyObject *swig_obj[1] ;
11486
11487 if (!args) SWIG_fail;
11488 swig_obj[0] = args;
11489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11490 if (!SWIG_IsOK(res1)) {
11491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11492 }
11493 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11494 {
11495 PyThreadState* __tstate = wxPyBeginAllowThreads();
11496 (arg1)->SizeWindows();
11497 wxPyEndAllowThreads(__tstate);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 resultobj = SWIG_Py_Void();
11501 return resultobj;
11502fail:
11503 return NULL;
d14a1e28
RD
11504}
11505
11506
0085ce49
RD
11507SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11508 PyObject *obj;
11509 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11510 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11511 return SWIG_Py_Void();
d14a1e28
RD
11512}
11513
0085ce49
RD
11514SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11515 return SWIG_Python_InitShadowInstance(args);
f16ab95d
RD
11516}
11517
0085ce49
RD
11518SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11519 PyObject *resultobj = 0;
11520 int arg1 = (int) 0 ;
11521 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11522 wxSashEvent *result = 0 ;
11523 int val1 ;
11524 int ecode1 = 0 ;
11525 int val2 ;
11526 int ecode2 = 0 ;
11527 PyObject * obj0 = 0 ;
11528 PyObject * obj1 = 0 ;
11529 char * kwnames[] = {
11530 (char *) "id",(char *) "edge", NULL
11531 };
11532
11533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11534 if (obj0) {
11535 ecode1 = SWIG_AsVal_int(obj0, &val1);
11536 if (!SWIG_IsOK(ecode1)) {
11537 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11538 }
11539 arg1 = static_cast< int >(val1);
11540 }
11541 if (obj1) {
11542 ecode2 = SWIG_AsVal_int(obj1, &val2);
11543 if (!SWIG_IsOK(ecode2)) {
11544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11545 }
11546 arg2 = static_cast< wxSashEdgePosition >(val2);
11547 }
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11555 return resultobj;
11556fail:
11557 return NULL;
11558}
11559
11560
11561SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11562 PyObject *resultobj = 0;
11563 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11564 wxSashEdgePosition arg2 ;
11565 void *argp1 = 0 ;
11566 int res1 = 0 ;
11567 int val2 ;
11568 int ecode2 = 0 ;
11569 PyObject * obj0 = 0 ;
11570 PyObject * obj1 = 0 ;
11571 char * kwnames[] = {
11572 (char *) "self",(char *) "edge", NULL
11573 };
11574
11575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11577 if (!SWIG_IsOK(res1)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11579 }
11580 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11581 ecode2 = SWIG_AsVal_int(obj1, &val2);
11582 if (!SWIG_IsOK(ecode2)) {
11583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11584 }
11585 arg2 = static_cast< wxSashEdgePosition >(val2);
11586 {
11587 PyThreadState* __tstate = wxPyBeginAllowThreads();
11588 (arg1)->SetEdge(arg2);
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 resultobj = SWIG_Py_Void();
11593 return resultobj;
11594fail:
11595 return NULL;
d14a1e28
RD
11596}
11597
11598
0085ce49
RD
11599SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11600 PyObject *resultobj = 0;
11601 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11602 wxSashEdgePosition result;
11603 void *argp1 = 0 ;
11604 int res1 = 0 ;
11605 PyObject *swig_obj[1] ;
11606
11607 if (!args) SWIG_fail;
11608 swig_obj[0] = args;
11609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11610 if (!SWIG_IsOK(res1)) {
11611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11612 }
11613 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11614 {
11615 PyThreadState* __tstate = wxPyBeginAllowThreads();
11616 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 resultobj = SWIG_From_int(static_cast< int >(result));
11621 return resultobj;
11622fail:
11623 return NULL;
11624}
11625
11626
11627SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11628 PyObject *resultobj = 0;
11629 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11630 wxRect *arg2 = 0 ;
11631 void *argp1 = 0 ;
11632 int res1 = 0 ;
11633 wxRect temp2 ;
11634 PyObject * obj0 = 0 ;
11635 PyObject * obj1 = 0 ;
11636 char * kwnames[] = {
11637 (char *) "self",(char *) "rect", NULL
11638 };
11639
11640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11642 if (!SWIG_IsOK(res1)) {
11643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11644 }
11645 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11646 {
11647 arg2 = &temp2;
11648 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11649 }
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 (arg1)->SetDragRect((wxRect const &)*arg2);
11653 wxPyEndAllowThreads(__tstate);
11654 if (PyErr_Occurred()) SWIG_fail;
11655 }
11656 resultobj = SWIG_Py_Void();
11657 return resultobj;
11658fail:
11659 return NULL;
d14a1e28
RD
11660}
11661
11662
0085ce49
RD
11663SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11664 PyObject *resultobj = 0;
11665 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11666 wxRect result;
11667 void *argp1 = 0 ;
11668 int res1 = 0 ;
11669 PyObject *swig_obj[1] ;
11670
11671 if (!args) SWIG_fail;
11672 swig_obj[0] = args;
11673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11674 if (!SWIG_IsOK(res1)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11676 }
11677 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11678 {
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 result = ((wxSashEvent const *)arg1)->GetDragRect();
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11685 return resultobj;
11686fail:
11687 return NULL;
11688}
11689
11690
11691SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj = 0;
11693 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11694 wxSashDragStatus arg2 ;
11695 void *argp1 = 0 ;
11696 int res1 = 0 ;
11697 int val2 ;
11698 int ecode2 = 0 ;
11699 PyObject * obj0 = 0 ;
11700 PyObject * obj1 = 0 ;
11701 char * kwnames[] = {
11702 (char *) "self",(char *) "status", NULL
11703 };
11704
11705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11707 if (!SWIG_IsOK(res1)) {
11708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11709 }
11710 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11711 ecode2 = SWIG_AsVal_int(obj1, &val2);
11712 if (!SWIG_IsOK(ecode2)) {
11713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11714 }
11715 arg2 = static_cast< wxSashDragStatus >(val2);
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 (arg1)->SetDragStatus(arg2);
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 resultobj = SWIG_Py_Void();
11723 return resultobj;
11724fail:
11725 return NULL;
d14a1e28
RD
11726}
11727
11728
0085ce49
RD
11729SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11730 PyObject *resultobj = 0;
11731 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11732 wxSashDragStatus result;
11733 void *argp1 = 0 ;
11734 int res1 = 0 ;
11735 PyObject *swig_obj[1] ;
11736
11737 if (!args) SWIG_fail;
11738 swig_obj[0] = args;
11739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11740 if (!SWIG_IsOK(res1)) {
11741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11742 }
11743 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
11750 resultobj = SWIG_From_int(static_cast< int >(result));
11751 return resultobj;
11752fail:
11753 return NULL;
d14a1e28
RD
11754}
11755
11756
0085ce49
RD
11757SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11758 PyObject *obj;
11759 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11760 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11761 return SWIG_Py_Void();
22bfe96c
RD
11762}
11763
0085ce49
RD
11764SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11765 return SWIG_Python_InitShadowInstance(args);
b2dc1044
RD
11766}
11767
0085ce49
RD
11768SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11769 PyObject *resultobj = 0;
11770 int arg1 = (int) 0 ;
11771 wxQueryLayoutInfoEvent *result = 0 ;
11772 int val1 ;
11773 int ecode1 = 0 ;
11774 PyObject * obj0 = 0 ;
11775 char * kwnames[] = {
11776 (char *) "id", NULL
11777 };
11778
11779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11780 if (obj0) {
11781 ecode1 = SWIG_AsVal_int(obj0, &val1);
11782 if (!SWIG_IsOK(ecode1)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11784 }
11785 arg1 = static_cast< int >(val1);
11786 }
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11790 wxPyEndAllowThreads(__tstate);
11791 if (PyErr_Occurred()) SWIG_fail;
11792 }
11793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11794 return resultobj;
11795fail:
11796 return NULL;
11797}
11798
11799
11800SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11801 PyObject *resultobj = 0;
11802 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11803 int arg2 ;
11804 void *argp1 = 0 ;
11805 int res1 = 0 ;
11806 int val2 ;
11807 int ecode2 = 0 ;
11808 PyObject * obj0 = 0 ;
11809 PyObject * obj1 = 0 ;
11810 char * kwnames[] = {
11811 (char *) "self",(char *) "length", NULL
11812 };
11813
11814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11816 if (!SWIG_IsOK(res1)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11818 }
11819 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11820 ecode2 = SWIG_AsVal_int(obj1, &val2);
11821 if (!SWIG_IsOK(ecode2)) {
11822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11823 }
11824 arg2 = static_cast< int >(val2);
11825 {
11826 PyThreadState* __tstate = wxPyBeginAllowThreads();
11827 (arg1)->SetRequestedLength(arg2);
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 resultobj = SWIG_Py_Void();
11832 return resultobj;
11833fail:
11834 return NULL;
d14a1e28
RD
11835}
11836
11837
0085ce49
RD
11838SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11839 PyObject *resultobj = 0;
11840 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11841 int result;
11842 void *argp1 = 0 ;
11843 int res1 = 0 ;
11844 PyObject *swig_obj[1] ;
11845
11846 if (!args) SWIG_fail;
11847 swig_obj[0] = args;
11848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11849 if (!SWIG_IsOK(res1)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11851 }
11852 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) SWIG_fail;
11858 }
11859 resultobj = SWIG_From_int(static_cast< int >(result));
11860 return resultobj;
11861fail:
11862 return NULL;
11863}
11864
11865
11866SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj = 0;
11868 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11869 int arg2 ;
11870 void *argp1 = 0 ;
11871 int res1 = 0 ;
11872 int val2 ;
11873 int ecode2 = 0 ;
11874 PyObject * obj0 = 0 ;
11875 PyObject * obj1 = 0 ;
11876 char * kwnames[] = {
11877 (char *) "self",(char *) "flags", NULL
11878 };
11879
11880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11882 if (!SWIG_IsOK(res1)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11884 }
11885 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11886 ecode2 = SWIG_AsVal_int(obj1, &val2);
11887 if (!SWIG_IsOK(ecode2)) {
11888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11889 }
11890 arg2 = static_cast< int >(val2);
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 (arg1)->SetFlags(arg2);
11894 wxPyEndAllowThreads(__tstate);
11895 if (PyErr_Occurred()) SWIG_fail;
11896 }
11897 resultobj = SWIG_Py_Void();
11898 return resultobj;
11899fail:
11900 return NULL;
d14a1e28
RD
11901}
11902
11903
0085ce49
RD
11904SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11905 PyObject *resultobj = 0;
11906 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11907 int result;
11908 void *argp1 = 0 ;
11909 int res1 = 0 ;
11910 PyObject *swig_obj[1] ;
11911
11912 if (!args) SWIG_fail;
11913 swig_obj[0] = args;
11914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11915 if (!SWIG_IsOK(res1)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11917 }
11918 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 resultobj = SWIG_From_int(static_cast< int >(result));
11926 return resultobj;
11927fail:
11928 return NULL;
11929}
11930
11931
11932SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj = 0;
11934 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11935 wxSize *arg2 = 0 ;
11936 void *argp1 = 0 ;
11937 int res1 = 0 ;
11938 wxSize temp2 ;
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 char * kwnames[] = {
11942 (char *) "self",(char *) "size", NULL
11943 };
11944
11945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11947 if (!SWIG_IsOK(res1)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11949 }
11950 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11951 {
11952 arg2 = &temp2;
11953 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11954 }
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 (arg1)->SetSize((wxSize const &)*arg2);
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 resultobj = SWIG_Py_Void();
11962 return resultobj;
11963fail:
11964 return NULL;
d14a1e28
RD
11965}
11966
11967
0085ce49
RD
11968SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11969 PyObject *resultobj = 0;
11970 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11971 wxSize result;
11972 void *argp1 = 0 ;
11973 int res1 = 0 ;
11974 PyObject *swig_obj[1] ;
11975
11976 if (!args) SWIG_fail;
11977 swig_obj[0] = args;
11978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11979 if (!SWIG_IsOK(res1)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11981 }
11982 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11990 return resultobj;
11991fail:
11992 return NULL;
11993}
11994
11995
11996SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj = 0;
11998 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11999 wxLayoutOrientation arg2 ;
12000 void *argp1 = 0 ;
12001 int res1 = 0 ;
12002 int val2 ;
12003 int ecode2 = 0 ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char * kwnames[] = {
12007 (char *) "self",(char *) "orient", NULL
12008 };
12009
12010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12012 if (!SWIG_IsOK(res1)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12014 }
12015 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12016 ecode2 = SWIG_AsVal_int(obj1, &val2);
12017 if (!SWIG_IsOK(ecode2)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12019 }
12020 arg2 = static_cast< wxLayoutOrientation >(val2);
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 (arg1)->SetOrientation(arg2);
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 resultobj = SWIG_Py_Void();
12028 return resultobj;
12029fail:
12030 return NULL;
d14a1e28
RD
12031}
12032
12033
0085ce49
RD
12034SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12035 PyObject *resultobj = 0;
12036 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12037 wxLayoutOrientation result;
12038 void *argp1 = 0 ;
12039 int res1 = 0 ;
12040 PyObject *swig_obj[1] ;
12041
12042 if (!args) SWIG_fail;
12043 swig_obj[0] = args;
12044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12045 if (!SWIG_IsOK(res1)) {
12046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12047 }
12048 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 resultobj = SWIG_From_int(static_cast< int >(result));
12056 return resultobj;
12057fail:
12058 return NULL;
12059}
12060
12061
12062SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj = 0;
12064 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12065 wxLayoutAlignment arg2 ;
12066 void *argp1 = 0 ;
12067 int res1 = 0 ;
12068 int val2 ;
12069 int ecode2 = 0 ;
12070 PyObject * obj0 = 0 ;
12071 PyObject * obj1 = 0 ;
12072 char * kwnames[] = {
12073 (char *) "self",(char *) "align", NULL
12074 };
12075
12076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12078 if (!SWIG_IsOK(res1)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12080 }
12081 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12082 ecode2 = SWIG_AsVal_int(obj1, &val2);
12083 if (!SWIG_IsOK(ecode2)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12085 }
12086 arg2 = static_cast< wxLayoutAlignment >(val2);
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 (arg1)->SetAlignment(arg2);
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 resultobj = SWIG_Py_Void();
12094 return resultobj;
12095fail:
12096 return NULL;
d14a1e28
RD
12097}
12098
12099
0085ce49
RD
12100SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12101 PyObject *resultobj = 0;
12102 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12103 wxLayoutAlignment result;
12104 void *argp1 = 0 ;
12105 int res1 = 0 ;
12106 PyObject *swig_obj[1] ;
12107
12108 if (!args) SWIG_fail;
12109 swig_obj[0] = args;
12110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12111 if (!SWIG_IsOK(res1)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12113 }
12114 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 resultobj = SWIG_From_int(static_cast< int >(result));
12122 return resultobj;
12123fail:
12124 return NULL;
d14a1e28
RD
12125}
12126
12127
0085ce49
RD
12128SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12129 PyObject *obj;
12130 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12131 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12132 return SWIG_Py_Void();
d14a1e28
RD
12133}
12134
0085ce49
RD
12135SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12136 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
12137}
12138
0085ce49
RD
12139SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj = 0;
12141 int arg1 = (int) 0 ;
12142 wxCalculateLayoutEvent *result = 0 ;
12143 int val1 ;
12144 int ecode1 = 0 ;
12145 PyObject * obj0 = 0 ;
12146 char * kwnames[] = {
12147 (char *) "id", NULL
12148 };
12149
12150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12151 if (obj0) {
12152 ecode1 = SWIG_AsVal_int(obj0, &val1);
12153 if (!SWIG_IsOK(ecode1)) {
12154 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12155 }
12156 arg1 = static_cast< int >(val1);
12157 }
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12165 return resultobj;
12166fail:
12167 return NULL;
12168}
12169
12170
12171SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12172 PyObject *resultobj = 0;
12173 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12174 int arg2 ;
12175 void *argp1 = 0 ;
12176 int res1 = 0 ;
12177 int val2 ;
12178 int ecode2 = 0 ;
12179 PyObject * obj0 = 0 ;
12180 PyObject * obj1 = 0 ;
12181 char * kwnames[] = {
12182 (char *) "self",(char *) "flags", NULL
12183 };
12184
12185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12187 if (!SWIG_IsOK(res1)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12189 }
12190 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12191 ecode2 = SWIG_AsVal_int(obj1, &val2);
12192 if (!SWIG_IsOK(ecode2)) {
12193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12194 }
12195 arg2 = static_cast< int >(val2);
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 (arg1)->SetFlags(arg2);
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 resultobj = SWIG_Py_Void();
12203 return resultobj;
12204fail:
12205 return NULL;
d14a1e28
RD
12206}
12207
12208
0085ce49
RD
12209SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12210 PyObject *resultobj = 0;
12211 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12212 int result;
12213 void *argp1 = 0 ;
12214 int res1 = 0 ;
12215 PyObject *swig_obj[1] ;
12216
12217 if (!args) SWIG_fail;
12218 swig_obj[0] = args;
12219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12220 if (!SWIG_IsOK(res1)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12222 }
12223 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 resultobj = SWIG_From_int(static_cast< int >(result));
12231 return resultobj;
12232fail:
12233 return NULL;
12234}
12235
12236
12237SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12238 PyObject *resultobj = 0;
12239 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12240 wxRect *arg2 = 0 ;
12241 void *argp1 = 0 ;
12242 int res1 = 0 ;
12243 wxRect temp2 ;
12244 PyObject * obj0 = 0 ;
12245 PyObject * obj1 = 0 ;
12246 char * kwnames[] = {
12247 (char *) "self",(char *) "rect", NULL
12248 };
12249
12250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12252 if (!SWIG_IsOK(res1)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12254 }
12255 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12256 {
12257 arg2 = &temp2;
12258 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12259 }
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 (arg1)->SetRect((wxRect const &)*arg2);
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
12266 resultobj = SWIG_Py_Void();
12267 return resultobj;
12268fail:
12269 return NULL;
d14a1e28
RD
12270}
12271
12272
0085ce49
RD
12273SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12274 PyObject *resultobj = 0;
12275 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12276 wxRect result;
12277 void *argp1 = 0 ;
12278 int res1 = 0 ;
12279 PyObject *swig_obj[1] ;
12280
12281 if (!args) SWIG_fail;
12282 swig_obj[0] = args;
12283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12284 if (!SWIG_IsOK(res1)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12286 }
12287 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12295 return resultobj;
12296fail:
12297 return NULL;
12298}
12299
12300
12301SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12302 PyObject *obj;
12303 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12304 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12305 return SWIG_Py_Void();
12306}
12307
12308SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12309 return SWIG_Python_InitShadowInstance(args);
12310}
12311
12312SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12313 PyObject *resultobj = 0;
12314 wxWindow *arg1 = (wxWindow *) 0 ;
12315 int arg2 = (int) -1 ;
12316 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12317 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12318 wxSize const &arg4_defvalue = wxDefaultSize ;
12319 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12320 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12321 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12322 wxString *arg6 = (wxString *) &arg6_defvalue ;
12323 wxSashLayoutWindow *result = 0 ;
12324 void *argp1 = 0 ;
12325 int res1 = 0 ;
12326 int val2 ;
12327 int ecode2 = 0 ;
12328 wxPoint temp3 ;
12329 wxSize temp4 ;
12330 long val5 ;
12331 int ecode5 = 0 ;
12332 bool temp6 = false ;
12333 PyObject * obj0 = 0 ;
12334 PyObject * obj1 = 0 ;
12335 PyObject * obj2 = 0 ;
12336 PyObject * obj3 = 0 ;
12337 PyObject * obj4 = 0 ;
12338 PyObject * obj5 = 0 ;
12339 char * kwnames[] = {
12340 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12341 };
12342
12343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12345 if (!SWIG_IsOK(res1)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12347 }
12348 arg1 = reinterpret_cast< wxWindow * >(argp1);
12349 if (obj1) {
12350 ecode2 = SWIG_AsVal_int(obj1, &val2);
12351 if (!SWIG_IsOK(ecode2)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12353 }
12354 arg2 = static_cast< int >(val2);
12355 }
12356 if (obj2) {
4f89f6a3 12357 {
0085ce49
RD
12358 arg3 = &temp3;
12359 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4f89f6a3 12360 }
0085ce49
RD
12361 }
12362 if (obj3) {
d14a1e28 12363 {
0085ce49
RD
12364 arg4 = &temp4;
12365 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 12366 }
0085ce49
RD
12367 }
12368 if (obj4) {
12369 ecode5 = SWIG_AsVal_long(obj4, &val5);
12370 if (!SWIG_IsOK(ecode5)) {
12371 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12372 }
12373 arg5 = static_cast< long >(val5);
12374 }
12375 if (obj5) {
4f89f6a3 12376 {
0085ce49
RD
12377 arg6 = wxString_in_helper(obj5);
12378 if (arg6 == NULL) SWIG_fail;
12379 temp6 = true;
4f89f6a3 12380 }
0085ce49
RD
12381 }
12382 {
12383 if (!wxPyCheckForApp()) SWIG_fail;
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12390 {
12391 if (temp6)
12392 delete arg6;
12393 }
12394 return resultobj;
12395fail:
12396 {
12397 if (temp6)
12398 delete arg6;
12399 }
12400 return NULL;
d14a1e28
RD
12401}
12402
12403
0085ce49
RD
12404SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12405 PyObject *resultobj = 0;
12406 wxSashLayoutWindow *result = 0 ;
12407
12408 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12409 {
12410 if (!wxPyCheckForApp()) SWIG_fail;
12411 PyThreadState* __tstate = wxPyBeginAllowThreads();
12412 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
12416 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12417 return resultobj;
12418fail:
12419 return NULL;
12420}
12421
12422
12423SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12424 PyObject *resultobj = 0;
12425 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12426 wxWindow *arg2 = (wxWindow *) 0 ;
12427 int arg3 = (int) -1 ;
12428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12430 wxSize const &arg5_defvalue = wxDefaultSize ;
12431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12432 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12433 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12434 wxString *arg7 = (wxString *) &arg7_defvalue ;
12435 bool result;
12436 void *argp1 = 0 ;
12437 int res1 = 0 ;
12438 void *argp2 = 0 ;
12439 int res2 = 0 ;
12440 int val3 ;
12441 int ecode3 = 0 ;
12442 wxPoint temp4 ;
12443 wxSize temp5 ;
12444 long val6 ;
12445 int ecode6 = 0 ;
12446 bool temp7 = false ;
12447 PyObject * obj0 = 0 ;
12448 PyObject * obj1 = 0 ;
12449 PyObject * obj2 = 0 ;
12450 PyObject * obj3 = 0 ;
12451 PyObject * obj4 = 0 ;
12452 PyObject * obj5 = 0 ;
12453 PyObject * obj6 = 0 ;
12454 char * kwnames[] = {
12455 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12456 };
12457
12458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12460 if (!SWIG_IsOK(res1)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12462 }
12463 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12464 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12465 if (!SWIG_IsOK(res2)) {
12466 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12467 }
12468 arg2 = reinterpret_cast< wxWindow * >(argp2);
12469 if (obj2) {
12470 ecode3 = SWIG_AsVal_int(obj2, &val3);
12471 if (!SWIG_IsOK(ecode3)) {
12472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12473 }
12474 arg3 = static_cast< int >(val3);
12475 }
12476 if (obj3) {
d00d1b88 12477 {
0085ce49
RD
12478 arg4 = &temp4;
12479 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12480 }
12481 }
12482 if (obj4) {
d14a1e28 12483 {
0085ce49
RD
12484 arg5 = &temp5;
12485 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 12486 }
0085ce49
RD
12487 }
12488 if (obj5) {
12489 ecode6 = SWIG_AsVal_long(obj5, &val6);
12490 if (!SWIG_IsOK(ecode6)) {
12491 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12492 }
12493 arg6 = static_cast< long >(val6);
12494 }
12495 if (obj6) {
4f89f6a3 12496 {
0085ce49
RD
12497 arg7 = wxString_in_helper(obj6);
12498 if (arg7 == NULL) SWIG_fail;
12499 temp7 = true;
4f89f6a3 12500 }
0085ce49
RD
12501 }
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 {
12509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12510 }
12511 {
12512 if (temp7)
12513 delete arg7;
12514 }
12515 return resultobj;
12516fail:
12517 {
12518 if (temp7)
12519 delete arg7;
12520 }
12521 return NULL;
d14a1e28
RD
12522}
12523
12524
0085ce49
RD
12525SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12526 PyObject *resultobj = 0;
12527 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12528 wxLayoutAlignment result;
12529 void *argp1 = 0 ;
12530 int res1 = 0 ;
12531 PyObject *swig_obj[1] ;
12532
12533 if (!args) SWIG_fail;
12534 swig_obj[0] = args;
12535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12536 if (!SWIG_IsOK(res1)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12538 }
12539 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12543 wxPyEndAllowThreads(__tstate);
12544 if (PyErr_Occurred()) SWIG_fail;
12545 }
12546 resultobj = SWIG_From_int(static_cast< int >(result));
12547 return resultobj;
12548fail:
12549 return NULL;
d14a1e28
RD
12550}
12551
12552
0085ce49
RD
12553SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12554 PyObject *resultobj = 0;
12555 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12556 wxLayoutOrientation result;
12557 void *argp1 = 0 ;
12558 int res1 = 0 ;
12559 PyObject *swig_obj[1] ;
12560
12561 if (!args) SWIG_fail;
12562 swig_obj[0] = args;
12563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12564 if (!SWIG_IsOK(res1)) {
12565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12566 }
12567 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
12574 resultobj = SWIG_From_int(static_cast< int >(result));
12575 return resultobj;
12576fail:
12577 return NULL;
12578}
12579
12580
12581SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12582 PyObject *resultobj = 0;
12583 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12584 wxLayoutAlignment arg2 ;
12585 void *argp1 = 0 ;
12586 int res1 = 0 ;
12587 int val2 ;
12588 int ecode2 = 0 ;
12589 PyObject * obj0 = 0 ;
12590 PyObject * obj1 = 0 ;
12591 char * kwnames[] = {
12592 (char *) "self",(char *) "alignment", NULL
12593 };
12594
12595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12597 if (!SWIG_IsOK(res1)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12599 }
12600 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12601 ecode2 = SWIG_AsVal_int(obj1, &val2);
12602 if (!SWIG_IsOK(ecode2)) {
12603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12604 }
12605 arg2 = static_cast< wxLayoutAlignment >(val2);
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 (arg1)->SetAlignment(arg2);
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 resultobj = SWIG_Py_Void();
12613 return resultobj;
12614fail:
12615 return NULL;
12616}
12617
12618
12619SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12620 PyObject *resultobj = 0;
12621 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12622 wxSize *arg2 = 0 ;
12623 void *argp1 = 0 ;
12624 int res1 = 0 ;
12625 wxSize temp2 ;
12626 PyObject * obj0 = 0 ;
12627 PyObject * obj1 = 0 ;
12628 char * kwnames[] = {
12629 (char *) "self",(char *) "size", NULL
12630 };
12631
12632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12634 if (!SWIG_IsOK(res1)) {
12635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12636 }
12637 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12638 {
12639 arg2 = &temp2;
12640 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12641 }
12642 {
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
12644 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 resultobj = SWIG_Py_Void();
12649 return resultobj;
12650fail:
12651 return NULL;
12652}
12653
12654
12655SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj = 0;
12657 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12658 wxLayoutOrientation arg2 ;
12659 void *argp1 = 0 ;
12660 int res1 = 0 ;
12661 int val2 ;
12662 int ecode2 = 0 ;
12663 PyObject * obj0 = 0 ;
12664 PyObject * obj1 = 0 ;
12665 char * kwnames[] = {
12666 (char *) "self",(char *) "orientation", NULL
12667 };
12668
12669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12671 if (!SWIG_IsOK(res1)) {
12672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12673 }
12674 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12675 ecode2 = SWIG_AsVal_int(obj1, &val2);
12676 if (!SWIG_IsOK(ecode2)) {
12677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12678 }
12679 arg2 = static_cast< wxLayoutOrientation >(val2);
12680 {
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 (arg1)->SetOrientation(arg2);
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 resultobj = SWIG_Py_Void();
12687 return resultobj;
12688fail:
12689 return NULL;
d14a1e28
RD
12690}
12691
12692
0085ce49
RD
12693SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12694 PyObject *obj;
12695 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12696 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12697 return SWIG_Py_Void();
d14a1e28
RD
12698}
12699
0085ce49
RD
12700SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12701 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
12702}
12703
0085ce49
RD
12704SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12705 PyObject *resultobj = 0;
12706 wxLayoutAlgorithm *result = 0 ;
12707
12708 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12709 {
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12712 wxPyEndAllowThreads(__tstate);
12713 if (PyErr_Occurred()) SWIG_fail;
12714 }
12715 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12716 return resultobj;
12717fail:
12718 return NULL;
d14a1e28
RD
12719}
12720
12721
0085ce49
RD
12722SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12723 PyObject *resultobj = 0;
12724 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12725 void *argp1 = 0 ;
12726 int res1 = 0 ;
12727 PyObject *swig_obj[1] ;
12728
12729 if (!args) SWIG_fail;
12730 swig_obj[0] = args;
12731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12732 if (!SWIG_IsOK(res1)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12734 }
12735 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 delete arg1;
d14a1e28 12739
0085ce49
RD
12740 wxPyEndAllowThreads(__tstate);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
12743 resultobj = SWIG_Py_Void();
12744 return resultobj;
12745fail:
12746 return NULL;
12747}
12748
12749
12750SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj = 0;
12752 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12753 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12754 wxRect *arg3 = (wxRect *) NULL ;
12755 bool result;
12756 void *argp1 = 0 ;
12757 int res1 = 0 ;
12758 void *argp2 = 0 ;
12759 int res2 = 0 ;
12760 void *argp3 = 0 ;
12761 int res3 = 0 ;
12762 PyObject * obj0 = 0 ;
12763 PyObject * obj1 = 0 ;
12764 PyObject * obj2 = 0 ;
12765 char * kwnames[] = {
12766 (char *) "self",(char *) "frame",(char *) "rect", NULL
12767 };
12768
12769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12771 if (!SWIG_IsOK(res1)) {
12772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12773 }
12774 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12775 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12776 if (!SWIG_IsOK(res2)) {
12777 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12778 }
12779 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12780 if (obj2) {
12781 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12782 if (!SWIG_IsOK(res3)) {
12783 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
d14a1e28 12784 }
0085ce49
RD
12785 arg3 = reinterpret_cast< wxRect * >(argp3);
12786 }
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 {
12794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12795 }
12796 return resultobj;
12797fail:
12798 return NULL;
12799}
12800
12801
12802SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12803 PyObject *resultobj = 0;
12804 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12805 wxFrame *arg2 = (wxFrame *) 0 ;
12806 wxWindow *arg3 = (wxWindow *) NULL ;
12807 bool result;
12808 void *argp1 = 0 ;
12809 int res1 = 0 ;
12810 void *argp2 = 0 ;
12811 int res2 = 0 ;
12812 void *argp3 = 0 ;
12813 int res3 = 0 ;
12814 PyObject * obj0 = 0 ;
12815 PyObject * obj1 = 0 ;
12816 PyObject * obj2 = 0 ;
12817 char * kwnames[] = {
12818 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12819 };
12820
12821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12823 if (!SWIG_IsOK(res1)) {
12824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12825 }
12826 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12827 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12828 if (!SWIG_IsOK(res2)) {
12829 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12830 }
12831 arg2 = reinterpret_cast< wxFrame * >(argp2);
12832 if (obj2) {
12833 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12834 if (!SWIG_IsOK(res3)) {
12835 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
093d3ff1 12836 }
0085ce49
RD
12837 arg3 = reinterpret_cast< wxWindow * >(argp3);
12838 }
12839 {
12840 PyThreadState* __tstate = wxPyBeginAllowThreads();
12841 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 {
12846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12847 }
12848 return resultobj;
12849fail:
12850 return NULL;
12851}
12852
12853
12854SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12855 PyObject *resultobj = 0;
12856 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12857 wxWindow *arg2 = (wxWindow *) 0 ;
12858 wxWindow *arg3 = (wxWindow *) NULL ;
12859 bool result;
12860 void *argp1 = 0 ;
12861 int res1 = 0 ;
12862 void *argp2 = 0 ;
12863 int res2 = 0 ;
12864 void *argp3 = 0 ;
12865 int res3 = 0 ;
12866 PyObject * obj0 = 0 ;
12867 PyObject * obj1 = 0 ;
12868 PyObject * obj2 = 0 ;
12869 char * kwnames[] = {
12870 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12871 };
12872
12873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12875 if (!SWIG_IsOK(res1)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12877 }
12878 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12879 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12880 if (!SWIG_IsOK(res2)) {
12881 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12882 }
12883 arg2 = reinterpret_cast< wxWindow * >(argp2);
12884 if (obj2) {
12885 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12886 if (!SWIG_IsOK(res3)) {
12887 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
093d3ff1 12888 }
0085ce49
RD
12889 arg3 = reinterpret_cast< wxWindow * >(argp3);
12890 }
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 {
12898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12899 }
12900 return resultobj;
12901fail:
12902 return NULL;
5cbf236d
RD
12903}
12904
12905
0085ce49
RD
12906SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12907 PyObject *obj;
12908 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12909 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12910 return SWIG_Py_Void();
5cbf236d
RD
12911}
12912
0085ce49
RD
12913SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12914 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
12915}
12916
0085ce49
RD
12917SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12918 PyObject *resultobj = 0;
12919 wxWindow *arg1 = (wxWindow *) 0 ;
12920 int arg2 = (int) wxBORDER_NONE ;
12921 wxPopupWindow *result = 0 ;
12922 void *argp1 = 0 ;
12923 int res1 = 0 ;
12924 int val2 ;
12925 int ecode2 = 0 ;
12926 PyObject * obj0 = 0 ;
12927 PyObject * obj1 = 0 ;
12928 char * kwnames[] = {
12929 (char *) "parent",(char *) "flags", NULL
12930 };
12931
12932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12934 if (!SWIG_IsOK(res1)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12936 }
12937 arg1 = reinterpret_cast< wxWindow * >(argp1);
12938 if (obj1) {
12939 ecode2 = SWIG_AsVal_int(obj1, &val2);
12940 if (!SWIG_IsOK(ecode2)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12942 }
12943 arg2 = static_cast< int >(val2);
12944 }
12945 {
12946 if (!wxPyCheckForApp()) SWIG_fail;
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12953 return resultobj;
12954fail:
12955 return NULL;
d14a1e28
RD
12956}
12957
12958
0085ce49
RD
12959SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12960 PyObject *resultobj = 0;
12961 wxPopupWindow *result = 0 ;
12962
12963 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12964 {
12965 if (!wxPyCheckForApp()) SWIG_fail;
12966 PyThreadState* __tstate = wxPyBeginAllowThreads();
12967 result = (wxPopupWindow *)new wxPopupWindow();
12968 wxPyEndAllowThreads(__tstate);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
12971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12972 return resultobj;
12973fail:
12974 return NULL;
12975}
12976
12977
12978SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12979 PyObject *resultobj = 0;
12980 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12981 wxWindow *arg2 = (wxWindow *) 0 ;
12982 int arg3 = (int) wxBORDER_NONE ;
12983 bool result;
12984 void *argp1 = 0 ;
12985 int res1 = 0 ;
12986 void *argp2 = 0 ;
12987 int res2 = 0 ;
12988 int val3 ;
12989 int ecode3 = 0 ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 PyObject * obj2 = 0 ;
12993 char * kwnames[] = {
12994 (char *) "self",(char *) "parent",(char *) "flags", NULL
12995 };
12996
12997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12999 if (!SWIG_IsOK(res1)) {
13000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13001 }
13002 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13003 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13004 if (!SWIG_IsOK(res2)) {
13005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13006 }
13007 arg2 = reinterpret_cast< wxWindow * >(argp2);
13008 if (obj2) {
13009 ecode3 = SWIG_AsVal_int(obj2, &val3);
13010 if (!SWIG_IsOK(ecode3)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13012 }
13013 arg3 = static_cast< int >(val3);
13014 }
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 result = (bool)(arg1)->Create(arg2,arg3);
13018 wxPyEndAllowThreads(__tstate);
13019 if (PyErr_Occurred()) SWIG_fail;
13020 }
13021 {
13022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13023 }
13024 return resultobj;
13025fail:
13026 return NULL;
13027}
13028
13029
13030SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13031 PyObject *resultobj = 0;
13032 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13033 wxPoint *arg2 = 0 ;
13034 wxSize *arg3 = 0 ;
13035 void *argp1 = 0 ;
13036 int res1 = 0 ;
13037 wxPoint temp2 ;
13038 wxSize temp3 ;
13039 PyObject * obj0 = 0 ;
13040 PyObject * obj1 = 0 ;
13041 PyObject * obj2 = 0 ;
13042 char * kwnames[] = {
13043 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13044 };
13045
13046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13048 if (!SWIG_IsOK(res1)) {
13049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13050 }
13051 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13052 {
13053 arg2 = &temp2;
13054 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13055 }
13056 {
13057 arg3 = &temp3;
13058 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13059 }
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 resultobj = SWIG_Py_Void();
13067 return resultobj;
13068fail:
13069 return NULL;
d14a1e28
RD
13070}
13071
13072
0085ce49
RD
13073SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13074 PyObject *obj;
13075 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13076 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13077 return SWIG_Py_Void();
d14a1e28
RD
13078}
13079
0085ce49
RD
13080SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13081 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
13082}
13083
0085ce49
RD
13084SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj = 0;
13086 wxWindow *arg1 = (wxWindow *) 0 ;
13087 int arg2 = (int) wxBORDER_NONE ;
13088 wxPyPopupTransientWindow *result = 0 ;
13089 void *argp1 = 0 ;
13090 int res1 = 0 ;
13091 int val2 ;
13092 int ecode2 = 0 ;
13093 PyObject * obj0 = 0 ;
13094 PyObject * obj1 = 0 ;
13095 char * kwnames[] = {
13096 (char *) "parent",(char *) "style", NULL
13097 };
13098
13099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13101 if (!SWIG_IsOK(res1)) {
13102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13103 }
13104 arg1 = reinterpret_cast< wxWindow * >(argp1);
13105 if (obj1) {
13106 ecode2 = SWIG_AsVal_int(obj1, &val2);
13107 if (!SWIG_IsOK(ecode2)) {
13108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13109 }
13110 arg2 = static_cast< int >(val2);
13111 }
13112 {
13113 if (!wxPyCheckForApp()) SWIG_fail;
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13120 return resultobj;
13121fail:
13122 return NULL;
d14a1e28
RD
13123}
13124
13125
0085ce49
RD
13126SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13127 PyObject *resultobj = 0;
13128 wxPyPopupTransientWindow *result = 0 ;
13129
13130 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13131 {
13132 if (!wxPyCheckForApp()) SWIG_fail;
13133 PyThreadState* __tstate = wxPyBeginAllowThreads();
13134 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13139 return resultobj;
13140fail:
13141 return NULL;
13142}
13143
13144
13145SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13146 PyObject *resultobj = 0;
13147 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13148 PyObject *arg2 = (PyObject *) 0 ;
13149 PyObject *arg3 = (PyObject *) 0 ;
13150 void *argp1 = 0 ;
13151 int res1 = 0 ;
13152 PyObject * obj0 = 0 ;
13153 PyObject * obj1 = 0 ;
13154 PyObject * obj2 = 0 ;
13155 char * kwnames[] = {
13156 (char *) "self",(char *) "self",(char *) "_class", NULL
13157 };
13158
13159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13161 if (!SWIG_IsOK(res1)) {
13162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13163 }
13164 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13165 arg2 = obj1;
13166 arg3 = obj2;
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 (arg1)->_setCallbackInfo(arg2,arg3);
13170 wxPyEndAllowThreads(__tstate);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 }
13173 resultobj = SWIG_Py_Void();
13174 return resultobj;
13175fail:
13176 return NULL;
13177}
13178
13179
13180SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13181 PyObject *resultobj = 0;
13182 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13183 wxWindow *arg2 = (wxWindow *) NULL ;
13184 void *argp1 = 0 ;
13185 int res1 = 0 ;
13186 void *argp2 = 0 ;
13187 int res2 = 0 ;
13188 PyObject * obj0 = 0 ;
13189 PyObject * obj1 = 0 ;
13190 char * kwnames[] = {
13191 (char *) "self",(char *) "focus", NULL
13192 };
13193
13194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13196 if (!SWIG_IsOK(res1)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13198 }
13199 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13200 if (obj1) {
13201 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13202 if (!SWIG_IsOK(res2)) {
13203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
22bfe96c 13204 }
0085ce49
RD
13205 arg2 = reinterpret_cast< wxWindow * >(argp2);
13206 }
13207 {
13208 PyThreadState* __tstate = wxPyBeginAllowThreads();
13209 (arg1)->Popup(arg2);
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 resultobj = SWIG_Py_Void();
13214 return resultobj;
13215fail:
13216 return NULL;
22bfe96c
RD
13217}
13218
13219
0085ce49
RD
13220SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13221 PyObject *resultobj = 0;
13222 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13223 void *argp1 = 0 ;
13224 int res1 = 0 ;
13225 PyObject *swig_obj[1] ;
13226
13227 if (!args) SWIG_fail;
13228 swig_obj[0] = args;
13229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13230 if (!SWIG_IsOK(res1)) {
13231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13232 }
13233 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 (arg1)->Dismiss();
13237 wxPyEndAllowThreads(__tstate);
13238 if (PyErr_Occurred()) SWIG_fail;
13239 }
13240 resultobj = SWIG_Py_Void();
13241 return resultobj;
13242fail:
13243 return NULL;
13244}
13245
13246
13247SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13248 PyObject *obj;
13249 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13251 return SWIG_Py_Void();
13252}
13253
13254SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13255 return SWIG_Python_InitShadowInstance(args);
13256}
13257
13258SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13259 PyObject *resultobj = 0;
13260 wxWindow *arg1 = (wxWindow *) 0 ;
13261 wxString *arg2 = 0 ;
13262 int arg3 = (int) 100 ;
13263 wxRect *arg4 = (wxRect *) NULL ;
13264 wxTipWindow *result = 0 ;
13265 void *argp1 = 0 ;
13266 int res1 = 0 ;
13267 bool temp2 = false ;
13268 int val3 ;
13269 int ecode3 = 0 ;
13270 void *argp4 = 0 ;
13271 int res4 = 0 ;
13272 PyObject * obj0 = 0 ;
13273 PyObject * obj1 = 0 ;
13274 PyObject * obj2 = 0 ;
13275 PyObject * obj3 = 0 ;
13276 char * kwnames[] = {
13277 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13278 };
13279
13280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13282 if (!SWIG_IsOK(res1)) {
13283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13284 }
13285 arg1 = reinterpret_cast< wxWindow * >(argp1);
13286 {
13287 arg2 = wxString_in_helper(obj1);
13288 if (arg2 == NULL) SWIG_fail;
13289 temp2 = true;
13290 }
13291 if (obj2) {
13292 ecode3 = SWIG_AsVal_int(obj2, &val3);
13293 if (!SWIG_IsOK(ecode3)) {
13294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13295 }
13296 arg3 = static_cast< int >(val3);
13297 }
13298 if (obj3) {
13299 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13300 if (!SWIG_IsOK(res4)) {
13301 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
d14a1e28 13302 }
0085ce49
RD
13303 arg4 = reinterpret_cast< wxRect * >(argp4);
13304 }
13305 {
13306 if (!wxPyCheckForApp()) SWIG_fail;
13307 PyThreadState* __tstate = wxPyBeginAllowThreads();
13308 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13309 wxPyEndAllowThreads(__tstate);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 }
13312 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13313 {
13314 if (temp2)
13315 delete arg2;
13316 }
13317 return resultobj;
13318fail:
13319 {
13320 if (temp2)
13321 delete arg2;
13322 }
13323 return NULL;
d14a1e28
RD
13324}
13325
13326
0085ce49
RD
13327SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13328 PyObject *resultobj = 0;
13329 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13330 wxRect *arg2 = 0 ;
13331 void *argp1 = 0 ;
13332 int res1 = 0 ;
13333 wxRect temp2 ;
13334 PyObject * obj0 = 0 ;
13335 PyObject * obj1 = 0 ;
13336 char * kwnames[] = {
13337 (char *) "self",(char *) "rectBound", NULL
13338 };
13339
13340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13342 if (!SWIG_IsOK(res1)) {
13343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13344 }
13345 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13346 {
13347 arg2 = &temp2;
13348 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13349 }
13350 {
13351 PyThreadState* __tstate = wxPyBeginAllowThreads();
13352 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13353 wxPyEndAllowThreads(__tstate);
13354 if (PyErr_Occurred()) SWIG_fail;
13355 }
13356 resultobj = SWIG_Py_Void();
13357 return resultobj;
13358fail:
13359 return NULL;
d14a1e28
RD
13360}
13361
13362
0085ce49
RD
13363SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13364 PyObject *resultobj = 0;
13365 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13366 void *argp1 = 0 ;
13367 int res1 = 0 ;
13368 PyObject *swig_obj[1] ;
13369
13370 if (!args) SWIG_fail;
13371 swig_obj[0] = args;
13372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13373 if (!SWIG_IsOK(res1)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13375 }
13376 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13377 {
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 (arg1)->Close();
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 resultobj = SWIG_Py_Void();
13384 return resultobj;
13385fail:
13386 return NULL;
13387}
13388
13389
13390SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13391 PyObject *obj;
13392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13393 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13394 return SWIG_Py_Void();
13395}
13396
13397SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13398 return SWIG_Python_InitShadowInstance(args);
13399}
13400
13401SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13402 PyObject *resultobj = 0;
13403 wxWindow *arg1 = (wxWindow *) 0 ;
13404 int arg2 = (int) wxID_ANY ;
13405 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13406 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13407 wxSize const &arg4_defvalue = wxDefaultSize ;
13408 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13409 long arg5 = (long) 0 ;
13410 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13411 wxString *arg6 = (wxString *) &arg6_defvalue ;
13412 wxPyVScrolledWindow *result = 0 ;
13413 void *argp1 = 0 ;
13414 int res1 = 0 ;
13415 int val2 ;
13416 int ecode2 = 0 ;
13417 wxPoint temp3 ;
13418 wxSize temp4 ;
13419 long val5 ;
13420 int ecode5 = 0 ;
13421 bool temp6 = false ;
13422 PyObject * obj0 = 0 ;
13423 PyObject * obj1 = 0 ;
13424 PyObject * obj2 = 0 ;
13425 PyObject * obj3 = 0 ;
13426 PyObject * obj4 = 0 ;
13427 PyObject * obj5 = 0 ;
13428 char * kwnames[] = {
13429 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13430 };
13431
13432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13434 if (!SWIG_IsOK(res1)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13436 }
13437 arg1 = reinterpret_cast< wxWindow * >(argp1);
13438 if (obj1) {
13439 ecode2 = SWIG_AsVal_int(obj1, &val2);
13440 if (!SWIG_IsOK(ecode2)) {
13441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13442 }
13443 arg2 = static_cast< int >(val2);
13444 }
13445 if (obj2) {
093d3ff1 13446 {
0085ce49
RD
13447 arg3 = &temp3;
13448 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 13449 }
0085ce49
RD
13450 }
13451 if (obj3) {
d14a1e28 13452 {
0085ce49
RD
13453 arg4 = &temp4;
13454 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 13455 }
0085ce49
RD
13456 }
13457 if (obj4) {
13458 ecode5 = SWIG_AsVal_long(obj4, &val5);
13459 if (!SWIG_IsOK(ecode5)) {
13460 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13461 }
13462 arg5 = static_cast< long >(val5);
13463 }
13464 if (obj5) {
d14a1e28 13465 {
0085ce49
RD
13466 arg6 = wxString_in_helper(obj5);
13467 if (arg6 == NULL) SWIG_fail;
13468 temp6 = true;
d14a1e28 13469 }
0085ce49
RD
13470 }
13471 {
13472 if (!wxPyCheckForApp()) SWIG_fail;
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13479 {
13480 if (temp6)
13481 delete arg6;
13482 }
13483 return resultobj;
13484fail:
13485 {
13486 if (temp6)
13487 delete arg6;
13488 }
13489 return NULL;
d14a1e28
RD
13490}
13491
13492
0085ce49
RD
13493SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13494 PyObject *resultobj = 0;
13495 wxPyVScrolledWindow *result = 0 ;
13496
13497 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13498 {
13499 if (!wxPyCheckForApp()) SWIG_fail;
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13506 return resultobj;
13507fail:
13508 return NULL;
13509}
13510
13511
13512SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13513 PyObject *resultobj = 0;
13514 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13515 PyObject *arg2 = (PyObject *) 0 ;
13516 PyObject *arg3 = (PyObject *) 0 ;
13517 void *argp1 = 0 ;
13518 int res1 = 0 ;
13519 PyObject * obj0 = 0 ;
13520 PyObject * obj1 = 0 ;
13521 PyObject * obj2 = 0 ;
13522 char * kwnames[] = {
13523 (char *) "self",(char *) "self",(char *) "_class", NULL
13524 };
13525
13526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13528 if (!SWIG_IsOK(res1)) {
13529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13530 }
13531 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13532 arg2 = obj1;
13533 arg3 = obj2;
13534 {
13535 PyThreadState* __tstate = wxPyBeginAllowThreads();
13536 (arg1)->_setCallbackInfo(arg2,arg3);
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 resultobj = SWIG_Py_Void();
13541 return resultobj;
13542fail:
13543 return NULL;
13544}
13545
13546
13547SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13548 PyObject *resultobj = 0;
13549 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13550 wxWindow *arg2 = (wxWindow *) 0 ;
13551 int arg3 = (int) wxID_ANY ;
13552 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13553 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13554 wxSize const &arg5_defvalue = wxDefaultSize ;
13555 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13556 long arg6 = (long) 0 ;
13557 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13558 wxString *arg7 = (wxString *) &arg7_defvalue ;
13559 bool result;
13560 void *argp1 = 0 ;
13561 int res1 = 0 ;
13562 void *argp2 = 0 ;
13563 int res2 = 0 ;
13564 int val3 ;
13565 int ecode3 = 0 ;
13566 wxPoint temp4 ;
13567 wxSize temp5 ;
13568 long val6 ;
13569 int ecode6 = 0 ;
13570 bool temp7 = false ;
13571 PyObject * obj0 = 0 ;
13572 PyObject * obj1 = 0 ;
13573 PyObject * obj2 = 0 ;
13574 PyObject * obj3 = 0 ;
13575 PyObject * obj4 = 0 ;
13576 PyObject * obj5 = 0 ;
13577 PyObject * obj6 = 0 ;
13578 char * kwnames[] = {
13579 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13580 };
13581
13582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13584 if (!SWIG_IsOK(res1)) {
13585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13586 }
13587 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13588 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13589 if (!SWIG_IsOK(res2)) {
13590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13591 }
13592 arg2 = reinterpret_cast< wxWindow * >(argp2);
13593 if (obj2) {
13594 ecode3 = SWIG_AsVal_int(obj2, &val3);
13595 if (!SWIG_IsOK(ecode3)) {
13596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13597 }
13598 arg3 = static_cast< int >(val3);
13599 }
13600 if (obj3) {
d14a1e28 13601 {
0085ce49
RD
13602 arg4 = &temp4;
13603 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 13604 }
0085ce49
RD
13605 }
13606 if (obj4) {
093d3ff1 13607 {
0085ce49
RD
13608 arg5 = &temp5;
13609 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 13610 }
0085ce49
RD
13611 }
13612 if (obj5) {
13613 ecode6 = SWIG_AsVal_long(obj5, &val6);
13614 if (!SWIG_IsOK(ecode6)) {
13615 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13616 }
13617 arg6 = static_cast< long >(val6);
13618 }
13619 if (obj6) {
13620 {
13621 arg7 = wxString_in_helper(obj6);
13622 if (arg7 == NULL) SWIG_fail;
13623 temp7 = true;
13624 }
13625 }
13626 {
13627 PyThreadState* __tstate = wxPyBeginAllowThreads();
13628 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 {
13633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13634 }
13635 {
13636 if (temp7)
13637 delete arg7;
13638 }
13639 return resultobj;
13640fail:
13641 {
13642 if (temp7)
13643 delete arg7;
13644 }
13645 return NULL;
13646}
13647
13648
13649SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13650 PyObject *resultobj = 0;
13651 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13652 size_t arg2 ;
13653 void *argp1 = 0 ;
13654 int res1 = 0 ;
13655 size_t val2 ;
13656 int ecode2 = 0 ;
13657 PyObject * obj0 = 0 ;
13658 PyObject * obj1 = 0 ;
13659 char * kwnames[] = {
13660 (char *) "self",(char *) "count", NULL
13661 };
13662
13663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13665 if (!SWIG_IsOK(res1)) {
13666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13667 }
13668 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13669 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13670 if (!SWIG_IsOK(ecode2)) {
13671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13672 }
13673 arg2 = static_cast< size_t >(val2);
13674 {
13675 PyThreadState* __tstate = wxPyBeginAllowThreads();
13676 (arg1)->SetLineCount(arg2);
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 resultobj = SWIG_Py_Void();
13681 return resultobj;
13682fail:
13683 return NULL;
13684}
13685
13686
13687SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj = 0;
13689 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13690 size_t arg2 ;
13691 bool result;
13692 void *argp1 = 0 ;
13693 int res1 = 0 ;
13694 size_t val2 ;
13695 int ecode2 = 0 ;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 char * kwnames[] = {
13699 (char *) "self",(char *) "line", NULL
13700 };
13701
13702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13704 if (!SWIG_IsOK(res1)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13706 }
13707 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13708 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13709 if (!SWIG_IsOK(ecode2)) {
13710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13711 }
13712 arg2 = static_cast< size_t >(val2);
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 result = (bool)(arg1)->ScrollToLine(arg2);
13716 wxPyEndAllowThreads(__tstate);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
13719 {
13720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13721 }
13722 return resultobj;
13723fail:
13724 return NULL;
13725}
13726
13727
13728SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13729 PyObject *resultobj = 0;
13730 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13731 size_t arg2 ;
13732 void *argp1 = 0 ;
13733 int res1 = 0 ;
13734 size_t val2 ;
13735 int ecode2 = 0 ;
13736 PyObject * obj0 = 0 ;
13737 PyObject * obj1 = 0 ;
13738 char * kwnames[] = {
13739 (char *) "self",(char *) "line", NULL
13740 };
13741
13742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13744 if (!SWIG_IsOK(res1)) {
13745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13746 }
13747 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13748 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13749 if (!SWIG_IsOK(ecode2)) {
13750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13751 }
13752 arg2 = static_cast< size_t >(val2);
13753 {
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 (arg1)->RefreshLine(arg2);
13756 wxPyEndAllowThreads(__tstate);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 }
13759 resultobj = SWIG_Py_Void();
13760 return resultobj;
13761fail:
13762 return NULL;
13763}
13764
13765
13766SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13767 PyObject *resultobj = 0;
13768 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13769 size_t arg2 ;
13770 size_t arg3 ;
13771 void *argp1 = 0 ;
13772 int res1 = 0 ;
13773 size_t val2 ;
13774 int ecode2 = 0 ;
13775 size_t val3 ;
13776 int ecode3 = 0 ;
13777 PyObject * obj0 = 0 ;
13778 PyObject * obj1 = 0 ;
13779 PyObject * obj2 = 0 ;
13780 char * kwnames[] = {
2131d850 13781 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
13782 };
13783
13784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13786 if (!SWIG_IsOK(res1)) {
13787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13788 }
13789 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13790 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13791 if (!SWIG_IsOK(ecode2)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13793 }
13794 arg2 = static_cast< size_t >(val2);
13795 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13796 if (!SWIG_IsOK(ecode3)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13798 }
13799 arg3 = static_cast< size_t >(val3);
13800 {
13801 PyThreadState* __tstate = wxPyBeginAllowThreads();
13802 (arg1)->RefreshLines(arg2,arg3);
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
13806 resultobj = SWIG_Py_Void();
13807 return resultobj;
13808fail:
13809 return NULL;
13810}
13811
13812
13813SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13814 PyObject *resultobj = 0;
13815 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13816 int arg2 ;
13817 int arg3 ;
13818 int result;
13819 void *argp1 = 0 ;
13820 int res1 = 0 ;
13821 int val2 ;
13822 int ecode2 = 0 ;
13823 int val3 ;
13824 int ecode3 = 0 ;
13825 PyObject * obj0 = 0 ;
13826 PyObject * obj1 = 0 ;
13827 PyObject * obj2 = 0 ;
13828 char * kwnames[] = {
13829 (char *) "self",(char *) "x",(char *) "y", NULL
13830 };
13831
13832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13834 if (!SWIG_IsOK(res1)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13836 }
13837 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13838 ecode2 = SWIG_AsVal_int(obj1, &val2);
13839 if (!SWIG_IsOK(ecode2)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13841 }
13842 arg2 = static_cast< int >(val2);
13843 ecode3 = SWIG_AsVal_int(obj2, &val3);
13844 if (!SWIG_IsOK(ecode3)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13846 }
13847 arg3 = static_cast< int >(val3);
13848 {
13849 PyThreadState* __tstate = wxPyBeginAllowThreads();
13850 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 resultobj = SWIG_From_int(static_cast< int >(result));
13855 return resultobj;
13856fail:
13857 return NULL;
13858}
13859
13860
13861SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj = 0;
13863 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13864 wxPoint *arg2 = 0 ;
13865 int result;
13866 void *argp1 = 0 ;
13867 int res1 = 0 ;
13868 wxPoint temp2 ;
13869 PyObject * obj0 = 0 ;
13870 PyObject * obj1 = 0 ;
13871 char * kwnames[] = {
13872 (char *) "self",(char *) "pt", NULL
13873 };
13874
13875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13877 if (!SWIG_IsOK(res1)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13879 }
13880 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13881 {
13882 arg2 = &temp2;
13883 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13884 }
13885 {
13886 PyThreadState* __tstate = wxPyBeginAllowThreads();
13887 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13888 wxPyEndAllowThreads(__tstate);
13889 if (PyErr_Occurred()) SWIG_fail;
13890 }
13891 resultobj = SWIG_From_int(static_cast< int >(result));
13892 return resultobj;
13893fail:
13894 return NULL;
d14a1e28
RD
13895}
13896
13897
0085ce49
RD
13898SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13899 PyObject *resultobj = 0;
13900 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13901 void *argp1 = 0 ;
13902 int res1 = 0 ;
13903 PyObject *swig_obj[1] ;
13904
13905 if (!args) SWIG_fail;
13906 swig_obj[0] = args;
13907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13908 if (!SWIG_IsOK(res1)) {
13909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13910 }
13911 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13912 {
13913 PyThreadState* __tstate = wxPyBeginAllowThreads();
13914 (arg1)->RefreshAll();
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 resultobj = SWIG_Py_Void();
13919 return resultobj;
13920fail:
13921 return NULL;
b2dc1044
RD
13922}
13923
13924
0085ce49
RD
13925SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13926 PyObject *resultobj = 0;
13927 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13928 size_t result;
13929 void *argp1 = 0 ;
13930 int res1 = 0 ;
13931 PyObject *swig_obj[1] ;
13932
13933 if (!args) SWIG_fail;
13934 swig_obj[0] = args;
13935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13936 if (!SWIG_IsOK(res1)) {
13937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13938 }
13939 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13947 return resultobj;
13948fail:
13949 return NULL;
b2dc1044
RD
13950}
13951
13952
0085ce49
RD
13953SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13954 PyObject *resultobj = 0;
13955 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13956 size_t result;
13957 void *argp1 = 0 ;
13958 int res1 = 0 ;
13959 PyObject *swig_obj[1] ;
13960
13961 if (!args) SWIG_fail;
13962 swig_obj[0] = args;
13963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13964 if (!SWIG_IsOK(res1)) {
13965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13966 }
13967 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13971 wxPyEndAllowThreads(__tstate);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13975 return resultobj;
13976fail:
13977 return NULL;
b2dc1044
RD
13978}
13979
13980
0085ce49
RD
13981SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13982 PyObject *resultobj = 0;
13983 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13984 size_t result;
13985 void *argp1 = 0 ;
13986 int res1 = 0 ;
13987 PyObject *swig_obj[1] ;
13988
13989 if (!args) SWIG_fail;
13990 swig_obj[0] = args;
13991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13992 if (!SWIG_IsOK(res1)) {
13993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13994 }
13995 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13996 {
13997 PyThreadState* __tstate = wxPyBeginAllowThreads();
13998 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13999 wxPyEndAllowThreads(__tstate);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14003 return resultobj;
14004fail:
14005 return NULL;
14006}
14007
14008
14009SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14010 PyObject *resultobj = 0;
14011 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14012 size_t arg2 ;
14013 bool result;
14014 void *argp1 = 0 ;
14015 int res1 = 0 ;
14016 size_t val2 ;
14017 int ecode2 = 0 ;
14018 PyObject * obj0 = 0 ;
14019 PyObject * obj1 = 0 ;
14020 char * kwnames[] = {
14021 (char *) "self",(char *) "line", NULL
14022 };
14023
14024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14026 if (!SWIG_IsOK(res1)) {
14027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14028 }
14029 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14030 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14031 if (!SWIG_IsOK(ecode2)) {
14032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14033 }
14034 arg2 = static_cast< size_t >(val2);
14035 {
14036 PyThreadState* __tstate = wxPyBeginAllowThreads();
14037 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
14041 {
14042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14043 }
14044 return resultobj;
14045fail:
14046 return NULL;
d14a1e28
RD
14047}
14048
14049
0085ce49
RD
14050SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14051 PyObject *resultobj = 0;
14052 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14053 size_t result;
14054 void *argp1 = 0 ;
14055 int res1 = 0 ;
14056 PyObject *swig_obj[1] ;
14057
14058 if (!args) SWIG_fail;
14059 swig_obj[0] = args;
14060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14061 if (!SWIG_IsOK(res1)) {
14062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14063 }
14064 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14065 {
14066 PyThreadState* __tstate = wxPyBeginAllowThreads();
14067 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14072 return resultobj;
14073fail:
14074 return NULL;
d14a1e28
RD
14075}
14076
14077
0085ce49
RD
14078SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14079 PyObject *resultobj = 0;
14080 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14081 size_t result;
14082 void *argp1 = 0 ;
14083 int res1 = 0 ;
14084 PyObject *swig_obj[1] ;
14085
14086 if (!args) SWIG_fail;
14087 swig_obj[0] = args;
14088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14089 if (!SWIG_IsOK(res1)) {
14090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14091 }
14092 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14100 return resultobj;
14101fail:
14102 return NULL;
14103}
14104
14105
14106SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14107 PyObject *resultobj = 0;
14108 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14109 size_t arg2 ;
14110 bool arg3 = (bool) false ;
14111 size_t result;
14112 void *argp1 = 0 ;
14113 int res1 = 0 ;
14114 size_t val2 ;
14115 int ecode2 = 0 ;
14116 bool val3 ;
14117 int ecode3 = 0 ;
14118 PyObject * obj0 = 0 ;
14119 PyObject * obj1 = 0 ;
14120 PyObject * obj2 = 0 ;
14121 char * kwnames[] = {
14122 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14123 };
14124
14125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14127 if (!SWIG_IsOK(res1)) {
14128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14129 }
14130 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14131 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14132 if (!SWIG_IsOK(ecode2)) {
14133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14134 }
14135 arg2 = static_cast< size_t >(val2);
14136 if (obj2) {
14137 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14138 if (!SWIG_IsOK(ecode3)) {
14139 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14140 }
14141 arg3 = static_cast< bool >(val3);
14142 }
14143 {
14144 PyThreadState* __tstate = wxPyBeginAllowThreads();
14145 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14150 return resultobj;
14151fail:
14152 return NULL;
14153}
14154
14155
14156SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14157 PyObject *resultobj = 0;
14158 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14159 size_t arg2 ;
14160 size_t arg3 ;
14161 int result;
14162 void *argp1 = 0 ;
14163 int res1 = 0 ;
14164 size_t val2 ;
14165 int ecode2 = 0 ;
14166 size_t val3 ;
14167 int ecode3 = 0 ;
14168 PyObject * obj0 = 0 ;
14169 PyObject * obj1 = 0 ;
14170 PyObject * obj2 = 0 ;
14171 char * kwnames[] = {
14172 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14173 };
14174
14175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14177 if (!SWIG_IsOK(res1)) {
14178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14179 }
14180 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14181 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14182 if (!SWIG_IsOK(ecode2)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14184 }
14185 arg2 = static_cast< size_t >(val2);
14186 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14187 if (!SWIG_IsOK(ecode3)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14189 }
14190 arg3 = static_cast< size_t >(val3);
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
14193 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 resultobj = SWIG_From_int(static_cast< int >(result));
14198 return resultobj;
14199fail:
14200 return NULL;
d14a1e28
RD
14201}
14202
14203
0085ce49
RD
14204SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14205 PyObject *obj;
14206 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14207 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14208 return SWIG_Py_Void();
d14a1e28
RD
14209}
14210
0085ce49
RD
14211SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14212 return SWIG_Python_InitShadowInstance(args);
14213}
d14a1e28 14214
0085ce49
RD
14215SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14216 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14217 return 1;
d14a1e28
RD
14218}
14219
14220
0085ce49
RD
14221SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14222 PyObject *pyobj = 0;
14223
14224 {
14225#if wxUSE_UNICODE
14226 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14227#else
14228 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14229#endif
14230 }
14231 return pyobj;
14232}
14233
14234
14235SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14236 PyObject *resultobj = 0;
14237 wxWindow *arg1 = (wxWindow *) 0 ;
14238 int arg2 = (int) wxID_ANY ;
14239 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14240 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14241 wxSize const &arg4_defvalue = wxDefaultSize ;
14242 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14243 long arg5 = (long) 0 ;
14244 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14245 wxString *arg6 = (wxString *) &arg6_defvalue ;
14246 wxPyVListBox *result = 0 ;
14247 void *argp1 = 0 ;
14248 int res1 = 0 ;
14249 int val2 ;
14250 int ecode2 = 0 ;
14251 wxPoint temp3 ;
14252 wxSize temp4 ;
14253 long val5 ;
14254 int ecode5 = 0 ;
14255 bool temp6 = false ;
14256 PyObject * obj0 = 0 ;
14257 PyObject * obj1 = 0 ;
14258 PyObject * obj2 = 0 ;
14259 PyObject * obj3 = 0 ;
14260 PyObject * obj4 = 0 ;
14261 PyObject * obj5 = 0 ;
14262 char * kwnames[] = {
14263 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14264 };
14265
14266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14268 if (!SWIG_IsOK(res1)) {
14269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14270 }
14271 arg1 = reinterpret_cast< wxWindow * >(argp1);
14272 if (obj1) {
14273 ecode2 = SWIG_AsVal_int(obj1, &val2);
14274 if (!SWIG_IsOK(ecode2)) {
14275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14276 }
14277 arg2 = static_cast< int >(val2);
14278 }
14279 if (obj2) {
093d3ff1 14280 {
0085ce49
RD
14281 arg3 = &temp3;
14282 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 14283 }
0085ce49
RD
14284 }
14285 if (obj3) {
093d3ff1 14286 {
0085ce49
RD
14287 arg4 = &temp4;
14288 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 14289 }
0085ce49
RD
14290 }
14291 if (obj4) {
14292 ecode5 = SWIG_AsVal_long(obj4, &val5);
14293 if (!SWIG_IsOK(ecode5)) {
14294 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14295 }
14296 arg5 = static_cast< long >(val5);
14297 }
14298 if (obj5) {
d14a1e28 14299 {
0085ce49
RD
14300 arg6 = wxString_in_helper(obj5);
14301 if (arg6 == NULL) SWIG_fail;
14302 temp6 = true;
14303 }
14304 }
14305 {
14306 if (!wxPyCheckForApp()) SWIG_fail;
14307 PyThreadState* __tstate = wxPyBeginAllowThreads();
14308 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14313 {
14314 if (temp6)
14315 delete arg6;
14316 }
14317 return resultobj;
14318fail:
14319 {
14320 if (temp6)
14321 delete arg6;
14322 }
14323 return NULL;
d14a1e28
RD
14324}
14325
14326
0085ce49
RD
14327SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14328 PyObject *resultobj = 0;
14329 wxPyVListBox *result = 0 ;
14330
14331 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14332 {
14333 if (!wxPyCheckForApp()) SWIG_fail;
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 result = (wxPyVListBox *)new wxPyVListBox();
14336 wxPyEndAllowThreads(__tstate);
14337 if (PyErr_Occurred()) SWIG_fail;
14338 }
14339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14340 return resultobj;
14341fail:
14342 return NULL;
14343}
14344
14345
14346SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14347 PyObject *resultobj = 0;
14348 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14349 PyObject *arg2 = (PyObject *) 0 ;
14350 PyObject *arg3 = (PyObject *) 0 ;
14351 void *argp1 = 0 ;
14352 int res1 = 0 ;
14353 PyObject * obj0 = 0 ;
14354 PyObject * obj1 = 0 ;
14355 PyObject * obj2 = 0 ;
14356 char * kwnames[] = {
14357 (char *) "self",(char *) "self",(char *) "_class", NULL
14358 };
14359
14360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14362 if (!SWIG_IsOK(res1)) {
14363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14364 }
14365 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14366 arg2 = obj1;
14367 arg3 = obj2;
14368 {
14369 PyThreadState* __tstate = wxPyBeginAllowThreads();
14370 (arg1)->_setCallbackInfo(arg2,arg3);
14371 wxPyEndAllowThreads(__tstate);
14372 if (PyErr_Occurred()) SWIG_fail;
14373 }
14374 resultobj = SWIG_Py_Void();
14375 return resultobj;
14376fail:
14377 return NULL;
14378}
14379
14380
14381SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14382 PyObject *resultobj = 0;
14383 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14384 wxWindow *arg2 = (wxWindow *) 0 ;
14385 int arg3 = (int) wxID_ANY ;
14386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14388 wxSize const &arg5_defvalue = wxDefaultSize ;
14389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14390 long arg6 = (long) 0 ;
14391 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14392 wxString *arg7 = (wxString *) &arg7_defvalue ;
14393 bool result;
14394 void *argp1 = 0 ;
14395 int res1 = 0 ;
14396 void *argp2 = 0 ;
14397 int res2 = 0 ;
14398 int val3 ;
14399 int ecode3 = 0 ;
14400 wxPoint temp4 ;
14401 wxSize temp5 ;
14402 long val6 ;
14403 int ecode6 = 0 ;
14404 bool temp7 = false ;
14405 PyObject * obj0 = 0 ;
14406 PyObject * obj1 = 0 ;
14407 PyObject * obj2 = 0 ;
14408 PyObject * obj3 = 0 ;
14409 PyObject * obj4 = 0 ;
14410 PyObject * obj5 = 0 ;
14411 PyObject * obj6 = 0 ;
14412 char * kwnames[] = {
14413 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14414 };
14415
14416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14418 if (!SWIG_IsOK(res1)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14420 }
14421 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14422 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14423 if (!SWIG_IsOK(res2)) {
14424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14425 }
14426 arg2 = reinterpret_cast< wxWindow * >(argp2);
14427 if (obj2) {
14428 ecode3 = SWIG_AsVal_int(obj2, &val3);
14429 if (!SWIG_IsOK(ecode3)) {
14430 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14431 }
14432 arg3 = static_cast< int >(val3);
14433 }
14434 if (obj3) {
093d3ff1 14435 {
0085ce49
RD
14436 arg4 = &temp4;
14437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 14438 }
0085ce49
RD
14439 }
14440 if (obj4) {
d14a1e28 14441 {
0085ce49
RD
14442 arg5 = &temp5;
14443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 14444 }
0085ce49
RD
14445 }
14446 if (obj5) {
14447 ecode6 = SWIG_AsVal_long(obj5, &val6);
14448 if (!SWIG_IsOK(ecode6)) {
14449 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14450 }
14451 arg6 = static_cast< long >(val6);
14452 }
14453 if (obj6) {
4f89f6a3 14454 {
0085ce49
RD
14455 arg7 = wxString_in_helper(obj6);
14456 if (arg7 == NULL) SWIG_fail;
14457 temp7 = true;
4f89f6a3 14458 }
0085ce49
RD
14459 }
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14463 wxPyEndAllowThreads(__tstate);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 }
14466 {
14467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14468 }
14469 {
14470 if (temp7)
14471 delete arg7;
14472 }
14473 return resultobj;
14474fail:
14475 {
14476 if (temp7)
14477 delete arg7;
14478 }
14479 return NULL;
d14a1e28
RD
14480}
14481
14482
0085ce49
RD
14483SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14484 PyObject *resultobj = 0;
14485 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14486 size_t result;
14487 void *argp1 = 0 ;
14488 int res1 = 0 ;
14489 PyObject *swig_obj[1] ;
14490
14491 if (!args) SWIG_fail;
14492 swig_obj[0] = args;
14493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14494 if (!SWIG_IsOK(res1)) {
14495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14496 }
14497 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14498 {
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
14504 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14505 return resultobj;
14506fail:
14507 return NULL;
d14a1e28
RD
14508}
14509
14510
0085ce49
RD
14511SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14512 PyObject *resultobj = 0;
14513 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14514 bool result;
14515 void *argp1 = 0 ;
14516 int res1 = 0 ;
14517 PyObject *swig_obj[1] ;
14518
14519 if (!args) SWIG_fail;
14520 swig_obj[0] = args;
14521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14522 if (!SWIG_IsOK(res1)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14524 }
14525 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 {
14533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14534 }
14535 return resultobj;
14536fail:
14537 return NULL;
d14a1e28
RD
14538}
14539
14540
0085ce49
RD
14541SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14542 PyObject *resultobj = 0;
14543 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14544 int result;
14545 void *argp1 = 0 ;
14546 int res1 = 0 ;
14547 PyObject *swig_obj[1] ;
14548
14549 if (!args) SWIG_fail;
14550 swig_obj[0] = args;
14551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14552 if (!SWIG_IsOK(res1)) {
14553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14554 }
14555 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 resultobj = SWIG_From_int(static_cast< int >(result));
14563 return resultobj;
14564fail:
14565 return NULL;
14566}
14567
14568
14569SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj = 0;
14571 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14572 size_t arg2 ;
14573 bool result;
14574 void *argp1 = 0 ;
14575 int res1 = 0 ;
14576 size_t val2 ;
14577 int ecode2 = 0 ;
14578 PyObject * obj0 = 0 ;
14579 PyObject * obj1 = 0 ;
14580 char * kwnames[] = {
14581 (char *) "self",(char *) "item", NULL
14582 };
14583
14584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14586 if (!SWIG_IsOK(res1)) {
14587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14588 }
14589 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14590 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14591 if (!SWIG_IsOK(ecode2)) {
14592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14593 }
14594 arg2 = static_cast< size_t >(val2);
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 {
14602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14603 }
14604 return resultobj;
14605fail:
14606 return NULL;
14607}
14608
14609
14610SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14611 PyObject *resultobj = 0;
14612 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14613 size_t arg2 ;
14614 bool result;
14615 void *argp1 = 0 ;
14616 int res1 = 0 ;
14617 size_t val2 ;
14618 int ecode2 = 0 ;
14619 PyObject * obj0 = 0 ;
14620 PyObject * obj1 = 0 ;
14621 char * kwnames[] = {
14622 (char *) "self",(char *) "item", NULL
14623 };
14624
14625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14627 if (!SWIG_IsOK(res1)) {
14628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14629 }
14630 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14631 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14632 if (!SWIG_IsOK(ecode2)) {
14633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14634 }
14635 arg2 = static_cast< size_t >(val2);
14636 {
14637 PyThreadState* __tstate = wxPyBeginAllowThreads();
14638 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14639 wxPyEndAllowThreads(__tstate);
14640 if (PyErr_Occurred()) SWIG_fail;
14641 }
14642 {
14643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14644 }
14645 return resultobj;
14646fail:
14647 return NULL;
d14a1e28
RD
14648}
14649
14650
0085ce49
RD
14651SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14652 PyObject *resultobj = 0;
14653 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14654 size_t result;
14655 void *argp1 = 0 ;
14656 int res1 = 0 ;
14657 PyObject *swig_obj[1] ;
14658
14659 if (!args) SWIG_fail;
14660 swig_obj[0] = args;
14661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14662 if (!SWIG_IsOK(res1)) {
14663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14664 }
14665 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14666 {
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14673 return resultobj;
14674fail:
14675 return NULL;
d14a1e28
RD
14676}
14677
14678
0085ce49
RD
14679SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14680 PyObject *resultobj = 0;
14681 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14682 PyObject *result = 0 ;
14683 void *argp1 = 0 ;
14684 int res1 = 0 ;
14685 PyObject *swig_obj[1] ;
14686
14687 if (!args) SWIG_fail;
14688 swig_obj[0] = args;
14689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14690 if (!SWIG_IsOK(res1)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14692 }
14693 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14694 {
14695 PyThreadState* __tstate = wxPyBeginAllowThreads();
14696 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14697 wxPyEndAllowThreads(__tstate);
14698 if (PyErr_Occurred()) SWIG_fail;
14699 }
14700 resultobj = result;
14701 return resultobj;
14702fail:
14703 return NULL;
14704}
14705
14706
14707SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14708 PyObject *resultobj = 0;
14709 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14710 unsigned long arg2 ;
14711 PyObject *result = 0 ;
14712 void *argp1 = 0 ;
14713 int res1 = 0 ;
14714 unsigned long val2 ;
14715 int ecode2 = 0 ;
14716 PyObject * obj0 = 0 ;
14717 PyObject * obj1 = 0 ;
14718 char * kwnames[] = {
14719 (char *) "self",(char *) "cookie", NULL
14720 };
14721
14722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14724 if (!SWIG_IsOK(res1)) {
14725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14726 }
14727 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14728 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14729 if (!SWIG_IsOK(ecode2)) {
14730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14731 }
14732 arg2 = static_cast< unsigned long >(val2);
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 resultobj = result;
14740 return resultobj;
14741fail:
14742 return NULL;
d14a1e28
RD
14743}
14744
14745
0085ce49
RD
14746SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14747 PyObject *resultobj = 0;
14748 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14749 wxPoint result;
14750 void *argp1 = 0 ;
14751 int res1 = 0 ;
14752 PyObject *swig_obj[1] ;
14753
14754 if (!args) SWIG_fail;
14755 swig_obj[0] = args;
14756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14757 if (!SWIG_IsOK(res1)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14759 }
14760 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14761 {
14762 PyThreadState* __tstate = wxPyBeginAllowThreads();
14763 result = ((wxPyVListBox const *)arg1)->GetMargins();
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
14767 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14768 return resultobj;
14769fail:
14770 return NULL;
d14a1e28
RD
14771}
14772
14773
0085ce49
RD
14774SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14775 PyObject *resultobj = 0;
14776 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14777 wxColour *result = 0 ;
14778 void *argp1 = 0 ;
14779 int res1 = 0 ;
14780 PyObject *swig_obj[1] ;
14781
14782 if (!args) SWIG_fail;
14783 swig_obj[0] = args;
14784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14785 if (!SWIG_IsOK(res1)) {
14786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14787 }
14788 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14789 {
14790 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14791 {
0085ce49
RD
14792 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14793 result = (wxColour *) &_result_ref;
093d3ff1 14794 }
0085ce49
RD
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14799 return resultobj;
14800fail:
14801 return NULL;
14802}
14803
14804
14805SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj = 0;
14807 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14808 size_t arg2 ;
14809 void *argp1 = 0 ;
14810 int res1 = 0 ;
14811 size_t val2 ;
14812 int ecode2 = 0 ;
14813 PyObject * obj0 = 0 ;
14814 PyObject * obj1 = 0 ;
14815 char * kwnames[] = {
14816 (char *) "self",(char *) "count", NULL
14817 };
14818
14819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14821 if (!SWIG_IsOK(res1)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14823 }
14824 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14825 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14826 if (!SWIG_IsOK(ecode2)) {
14827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14828 }
14829 arg2 = static_cast< size_t >(val2);
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 (arg1)->SetItemCount(arg2);
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 resultobj = SWIG_Py_Void();
14837 return resultobj;
14838fail:
14839 return NULL;
d14a1e28
RD
14840}
14841
14842
0085ce49
RD
14843SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14844 PyObject *resultobj = 0;
14845 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14846 void *argp1 = 0 ;
14847 int res1 = 0 ;
14848 PyObject *swig_obj[1] ;
14849
14850 if (!args) SWIG_fail;
14851 swig_obj[0] = args;
14852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14853 if (!SWIG_IsOK(res1)) {
14854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14855 }
14856 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 (arg1)->Clear();
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
14863 resultobj = SWIG_Py_Void();
14864 return resultobj;
14865fail:
14866 return NULL;
14867}
14868
14869
14870SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj = 0;
14872 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14873 int arg2 ;
14874 void *argp1 = 0 ;
14875 int res1 = 0 ;
14876 int val2 ;
14877 int ecode2 = 0 ;
14878 PyObject * obj0 = 0 ;
14879 PyObject * obj1 = 0 ;
14880 char * kwnames[] = {
14881 (char *) "self",(char *) "selection", NULL
14882 };
14883
14884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14886 if (!SWIG_IsOK(res1)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14888 }
14889 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14890 ecode2 = SWIG_AsVal_int(obj1, &val2);
14891 if (!SWIG_IsOK(ecode2)) {
14892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14893 }
14894 arg2 = static_cast< int >(val2);
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 (arg1)->SetSelection(arg2);
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = SWIG_Py_Void();
14902 return resultobj;
14903fail:
14904 return NULL;
14905}
14906
14907
14908SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj = 0;
14910 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14911 size_t arg2 ;
14912 bool arg3 = (bool) true ;
14913 bool result;
14914 void *argp1 = 0 ;
14915 int res1 = 0 ;
14916 size_t val2 ;
14917 int ecode2 = 0 ;
14918 bool val3 ;
14919 int ecode3 = 0 ;
14920 PyObject * obj0 = 0 ;
14921 PyObject * obj1 = 0 ;
14922 PyObject * obj2 = 0 ;
14923 char * kwnames[] = {
14924 (char *) "self",(char *) "item",(char *) "select", NULL
14925 };
14926
14927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14929 if (!SWIG_IsOK(res1)) {
14930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14931 }
14932 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14933 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14934 if (!SWIG_IsOK(ecode2)) {
14935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14936 }
14937 arg2 = static_cast< size_t >(val2);
14938 if (obj2) {
14939 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14940 if (!SWIG_IsOK(ecode3)) {
14941 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14942 }
14943 arg3 = static_cast< bool >(val3);
14944 }
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (bool)(arg1)->Select(arg2,arg3);
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 {
14952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14953 }
14954 return resultobj;
14955fail:
14956 return NULL;
14957}
14958
14959
14960SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj = 0;
14962 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14963 size_t arg2 ;
14964 size_t arg3 ;
14965 bool result;
14966 void *argp1 = 0 ;
14967 int res1 = 0 ;
14968 size_t val2 ;
14969 int ecode2 = 0 ;
14970 size_t val3 ;
14971 int ecode3 = 0 ;
14972 PyObject * obj0 = 0 ;
14973 PyObject * obj1 = 0 ;
14974 PyObject * obj2 = 0 ;
14975 char * kwnames[] = {
2131d850 14976 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
14977 };
14978
14979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14981 if (!SWIG_IsOK(res1)) {
14982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14983 }
14984 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14985 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14986 if (!SWIG_IsOK(ecode2)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14988 }
14989 arg2 = static_cast< size_t >(val2);
14990 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14991 if (!SWIG_IsOK(ecode3)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14993 }
14994 arg3 = static_cast< size_t >(val3);
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 result = (bool)(arg1)->SelectRange(arg2,arg3);
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 {
15002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15003 }
15004 return resultobj;
15005fail:
15006 return NULL;
15007}
15008
15009
15010SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj = 0;
15012 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15013 size_t arg2 ;
15014 void *argp1 = 0 ;
15015 int res1 = 0 ;
15016 size_t val2 ;
15017 int ecode2 = 0 ;
15018 PyObject * obj0 = 0 ;
15019 PyObject * obj1 = 0 ;
15020 char * kwnames[] = {
15021 (char *) "self",(char *) "item", NULL
15022 };
15023
15024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15026 if (!SWIG_IsOK(res1)) {
15027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15028 }
15029 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15030 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15031 if (!SWIG_IsOK(ecode2)) {
15032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15033 }
15034 arg2 = static_cast< size_t >(val2);
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 (arg1)->Toggle(arg2);
15038 wxPyEndAllowThreads(__tstate);
15039 if (PyErr_Occurred()) SWIG_fail;
15040 }
15041 resultobj = SWIG_Py_Void();
15042 return resultobj;
15043fail:
15044 return NULL;
d14a1e28
RD
15045}
15046
15047
0085ce49
RD
15048SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15049 PyObject *resultobj = 0;
15050 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15051 bool result;
15052 void *argp1 = 0 ;
15053 int res1 = 0 ;
15054 PyObject *swig_obj[1] ;
15055
15056 if (!args) SWIG_fail;
15057 swig_obj[0] = args;
15058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15059 if (!SWIG_IsOK(res1)) {
15060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15061 }
15062 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15063 {
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 result = (bool)(arg1)->SelectAll();
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 {
15070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15071 }
15072 return resultobj;
15073fail:
15074 return NULL;
d14a1e28
RD
15075}
15076
15077
0085ce49
RD
15078SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15079 PyObject *resultobj = 0;
15080 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15081 bool result;
15082 void *argp1 = 0 ;
15083 int res1 = 0 ;
15084 PyObject *swig_obj[1] ;
15085
15086 if (!args) SWIG_fail;
15087 swig_obj[0] = args;
15088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15089 if (!SWIG_IsOK(res1)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15091 }
15092 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15093 {
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
15095 result = (bool)(arg1)->DeselectAll();
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 {
15100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15101 }
15102 return resultobj;
15103fail:
15104 return NULL;
15105}
15106
15107
15108SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15109 PyObject *resultobj = 0;
15110 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15111 wxPoint *arg2 = 0 ;
15112 void *argp1 = 0 ;
15113 int res1 = 0 ;
15114 wxPoint temp2 ;
15115 PyObject * obj0 = 0 ;
15116 PyObject * obj1 = 0 ;
15117 char * kwnames[] = {
15118 (char *) "self",(char *) "pt", NULL
15119 };
15120
15121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15123 if (!SWIG_IsOK(res1)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15125 }
15126 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15127 {
15128 arg2 = &temp2;
15129 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15130 }
15131 {
15132 PyThreadState* __tstate = wxPyBeginAllowThreads();
15133 (arg1)->SetMargins((wxPoint const &)*arg2);
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
15137 resultobj = SWIG_Py_Void();
15138 return resultobj;
15139fail:
15140 return NULL;
15141}
15142
15143
15144SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj = 0;
15146 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15147 int arg2 ;
15148 int arg3 ;
15149 void *argp1 = 0 ;
15150 int res1 = 0 ;
15151 int val2 ;
15152 int ecode2 = 0 ;
15153 int val3 ;
15154 int ecode3 = 0 ;
15155 PyObject * obj0 = 0 ;
15156 PyObject * obj1 = 0 ;
15157 PyObject * obj2 = 0 ;
15158 char * kwnames[] = {
15159 (char *) "self",(char *) "x",(char *) "y", NULL
15160 };
15161
15162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15164 if (!SWIG_IsOK(res1)) {
15165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15166 }
15167 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15168 ecode2 = SWIG_AsVal_int(obj1, &val2);
15169 if (!SWIG_IsOK(ecode2)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15171 }
15172 arg2 = static_cast< int >(val2);
15173 ecode3 = SWIG_AsVal_int(obj2, &val3);
15174 if (!SWIG_IsOK(ecode3)) {
15175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15176 }
15177 arg3 = static_cast< int >(val3);
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 (arg1)->SetMargins(arg2,arg3);
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 resultobj = SWIG_Py_Void();
15185 return resultobj;
15186fail:
15187 return NULL;
15188}
15189
15190
15191SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj = 0;
15193 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15194 wxColour *arg2 = 0 ;
15195 void *argp1 = 0 ;
15196 int res1 = 0 ;
15197 wxColour temp2 ;
15198 PyObject * obj0 = 0 ;
15199 PyObject * obj1 = 0 ;
15200 char * kwnames[] = {
15201 (char *) "self",(char *) "col", NULL
15202 };
15203
15204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15206 if (!SWIG_IsOK(res1)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15208 }
15209 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15210 {
15211 arg2 = &temp2;
15212 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15213 }
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 resultobj = SWIG_Py_Void();
15221 return resultobj;
15222fail:
15223 return NULL;
15224}
15225
15226
75219dcb
RD
15227SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15228 PyObject *resultobj = 0;
15229 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15230 wxDC *arg2 = 0 ;
15231 wxRect *arg3 = 0 ;
15232 size_t arg4 ;
15233 void *argp1 = 0 ;
15234 int res1 = 0 ;
15235 void *argp2 = 0 ;
15236 int res2 = 0 ;
15237 wxRect temp3 ;
15238 size_t val4 ;
15239 int ecode4 = 0 ;
15240 PyObject * obj0 = 0 ;
15241 PyObject * obj1 = 0 ;
15242 PyObject * obj2 = 0 ;
15243 PyObject * obj3 = 0 ;
15244 char * kwnames[] = {
15245 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15246 };
15247
15248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15250 if (!SWIG_IsOK(res1)) {
15251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15252 }
15253 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15254 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15255 if (!SWIG_IsOK(res2)) {
15256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15257 }
15258 if (!argp2) {
15259 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15260 }
15261 arg2 = reinterpret_cast< wxDC * >(argp2);
15262 {
15263 arg3 = &temp3;
15264 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15265 }
15266 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15267 if (!SWIG_IsOK(ecode4)) {
15268 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15269 }
15270 arg4 = static_cast< size_t >(val4);
15271 {
15272 PyThreadState* __tstate = wxPyBeginAllowThreads();
15273 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15274 wxPyEndAllowThreads(__tstate);
15275 if (PyErr_Occurred()) SWIG_fail;
15276 }
15277 resultobj = SWIG_Py_Void();
15278 return resultobj;
15279fail:
15280 return NULL;
15281}
15282
15283
15284SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj = 0;
15286 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15287 wxDC *arg2 = 0 ;
15288 wxRect *arg3 = 0 ;
15289 size_t arg4 ;
15290 void *argp1 = 0 ;
15291 int res1 = 0 ;
15292 void *argp2 = 0 ;
15293 int res2 = 0 ;
15294 wxRect temp3 ;
15295 size_t val4 ;
15296 int ecode4 = 0 ;
15297 PyObject * obj0 = 0 ;
15298 PyObject * obj1 = 0 ;
15299 PyObject * obj2 = 0 ;
15300 PyObject * obj3 = 0 ;
15301 char * kwnames[] = {
15302 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15303 };
15304
15305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15307 if (!SWIG_IsOK(res1)) {
15308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15309 }
15310 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15311 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15312 if (!SWIG_IsOK(res2)) {
15313 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15314 }
15315 if (!argp2) {
15316 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15317 }
15318 arg2 = reinterpret_cast< wxDC * >(argp2);
15319 {
15320 arg3 = &temp3;
15321 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15322 }
15323 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15324 if (!SWIG_IsOK(ecode4)) {
15325 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15326 }
15327 arg4 = static_cast< size_t >(val4);
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15331 wxPyEndAllowThreads(__tstate);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 }
15334 resultobj = SWIG_Py_Void();
15335 return resultobj;
15336fail:
15337 return NULL;
15338}
15339
15340
0085ce49
RD
15341SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15342 PyObject *obj;
15343 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15344 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15345 return SWIG_Py_Void();
15346}
15347
15348SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15349 return SWIG_Python_InitShadowInstance(args);
15350}
15351
15352SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj = 0;
15354 wxWindow *arg1 = (wxWindow *) 0 ;
15355 int arg2 = (int) wxID_ANY ;
15356 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15357 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15358 wxSize const &arg4_defvalue = wxDefaultSize ;
15359 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15360 long arg5 = (long) 0 ;
15361 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15362 wxString *arg6 = (wxString *) &arg6_defvalue ;
15363 wxPyHtmlListBox *result = 0 ;
15364 void *argp1 = 0 ;
15365 int res1 = 0 ;
15366 int val2 ;
15367 int ecode2 = 0 ;
15368 wxPoint temp3 ;
15369 wxSize temp4 ;
15370 long val5 ;
15371 int ecode5 = 0 ;
15372 bool temp6 = false ;
15373 PyObject * obj0 = 0 ;
15374 PyObject * obj1 = 0 ;
15375 PyObject * obj2 = 0 ;
15376 PyObject * obj3 = 0 ;
15377 PyObject * obj4 = 0 ;
15378 PyObject * obj5 = 0 ;
15379 char * kwnames[] = {
15380 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15381 };
15382
15383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15385 if (!SWIG_IsOK(res1)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15387 }
15388 arg1 = reinterpret_cast< wxWindow * >(argp1);
15389 if (obj1) {
15390 ecode2 = SWIG_AsVal_int(obj1, &val2);
15391 if (!SWIG_IsOK(ecode2)) {
15392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15393 }
15394 arg2 = static_cast< int >(val2);
15395 }
15396 if (obj2) {
093d3ff1 15397 {
0085ce49
RD
15398 arg3 = &temp3;
15399 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 15400 }
0085ce49
RD
15401 }
15402 if (obj3) {
d14a1e28 15403 {
0085ce49
RD
15404 arg4 = &temp4;
15405 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15406 }
0085ce49
RD
15407 }
15408 if (obj4) {
15409 ecode5 = SWIG_AsVal_long(obj4, &val5);
15410 if (!SWIG_IsOK(ecode5)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15412 }
15413 arg5 = static_cast< long >(val5);
15414 }
15415 if (obj5) {
d14a1e28 15416 {
0085ce49
RD
15417 arg6 = wxString_in_helper(obj5);
15418 if (arg6 == NULL) SWIG_fail;
15419 temp6 = true;
15420 }
15421 }
15422 {
15423 if (!wxPyCheckForApp()) SWIG_fail;
15424 PyThreadState* __tstate = wxPyBeginAllowThreads();
15425 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15426 wxPyEndAllowThreads(__tstate);
15427 if (PyErr_Occurred()) SWIG_fail;
15428 }
15429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15430 {
15431 if (temp6)
15432 delete arg6;
15433 }
15434 return resultobj;
15435fail:
15436 {
15437 if (temp6)
15438 delete arg6;
15439 }
15440 return NULL;
d14a1e28
RD
15441}
15442
15443
0085ce49
RD
15444SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15445 PyObject *resultobj = 0;
15446 wxPyHtmlListBox *result = 0 ;
15447
15448 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15449 {
15450 if (!wxPyCheckForApp()) SWIG_fail;
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
15452 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15453 wxPyEndAllowThreads(__tstate);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 }
15456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15457 return resultobj;
15458fail:
15459 return NULL;
15460}
15461
15462
15463SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15464 PyObject *resultobj = 0;
15465 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15466 PyObject *arg2 = (PyObject *) 0 ;
15467 PyObject *arg3 = (PyObject *) 0 ;
15468 void *argp1 = 0 ;
15469 int res1 = 0 ;
15470 PyObject * obj0 = 0 ;
15471 PyObject * obj1 = 0 ;
15472 PyObject * obj2 = 0 ;
15473 char * kwnames[] = {
15474 (char *) "self",(char *) "self",(char *) "_class", NULL
15475 };
15476
15477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15479 if (!SWIG_IsOK(res1)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15481 }
15482 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15483 arg2 = obj1;
15484 arg3 = obj2;
15485 {
15486 PyThreadState* __tstate = wxPyBeginAllowThreads();
15487 (arg1)->_setCallbackInfo(arg2,arg3);
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 resultobj = SWIG_Py_Void();
15492 return resultobj;
15493fail:
15494 return NULL;
15495}
15496
15497
15498SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15499 PyObject *resultobj = 0;
15500 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15501 wxWindow *arg2 = (wxWindow *) 0 ;
15502 int arg3 = (int) wxID_ANY ;
15503 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15504 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15505 wxSize const &arg5_defvalue = wxDefaultSize ;
15506 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15507 long arg6 = (long) 0 ;
15508 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15509 wxString *arg7 = (wxString *) &arg7_defvalue ;
15510 bool result;
15511 void *argp1 = 0 ;
15512 int res1 = 0 ;
15513 void *argp2 = 0 ;
15514 int res2 = 0 ;
15515 int val3 ;
15516 int ecode3 = 0 ;
15517 wxPoint temp4 ;
15518 wxSize temp5 ;
15519 long val6 ;
15520 int ecode6 = 0 ;
15521 bool temp7 = false ;
15522 PyObject * obj0 = 0 ;
15523 PyObject * obj1 = 0 ;
15524 PyObject * obj2 = 0 ;
15525 PyObject * obj3 = 0 ;
15526 PyObject * obj4 = 0 ;
15527 PyObject * obj5 = 0 ;
15528 PyObject * obj6 = 0 ;
15529 char * kwnames[] = {
15530 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15531 };
15532
15533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15535 if (!SWIG_IsOK(res1)) {
15536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15537 }
15538 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15539 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15540 if (!SWIG_IsOK(res2)) {
15541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15542 }
15543 arg2 = reinterpret_cast< wxWindow * >(argp2);
15544 if (obj2) {
15545 ecode3 = SWIG_AsVal_int(obj2, &val3);
15546 if (!SWIG_IsOK(ecode3)) {
15547 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15548 }
15549 arg3 = static_cast< int >(val3);
15550 }
15551 if (obj3) {
093d3ff1 15552 {
0085ce49
RD
15553 arg4 = &temp4;
15554 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15555 }
0085ce49
RD
15556 }
15557 if (obj4) {
d14a1e28 15558 {
0085ce49
RD
15559 arg5 = &temp5;
15560 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 15561 }
0085ce49
RD
15562 }
15563 if (obj5) {
15564 ecode6 = SWIG_AsVal_long(obj5, &val6);
15565 if (!SWIG_IsOK(ecode6)) {
15566 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15567 }
15568 arg6 = static_cast< long >(val6);
15569 }
15570 if (obj6) {
093d3ff1 15571 {
0085ce49
RD
15572 arg7 = wxString_in_helper(obj6);
15573 if (arg7 == NULL) SWIG_fail;
15574 temp7 = true;
093d3ff1 15575 }
0085ce49
RD
15576 }
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15580 wxPyEndAllowThreads(__tstate);
15581 if (PyErr_Occurred()) SWIG_fail;
15582 }
15583 {
15584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15585 }
15586 {
15587 if (temp7)
15588 delete arg7;
15589 }
15590 return resultobj;
15591fail:
15592 {
15593 if (temp7)
15594 delete arg7;
15595 }
15596 return NULL;
15597}
15598
15599
15600SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj = 0;
15602 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15603 size_t arg2 ;
15604 void *argp1 = 0 ;
15605 int res1 = 0 ;
15606 size_t val2 ;
15607 int ecode2 = 0 ;
15608 PyObject * obj0 = 0 ;
15609 PyObject * obj1 = 0 ;
15610 char * kwnames[] = {
15611 (char *) "self",(char *) "count", NULL
15612 };
15613
15614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15616 if (!SWIG_IsOK(res1)) {
15617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15618 }
15619 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15620 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15621 if (!SWIG_IsOK(ecode2)) {
15622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15623 }
15624 arg2 = static_cast< size_t >(val2);
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 (arg1)->SetItemCount(arg2);
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 resultobj = SWIG_Py_Void();
15632 return resultobj;
15633fail:
15634 return NULL;
d14a1e28
RD
15635}
15636
15637
0085ce49
RD
15638SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15639 PyObject *resultobj = 0;
15640 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15641 wxFileSystem *result = 0 ;
15642 void *argp1 = 0 ;
15643 int res1 = 0 ;
15644 PyObject *swig_obj[1] ;
15645
15646 if (!args) SWIG_fail;
15647 swig_obj[0] = args;
15648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15649 if (!SWIG_IsOK(res1)) {
15650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15651 }
15652 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15655 {
0085ce49
RD
15656 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15657 result = (wxFileSystem *) &_result_ref;
994141e6 15658 }
0085ce49
RD
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15663 return resultobj;
15664fail:
15665 return NULL;
d14a1e28
RD
15666}
15667
15668
e9d6f3a4
RD
15669SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15670 PyObject *resultobj = 0;
15671 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15672 size_t arg2 ;
15673 wxHtmlLinkInfo *arg3 = 0 ;
15674 void *argp1 = 0 ;
15675 int res1 = 0 ;
15676 size_t val2 ;
15677 int ecode2 = 0 ;
15678 void *argp3 = 0 ;
15679 int res3 = 0 ;
15680 PyObject * obj0 = 0 ;
15681 PyObject * obj1 = 0 ;
15682 PyObject * obj2 = 0 ;
15683 char * kwnames[] = {
15684 (char *) "self",(char *) "n",(char *) "link", NULL
15685 };
15686
15687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15689 if (!SWIG_IsOK(res1)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15691 }
15692 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15693 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15694 if (!SWIG_IsOK(ecode2)) {
15695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15696 }
15697 arg2 = static_cast< size_t >(val2);
15698 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15699 if (!SWIG_IsOK(res3)) {
15700 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15701 }
15702 if (!argp3) {
15703 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15704 }
15705 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15706 {
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
15708 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15709 wxPyEndAllowThreads(__tstate);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
15712 resultobj = SWIG_Py_Void();
15713 return resultobj;
15714fail:
15715 return NULL;
15716}
15717
15718
0085ce49
RD
15719SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15720 PyObject *obj;
15721 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15722 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15723 return SWIG_Py_Void();
d14a1e28
RD
15724}
15725
0085ce49
RD
15726SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15727 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
15728}
15729
0085ce49
RD
15730SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15731 PyObject *resultobj = 0;
15732 wxPyTaskBarIcon *result = 0 ;
15733
15734 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15735 {
15736 if (!wxPyCheckForApp()) SWIG_fail;
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15743 return resultobj;
15744fail:
15745 return NULL;
d14a1e28
RD
15746}
15747
15748
0085ce49
RD
15749SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15750 PyObject *resultobj = 0;
15751 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15752 void *argp1 = 0 ;
15753 int res1 = 0 ;
15754 PyObject *swig_obj[1] ;
15755
15756 if (!args) SWIG_fail;
15757 swig_obj[0] = args;
15758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15759 if (!SWIG_IsOK(res1)) {
15760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15761 }
15762 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 delete arg1;
15766
15767 wxPyEndAllowThreads(__tstate);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 }
15770 resultobj = SWIG_Py_Void();
15771 return resultobj;
15772fail:
15773 return NULL;
15774}
15775
15776
15777SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj = 0;
15779 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15780 PyObject *arg2 = (PyObject *) 0 ;
15781 PyObject *arg3 = (PyObject *) 0 ;
15782 int arg4 ;
15783 void *argp1 = 0 ;
15784 int res1 = 0 ;
15785 int val4 ;
15786 int ecode4 = 0 ;
15787 PyObject * obj0 = 0 ;
15788 PyObject * obj1 = 0 ;
15789 PyObject * obj2 = 0 ;
15790 PyObject * obj3 = 0 ;
15791 char * kwnames[] = {
15792 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15793 };
15794
15795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15797 if (!SWIG_IsOK(res1)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15799 }
15800 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15801 arg2 = obj1;
15802 arg3 = obj2;
15803 ecode4 = SWIG_AsVal_int(obj3, &val4);
15804 if (!SWIG_IsOK(ecode4)) {
15805 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15806 }
15807 arg4 = static_cast< int >(val4);
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 resultobj = SWIG_Py_Void();
15815 return resultobj;
15816fail:
15817 return NULL;
d14a1e28
RD
15818}
15819
15820
0085ce49
RD
15821SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15822 PyObject *resultobj = 0;
15823 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15824 void *argp1 = 0 ;
15825 int res1 = 0 ;
15826 PyObject *swig_obj[1] ;
15827
15828 if (!args) SWIG_fail;
15829 swig_obj[0] = args;
15830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15831 if (!SWIG_IsOK(res1)) {
15832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15833 }
15834 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15835 {
15836 PyThreadState* __tstate = wxPyBeginAllowThreads();
15837 wxPyTaskBarIcon_Destroy(arg1);
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 resultobj = SWIG_Py_Void();
15842 return resultobj;
15843fail:
15844 return NULL;
d14a1e28
RD
15845}
15846
15847
0085ce49
RD
15848SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15849 PyObject *resultobj = 0;
15850 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15851 bool result;
15852 void *argp1 = 0 ;
15853 int res1 = 0 ;
15854 PyObject *swig_obj[1] ;
15855
15856 if (!args) SWIG_fail;
15857 swig_obj[0] = args;
15858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15859 if (!SWIG_IsOK(res1)) {
15860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15861 }
15862 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15863 {
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
15865 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 {
15870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15871 }
15872 return resultobj;
15873fail:
15874 return NULL;
d14a1e28
RD
15875}
15876
15877
0085ce49
RD
15878SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15879 PyObject *resultobj = 0;
15880 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15881 bool result;
15882 void *argp1 = 0 ;
15883 int res1 = 0 ;
15884 PyObject *swig_obj[1] ;
15885
15886 if (!args) SWIG_fail;
15887 swig_obj[0] = args;
15888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15889 if (!SWIG_IsOK(res1)) {
15890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15891 }
15892 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15893 {
15894 PyThreadState* __tstate = wxPyBeginAllowThreads();
15895 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15896 wxPyEndAllowThreads(__tstate);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 {
15900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15901 }
15902 return resultobj;
15903fail:
15904 return NULL;
15905}
15906
15907
15908SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15909 PyObject *resultobj = 0;
15910 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15911 wxIcon *arg2 = 0 ;
15912 wxString const &arg3_defvalue = wxPyEmptyString ;
15913 wxString *arg3 = (wxString *) &arg3_defvalue ;
15914 bool result;
15915 void *argp1 = 0 ;
15916 int res1 = 0 ;
15917 void *argp2 = 0 ;
15918 int res2 = 0 ;
15919 bool temp3 = false ;
15920 PyObject * obj0 = 0 ;
15921 PyObject * obj1 = 0 ;
15922 PyObject * obj2 = 0 ;
15923 char * kwnames[] = {
15924 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15925 };
15926
15927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15929 if (!SWIG_IsOK(res1)) {
15930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15931 }
15932 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15933 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15934 if (!SWIG_IsOK(res2)) {
15935 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15936 }
15937 if (!argp2) {
15938 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15939 }
15940 arg2 = reinterpret_cast< wxIcon * >(argp2);
15941 if (obj2) {
093d3ff1 15942 {
0085ce49
RD
15943 arg3 = wxString_in_helper(obj2);
15944 if (arg3 == NULL) SWIG_fail;
15945 temp3 = true;
093d3ff1 15946 }
0085ce49
RD
15947 }
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15951 wxPyEndAllowThreads(__tstate);
15952 if (PyErr_Occurred()) SWIG_fail;
15953 }
15954 {
15955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15956 }
15957 {
15958 if (temp3)
15959 delete arg3;
15960 }
15961 return resultobj;
15962fail:
15963 {
15964 if (temp3)
15965 delete arg3;
15966 }
15967 return NULL;
d14a1e28
RD
15968}
15969
15970
0085ce49
RD
15971SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15972 PyObject *resultobj = 0;
15973 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15974 bool result;
15975 void *argp1 = 0 ;
15976 int res1 = 0 ;
15977 PyObject *swig_obj[1] ;
15978
15979 if (!args) SWIG_fail;
15980 swig_obj[0] = args;
15981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15982 if (!SWIG_IsOK(res1)) {
15983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15984 }
15985 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15986 {
15987 PyThreadState* __tstate = wxPyBeginAllowThreads();
15988 result = (bool)(arg1)->RemoveIcon();
15989 wxPyEndAllowThreads(__tstate);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 }
15992 {
15993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15994 }
15995 return resultobj;
15996fail:
15997 return NULL;
15998}
15999
16000
16001SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16002 PyObject *resultobj = 0;
16003 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16004 wxMenu *arg2 = (wxMenu *) 0 ;
16005 bool result;
16006 void *argp1 = 0 ;
16007 int res1 = 0 ;
16008 void *argp2 = 0 ;
16009 int res2 = 0 ;
16010 PyObject * obj0 = 0 ;
16011 PyObject * obj1 = 0 ;
16012 char * kwnames[] = {
16013 (char *) "self",(char *) "menu", NULL
16014 };
16015
16016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16018 if (!SWIG_IsOK(res1)) {
16019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16020 }
16021 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16022 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16023 if (!SWIG_IsOK(res2)) {
16024 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16025 }
16026 arg2 = reinterpret_cast< wxMenu * >(argp2);
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 result = (bool)(arg1)->PopupMenu(arg2);
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 {
16034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16035 }
16036 return resultobj;
16037fail:
16038 return NULL;
d14a1e28
RD
16039}
16040
16041
0085ce49
RD
16042SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16043 PyObject *obj;
16044 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16045 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16046 return SWIG_Py_Void();
d14a1e28
RD
16047}
16048
0085ce49
RD
16049SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16050 return SWIG_Python_InitShadowInstance(args);
16051}
d14a1e28 16052
0085ce49
RD
16053SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj = 0;
16055 wxEventType arg1 ;
16056 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16057 wxTaskBarIconEvent *result = 0 ;
16058 int val1 ;
16059 int ecode1 = 0 ;
16060 void *argp2 = 0 ;
16061 int res2 = 0 ;
16062 PyObject * obj0 = 0 ;
16063 PyObject * obj1 = 0 ;
16064 char * kwnames[] = {
16065 (char *) "evtType",(char *) "tbIcon", NULL
16066 };
16067
16068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16069 ecode1 = SWIG_AsVal_int(obj0, &val1);
16070 if (!SWIG_IsOK(ecode1)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16072 }
16073 arg1 = static_cast< wxEventType >(val1);
16074 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16075 if (!SWIG_IsOK(res2)) {
16076 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16077 }
16078 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16079 {
16080 PyThreadState* __tstate = wxPyBeginAllowThreads();
16081 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16082 wxPyEndAllowThreads(__tstate);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
16085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16086 return resultobj;
16087fail:
16088 return NULL;
d14a1e28
RD
16089}
16090
16091
0085ce49
RD
16092SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16093 PyObject *obj;
16094 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16095 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16096 return SWIG_Py_Void();
d14a1e28
RD
16097}
16098
0085ce49
RD
16099SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16100 return SWIG_Python_InitShadowInstance(args);
16101}
d14a1e28 16102
0085ce49
RD
16103SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16104 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16105 return 1;
d14a1e28
RD
16106}
16107
16108
0085ce49
RD
16109SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16110 PyObject *pyobj = 0;
16111
16112 {
16113#if wxUSE_UNICODE
16114 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16115#else
16116 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16117#endif
16118 }
16119 return pyobj;
d14a1e28
RD
16120}
16121
16122
0085ce49
RD
16123SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16124 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16125 return 1;
d14a1e28
RD
16126}
16127
16128
0085ce49
RD
16129SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16130 PyObject *pyobj = 0;
16131
16132 {
16133#if wxUSE_UNICODE
16134 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16135#else
16136 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16137#endif
16138 }
16139 return pyobj;
d14a1e28
RD
16140}
16141
16142
0085ce49
RD
16143SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16144 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16145 return 1;
d14a1e28
RD
16146}
16147
16148
0085ce49
RD
16149SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16150 PyObject *pyobj = 0;
16151
16152 {
16153#if wxUSE_UNICODE
16154 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16155#else
16156 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16157#endif
16158 }
16159 return pyobj;
d14a1e28
RD
16160}
16161
16162
0085ce49
RD
16163SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16164 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16165 return 1;
d14a1e28
RD
16166}
16167
16168
0085ce49
RD
16169SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16170 PyObject *pyobj = 0;
16171
16172 {
16173#if wxUSE_UNICODE
16174 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16175#else
16176 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16177#endif
16178 }
16179 return pyobj;
d14a1e28
RD
16180}
16181
16182
0085ce49
RD
16183SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16184 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16185 return 1;
d14a1e28
RD
16186}
16187
16188
0085ce49
RD
16189SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16190 PyObject *pyobj = 0;
16191
16192 {
16193#if wxUSE_UNICODE
16194 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16195#else
16196 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16197#endif
16198 }
16199 return pyobj;
d14a1e28
RD
16200}
16201
16202
0085ce49
RD
16203SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16204 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16205 return 1;
d14a1e28
RD
16206}
16207
16208
0085ce49
RD
16209SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16210 PyObject *pyobj = 0;
16211
16212 {
16213#if wxUSE_UNICODE
16214 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16215#else
16216 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16217#endif
16218 }
16219 return pyobj;
d14a1e28
RD
16220}
16221
16222
0085ce49
RD
16223SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16224 PyObject *resultobj = 0;
16225 wxColourData *result = 0 ;
16226
16227 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 result = (wxColourData *)new wxColourData();
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16235 return resultobj;
16236fail:
16237 return NULL;
d14a1e28
RD
16238}
16239
16240
0085ce49
RD
16241SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16242 PyObject *resultobj = 0;
16243 wxColourData *arg1 = (wxColourData *) 0 ;
16244 void *argp1 = 0 ;
16245 int res1 = 0 ;
16246 PyObject *swig_obj[1] ;
16247
16248 if (!args) SWIG_fail;
16249 swig_obj[0] = args;
16250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16251 if (!SWIG_IsOK(res1)) {
16252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16253 }
16254 arg1 = reinterpret_cast< wxColourData * >(argp1);
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 delete arg1;
d14a1e28 16258
0085ce49
RD
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 resultobj = SWIG_Py_Void();
16263 return resultobj;
16264fail:
16265 return NULL;
d14a1e28
RD
16266}
16267
16268
0085ce49
RD
16269SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16270 PyObject *resultobj = 0;
16271 wxColourData *arg1 = (wxColourData *) 0 ;
16272 bool result;
16273 void *argp1 = 0 ;
16274 int res1 = 0 ;
16275 PyObject *swig_obj[1] ;
16276
16277 if (!args) SWIG_fail;
16278 swig_obj[0] = args;
16279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16280 if (!SWIG_IsOK(res1)) {
16281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16282 }
16283 arg1 = reinterpret_cast< wxColourData * >(argp1);
16284 {
16285 PyThreadState* __tstate = wxPyBeginAllowThreads();
16286 result = (bool)(arg1)->GetChooseFull();
16287 wxPyEndAllowThreads(__tstate);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 }
16290 {
16291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16292 }
16293 return resultobj;
16294fail:
16295 return NULL;
d14a1e28
RD
16296}
16297
16298
0085ce49
RD
16299SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16300 PyObject *resultobj = 0;
16301 wxColourData *arg1 = (wxColourData *) 0 ;
16302 wxColour result;
16303 void *argp1 = 0 ;
16304 int res1 = 0 ;
16305 PyObject *swig_obj[1] ;
16306
16307 if (!args) SWIG_fail;
16308 swig_obj[0] = args;
16309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16310 if (!SWIG_IsOK(res1)) {
16311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16312 }
16313 arg1 = reinterpret_cast< wxColourData * >(argp1);
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 result = (arg1)->GetColour();
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16321 return resultobj;
16322fail:
16323 return NULL;
16324}
16325
16326
16327SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj = 0;
16329 wxColourData *arg1 = (wxColourData *) 0 ;
16330 int arg2 ;
16331 wxColour result;
16332 void *argp1 = 0 ;
16333 int res1 = 0 ;
16334 int val2 ;
16335 int ecode2 = 0 ;
16336 PyObject * obj0 = 0 ;
16337 PyObject * obj1 = 0 ;
16338 char * kwnames[] = {
16339 (char *) "self",(char *) "i", NULL
16340 };
16341
16342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16344 if (!SWIG_IsOK(res1)) {
16345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16346 }
16347 arg1 = reinterpret_cast< wxColourData * >(argp1);
16348 ecode2 = SWIG_AsVal_int(obj1, &val2);
16349 if (!SWIG_IsOK(ecode2)) {
16350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16351 }
16352 arg2 = static_cast< int >(val2);
16353 {
16354 PyThreadState* __tstate = wxPyBeginAllowThreads();
16355 result = (arg1)->GetCustomColour(arg2);
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16360 return resultobj;
16361fail:
16362 return NULL;
16363}
16364
16365
16366SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16367 PyObject *resultobj = 0;
16368 wxColourData *arg1 = (wxColourData *) 0 ;
16369 int arg2 ;
16370 void *argp1 = 0 ;
16371 int res1 = 0 ;
16372 int val2 ;
16373 int ecode2 = 0 ;
16374 PyObject * obj0 = 0 ;
16375 PyObject * obj1 = 0 ;
16376 char * kwnames[] = {
16377 (char *) "self",(char *) "flag", NULL
16378 };
16379
16380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16382 if (!SWIG_IsOK(res1)) {
16383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16384 }
16385 arg1 = reinterpret_cast< wxColourData * >(argp1);
16386 ecode2 = SWIG_AsVal_int(obj1, &val2);
16387 if (!SWIG_IsOK(ecode2)) {
16388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16389 }
16390 arg2 = static_cast< int >(val2);
16391 {
16392 PyThreadState* __tstate = wxPyBeginAllowThreads();
16393 (arg1)->SetChooseFull(arg2);
16394 wxPyEndAllowThreads(__tstate);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 resultobj = SWIG_Py_Void();
16398 return resultobj;
16399fail:
16400 return NULL;
16401}
16402
16403
16404SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16405 PyObject *resultobj = 0;
16406 wxColourData *arg1 = (wxColourData *) 0 ;
16407 wxColour *arg2 = 0 ;
16408 void *argp1 = 0 ;
16409 int res1 = 0 ;
16410 wxColour temp2 ;
16411 PyObject * obj0 = 0 ;
16412 PyObject * obj1 = 0 ;
16413 char * kwnames[] = {
16414 (char *) "self",(char *) "colour", NULL
16415 };
16416
16417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16419 if (!SWIG_IsOK(res1)) {
16420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16421 }
16422 arg1 = reinterpret_cast< wxColourData * >(argp1);
16423 {
16424 arg2 = &temp2;
16425 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16426 }
16427 {
16428 PyThreadState* __tstate = wxPyBeginAllowThreads();
16429 (arg1)->SetColour((wxColour const &)*arg2);
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 resultobj = SWIG_Py_Void();
16434 return resultobj;
16435fail:
16436 return NULL;
16437}
16438
16439
16440SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj = 0;
16442 wxColourData *arg1 = (wxColourData *) 0 ;
16443 int arg2 ;
16444 wxColour *arg3 = 0 ;
16445 void *argp1 = 0 ;
16446 int res1 = 0 ;
16447 int val2 ;
16448 int ecode2 = 0 ;
16449 wxColour temp3 ;
16450 PyObject * obj0 = 0 ;
16451 PyObject * obj1 = 0 ;
16452 PyObject * obj2 = 0 ;
16453 char * kwnames[] = {
16454 (char *) "self",(char *) "i",(char *) "colour", NULL
16455 };
16456
16457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16459 if (!SWIG_IsOK(res1)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16461 }
16462 arg1 = reinterpret_cast< wxColourData * >(argp1);
16463 ecode2 = SWIG_AsVal_int(obj1, &val2);
16464 if (!SWIG_IsOK(ecode2)) {
16465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16466 }
16467 arg2 = static_cast< int >(val2);
16468 {
16469 arg3 = &temp3;
16470 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16471 }
16472 {
16473 PyThreadState* __tstate = wxPyBeginAllowThreads();
16474 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16475 wxPyEndAllowThreads(__tstate);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 resultobj = SWIG_Py_Void();
16479 return resultobj;
16480fail:
16481 return NULL;
d14a1e28
RD
16482}
16483
16484
0085ce49
RD
16485SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16486 PyObject *obj;
16487 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16488 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16489 return SWIG_Py_Void();
d14a1e28
RD
16490}
16491
0085ce49
RD
16492SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16493 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
16494}
16495
0085ce49
RD
16496SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj = 0;
16498 wxWindow *arg1 = (wxWindow *) 0 ;
16499 wxColourData *arg2 = (wxColourData *) NULL ;
16500 wxColourDialog *result = 0 ;
16501 void *argp1 = 0 ;
16502 int res1 = 0 ;
16503 void *argp2 = 0 ;
16504 int res2 = 0 ;
16505 PyObject * obj0 = 0 ;
16506 PyObject * obj1 = 0 ;
16507 char * kwnames[] = {
16508 (char *) "parent",(char *) "data", NULL
16509 };
16510
16511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16513 if (!SWIG_IsOK(res1)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16515 }
16516 arg1 = reinterpret_cast< wxWindow * >(argp1);
16517 if (obj1) {
16518 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16519 if (!SWIG_IsOK(res2)) {
16520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
093d3ff1 16521 }
0085ce49
RD
16522 arg2 = reinterpret_cast< wxColourData * >(argp2);
16523 }
16524 {
16525 if (!wxPyCheckForApp()) SWIG_fail;
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16532 return resultobj;
16533fail:
16534 return NULL;
d14a1e28
RD
16535}
16536
16537
0085ce49
RD
16538SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16539 PyObject *resultobj = 0;
16540 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16541 wxColourData *result = 0 ;
16542 void *argp1 = 0 ;
16543 int res1 = 0 ;
16544 PyObject *swig_obj[1] ;
16545
16546 if (!args) SWIG_fail;
16547 swig_obj[0] = args;
16548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16549 if (!SWIG_IsOK(res1)) {
16550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16551 }
16552 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16553 {
16554 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 16555 {
0085ce49
RD
16556 wxColourData &_result_ref = (arg1)->GetColourData();
16557 result = (wxColourData *) &_result_ref;
d14a1e28 16558 }
0085ce49
RD
16559 wxPyEndAllowThreads(__tstate);
16560 if (PyErr_Occurred()) SWIG_fail;
16561 }
16562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16563 return resultobj;
16564fail:
16565 return NULL;
16566}
16567
16568
16569SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16570 PyObject *obj;
16571 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16572 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16573 return SWIG_Py_Void();
16574}
16575
16576SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16577 return SWIG_Python_InitShadowInstance(args);
16578}
16579
16580SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj = 0;
16582 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16583 wxColour const &arg2_defvalue = wxNullColour ;
16584 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16585 wxString const &arg3_defvalue = wxPyEmptyString ;
16586 wxString *arg3 = (wxString *) &arg3_defvalue ;
16587 wxColour result;
16588 void *argp1 = 0 ;
16589 int res1 = 0 ;
16590 wxColour temp2 ;
16591 bool temp3 = false ;
16592 PyObject * obj0 = 0 ;
16593 PyObject * obj1 = 0 ;
16594 PyObject * obj2 = 0 ;
16595 char * kwnames[] = {
16596 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16597 };
16598
16599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16600 if (obj0) {
16601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16602 if (!SWIG_IsOK(res1)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
093d3ff1 16604 }
0085ce49
RD
16605 arg1 = reinterpret_cast< wxWindow * >(argp1);
16606 }
16607 if (obj1) {
d14a1e28 16608 {
0085ce49
RD
16609 arg2 = &temp2;
16610 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16611 }
16612 }
16613 if (obj2) {
d14a1e28 16614 {
0085ce49
RD
16615 arg3 = wxString_in_helper(obj2);
16616 if (arg3 == NULL) SWIG_fail;
16617 temp3 = true;
d14a1e28 16618 }
0085ce49
RD
16619 }
16620 {
16621 PyThreadState* __tstate = wxPyBeginAllowThreads();
16622 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16627 {
16628 if (temp3)
16629 delete arg3;
16630 }
16631 return resultobj;
16632fail:
16633 {
16634 if (temp3)
16635 delete arg3;
16636 }
16637 return NULL;
16638}
16639
16640
16641SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16642 PyObject *resultobj = 0;
16643 wxWindow *arg1 = (wxWindow *) 0 ;
16644 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16645 wxString *arg2 = (wxString *) &arg2_defvalue ;
16646 wxString const &arg3_defvalue = wxPyEmptyString ;
16647 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 16648 long arg4 = (long) wxDD_DEFAULT_STYLE ;
0085ce49
RD
16649 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16650 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16651 wxSize const &arg6_defvalue = wxDefaultSize ;
16652 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16653 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16654 wxString *arg7 = (wxString *) &arg7_defvalue ;
16655 wxDirDialog *result = 0 ;
16656 void *argp1 = 0 ;
16657 int res1 = 0 ;
16658 bool temp2 = false ;
16659 bool temp3 = false ;
16660 long val4 ;
16661 int ecode4 = 0 ;
16662 wxPoint temp5 ;
16663 wxSize temp6 ;
16664 bool temp7 = false ;
16665 PyObject * obj0 = 0 ;
16666 PyObject * obj1 = 0 ;
16667 PyObject * obj2 = 0 ;
16668 PyObject * obj3 = 0 ;
16669 PyObject * obj4 = 0 ;
16670 PyObject * obj5 = 0 ;
16671 PyObject * obj6 = 0 ;
16672 char * kwnames[] = {
16673 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16674 };
16675
16676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16678 if (!SWIG_IsOK(res1)) {
16679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16680 }
16681 arg1 = reinterpret_cast< wxWindow * >(argp1);
16682 if (obj1) {
d14a1e28 16683 {
0085ce49
RD
16684 arg2 = wxString_in_helper(obj1);
16685 if (arg2 == NULL) SWIG_fail;
16686 temp2 = true;
d14a1e28 16687 }
0085ce49
RD
16688 }
16689 if (obj2) {
4f89f6a3 16690 {
0085ce49
RD
16691 arg3 = wxString_in_helper(obj2);
16692 if (arg3 == NULL) SWIG_fail;
16693 temp3 = true;
4f89f6a3 16694 }
0085ce49
RD
16695 }
16696 if (obj3) {
16697 ecode4 = SWIG_AsVal_long(obj3, &val4);
16698 if (!SWIG_IsOK(ecode4)) {
16699 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16700 }
16701 arg4 = static_cast< long >(val4);
16702 }
16703 if (obj4) {
16704 {
16705 arg5 = &temp5;
16706 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 16707 }
0085ce49
RD
16708 }
16709 if (obj5) {
d14a1e28 16710 {
0085ce49
RD
16711 arg6 = &temp6;
16712 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 16713 }
0085ce49
RD
16714 }
16715 if (obj6) {
4f89f6a3 16716 {
0085ce49
RD
16717 arg7 = wxString_in_helper(obj6);
16718 if (arg7 == NULL) SWIG_fail;
16719 temp7 = true;
4f89f6a3 16720 }
0085ce49
RD
16721 }
16722 {
16723 if (!wxPyCheckForApp()) SWIG_fail;
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16730 {
16731 if (temp2)
16732 delete arg2;
16733 }
16734 {
16735 if (temp3)
16736 delete arg3;
16737 }
16738 {
16739 if (temp7)
16740 delete arg7;
16741 }
16742 return resultobj;
16743fail:
16744 {
16745 if (temp2)
16746 delete arg2;
16747 }
16748 {
16749 if (temp3)
16750 delete arg3;
16751 }
16752 {
16753 if (temp7)
16754 delete arg7;
16755 }
16756 return NULL;
d14a1e28
RD
16757}
16758
16759
01f6b6d3 16760SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
16761 PyObject *resultobj = 0;
16762 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16763 wxString result;
16764 void *argp1 = 0 ;
16765 int res1 = 0 ;
16766 PyObject *swig_obj[1] ;
16767
16768 if (!args) SWIG_fail;
16769 swig_obj[0] = args;
16770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16771 if (!SWIG_IsOK(res1)) {
01f6b6d3 16772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
0085ce49
RD
16773 }
16774 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
01f6b6d3 16777 result = (arg1)->GetPath();
0085ce49
RD
16778 wxPyEndAllowThreads(__tstate);
16779 if (PyErr_Occurred()) SWIG_fail;
16780 }
16781 {
16782#if wxUSE_UNICODE
16783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16784#else
16785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16786#endif
16787 }
16788 return resultobj;
16789fail:
16790 return NULL;
d14a1e28
RD
16791}
16792
16793
01f6b6d3 16794SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
16795 PyObject *resultobj = 0;
16796 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
01f6b6d3 16797 wxString result;
0085ce49
RD
16798 void *argp1 = 0 ;
16799 int res1 = 0 ;
16800 PyObject *swig_obj[1] ;
16801
16802 if (!args) SWIG_fail;
16803 swig_obj[0] = args;
16804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16805 if (!SWIG_IsOK(res1)) {
01f6b6d3 16806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
0085ce49
RD
16807 }
16808 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16809 {
16810 PyThreadState* __tstate = wxPyBeginAllowThreads();
01f6b6d3 16811 result = (arg1)->GetMessage();
0085ce49
RD
16812 wxPyEndAllowThreads(__tstate);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 }
01f6b6d3
RD
16815 {
16816#if wxUSE_UNICODE
16817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16818#else
16819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16820#endif
16821 }
0085ce49
RD
16822 return resultobj;
16823fail:
16824 return NULL;
16825}
16826
16827
16828SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16829 PyObject *resultobj = 0;
16830 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16831 wxString *arg2 = 0 ;
16832 void *argp1 = 0 ;
16833 int res1 = 0 ;
16834 bool temp2 = false ;
16835 PyObject * obj0 = 0 ;
16836 PyObject * obj1 = 0 ;
16837 char * kwnames[] = {
16838 (char *) "self",(char *) "message", NULL
16839 };
16840
16841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16843 if (!SWIG_IsOK(res1)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16845 }
16846 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16847 {
16848 arg2 = wxString_in_helper(obj1);
16849 if (arg2 == NULL) SWIG_fail;
16850 temp2 = true;
16851 }
16852 {
16853 PyThreadState* __tstate = wxPyBeginAllowThreads();
16854 (arg1)->SetMessage((wxString const &)*arg2);
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 resultobj = SWIG_Py_Void();
16859 {
16860 if (temp2)
16861 delete arg2;
16862 }
16863 return resultobj;
16864fail:
16865 {
16866 if (temp2)
16867 delete arg2;
16868 }
16869 return NULL;
d14a1e28
RD
16870}
16871
16872
0085ce49
RD
16873SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16874 PyObject *resultobj = 0;
16875 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16876 wxString *arg2 = 0 ;
16877 void *argp1 = 0 ;
16878 int res1 = 0 ;
16879 bool temp2 = false ;
16880 PyObject * obj0 = 0 ;
16881 PyObject * obj1 = 0 ;
16882 char * kwnames[] = {
16883 (char *) "self",(char *) "path", NULL
16884 };
16885
16886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16888 if (!SWIG_IsOK(res1)) {
16889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16890 }
16891 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16892 {
16893 arg2 = wxString_in_helper(obj1);
16894 if (arg2 == NULL) SWIG_fail;
16895 temp2 = true;
16896 }
16897 {
16898 PyThreadState* __tstate = wxPyBeginAllowThreads();
16899 (arg1)->SetPath((wxString const &)*arg2);
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 resultobj = SWIG_Py_Void();
16904 {
16905 if (temp2)
16906 delete arg2;
16907 }
16908 return resultobj;
16909fail:
16910 {
16911 if (temp2)
16912 delete arg2;
16913 }
16914 return NULL;
16915}
16916
16917
16918SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16919 PyObject *obj;
16920 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16921 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16922 return SWIG_Py_Void();
16923}
16924
16925SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16926 return SWIG_Python_InitShadowInstance(args);
16927}
16928
16929SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj = 0;
16931 wxWindow *arg1 = (wxWindow *) 0 ;
16932 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16933 wxString *arg2 = (wxString *) &arg2_defvalue ;
16934 wxString const &arg3_defvalue = wxPyEmptyString ;
16935 wxString *arg3 = (wxString *) &arg3_defvalue ;
16936 wxString const &arg4_defvalue = wxPyEmptyString ;
16937 wxString *arg4 = (wxString *) &arg4_defvalue ;
16938 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16939 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 16940 long arg6 = (long) wxFD_DEFAULT_STYLE ;
0085ce49
RD
16941 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16942 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16943 wxFileDialog *result = 0 ;
16944 void *argp1 = 0 ;
16945 int res1 = 0 ;
16946 bool temp2 = false ;
16947 bool temp3 = false ;
16948 bool temp4 = false ;
16949 bool temp5 = false ;
16950 long val6 ;
16951 int ecode6 = 0 ;
16952 wxPoint temp7 ;
16953 PyObject * obj0 = 0 ;
16954 PyObject * obj1 = 0 ;
16955 PyObject * obj2 = 0 ;
16956 PyObject * obj3 = 0 ;
16957 PyObject * obj4 = 0 ;
16958 PyObject * obj5 = 0 ;
16959 PyObject * obj6 = 0 ;
16960 char * kwnames[] = {
16961 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16962 };
16963
16964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16966 if (!SWIG_IsOK(res1)) {
16967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16968 }
16969 arg1 = reinterpret_cast< wxWindow * >(argp1);
16970 if (obj1) {
d14a1e28 16971 {
0085ce49
RD
16972 arg2 = wxString_in_helper(obj1);
16973 if (arg2 == NULL) SWIG_fail;
16974 temp2 = true;
d14a1e28 16975 }
0085ce49
RD
16976 }
16977 if (obj2) {
4f89f6a3 16978 {
0085ce49
RD
16979 arg3 = wxString_in_helper(obj2);
16980 if (arg3 == NULL) SWIG_fail;
16981 temp3 = true;
4f89f6a3 16982 }
0085ce49
RD
16983 }
16984 if (obj3) {
d14a1e28 16985 {
0085ce49
RD
16986 arg4 = wxString_in_helper(obj3);
16987 if (arg4 == NULL) SWIG_fail;
16988 temp4 = true;
d14a1e28 16989 }
0085ce49
RD
16990 }
16991 if (obj4) {
d14a1e28 16992 {
0085ce49
RD
16993 arg5 = wxString_in_helper(obj4);
16994 if (arg5 == NULL) SWIG_fail;
16995 temp5 = true;
d14a1e28 16996 }
0085ce49
RD
16997 }
16998 if (obj5) {
16999 ecode6 = SWIG_AsVal_long(obj5, &val6);
17000 if (!SWIG_IsOK(ecode6)) {
17001 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17002 }
17003 arg6 = static_cast< long >(val6);
17004 }
17005 if (obj6) {
d14a1e28 17006 {
0085ce49
RD
17007 arg7 = &temp7;
17008 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
994141e6 17009 }
0085ce49
RD
17010 }
17011 {
17012 if (!wxPyCheckForApp()) SWIG_fail;
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17019 {
17020 if (temp2)
17021 delete arg2;
17022 }
17023 {
17024 if (temp3)
17025 delete arg3;
17026 }
17027 {
17028 if (temp4)
17029 delete arg4;
17030 }
17031 {
17032 if (temp5)
17033 delete arg5;
17034 }
17035 return resultobj;
17036fail:
17037 {
17038 if (temp2)
17039 delete arg2;
17040 }
17041 {
17042 if (temp3)
17043 delete arg3;
17044 }
17045 {
17046 if (temp4)
17047 delete arg4;
17048 }
17049 {
17050 if (temp5)
17051 delete arg5;
17052 }
17053 return NULL;
d14a1e28
RD
17054}
17055
17056
0085ce49
RD
17057SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj = 0;
17059 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17060 wxString *arg2 = 0 ;
17061 void *argp1 = 0 ;
17062 int res1 = 0 ;
17063 bool temp2 = false ;
17064 PyObject * obj0 = 0 ;
17065 PyObject * obj1 = 0 ;
17066 char * kwnames[] = {
17067 (char *) "self",(char *) "message", NULL
17068 };
17069
17070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17072 if (!SWIG_IsOK(res1)) {
17073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17074 }
17075 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17076 {
17077 arg2 = wxString_in_helper(obj1);
17078 if (arg2 == NULL) SWIG_fail;
17079 temp2 = true;
17080 }
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 (arg1)->SetMessage((wxString const &)*arg2);
17084 wxPyEndAllowThreads(__tstate);
17085 if (PyErr_Occurred()) SWIG_fail;
17086 }
17087 resultobj = SWIG_Py_Void();
17088 {
17089 if (temp2)
17090 delete arg2;
17091 }
17092 return resultobj;
17093fail:
17094 {
17095 if (temp2)
17096 delete arg2;
17097 }
17098 return NULL;
d14a1e28
RD
17099}
17100
17101
0085ce49
RD
17102SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj = 0;
17104 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17105 wxString *arg2 = 0 ;
17106 void *argp1 = 0 ;
17107 int res1 = 0 ;
17108 bool temp2 = false ;
17109 PyObject * obj0 = 0 ;
17110 PyObject * obj1 = 0 ;
17111 char * kwnames[] = {
17112 (char *) "self",(char *) "path", NULL
17113 };
17114
17115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17117 if (!SWIG_IsOK(res1)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17119 }
17120 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17121 {
17122 arg2 = wxString_in_helper(obj1);
17123 if (arg2 == NULL) SWIG_fail;
17124 temp2 = true;
17125 }
17126 {
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 (arg1)->SetPath((wxString const &)*arg2);
17129 wxPyEndAllowThreads(__tstate);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 resultobj = SWIG_Py_Void();
17133 {
17134 if (temp2)
17135 delete arg2;
17136 }
17137 return resultobj;
17138fail:
17139 {
17140 if (temp2)
17141 delete arg2;
17142 }
17143 return NULL;
d14a1e28
RD
17144}
17145
17146
0085ce49
RD
17147SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17148 PyObject *resultobj = 0;
17149 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17150 wxString *arg2 = 0 ;
17151 void *argp1 = 0 ;
17152 int res1 = 0 ;
17153 bool temp2 = false ;
17154 PyObject * obj0 = 0 ;
17155 PyObject * obj1 = 0 ;
17156 char * kwnames[] = {
17157 (char *) "self",(char *) "dir", NULL
17158 };
17159
17160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17162 if (!SWIG_IsOK(res1)) {
17163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17164 }
17165 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17166 {
17167 arg2 = wxString_in_helper(obj1);
17168 if (arg2 == NULL) SWIG_fail;
17169 temp2 = true;
17170 }
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 (arg1)->SetDirectory((wxString const &)*arg2);
17174 wxPyEndAllowThreads(__tstate);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 }
17177 resultobj = SWIG_Py_Void();
17178 {
17179 if (temp2)
17180 delete arg2;
17181 }
17182 return resultobj;
17183fail:
17184 {
17185 if (temp2)
17186 delete arg2;
17187 }
17188 return NULL;
d14a1e28
RD
17189}
17190
17191
0085ce49
RD
17192SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17193 PyObject *resultobj = 0;
17194 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17195 wxString *arg2 = 0 ;
17196 void *argp1 = 0 ;
17197 int res1 = 0 ;
17198 bool temp2 = false ;
17199 PyObject * obj0 = 0 ;
17200 PyObject * obj1 = 0 ;
17201 char * kwnames[] = {
17202 (char *) "self",(char *) "name", NULL
17203 };
17204
17205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17207 if (!SWIG_IsOK(res1)) {
17208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17209 }
17210 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17211 {
17212 arg2 = wxString_in_helper(obj1);
17213 if (arg2 == NULL) SWIG_fail;
17214 temp2 = true;
17215 }
17216 {
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 (arg1)->SetFilename((wxString const &)*arg2);
17219 wxPyEndAllowThreads(__tstate);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
17222 resultobj = SWIG_Py_Void();
17223 {
17224 if (temp2)
17225 delete arg2;
17226 }
17227 return resultobj;
17228fail:
17229 {
17230 if (temp2)
17231 delete arg2;
17232 }
17233 return NULL;
d14a1e28
RD
17234}
17235
17236
0085ce49
RD
17237SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17238 PyObject *resultobj = 0;
17239 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17240 wxString *arg2 = 0 ;
17241 void *argp1 = 0 ;
17242 int res1 = 0 ;
17243 bool temp2 = false ;
17244 PyObject * obj0 = 0 ;
17245 PyObject * obj1 = 0 ;
17246 char * kwnames[] = {
17247 (char *) "self",(char *) "wildCard", NULL
17248 };
17249
17250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17252 if (!SWIG_IsOK(res1)) {
17253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17254 }
17255 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17256 {
17257 arg2 = wxString_in_helper(obj1);
17258 if (arg2 == NULL) SWIG_fail;
17259 temp2 = true;
17260 }
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 (arg1)->SetWildcard((wxString const &)*arg2);
17264 wxPyEndAllowThreads(__tstate);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 }
17267 resultobj = SWIG_Py_Void();
17268 {
17269 if (temp2)
17270 delete arg2;
17271 }
17272 return resultobj;
17273fail:
17274 {
17275 if (temp2)
17276 delete arg2;
17277 }
17278 return NULL;
17279}
17280
17281
0085ce49
RD
17282SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj = 0;
17284 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17285 int arg2 ;
17286 void *argp1 = 0 ;
17287 int res1 = 0 ;
17288 int val2 ;
17289 int ecode2 = 0 ;
17290 PyObject * obj0 = 0 ;
17291 PyObject * obj1 = 0 ;
17292 char * kwnames[] = {
17293 (char *) "self",(char *) "filterIndex", NULL
17294 };
17295
17296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17298 if (!SWIG_IsOK(res1)) {
17299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17300 }
17301 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17302 ecode2 = SWIG_AsVal_int(obj1, &val2);
17303 if (!SWIG_IsOK(ecode2)) {
17304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17305 }
17306 arg2 = static_cast< int >(val2);
17307 {
17308 PyThreadState* __tstate = wxPyBeginAllowThreads();
17309 (arg1)->SetFilterIndex(arg2);
17310 wxPyEndAllowThreads(__tstate);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
17313 resultobj = SWIG_Py_Void();
17314 return resultobj;
17315fail:
17316 return NULL;
d14a1e28
RD
17317}
17318
17319
0085ce49
RD
17320SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17321 PyObject *resultobj = 0;
17322 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17323 wxString result;
17324 void *argp1 = 0 ;
17325 int res1 = 0 ;
17326 PyObject *swig_obj[1] ;
17327
17328 if (!args) SWIG_fail;
17329 swig_obj[0] = args;
17330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17331 if (!SWIG_IsOK(res1)) {
17332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17333 }
17334 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17335 {
17336 PyThreadState* __tstate = wxPyBeginAllowThreads();
17337 result = ((wxFileDialog const *)arg1)->GetMessage();
17338 wxPyEndAllowThreads(__tstate);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
17341 {
17342#if wxUSE_UNICODE
17343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17344#else
17345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17346#endif
17347 }
17348 return resultobj;
17349fail:
17350 return NULL;
d14a1e28
RD
17351}
17352
17353
0085ce49
RD
17354SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17355 PyObject *resultobj = 0;
17356 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17357 wxString result;
17358 void *argp1 = 0 ;
17359 int res1 = 0 ;
17360 PyObject *swig_obj[1] ;
17361
17362 if (!args) SWIG_fail;
17363 swig_obj[0] = args;
17364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17365 if (!SWIG_IsOK(res1)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17367 }
17368 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 result = ((wxFileDialog const *)arg1)->GetPath();
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 {
17376#if wxUSE_UNICODE
17377 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17378#else
17379 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17380#endif
17381 }
17382 return resultobj;
17383fail:
17384 return NULL;
d14a1e28
RD
17385}
17386
17387
0085ce49
RD
17388SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17389 PyObject *resultobj = 0;
17390 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17391 wxString result;
17392 void *argp1 = 0 ;
17393 int res1 = 0 ;
17394 PyObject *swig_obj[1] ;
17395
17396 if (!args) SWIG_fail;
17397 swig_obj[0] = args;
17398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17399 if (!SWIG_IsOK(res1)) {
17400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17401 }
17402 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 result = ((wxFileDialog const *)arg1)->GetDirectory();
17406 wxPyEndAllowThreads(__tstate);
17407 if (PyErr_Occurred()) SWIG_fail;
17408 }
17409 {
17410#if wxUSE_UNICODE
17411 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17412#else
17413 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17414#endif
17415 }
17416 return resultobj;
17417fail:
17418 return NULL;
d14a1e28
RD
17419}
17420
17421
0085ce49
RD
17422SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17423 PyObject *resultobj = 0;
17424 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17425 wxString result;
17426 void *argp1 = 0 ;
17427 int res1 = 0 ;
17428 PyObject *swig_obj[1] ;
17429
17430 if (!args) SWIG_fail;
17431 swig_obj[0] = args;
17432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17433 if (!SWIG_IsOK(res1)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17435 }
17436 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 result = ((wxFileDialog const *)arg1)->GetFilename();
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 {
17444#if wxUSE_UNICODE
17445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17446#else
17447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17448#endif
17449 }
17450 return resultobj;
17451fail:
17452 return NULL;
d14a1e28
RD
17453}
17454
17455
0085ce49
RD
17456SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17457 PyObject *resultobj = 0;
17458 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17459 wxString result;
17460 void *argp1 = 0 ;
17461 int res1 = 0 ;
17462 PyObject *swig_obj[1] ;
17463
17464 if (!args) SWIG_fail;
17465 swig_obj[0] = args;
17466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17467 if (!SWIG_IsOK(res1)) {
17468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17469 }
17470 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 result = ((wxFileDialog const *)arg1)->GetWildcard();
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 {
17478#if wxUSE_UNICODE
17479 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17480#else
17481 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17482#endif
17483 }
17484 return resultobj;
17485fail:
17486 return NULL;
d14a1e28
RD
17487}
17488
17489
0085ce49
RD
17490SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17491 PyObject *resultobj = 0;
17492 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17493 int result;
17494 void *argp1 = 0 ;
17495 int res1 = 0 ;
17496 PyObject *swig_obj[1] ;
17497
17498 if (!args) SWIG_fail;
17499 swig_obj[0] = args;
17500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17501 if (!SWIG_IsOK(res1)) {
17502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17503 }
17504 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17505 {
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 resultobj = SWIG_From_int(static_cast< int >(result));
17512 return resultobj;
17513fail:
17514 return NULL;
d14a1e28
RD
17515}
17516
17517
0085ce49
RD
17518SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17519 PyObject *resultobj = 0;
17520 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17521 PyObject *result = 0 ;
17522 void *argp1 = 0 ;
17523 int res1 = 0 ;
17524 PyObject *swig_obj[1] ;
17525
17526 if (!args) SWIG_fail;
17527 swig_obj[0] = args;
17528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17529 if (!SWIG_IsOK(res1)) {
17530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17531 }
17532 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 resultobj = result;
17540 return resultobj;
17541fail:
17542 return NULL;
d14a1e28
RD
17543}
17544
17545
0085ce49
RD
17546SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17547 PyObject *resultobj = 0;
17548 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17549 PyObject *result = 0 ;
17550 void *argp1 = 0 ;
17551 int res1 = 0 ;
17552 PyObject *swig_obj[1] ;
17553
17554 if (!args) SWIG_fail;
17555 swig_obj[0] = args;
17556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17557 if (!SWIG_IsOK(res1)) {
17558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17559 }
17560 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17561 {
17562 PyThreadState* __tstate = wxPyBeginAllowThreads();
17563 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 resultobj = result;
17568 return resultobj;
17569fail:
17570 return NULL;
17571}
17572
17573
17574SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17575 PyObject *obj;
17576 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17577 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17578 return SWIG_Py_Void();
17579}
17580
17581SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17582 return SWIG_Python_InitShadowInstance(args);
17583}
17584
17585SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17586 PyObject *resultobj = 0;
17587 wxWindow *arg1 = (wxWindow *) 0 ;
17588 wxString *arg2 = 0 ;
17589 wxString *arg3 = 0 ;
17590 int arg4 = (int) 0 ;
17591 wxString *arg5 = (wxString *) NULL ;
17592 long arg6 = (long) wxCHOICEDLG_STYLE ;
17593 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17594 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17595 wxMultiChoiceDialog *result = 0 ;
17596 void *argp1 = 0 ;
17597 int res1 = 0 ;
17598 bool temp2 = false ;
17599 bool temp3 = false ;
17600 long val6 ;
17601 int ecode6 = 0 ;
17602 wxPoint temp7 ;
17603 PyObject * obj0 = 0 ;
17604 PyObject * obj1 = 0 ;
17605 PyObject * obj2 = 0 ;
17606 PyObject * obj3 = 0 ;
17607 PyObject * obj4 = 0 ;
17608 PyObject * obj5 = 0 ;
17609 char * kwnames[] = {
17610 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17611 };
17612
17613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17615 if (!SWIG_IsOK(res1)) {
17616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17617 }
17618 arg1 = reinterpret_cast< wxWindow * >(argp1);
17619 {
17620 arg2 = wxString_in_helper(obj1);
17621 if (arg2 == NULL) SWIG_fail;
17622 temp2 = true;
17623 }
17624 {
17625 arg3 = wxString_in_helper(obj2);
17626 if (arg3 == NULL) SWIG_fail;
17627 temp3 = true;
17628 }
17629 if (obj3) {
d14a1e28 17630 {
0085ce49
RD
17631 arg4 = PyList_Size(obj3);
17632 arg5 = wxString_LIST_helper(obj3);
17633 if (arg5 == NULL) SWIG_fail;
d14a1e28 17634 }
0085ce49
RD
17635 }
17636 if (obj4) {
17637 ecode6 = SWIG_AsVal_long(obj4, &val6);
17638 if (!SWIG_IsOK(ecode6)) {
17639 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17640 }
17641 arg6 = static_cast< long >(val6);
17642 }
17643 if (obj5) {
4f89f6a3 17644 {
0085ce49
RD
17645 arg7 = &temp7;
17646 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
4f89f6a3 17647 }
0085ce49
RD
17648 }
17649 {
17650 if (!wxPyCheckForApp()) SWIG_fail;
17651 PyThreadState* __tstate = wxPyBeginAllowThreads();
17652 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17653 wxPyEndAllowThreads(__tstate);
17654 if (PyErr_Occurred()) SWIG_fail;
17655 }
17656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17657 {
17658 if (temp2)
17659 delete arg2;
17660 }
17661 {
17662 if (temp3)
17663 delete arg3;
17664 }
17665 {
17666 if (arg5) delete [] arg5;
17667 }
17668 return resultobj;
17669fail:
17670 {
17671 if (temp2)
17672 delete arg2;
17673 }
17674 {
17675 if (temp3)
17676 delete arg3;
17677 }
17678 {
17679 if (arg5) delete [] arg5;
17680 }
17681 return NULL;
d14a1e28
RD
17682}
17683
17684
0085ce49
RD
17685SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17686 PyObject *resultobj = 0;
17687 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17688 wxArrayInt *arg2 = 0 ;
17689 void *argp1 = 0 ;
17690 int res1 = 0 ;
17691 bool temp2 = false ;
17692 PyObject * obj0 = 0 ;
17693 PyObject * obj1 = 0 ;
17694 char * kwnames[] = {
17695 (char *) "self",(char *) "selections", NULL
17696 };
17697
17698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17700 if (!SWIG_IsOK(res1)) {
17701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17702 }
17703 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17704 {
17705 if (! PySequence_Check(obj1)) {
17706 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17707 SWIG_fail;
17708 }
17709 arg2 = new wxArrayInt;
17710 temp2 = true;
17711 int i, len=PySequence_Length(obj1);
17712 for (i=0; i<len; i++) {
17713 PyObject* item = PySequence_GetItem(obj1, i);
17714 PyObject* number = PyNumber_Int(item);
17715 arg2->Add(PyInt_AS_LONG(number));
17716 Py_DECREF(item);
17717 Py_DECREF(number);
093d3ff1 17718 }
0085ce49
RD
17719 }
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 resultobj = SWIG_Py_Void();
17727 {
17728 if (temp2) delete arg2;
17729 }
17730 return resultobj;
17731fail:
17732 {
17733 if (temp2) delete arg2;
17734 }
17735 return NULL;
d14a1e28
RD
17736}
17737
17738
0085ce49
RD
17739SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17740 PyObject *resultobj = 0;
17741 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17742 PyObject *result = 0 ;
17743 void *argp1 = 0 ;
17744 int res1 = 0 ;
17745 PyObject *swig_obj[1] ;
17746
17747 if (!args) SWIG_fail;
17748 swig_obj[0] = args;
17749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17750 if (!SWIG_IsOK(res1)) {
17751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17752 }
17753 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17754 {
17755 PyThreadState* __tstate = wxPyBeginAllowThreads();
17756 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17757 wxPyEndAllowThreads(__tstate);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 }
17760 resultobj = result;
17761 return resultobj;
17762fail:
17763 return NULL;
17764}
17765
17766
17767SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17768 PyObject *obj;
17769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17770 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17771 return SWIG_Py_Void();
17772}
17773
17774SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17775 return SWIG_Python_InitShadowInstance(args);
17776}
17777
17778SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj = 0;
17780 wxWindow *arg1 = (wxWindow *) 0 ;
17781 wxString *arg2 = 0 ;
17782 wxString *arg3 = 0 ;
17783 int arg4 ;
17784 wxString *arg5 = (wxString *) 0 ;
17785 long arg6 = (long) wxCHOICEDLG_STYLE ;
17786 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17787 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17788 wxSingleChoiceDialog *result = 0 ;
17789 void *argp1 = 0 ;
17790 int res1 = 0 ;
17791 bool temp2 = false ;
17792 bool temp3 = false ;
17793 long val6 ;
17794 int ecode6 = 0 ;
17795 wxPoint temp7 ;
17796 PyObject * obj0 = 0 ;
17797 PyObject * obj1 = 0 ;
17798 PyObject * obj2 = 0 ;
17799 PyObject * obj3 = 0 ;
17800 PyObject * obj4 = 0 ;
17801 PyObject * obj5 = 0 ;
17802 char * kwnames[] = {
17803 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17804 };
17805
17806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17808 if (!SWIG_IsOK(res1)) {
17809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17810 }
17811 arg1 = reinterpret_cast< wxWindow * >(argp1);
17812 {
17813 arg2 = wxString_in_helper(obj1);
17814 if (arg2 == NULL) SWIG_fail;
17815 temp2 = true;
17816 }
17817 {
17818 arg3 = wxString_in_helper(obj2);
17819 if (arg3 == NULL) SWIG_fail;
17820 temp3 = true;
17821 }
17822 {
17823 arg4 = PyList_Size(obj3);
17824 arg5 = wxString_LIST_helper(obj3);
17825 if (arg5 == NULL) SWIG_fail;
17826 }
17827 if (obj4) {
17828 ecode6 = SWIG_AsVal_long(obj4, &val6);
17829 if (!SWIG_IsOK(ecode6)) {
17830 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17831 }
17832 arg6 = static_cast< long >(val6);
17833 }
17834 if (obj5) {
093d3ff1 17835 {
0085ce49
RD
17836 arg7 = &temp7;
17837 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
093d3ff1 17838 }
0085ce49
RD
17839 }
17840 {
17841 if (!wxPyCheckForApp()) SWIG_fail;
17842 PyThreadState* __tstate = wxPyBeginAllowThreads();
17843 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17844 wxPyEndAllowThreads(__tstate);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17848 {
17849 if (temp2)
17850 delete arg2;
17851 }
17852 {
17853 if (temp3)
17854 delete arg3;
17855 }
17856 {
17857 if (arg5) delete [] arg5;
17858 }
17859 return resultobj;
17860fail:
17861 {
17862 if (temp2)
17863 delete arg2;
17864 }
17865 {
17866 if (temp3)
17867 delete arg3;
17868 }
17869 {
17870 if (arg5) delete [] arg5;
17871 }
17872 return NULL;
d14a1e28
RD
17873}
17874
17875
0085ce49
RD
17876SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17877 PyObject *resultobj = 0;
17878 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17879 int result;
17880 void *argp1 = 0 ;
17881 int res1 = 0 ;
17882 PyObject *swig_obj[1] ;
17883
17884 if (!args) SWIG_fail;
17885 swig_obj[0] = args;
17886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17887 if (!SWIG_IsOK(res1)) {
17888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17889 }
17890 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17891 {
17892 PyThreadState* __tstate = wxPyBeginAllowThreads();
17893 result = (int)(arg1)->GetSelection();
17894 wxPyEndAllowThreads(__tstate);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 }
17897 resultobj = SWIG_From_int(static_cast< int >(result));
17898 return resultobj;
17899fail:
17900 return NULL;
d14a1e28
RD
17901}
17902
17903
0085ce49
RD
17904SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17905 PyObject *resultobj = 0;
17906 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17907 wxString result;
17908 void *argp1 = 0 ;
17909 int res1 = 0 ;
17910 PyObject *swig_obj[1] ;
17911
17912 if (!args) SWIG_fail;
17913 swig_obj[0] = args;
17914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17915 if (!SWIG_IsOK(res1)) {
17916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17917 }
17918 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 result = (arg1)->GetStringSelection();
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
17925 {
17926#if wxUSE_UNICODE
17927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17928#else
17929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17930#endif
17931 }
17932 return resultobj;
17933fail:
17934 return NULL;
17935}
17936
17937
17938SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj = 0;
17940 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17941 int arg2 ;
17942 void *argp1 = 0 ;
17943 int res1 = 0 ;
17944 int val2 ;
17945 int ecode2 = 0 ;
17946 PyObject * obj0 = 0 ;
17947 PyObject * obj1 = 0 ;
17948 char * kwnames[] = {
17949 (char *) "self",(char *) "sel", NULL
17950 };
17951
17952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17954 if (!SWIG_IsOK(res1)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17956 }
17957 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17958 ecode2 = SWIG_AsVal_int(obj1, &val2);
17959 if (!SWIG_IsOK(ecode2)) {
17960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17961 }
17962 arg2 = static_cast< int >(val2);
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 (arg1)->SetSelection(arg2);
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 resultobj = SWIG_Py_Void();
17970 return resultobj;
17971fail:
17972 return NULL;
17973}
17974
17975
17976SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17977 PyObject *obj;
17978 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17979 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17980 return SWIG_Py_Void();
17981}
17982
17983SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17984 return SWIG_Python_InitShadowInstance(args);
17985}
17986
17987SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17988 PyObject *resultobj = 0;
17989 wxWindow *arg1 = (wxWindow *) 0 ;
17990 wxString *arg2 = 0 ;
17991 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17992 wxString *arg3 = (wxString *) &arg3_defvalue ;
17993 wxString const &arg4_defvalue = wxPyEmptyString ;
17994 wxString *arg4 = (wxString *) &arg4_defvalue ;
17995 long arg5 = (long) wxTextEntryDialogStyle ;
17996 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17997 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17998 wxTextEntryDialog *result = 0 ;
17999 void *argp1 = 0 ;
18000 int res1 = 0 ;
18001 bool temp2 = false ;
18002 bool temp3 = false ;
18003 bool temp4 = false ;
18004 long val5 ;
18005 int ecode5 = 0 ;
18006 wxPoint temp6 ;
18007 PyObject * obj0 = 0 ;
18008 PyObject * obj1 = 0 ;
18009 PyObject * obj2 = 0 ;
18010 PyObject * obj3 = 0 ;
18011 PyObject * obj4 = 0 ;
18012 PyObject * obj5 = 0 ;
18013 char * kwnames[] = {
18014 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18015 };
18016
18017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18019 if (!SWIG_IsOK(res1)) {
18020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18021 }
18022 arg1 = reinterpret_cast< wxWindow * >(argp1);
18023 {
18024 arg2 = wxString_in_helper(obj1);
18025 if (arg2 == NULL) SWIG_fail;
18026 temp2 = true;
18027 }
18028 if (obj2) {
d14a1e28 18029 {
0085ce49
RD
18030 arg3 = wxString_in_helper(obj2);
18031 if (arg3 == NULL) SWIG_fail;
18032 temp3 = true;
d14a1e28 18033 }
0085ce49
RD
18034 }
18035 if (obj3) {
d14a1e28 18036 {
0085ce49
RD
18037 arg4 = wxString_in_helper(obj3);
18038 if (arg4 == NULL) SWIG_fail;
18039 temp4 = true;
d14a1e28 18040 }
0085ce49
RD
18041 }
18042 if (obj4) {
18043 ecode5 = SWIG_AsVal_long(obj4, &val5);
18044 if (!SWIG_IsOK(ecode5)) {
18045 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18046 }
18047 arg5 = static_cast< long >(val5);
18048 }
18049 if (obj5) {
093d3ff1 18050 {
0085ce49
RD
18051 arg6 = &temp6;
18052 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 18053 }
0085ce49
RD
18054 }
18055 {
18056 if (!wxPyCheckForApp()) SWIG_fail;
18057 PyThreadState* __tstate = wxPyBeginAllowThreads();
18058 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18059 wxPyEndAllowThreads(__tstate);
18060 if (PyErr_Occurred()) SWIG_fail;
18061 }
18062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18063 {
18064 if (temp2)
18065 delete arg2;
18066 }
18067 {
18068 if (temp3)
18069 delete arg3;
18070 }
18071 {
18072 if (temp4)
18073 delete arg4;
18074 }
18075 return resultobj;
18076fail:
18077 {
18078 if (temp2)
18079 delete arg2;
18080 }
18081 {
18082 if (temp3)
18083 delete arg3;
18084 }
18085 {
18086 if (temp4)
18087 delete arg4;
18088 }
18089 return NULL;
d14a1e28
RD
18090}
18091
18092
0085ce49
RD
18093SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18094 PyObject *resultobj = 0;
18095 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18096 wxString result;
18097 void *argp1 = 0 ;
18098 int res1 = 0 ;
18099 PyObject *swig_obj[1] ;
18100
18101 if (!args) SWIG_fail;
18102 swig_obj[0] = args;
18103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18104 if (!SWIG_IsOK(res1)) {
18105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18106 }
18107 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18108 {
18109 PyThreadState* __tstate = wxPyBeginAllowThreads();
18110 result = (arg1)->GetValue();
18111 wxPyEndAllowThreads(__tstate);
18112 if (PyErr_Occurred()) SWIG_fail;
18113 }
18114 {
18115#if wxUSE_UNICODE
18116 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18117#else
18118 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18119#endif
18120 }
18121 return resultobj;
18122fail:
18123 return NULL;
18124}
18125
18126
18127SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj = 0;
18129 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18130 wxString *arg2 = 0 ;
18131 void *argp1 = 0 ;
18132 int res1 = 0 ;
18133 bool temp2 = false ;
18134 PyObject * obj0 = 0 ;
18135 PyObject * obj1 = 0 ;
18136 char * kwnames[] = {
18137 (char *) "self",(char *) "value", NULL
18138 };
18139
18140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18142 if (!SWIG_IsOK(res1)) {
18143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18144 }
18145 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18146 {
18147 arg2 = wxString_in_helper(obj1);
18148 if (arg2 == NULL) SWIG_fail;
18149 temp2 = true;
18150 }
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 (arg1)->SetValue((wxString const &)*arg2);
18154 wxPyEndAllowThreads(__tstate);
18155 if (PyErr_Occurred()) SWIG_fail;
18156 }
18157 resultobj = SWIG_Py_Void();
18158 {
18159 if (temp2)
18160 delete arg2;
18161 }
18162 return resultobj;
18163fail:
18164 {
18165 if (temp2)
18166 delete arg2;
18167 }
18168 return NULL;
d14a1e28
RD
18169}
18170
18171
0085ce49
RD
18172SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18173 PyObject *obj;
18174 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18175 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18176 return SWIG_Py_Void();
d14a1e28
RD
18177}
18178
0085ce49
RD
18179SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18180 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
18181}
18182
0085ce49
RD
18183SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18184 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18185 return 1;
d14a1e28
RD
18186}
18187
18188
0085ce49
RD
18189SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18190 PyObject *pyobj = 0;
18191
18192 {
18193#if wxUSE_UNICODE
18194 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18195#else
18196 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18197#endif
18198 }
18199 return pyobj;
18200}
18201
18202
18203SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18204 PyObject *resultobj = 0;
18205 wxWindow *arg1 = (wxWindow *) 0 ;
18206 wxString *arg2 = 0 ;
18207 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18208 wxString *arg3 = (wxString *) &arg3_defvalue ;
18209 wxString const &arg4_defvalue = wxPyEmptyString ;
18210 wxString *arg4 = (wxString *) &arg4_defvalue ;
18211 long arg5 = (long) wxTextEntryDialogStyle ;
18212 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18213 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18214 wxPasswordEntryDialog *result = 0 ;
18215 void *argp1 = 0 ;
18216 int res1 = 0 ;
18217 bool temp2 = false ;
18218 bool temp3 = false ;
18219 bool temp4 = false ;
18220 long val5 ;
18221 int ecode5 = 0 ;
18222 wxPoint temp6 ;
18223 PyObject * obj0 = 0 ;
18224 PyObject * obj1 = 0 ;
18225 PyObject * obj2 = 0 ;
18226 PyObject * obj3 = 0 ;
18227 PyObject * obj4 = 0 ;
18228 PyObject * obj5 = 0 ;
18229 char * kwnames[] = {
18230 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18231 };
18232
18233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18235 if (!SWIG_IsOK(res1)) {
18236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18237 }
18238 arg1 = reinterpret_cast< wxWindow * >(argp1);
18239 {
18240 arg2 = wxString_in_helper(obj1);
18241 if (arg2 == NULL) SWIG_fail;
18242 temp2 = true;
18243 }
18244 if (obj2) {
093d3ff1 18245 {
0085ce49
RD
18246 arg3 = wxString_in_helper(obj2);
18247 if (arg3 == NULL) SWIG_fail;
18248 temp3 = true;
093d3ff1 18249 }
0085ce49
RD
18250 }
18251 if (obj3) {
d14a1e28 18252 {
0085ce49
RD
18253 arg4 = wxString_in_helper(obj3);
18254 if (arg4 == NULL) SWIG_fail;
18255 temp4 = true;
d14a1e28 18256 }
0085ce49
RD
18257 }
18258 if (obj4) {
18259 ecode5 = SWIG_AsVal_long(obj4, &val5);
18260 if (!SWIG_IsOK(ecode5)) {
18261 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18262 }
18263 arg5 = static_cast< long >(val5);
18264 }
18265 if (obj5) {
4f89f6a3 18266 {
0085ce49
RD
18267 arg6 = &temp6;
18268 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4f89f6a3 18269 }
0085ce49
RD
18270 }
18271 {
18272 PyThreadState* __tstate = wxPyBeginAllowThreads();
18273 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18274 wxPyEndAllowThreads(__tstate);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 }
18277 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18278 {
18279 if (temp2)
18280 delete arg2;
18281 }
18282 {
18283 if (temp3)
18284 delete arg3;
18285 }
18286 {
18287 if (temp4)
18288 delete arg4;
18289 }
18290 return resultobj;
18291fail:
18292 {
18293 if (temp2)
18294 delete arg2;
18295 }
18296 {
18297 if (temp3)
18298 delete arg3;
18299 }
18300 {
18301 if (temp4)
18302 delete arg4;
18303 }
18304 return NULL;
d14a1e28
RD
18305}
18306
18307
0085ce49
RD
18308SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18309 PyObject *obj;
18310 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18312 return SWIG_Py_Void();
70b7a5fe
RD
18313}
18314
0085ce49
RD
18315SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18316 return SWIG_Python_InitShadowInstance(args);
18317}
70b7a5fe 18318
27e45892
RD
18319SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18320 PyObject *resultobj = 0;
18321 wxWindow *arg1 = (wxWindow *) 0 ;
18322 wxString *arg2 = 0 ;
18323 wxString *arg3 = 0 ;
18324 wxString *arg4 = 0 ;
18325 long arg5 ;
18326 long arg6 ;
18327 long arg7 ;
18328 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18329 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18330 wxNumberEntryDialog *result = 0 ;
18331 void *argp1 = 0 ;
18332 int res1 = 0 ;
18333 bool temp2 = false ;
18334 bool temp3 = false ;
18335 bool temp4 = false ;
18336 long val5 ;
18337 int ecode5 = 0 ;
18338 long val6 ;
18339 int ecode6 = 0 ;
18340 long val7 ;
18341 int ecode7 = 0 ;
18342 wxPoint temp8 ;
18343 PyObject * obj0 = 0 ;
18344 PyObject * obj1 = 0 ;
18345 PyObject * obj2 = 0 ;
18346 PyObject * obj3 = 0 ;
18347 PyObject * obj4 = 0 ;
18348 PyObject * obj5 = 0 ;
18349 PyObject * obj6 = 0 ;
18350 PyObject * obj7 = 0 ;
18351 char * kwnames[] = {
18352 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18353 };
18354
18355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18357 if (!SWIG_IsOK(res1)) {
18358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18359 }
18360 arg1 = reinterpret_cast< wxWindow * >(argp1);
18361 {
18362 arg2 = wxString_in_helper(obj1);
18363 if (arg2 == NULL) SWIG_fail;
18364 temp2 = true;
18365 }
18366 {
18367 arg3 = wxString_in_helper(obj2);
18368 if (arg3 == NULL) SWIG_fail;
18369 temp3 = true;
18370 }
18371 {
18372 arg4 = wxString_in_helper(obj3);
18373 if (arg4 == NULL) SWIG_fail;
18374 temp4 = true;
18375 }
18376 ecode5 = SWIG_AsVal_long(obj4, &val5);
18377 if (!SWIG_IsOK(ecode5)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18379 }
18380 arg5 = static_cast< long >(val5);
18381 ecode6 = SWIG_AsVal_long(obj5, &val6);
18382 if (!SWIG_IsOK(ecode6)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18384 }
18385 arg6 = static_cast< long >(val6);
18386 ecode7 = SWIG_AsVal_long(obj6, &val7);
18387 if (!SWIG_IsOK(ecode7)) {
18388 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18389 }
18390 arg7 = static_cast< long >(val7);
18391 if (obj7) {
18392 {
18393 arg8 = &temp8;
18394 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18395 }
18396 }
18397 {
18398 if (!wxPyCheckForApp()) SWIG_fail;
18399 PyThreadState* __tstate = wxPyBeginAllowThreads();
18400 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18405 {
18406 if (temp2)
18407 delete arg2;
18408 }
18409 {
18410 if (temp3)
18411 delete arg3;
18412 }
18413 {
18414 if (temp4)
18415 delete arg4;
18416 }
18417 return resultobj;
18418fail:
18419 {
18420 if (temp2)
18421 delete arg2;
18422 }
18423 {
18424 if (temp3)
18425 delete arg3;
18426 }
18427 {
18428 if (temp4)
18429 delete arg4;
18430 }
18431 return NULL;
18432}
18433
18434
18435SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18436 PyObject *resultobj = 0;
18437 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18438 long result;
18439 void *argp1 = 0 ;
18440 int res1 = 0 ;
18441 PyObject *swig_obj[1] ;
18442
18443 if (!args) SWIG_fail;
18444 swig_obj[0] = args;
18445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18446 if (!SWIG_IsOK(res1)) {
18447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18448 }
18449 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18450 {
18451 PyThreadState* __tstate = wxPyBeginAllowThreads();
18452 result = (long)(arg1)->GetValue();
18453 wxPyEndAllowThreads(__tstate);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 }
18456 resultobj = SWIG_From_long(static_cast< long >(result));
18457 return resultobj;
18458fail:
18459 return NULL;
18460}
18461
18462
18463SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18464 PyObject *obj;
18465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18466 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18467 return SWIG_Py_Void();
18468}
18469
18470SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18471 return SWIG_Python_InitShadowInstance(args);
18472}
18473
0085ce49
RD
18474SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18475 PyObject *resultobj = 0;
18476 wxFontData *result = 0 ;
18477
18478 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18479 {
18480 PyThreadState* __tstate = wxPyBeginAllowThreads();
18481 result = (wxFontData *)new wxFontData();
18482 wxPyEndAllowThreads(__tstate);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18486 return resultobj;
18487fail:
18488 return NULL;
70b7a5fe
RD
18489}
18490
18491
0085ce49
RD
18492SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18493 PyObject *resultobj = 0;
18494 wxFontData *arg1 = (wxFontData *) 0 ;
18495 void *argp1 = 0 ;
18496 int res1 = 0 ;
18497 PyObject *swig_obj[1] ;
18498
18499 if (!args) SWIG_fail;
18500 swig_obj[0] = args;
18501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18502 if (!SWIG_IsOK(res1)) {
18503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18504 }
18505 arg1 = reinterpret_cast< wxFontData * >(argp1);
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 delete arg1;
18509
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 resultobj = SWIG_Py_Void();
18514 return resultobj;
18515fail:
18516 return NULL;
18517}
18518
18519
18520SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj = 0;
18522 wxFontData *arg1 = (wxFontData *) 0 ;
18523 bool arg2 ;
18524 void *argp1 = 0 ;
18525 int res1 = 0 ;
18526 bool val2 ;
18527 int ecode2 = 0 ;
18528 PyObject * obj0 = 0 ;
18529 PyObject * obj1 = 0 ;
18530 char * kwnames[] = {
18531 (char *) "self",(char *) "enable", NULL
18532 };
18533
18534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18536 if (!SWIG_IsOK(res1)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18538 }
18539 arg1 = reinterpret_cast< wxFontData * >(argp1);
18540 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18541 if (!SWIG_IsOK(ecode2)) {
18542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18543 }
18544 arg2 = static_cast< bool >(val2);
18545 {
18546 PyThreadState* __tstate = wxPyBeginAllowThreads();
18547 (arg1)->EnableEffects(arg2);
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
18551 resultobj = SWIG_Py_Void();
18552 return resultobj;
18553fail:
18554 return NULL;
b2dc1044
RD
18555}
18556
18557
0085ce49
RD
18558SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18559 PyObject *resultobj = 0;
18560 wxFontData *arg1 = (wxFontData *) 0 ;
18561 bool result;
18562 void *argp1 = 0 ;
18563 int res1 = 0 ;
18564 PyObject *swig_obj[1] ;
18565
18566 if (!args) SWIG_fail;
18567 swig_obj[0] = args;
18568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18569 if (!SWIG_IsOK(res1)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18571 }
18572 arg1 = reinterpret_cast< wxFontData * >(argp1);
18573 {
18574 PyThreadState* __tstate = wxPyBeginAllowThreads();
18575 result = (bool)(arg1)->GetAllowSymbols();
18576 wxPyEndAllowThreads(__tstate);
18577 if (PyErr_Occurred()) SWIG_fail;
18578 }
18579 {
18580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18581 }
18582 return resultobj;
18583fail:
18584 return NULL;
d14a1e28
RD
18585}
18586
18587
0085ce49
RD
18588SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18589 PyObject *resultobj = 0;
18590 wxFontData *arg1 = (wxFontData *) 0 ;
18591 wxColour result;
18592 void *argp1 = 0 ;
18593 int res1 = 0 ;
18594 PyObject *swig_obj[1] ;
18595
18596 if (!args) SWIG_fail;
18597 swig_obj[0] = args;
18598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18599 if (!SWIG_IsOK(res1)) {
18600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18601 }
18602 arg1 = reinterpret_cast< wxFontData * >(argp1);
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (arg1)->GetColour();
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18610 return resultobj;
18611fail:
18612 return NULL;
d14a1e28
RD
18613}
18614
18615
0085ce49
RD
18616SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18617 PyObject *resultobj = 0;
18618 wxFontData *arg1 = (wxFontData *) 0 ;
18619 wxFont result;
18620 void *argp1 = 0 ;
18621 int res1 = 0 ;
18622 PyObject *swig_obj[1] ;
18623
18624 if (!args) SWIG_fail;
18625 swig_obj[0] = args;
18626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18627 if (!SWIG_IsOK(res1)) {
18628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18629 }
18630 arg1 = reinterpret_cast< wxFontData * >(argp1);
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 result = (arg1)->GetChosenFont();
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18638 return resultobj;
18639fail:
18640 return NULL;
d14a1e28
RD
18641}
18642
18643
0085ce49
RD
18644SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18645 PyObject *resultobj = 0;
18646 wxFontData *arg1 = (wxFontData *) 0 ;
18647 bool result;
18648 void *argp1 = 0 ;
18649 int res1 = 0 ;
18650 PyObject *swig_obj[1] ;
18651
18652 if (!args) SWIG_fail;
18653 swig_obj[0] = args;
18654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18655 if (!SWIG_IsOK(res1)) {
18656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18657 }
18658 arg1 = reinterpret_cast< wxFontData * >(argp1);
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 result = (bool)(arg1)->GetEnableEffects();
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 {
18666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18667 }
18668 return resultobj;
18669fail:
18670 return NULL;
d14a1e28
RD
18671}
18672
18673
0085ce49
RD
18674SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18675 PyObject *resultobj = 0;
18676 wxFontData *arg1 = (wxFontData *) 0 ;
18677 wxFont result;
18678 void *argp1 = 0 ;
18679 int res1 = 0 ;
18680 PyObject *swig_obj[1] ;
18681
18682 if (!args) SWIG_fail;
18683 swig_obj[0] = args;
18684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18685 if (!SWIG_IsOK(res1)) {
18686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18687 }
18688 arg1 = reinterpret_cast< wxFontData * >(argp1);
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 result = (arg1)->GetInitialFont();
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18696 return resultobj;
18697fail:
18698 return NULL;
d14a1e28
RD
18699}
18700
18701
0085ce49
RD
18702SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18703 PyObject *resultobj = 0;
18704 wxFontData *arg1 = (wxFontData *) 0 ;
18705 bool result;
18706 void *argp1 = 0 ;
18707 int res1 = 0 ;
18708 PyObject *swig_obj[1] ;
18709
18710 if (!args) SWIG_fail;
18711 swig_obj[0] = args;
18712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18713 if (!SWIG_IsOK(res1)) {
18714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18715 }
18716 arg1 = reinterpret_cast< wxFontData * >(argp1);
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 result = (bool)(arg1)->GetShowHelp();
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 {
18724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18725 }
18726 return resultobj;
18727fail:
18728 return NULL;
18729}
18730
18731
18732SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj = 0;
18734 wxFontData *arg1 = (wxFontData *) 0 ;
18735 bool arg2 ;
18736 void *argp1 = 0 ;
18737 int res1 = 0 ;
18738 bool val2 ;
18739 int ecode2 = 0 ;
18740 PyObject * obj0 = 0 ;
18741 PyObject * obj1 = 0 ;
18742 char * kwnames[] = {
18743 (char *) "self",(char *) "allowSymbols", NULL
18744 };
18745
18746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18748 if (!SWIG_IsOK(res1)) {
18749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18750 }
18751 arg1 = reinterpret_cast< wxFontData * >(argp1);
18752 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18753 if (!SWIG_IsOK(ecode2)) {
18754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18755 }
18756 arg2 = static_cast< bool >(val2);
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 (arg1)->SetAllowSymbols(arg2);
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 resultobj = SWIG_Py_Void();
18764 return resultobj;
18765fail:
18766 return NULL;
18767}
18768
18769
18770SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18771 PyObject *resultobj = 0;
18772 wxFontData *arg1 = (wxFontData *) 0 ;
18773 wxFont *arg2 = 0 ;
18774 void *argp1 = 0 ;
18775 int res1 = 0 ;
18776 void *argp2 = 0 ;
18777 int res2 = 0 ;
18778 PyObject * obj0 = 0 ;
18779 PyObject * obj1 = 0 ;
18780 char * kwnames[] = {
18781 (char *) "self",(char *) "font", NULL
18782 };
18783
18784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18786 if (!SWIG_IsOK(res1)) {
18787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18788 }
18789 arg1 = reinterpret_cast< wxFontData * >(argp1);
18790 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18791 if (!SWIG_IsOK(res2)) {
18792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18793 }
18794 if (!argp2) {
18795 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18796 }
18797 arg2 = reinterpret_cast< wxFont * >(argp2);
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 (arg1)->SetChosenFont((wxFont const &)*arg2);
18801 wxPyEndAllowThreads(__tstate);
18802 if (PyErr_Occurred()) SWIG_fail;
18803 }
18804 resultobj = SWIG_Py_Void();
18805 return resultobj;
18806fail:
18807 return NULL;
18808}
18809
18810
18811SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18812 PyObject *resultobj = 0;
18813 wxFontData *arg1 = (wxFontData *) 0 ;
18814 wxColour *arg2 = 0 ;
18815 void *argp1 = 0 ;
18816 int res1 = 0 ;
18817 wxColour temp2 ;
18818 PyObject * obj0 = 0 ;
18819 PyObject * obj1 = 0 ;
18820 char * kwnames[] = {
18821 (char *) "self",(char *) "colour", NULL
18822 };
18823
18824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18826 if (!SWIG_IsOK(res1)) {
18827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18828 }
18829 arg1 = reinterpret_cast< wxFontData * >(argp1);
18830 {
18831 arg2 = &temp2;
18832 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18833 }
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 (arg1)->SetColour((wxColour const &)*arg2);
18837 wxPyEndAllowThreads(__tstate);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 }
18840 resultobj = SWIG_Py_Void();
18841 return resultobj;
18842fail:
18843 return NULL;
18844}
18845
18846
18847SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj = 0;
18849 wxFontData *arg1 = (wxFontData *) 0 ;
18850 wxFont *arg2 = 0 ;
18851 void *argp1 = 0 ;
18852 int res1 = 0 ;
18853 void *argp2 = 0 ;
18854 int res2 = 0 ;
18855 PyObject * obj0 = 0 ;
18856 PyObject * obj1 = 0 ;
18857 char * kwnames[] = {
18858 (char *) "self",(char *) "font", NULL
18859 };
18860
18861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18863 if (!SWIG_IsOK(res1)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18865 }
18866 arg1 = reinterpret_cast< wxFontData * >(argp1);
18867 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18868 if (!SWIG_IsOK(res2)) {
18869 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18870 }
18871 if (!argp2) {
18872 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18873 }
18874 arg2 = reinterpret_cast< wxFont * >(argp2);
18875 {
18876 PyThreadState* __tstate = wxPyBeginAllowThreads();
18877 (arg1)->SetInitialFont((wxFont const &)*arg2);
18878 wxPyEndAllowThreads(__tstate);
18879 if (PyErr_Occurred()) SWIG_fail;
18880 }
18881 resultobj = SWIG_Py_Void();
18882 return resultobj;
18883fail:
18884 return NULL;
18885}
18886
18887
18888SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18889 PyObject *resultobj = 0;
18890 wxFontData *arg1 = (wxFontData *) 0 ;
18891 int arg2 ;
18892 int arg3 ;
18893 void *argp1 = 0 ;
18894 int res1 = 0 ;
18895 int val2 ;
18896 int ecode2 = 0 ;
18897 int val3 ;
18898 int ecode3 = 0 ;
18899 PyObject * obj0 = 0 ;
18900 PyObject * obj1 = 0 ;
18901 PyObject * obj2 = 0 ;
18902 char * kwnames[] = {
18903 (char *) "self",(char *) "min",(char *) "max", NULL
18904 };
18905
18906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18908 if (!SWIG_IsOK(res1)) {
18909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18910 }
18911 arg1 = reinterpret_cast< wxFontData * >(argp1);
18912 ecode2 = SWIG_AsVal_int(obj1, &val2);
18913 if (!SWIG_IsOK(ecode2)) {
18914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18915 }
18916 arg2 = static_cast< int >(val2);
18917 ecode3 = SWIG_AsVal_int(obj2, &val3);
18918 if (!SWIG_IsOK(ecode3)) {
18919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18920 }
18921 arg3 = static_cast< int >(val3);
18922 {
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 (arg1)->SetRange(arg2,arg3);
18925 wxPyEndAllowThreads(__tstate);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 resultobj = SWIG_Py_Void();
18929 return resultobj;
18930fail:
18931 return NULL;
18932}
18933
18934
18935SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18936 PyObject *resultobj = 0;
18937 wxFontData *arg1 = (wxFontData *) 0 ;
18938 bool arg2 ;
18939 void *argp1 = 0 ;
18940 int res1 = 0 ;
18941 bool val2 ;
18942 int ecode2 = 0 ;
18943 PyObject * obj0 = 0 ;
18944 PyObject * obj1 = 0 ;
18945 char * kwnames[] = {
18946 (char *) "self",(char *) "showHelp", NULL
18947 };
18948
18949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18951 if (!SWIG_IsOK(res1)) {
18952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18953 }
18954 arg1 = reinterpret_cast< wxFontData * >(argp1);
18955 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18956 if (!SWIG_IsOK(ecode2)) {
18957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18958 }
18959 arg2 = static_cast< bool >(val2);
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 (arg1)->SetShowHelp(arg2);
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 resultobj = SWIG_Py_Void();
18967 return resultobj;
18968fail:
18969 return NULL;
d14a1e28
RD
18970}
18971
18972
0085ce49
RD
18973SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18974 PyObject *obj;
18975 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18976 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18977 return SWIG_Py_Void();
d14a1e28
RD
18978}
18979
0085ce49
RD
18980SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18981 return SWIG_Python_InitShadowInstance(args);
18982}
d14a1e28 18983
0085ce49
RD
18984SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18985 PyObject *resultobj = 0;
18986 wxWindow *arg1 = (wxWindow *) 0 ;
18987 wxFontData *arg2 = 0 ;
18988 wxFontDialog *result = 0 ;
18989 void *argp1 = 0 ;
18990 int res1 = 0 ;
18991 void *argp2 = 0 ;
18992 int res2 = 0 ;
18993 PyObject * obj0 = 0 ;
18994 PyObject * obj1 = 0 ;
18995 char * kwnames[] = {
18996 (char *) "parent",(char *) "data", NULL
18997 };
18998
18999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19001 if (!SWIG_IsOK(res1)) {
19002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19003 }
19004 arg1 = reinterpret_cast< wxWindow * >(argp1);
19005 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19006 if (!SWIG_IsOK(res2)) {
19007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19008 }
19009 if (!argp2) {
19010 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19011 }
19012 arg2 = reinterpret_cast< wxFontData * >(argp2);
19013 {
19014 if (!wxPyCheckForApp()) SWIG_fail;
19015 PyThreadState* __tstate = wxPyBeginAllowThreads();
19016 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19017 wxPyEndAllowThreads(__tstate);
19018 if (PyErr_Occurred()) SWIG_fail;
19019 }
19020 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19021 return resultobj;
19022fail:
19023 return NULL;
19024}
19025
19026
19027SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19028 PyObject *resultobj = 0;
19029 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19030 wxFontData *result = 0 ;
19031 void *argp1 = 0 ;
19032 int res1 = 0 ;
19033 PyObject *swig_obj[1] ;
19034
19035 if (!args) SWIG_fail;
19036 swig_obj[0] = args;
19037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19038 if (!SWIG_IsOK(res1)) {
19039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19040 }
19041 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19042 {
19043 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19044 {
0085ce49
RD
19045 wxFontData &_result_ref = (arg1)->GetFontData();
19046 result = (wxFontData *) &_result_ref;
093d3ff1 19047 }
0085ce49
RD
19048 wxPyEndAllowThreads(__tstate);
19049 if (PyErr_Occurred()) SWIG_fail;
19050 }
19051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19052 return resultobj;
19053fail:
19054 return NULL;
19055}
19056
19057
19058SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19059 PyObject *obj;
19060 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19061 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19062 return SWIG_Py_Void();
19063}
19064
19065SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19066 return SWIG_Python_InitShadowInstance(args);
19067}
19068
19069SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj = 0;
19071 wxWindow *arg1 = (wxWindow *) NULL ;
19072 wxFont const &arg2_defvalue = wxNullFont ;
19073 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19074 wxString const &arg3_defvalue = wxPyEmptyString ;
19075 wxString *arg3 = (wxString *) &arg3_defvalue ;
19076 wxFont result;
19077 void *argp1 = 0 ;
19078 int res1 = 0 ;
19079 void *argp2 = 0 ;
19080 int res2 = 0 ;
19081 bool temp3 = false ;
19082 PyObject * obj0 = 0 ;
19083 PyObject * obj1 = 0 ;
19084 PyObject * obj2 = 0 ;
19085 char * kwnames[] = {
19086 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19087 };
19088
19089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19090 if (obj0) {
19091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19092 if (!SWIG_IsOK(res1)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19094 }
19095 arg1 = reinterpret_cast< wxWindow * >(argp1);
19096 }
19097 if (obj1) {
19098 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19099 if (!SWIG_IsOK(res2)) {
19100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19101 }
19102 if (!argp2) {
19103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d14a1e28 19104 }
0085ce49
RD
19105 arg2 = reinterpret_cast< wxFont * >(argp2);
19106 }
19107 if (obj2) {
4f89f6a3 19108 {
0085ce49
RD
19109 arg3 = wxString_in_helper(obj2);
19110 if (arg3 == NULL) SWIG_fail;
19111 temp3 = true;
4f89f6a3 19112 }
0085ce49
RD
19113 }
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19121 {
19122 if (temp3)
19123 delete arg3;
19124 }
19125 return resultobj;
19126fail:
19127 {
19128 if (temp3)
19129 delete arg3;
19130 }
19131 return NULL;
19132}
19133
19134
19135SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj = 0;
19137 wxWindow *arg1 = (wxWindow *) 0 ;
19138 wxString *arg2 = 0 ;
19139 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19140 wxString *arg3 = (wxString *) &arg3_defvalue ;
19141 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19142 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19143 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19144 wxMessageDialog *result = 0 ;
19145 void *argp1 = 0 ;
19146 int res1 = 0 ;
19147 bool temp2 = false ;
19148 bool temp3 = false ;
19149 long val4 ;
19150 int ecode4 = 0 ;
19151 wxPoint temp5 ;
19152 PyObject * obj0 = 0 ;
19153 PyObject * obj1 = 0 ;
19154 PyObject * obj2 = 0 ;
19155 PyObject * obj3 = 0 ;
19156 PyObject * obj4 = 0 ;
19157 char * kwnames[] = {
19158 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19159 };
19160
19161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19163 if (!SWIG_IsOK(res1)) {
19164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19165 }
19166 arg1 = reinterpret_cast< wxWindow * >(argp1);
19167 {
19168 arg2 = wxString_in_helper(obj1);
19169 if (arg2 == NULL) SWIG_fail;
19170 temp2 = true;
19171 }
19172 if (obj2) {
093d3ff1 19173 {
0085ce49
RD
19174 arg3 = wxString_in_helper(obj2);
19175 if (arg3 == NULL) SWIG_fail;
19176 temp3 = true;
093d3ff1 19177 }
0085ce49
RD
19178 }
19179 if (obj3) {
19180 ecode4 = SWIG_AsVal_long(obj3, &val4);
19181 if (!SWIG_IsOK(ecode4)) {
19182 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19183 }
19184 arg4 = static_cast< long >(val4);
19185 }
19186 if (obj4) {
d14a1e28 19187 {
0085ce49
RD
19188 arg5 = &temp5;
19189 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19190 }
19191 }
19192 {
19193 if (!wxPyCheckForApp()) SWIG_fail;
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19196 wxPyEndAllowThreads(__tstate);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 }
19199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19200 {
19201 if (temp2)
19202 delete arg2;
19203 }
19204 {
19205 if (temp3)
19206 delete arg3;
19207 }
19208 return resultobj;
19209fail:
19210 {
19211 if (temp2)
19212 delete arg2;
19213 }
19214 {
19215 if (temp3)
19216 delete arg3;
19217 }
19218 return NULL;
19219}
19220
19221
19222SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19223 PyObject *obj;
19224 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19225 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19226 return SWIG_Py_Void();
19227}
19228
19229SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19230 return SWIG_Python_InitShadowInstance(args);
19231}
19232
19233SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19234 PyObject *resultobj = 0;
19235 wxString *arg1 = 0 ;
19236 wxString *arg2 = 0 ;
19237 int arg3 = (int) 100 ;
19238 wxWindow *arg4 = (wxWindow *) NULL ;
19239 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19240 wxProgressDialog *result = 0 ;
19241 bool temp1 = false ;
19242 bool temp2 = false ;
19243 int val3 ;
19244 int ecode3 = 0 ;
19245 void *argp4 = 0 ;
19246 int res4 = 0 ;
19247 int val5 ;
19248 int ecode5 = 0 ;
19249 PyObject * obj0 = 0 ;
19250 PyObject * obj1 = 0 ;
19251 PyObject * obj2 = 0 ;
19252 PyObject * obj3 = 0 ;
19253 PyObject * obj4 = 0 ;
19254 char * kwnames[] = {
19255 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19256 };
19257
19258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19259 {
19260 arg1 = wxString_in_helper(obj0);
19261 if (arg1 == NULL) SWIG_fail;
19262 temp1 = true;
19263 }
19264 {
19265 arg2 = wxString_in_helper(obj1);
19266 if (arg2 == NULL) SWIG_fail;
19267 temp2 = true;
19268 }
19269 if (obj2) {
19270 ecode3 = SWIG_AsVal_int(obj2, &val3);
19271 if (!SWIG_IsOK(ecode3)) {
19272 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19273 }
19274 arg3 = static_cast< int >(val3);
19275 }
19276 if (obj3) {
19277 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19278 if (!SWIG_IsOK(res4)) {
19279 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d14a1e28 19280 }
0085ce49
RD
19281 arg4 = reinterpret_cast< wxWindow * >(argp4);
19282 }
19283 if (obj4) {
19284 ecode5 = SWIG_AsVal_int(obj4, &val5);
19285 if (!SWIG_IsOK(ecode5)) {
19286 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19287 }
19288 arg5 = static_cast< int >(val5);
19289 }
19290 {
19291 if (!wxPyCheckForApp()) SWIG_fail;
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19298 {
19299 if (temp1)
19300 delete arg1;
19301 }
19302 {
19303 if (temp2)
19304 delete arg2;
19305 }
19306 return resultobj;
19307fail:
19308 {
19309 if (temp1)
19310 delete arg1;
19311 }
19312 {
19313 if (temp2)
19314 delete arg2;
19315 }
19316 return NULL;
19317}
19318
19319
19320SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19321 PyObject *resultobj = 0;
19322 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19323 int arg2 ;
19324 wxString const &arg3_defvalue = wxPyEmptyString ;
19325 wxString *arg3 = (wxString *) &arg3_defvalue ;
01f6b6d3 19326 bool *arg4 = (bool *) 0 ;
0085ce49
RD
19327 bool result;
19328 void *argp1 = 0 ;
19329 int res1 = 0 ;
19330 int val2 ;
19331 int ecode2 = 0 ;
19332 bool temp3 = false ;
01f6b6d3
RD
19333 bool temp4 ;
19334 int res4 = SWIG_TMPOBJ ;
0085ce49
RD
19335 PyObject * obj0 = 0 ;
19336 PyObject * obj1 = 0 ;
19337 PyObject * obj2 = 0 ;
19338 char * kwnames[] = {
19339 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19340 };
19341
01f6b6d3 19342 arg4 = &temp4;
0085ce49
RD
19343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19345 if (!SWIG_IsOK(res1)) {
19346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19347 }
19348 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19349 ecode2 = SWIG_AsVal_int(obj1, &val2);
19350 if (!SWIG_IsOK(ecode2)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19352 }
19353 arg2 = static_cast< int >(val2);
19354 if (obj2) {
4f89f6a3 19355 {
0085ce49
RD
19356 arg3 = wxString_in_helper(obj2);
19357 if (arg3 == NULL) SWIG_fail;
19358 temp3 = true;
4f89f6a3 19359 }
0085ce49
RD
19360 }
19361 {
19362 PyThreadState* __tstate = wxPyBeginAllowThreads();
01f6b6d3 19363 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
0085ce49
RD
19364 wxPyEndAllowThreads(__tstate);
19365 if (PyErr_Occurred()) SWIG_fail;
19366 }
19367 {
19368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19369 }
01f6b6d3
RD
19370 if (SWIG_IsTmpObj(res4)) {
19371 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19372 } else {
19373 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19374 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19375 }
0085ce49
RD
19376 {
19377 if (temp3)
19378 delete arg3;
19379 }
19380 return resultobj;
19381fail:
19382 {
19383 if (temp3)
19384 delete arg3;
19385 }
19386 return NULL;
d14a1e28
RD
19387}
19388
19389
0085ce49
RD
19390SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19391 PyObject *resultobj = 0;
19392 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19393 void *argp1 = 0 ;
19394 int res1 = 0 ;
19395 PyObject *swig_obj[1] ;
19396
19397 if (!args) SWIG_fail;
19398 swig_obj[0] = args;
19399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19400 if (!SWIG_IsOK(res1)) {
19401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19402 }
19403 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19404 {
19405 PyThreadState* __tstate = wxPyBeginAllowThreads();
19406 (arg1)->Resume();
19407 wxPyEndAllowThreads(__tstate);
19408 if (PyErr_Occurred()) SWIG_fail;
19409 }
19410 resultobj = SWIG_Py_Void();
19411 return resultobj;
19412fail:
19413 return NULL;
d14a1e28
RD
19414}
19415
19416
0085ce49
RD
19417SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19418 PyObject *obj;
19419 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19420 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19421 return SWIG_Py_Void();
d14a1e28
RD
19422}
19423
0085ce49
RD
19424SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19425 return SWIG_Python_InitShadowInstance(args);
19426}
d14a1e28 19427
0085ce49
RD
19428SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19429 PyObject *resultobj = 0;
19430 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19431 int arg2 = (int) 0 ;
19432 wxFindDialogEvent *result = 0 ;
19433 int val1 ;
19434 int ecode1 = 0 ;
19435 int val2 ;
19436 int ecode2 = 0 ;
19437 PyObject * obj0 = 0 ;
19438 PyObject * obj1 = 0 ;
19439 char * kwnames[] = {
19440 (char *) "commandType",(char *) "id", NULL
19441 };
19442
19443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19444 if (obj0) {
19445 ecode1 = SWIG_AsVal_int(obj0, &val1);
19446 if (!SWIG_IsOK(ecode1)) {
19447 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19448 }
19449 arg1 = static_cast< wxEventType >(val1);
19450 }
19451 if (obj1) {
19452 ecode2 = SWIG_AsVal_int(obj1, &val2);
19453 if (!SWIG_IsOK(ecode2)) {
19454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19455 }
19456 arg2 = static_cast< int >(val2);
19457 }
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19465 return resultobj;
19466fail:
19467 return NULL;
d14a1e28
RD
19468}
19469
19470
0085ce49
RD
19471SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19472 PyObject *resultobj = 0;
19473 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19474 int result;
19475 void *argp1 = 0 ;
19476 int res1 = 0 ;
19477 PyObject *swig_obj[1] ;
19478
19479 if (!args) SWIG_fail;
19480 swig_obj[0] = args;
19481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19482 if (!SWIG_IsOK(res1)) {
19483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19484 }
19485 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 result = (int)(arg1)->GetFlags();
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 resultobj = SWIG_From_int(static_cast< int >(result));
19493 return resultobj;
19494fail:
19495 return NULL;
d14a1e28
RD
19496}
19497
19498
0085ce49
RD
19499SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19500 PyObject *resultobj = 0;
19501 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19502 wxString *result = 0 ;
19503 void *argp1 = 0 ;
19504 int res1 = 0 ;
19505 PyObject *swig_obj[1] ;
19506
19507 if (!args) SWIG_fail;
19508 swig_obj[0] = args;
19509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19510 if (!SWIG_IsOK(res1)) {
19511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19512 }
19513 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19514 {
19515 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 19516 {
0085ce49
RD
19517 wxString const &_result_ref = (arg1)->GetFindString();
19518 result = (wxString *) &_result_ref;
d14a1e28 19519 }
0085ce49
RD
19520 wxPyEndAllowThreads(__tstate);
19521 if (PyErr_Occurred()) SWIG_fail;
19522 }
19523 {
19524#if wxUSE_UNICODE
19525 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19526#else
19527 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19528#endif
19529 }
19530 return resultobj;
19531fail:
19532 return NULL;
d14a1e28
RD
19533}
19534
19535
0085ce49
RD
19536SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19537 PyObject *resultobj = 0;
19538 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19539 wxString *result = 0 ;
19540 void *argp1 = 0 ;
19541 int res1 = 0 ;
19542 PyObject *swig_obj[1] ;
19543
19544 if (!args) SWIG_fail;
19545 swig_obj[0] = args;
19546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19547 if (!SWIG_IsOK(res1)) {
19548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19549 }
19550 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19553 {
0085ce49
RD
19554 wxString const &_result_ref = (arg1)->GetReplaceString();
19555 result = (wxString *) &_result_ref;
093d3ff1 19556 }
0085ce49
RD
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 {
19561#if wxUSE_UNICODE
19562 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19563#else
19564 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19565#endif
19566 }
19567 return resultobj;
19568fail:
19569 return NULL;
d14a1e28
RD
19570}
19571
19572
0085ce49
RD
19573SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19574 PyObject *resultobj = 0;
19575 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19576 wxFindReplaceDialog *result = 0 ;
19577 void *argp1 = 0 ;
19578 int res1 = 0 ;
19579 PyObject *swig_obj[1] ;
19580
19581 if (!args) SWIG_fail;
19582 swig_obj[0] = args;
19583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19584 if (!SWIG_IsOK(res1)) {
19585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19586 }
19587 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19595 return resultobj;
19596fail:
19597 return NULL;
19598}
19599
19600
19601SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj = 0;
19603 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19604 int arg2 ;
19605 void *argp1 = 0 ;
19606 int res1 = 0 ;
19607 int val2 ;
19608 int ecode2 = 0 ;
19609 PyObject * obj0 = 0 ;
19610 PyObject * obj1 = 0 ;
19611 char * kwnames[] = {
19612 (char *) "self",(char *) "flags", NULL
19613 };
19614
19615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19617 if (!SWIG_IsOK(res1)) {
19618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19619 }
19620 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19621 ecode2 = SWIG_AsVal_int(obj1, &val2);
19622 if (!SWIG_IsOK(ecode2)) {
19623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19624 }
19625 arg2 = static_cast< int >(val2);
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 (arg1)->SetFlags(arg2);
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 resultobj = SWIG_Py_Void();
19633 return resultobj;
19634fail:
19635 return NULL;
19636}
19637
19638
19639SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj = 0;
19641 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19642 wxString *arg2 = 0 ;
19643 void *argp1 = 0 ;
19644 int res1 = 0 ;
19645 bool temp2 = false ;
19646 PyObject * obj0 = 0 ;
19647 PyObject * obj1 = 0 ;
19648 char * kwnames[] = {
19649 (char *) "self",(char *) "str", NULL
19650 };
19651
19652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19654 if (!SWIG_IsOK(res1)) {
19655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19656 }
19657 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19658 {
19659 arg2 = wxString_in_helper(obj1);
19660 if (arg2 == NULL) SWIG_fail;
19661 temp2 = true;
19662 }
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 (arg1)->SetFindString((wxString const &)*arg2);
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 resultobj = SWIG_Py_Void();
19670 {
19671 if (temp2)
19672 delete arg2;
19673 }
19674 return resultobj;
19675fail:
19676 {
19677 if (temp2)
19678 delete arg2;
19679 }
19680 return NULL;
d14a1e28
RD
19681}
19682
19683
0085ce49
RD
19684SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19685 PyObject *resultobj = 0;
19686 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19687 wxString *arg2 = 0 ;
19688 void *argp1 = 0 ;
19689 int res1 = 0 ;
19690 bool temp2 = false ;
19691 PyObject * obj0 = 0 ;
19692 PyObject * obj1 = 0 ;
19693 char * kwnames[] = {
19694 (char *) "self",(char *) "str", NULL
19695 };
19696
19697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19699 if (!SWIG_IsOK(res1)) {
19700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19701 }
19702 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19703 {
19704 arg2 = wxString_in_helper(obj1);
19705 if (arg2 == NULL) SWIG_fail;
19706 temp2 = true;
19707 }
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 (arg1)->SetReplaceString((wxString const &)*arg2);
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 resultobj = SWIG_Py_Void();
19715 {
19716 if (temp2)
19717 delete arg2;
19718 }
19719 return resultobj;
19720fail:
19721 {
19722 if (temp2)
19723 delete arg2;
19724 }
19725 return NULL;
d14a1e28
RD
19726}
19727
19728
0085ce49
RD
19729SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19730 PyObject *obj;
19731 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19732 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19733 return SWIG_Py_Void();
d14a1e28
RD
19734}
19735
0085ce49
RD
19736SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19737 return SWIG_Python_InitShadowInstance(args);
19738}
d14a1e28 19739
0085ce49
RD
19740SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19741 PyObject *resultobj = 0;
19742 int arg1 = (int) 0 ;
19743 wxFindReplaceData *result = 0 ;
19744 int val1 ;
19745 int ecode1 = 0 ;
19746 PyObject * obj0 = 0 ;
19747 char * kwnames[] = {
19748 (char *) "flags", NULL
19749 };
19750
19751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19752 if (obj0) {
19753 ecode1 = SWIG_AsVal_int(obj0, &val1);
19754 if (!SWIG_IsOK(ecode1)) {
19755 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19756 }
19757 arg1 = static_cast< int >(val1);
19758 }
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19766 return resultobj;
19767fail:
19768 return NULL;
d14a1e28
RD
19769}
19770
19771
0085ce49
RD
19772SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19773 PyObject *resultobj = 0;
19774 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19775 void *argp1 = 0 ;
19776 int res1 = 0 ;
19777 PyObject *swig_obj[1] ;
19778
19779 if (!args) SWIG_fail;
19780 swig_obj[0] = args;
19781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19782 if (!SWIG_IsOK(res1)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19784 }
19785 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 delete arg1;
d14a1e28 19789
0085ce49
RD
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 resultobj = SWIG_Py_Void();
19794 return resultobj;
19795fail:
19796 return NULL;
d14a1e28
RD
19797}
19798
19799
0085ce49
RD
19800SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19801 PyObject *resultobj = 0;
19802 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19803 wxString *result = 0 ;
19804 void *argp1 = 0 ;
19805 int res1 = 0 ;
19806 PyObject *swig_obj[1] ;
19807
19808 if (!args) SWIG_fail;
19809 swig_obj[0] = args;
19810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19811 if (!SWIG_IsOK(res1)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19813 }
19814 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19815 {
19816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 19817 {
0085ce49
RD
19818 wxString const &_result_ref = (arg1)->GetFindString();
19819 result = (wxString *) &_result_ref;
4f89f6a3 19820 }
0085ce49
RD
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 {
19825#if wxUSE_UNICODE
19826 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19827#else
19828 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19829#endif
19830 }
19831 return resultobj;
19832fail:
19833 return NULL;
d14a1e28
RD
19834}
19835
19836
0085ce49
RD
19837SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19838 PyObject *resultobj = 0;
19839 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19840 wxString *result = 0 ;
19841 void *argp1 = 0 ;
19842 int res1 = 0 ;
19843 PyObject *swig_obj[1] ;
19844
19845 if (!args) SWIG_fail;
19846 swig_obj[0] = args;
19847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19848 if (!SWIG_IsOK(res1)) {
19849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19850 }
19851 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 19854 {
0085ce49
RD
19855 wxString const &_result_ref = (arg1)->GetReplaceString();
19856 result = (wxString *) &_result_ref;
4f89f6a3 19857 }
0085ce49
RD
19858 wxPyEndAllowThreads(__tstate);
19859 if (PyErr_Occurred()) SWIG_fail;
19860 }
19861 {
19862#if wxUSE_UNICODE
19863 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19864#else
19865 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19866#endif
19867 }
19868 return resultobj;
19869fail:
19870 return NULL;
d14a1e28
RD
19871}
19872
19873
0085ce49
RD
19874SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19875 PyObject *resultobj = 0;
19876 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19877 int result;
19878 void *argp1 = 0 ;
19879 int res1 = 0 ;
19880 PyObject *swig_obj[1] ;
19881
19882 if (!args) SWIG_fail;
19883 swig_obj[0] = args;
19884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19885 if (!SWIG_IsOK(res1)) {
19886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19887 }
19888 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 result = (int)(arg1)->GetFlags();
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 resultobj = SWIG_From_int(static_cast< int >(result));
19896 return resultobj;
19897fail:
19898 return NULL;
19899}
19900
19901
19902SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj = 0;
19904 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19905 int arg2 ;
19906 void *argp1 = 0 ;
19907 int res1 = 0 ;
19908 int val2 ;
19909 int ecode2 = 0 ;
19910 PyObject * obj0 = 0 ;
19911 PyObject * obj1 = 0 ;
19912 char * kwnames[] = {
19913 (char *) "self",(char *) "flags", NULL
19914 };
19915
19916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19918 if (!SWIG_IsOK(res1)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19920 }
19921 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19922 ecode2 = SWIG_AsVal_int(obj1, &val2);
19923 if (!SWIG_IsOK(ecode2)) {
19924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19925 }
19926 arg2 = static_cast< int >(val2);
19927 {
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 (arg1)->SetFlags(arg2);
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 resultobj = SWIG_Py_Void();
19934 return resultobj;
19935fail:
19936 return NULL;
19937}
19938
19939
19940SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19941 PyObject *resultobj = 0;
19942 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19943 wxString *arg2 = 0 ;
19944 void *argp1 = 0 ;
19945 int res1 = 0 ;
19946 bool temp2 = false ;
19947 PyObject * obj0 = 0 ;
19948 PyObject * obj1 = 0 ;
19949 char * kwnames[] = {
19950 (char *) "self",(char *) "str", NULL
19951 };
19952
19953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19955 if (!SWIG_IsOK(res1)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19957 }
19958 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19959 {
19960 arg2 = wxString_in_helper(obj1);
19961 if (arg2 == NULL) SWIG_fail;
19962 temp2 = true;
19963 }
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 (arg1)->SetFindString((wxString const &)*arg2);
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 resultobj = SWIG_Py_Void();
19971 {
19972 if (temp2)
19973 delete arg2;
19974 }
19975 return resultobj;
19976fail:
19977 {
19978 if (temp2)
19979 delete arg2;
19980 }
19981 return NULL;
d14a1e28
RD
19982}
19983
19984
0085ce49
RD
19985SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj = 0;
19987 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19988 wxString *arg2 = 0 ;
19989 void *argp1 = 0 ;
19990 int res1 = 0 ;
19991 bool temp2 = false ;
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 char * kwnames[] = {
19995 (char *) "self",(char *) "str", NULL
19996 };
19997
19998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20000 if (!SWIG_IsOK(res1)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20002 }
20003 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20004 {
20005 arg2 = wxString_in_helper(obj1);
20006 if (arg2 == NULL) SWIG_fail;
20007 temp2 = true;
20008 }
20009 {
20010 PyThreadState* __tstate = wxPyBeginAllowThreads();
20011 (arg1)->SetReplaceString((wxString const &)*arg2);
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 resultobj = SWIG_Py_Void();
20016 {
20017 if (temp2)
20018 delete arg2;
20019 }
20020 return resultobj;
20021fail:
20022 {
20023 if (temp2)
20024 delete arg2;
20025 }
20026 return NULL;
20027}
20028
20029
20030SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20031 PyObject *obj;
20032 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20033 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20034 return SWIG_Py_Void();
20035}
20036
20037SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20038 return SWIG_Python_InitShadowInstance(args);
20039}
20040
20041SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20042 PyObject *resultobj = 0;
20043 wxWindow *arg1 = (wxWindow *) 0 ;
20044 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20045 wxString *arg3 = 0 ;
20046 int arg4 = (int) 0 ;
20047 wxFindReplaceDialog *result = 0 ;
20048 void *argp1 = 0 ;
20049 int res1 = 0 ;
20050 void *argp2 = 0 ;
20051 int res2 = 0 ;
20052 bool temp3 = false ;
20053 int val4 ;
20054 int ecode4 = 0 ;
20055 PyObject * obj0 = 0 ;
20056 PyObject * obj1 = 0 ;
20057 PyObject * obj2 = 0 ;
20058 PyObject * obj3 = 0 ;
20059 char * kwnames[] = {
20060 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20061 };
20062
20063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20065 if (!SWIG_IsOK(res1)) {
20066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20067 }
20068 arg1 = reinterpret_cast< wxWindow * >(argp1);
20069 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20070 if (!SWIG_IsOK(res2)) {
20071 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20072 }
20073 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20074 {
20075 arg3 = wxString_in_helper(obj2);
20076 if (arg3 == NULL) SWIG_fail;
20077 temp3 = true;
20078 }
20079 if (obj3) {
20080 ecode4 = SWIG_AsVal_int(obj3, &val4);
20081 if (!SWIG_IsOK(ecode4)) {
20082 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20083 }
20084 arg4 = static_cast< int >(val4);
20085 }
20086 {
20087 if (!wxPyCheckForApp()) SWIG_fail;
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20090 wxPyEndAllowThreads(__tstate);
20091 if (PyErr_Occurred()) SWIG_fail;
20092 }
20093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20094 {
20095 if (temp3)
20096 delete arg3;
20097 }
20098 return resultobj;
20099fail:
20100 {
20101 if (temp3)
20102 delete arg3;
20103 }
20104 return NULL;
d14a1e28
RD
20105}
20106
20107
0085ce49
RD
20108SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20109 PyObject *resultobj = 0;
20110 wxFindReplaceDialog *result = 0 ;
20111
20112 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20113 {
20114 if (!wxPyCheckForApp()) SWIG_fail;
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20121 return resultobj;
20122fail:
20123 return NULL;
20124}
20125
20126
20127SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20128 PyObject *resultobj = 0;
20129 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20130 wxWindow *arg2 = (wxWindow *) 0 ;
20131 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20132 wxString *arg4 = 0 ;
20133 int arg5 = (int) 0 ;
20134 bool result;
20135 void *argp1 = 0 ;
20136 int res1 = 0 ;
20137 void *argp2 = 0 ;
20138 int res2 = 0 ;
20139 void *argp3 = 0 ;
20140 int res3 = 0 ;
20141 bool temp4 = false ;
20142 int val5 ;
20143 int ecode5 = 0 ;
20144 PyObject * obj0 = 0 ;
20145 PyObject * obj1 = 0 ;
20146 PyObject * obj2 = 0 ;
20147 PyObject * obj3 = 0 ;
20148 PyObject * obj4 = 0 ;
20149 char * kwnames[] = {
20150 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20151 };
20152
20153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20155 if (!SWIG_IsOK(res1)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20157 }
20158 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20159 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20160 if (!SWIG_IsOK(res2)) {
20161 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20162 }
20163 arg2 = reinterpret_cast< wxWindow * >(argp2);
20164 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20165 if (!SWIG_IsOK(res3)) {
20166 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20167 }
20168 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20169 {
20170 arg4 = wxString_in_helper(obj3);
20171 if (arg4 == NULL) SWIG_fail;
20172 temp4 = true;
20173 }
20174 if (obj4) {
20175 ecode5 = SWIG_AsVal_int(obj4, &val5);
20176 if (!SWIG_IsOK(ecode5)) {
20177 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20178 }
20179 arg5 = static_cast< int >(val5);
20180 }
20181 {
20182 PyThreadState* __tstate = wxPyBeginAllowThreads();
20183 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20184 wxPyEndAllowThreads(__tstate);
20185 if (PyErr_Occurred()) SWIG_fail;
20186 }
20187 {
20188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20189 }
20190 {
20191 if (temp4)
20192 delete arg4;
20193 }
20194 return resultobj;
20195fail:
20196 {
20197 if (temp4)
20198 delete arg4;
20199 }
20200 return NULL;
d14a1e28
RD
20201}
20202
20203
0085ce49
RD
20204SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20205 PyObject *resultobj = 0;
20206 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20207 wxFindReplaceData *result = 0 ;
20208 void *argp1 = 0 ;
20209 int res1 = 0 ;
20210 PyObject *swig_obj[1] ;
20211
20212 if (!args) SWIG_fail;
20213 swig_obj[0] = args;
20214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20215 if (!SWIG_IsOK(res1)) {
20216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20217 }
20218 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 result = (wxFindReplaceData *)(arg1)->GetData();
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20226 return resultobj;
20227fail:
20228 return NULL;
20229}
20230
20231
20232SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj = 0;
20234 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20235 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20236 void *argp1 = 0 ;
20237 int res1 = 0 ;
20238 void *argp2 = 0 ;
20239 int res2 = 0 ;
20240 PyObject * obj0 = 0 ;
20241 PyObject * obj1 = 0 ;
20242 char * kwnames[] = {
20243 (char *) "self",(char *) "data", NULL
20244 };
20245
20246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20248 if (!SWIG_IsOK(res1)) {
20249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20250 }
20251 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20253 if (!SWIG_IsOK(res2)) {
20254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20255 }
20256 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20257 {
20258 PyThreadState* __tstate = wxPyBeginAllowThreads();
20259 (arg1)->SetData(arg2);
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 resultobj = SWIG_Py_Void();
20264 return resultobj;
20265fail:
20266 return NULL;
20267}
20268
20269
20270SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20271 PyObject *obj;
20272 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20273 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20274 return SWIG_Py_Void();
20275}
20276
20277SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20278 return SWIG_Python_InitShadowInstance(args);
20279}
20280
20281SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20282 PyObject *resultobj = 0;
20283 wxWindow *arg1 = (wxWindow *) 0 ;
20284 int arg2 = (int) (int)-1 ;
20285 wxString const &arg3_defvalue = wxPyEmptyString ;
20286 wxString *arg3 = (wxString *) &arg3_defvalue ;
20287 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20288 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20289 wxSize const &arg5_defvalue = wxDefaultSize ;
20290 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20291 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20292 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20293 wxString *arg7 = (wxString *) &arg7_defvalue ;
20294 wxMDIParentFrame *result = 0 ;
20295 void *argp1 = 0 ;
20296 int res1 = 0 ;
20297 int val2 ;
20298 int ecode2 = 0 ;
20299 bool temp3 = false ;
20300 wxPoint temp4 ;
20301 wxSize temp5 ;
20302 long val6 ;
20303 int ecode6 = 0 ;
20304 bool temp7 = false ;
20305 PyObject * obj0 = 0 ;
20306 PyObject * obj1 = 0 ;
20307 PyObject * obj2 = 0 ;
20308 PyObject * obj3 = 0 ;
20309 PyObject * obj4 = 0 ;
20310 PyObject * obj5 = 0 ;
20311 PyObject * obj6 = 0 ;
20312 char * kwnames[] = {
20313 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20314 };
20315
20316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20318 if (!SWIG_IsOK(res1)) {
20319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20320 }
20321 arg1 = reinterpret_cast< wxWindow * >(argp1);
20322 if (obj1) {
20323 ecode2 = SWIG_AsVal_int(obj1, &val2);
20324 if (!SWIG_IsOK(ecode2)) {
20325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20326 }
20327 arg2 = static_cast< int >(val2);
20328 }
20329 if (obj2) {
d14a1e28 20330 {
0085ce49
RD
20331 arg3 = wxString_in_helper(obj2);
20332 if (arg3 == NULL) SWIG_fail;
20333 temp3 = true;
d14a1e28 20334 }
0085ce49
RD
20335 }
20336 if (obj3) {
d14a1e28 20337 {
0085ce49
RD
20338 arg4 = &temp4;
20339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 20340 }
0085ce49
RD
20341 }
20342 if (obj4) {
d14a1e28 20343 {
0085ce49
RD
20344 arg5 = &temp5;
20345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20346 }
20347 }
20348 if (obj5) {
20349 ecode6 = SWIG_AsVal_long(obj5, &val6);
20350 if (!SWIG_IsOK(ecode6)) {
20351 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20352 }
20353 arg6 = static_cast< long >(val6);
20354 }
20355 if (obj6) {
d14a1e28 20356 {
0085ce49
RD
20357 arg7 = wxString_in_helper(obj6);
20358 if (arg7 == NULL) SWIG_fail;
20359 temp7 = true;
20360 }
20361 }
20362 {
20363 if (!wxPyCheckForApp()) SWIG_fail;
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20366 wxPyEndAllowThreads(__tstate);
20367 if (PyErr_Occurred()) SWIG_fail;
20368 }
20369 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20370 {
20371 if (temp3)
20372 delete arg3;
20373 }
20374 {
20375 if (temp7)
20376 delete arg7;
20377 }
20378 return resultobj;
20379fail:
20380 {
20381 if (temp3)
20382 delete arg3;
20383 }
20384 {
20385 if (temp7)
20386 delete arg7;
20387 }
20388 return NULL;
d14a1e28
RD
20389}
20390
20391
0085ce49
RD
20392SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20393 PyObject *resultobj = 0;
20394 wxMDIParentFrame *result = 0 ;
20395
20396 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20397 {
20398 if (!wxPyCheckForApp()) SWIG_fail;
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20405 return resultobj;
20406fail:
20407 return NULL;
20408}
20409
20410
20411SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj = 0;
20413 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20414 wxWindow *arg2 = (wxWindow *) 0 ;
20415 int arg3 = (int) (int)-1 ;
20416 wxString const &arg4_defvalue = wxPyEmptyString ;
20417 wxString *arg4 = (wxString *) &arg4_defvalue ;
20418 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20419 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20420 wxSize const &arg6_defvalue = wxDefaultSize ;
20421 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20422 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20423 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20424 wxString *arg8 = (wxString *) &arg8_defvalue ;
20425 bool result;
20426 void *argp1 = 0 ;
20427 int res1 = 0 ;
20428 void *argp2 = 0 ;
20429 int res2 = 0 ;
20430 int val3 ;
20431 int ecode3 = 0 ;
20432 bool temp4 = false ;
20433 wxPoint temp5 ;
20434 wxSize temp6 ;
20435 long val7 ;
20436 int ecode7 = 0 ;
20437 bool temp8 = false ;
20438 PyObject * obj0 = 0 ;
20439 PyObject * obj1 = 0 ;
20440 PyObject * obj2 = 0 ;
20441 PyObject * obj3 = 0 ;
20442 PyObject * obj4 = 0 ;
20443 PyObject * obj5 = 0 ;
20444 PyObject * obj6 = 0 ;
20445 PyObject * obj7 = 0 ;
20446 char * kwnames[] = {
20447 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20448 };
20449
20450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20452 if (!SWIG_IsOK(res1)) {
20453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20454 }
20455 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20456 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20457 if (!SWIG_IsOK(res2)) {
20458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20459 }
20460 arg2 = reinterpret_cast< wxWindow * >(argp2);
20461 if (obj2) {
20462 ecode3 = SWIG_AsVal_int(obj2, &val3);
20463 if (!SWIG_IsOK(ecode3)) {
20464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20465 }
20466 arg3 = static_cast< int >(val3);
20467 }
20468 if (obj3) {
d14a1e28 20469 {
0085ce49
RD
20470 arg4 = wxString_in_helper(obj3);
20471 if (arg4 == NULL) SWIG_fail;
20472 temp4 = true;
d14a1e28 20473 }
0085ce49
RD
20474 }
20475 if (obj4) {
4f89f6a3 20476 {
0085ce49
RD
20477 arg5 = &temp5;
20478 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 20479 }
0085ce49
RD
20480 }
20481 if (obj5) {
d14a1e28 20482 {
0085ce49
RD
20483 arg6 = &temp6;
20484 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 20485 }
0085ce49
RD
20486 }
20487 if (obj6) {
20488 ecode7 = SWIG_AsVal_long(obj6, &val7);
20489 if (!SWIG_IsOK(ecode7)) {
20490 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20491 }
20492 arg7 = static_cast< long >(val7);
20493 }
20494 if (obj7) {
d14a1e28 20495 {
0085ce49
RD
20496 arg8 = wxString_in_helper(obj7);
20497 if (arg8 == NULL) SWIG_fail;
20498 temp8 = true;
d14a1e28 20499 }
0085ce49
RD
20500 }
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20504 wxPyEndAllowThreads(__tstate);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 }
20507 {
20508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20509 }
20510 {
20511 if (temp4)
20512 delete arg4;
20513 }
20514 {
20515 if (temp8)
20516 delete arg8;
20517 }
20518 return resultobj;
20519fail:
20520 {
20521 if (temp4)
20522 delete arg4;
20523 }
20524 {
20525 if (temp8)
20526 delete arg8;
20527 }
20528 return NULL;
d14a1e28
RD
20529}
20530
20531
0085ce49
RD
20532SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20533 PyObject *resultobj = 0;
20534 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20535 void *argp1 = 0 ;
20536 int res1 = 0 ;
20537 PyObject *swig_obj[1] ;
20538
20539 if (!args) SWIG_fail;
20540 swig_obj[0] = args;
20541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20542 if (!SWIG_IsOK(res1)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20544 }
20545 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20546 {
20547 PyThreadState* __tstate = wxPyBeginAllowThreads();
20548 (arg1)->ActivateNext();
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 resultobj = SWIG_Py_Void();
20553 return resultobj;
20554fail:
20555 return NULL;
d14a1e28
RD
20556}
20557
20558
0085ce49
RD
20559SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20560 PyObject *resultobj = 0;
20561 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20562 void *argp1 = 0 ;
20563 int res1 = 0 ;
20564 PyObject *swig_obj[1] ;
20565
20566 if (!args) SWIG_fail;
20567 swig_obj[0] = args;
20568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20569 if (!SWIG_IsOK(res1)) {
20570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20571 }
20572 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 (arg1)->ActivatePrevious();
20576 wxPyEndAllowThreads(__tstate);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 }
20579 resultobj = SWIG_Py_Void();
20580 return resultobj;
20581fail:
20582 return NULL;
d14a1e28
RD
20583}
20584
20585
0085ce49
RD
20586SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20587 PyObject *resultobj = 0;
20588 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20589 void *argp1 = 0 ;
20590 int res1 = 0 ;
20591 PyObject *swig_obj[1] ;
20592
20593 if (!args) SWIG_fail;
20594 swig_obj[0] = args;
20595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20596 if (!SWIG_IsOK(res1)) {
20597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20598 }
20599 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 (arg1)->ArrangeIcons();
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 resultobj = SWIG_Py_Void();
20607 return resultobj;
20608fail:
20609 return NULL;
7fdaaabe
RD
20610}
20611
20612
0085ce49
RD
20613SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20614 PyObject *resultobj = 0;
20615 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20616 void *argp1 = 0 ;
20617 int res1 = 0 ;
20618 PyObject *swig_obj[1] ;
20619
20620 if (!args) SWIG_fail;
20621 swig_obj[0] = args;
20622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20623 if (!SWIG_IsOK(res1)) {
20624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20625 }
20626 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20627 {
20628 PyThreadState* __tstate = wxPyBeginAllowThreads();
20629 (arg1)->Cascade();
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 resultobj = SWIG_Py_Void();
20634 return resultobj;
20635fail:
20636 return NULL;
d14a1e28
RD
20637}
20638
20639
0085ce49
RD
20640SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20641 PyObject *resultobj = 0;
20642 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20643 wxMDIChildFrame *result = 0 ;
20644 void *argp1 = 0 ;
20645 int res1 = 0 ;
20646 PyObject *swig_obj[1] ;
20647
20648 if (!args) SWIG_fail;
20649 swig_obj[0] = args;
20650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20651 if (!SWIG_IsOK(res1)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20653 }
20654 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20658 wxPyEndAllowThreads(__tstate);
20659 if (PyErr_Occurred()) SWIG_fail;
20660 }
20661 {
20662 resultobj = wxPyMake_wxObject(result, (bool)0);
20663 }
20664 return resultobj;
20665fail:
20666 return NULL;
d14a1e28
RD
20667}
20668
20669
0085ce49
RD
20670SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20671 PyObject *resultobj = 0;
20672 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20673 wxMDIClientWindow *result = 0 ;
20674 void *argp1 = 0 ;
20675 int res1 = 0 ;
20676 PyObject *swig_obj[1] ;
20677
20678 if (!args) SWIG_fail;
20679 swig_obj[0] = args;
20680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20681 if (!SWIG_IsOK(res1)) {
20682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20683 }
20684 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 {
20692 resultobj = wxPyMake_wxObject(result, (bool)0);
20693 }
20694 return resultobj;
20695fail:
20696 return NULL;
74a57fcd
RD
20697}
20698
20699
0085ce49
RD
20700SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20701 PyObject *resultobj = 0;
20702 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20703 wxWindow *result = 0 ;
20704 void *argp1 = 0 ;
20705 int res1 = 0 ;
20706 PyObject *swig_obj[1] ;
20707
20708 if (!args) SWIG_fail;
20709 swig_obj[0] = args;
20710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20711 if (!SWIG_IsOK(res1)) {
20712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20713 }
20714 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20715 {
20716 PyThreadState* __tstate = wxPyBeginAllowThreads();
20717 result = (wxWindow *)(arg1)->GetToolBar();
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 {
20722 resultobj = wxPyMake_wxObject(result, 0);
20723 }
20724 return resultobj;
20725fail:
20726 return NULL;
20727}
20728
20729
20730SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj = 0;
20732 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20733 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20734 void *argp1 = 0 ;
20735 int res1 = 0 ;
20736 int val2 ;
20737 int ecode2 = 0 ;
20738 PyObject * obj0 = 0 ;
20739 PyObject * obj1 = 0 ;
20740 char * kwnames[] = {
20741 (char *) "self",(char *) "orient", NULL
20742 };
20743
20744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20746 if (!SWIG_IsOK(res1)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20748 }
20749 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20750 if (obj1) {
20751 ecode2 = SWIG_AsVal_int(obj1, &val2);
20752 if (!SWIG_IsOK(ecode2)) {
20753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20754 }
20755 arg2 = static_cast< wxOrientation >(val2);
20756 }
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 (arg1)->Tile(arg2);
20760 wxPyEndAllowThreads(__tstate);
20761 if (PyErr_Occurred()) SWIG_fail;
20762 }
20763 resultobj = SWIG_Py_Void();
20764 return resultobj;
20765fail:
20766 return NULL;
20767}
20768
20769
20770SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20771 PyObject *obj;
20772 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20773 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20774 return SWIG_Py_Void();
20775}
20776
20777SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20778 return SWIG_Python_InitShadowInstance(args);
20779}
20780
20781SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20782 PyObject *resultobj = 0;
20783 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20784 int arg2 = (int) (int)-1 ;
20785 wxString const &arg3_defvalue = wxPyEmptyString ;
20786 wxString *arg3 = (wxString *) &arg3_defvalue ;
20787 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20788 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20789 wxSize const &arg5_defvalue = wxDefaultSize ;
20790 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20791 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20792 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20793 wxString *arg7 = (wxString *) &arg7_defvalue ;
20794 wxMDIChildFrame *result = 0 ;
20795 void *argp1 = 0 ;
20796 int res1 = 0 ;
20797 int val2 ;
20798 int ecode2 = 0 ;
20799 bool temp3 = false ;
20800 wxPoint temp4 ;
20801 wxSize temp5 ;
20802 long val6 ;
20803 int ecode6 = 0 ;
20804 bool temp7 = false ;
20805 PyObject * obj0 = 0 ;
20806 PyObject * obj1 = 0 ;
20807 PyObject * obj2 = 0 ;
20808 PyObject * obj3 = 0 ;
20809 PyObject * obj4 = 0 ;
20810 PyObject * obj5 = 0 ;
20811 PyObject * obj6 = 0 ;
20812 char * kwnames[] = {
20813 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20814 };
20815
20816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20818 if (!SWIG_IsOK(res1)) {
20819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20820 }
20821 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20822 if (obj1) {
20823 ecode2 = SWIG_AsVal_int(obj1, &val2);
20824 if (!SWIG_IsOK(ecode2)) {
20825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20826 }
20827 arg2 = static_cast< int >(val2);
20828 }
20829 if (obj2) {
d14a1e28 20830 {
0085ce49
RD
20831 arg3 = wxString_in_helper(obj2);
20832 if (arg3 == NULL) SWIG_fail;
20833 temp3 = true;
d14a1e28 20834 }
0085ce49
RD
20835 }
20836 if (obj3) {
4f89f6a3 20837 {
0085ce49
RD
20838 arg4 = &temp4;
20839 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 20840 }
0085ce49
RD
20841 }
20842 if (obj4) {
d14a1e28 20843 {
0085ce49
RD
20844 arg5 = &temp5;
20845 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 20846 }
0085ce49
RD
20847 }
20848 if (obj5) {
20849 ecode6 = SWIG_AsVal_long(obj5, &val6);
20850 if (!SWIG_IsOK(ecode6)) {
20851 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20852 }
20853 arg6 = static_cast< long >(val6);
20854 }
20855 if (obj6) {
4f89f6a3 20856 {
0085ce49
RD
20857 arg7 = wxString_in_helper(obj6);
20858 if (arg7 == NULL) SWIG_fail;
20859 temp7 = true;
4f89f6a3 20860 }
0085ce49
RD
20861 }
20862 {
20863 if (!wxPyCheckForApp()) SWIG_fail;
20864 PyThreadState* __tstate = wxPyBeginAllowThreads();
20865 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20870 {
20871 if (temp3)
20872 delete arg3;
20873 }
20874 {
20875 if (temp7)
20876 delete arg7;
20877 }
20878 return resultobj;
20879fail:
20880 {
20881 if (temp3)
20882 delete arg3;
20883 }
20884 {
20885 if (temp7)
20886 delete arg7;
20887 }
20888 return NULL;
d14a1e28
RD
20889}
20890
20891
0085ce49
RD
20892SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20893 PyObject *resultobj = 0;
20894 wxMDIChildFrame *result = 0 ;
20895
20896 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20897 {
20898 if (!wxPyCheckForApp()) SWIG_fail;
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20905 return resultobj;
20906fail:
20907 return NULL;
20908}
20909
20910
20911SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20912 PyObject *resultobj = 0;
20913 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20914 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20915 int arg3 = (int) (int)-1 ;
20916 wxString const &arg4_defvalue = wxPyEmptyString ;
20917 wxString *arg4 = (wxString *) &arg4_defvalue ;
20918 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20919 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20920 wxSize const &arg6_defvalue = wxDefaultSize ;
20921 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20922 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20923 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20924 wxString *arg8 = (wxString *) &arg8_defvalue ;
20925 bool result;
20926 void *argp1 = 0 ;
20927 int res1 = 0 ;
20928 void *argp2 = 0 ;
20929 int res2 = 0 ;
20930 int val3 ;
20931 int ecode3 = 0 ;
20932 bool temp4 = false ;
20933 wxPoint temp5 ;
20934 wxSize temp6 ;
20935 long val7 ;
20936 int ecode7 = 0 ;
20937 bool temp8 = false ;
20938 PyObject * obj0 = 0 ;
20939 PyObject * obj1 = 0 ;
20940 PyObject * obj2 = 0 ;
20941 PyObject * obj3 = 0 ;
20942 PyObject * obj4 = 0 ;
20943 PyObject * obj5 = 0 ;
20944 PyObject * obj6 = 0 ;
20945 PyObject * obj7 = 0 ;
20946 char * kwnames[] = {
20947 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20948 };
20949
20950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20952 if (!SWIG_IsOK(res1)) {
20953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20954 }
20955 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20956 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20957 if (!SWIG_IsOK(res2)) {
20958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20959 }
20960 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20961 if (obj2) {
20962 ecode3 = SWIG_AsVal_int(obj2, &val3);
20963 if (!SWIG_IsOK(ecode3)) {
20964 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20965 }
20966 arg3 = static_cast< int >(val3);
20967 }
20968 if (obj3) {
d14a1e28 20969 {
0085ce49
RD
20970 arg4 = wxString_in_helper(obj3);
20971 if (arg4 == NULL) SWIG_fail;
20972 temp4 = true;
d14a1e28 20973 }
0085ce49
RD
20974 }
20975 if (obj4) {
4f89f6a3 20976 {
0085ce49
RD
20977 arg5 = &temp5;
20978 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 20979 }
0085ce49
RD
20980 }
20981 if (obj5) {
d14a1e28 20982 {
0085ce49
RD
20983 arg6 = &temp6;
20984 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 20985 }
0085ce49
RD
20986 }
20987 if (obj6) {
20988 ecode7 = SWIG_AsVal_long(obj6, &val7);
20989 if (!SWIG_IsOK(ecode7)) {
20990 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20991 }
20992 arg7 = static_cast< long >(val7);
20993 }
20994 if (obj7) {
d14a1e28 20995 {
0085ce49
RD
20996 arg8 = wxString_in_helper(obj7);
20997 if (arg8 == NULL) SWIG_fail;
20998 temp8 = true;
d14a1e28 20999 }
0085ce49
RD
21000 }
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
21003 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 {
21008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21009 }
21010 {
21011 if (temp4)
21012 delete arg4;
21013 }
21014 {
21015 if (temp8)
21016 delete arg8;
21017 }
21018 return resultobj;
21019fail:
21020 {
21021 if (temp4)
21022 delete arg4;
21023 }
21024 {
21025 if (temp8)
21026 delete arg8;
21027 }
21028 return NULL;
d14a1e28
RD
21029}
21030
21031
0085ce49
RD
21032SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21033 PyObject *resultobj = 0;
21034 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21035 void *argp1 = 0 ;
21036 int res1 = 0 ;
21037 PyObject *swig_obj[1] ;
21038
21039 if (!args) SWIG_fail;
21040 swig_obj[0] = args;
21041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21042 if (!SWIG_IsOK(res1)) {
21043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21044 }
21045 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21046 {
21047 PyThreadState* __tstate = wxPyBeginAllowThreads();
21048 (arg1)->Activate();
21049 wxPyEndAllowThreads(__tstate);
21050 if (PyErr_Occurred()) SWIG_fail;
21051 }
21052 resultobj = SWIG_Py_Void();
21053 return resultobj;
21054fail:
21055 return NULL;
d14a1e28
RD
21056}
21057
21058
0085ce49
RD
21059SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21060 PyObject *obj;
21061 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21062 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21063 return SWIG_Py_Void();
d14a1e28
RD
21064}
21065
0085ce49
RD
21066SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21067 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
21068}
21069
0085ce49
RD
21070SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21071 PyObject *resultobj = 0;
21072 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21073 long arg2 = (long) 0 ;
21074 wxMDIClientWindow *result = 0 ;
21075 void *argp1 = 0 ;
21076 int res1 = 0 ;
21077 long val2 ;
21078 int ecode2 = 0 ;
21079 PyObject * obj0 = 0 ;
21080 PyObject * obj1 = 0 ;
21081 char * kwnames[] = {
21082 (char *) "parent",(char *) "style", NULL
21083 };
21084
21085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21087 if (!SWIG_IsOK(res1)) {
21088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21089 }
21090 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21091 if (obj1) {
21092 ecode2 = SWIG_AsVal_long(obj1, &val2);
21093 if (!SWIG_IsOK(ecode2)) {
21094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21095 }
21096 arg2 = static_cast< long >(val2);
21097 }
21098 {
21099 if (!wxPyCheckForApp()) SWIG_fail;
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21106 return resultobj;
21107fail:
21108 return NULL;
b2dc1044
RD
21109}
21110
21111
0085ce49
RD
21112SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21113 PyObject *resultobj = 0;
21114 wxMDIClientWindow *result = 0 ;
21115
21116 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21117 {
21118 if (!wxPyCheckForApp()) SWIG_fail;
21119 PyThreadState* __tstate = wxPyBeginAllowThreads();
21120 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21125 return resultobj;
21126fail:
21127 return NULL;
21128}
21129
21130
21131SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21132 PyObject *resultobj = 0;
21133 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21134 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21135 long arg3 = (long) 0 ;
21136 bool result;
21137 void *argp1 = 0 ;
21138 int res1 = 0 ;
21139 void *argp2 = 0 ;
21140 int res2 = 0 ;
21141 long val3 ;
21142 int ecode3 = 0 ;
21143 PyObject * obj0 = 0 ;
21144 PyObject * obj1 = 0 ;
21145 PyObject * obj2 = 0 ;
21146 char * kwnames[] = {
21147 (char *) "self",(char *) "parent",(char *) "style", NULL
21148 };
21149
21150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21152 if (!SWIG_IsOK(res1)) {
21153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21154 }
21155 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21156 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21157 if (!SWIG_IsOK(res2)) {
21158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21159 }
21160 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21161 if (obj2) {
21162 ecode3 = SWIG_AsVal_long(obj2, &val3);
21163 if (!SWIG_IsOK(ecode3)) {
21164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21165 }
21166 arg3 = static_cast< long >(val3);
21167 }
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 result = (bool)(arg1)->Create(arg2,arg3);
21171 wxPyEndAllowThreads(__tstate);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 {
21175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21176 }
21177 return resultobj;
21178fail:
21179 return NULL;
21180}
21181
21182
21183SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21184 PyObject *obj;
21185 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21186 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21187 return SWIG_Py_Void();
21188}
21189
21190SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21191 return SWIG_Python_InitShadowInstance(args);
21192}
21193
21194SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21195 PyObject *resultobj = 0;
21196 wxWindow *arg1 = (wxWindow *) 0 ;
21197 int arg2 = (int) (int)-1 ;
21198 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21199 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21200 wxSize const &arg4_defvalue = wxDefaultSize ;
21201 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21202 long arg5 = (long) 0 ;
21203 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21204 wxString *arg6 = (wxString *) &arg6_defvalue ;
21205 wxPyWindow *result = 0 ;
21206 void *argp1 = 0 ;
21207 int res1 = 0 ;
21208 int val2 ;
21209 int ecode2 = 0 ;
21210 wxPoint temp3 ;
21211 wxSize temp4 ;
21212 long val5 ;
21213 int ecode5 = 0 ;
21214 bool temp6 = false ;
21215 PyObject * obj0 = 0 ;
21216 PyObject * obj1 = 0 ;
21217 PyObject * obj2 = 0 ;
21218 PyObject * obj3 = 0 ;
21219 PyObject * obj4 = 0 ;
21220 PyObject * obj5 = 0 ;
21221 char * kwnames[] = {
21222 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21223 };
21224
21225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21227 if (!SWIG_IsOK(res1)) {
21228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21229 }
21230 arg1 = reinterpret_cast< wxWindow * >(argp1);
21231 if (obj1) {
21232 ecode2 = SWIG_AsVal_int(obj1, &val2);
21233 if (!SWIG_IsOK(ecode2)) {
21234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21235 }
21236 arg2 = static_cast< int >(val2);
21237 }
21238 if (obj2) {
b2dc1044 21239 {
0085ce49
RD
21240 arg3 = &temp3;
21241 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21242 }
21243 }
21244 if (obj3) {
21245 {
21246 arg4 = &temp4;
21247 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21248 }
21249 }
21250 if (obj4) {
21251 ecode5 = SWIG_AsVal_long(obj4, &val5);
21252 if (!SWIG_IsOK(ecode5)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21254 }
21255 arg5 = static_cast< long >(val5);
21256 }
21257 if (obj5) {
21258 {
21259 arg6 = wxString_in_helper(obj5);
21260 if (arg6 == NULL) SWIG_fail;
21261 temp6 = true;
b2dc1044 21262 }
0085ce49
RD
21263 }
21264 {
21265 if (!wxPyCheckForApp()) SWIG_fail;
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
21267 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21272 {
21273 if (temp6)
21274 delete arg6;
21275 }
21276 return resultobj;
21277fail:
21278 {
21279 if (temp6)
21280 delete arg6;
21281 }
21282 return NULL;
b2dc1044
RD
21283}
21284
21285
0085ce49
RD
21286SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21287 PyObject *resultobj = 0;
21288 wxPyWindow *result = 0 ;
21289
21290 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21291 {
21292 if (!wxPyCheckForApp()) SWIG_fail;
21293 PyThreadState* __tstate = wxPyBeginAllowThreads();
21294 result = (wxPyWindow *)new wxPyWindow();
21295 wxPyEndAllowThreads(__tstate);
21296 if (PyErr_Occurred()) SWIG_fail;
21297 }
21298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21299 return resultobj;
21300fail:
21301 return NULL;
21302}
21303
21304
21305SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21306 PyObject *resultobj = 0;
21307 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21308 PyObject *arg2 = (PyObject *) 0 ;
21309 PyObject *arg3 = (PyObject *) 0 ;
21310 void *argp1 = 0 ;
21311 int res1 = 0 ;
21312 PyObject * obj0 = 0 ;
21313 PyObject * obj1 = 0 ;
21314 PyObject * obj2 = 0 ;
21315 char * kwnames[] = {
21316 (char *) "self",(char *) "self",(char *) "_class", NULL
21317 };
21318
21319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21321 if (!SWIG_IsOK(res1)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21323 }
21324 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21325 arg2 = obj1;
21326 arg3 = obj2;
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 (arg1)->_setCallbackInfo(arg2,arg3);
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 resultobj = SWIG_Py_Void();
21334 return resultobj;
21335fail:
21336 return NULL;
21337}
21338
21339
21340SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj = 0;
21342 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21343 wxSize *arg2 = 0 ;
21344 void *argp1 = 0 ;
21345 int res1 = 0 ;
21346 wxSize temp2 ;
21347 PyObject * obj0 = 0 ;
21348 PyObject * obj1 = 0 ;
21349 char * kwnames[] = {
21350 (char *) "self",(char *) "size", NULL
21351 };
21352
21353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21355 if (!SWIG_IsOK(res1)) {
21356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21357 }
21358 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21359 {
21360 arg2 = &temp2;
21361 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21362 }
21363 {
21364 PyThreadState* __tstate = wxPyBeginAllowThreads();
21365 (arg1)->SetBestSize((wxSize const &)*arg2);
21366 wxPyEndAllowThreads(__tstate);
21367 if (PyErr_Occurred()) SWIG_fail;
21368 }
21369 resultobj = SWIG_Py_Void();
21370 return resultobj;
21371fail:
21372 return NULL;
21373}
21374
21375
21376SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21377 PyObject *resultobj = 0;
21378 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21379 wxDC *arg2 = (wxDC *) 0 ;
21380 bool result;
21381 void *argp1 = 0 ;
21382 int res1 = 0 ;
21383 void *argp2 = 0 ;
21384 int res2 = 0 ;
21385 PyObject * obj0 = 0 ;
21386 PyObject * obj1 = 0 ;
21387 char * kwnames[] = {
21388 (char *) "self",(char *) "dc", NULL
21389 };
21390
21391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21393 if (!SWIG_IsOK(res1)) {
21394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21395 }
21396 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21397 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21398 if (!SWIG_IsOK(res2)) {
21399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21400 }
21401 arg2 = reinterpret_cast< wxDC * >(argp2);
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 result = (bool)(arg1)->DoEraseBackground(arg2);
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 {
21409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21410 }
21411 return resultobj;
21412fail:
21413 return NULL;
21414}
21415
21416
21417SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21418 PyObject *resultobj = 0;
21419 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21420 int arg2 ;
21421 int arg3 ;
21422 int arg4 ;
21423 int arg5 ;
21424 void *argp1 = 0 ;
21425 int res1 = 0 ;
21426 int val2 ;
21427 int ecode2 = 0 ;
21428 int val3 ;
21429 int ecode3 = 0 ;
21430 int val4 ;
21431 int ecode4 = 0 ;
21432 int val5 ;
21433 int ecode5 = 0 ;
21434 PyObject * obj0 = 0 ;
21435 PyObject * obj1 = 0 ;
21436 PyObject * obj2 = 0 ;
21437 PyObject * obj3 = 0 ;
21438 PyObject * obj4 = 0 ;
21439 char * kwnames[] = {
21440 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21441 };
21442
21443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21445 if (!SWIG_IsOK(res1)) {
21446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21447 }
21448 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21449 ecode2 = SWIG_AsVal_int(obj1, &val2);
21450 if (!SWIG_IsOK(ecode2)) {
21451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21452 }
21453 arg2 = static_cast< int >(val2);
21454 ecode3 = SWIG_AsVal_int(obj2, &val3);
21455 if (!SWIG_IsOK(ecode3)) {
21456 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21457 }
21458 arg3 = static_cast< int >(val3);
21459 ecode4 = SWIG_AsVal_int(obj3, &val4);
21460 if (!SWIG_IsOK(ecode4)) {
21461 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21462 }
21463 arg4 = static_cast< int >(val4);
21464 ecode5 = SWIG_AsVal_int(obj4, &val5);
21465 if (!SWIG_IsOK(ecode5)) {
21466 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21467 }
21468 arg5 = static_cast< int >(val5);
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21472 wxPyEndAllowThreads(__tstate);
21473 if (PyErr_Occurred()) SWIG_fail;
21474 }
21475 resultobj = SWIG_Py_Void();
21476 return resultobj;
21477fail:
21478 return NULL;
21479}
21480
21481
21482SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21483 PyObject *resultobj = 0;
21484 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21485 int arg2 ;
21486 int arg3 ;
21487 int arg4 ;
21488 int arg5 ;
21489 int arg6 = (int) wxSIZE_AUTO ;
21490 void *argp1 = 0 ;
21491 int res1 = 0 ;
21492 int val2 ;
21493 int ecode2 = 0 ;
21494 int val3 ;
21495 int ecode3 = 0 ;
21496 int val4 ;
21497 int ecode4 = 0 ;
21498 int val5 ;
21499 int ecode5 = 0 ;
21500 int val6 ;
21501 int ecode6 = 0 ;
21502 PyObject * obj0 = 0 ;
21503 PyObject * obj1 = 0 ;
21504 PyObject * obj2 = 0 ;
21505 PyObject * obj3 = 0 ;
21506 PyObject * obj4 = 0 ;
21507 PyObject * obj5 = 0 ;
21508 char * kwnames[] = {
21509 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21510 };
21511
21512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21514 if (!SWIG_IsOK(res1)) {
21515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21516 }
21517 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21518 ecode2 = SWIG_AsVal_int(obj1, &val2);
21519 if (!SWIG_IsOK(ecode2)) {
21520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21521 }
21522 arg2 = static_cast< int >(val2);
21523 ecode3 = SWIG_AsVal_int(obj2, &val3);
21524 if (!SWIG_IsOK(ecode3)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21526 }
21527 arg3 = static_cast< int >(val3);
21528 ecode4 = SWIG_AsVal_int(obj3, &val4);
21529 if (!SWIG_IsOK(ecode4)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21531 }
21532 arg4 = static_cast< int >(val4);
21533 ecode5 = SWIG_AsVal_int(obj4, &val5);
21534 if (!SWIG_IsOK(ecode5)) {
21535 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21536 }
21537 arg5 = static_cast< int >(val5);
21538 if (obj5) {
21539 ecode6 = SWIG_AsVal_int(obj5, &val6);
21540 if (!SWIG_IsOK(ecode6)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21542 }
21543 arg6 = static_cast< int >(val6);
21544 }
21545 {
21546 PyThreadState* __tstate = wxPyBeginAllowThreads();
21547 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21548 wxPyEndAllowThreads(__tstate);
21549 if (PyErr_Occurred()) SWIG_fail;
21550 }
21551 resultobj = SWIG_Py_Void();
21552 return resultobj;
21553fail:
21554 return NULL;
21555}
21556
21557
21558SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21559 PyObject *resultobj = 0;
21560 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21561 int arg2 ;
21562 int arg3 ;
21563 void *argp1 = 0 ;
21564 int res1 = 0 ;
21565 int val2 ;
21566 int ecode2 = 0 ;
21567 int val3 ;
21568 int ecode3 = 0 ;
21569 PyObject * obj0 = 0 ;
21570 PyObject * obj1 = 0 ;
21571 PyObject * obj2 = 0 ;
21572 char * kwnames[] = {
21573 (char *) "self",(char *) "width",(char *) "height", NULL
21574 };
21575
21576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21578 if (!SWIG_IsOK(res1)) {
21579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21580 }
21581 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21582 ecode2 = SWIG_AsVal_int(obj1, &val2);
21583 if (!SWIG_IsOK(ecode2)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21585 }
21586 arg2 = static_cast< int >(val2);
21587 ecode3 = SWIG_AsVal_int(obj2, &val3);
21588 if (!SWIG_IsOK(ecode3)) {
21589 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21590 }
21591 arg3 = static_cast< int >(val3);
21592 {
21593 PyThreadState* __tstate = wxPyBeginAllowThreads();
21594 (arg1)->DoSetClientSize(arg2,arg3);
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
21598 resultobj = SWIG_Py_Void();
21599 return resultobj;
21600fail:
21601 return NULL;
21602}
21603
21604
21605SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21606 PyObject *resultobj = 0;
21607 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21608 int arg2 ;
21609 int arg3 ;
21610 void *argp1 = 0 ;
21611 int res1 = 0 ;
21612 int val2 ;
21613 int ecode2 = 0 ;
21614 int val3 ;
21615 int ecode3 = 0 ;
21616 PyObject * obj0 = 0 ;
21617 PyObject * obj1 = 0 ;
21618 PyObject * obj2 = 0 ;
21619 char * kwnames[] = {
21620 (char *) "self",(char *) "x",(char *) "y", NULL
21621 };
21622
21623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21625 if (!SWIG_IsOK(res1)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21627 }
21628 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21629 ecode2 = SWIG_AsVal_int(obj1, &val2);
21630 if (!SWIG_IsOK(ecode2)) {
21631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21632 }
21633 arg2 = static_cast< int >(val2);
21634 ecode3 = SWIG_AsVal_int(obj2, &val3);
21635 if (!SWIG_IsOK(ecode3)) {
21636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21637 }
21638 arg3 = static_cast< int >(val3);
21639 {
21640 PyThreadState* __tstate = wxPyBeginAllowThreads();
21641 (arg1)->DoSetVirtualSize(arg2,arg3);
21642 wxPyEndAllowThreads(__tstate);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 }
21645 resultobj = SWIG_Py_Void();
21646 return resultobj;
21647fail:
21648 return NULL;
21649}
21650
21651
21652SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21653 PyObject *resultobj = 0;
21654 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21655 int *arg2 = (int *) 0 ;
21656 int *arg3 = (int *) 0 ;
21657 void *argp1 = 0 ;
21658 int res1 = 0 ;
21659 int temp2 ;
21660 int res2 = SWIG_TMPOBJ ;
21661 int temp3 ;
21662 int res3 = SWIG_TMPOBJ ;
21663 PyObject *swig_obj[1] ;
21664
21665 arg2 = &temp2;
21666 arg3 = &temp3;
21667 if (!args) SWIG_fail;
21668 swig_obj[0] = args;
21669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21670 if (!SWIG_IsOK(res1)) {
21671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21672 }
21673 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21674 {
21675 PyThreadState* __tstate = wxPyBeginAllowThreads();
21676 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21677 wxPyEndAllowThreads(__tstate);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 }
21680 resultobj = SWIG_Py_Void();
21681 if (SWIG_IsTmpObj(res2)) {
21682 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21683 } else {
21684 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21685 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21686 }
21687 if (SWIG_IsTmpObj(res3)) {
21688 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21689 } else {
21690 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21691 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21692 }
21693 return resultobj;
21694fail:
21695 return NULL;
21696}
21697
21698
21699SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21700 PyObject *resultobj = 0;
21701 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21702 int *arg2 = (int *) 0 ;
21703 int *arg3 = (int *) 0 ;
21704 void *argp1 = 0 ;
21705 int res1 = 0 ;
21706 int temp2 ;
21707 int res2 = SWIG_TMPOBJ ;
21708 int temp3 ;
21709 int res3 = SWIG_TMPOBJ ;
21710 PyObject *swig_obj[1] ;
21711
21712 arg2 = &temp2;
21713 arg3 = &temp3;
21714 if (!args) SWIG_fail;
21715 swig_obj[0] = args;
21716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21717 if (!SWIG_IsOK(res1)) {
21718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21719 }
21720 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21721 {
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 resultobj = SWIG_Py_Void();
21728 if (SWIG_IsTmpObj(res2)) {
21729 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21730 } else {
21731 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21732 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21733 }
21734 if (SWIG_IsTmpObj(res3)) {
21735 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21736 } else {
21737 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21738 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21739 }
21740 return resultobj;
21741fail:
21742 return NULL;
21743}
21744
21745
21746SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21747 PyObject *resultobj = 0;
21748 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21749 int *arg2 = (int *) 0 ;
21750 int *arg3 = (int *) 0 ;
21751 void *argp1 = 0 ;
21752 int res1 = 0 ;
21753 int temp2 ;
21754 int res2 = SWIG_TMPOBJ ;
21755 int temp3 ;
21756 int res3 = SWIG_TMPOBJ ;
21757 PyObject *swig_obj[1] ;
21758
21759 arg2 = &temp2;
21760 arg3 = &temp3;
21761 if (!args) SWIG_fail;
21762 swig_obj[0] = args;
21763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21764 if (!SWIG_IsOK(res1)) {
21765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21766 }
21767 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 resultobj = SWIG_Py_Void();
21775 if (SWIG_IsTmpObj(res2)) {
21776 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21777 } else {
21778 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21779 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21780 }
21781 if (SWIG_IsTmpObj(res3)) {
21782 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21783 } else {
21784 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21785 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21786 }
21787 return resultobj;
21788fail:
21789 return NULL;
b2dc1044
RD
21790}
21791
21792
0085ce49
RD
21793SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21794 PyObject *resultobj = 0;
21795 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21796 wxSize result;
21797 void *argp1 = 0 ;
21798 int res1 = 0 ;
21799 PyObject *swig_obj[1] ;
21800
21801 if (!args) SWIG_fail;
21802 swig_obj[0] = args;
21803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21804 if (!SWIG_IsOK(res1)) {
21805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21806 }
21807 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21808 {
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21815 return resultobj;
21816fail:
21817 return NULL;
b2dc1044
RD
21818}
21819
21820
0085ce49
RD
21821SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21822 PyObject *resultobj = 0;
21823 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21824 wxSize result;
21825 void *argp1 = 0 ;
21826 int res1 = 0 ;
21827 PyObject *swig_obj[1] ;
21828
21829 if (!args) SWIG_fail;
21830 swig_obj[0] = args;
21831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21832 if (!SWIG_IsOK(res1)) {
21833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21834 }
21835 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21836 {
21837 PyThreadState* __tstate = wxPyBeginAllowThreads();
21838 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21839 wxPyEndAllowThreads(__tstate);
21840 if (PyErr_Occurred()) SWIG_fail;
21841 }
21842 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21843 return resultobj;
21844fail:
21845 return NULL;
b2dc1044
RD
21846}
21847
21848
0085ce49
RD
21849SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21850 PyObject *resultobj = 0;
21851 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21852 SwigValueWrapper<wxVisualAttributes > result;
21853 void *argp1 = 0 ;
21854 int res1 = 0 ;
21855 PyObject *swig_obj[1] ;
21856
21857 if (!args) SWIG_fail;
21858 swig_obj[0] = args;
21859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21860 if (!SWIG_IsOK(res1)) {
21861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21862 }
21863 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21864 {
21865 PyThreadState* __tstate = wxPyBeginAllowThreads();
21866 result = (arg1)->GetDefaultAttributes();
21867 wxPyEndAllowThreads(__tstate);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21871 return resultobj;
21872fail:
21873 return NULL;
d14a1e28
RD
21874}
21875
21876
0085ce49
RD
21877SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21878 PyObject *resultobj = 0;
21879 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21880 void *argp1 = 0 ;
21881 int res1 = 0 ;
21882 PyObject *swig_obj[1] ;
21883
21884 if (!args) SWIG_fail;
21885 swig_obj[0] = args;
21886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21887 if (!SWIG_IsOK(res1)) {
21888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21889 }
21890 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 (arg1)->OnInternalIdle();
21894 wxPyEndAllowThreads(__tstate);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
21897 resultobj = SWIG_Py_Void();
21898 return resultobj;
21899fail:
21900 return NULL;
21901}
21902
21903
21904SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21905 PyObject *obj;
21906 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21907 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21908 return SWIG_Py_Void();
21909}
21910
21911SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21912 return SWIG_Python_InitShadowInstance(args);
21913}
21914
21915SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21916 PyObject *resultobj = 0;
21917 wxWindow *arg1 = (wxWindow *) 0 ;
21918 int arg2 = (int) (int)-1 ;
21919 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21920 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21921 wxSize const &arg4_defvalue = wxDefaultSize ;
21922 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21923 long arg5 = (long) 0 ;
21924 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21925 wxString *arg6 = (wxString *) &arg6_defvalue ;
21926 wxPyPanel *result = 0 ;
21927 void *argp1 = 0 ;
21928 int res1 = 0 ;
21929 int val2 ;
21930 int ecode2 = 0 ;
21931 wxPoint temp3 ;
21932 wxSize temp4 ;
21933 long val5 ;
21934 int ecode5 = 0 ;
21935 bool temp6 = false ;
21936 PyObject * obj0 = 0 ;
21937 PyObject * obj1 = 0 ;
21938 PyObject * obj2 = 0 ;
21939 PyObject * obj3 = 0 ;
21940 PyObject * obj4 = 0 ;
21941 PyObject * obj5 = 0 ;
21942 char * kwnames[] = {
21943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21944 };
21945
21946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21948 if (!SWIG_IsOK(res1)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21950 }
21951 arg1 = reinterpret_cast< wxWindow * >(argp1);
21952 if (obj1) {
21953 ecode2 = SWIG_AsVal_int(obj1, &val2);
21954 if (!SWIG_IsOK(ecode2)) {
21955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21956 }
21957 arg2 = static_cast< int >(val2);
21958 }
21959 if (obj2) {
d14a1e28 21960 {
0085ce49
RD
21961 arg3 = &temp3;
21962 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 21963 }
0085ce49
RD
21964 }
21965 if (obj3) {
d14a1e28 21966 {
0085ce49
RD
21967 arg4 = &temp4;
21968 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21969 }
0085ce49
RD
21970 }
21971 if (obj4) {
21972 ecode5 = SWIG_AsVal_long(obj4, &val5);
21973 if (!SWIG_IsOK(ecode5)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21975 }
21976 arg5 = static_cast< long >(val5);
21977 }
21978 if (obj5) {
093d3ff1 21979 {
0085ce49
RD
21980 arg6 = wxString_in_helper(obj5);
21981 if (arg6 == NULL) SWIG_fail;
21982 temp6 = true;
093d3ff1 21983 }
0085ce49
RD
21984 }
21985 {
21986 if (!wxPyCheckForApp()) SWIG_fail;
21987 PyThreadState* __tstate = wxPyBeginAllowThreads();
21988 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21993 {
21994 if (temp6)
21995 delete arg6;
21996 }
21997 return resultobj;
21998fail:
21999 {
22000 if (temp6)
22001 delete arg6;
22002 }
22003 return NULL;
d14a1e28
RD
22004}
22005
22006
0085ce49
RD
22007SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22008 PyObject *resultobj = 0;
22009 wxPyPanel *result = 0 ;
22010
22011 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22012 {
22013 if (!wxPyCheckForApp()) SWIG_fail;
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 result = (wxPyPanel *)new wxPyPanel();
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
22019 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22020 return resultobj;
22021fail:
22022 return NULL;
22023}
22024
22025
22026SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22027 PyObject *resultobj = 0;
22028 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22029 PyObject *arg2 = (PyObject *) 0 ;
22030 PyObject *arg3 = (PyObject *) 0 ;
22031 void *argp1 = 0 ;
22032 int res1 = 0 ;
22033 PyObject * obj0 = 0 ;
22034 PyObject * obj1 = 0 ;
22035 PyObject * obj2 = 0 ;
22036 char * kwnames[] = {
22037 (char *) "self",(char *) "self",(char *) "_class", NULL
22038 };
22039
22040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22042 if (!SWIG_IsOK(res1)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22044 }
22045 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22046 arg2 = obj1;
22047 arg3 = obj2;
22048 {
22049 PyThreadState* __tstate = wxPyBeginAllowThreads();
22050 (arg1)->_setCallbackInfo(arg2,arg3);
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 resultobj = SWIG_Py_Void();
22055 return resultobj;
22056fail:
22057 return NULL;
22058}
22059
22060
22061SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22062 PyObject *resultobj = 0;
22063 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22064 wxSize *arg2 = 0 ;
22065 void *argp1 = 0 ;
22066 int res1 = 0 ;
22067 wxSize temp2 ;
22068 PyObject * obj0 = 0 ;
22069 PyObject * obj1 = 0 ;
22070 char * kwnames[] = {
22071 (char *) "self",(char *) "size", NULL
22072 };
22073
22074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22076 if (!SWIG_IsOK(res1)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22078 }
22079 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22080 {
22081 arg2 = &temp2;
22082 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22083 }
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 (arg1)->SetBestSize((wxSize const &)*arg2);
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = SWIG_Py_Void();
22091 return resultobj;
22092fail:
22093 return NULL;
22094}
22095
22096
22097SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj = 0;
22099 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22100 wxDC *arg2 = (wxDC *) 0 ;
22101 bool result;
22102 void *argp1 = 0 ;
22103 int res1 = 0 ;
22104 void *argp2 = 0 ;
22105 int res2 = 0 ;
22106 PyObject * obj0 = 0 ;
22107 PyObject * obj1 = 0 ;
22108 char * kwnames[] = {
22109 (char *) "self",(char *) "dc", NULL
22110 };
22111
22112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22114 if (!SWIG_IsOK(res1)) {
22115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22116 }
22117 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22118 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22119 if (!SWIG_IsOK(res2)) {
22120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22121 }
22122 arg2 = reinterpret_cast< wxDC * >(argp2);
22123 {
22124 PyThreadState* __tstate = wxPyBeginAllowThreads();
22125 result = (bool)(arg1)->DoEraseBackground(arg2);
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 {
22130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22131 }
22132 return resultobj;
22133fail:
22134 return NULL;
22135}
22136
22137
22138SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22139 PyObject *resultobj = 0;
22140 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22141 int arg2 ;
22142 int arg3 ;
22143 int arg4 ;
22144 int arg5 ;
22145 void *argp1 = 0 ;
22146 int res1 = 0 ;
22147 int val2 ;
22148 int ecode2 = 0 ;
22149 int val3 ;
22150 int ecode3 = 0 ;
22151 int val4 ;
22152 int ecode4 = 0 ;
22153 int val5 ;
22154 int ecode5 = 0 ;
22155 PyObject * obj0 = 0 ;
22156 PyObject * obj1 = 0 ;
22157 PyObject * obj2 = 0 ;
22158 PyObject * obj3 = 0 ;
22159 PyObject * obj4 = 0 ;
22160 char * kwnames[] = {
22161 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22162 };
22163
22164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22166 if (!SWIG_IsOK(res1)) {
22167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22168 }
22169 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22170 ecode2 = SWIG_AsVal_int(obj1, &val2);
22171 if (!SWIG_IsOK(ecode2)) {
22172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22173 }
22174 arg2 = static_cast< int >(val2);
22175 ecode3 = SWIG_AsVal_int(obj2, &val3);
22176 if (!SWIG_IsOK(ecode3)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22178 }
22179 arg3 = static_cast< int >(val3);
22180 ecode4 = SWIG_AsVal_int(obj3, &val4);
22181 if (!SWIG_IsOK(ecode4)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22183 }
22184 arg4 = static_cast< int >(val4);
22185 ecode5 = SWIG_AsVal_int(obj4, &val5);
22186 if (!SWIG_IsOK(ecode5)) {
22187 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22188 }
22189 arg5 = static_cast< int >(val5);
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 resultobj = SWIG_Py_Void();
22197 return resultobj;
22198fail:
22199 return NULL;
22200}
22201
22202
22203SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22204 PyObject *resultobj = 0;
22205 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22206 int arg2 ;
22207 int arg3 ;
22208 int arg4 ;
22209 int arg5 ;
22210 int arg6 = (int) wxSIZE_AUTO ;
22211 void *argp1 = 0 ;
22212 int res1 = 0 ;
22213 int val2 ;
22214 int ecode2 = 0 ;
22215 int val3 ;
22216 int ecode3 = 0 ;
22217 int val4 ;
22218 int ecode4 = 0 ;
22219 int val5 ;
22220 int ecode5 = 0 ;
22221 int val6 ;
22222 int ecode6 = 0 ;
22223 PyObject * obj0 = 0 ;
22224 PyObject * obj1 = 0 ;
22225 PyObject * obj2 = 0 ;
22226 PyObject * obj3 = 0 ;
22227 PyObject * obj4 = 0 ;
22228 PyObject * obj5 = 0 ;
22229 char * kwnames[] = {
22230 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22231 };
22232
22233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22235 if (!SWIG_IsOK(res1)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22237 }
22238 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22239 ecode2 = SWIG_AsVal_int(obj1, &val2);
22240 if (!SWIG_IsOK(ecode2)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22242 }
22243 arg2 = static_cast< int >(val2);
22244 ecode3 = SWIG_AsVal_int(obj2, &val3);
22245 if (!SWIG_IsOK(ecode3)) {
22246 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22247 }
22248 arg3 = static_cast< int >(val3);
22249 ecode4 = SWIG_AsVal_int(obj3, &val4);
22250 if (!SWIG_IsOK(ecode4)) {
22251 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22252 }
22253 arg4 = static_cast< int >(val4);
22254 ecode5 = SWIG_AsVal_int(obj4, &val5);
22255 if (!SWIG_IsOK(ecode5)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22257 }
22258 arg5 = static_cast< int >(val5);
22259 if (obj5) {
22260 ecode6 = SWIG_AsVal_int(obj5, &val6);
22261 if (!SWIG_IsOK(ecode6)) {
22262 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22263 }
22264 arg6 = static_cast< int >(val6);
22265 }
22266 {
22267 PyThreadState* __tstate = wxPyBeginAllowThreads();
22268 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22269 wxPyEndAllowThreads(__tstate);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 resultobj = SWIG_Py_Void();
22273 return resultobj;
22274fail:
22275 return NULL;
22276}
22277
22278
22279SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22280 PyObject *resultobj = 0;
22281 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22282 int arg2 ;
22283 int arg3 ;
22284 void *argp1 = 0 ;
22285 int res1 = 0 ;
22286 int val2 ;
22287 int ecode2 = 0 ;
22288 int val3 ;
22289 int ecode3 = 0 ;
22290 PyObject * obj0 = 0 ;
22291 PyObject * obj1 = 0 ;
22292 PyObject * obj2 = 0 ;
22293 char * kwnames[] = {
22294 (char *) "self",(char *) "width",(char *) "height", NULL
22295 };
22296
22297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22299 if (!SWIG_IsOK(res1)) {
22300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22301 }
22302 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22303 ecode2 = SWIG_AsVal_int(obj1, &val2);
22304 if (!SWIG_IsOK(ecode2)) {
22305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22306 }
22307 arg2 = static_cast< int >(val2);
22308 ecode3 = SWIG_AsVal_int(obj2, &val3);
22309 if (!SWIG_IsOK(ecode3)) {
22310 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22311 }
22312 arg3 = static_cast< int >(val3);
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 (arg1)->DoSetClientSize(arg2,arg3);
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 resultobj = SWIG_Py_Void();
22320 return resultobj;
22321fail:
22322 return NULL;
22323}
22324
22325
22326SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22327 PyObject *resultobj = 0;
22328 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22329 int arg2 ;
22330 int arg3 ;
22331 void *argp1 = 0 ;
22332 int res1 = 0 ;
22333 int val2 ;
22334 int ecode2 = 0 ;
22335 int val3 ;
22336 int ecode3 = 0 ;
22337 PyObject * obj0 = 0 ;
22338 PyObject * obj1 = 0 ;
22339 PyObject * obj2 = 0 ;
22340 char * kwnames[] = {
22341 (char *) "self",(char *) "x",(char *) "y", NULL
22342 };
22343
22344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22346 if (!SWIG_IsOK(res1)) {
22347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22348 }
22349 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22350 ecode2 = SWIG_AsVal_int(obj1, &val2);
22351 if (!SWIG_IsOK(ecode2)) {
22352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22353 }
22354 arg2 = static_cast< int >(val2);
22355 ecode3 = SWIG_AsVal_int(obj2, &val3);
22356 if (!SWIG_IsOK(ecode3)) {
22357 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22358 }
22359 arg3 = static_cast< int >(val3);
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 (arg1)->DoSetVirtualSize(arg2,arg3);
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 resultobj = SWIG_Py_Void();
22367 return resultobj;
22368fail:
22369 return NULL;
22370}
22371
22372
22373SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22374 PyObject *resultobj = 0;
22375 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22376 int *arg2 = (int *) 0 ;
22377 int *arg3 = (int *) 0 ;
22378 void *argp1 = 0 ;
22379 int res1 = 0 ;
22380 int temp2 ;
22381 int res2 = SWIG_TMPOBJ ;
22382 int temp3 ;
22383 int res3 = SWIG_TMPOBJ ;
22384 PyObject *swig_obj[1] ;
22385
22386 arg2 = &temp2;
22387 arg3 = &temp3;
22388 if (!args) SWIG_fail;
22389 swig_obj[0] = args;
22390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22391 if (!SWIG_IsOK(res1)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22393 }
22394 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 resultobj = SWIG_Py_Void();
22402 if (SWIG_IsTmpObj(res2)) {
22403 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22404 } else {
22405 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22406 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22407 }
22408 if (SWIG_IsTmpObj(res3)) {
22409 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22410 } else {
22411 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22412 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22413 }
22414 return resultobj;
22415fail:
22416 return NULL;
22417}
22418
22419
22420SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22421 PyObject *resultobj = 0;
22422 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22423 int *arg2 = (int *) 0 ;
22424 int *arg3 = (int *) 0 ;
22425 void *argp1 = 0 ;
22426 int res1 = 0 ;
22427 int temp2 ;
22428 int res2 = SWIG_TMPOBJ ;
22429 int temp3 ;
22430 int res3 = SWIG_TMPOBJ ;
22431 PyObject *swig_obj[1] ;
22432
22433 arg2 = &temp2;
22434 arg3 = &temp3;
22435 if (!args) SWIG_fail;
22436 swig_obj[0] = args;
22437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22438 if (!SWIG_IsOK(res1)) {
22439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22440 }
22441 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22442 {
22443 PyThreadState* __tstate = wxPyBeginAllowThreads();
22444 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22445 wxPyEndAllowThreads(__tstate);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 resultobj = SWIG_Py_Void();
22449 if (SWIG_IsTmpObj(res2)) {
22450 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22451 } else {
22452 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22454 }
22455 if (SWIG_IsTmpObj(res3)) {
22456 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22457 } else {
22458 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22459 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22460 }
22461 return resultobj;
22462fail:
22463 return NULL;
22464}
22465
22466
22467SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22468 PyObject *resultobj = 0;
22469 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22470 int *arg2 = (int *) 0 ;
22471 int *arg3 = (int *) 0 ;
22472 void *argp1 = 0 ;
22473 int res1 = 0 ;
22474 int temp2 ;
22475 int res2 = SWIG_TMPOBJ ;
22476 int temp3 ;
22477 int res3 = SWIG_TMPOBJ ;
22478 PyObject *swig_obj[1] ;
22479
22480 arg2 = &temp2;
22481 arg3 = &temp3;
22482 if (!args) SWIG_fail;
22483 swig_obj[0] = args;
22484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22485 if (!SWIG_IsOK(res1)) {
22486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22487 }
22488 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22492 wxPyEndAllowThreads(__tstate);
22493 if (PyErr_Occurred()) SWIG_fail;
22494 }
22495 resultobj = SWIG_Py_Void();
22496 if (SWIG_IsTmpObj(res2)) {
22497 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22498 } else {
22499 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22500 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22501 }
22502 if (SWIG_IsTmpObj(res3)) {
22503 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22504 } else {
22505 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22506 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22507 }
22508 return resultobj;
22509fail:
22510 return NULL;
d14a1e28
RD
22511}
22512
22513
0085ce49
RD
22514SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22515 PyObject *resultobj = 0;
22516 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22517 wxSize result;
22518 void *argp1 = 0 ;
22519 int res1 = 0 ;
22520 PyObject *swig_obj[1] ;
22521
22522 if (!args) SWIG_fail;
22523 swig_obj[0] = args;
22524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22525 if (!SWIG_IsOK(res1)) {
22526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22527 }
22528 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22529 {
22530 PyThreadState* __tstate = wxPyBeginAllowThreads();
22531 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22536 return resultobj;
22537fail:
22538 return NULL;
d14a1e28
RD
22539}
22540
22541
0085ce49
RD
22542SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22543 PyObject *resultobj = 0;
22544 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22545 wxSize result;
22546 void *argp1 = 0 ;
22547 int res1 = 0 ;
22548 PyObject *swig_obj[1] ;
22549
22550 if (!args) SWIG_fail;
22551 swig_obj[0] = args;
22552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22553 if (!SWIG_IsOK(res1)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22555 }
22556 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22564 return resultobj;
22565fail:
22566 return NULL;
d14a1e28
RD
22567}
22568
22569
0085ce49
RD
22570SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22571 PyObject *resultobj = 0;
22572 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22573 SwigValueWrapper<wxVisualAttributes > result;
22574 void *argp1 = 0 ;
22575 int res1 = 0 ;
22576 PyObject *swig_obj[1] ;
22577
22578 if (!args) SWIG_fail;
22579 swig_obj[0] = args;
22580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22581 if (!SWIG_IsOK(res1)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22583 }
22584 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 result = (arg1)->GetDefaultAttributes();
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22592 return resultobj;
22593fail:
22594 return NULL;
d14a1e28
RD
22595}
22596
22597
0085ce49
RD
22598SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22599 PyObject *resultobj = 0;
22600 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22601 void *argp1 = 0 ;
22602 int res1 = 0 ;
22603 PyObject *swig_obj[1] ;
22604
22605 if (!args) SWIG_fail;
22606 swig_obj[0] = args;
22607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22608 if (!SWIG_IsOK(res1)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22610 }
22611 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22612 {
22613 PyThreadState* __tstate = wxPyBeginAllowThreads();
22614 (arg1)->OnInternalIdle();
22615 wxPyEndAllowThreads(__tstate);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 }
22618 resultobj = SWIG_Py_Void();
22619 return resultobj;
22620fail:
22621 return NULL;
22622}
22623
22624
22625SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22626 PyObject *obj;
22627 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22628 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22629 return SWIG_Py_Void();
22630}
22631
22632SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22633 return SWIG_Python_InitShadowInstance(args);
22634}
22635
22636SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22637 PyObject *resultobj = 0;
22638 wxWindow *arg1 = (wxWindow *) 0 ;
22639 int arg2 = (int) (int)-1 ;
22640 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22641 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22642 wxSize const &arg4_defvalue = wxDefaultSize ;
22643 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22644 long arg5 = (long) 0 ;
22645 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22646 wxString *arg6 = (wxString *) &arg6_defvalue ;
22647 wxPyScrolledWindow *result = 0 ;
22648 void *argp1 = 0 ;
22649 int res1 = 0 ;
22650 int val2 ;
22651 int ecode2 = 0 ;
22652 wxPoint temp3 ;
22653 wxSize temp4 ;
22654 long val5 ;
22655 int ecode5 = 0 ;
22656 bool temp6 = false ;
22657 PyObject * obj0 = 0 ;
22658 PyObject * obj1 = 0 ;
22659 PyObject * obj2 = 0 ;
22660 PyObject * obj3 = 0 ;
22661 PyObject * obj4 = 0 ;
22662 PyObject * obj5 = 0 ;
22663 char * kwnames[] = {
22664 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22665 };
22666
22667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22669 if (!SWIG_IsOK(res1)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22671 }
22672 arg1 = reinterpret_cast< wxWindow * >(argp1);
22673 if (obj1) {
22674 ecode2 = SWIG_AsVal_int(obj1, &val2);
22675 if (!SWIG_IsOK(ecode2)) {
22676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22677 }
22678 arg2 = static_cast< int >(val2);
22679 }
22680 if (obj2) {
32fe5131 22681 {
0085ce49
RD
22682 arg3 = &temp3;
22683 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32fe5131 22684 }
0085ce49
RD
22685 }
22686 if (obj3) {
32fe5131 22687 {
0085ce49
RD
22688 arg4 = &temp4;
22689 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32fe5131 22690 }
0085ce49
RD
22691 }
22692 if (obj4) {
22693 ecode5 = SWIG_AsVal_long(obj4, &val5);
22694 if (!SWIG_IsOK(ecode5)) {
22695 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22696 }
22697 arg5 = static_cast< long >(val5);
22698 }
22699 if (obj5) {
32fe5131 22700 {
0085ce49
RD
22701 arg6 = wxString_in_helper(obj5);
22702 if (arg6 == NULL) SWIG_fail;
22703 temp6 = true;
32fe5131 22704 }
0085ce49
RD
22705 }
22706 {
22707 if (!wxPyCheckForApp()) SWIG_fail;
22708 PyThreadState* __tstate = wxPyBeginAllowThreads();
22709 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22710 wxPyEndAllowThreads(__tstate);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 }
22713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22714 {
22715 if (temp6)
22716 delete arg6;
22717 }
22718 return resultobj;
22719fail:
22720 {
22721 if (temp6)
22722 delete arg6;
22723 }
22724 return NULL;
32fe5131
RD
22725}
22726
22727
0085ce49
RD
22728SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22729 PyObject *resultobj = 0;
22730 wxPyScrolledWindow *result = 0 ;
22731
22732 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22733 {
22734 if (!wxPyCheckForApp()) SWIG_fail;
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22737 wxPyEndAllowThreads(__tstate);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 }
22740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22741 return resultobj;
22742fail:
22743 return NULL;
22744}
22745
22746
22747SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22748 PyObject *resultobj = 0;
22749 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22750 PyObject *arg2 = (PyObject *) 0 ;
22751 PyObject *arg3 = (PyObject *) 0 ;
22752 void *argp1 = 0 ;
22753 int res1 = 0 ;
22754 PyObject * obj0 = 0 ;
22755 PyObject * obj1 = 0 ;
22756 PyObject * obj2 = 0 ;
22757 char * kwnames[] = {
22758 (char *) "self",(char *) "self",(char *) "_class", NULL
22759 };
22760
22761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22763 if (!SWIG_IsOK(res1)) {
22764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22765 }
22766 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22767 arg2 = obj1;
22768 arg3 = obj2;
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 (arg1)->_setCallbackInfo(arg2,arg3);
22772 wxPyEndAllowThreads(__tstate);
22773 if (PyErr_Occurred()) SWIG_fail;
22774 }
22775 resultobj = SWIG_Py_Void();
22776 return resultobj;
22777fail:
22778 return NULL;
22779}
22780
22781
22782SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22783 PyObject *resultobj = 0;
22784 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22785 wxSize *arg2 = 0 ;
22786 void *argp1 = 0 ;
22787 int res1 = 0 ;
22788 wxSize temp2 ;
22789 PyObject * obj0 = 0 ;
22790 PyObject * obj1 = 0 ;
22791 char * kwnames[] = {
22792 (char *) "self",(char *) "size", NULL
22793 };
22794
22795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22797 if (!SWIG_IsOK(res1)) {
22798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22799 }
22800 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22801 {
22802 arg2 = &temp2;
22803 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22804 }
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 (arg1)->SetBestSize((wxSize const &)*arg2);
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 resultobj = SWIG_Py_Void();
22812 return resultobj;
22813fail:
22814 return NULL;
22815}
22816
22817
22818SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22819 PyObject *resultobj = 0;
22820 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22821 wxDC *arg2 = (wxDC *) 0 ;
22822 bool result;
22823 void *argp1 = 0 ;
22824 int res1 = 0 ;
22825 void *argp2 = 0 ;
22826 int res2 = 0 ;
22827 PyObject * obj0 = 0 ;
22828 PyObject * obj1 = 0 ;
22829 char * kwnames[] = {
22830 (char *) "self",(char *) "dc", NULL
22831 };
22832
22833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22835 if (!SWIG_IsOK(res1)) {
22836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22837 }
22838 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22839 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22840 if (!SWIG_IsOK(res2)) {
22841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22842 }
22843 arg2 = reinterpret_cast< wxDC * >(argp2);
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 result = (bool)(arg1)->DoEraseBackground(arg2);
22847 wxPyEndAllowThreads(__tstate);
22848 if (PyErr_Occurred()) SWIG_fail;
22849 }
22850 {
22851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22852 }
22853 return resultobj;
22854fail:
22855 return NULL;
22856}
22857
22858
22859SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22860 PyObject *resultobj = 0;
22861 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22862 int arg2 ;
22863 int arg3 ;
22864 int arg4 ;
22865 int arg5 ;
22866 void *argp1 = 0 ;
22867 int res1 = 0 ;
22868 int val2 ;
22869 int ecode2 = 0 ;
22870 int val3 ;
22871 int ecode3 = 0 ;
22872 int val4 ;
22873 int ecode4 = 0 ;
22874 int val5 ;
22875 int ecode5 = 0 ;
22876 PyObject * obj0 = 0 ;
22877 PyObject * obj1 = 0 ;
22878 PyObject * obj2 = 0 ;
22879 PyObject * obj3 = 0 ;
22880 PyObject * obj4 = 0 ;
22881 char * kwnames[] = {
22882 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22883 };
22884
22885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22887 if (!SWIG_IsOK(res1)) {
22888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22889 }
22890 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22891 ecode2 = SWIG_AsVal_int(obj1, &val2);
22892 if (!SWIG_IsOK(ecode2)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22894 }
22895 arg2 = static_cast< int >(val2);
22896 ecode3 = SWIG_AsVal_int(obj2, &val3);
22897 if (!SWIG_IsOK(ecode3)) {
22898 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22899 }
22900 arg3 = static_cast< int >(val3);
22901 ecode4 = SWIG_AsVal_int(obj3, &val4);
22902 if (!SWIG_IsOK(ecode4)) {
22903 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22904 }
22905 arg4 = static_cast< int >(val4);
22906 ecode5 = SWIG_AsVal_int(obj4, &val5);
22907 if (!SWIG_IsOK(ecode5)) {
22908 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22909 }
22910 arg5 = static_cast< int >(val5);
22911 {
22912 PyThreadState* __tstate = wxPyBeginAllowThreads();
22913 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22914 wxPyEndAllowThreads(__tstate);
22915 if (PyErr_Occurred()) SWIG_fail;
22916 }
22917 resultobj = SWIG_Py_Void();
22918 return resultobj;
22919fail:
22920 return NULL;
22921}
22922
22923
22924SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22925 PyObject *resultobj = 0;
22926 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22927 int arg2 ;
22928 int arg3 ;
22929 int arg4 ;
22930 int arg5 ;
22931 int arg6 = (int) wxSIZE_AUTO ;
22932 void *argp1 = 0 ;
22933 int res1 = 0 ;
22934 int val2 ;
22935 int ecode2 = 0 ;
22936 int val3 ;
22937 int ecode3 = 0 ;
22938 int val4 ;
22939 int ecode4 = 0 ;
22940 int val5 ;
22941 int ecode5 = 0 ;
22942 int val6 ;
22943 int ecode6 = 0 ;
22944 PyObject * obj0 = 0 ;
22945 PyObject * obj1 = 0 ;
22946 PyObject * obj2 = 0 ;
22947 PyObject * obj3 = 0 ;
22948 PyObject * obj4 = 0 ;
22949 PyObject * obj5 = 0 ;
22950 char * kwnames[] = {
22951 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22952 };
22953
22954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22956 if (!SWIG_IsOK(res1)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22958 }
22959 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22960 ecode2 = SWIG_AsVal_int(obj1, &val2);
22961 if (!SWIG_IsOK(ecode2)) {
22962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22963 }
22964 arg2 = static_cast< int >(val2);
22965 ecode3 = SWIG_AsVal_int(obj2, &val3);
22966 if (!SWIG_IsOK(ecode3)) {
22967 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22968 }
22969 arg3 = static_cast< int >(val3);
22970 ecode4 = SWIG_AsVal_int(obj3, &val4);
22971 if (!SWIG_IsOK(ecode4)) {
22972 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22973 }
22974 arg4 = static_cast< int >(val4);
22975 ecode5 = SWIG_AsVal_int(obj4, &val5);
22976 if (!SWIG_IsOK(ecode5)) {
22977 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22978 }
22979 arg5 = static_cast< int >(val5);
22980 if (obj5) {
22981 ecode6 = SWIG_AsVal_int(obj5, &val6);
22982 if (!SWIG_IsOK(ecode6)) {
22983 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22984 }
22985 arg6 = static_cast< int >(val6);
22986 }
22987 {
22988 PyThreadState* __tstate = wxPyBeginAllowThreads();
22989 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22990 wxPyEndAllowThreads(__tstate);
22991 if (PyErr_Occurred()) SWIG_fail;
22992 }
22993 resultobj = SWIG_Py_Void();
22994 return resultobj;
22995fail:
22996 return NULL;
22997}
22998
22999
23000SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23001 PyObject *resultobj = 0;
23002 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23003 int arg2 ;
23004 int arg3 ;
23005 void *argp1 = 0 ;
23006 int res1 = 0 ;
23007 int val2 ;
23008 int ecode2 = 0 ;
23009 int val3 ;
23010 int ecode3 = 0 ;
23011 PyObject * obj0 = 0 ;
23012 PyObject * obj1 = 0 ;
23013 PyObject * obj2 = 0 ;
23014 char * kwnames[] = {
23015 (char *) "self",(char *) "width",(char *) "height", NULL
23016 };
23017
23018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23020 if (!SWIG_IsOK(res1)) {
23021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23022 }
23023 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23024 ecode2 = SWIG_AsVal_int(obj1, &val2);
23025 if (!SWIG_IsOK(ecode2)) {
23026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23027 }
23028 arg2 = static_cast< int >(val2);
23029 ecode3 = SWIG_AsVal_int(obj2, &val3);
23030 if (!SWIG_IsOK(ecode3)) {
23031 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23032 }
23033 arg3 = static_cast< int >(val3);
23034 {
23035 PyThreadState* __tstate = wxPyBeginAllowThreads();
23036 (arg1)->DoSetClientSize(arg2,arg3);
23037 wxPyEndAllowThreads(__tstate);
23038 if (PyErr_Occurred()) SWIG_fail;
23039 }
23040 resultobj = SWIG_Py_Void();
23041 return resultobj;
23042fail:
23043 return NULL;
23044}
23045
23046
23047SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23048 PyObject *resultobj = 0;
23049 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23050 int arg2 ;
23051 int arg3 ;
23052 void *argp1 = 0 ;
23053 int res1 = 0 ;
23054 int val2 ;
23055 int ecode2 = 0 ;
23056 int val3 ;
23057 int ecode3 = 0 ;
23058 PyObject * obj0 = 0 ;
23059 PyObject * obj1 = 0 ;
23060 PyObject * obj2 = 0 ;
23061 char * kwnames[] = {
23062 (char *) "self",(char *) "x",(char *) "y", NULL
23063 };
23064
23065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23067 if (!SWIG_IsOK(res1)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23069 }
23070 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23071 ecode2 = SWIG_AsVal_int(obj1, &val2);
23072 if (!SWIG_IsOK(ecode2)) {
23073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23074 }
23075 arg2 = static_cast< int >(val2);
23076 ecode3 = SWIG_AsVal_int(obj2, &val3);
23077 if (!SWIG_IsOK(ecode3)) {
23078 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23079 }
23080 arg3 = static_cast< int >(val3);
23081 {
23082 PyThreadState* __tstate = wxPyBeginAllowThreads();
23083 (arg1)->DoSetVirtualSize(arg2,arg3);
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
23087 resultobj = SWIG_Py_Void();
23088 return resultobj;
23089fail:
23090 return NULL;
23091}
23092
23093
23094SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23095 PyObject *resultobj = 0;
23096 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23097 int *arg2 = (int *) 0 ;
23098 int *arg3 = (int *) 0 ;
23099 void *argp1 = 0 ;
23100 int res1 = 0 ;
23101 int temp2 ;
23102 int res2 = SWIG_TMPOBJ ;
23103 int temp3 ;
23104 int res3 = SWIG_TMPOBJ ;
23105 PyObject *swig_obj[1] ;
23106
23107 arg2 = &temp2;
23108 arg3 = &temp3;
23109 if (!args) SWIG_fail;
23110 swig_obj[0] = args;
23111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23112 if (!SWIG_IsOK(res1)) {
23113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23114 }
23115 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23116 {
23117 PyThreadState* __tstate = wxPyBeginAllowThreads();
23118 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23119 wxPyEndAllowThreads(__tstate);
23120 if (PyErr_Occurred()) SWIG_fail;
23121 }
23122 resultobj = SWIG_Py_Void();
23123 if (SWIG_IsTmpObj(res2)) {
23124 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23125 } else {
23126 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23127 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23128 }
23129 if (SWIG_IsTmpObj(res3)) {
23130 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23131 } else {
23132 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23133 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23134 }
23135 return resultobj;
23136fail:
23137 return NULL;
23138}
23139
23140
23141SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23142 PyObject *resultobj = 0;
23143 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23144 int *arg2 = (int *) 0 ;
23145 int *arg3 = (int *) 0 ;
23146 void *argp1 = 0 ;
23147 int res1 = 0 ;
23148 int temp2 ;
23149 int res2 = SWIG_TMPOBJ ;
23150 int temp3 ;
23151 int res3 = SWIG_TMPOBJ ;
23152 PyObject *swig_obj[1] ;
23153
23154 arg2 = &temp2;
23155 arg3 = &temp3;
23156 if (!args) SWIG_fail;
23157 swig_obj[0] = args;
23158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23159 if (!SWIG_IsOK(res1)) {
23160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23161 }
23162 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23163 {
23164 PyThreadState* __tstate = wxPyBeginAllowThreads();
23165 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23166 wxPyEndAllowThreads(__tstate);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
23169 resultobj = SWIG_Py_Void();
23170 if (SWIG_IsTmpObj(res2)) {
23171 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23172 } else {
23173 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23174 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23175 }
23176 if (SWIG_IsTmpObj(res3)) {
23177 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23178 } else {
23179 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23180 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23181 }
23182 return resultobj;
23183fail:
23184 return NULL;
23185}
23186
23187
23188SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23189 PyObject *resultobj = 0;
23190 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23191 int *arg2 = (int *) 0 ;
23192 int *arg3 = (int *) 0 ;
23193 void *argp1 = 0 ;
23194 int res1 = 0 ;
23195 int temp2 ;
23196 int res2 = SWIG_TMPOBJ ;
23197 int temp3 ;
23198 int res3 = SWIG_TMPOBJ ;
23199 PyObject *swig_obj[1] ;
23200
23201 arg2 = &temp2;
23202 arg3 = &temp3;
23203 if (!args) SWIG_fail;
23204 swig_obj[0] = args;
23205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23206 if (!SWIG_IsOK(res1)) {
23207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23208 }
23209 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23210 {
23211 PyThreadState* __tstate = wxPyBeginAllowThreads();
23212 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 resultobj = SWIG_Py_Void();
23217 if (SWIG_IsTmpObj(res2)) {
23218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23219 } else {
23220 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23221 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23222 }
23223 if (SWIG_IsTmpObj(res3)) {
23224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23225 } else {
23226 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23227 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23228 }
23229 return resultobj;
23230fail:
23231 return NULL;
d14a1e28
RD
23232}
23233
23234
0085ce49
RD
23235SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23236 PyObject *resultobj = 0;
23237 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23238 wxSize result;
23239 void *argp1 = 0 ;
23240 int res1 = 0 ;
23241 PyObject *swig_obj[1] ;
23242
23243 if (!args) SWIG_fail;
23244 swig_obj[0] = args;
23245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23246 if (!SWIG_IsOK(res1)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23248 }
23249 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23257 return resultobj;
23258fail:
23259 return NULL;
d14a1e28
RD
23260}
23261
23262
0085ce49
RD
23263SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23264 PyObject *resultobj = 0;
23265 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23266 wxSize result;
23267 void *argp1 = 0 ;
23268 int res1 = 0 ;
23269 PyObject *swig_obj[1] ;
23270
23271 if (!args) SWIG_fail;
23272 swig_obj[0] = args;
23273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23274 if (!SWIG_IsOK(res1)) {
23275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23276 }
23277 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23278 {
23279 PyThreadState* __tstate = wxPyBeginAllowThreads();
23280 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23281 wxPyEndAllowThreads(__tstate);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 }
23284 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23285 return resultobj;
23286fail:
23287 return NULL;
d14a1e28
RD
23288}
23289
23290
0085ce49
RD
23291SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23292 PyObject *resultobj = 0;
23293 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23294 SwigValueWrapper<wxVisualAttributes > result;
23295 void *argp1 = 0 ;
23296 int res1 = 0 ;
23297 PyObject *swig_obj[1] ;
23298
23299 if (!args) SWIG_fail;
23300 swig_obj[0] = args;
23301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23302 if (!SWIG_IsOK(res1)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23304 }
23305 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 result = (arg1)->GetDefaultAttributes();
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23313 return resultobj;
23314fail:
23315 return NULL;
d14a1e28
RD
23316}
23317
23318
0085ce49
RD
23319SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23320 PyObject *resultobj = 0;
23321 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23322 void *argp1 = 0 ;
23323 int res1 = 0 ;
23324 PyObject *swig_obj[1] ;
23325
23326 if (!args) SWIG_fail;
23327 swig_obj[0] = args;
23328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23329 if (!SWIG_IsOK(res1)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23331 }
23332 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 (arg1)->OnInternalIdle();
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 resultobj = SWIG_Py_Void();
23340 return resultobj;
23341fail:
23342 return NULL;
d14a1e28
RD
23343}
23344
23345
0085ce49
RD
23346SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23347 PyObject *obj;
23348 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23349 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23350 return SWIG_Py_Void();
d14a1e28
RD
23351}
23352
0085ce49
RD
23353SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23354 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
23355}
23356
0085ce49
RD
23357SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23358 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23359 return 1;
d14a1e28
RD
23360}
23361
23362
0085ce49
RD
23363SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23364 PyObject *pyobj = 0;
23365
23366 {
23367#if wxUSE_UNICODE
23368 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23369#else
23370 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23371#endif
23372 }
23373 return pyobj;
d14a1e28
RD
23374}
23375
23376
0085ce49
RD
23377SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23378 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23379 return 1;
d14a1e28
RD
23380}
23381
23382
0085ce49
RD
23383SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23384 PyObject *pyobj = 0;
23385
23386 {
23387#if wxUSE_UNICODE
23388 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23389#else
23390 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23391#endif
23392 }
23393 return pyobj;
d14a1e28
RD
23394}
23395
23396
0085ce49
RD
23397SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23398 PyObject *resultobj = 0;
23399 wxPrintData *result = 0 ;
23400
23401 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23402 {
23403 PyThreadState* __tstate = wxPyBeginAllowThreads();
23404 result = (wxPrintData *)new wxPrintData();
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23409 return resultobj;
23410fail:
23411 return NULL;
d14a1e28
RD
23412}
23413
23414
0085ce49
RD
23415SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23416 PyObject *resultobj = 0;
23417 wxPrintData *arg1 = 0 ;
23418 wxPrintData *result = 0 ;
23419 void *argp1 = 0 ;
23420 int res1 = 0 ;
23421
23422 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23424 if (!SWIG_IsOK(res1)) {
23425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23426 }
23427 if (!argp1) {
23428 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23429 }
23430 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23434 wxPyEndAllowThreads(__tstate);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23438 return resultobj;
23439fail:
23440 return NULL;
d14a1e28
RD
23441}
23442
23443
0085ce49
RD
23444SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23445 int argc;
23446 PyObject *argv[2];
23447
23448 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23449 --argc;
23450 if (argc == 0) {
23451 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23452 }
23453 if (argc == 1) {
23454 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23455 }
23456
23457fail:
23458 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23459 return NULL;
d14a1e28
RD
23460}
23461
23462
0085ce49
RD
23463SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23464 PyObject *resultobj = 0;
23465 wxPrintData *arg1 = (wxPrintData *) 0 ;
23466 void *argp1 = 0 ;
23467 int res1 = 0 ;
23468 PyObject *swig_obj[1] ;
23469
23470 if (!args) SWIG_fail;
23471 swig_obj[0] = args;
23472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23473 if (!SWIG_IsOK(res1)) {
23474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23475 }
23476 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23477 {
23478 PyThreadState* __tstate = wxPyBeginAllowThreads();
23479 delete arg1;
d14a1e28 23480
0085ce49
RD
23481 wxPyEndAllowThreads(__tstate);
23482 if (PyErr_Occurred()) SWIG_fail;
23483 }
23484 resultobj = SWIG_Py_Void();
23485 return resultobj;
23486fail:
23487 return NULL;
d14a1e28
RD
23488}
23489
23490
0085ce49
RD
23491SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23492 PyObject *resultobj = 0;
23493 wxPrintData *arg1 = (wxPrintData *) 0 ;
23494 int result;
23495 void *argp1 = 0 ;
23496 int res1 = 0 ;
23497 PyObject *swig_obj[1] ;
23498
23499 if (!args) SWIG_fail;
23500 swig_obj[0] = args;
23501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23502 if (!SWIG_IsOK(res1)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23504 }
23505 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 result = (int)(arg1)->GetNoCopies();
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 resultobj = SWIG_From_int(static_cast< int >(result));
23513 return resultobj;
23514fail:
23515 return NULL;
d14a1e28
RD
23516}
23517
23518
0085ce49
RD
23519SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23520 PyObject *resultobj = 0;
23521 wxPrintData *arg1 = (wxPrintData *) 0 ;
23522 bool result;
23523 void *argp1 = 0 ;
23524 int res1 = 0 ;
23525 PyObject *swig_obj[1] ;
23526
23527 if (!args) SWIG_fail;
23528 swig_obj[0] = args;
23529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23530 if (!SWIG_IsOK(res1)) {
23531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23532 }
23533 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23534 {
23535 PyThreadState* __tstate = wxPyBeginAllowThreads();
23536 result = (bool)(arg1)->GetCollate();
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 {
23541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23542 }
23543 return resultobj;
23544fail:
23545 return NULL;
d14a1e28
RD
23546}
23547
23548
0085ce49
RD
23549SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23550 PyObject *resultobj = 0;
23551 wxPrintData *arg1 = (wxPrintData *) 0 ;
23552 int result;
23553 void *argp1 = 0 ;
23554 int res1 = 0 ;
23555 PyObject *swig_obj[1] ;
23556
23557 if (!args) SWIG_fail;
23558 swig_obj[0] = args;
23559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23560 if (!SWIG_IsOK(res1)) {
23561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23562 }
23563 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 result = (int)(arg1)->GetOrientation();
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 resultobj = SWIG_From_int(static_cast< int >(result));
23571 return resultobj;
23572fail:
23573 return NULL;
d14a1e28
RD
23574}
23575
23576
0085ce49
RD
23577SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23578 PyObject *resultobj = 0;
23579 wxPrintData *arg1 = (wxPrintData *) 0 ;
23580 bool result;
23581 void *argp1 = 0 ;
23582 int res1 = 0 ;
23583 PyObject *swig_obj[1] ;
23584
23585 if (!args) SWIG_fail;
23586 swig_obj[0] = args;
23587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23588 if (!SWIG_IsOK(res1)) {
23589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23590 }
23591 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23592 {
23593 PyThreadState* __tstate = wxPyBeginAllowThreads();
23594 result = (bool)(arg1)->Ok();
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 {
23599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23600 }
23601 return resultobj;
23602fail:
23603 return NULL;
23604}
23605
23606
23607SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23608 PyObject *resultobj = 0;
23609 wxPrintData *arg1 = (wxPrintData *) 0 ;
23610 wxString *result = 0 ;
23611 void *argp1 = 0 ;
23612 int res1 = 0 ;
23613 PyObject *swig_obj[1] ;
23614
23615 if (!args) SWIG_fail;
23616 swig_obj[0] = args;
23617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23618 if (!SWIG_IsOK(res1)) {
23619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23620 }
23621 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23622 {
23623 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 23624 {
0085ce49
RD
23625 wxString const &_result_ref = (arg1)->GetPrinterName();
23626 result = (wxString *) &_result_ref;
d14a1e28 23627 }
0085ce49
RD
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 {
d14a1e28 23632#if wxUSE_UNICODE
0085ce49 23633 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 23634#else
0085ce49 23635 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28 23636#endif
0085ce49
RD
23637 }
23638 return resultobj;
23639fail:
23640 return NULL;
d14a1e28
RD
23641}
23642
23643
0085ce49
RD
23644SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23645 PyObject *resultobj = 0;
23646 wxPrintData *arg1 = (wxPrintData *) 0 ;
23647 bool result;
23648 void *argp1 = 0 ;
23649 int res1 = 0 ;
23650 PyObject *swig_obj[1] ;
23651
23652 if (!args) SWIG_fail;
23653 swig_obj[0] = args;
23654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23655 if (!SWIG_IsOK(res1)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23657 }
23658 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23659 {
23660 PyThreadState* __tstate = wxPyBeginAllowThreads();
23661 result = (bool)(arg1)->GetColour();
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 {
23666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23667 }
23668 return resultobj;
23669fail:
23670 return NULL;
d14a1e28
RD
23671}
23672
23673
0085ce49
RD
23674SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23675 PyObject *resultobj = 0;
23676 wxPrintData *arg1 = (wxPrintData *) 0 ;
23677 wxDuplexMode result;
23678 void *argp1 = 0 ;
23679 int res1 = 0 ;
23680 PyObject *swig_obj[1] ;
23681
23682 if (!args) SWIG_fail;
23683 swig_obj[0] = args;
23684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23685 if (!SWIG_IsOK(res1)) {
23686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23687 }
23688 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23689 {
23690 PyThreadState* __tstate = wxPyBeginAllowThreads();
23691 result = (wxDuplexMode)(arg1)->GetDuplex();
23692 wxPyEndAllowThreads(__tstate);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 }
23695 resultobj = SWIG_From_int(static_cast< int >(result));
23696 return resultobj;
23697fail:
23698 return NULL;
d14a1e28
RD
23699}
23700
23701
0085ce49
RD
23702SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23703 PyObject *resultobj = 0;
23704 wxPrintData *arg1 = (wxPrintData *) 0 ;
23705 wxPaperSize result;
23706 void *argp1 = 0 ;
23707 int res1 = 0 ;
23708 PyObject *swig_obj[1] ;
23709
23710 if (!args) SWIG_fail;
23711 swig_obj[0] = args;
23712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23713 if (!SWIG_IsOK(res1)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23715 }
23716 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23717 {
23718 PyThreadState* __tstate = wxPyBeginAllowThreads();
23719 result = (wxPaperSize)(arg1)->GetPaperId();
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 resultobj = SWIG_From_int(static_cast< int >(result));
23724 return resultobj;
23725fail:
23726 return NULL;
d14a1e28
RD
23727}
23728
23729
0085ce49
RD
23730SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23731 PyObject *resultobj = 0;
23732 wxPrintData *arg1 = (wxPrintData *) 0 ;
23733 wxSize *result = 0 ;
23734 void *argp1 = 0 ;
23735 int res1 = 0 ;
23736 PyObject *swig_obj[1] ;
23737
23738 if (!args) SWIG_fail;
23739 swig_obj[0] = args;
23740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23741 if (!SWIG_IsOK(res1)) {
23742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23743 }
23744 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23745 {
23746 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 23747 {
0085ce49
RD
23748 wxSize const &_result_ref = (arg1)->GetPaperSize();
23749 result = (wxSize *) &_result_ref;
23750 }
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23755 return resultobj;
23756fail:
23757 return NULL;
d14a1e28
RD
23758}
23759
23760
0085ce49
RD
23761SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23762 PyObject *resultobj = 0;
23763 wxPrintData *arg1 = (wxPrintData *) 0 ;
23764 int result;
23765 void *argp1 = 0 ;
23766 int res1 = 0 ;
23767 PyObject *swig_obj[1] ;
23768
23769 if (!args) SWIG_fail;
23770 swig_obj[0] = args;
23771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23772 if (!SWIG_IsOK(res1)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23774 }
23775 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 result = (int)(arg1)->GetQuality();
23779 wxPyEndAllowThreads(__tstate);
23780 if (PyErr_Occurred()) SWIG_fail;
23781 }
23782 resultobj = SWIG_From_int(static_cast< int >(result));
23783 return resultobj;
23784fail:
23785 return NULL;
d14a1e28
RD
23786}
23787
23788
0085ce49
RD
23789SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23790 PyObject *resultobj = 0;
23791 wxPrintData *arg1 = (wxPrintData *) 0 ;
23792 wxPrintBin result;
23793 void *argp1 = 0 ;
23794 int res1 = 0 ;
23795 PyObject *swig_obj[1] ;
23796
23797 if (!args) SWIG_fail;
23798 swig_obj[0] = args;
23799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23800 if (!SWIG_IsOK(res1)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23802 }
23803 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 result = (wxPrintBin)(arg1)->GetBin();
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 resultobj = SWIG_From_int(static_cast< int >(result));
23811 return resultobj;
23812fail:
23813 return NULL;
d14a1e28
RD
23814}
23815
23816
0085ce49
RD
23817SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23818 PyObject *resultobj = 0;
23819 wxPrintData *arg1 = (wxPrintData *) 0 ;
23820 wxPrintMode result;
23821 void *argp1 = 0 ;
23822 int res1 = 0 ;
23823 PyObject *swig_obj[1] ;
23824
23825 if (!args) SWIG_fail;
23826 swig_obj[0] = args;
23827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23828 if (!SWIG_IsOK(res1)) {
23829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23830 }
23831 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23832 {
23833 PyThreadState* __tstate = wxPyBeginAllowThreads();
23834 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23835 wxPyEndAllowThreads(__tstate);
23836 if (PyErr_Occurred()) SWIG_fail;
23837 }
23838 resultobj = SWIG_From_int(static_cast< int >(result));
23839 return resultobj;
23840fail:
23841 return NULL;
23842}
23843
23844
23845SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23846 PyObject *resultobj = 0;
23847 wxPrintData *arg1 = (wxPrintData *) 0 ;
23848 int arg2 ;
23849 void *argp1 = 0 ;
23850 int res1 = 0 ;
23851 int val2 ;
23852 int ecode2 = 0 ;
23853 PyObject * obj0 = 0 ;
23854 PyObject * obj1 = 0 ;
23855 char * kwnames[] = {
23856 (char *) "self",(char *) "v", NULL
23857 };
23858
23859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23861 if (!SWIG_IsOK(res1)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23863 }
23864 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23865 ecode2 = SWIG_AsVal_int(obj1, &val2);
23866 if (!SWIG_IsOK(ecode2)) {
23867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23868 }
23869 arg2 = static_cast< int >(val2);
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 (arg1)->SetNoCopies(arg2);
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
23876 resultobj = SWIG_Py_Void();
23877 return resultobj;
23878fail:
23879 return NULL;
23880}
23881
23882
23883SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23884 PyObject *resultobj = 0;
23885 wxPrintData *arg1 = (wxPrintData *) 0 ;
23886 bool arg2 ;
23887 void *argp1 = 0 ;
23888 int res1 = 0 ;
23889 bool val2 ;
23890 int ecode2 = 0 ;
23891 PyObject * obj0 = 0 ;
23892 PyObject * obj1 = 0 ;
23893 char * kwnames[] = {
23894 (char *) "self",(char *) "flag", NULL
23895 };
23896
23897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23899 if (!SWIG_IsOK(res1)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23901 }
23902 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23903 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23904 if (!SWIG_IsOK(ecode2)) {
23905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23906 }
23907 arg2 = static_cast< bool >(val2);
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 (arg1)->SetCollate(arg2);
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 resultobj = SWIG_Py_Void();
23915 return resultobj;
23916fail:
23917 return NULL;
23918}
23919
23920
23921SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23922 PyObject *resultobj = 0;
23923 wxPrintData *arg1 = (wxPrintData *) 0 ;
23924 int arg2 ;
23925 void *argp1 = 0 ;
23926 int res1 = 0 ;
23927 int val2 ;
23928 int ecode2 = 0 ;
23929 PyObject * obj0 = 0 ;
23930 PyObject * obj1 = 0 ;
23931 char * kwnames[] = {
23932 (char *) "self",(char *) "orient", NULL
23933 };
23934
23935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23937 if (!SWIG_IsOK(res1)) {
23938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23939 }
23940 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23941 ecode2 = SWIG_AsVal_int(obj1, &val2);
23942 if (!SWIG_IsOK(ecode2)) {
23943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23944 }
23945 arg2 = static_cast< int >(val2);
23946 {
23947 PyThreadState* __tstate = wxPyBeginAllowThreads();
23948 (arg1)->SetOrientation(arg2);
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 resultobj = SWIG_Py_Void();
23953 return resultobj;
23954fail:
23955 return NULL;
23956}
23957
23958
23959SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23960 PyObject *resultobj = 0;
23961 wxPrintData *arg1 = (wxPrintData *) 0 ;
23962 wxString *arg2 = 0 ;
23963 void *argp1 = 0 ;
23964 int res1 = 0 ;
23965 bool temp2 = false ;
23966 PyObject * obj0 = 0 ;
23967 PyObject * obj1 = 0 ;
23968 char * kwnames[] = {
23969 (char *) "self",(char *) "name", NULL
23970 };
23971
23972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23974 if (!SWIG_IsOK(res1)) {
23975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23976 }
23977 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23978 {
23979 arg2 = wxString_in_helper(obj1);
23980 if (arg2 == NULL) SWIG_fail;
23981 temp2 = true;
23982 }
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 (arg1)->SetPrinterName((wxString const &)*arg2);
23986 wxPyEndAllowThreads(__tstate);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 }
23989 resultobj = SWIG_Py_Void();
23990 {
23991 if (temp2)
23992 delete arg2;
23993 }
23994 return resultobj;
23995fail:
23996 {
23997 if (temp2)
23998 delete arg2;
23999 }
24000 return NULL;
24001}
24002
24003
24004SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24005 PyObject *resultobj = 0;
24006 wxPrintData *arg1 = (wxPrintData *) 0 ;
24007 bool arg2 ;
24008 void *argp1 = 0 ;
24009 int res1 = 0 ;
24010 bool val2 ;
24011 int ecode2 = 0 ;
24012 PyObject * obj0 = 0 ;
24013 PyObject * obj1 = 0 ;
24014 char * kwnames[] = {
24015 (char *) "self",(char *) "colour", NULL
24016 };
24017
24018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24020 if (!SWIG_IsOK(res1)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24022 }
24023 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24024 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24025 if (!SWIG_IsOK(ecode2)) {
24026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24027 }
24028 arg2 = static_cast< bool >(val2);
24029 {
24030 PyThreadState* __tstate = wxPyBeginAllowThreads();
24031 (arg1)->SetColour(arg2);
24032 wxPyEndAllowThreads(__tstate);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 }
24035 resultobj = SWIG_Py_Void();
24036 return resultobj;
24037fail:
24038 return NULL;
24039}
24040
24041
24042SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24043 PyObject *resultobj = 0;
24044 wxPrintData *arg1 = (wxPrintData *) 0 ;
24045 wxDuplexMode arg2 ;
24046 void *argp1 = 0 ;
24047 int res1 = 0 ;
24048 int val2 ;
24049 int ecode2 = 0 ;
24050 PyObject * obj0 = 0 ;
24051 PyObject * obj1 = 0 ;
24052 char * kwnames[] = {
24053 (char *) "self",(char *) "duplex", NULL
24054 };
24055
24056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24058 if (!SWIG_IsOK(res1)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24060 }
24061 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24062 ecode2 = SWIG_AsVal_int(obj1, &val2);
24063 if (!SWIG_IsOK(ecode2)) {
24064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24065 }
24066 arg2 = static_cast< wxDuplexMode >(val2);
24067 {
24068 PyThreadState* __tstate = wxPyBeginAllowThreads();
24069 (arg1)->SetDuplex(arg2);
24070 wxPyEndAllowThreads(__tstate);
24071 if (PyErr_Occurred()) SWIG_fail;
24072 }
24073 resultobj = SWIG_Py_Void();
24074 return resultobj;
24075fail:
24076 return NULL;
24077}
24078
24079
24080SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24081 PyObject *resultobj = 0;
24082 wxPrintData *arg1 = (wxPrintData *) 0 ;
24083 wxPaperSize arg2 ;
24084 void *argp1 = 0 ;
24085 int res1 = 0 ;
24086 int val2 ;
24087 int ecode2 = 0 ;
24088 PyObject * obj0 = 0 ;
24089 PyObject * obj1 = 0 ;
24090 char * kwnames[] = {
24091 (char *) "self",(char *) "sizeId", NULL
24092 };
24093
24094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24096 if (!SWIG_IsOK(res1)) {
24097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24098 }
24099 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24100 ecode2 = SWIG_AsVal_int(obj1, &val2);
24101 if (!SWIG_IsOK(ecode2)) {
24102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24103 }
24104 arg2 = static_cast< wxPaperSize >(val2);
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 (arg1)->SetPaperId(arg2);
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 resultobj = SWIG_Py_Void();
24112 return resultobj;
24113fail:
24114 return NULL;
24115}
24116
24117
24118SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24119 PyObject *resultobj = 0;
24120 wxPrintData *arg1 = (wxPrintData *) 0 ;
24121 wxSize *arg2 = 0 ;
24122 void *argp1 = 0 ;
24123 int res1 = 0 ;
24124 wxSize temp2 ;
24125 PyObject * obj0 = 0 ;
24126 PyObject * obj1 = 0 ;
24127 char * kwnames[] = {
24128 (char *) "self",(char *) "sz", NULL
24129 };
24130
24131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24133 if (!SWIG_IsOK(res1)) {
24134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24135 }
24136 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24137 {
24138 arg2 = &temp2;
24139 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24140 }
24141 {
24142 PyThreadState* __tstate = wxPyBeginAllowThreads();
24143 (arg1)->SetPaperSize((wxSize const &)*arg2);
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
24147 resultobj = SWIG_Py_Void();
24148 return resultobj;
24149fail:
24150 return NULL;
24151}
24152
24153
24154SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24155 PyObject *resultobj = 0;
24156 wxPrintData *arg1 = (wxPrintData *) 0 ;
24157 int arg2 ;
24158 void *argp1 = 0 ;
24159 int res1 = 0 ;
24160 int val2 ;
24161 int ecode2 = 0 ;
24162 PyObject * obj0 = 0 ;
24163 PyObject * obj1 = 0 ;
24164 char * kwnames[] = {
24165 (char *) "self",(char *) "quality", NULL
24166 };
24167
24168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24170 if (!SWIG_IsOK(res1)) {
24171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24172 }
24173 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24174 ecode2 = SWIG_AsVal_int(obj1, &val2);
24175 if (!SWIG_IsOK(ecode2)) {
24176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24177 }
24178 arg2 = static_cast< int >(val2);
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 (arg1)->SetQuality(arg2);
24182 wxPyEndAllowThreads(__tstate);
24183 if (PyErr_Occurred()) SWIG_fail;
24184 }
24185 resultobj = SWIG_Py_Void();
24186 return resultobj;
24187fail:
24188 return NULL;
24189}
24190
24191
24192SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24193 PyObject *resultobj = 0;
24194 wxPrintData *arg1 = (wxPrintData *) 0 ;
24195 wxPrintBin arg2 ;
24196 void *argp1 = 0 ;
24197 int res1 = 0 ;
24198 int val2 ;
24199 int ecode2 = 0 ;
24200 PyObject * obj0 = 0 ;
24201 PyObject * obj1 = 0 ;
24202 char * kwnames[] = {
24203 (char *) "self",(char *) "bin", NULL
24204 };
24205
24206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24208 if (!SWIG_IsOK(res1)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24210 }
24211 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24212 ecode2 = SWIG_AsVal_int(obj1, &val2);
24213 if (!SWIG_IsOK(ecode2)) {
24214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24215 }
24216 arg2 = static_cast< wxPrintBin >(val2);
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 (arg1)->SetBin(arg2);
24220 wxPyEndAllowThreads(__tstate);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 }
24223 resultobj = SWIG_Py_Void();
24224 return resultobj;
24225fail:
24226 return NULL;
24227}
24228
24229
24230SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24231 PyObject *resultobj = 0;
24232 wxPrintData *arg1 = (wxPrintData *) 0 ;
24233 wxPrintMode arg2 ;
24234 void *argp1 = 0 ;
24235 int res1 = 0 ;
24236 int val2 ;
24237 int ecode2 = 0 ;
24238 PyObject * obj0 = 0 ;
24239 PyObject * obj1 = 0 ;
24240 char * kwnames[] = {
24241 (char *) "self",(char *) "printMode", NULL
24242 };
24243
24244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24246 if (!SWIG_IsOK(res1)) {
24247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24248 }
24249 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24250 ecode2 = SWIG_AsVal_int(obj1, &val2);
24251 if (!SWIG_IsOK(ecode2)) {
24252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24253 }
24254 arg2 = static_cast< wxPrintMode >(val2);
24255 {
24256 PyThreadState* __tstate = wxPyBeginAllowThreads();
24257 (arg1)->SetPrintMode(arg2);
24258 wxPyEndAllowThreads(__tstate);
24259 if (PyErr_Occurred()) SWIG_fail;
24260 }
24261 resultobj = SWIG_Py_Void();
24262 return resultobj;
24263fail:
24264 return NULL;
d14a1e28
RD
24265}
24266
24267
0085ce49
RD
24268SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24269 PyObject *resultobj = 0;
24270 wxPrintData *arg1 = (wxPrintData *) 0 ;
24271 wxString result;
24272 void *argp1 = 0 ;
24273 int res1 = 0 ;
24274 PyObject *swig_obj[1] ;
24275
24276 if (!args) SWIG_fail;
24277 swig_obj[0] = args;
24278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24279 if (!SWIG_IsOK(res1)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24281 }
24282 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24283 {
24284 PyThreadState* __tstate = wxPyBeginAllowThreads();
24285 result = ((wxPrintData const *)arg1)->GetFilename();
24286 wxPyEndAllowThreads(__tstate);
24287 if (PyErr_Occurred()) SWIG_fail;
24288 }
24289 {
d14a1e28 24290#if wxUSE_UNICODE
0085ce49 24291 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 24292#else
0085ce49 24293 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 24294#endif
0085ce49
RD
24295 }
24296 return resultobj;
24297fail:
24298 return NULL;
24299}
24300
24301
24302SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24303 PyObject *resultobj = 0;
24304 wxPrintData *arg1 = (wxPrintData *) 0 ;
24305 wxString *arg2 = 0 ;
24306 void *argp1 = 0 ;
24307 int res1 = 0 ;
24308 bool temp2 = false ;
24309 PyObject * obj0 = 0 ;
24310 PyObject * obj1 = 0 ;
24311 char * kwnames[] = {
24312 (char *) "self",(char *) "filename", NULL
24313 };
24314
24315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24317 if (!SWIG_IsOK(res1)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24319 }
24320 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24321 {
24322 arg2 = wxString_in_helper(obj1);
24323 if (arg2 == NULL) SWIG_fail;
24324 temp2 = true;
24325 }
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 (arg1)->SetFilename((wxString const &)*arg2);
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 resultobj = SWIG_Py_Void();
24333 {
24334 if (temp2)
24335 delete arg2;
24336 }
24337 return resultobj;
24338fail:
24339 {
24340 if (temp2)
24341 delete arg2;
24342 }
24343 return NULL;
d14a1e28
RD
24344}
24345
24346
0085ce49
RD
24347SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24348 PyObject *resultobj = 0;
24349 wxPrintData *arg1 = (wxPrintData *) 0 ;
24350 PyObject *result = 0 ;
24351 void *argp1 = 0 ;
24352 int res1 = 0 ;
24353 PyObject *swig_obj[1] ;
24354
24355 if (!args) SWIG_fail;
24356 swig_obj[0] = args;
24357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24358 if (!SWIG_IsOK(res1)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24360 }
24361 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24365 wxPyEndAllowThreads(__tstate);
24366 if (PyErr_Occurred()) SWIG_fail;
24367 }
24368 resultobj = result;
24369 return resultobj;
24370fail:
24371 return NULL;
24372}
24373
24374
24375SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24376 PyObject *resultobj = 0;
24377 wxPrintData *arg1 = (wxPrintData *) 0 ;
24378 PyObject *arg2 = (PyObject *) 0 ;
24379 void *argp1 = 0 ;
24380 int res1 = 0 ;
24381 PyObject * obj0 = 0 ;
24382 PyObject * obj1 = 0 ;
24383 char * kwnames[] = {
24384 (char *) "self",(char *) "data", NULL
24385 };
24386
24387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24389 if (!SWIG_IsOK(res1)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24391 }
24392 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24393 arg2 = obj1;
24394 {
24395 PyThreadState* __tstate = wxPyBeginAllowThreads();
24396 wxPrintData_SetPrivData(arg1,arg2);
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 resultobj = SWIG_Py_Void();
24401 return resultobj;
24402fail:
24403 return NULL;
d14a1e28
RD
24404}
24405
24406
0085ce49
RD
24407SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24408 PyObject *obj;
24409 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24411 return SWIG_Py_Void();
d14a1e28
RD
24412}
24413
0085ce49
RD
24414SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24415 return SWIG_Python_InitShadowInstance(args);
24416}
d14a1e28 24417
0085ce49
RD
24418SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24419 PyObject *resultobj = 0;
24420 wxPageSetupDialogData *result = 0 ;
24421
24422 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24423 {
24424 PyThreadState* __tstate = wxPyBeginAllowThreads();
24425 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24426 wxPyEndAllowThreads(__tstate);
24427 if (PyErr_Occurred()) SWIG_fail;
24428 }
24429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24430 return resultobj;
24431fail:
24432 return NULL;
d14a1e28
RD
24433}
24434
24435
0085ce49
RD
24436SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24437 PyObject *resultobj = 0;
24438 wxPageSetupDialogData *arg1 = 0 ;
24439 wxPageSetupDialogData *result = 0 ;
24440 void *argp1 = 0 ;
24441 int res1 = 0 ;
24442
24443 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24445 if (!SWIG_IsOK(res1)) {
24446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24447 }
24448 if (!argp1) {
24449 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24450 }
24451 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24455 wxPyEndAllowThreads(__tstate);
24456 if (PyErr_Occurred()) SWIG_fail;
24457 }
24458 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24459 return resultobj;
24460fail:
24461 return NULL;
d14a1e28
RD
24462}
24463
24464
0085ce49
RD
24465SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24466 PyObject *resultobj = 0;
24467 wxPrintData *arg1 = 0 ;
24468 wxPageSetupDialogData *result = 0 ;
24469 void *argp1 = 0 ;
24470 int res1 = 0 ;
24471
24472 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24474 if (!SWIG_IsOK(res1)) {
24475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24476 }
24477 if (!argp1) {
24478 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24479 }
24480 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24484 wxPyEndAllowThreads(__tstate);
24485 if (PyErr_Occurred()) SWIG_fail;
24486 }
24487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24488 return resultobj;
24489fail:
24490 return NULL;
d3b6e4ff
RD
24491}
24492
24493
0085ce49
RD
24494SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24495 int argc;
24496 PyObject *argv[2];
24497
24498 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24499 --argc;
24500 if (argc == 0) {
24501 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24502 }
24503 if (argc == 1) {
24504 int _v = 0;
d3b6e4ff 24505 {
0085ce49
RD
24506 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24507 _v = SWIG_CheckState(res);
d3b6e4ff 24508 }
0085ce49
RD
24509 if (!_v) goto check_2;
24510 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24511 }
24512check_2:
24513
24514 if (argc == 1) {
24515 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24516 }
24517
24518fail:
24519 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24520 return NULL;
d3b6e4ff
RD
24521}
24522
24523
0085ce49
RD
24524SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24525 PyObject *resultobj = 0;
24526 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24527 void *argp1 = 0 ;
24528 int res1 = 0 ;
24529 PyObject *swig_obj[1] ;
24530
24531 if (!args) SWIG_fail;
24532 swig_obj[0] = args;
24533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24534 if (!SWIG_IsOK(res1)) {
24535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24536 }
24537 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24538 {
24539 PyThreadState* __tstate = wxPyBeginAllowThreads();
24540 delete arg1;
d14a1e28 24541
0085ce49
RD
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
24545 resultobj = SWIG_Py_Void();
24546 return resultobj;
24547fail:
24548 return NULL;
24549}
24550
24551
24552SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj = 0;
24554 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24555 bool arg2 ;
24556 void *argp1 = 0 ;
24557 int res1 = 0 ;
24558 bool val2 ;
24559 int ecode2 = 0 ;
24560 PyObject * obj0 = 0 ;
24561 PyObject * obj1 = 0 ;
24562 char * kwnames[] = {
24563 (char *) "self",(char *) "flag", NULL
24564 };
24565
24566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24568 if (!SWIG_IsOK(res1)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24570 }
24571 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24572 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24573 if (!SWIG_IsOK(ecode2)) {
24574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24575 }
24576 arg2 = static_cast< bool >(val2);
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 (arg1)->EnableHelp(arg2);
24580 wxPyEndAllowThreads(__tstate);
24581 if (PyErr_Occurred()) SWIG_fail;
24582 }
24583 resultobj = SWIG_Py_Void();
24584 return resultobj;
24585fail:
24586 return NULL;
24587}
24588
24589
24590SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24591 PyObject *resultobj = 0;
24592 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24593 bool arg2 ;
24594 void *argp1 = 0 ;
24595 int res1 = 0 ;
24596 bool val2 ;
24597 int ecode2 = 0 ;
24598 PyObject * obj0 = 0 ;
24599 PyObject * obj1 = 0 ;
24600 char * kwnames[] = {
24601 (char *) "self",(char *) "flag", NULL
24602 };
24603
24604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24606 if (!SWIG_IsOK(res1)) {
24607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24608 }
24609 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24610 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24611 if (!SWIG_IsOK(ecode2)) {
24612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24613 }
24614 arg2 = static_cast< bool >(val2);
24615 {
24616 PyThreadState* __tstate = wxPyBeginAllowThreads();
24617 (arg1)->EnableMargins(arg2);
24618 wxPyEndAllowThreads(__tstate);
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
24621 resultobj = SWIG_Py_Void();
24622 return resultobj;
24623fail:
24624 return NULL;
24625}
24626
24627
24628SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24629 PyObject *resultobj = 0;
24630 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24631 bool arg2 ;
24632 void *argp1 = 0 ;
24633 int res1 = 0 ;
24634 bool val2 ;
24635 int ecode2 = 0 ;
24636 PyObject * obj0 = 0 ;
24637 PyObject * obj1 = 0 ;
24638 char * kwnames[] = {
24639 (char *) "self",(char *) "flag", NULL
24640 };
24641
24642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24644 if (!SWIG_IsOK(res1)) {
24645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24646 }
24647 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24648 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24649 if (!SWIG_IsOK(ecode2)) {
24650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24651 }
24652 arg2 = static_cast< bool >(val2);
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 (arg1)->EnableOrientation(arg2);
24656 wxPyEndAllowThreads(__tstate);
24657 if (PyErr_Occurred()) SWIG_fail;
24658 }
24659 resultobj = SWIG_Py_Void();
24660 return resultobj;
24661fail:
24662 return NULL;
24663}
24664
24665
24666SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24667 PyObject *resultobj = 0;
24668 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24669 bool arg2 ;
24670 void *argp1 = 0 ;
24671 int res1 = 0 ;
24672 bool val2 ;
24673 int ecode2 = 0 ;
24674 PyObject * obj0 = 0 ;
24675 PyObject * obj1 = 0 ;
24676 char * kwnames[] = {
24677 (char *) "self",(char *) "flag", NULL
24678 };
24679
24680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24682 if (!SWIG_IsOK(res1)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24684 }
24685 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24686 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24687 if (!SWIG_IsOK(ecode2)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24689 }
24690 arg2 = static_cast< bool >(val2);
24691 {
24692 PyThreadState* __tstate = wxPyBeginAllowThreads();
24693 (arg1)->EnablePaper(arg2);
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 resultobj = SWIG_Py_Void();
24698 return resultobj;
24699fail:
24700 return NULL;
24701}
24702
24703
24704SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24705 PyObject *resultobj = 0;
24706 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24707 bool arg2 ;
24708 void *argp1 = 0 ;
24709 int res1 = 0 ;
24710 bool val2 ;
24711 int ecode2 = 0 ;
24712 PyObject * obj0 = 0 ;
24713 PyObject * obj1 = 0 ;
24714 char * kwnames[] = {
24715 (char *) "self",(char *) "flag", NULL
24716 };
24717
24718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24720 if (!SWIG_IsOK(res1)) {
24721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24722 }
24723 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24724 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24725 if (!SWIG_IsOK(ecode2)) {
24726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24727 }
24728 arg2 = static_cast< bool >(val2);
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 (arg1)->EnablePrinter(arg2);
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 resultobj = SWIG_Py_Void();
24736 return resultobj;
24737fail:
24738 return NULL;
d14a1e28
RD
24739}
24740
24741
0085ce49
RD
24742SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24743 PyObject *resultobj = 0;
24744 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24745 bool result;
24746 void *argp1 = 0 ;
24747 int res1 = 0 ;
24748 PyObject *swig_obj[1] ;
24749
24750 if (!args) SWIG_fail;
24751 swig_obj[0] = args;
24752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24753 if (!SWIG_IsOK(res1)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24755 }
24756 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24757 {
24758 PyThreadState* __tstate = wxPyBeginAllowThreads();
24759 result = (bool)(arg1)->GetDefaultMinMargins();
24760 wxPyEndAllowThreads(__tstate);
24761 if (PyErr_Occurred()) SWIG_fail;
24762 }
24763 {
24764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24765 }
24766 return resultobj;
24767fail:
24768 return NULL;
d14a1e28
RD
24769}
24770
24771
0085ce49
RD
24772SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24773 PyObject *resultobj = 0;
24774 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24775 bool result;
24776 void *argp1 = 0 ;
24777 int res1 = 0 ;
24778 PyObject *swig_obj[1] ;
24779
24780 if (!args) SWIG_fail;
24781 swig_obj[0] = args;
24782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24783 if (!SWIG_IsOK(res1)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24785 }
24786 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 result = (bool)(arg1)->GetEnableMargins();
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 {
24794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24795 }
24796 return resultobj;
24797fail:
24798 return NULL;
d14a1e28
RD
24799}
24800
24801
0085ce49
RD
24802SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24803 PyObject *resultobj = 0;
24804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24805 bool result;
24806 void *argp1 = 0 ;
24807 int res1 = 0 ;
24808 PyObject *swig_obj[1] ;
24809
24810 if (!args) SWIG_fail;
24811 swig_obj[0] = args;
24812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24813 if (!SWIG_IsOK(res1)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24815 }
24816 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 result = (bool)(arg1)->GetEnableOrientation();
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 {
24824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24825 }
24826 return resultobj;
24827fail:
24828 return NULL;
d14a1e28
RD
24829}
24830
24831
0085ce49
RD
24832SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24833 PyObject *resultobj = 0;
24834 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24835 bool result;
24836 void *argp1 = 0 ;
24837 int res1 = 0 ;
24838 PyObject *swig_obj[1] ;
24839
24840 if (!args) SWIG_fail;
24841 swig_obj[0] = args;
24842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24843 if (!SWIG_IsOK(res1)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24845 }
24846 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24847 {
24848 PyThreadState* __tstate = wxPyBeginAllowThreads();
24849 result = (bool)(arg1)->GetEnablePaper();
24850 wxPyEndAllowThreads(__tstate);
24851 if (PyErr_Occurred()) SWIG_fail;
24852 }
24853 {
24854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24855 }
24856 return resultobj;
24857fail:
24858 return NULL;
d14a1e28
RD
24859}
24860
24861
0085ce49
RD
24862SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24863 PyObject *resultobj = 0;
24864 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24865 bool result;
24866 void *argp1 = 0 ;
24867 int res1 = 0 ;
24868 PyObject *swig_obj[1] ;
24869
24870 if (!args) SWIG_fail;
24871 swig_obj[0] = args;
24872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24873 if (!SWIG_IsOK(res1)) {
24874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24875 }
24876 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 result = (bool)(arg1)->GetEnablePrinter();
24880 wxPyEndAllowThreads(__tstate);
24881 if (PyErr_Occurred()) SWIG_fail;
24882 }
24883 {
24884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24885 }
24886 return resultobj;
24887fail:
24888 return NULL;
d14a1e28
RD
24889}
24890
24891
0085ce49
RD
24892SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24893 PyObject *resultobj = 0;
24894 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24895 bool result;
24896 void *argp1 = 0 ;
24897 int res1 = 0 ;
24898 PyObject *swig_obj[1] ;
24899
24900 if (!args) SWIG_fail;
24901 swig_obj[0] = args;
24902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24903 if (!SWIG_IsOK(res1)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24905 }
24906 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24907 {
24908 PyThreadState* __tstate = wxPyBeginAllowThreads();
24909 result = (bool)(arg1)->GetEnableHelp();
24910 wxPyEndAllowThreads(__tstate);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 }
24913 {
24914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24915 }
24916 return resultobj;
24917fail:
24918 return NULL;
d14a1e28
RD
24919}
24920
24921
0085ce49
RD
24922SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24923 PyObject *resultobj = 0;
24924 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24925 bool result;
24926 void *argp1 = 0 ;
24927 int res1 = 0 ;
24928 PyObject *swig_obj[1] ;
24929
24930 if (!args) SWIG_fail;
24931 swig_obj[0] = args;
24932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24933 if (!SWIG_IsOK(res1)) {
24934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24935 }
24936 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24937 {
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 result = (bool)(arg1)->GetDefaultInfo();
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 {
24944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24945 }
24946 return resultobj;
24947fail:
24948 return NULL;
d14a1e28
RD
24949}
24950
24951
0085ce49
RD
24952SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24953 PyObject *resultobj = 0;
24954 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24955 wxPoint result;
24956 void *argp1 = 0 ;
24957 int res1 = 0 ;
24958 PyObject *swig_obj[1] ;
24959
24960 if (!args) SWIG_fail;
24961 swig_obj[0] = args;
24962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24963 if (!SWIG_IsOK(res1)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24965 }
24966 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24967 {
24968 PyThreadState* __tstate = wxPyBeginAllowThreads();
24969 result = (arg1)->GetMarginTopLeft();
24970 wxPyEndAllowThreads(__tstate);
24971 if (PyErr_Occurred()) SWIG_fail;
24972 }
24973 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24974 return resultobj;
24975fail:
24976 return NULL;
d14a1e28
RD
24977}
24978
24979
0085ce49
RD
24980SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24981 PyObject *resultobj = 0;
24982 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24983 wxPoint result;
24984 void *argp1 = 0 ;
24985 int res1 = 0 ;
24986 PyObject *swig_obj[1] ;
24987
24988 if (!args) SWIG_fail;
24989 swig_obj[0] = args;
24990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24991 if (!SWIG_IsOK(res1)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24993 }
24994 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 result = (arg1)->GetMarginBottomRight();
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25002 return resultobj;
25003fail:
25004 return NULL;
d14a1e28
RD
25005}
25006
25007
0085ce49
RD
25008SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25009 PyObject *resultobj = 0;
25010 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25011 wxPoint result;
25012 void *argp1 = 0 ;
25013 int res1 = 0 ;
25014 PyObject *swig_obj[1] ;
25015
25016 if (!args) SWIG_fail;
25017 swig_obj[0] = args;
25018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25019 if (!SWIG_IsOK(res1)) {
25020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25021 }
25022 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25023 {
25024 PyThreadState* __tstate = wxPyBeginAllowThreads();
25025 result = (arg1)->GetMinMarginTopLeft();
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25030 return resultobj;
25031fail:
25032 return NULL;
d14a1e28
RD
25033}
25034
25035
0085ce49
RD
25036SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25037 PyObject *resultobj = 0;
25038 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25039 wxPoint result;
25040 void *argp1 = 0 ;
25041 int res1 = 0 ;
25042 PyObject *swig_obj[1] ;
25043
25044 if (!args) SWIG_fail;
25045 swig_obj[0] = args;
25046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25047 if (!SWIG_IsOK(res1)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25049 }
25050 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25051 {
25052 PyThreadState* __tstate = wxPyBeginAllowThreads();
25053 result = (arg1)->GetMinMarginBottomRight();
25054 wxPyEndAllowThreads(__tstate);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25058 return resultobj;
25059fail:
25060 return NULL;
d14a1e28
RD
25061}
25062
25063
0085ce49
RD
25064SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25065 PyObject *resultobj = 0;
25066 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25067 wxPaperSize result;
25068 void *argp1 = 0 ;
25069 int res1 = 0 ;
25070 PyObject *swig_obj[1] ;
25071
25072 if (!args) SWIG_fail;
25073 swig_obj[0] = args;
25074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25075 if (!SWIG_IsOK(res1)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25077 }
25078 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 result = (wxPaperSize)(arg1)->GetPaperId();
25082 wxPyEndAllowThreads(__tstate);
25083 if (PyErr_Occurred()) SWIG_fail;
25084 }
25085 resultobj = SWIG_From_int(static_cast< int >(result));
25086 return resultobj;
25087fail:
25088 return NULL;
d14a1e28
RD
25089}
25090
25091
0085ce49
RD
25092SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25093 PyObject *resultobj = 0;
25094 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25095 wxSize result;
25096 void *argp1 = 0 ;
25097 int res1 = 0 ;
25098 PyObject *swig_obj[1] ;
25099
25100 if (!args) SWIG_fail;
25101 swig_obj[0] = args;
25102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25103 if (!SWIG_IsOK(res1)) {
25104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25105 }
25106 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25107 {
25108 PyThreadState* __tstate = wxPyBeginAllowThreads();
25109 result = (arg1)->GetPaperSize();
25110 wxPyEndAllowThreads(__tstate);
25111 if (PyErr_Occurred()) SWIG_fail;
25112 }
25113 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25114 return resultobj;
25115fail:
25116 return NULL;
d14a1e28
RD
25117}
25118
25119
0085ce49
RD
25120SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25121 PyObject *resultobj = 0;
25122 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25123 wxPrintData *result = 0 ;
25124 void *argp1 = 0 ;
25125 int res1 = 0 ;
25126 PyObject *swig_obj[1] ;
25127
25128 if (!args) SWIG_fail;
25129 swig_obj[0] = args;
25130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25131 if (!SWIG_IsOK(res1)) {
25132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25133 }
25134 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25135 {
25136 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 25137 {
0085ce49
RD
25138 wxPrintData &_result_ref = (arg1)->GetPrintData();
25139 result = (wxPrintData *) &_result_ref;
093d3ff1 25140 }
0085ce49
RD
25141 wxPyEndAllowThreads(__tstate);
25142 if (PyErr_Occurred()) SWIG_fail;
25143 }
25144 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25145 return resultobj;
25146fail:
25147 return NULL;
d14a1e28
RD
25148}
25149
25150
0085ce49
RD
25151SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25152 PyObject *resultobj = 0;
25153 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25154 bool result;
25155 void *argp1 = 0 ;
25156 int res1 = 0 ;
25157 PyObject *swig_obj[1] ;
25158
25159 if (!args) SWIG_fail;
25160 swig_obj[0] = args;
25161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25162 if (!SWIG_IsOK(res1)) {
25163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25164 }
25165 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25166 {
25167 PyThreadState* __tstate = wxPyBeginAllowThreads();
25168 result = (bool)(arg1)->Ok();
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
25172 {
25173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25174 }
25175 return resultobj;
25176fail:
25177 return NULL;
25178}
25179
25180
25181SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25182 PyObject *resultobj = 0;
25183 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25184 bool arg2 ;
25185 void *argp1 = 0 ;
25186 int res1 = 0 ;
25187 bool val2 ;
25188 int ecode2 = 0 ;
25189 PyObject * obj0 = 0 ;
25190 PyObject * obj1 = 0 ;
25191 char * kwnames[] = {
25192 (char *) "self",(char *) "flag", NULL
25193 };
25194
25195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25197 if (!SWIG_IsOK(res1)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25199 }
25200 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25201 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25202 if (!SWIG_IsOK(ecode2)) {
25203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25204 }
25205 arg2 = static_cast< bool >(val2);
25206 {
25207 PyThreadState* __tstate = wxPyBeginAllowThreads();
25208 (arg1)->SetDefaultInfo(arg2);
25209 wxPyEndAllowThreads(__tstate);
25210 if (PyErr_Occurred()) SWIG_fail;
25211 }
25212 resultobj = SWIG_Py_Void();
25213 return resultobj;
25214fail:
25215 return NULL;
25216}
25217
25218
25219SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25220 PyObject *resultobj = 0;
25221 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25222 bool arg2 ;
25223 void *argp1 = 0 ;
25224 int res1 = 0 ;
25225 bool val2 ;
25226 int ecode2 = 0 ;
25227 PyObject * obj0 = 0 ;
25228 PyObject * obj1 = 0 ;
25229 char * kwnames[] = {
25230 (char *) "self",(char *) "flag", NULL
25231 };
25232
25233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25235 if (!SWIG_IsOK(res1)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25237 }
25238 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25239 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25240 if (!SWIG_IsOK(ecode2)) {
25241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25242 }
25243 arg2 = static_cast< bool >(val2);
25244 {
25245 PyThreadState* __tstate = wxPyBeginAllowThreads();
25246 (arg1)->SetDefaultMinMargins(arg2);
25247 wxPyEndAllowThreads(__tstate);
25248 if (PyErr_Occurred()) SWIG_fail;
25249 }
25250 resultobj = SWIG_Py_Void();
25251 return resultobj;
25252fail:
25253 return NULL;
25254}
25255
25256
25257SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25258 PyObject *resultobj = 0;
25259 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25260 wxPoint *arg2 = 0 ;
25261 void *argp1 = 0 ;
25262 int res1 = 0 ;
25263 wxPoint temp2 ;
25264 PyObject * obj0 = 0 ;
25265 PyObject * obj1 = 0 ;
25266 char * kwnames[] = {
25267 (char *) "self",(char *) "pt", NULL
25268 };
25269
25270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25272 if (!SWIG_IsOK(res1)) {
25273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25274 }
25275 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25276 {
25277 arg2 = &temp2;
25278 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25279 }
25280 {
25281 PyThreadState* __tstate = wxPyBeginAllowThreads();
25282 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25283 wxPyEndAllowThreads(__tstate);
25284 if (PyErr_Occurred()) SWIG_fail;
25285 }
25286 resultobj = SWIG_Py_Void();
25287 return resultobj;
25288fail:
25289 return NULL;
25290}
25291
25292
25293SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25294 PyObject *resultobj = 0;
25295 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25296 wxPoint *arg2 = 0 ;
25297 void *argp1 = 0 ;
25298 int res1 = 0 ;
25299 wxPoint temp2 ;
25300 PyObject * obj0 = 0 ;
25301 PyObject * obj1 = 0 ;
25302 char * kwnames[] = {
25303 (char *) "self",(char *) "pt", NULL
25304 };
25305
25306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25308 if (!SWIG_IsOK(res1)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25310 }
25311 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25312 {
25313 arg2 = &temp2;
25314 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25315 }
25316 {
25317 PyThreadState* __tstate = wxPyBeginAllowThreads();
25318 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 resultobj = SWIG_Py_Void();
25323 return resultobj;
25324fail:
25325 return NULL;
25326}
25327
25328
25329SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25330 PyObject *resultobj = 0;
25331 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25332 wxPoint *arg2 = 0 ;
25333 void *argp1 = 0 ;
25334 int res1 = 0 ;
25335 wxPoint temp2 ;
25336 PyObject * obj0 = 0 ;
25337 PyObject * obj1 = 0 ;
25338 char * kwnames[] = {
25339 (char *) "self",(char *) "pt", NULL
25340 };
25341
25342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25344 if (!SWIG_IsOK(res1)) {
25345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25346 }
25347 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25348 {
25349 arg2 = &temp2;
25350 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25351 }
25352 {
25353 PyThreadState* __tstate = wxPyBeginAllowThreads();
25354 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25355 wxPyEndAllowThreads(__tstate);
25356 if (PyErr_Occurred()) SWIG_fail;
25357 }
25358 resultobj = SWIG_Py_Void();
25359 return resultobj;
25360fail:
25361 return NULL;
25362}
25363
25364
25365SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25366 PyObject *resultobj = 0;
25367 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25368 wxPoint *arg2 = 0 ;
25369 void *argp1 = 0 ;
25370 int res1 = 0 ;
25371 wxPoint temp2 ;
25372 PyObject * obj0 = 0 ;
25373 PyObject * obj1 = 0 ;
25374 char * kwnames[] = {
25375 (char *) "self",(char *) "pt", NULL
25376 };
25377
25378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25380 if (!SWIG_IsOK(res1)) {
25381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25382 }
25383 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25384 {
25385 arg2 = &temp2;
25386 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25387 }
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 resultobj = SWIG_Py_Void();
25395 return resultobj;
25396fail:
25397 return NULL;
25398}
25399
25400
25401SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25402 PyObject *resultobj = 0;
25403 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25404 wxPaperSize arg2 ;
25405 void *argp1 = 0 ;
25406 int res1 = 0 ;
25407 int val2 ;
25408 int ecode2 = 0 ;
25409 PyObject * obj0 = 0 ;
25410 PyObject * obj1 = 0 ;
25411 char * kwnames[] = {
25412 (char *) "self",(char *) "id", NULL
25413 };
25414
25415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25417 if (!SWIG_IsOK(res1)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25419 }
25420 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25421 ecode2 = SWIG_AsVal_int(obj1, &val2);
25422 if (!SWIG_IsOK(ecode2)) {
25423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25424 }
25425 arg2 = static_cast< wxPaperSize >(val2);
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 (arg1)->SetPaperId(arg2);
25429 wxPyEndAllowThreads(__tstate);
25430 if (PyErr_Occurred()) SWIG_fail;
25431 }
25432 resultobj = SWIG_Py_Void();
25433 return resultobj;
25434fail:
25435 return NULL;
25436}
25437
25438
25439SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25440 PyObject *resultobj = 0;
25441 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25442 wxSize *arg2 = 0 ;
25443 void *argp1 = 0 ;
25444 int res1 = 0 ;
25445 wxSize temp2 ;
25446 PyObject * obj0 = 0 ;
25447 PyObject * obj1 = 0 ;
25448 char * kwnames[] = {
25449 (char *) "self",(char *) "size", NULL
25450 };
25451
25452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25454 if (!SWIG_IsOK(res1)) {
25455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25456 }
25457 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25458 {
25459 arg2 = &temp2;
25460 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25461 }
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 (arg1)->SetPaperSize((wxSize const &)*arg2);
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 resultobj = SWIG_Py_Void();
25469 return resultobj;
25470fail:
25471 return NULL;
25472}
25473
25474
25475SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25476 PyObject *resultobj = 0;
25477 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25478 wxPrintData *arg2 = 0 ;
25479 void *argp1 = 0 ;
25480 int res1 = 0 ;
25481 void *argp2 = 0 ;
25482 int res2 = 0 ;
25483 PyObject * obj0 = 0 ;
25484 PyObject * obj1 = 0 ;
25485 char * kwnames[] = {
25486 (char *) "self",(char *) "printData", NULL
25487 };
25488
25489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25491 if (!SWIG_IsOK(res1)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25493 }
25494 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25495 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25496 if (!SWIG_IsOK(res2)) {
25497 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25498 }
25499 if (!argp2) {
25500 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25501 }
25502 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25506 wxPyEndAllowThreads(__tstate);
25507 if (PyErr_Occurred()) SWIG_fail;
25508 }
25509 resultobj = SWIG_Py_Void();
25510 return resultobj;
25511fail:
25512 return NULL;
d14a1e28
RD
25513}
25514
25515
0085ce49
RD
25516SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25517 PyObject *resultobj = 0;
25518 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25519 void *argp1 = 0 ;
25520 int res1 = 0 ;
25521 PyObject *swig_obj[1] ;
25522
25523 if (!args) SWIG_fail;
25524 swig_obj[0] = args;
25525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25526 if (!SWIG_IsOK(res1)) {
25527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25528 }
25529 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25530 {
25531 PyThreadState* __tstate = wxPyBeginAllowThreads();
25532 (arg1)->CalculateIdFromPaperSize();
25533 wxPyEndAllowThreads(__tstate);
25534 if (PyErr_Occurred()) SWIG_fail;
25535 }
25536 resultobj = SWIG_Py_Void();
25537 return resultobj;
25538fail:
25539 return NULL;
32fe5131
RD
25540}
25541
25542
0085ce49
RD
25543SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25544 PyObject *resultobj = 0;
25545 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25546 void *argp1 = 0 ;
25547 int res1 = 0 ;
25548 PyObject *swig_obj[1] ;
25549
25550 if (!args) SWIG_fail;
25551 swig_obj[0] = args;
25552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25553 if (!SWIG_IsOK(res1)) {
25554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25555 }
25556 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25557 {
25558 PyThreadState* __tstate = wxPyBeginAllowThreads();
25559 (arg1)->CalculatePaperSizeFromId();
25560 wxPyEndAllowThreads(__tstate);
25561 if (PyErr_Occurred()) SWIG_fail;
25562 }
25563 resultobj = SWIG_Py_Void();
25564 return resultobj;
25565fail:
25566 return NULL;
d14a1e28
RD
25567}
25568
25569
0085ce49
RD
25570SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25571 PyObject *obj;
25572 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25573 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25574 return SWIG_Py_Void();
d14a1e28
RD
25575}
25576
0085ce49
RD
25577SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25578 return SWIG_Python_InitShadowInstance(args);
25579}
d14a1e28 25580
0085ce49
RD
25581SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25582 PyObject *resultobj = 0;
25583 wxWindow *arg1 = (wxWindow *) 0 ;
25584 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25585 wxPageSetupDialog *result = 0 ;
25586 void *argp1 = 0 ;
25587 int res1 = 0 ;
25588 void *argp2 = 0 ;
25589 int res2 = 0 ;
25590 PyObject * obj0 = 0 ;
25591 PyObject * obj1 = 0 ;
25592 char * kwnames[] = {
25593 (char *) "parent",(char *) "data", NULL
25594 };
25595
25596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25598 if (!SWIG_IsOK(res1)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25600 }
25601 arg1 = reinterpret_cast< wxWindow * >(argp1);
25602 if (obj1) {
25603 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25604 if (!SWIG_IsOK(res2)) {
25605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
d14a1e28 25606 }
0085ce49
RD
25607 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25608 }
25609 {
25610 if (!wxPyCheckForApp()) SWIG_fail;
25611 PyThreadState* __tstate = wxPyBeginAllowThreads();
25612 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25613 wxPyEndAllowThreads(__tstate);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25617 return resultobj;
25618fail:
25619 return NULL;
d14a1e28
RD
25620}
25621
25622
f05326ba
RD
25623SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25624 PyObject *resultobj = 0;
25625 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25626 void *argp1 = 0 ;
25627 int res1 = 0 ;
25628 PyObject *swig_obj[1] ;
25629
25630 if (!args) SWIG_fail;
25631 swig_obj[0] = args;
25632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25633 if (!SWIG_IsOK(res1)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25635 }
25636 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25637 {
25638 PyThreadState* __tstate = wxPyBeginAllowThreads();
25639 delete arg1;
25640
25641 wxPyEndAllowThreads(__tstate);
25642 if (PyErr_Occurred()) SWIG_fail;
25643 }
25644 resultobj = SWIG_Py_Void();
25645 return resultobj;
25646fail:
25647 return NULL;
25648}
25649
25650
0085ce49
RD
25651SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25652 PyObject *resultobj = 0;
25653 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25654 wxPageSetupDialogData *result = 0 ;
25655 void *argp1 = 0 ;
25656 int res1 = 0 ;
25657 PyObject *swig_obj[1] ;
25658
25659 if (!args) SWIG_fail;
25660 swig_obj[0] = args;
25661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25662 if (!SWIG_IsOK(res1)) {
25663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25664 }
25665 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 25668 {
0085ce49
RD
25669 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25670 result = (wxPageSetupDialogData *) &_result_ref;
d14a1e28 25671 }
0085ce49
RD
25672 wxPyEndAllowThreads(__tstate);
25673 if (PyErr_Occurred()) SWIG_fail;
25674 }
25675 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25676 return resultobj;
25677fail:
25678 return NULL;
25679}
25680
25681
25682SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25683 PyObject *resultobj = 0;
25684 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25685 wxPageSetupDialogData *result = 0 ;
25686 void *argp1 = 0 ;
25687 int res1 = 0 ;
25688 PyObject *swig_obj[1] ;
25689
25690 if (!args) SWIG_fail;
25691 swig_obj[0] = args;
25692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25693 if (!SWIG_IsOK(res1)) {
25694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25695 }
25696 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 25699 {
0085ce49
RD
25700 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25701 result = (wxPageSetupDialogData *) &_result_ref;
d14a1e28 25702 }
0085ce49
RD
25703 wxPyEndAllowThreads(__tstate);
25704 if (PyErr_Occurred()) SWIG_fail;
25705 }
25706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25707 return resultobj;
25708fail:
25709 return NULL;
d14a1e28
RD
25710}
25711
25712
0085ce49
RD
25713SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25714 PyObject *resultobj = 0;
25715 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25716 int result;
25717 void *argp1 = 0 ;
25718 int res1 = 0 ;
25719 PyObject *swig_obj[1] ;
25720
25721 if (!args) SWIG_fail;
25722 swig_obj[0] = args;
25723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25724 if (!SWIG_IsOK(res1)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25726 }
25727 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 result = (int)(arg1)->ShowModal();
25731 wxPyEndAllowThreads(__tstate);
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
25734 resultobj = SWIG_From_int(static_cast< int >(result));
25735 return resultobj;
25736fail:
25737 return NULL;
d14a1e28
RD
25738}
25739
25740
0085ce49
RD
25741SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25742 PyObject *obj;
25743 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25744 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25745 return SWIG_Py_Void();
d14a1e28
RD
25746}
25747
0085ce49
RD
25748SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25749 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
25750}
25751
0085ce49
RD
25752SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25753 PyObject *resultobj = 0;
25754 wxPrintDialogData *result = 0 ;
25755
25756 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25757 {
25758 PyThreadState* __tstate = wxPyBeginAllowThreads();
25759 result = (wxPrintDialogData *)new wxPrintDialogData();
25760 wxPyEndAllowThreads(__tstate);
25761 if (PyErr_Occurred()) SWIG_fail;
25762 }
25763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25764 return resultobj;
25765fail:
25766 return NULL;
d14a1e28
RD
25767}
25768
25769
0085ce49
RD
25770SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25771 PyObject *resultobj = 0;
25772 wxPrintData *arg1 = 0 ;
25773 wxPrintDialogData *result = 0 ;
25774 void *argp1 = 0 ;
25775 int res1 = 0 ;
25776
25777 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25779 if (!SWIG_IsOK(res1)) {
25780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25781 }
25782 if (!argp1) {
25783 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25784 }
25785 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25786 {
25787 PyThreadState* __tstate = wxPyBeginAllowThreads();
25788 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25793 return resultobj;
25794fail:
25795 return NULL;
d14a1e28
RD
25796}
25797
25798
0085ce49
RD
25799SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25800 PyObject *resultobj = 0;
25801 wxPrintDialogData *arg1 = 0 ;
25802 wxPrintDialogData *result = 0 ;
25803 void *argp1 = 0 ;
25804 int res1 = 0 ;
25805
25806 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25808 if (!SWIG_IsOK(res1)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25810 }
25811 if (!argp1) {
25812 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25813 }
25814 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25815 {
25816 PyThreadState* __tstate = wxPyBeginAllowThreads();
25817 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25818 wxPyEndAllowThreads(__tstate);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 }
25821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25822 return resultobj;
25823fail:
25824 return NULL;
d14a1e28
RD
25825}
25826
25827
0085ce49
RD
25828SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25829 int argc;
25830 PyObject *argv[2];
25831
25832 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25833 --argc;
25834 if (argc == 0) {
25835 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25836 }
25837 if (argc == 1) {
25838 int _v = 0;
093d3ff1 25839 {
0085ce49
RD
25840 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25841 _v = SWIG_CheckState(res);
093d3ff1 25842 }
0085ce49
RD
25843 if (!_v) goto check_2;
25844 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25845 }
25846check_2:
25847
25848 if (argc == 1) {
25849 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25850 }
25851
25852fail:
25853 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25854 return NULL;
d14a1e28
RD
25855}
25856
25857
0085ce49
RD
25858SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25859 PyObject *resultobj = 0;
25860 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25861 void *argp1 = 0 ;
25862 int res1 = 0 ;
25863 PyObject *swig_obj[1] ;
25864
25865 if (!args) SWIG_fail;
25866 swig_obj[0] = args;
25867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25868 if (!SWIG_IsOK(res1)) {
25869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25870 }
25871 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25872 {
25873 PyThreadState* __tstate = wxPyBeginAllowThreads();
25874 delete arg1;
d14a1e28 25875
0085ce49
RD
25876 wxPyEndAllowThreads(__tstate);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 }
25879 resultobj = SWIG_Py_Void();
25880 return resultobj;
25881fail:
25882 return NULL;
d14a1e28
RD
25883}
25884
25885
0085ce49
RD
25886SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25887 PyObject *resultobj = 0;
25888 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25889 int result;
25890 void *argp1 = 0 ;
25891 int res1 = 0 ;
25892 PyObject *swig_obj[1] ;
25893
25894 if (!args) SWIG_fail;
25895 swig_obj[0] = args;
25896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25897 if (!SWIG_IsOK(res1)) {
25898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25899 }
25900 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25901 {
25902 PyThreadState* __tstate = wxPyBeginAllowThreads();
25903 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25904 wxPyEndAllowThreads(__tstate);
25905 if (PyErr_Occurred()) SWIG_fail;
25906 }
25907 resultobj = SWIG_From_int(static_cast< int >(result));
25908 return resultobj;
25909fail:
25910 return NULL;
d14a1e28
RD
25911}
25912
25913
0085ce49
RD
25914SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25915 PyObject *resultobj = 0;
25916 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25917 int result;
25918 void *argp1 = 0 ;
25919 int res1 = 0 ;
25920 PyObject *swig_obj[1] ;
25921
25922 if (!args) SWIG_fail;
25923 swig_obj[0] = args;
25924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25925 if (!SWIG_IsOK(res1)) {
25926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25927 }
25928 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25929 {
25930 PyThreadState* __tstate = wxPyBeginAllowThreads();
25931 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 resultobj = SWIG_From_int(static_cast< int >(result));
25936 return resultobj;
25937fail:
25938 return NULL;
d14a1e28 25939}
0085ce49
RD
25940
25941
25942SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25943 PyObject *resultobj = 0;
25944 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25945 int result;
25946 void *argp1 = 0 ;
25947 int res1 = 0 ;
25948 PyObject *swig_obj[1] ;
25949
25950 if (!args) SWIG_fail;
25951 swig_obj[0] = args;
25952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25953 if (!SWIG_IsOK(res1)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25955 }
25956 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25957 {
25958 PyThreadState* __tstate = wxPyBeginAllowThreads();
25959 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25960 wxPyEndAllowThreads(__tstate);
25961 if (PyErr_Occurred()) SWIG_fail;
25962 }
25963 resultobj = SWIG_From_int(static_cast< int >(result));
25964 return resultobj;
25965fail:
25966 return NULL;
d14a1e28
RD
25967}
25968
25969
0085ce49
RD
25970SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25971 PyObject *resultobj = 0;
25972 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25973 int result;
25974 void *argp1 = 0 ;
25975 int res1 = 0 ;
25976 PyObject *swig_obj[1] ;
25977
25978 if (!args) SWIG_fail;
25979 swig_obj[0] = args;
25980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25981 if (!SWIG_IsOK(res1)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25983 }
25984 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25985 {
25986 PyThreadState* __tstate = wxPyBeginAllowThreads();
25987 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25988 wxPyEndAllowThreads(__tstate);
25989 if (PyErr_Occurred()) SWIG_fail;
25990 }
25991 resultobj = SWIG_From_int(static_cast< int >(result));
25992 return resultobj;
25993fail:
25994 return NULL;
d14a1e28
RD
25995}
25996
25997
0085ce49
RD
25998SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25999 PyObject *resultobj = 0;
26000 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26001 int result;
26002 void *argp1 = 0 ;
26003 int res1 = 0 ;
26004 PyObject *swig_obj[1] ;
26005
26006 if (!args) SWIG_fail;
26007 swig_obj[0] = args;
26008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26009 if (!SWIG_IsOK(res1)) {
26010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26011 }
26012 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26013 {
26014 PyThreadState* __tstate = wxPyBeginAllowThreads();
26015 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26016 wxPyEndAllowThreads(__tstate);
26017 if (PyErr_Occurred()) SWIG_fail;
26018 }
26019 resultobj = SWIG_From_int(static_cast< int >(result));
26020 return resultobj;
26021fail:
26022 return NULL;
d14a1e28
RD
26023}
26024
26025
0085ce49
RD
26026SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26027 PyObject *resultobj = 0;
26028 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26029 bool result;
26030 void *argp1 = 0 ;
26031 int res1 = 0 ;
26032 PyObject *swig_obj[1] ;
26033
26034 if (!args) SWIG_fail;
26035 swig_obj[0] = args;
26036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26037 if (!SWIG_IsOK(res1)) {
26038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26039 }
26040 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26041 {
26042 PyThreadState* __tstate = wxPyBeginAllowThreads();
26043 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26044 wxPyEndAllowThreads(__tstate);
26045 if (PyErr_Occurred()) SWIG_fail;
26046 }
26047 {
26048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26049 }
26050 return resultobj;
26051fail:
26052 return NULL;
d14a1e28
RD
26053}
26054
26055
0085ce49
RD
26056SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26057 PyObject *resultobj = 0;
26058 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26059 bool result;
26060 void *argp1 = 0 ;
26061 int res1 = 0 ;
26062 PyObject *swig_obj[1] ;
26063
26064 if (!args) SWIG_fail;
26065 swig_obj[0] = args;
26066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26067 if (!SWIG_IsOK(res1)) {
26068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26069 }
26070 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26071 {
26072 PyThreadState* __tstate = wxPyBeginAllowThreads();
26073 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 {
26078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26079 }
26080 return resultobj;
26081fail:
26082 return NULL;
d14a1e28
RD
26083}
26084
26085
0085ce49
RD
26086SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26087 PyObject *resultobj = 0;
26088 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26089 bool result;
26090 void *argp1 = 0 ;
26091 int res1 = 0 ;
26092 PyObject *swig_obj[1] ;
26093
26094 if (!args) SWIG_fail;
26095 swig_obj[0] = args;
26096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26097 if (!SWIG_IsOK(res1)) {
26098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26099 }
26100 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26101 {
26102 PyThreadState* __tstate = wxPyBeginAllowThreads();
26103 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26104 wxPyEndAllowThreads(__tstate);
26105 if (PyErr_Occurred()) SWIG_fail;
26106 }
26107 {
26108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26109 }
26110 return resultobj;
26111fail:
26112 return NULL;
d14a1e28
RD
26113}
26114
26115
0085ce49
RD
26116SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26117 PyObject *resultobj = 0;
26118 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26119 bool result;
26120 void *argp1 = 0 ;
26121 int res1 = 0 ;
26122 PyObject *swig_obj[1] ;
26123
26124 if (!args) SWIG_fail;
26125 swig_obj[0] = args;
26126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26127 if (!SWIG_IsOK(res1)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26129 }
26130 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26131 {
26132 PyThreadState* __tstate = wxPyBeginAllowThreads();
26133 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 {
26138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26139 }
26140 return resultobj;
26141fail:
26142 return NULL;
26143}
26144
26145
26146SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26147 PyObject *resultobj = 0;
26148 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26149 int arg2 ;
26150 void *argp1 = 0 ;
26151 int res1 = 0 ;
26152 int val2 ;
26153 int ecode2 = 0 ;
26154 PyObject * obj0 = 0 ;
26155 PyObject * obj1 = 0 ;
26156 char * kwnames[] = {
26157 (char *) "self",(char *) "v", NULL
26158 };
26159
26160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26162 if (!SWIG_IsOK(res1)) {
26163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26164 }
26165 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26166 ecode2 = SWIG_AsVal_int(obj1, &val2);
26167 if (!SWIG_IsOK(ecode2)) {
26168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26169 }
26170 arg2 = static_cast< int >(val2);
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 (arg1)->SetFromPage(arg2);
26174 wxPyEndAllowThreads(__tstate);
26175 if (PyErr_Occurred()) SWIG_fail;
26176 }
26177 resultobj = SWIG_Py_Void();
26178 return resultobj;
26179fail:
26180 return NULL;
26181}
26182
26183
26184SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26185 PyObject *resultobj = 0;
26186 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26187 int arg2 ;
26188 void *argp1 = 0 ;
26189 int res1 = 0 ;
26190 int val2 ;
26191 int ecode2 = 0 ;
26192 PyObject * obj0 = 0 ;
26193 PyObject * obj1 = 0 ;
26194 char * kwnames[] = {
26195 (char *) "self",(char *) "v", NULL
26196 };
26197
26198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26200 if (!SWIG_IsOK(res1)) {
26201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26202 }
26203 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26204 ecode2 = SWIG_AsVal_int(obj1, &val2);
26205 if (!SWIG_IsOK(ecode2)) {
26206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26207 }
26208 arg2 = static_cast< int >(val2);
26209 {
26210 PyThreadState* __tstate = wxPyBeginAllowThreads();
26211 (arg1)->SetToPage(arg2);
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 resultobj = SWIG_Py_Void();
26216 return resultobj;
26217fail:
26218 return NULL;
26219}
26220
26221
26222SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26223 PyObject *resultobj = 0;
26224 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26225 int arg2 ;
26226 void *argp1 = 0 ;
26227 int res1 = 0 ;
26228 int val2 ;
26229 int ecode2 = 0 ;
26230 PyObject * obj0 = 0 ;
26231 PyObject * obj1 = 0 ;
26232 char * kwnames[] = {
26233 (char *) "self",(char *) "v", NULL
26234 };
26235
26236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26238 if (!SWIG_IsOK(res1)) {
26239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26240 }
26241 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26242 ecode2 = SWIG_AsVal_int(obj1, &val2);
26243 if (!SWIG_IsOK(ecode2)) {
26244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26245 }
26246 arg2 = static_cast< int >(val2);
26247 {
26248 PyThreadState* __tstate = wxPyBeginAllowThreads();
26249 (arg1)->SetMinPage(arg2);
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 resultobj = SWIG_Py_Void();
26254 return resultobj;
26255fail:
26256 return NULL;
26257}
26258
26259
26260SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26261 PyObject *resultobj = 0;
26262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26263 int arg2 ;
26264 void *argp1 = 0 ;
26265 int res1 = 0 ;
26266 int val2 ;
26267 int ecode2 = 0 ;
26268 PyObject * obj0 = 0 ;
26269 PyObject * obj1 = 0 ;
26270 char * kwnames[] = {
26271 (char *) "self",(char *) "v", NULL
26272 };
26273
26274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26276 if (!SWIG_IsOK(res1)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26278 }
26279 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26280 ecode2 = SWIG_AsVal_int(obj1, &val2);
26281 if (!SWIG_IsOK(ecode2)) {
26282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26283 }
26284 arg2 = static_cast< int >(val2);
26285 {
26286 PyThreadState* __tstate = wxPyBeginAllowThreads();
26287 (arg1)->SetMaxPage(arg2);
26288 wxPyEndAllowThreads(__tstate);
26289 if (PyErr_Occurred()) SWIG_fail;
26290 }
26291 resultobj = SWIG_Py_Void();
26292 return resultobj;
26293fail:
26294 return NULL;
26295}
26296
26297
26298SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26299 PyObject *resultobj = 0;
26300 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26301 int arg2 ;
26302 void *argp1 = 0 ;
26303 int res1 = 0 ;
26304 int val2 ;
26305 int ecode2 = 0 ;
26306 PyObject * obj0 = 0 ;
26307 PyObject * obj1 = 0 ;
26308 char * kwnames[] = {
26309 (char *) "self",(char *) "v", NULL
26310 };
26311
26312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26314 if (!SWIG_IsOK(res1)) {
26315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26316 }
26317 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26318 ecode2 = SWIG_AsVal_int(obj1, &val2);
26319 if (!SWIG_IsOK(ecode2)) {
26320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26321 }
26322 arg2 = static_cast< int >(val2);
26323 {
26324 PyThreadState* __tstate = wxPyBeginAllowThreads();
26325 (arg1)->SetNoCopies(arg2);
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
26329 resultobj = SWIG_Py_Void();
26330 return resultobj;
26331fail:
26332 return NULL;
26333}
26334
26335
26336SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj = 0;
26338 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26339 bool arg2 ;
26340 void *argp1 = 0 ;
26341 int res1 = 0 ;
26342 bool val2 ;
26343 int ecode2 = 0 ;
26344 PyObject * obj0 = 0 ;
26345 PyObject * obj1 = 0 ;
26346 char * kwnames[] = {
26347 (char *) "self",(char *) "flag", NULL
26348 };
26349
26350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26352 if (!SWIG_IsOK(res1)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26354 }
26355 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26356 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26357 if (!SWIG_IsOK(ecode2)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26359 }
26360 arg2 = static_cast< bool >(val2);
26361 {
26362 PyThreadState* __tstate = wxPyBeginAllowThreads();
26363 (arg1)->SetAllPages(arg2);
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 resultobj = SWIG_Py_Void();
26368 return resultobj;
26369fail:
26370 return NULL;
26371}
26372
26373
26374SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26375 PyObject *resultobj = 0;
26376 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26377 bool arg2 ;
26378 void *argp1 = 0 ;
26379 int res1 = 0 ;
26380 bool val2 ;
26381 int ecode2 = 0 ;
26382 PyObject * obj0 = 0 ;
26383 PyObject * obj1 = 0 ;
26384 char * kwnames[] = {
26385 (char *) "self",(char *) "flag", NULL
26386 };
26387
26388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26390 if (!SWIG_IsOK(res1)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26392 }
26393 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26394 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26395 if (!SWIG_IsOK(ecode2)) {
26396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26397 }
26398 arg2 = static_cast< bool >(val2);
26399 {
26400 PyThreadState* __tstate = wxPyBeginAllowThreads();
26401 (arg1)->SetSelection(arg2);
26402 wxPyEndAllowThreads(__tstate);
26403 if (PyErr_Occurred()) SWIG_fail;
26404 }
26405 resultobj = SWIG_Py_Void();
26406 return resultobj;
26407fail:
26408 return NULL;
26409}
26410
26411
26412SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26413 PyObject *resultobj = 0;
26414 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26415 bool arg2 ;
26416 void *argp1 = 0 ;
26417 int res1 = 0 ;
26418 bool val2 ;
26419 int ecode2 = 0 ;
26420 PyObject * obj0 = 0 ;
26421 PyObject * obj1 = 0 ;
26422 char * kwnames[] = {
26423 (char *) "self",(char *) "flag", NULL
26424 };
26425
26426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26428 if (!SWIG_IsOK(res1)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26430 }
26431 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26432 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26433 if (!SWIG_IsOK(ecode2)) {
26434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26435 }
26436 arg2 = static_cast< bool >(val2);
26437 {
26438 PyThreadState* __tstate = wxPyBeginAllowThreads();
26439 (arg1)->SetCollate(arg2);
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
26443 resultobj = SWIG_Py_Void();
26444 return resultobj;
26445fail:
26446 return NULL;
26447}
26448
26449
26450SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26451 PyObject *resultobj = 0;
26452 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26453 bool arg2 ;
26454 void *argp1 = 0 ;
26455 int res1 = 0 ;
26456 bool val2 ;
26457 int ecode2 = 0 ;
26458 PyObject * obj0 = 0 ;
26459 PyObject * obj1 = 0 ;
26460 char * kwnames[] = {
26461 (char *) "self",(char *) "flag", NULL
26462 };
26463
26464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26466 if (!SWIG_IsOK(res1)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26468 }
26469 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26470 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26471 if (!SWIG_IsOK(ecode2)) {
26472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26473 }
26474 arg2 = static_cast< bool >(val2);
26475 {
26476 PyThreadState* __tstate = wxPyBeginAllowThreads();
26477 (arg1)->SetPrintToFile(arg2);
26478 wxPyEndAllowThreads(__tstate);
26479 if (PyErr_Occurred()) SWIG_fail;
26480 }
26481 resultobj = SWIG_Py_Void();
26482 return resultobj;
26483fail:
26484 return NULL;
26485}
26486
26487
26488SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26489 PyObject *resultobj = 0;
26490 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26491 bool arg2 ;
26492 void *argp1 = 0 ;
26493 int res1 = 0 ;
26494 bool val2 ;
26495 int ecode2 = 0 ;
26496 PyObject * obj0 = 0 ;
26497 PyObject * obj1 = 0 ;
26498 char * kwnames[] = {
26499 (char *) "self",(char *) "flag", NULL
26500 };
26501
26502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26504 if (!SWIG_IsOK(res1)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26506 }
26507 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26508 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26509 if (!SWIG_IsOK(ecode2)) {
26510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26511 }
26512 arg2 = static_cast< bool >(val2);
26513 {
26514 PyThreadState* __tstate = wxPyBeginAllowThreads();
26515 (arg1)->EnablePrintToFile(arg2);
26516 wxPyEndAllowThreads(__tstate);
26517 if (PyErr_Occurred()) SWIG_fail;
26518 }
26519 resultobj = SWIG_Py_Void();
26520 return resultobj;
26521fail:
26522 return NULL;
26523}
26524
26525
26526SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26527 PyObject *resultobj = 0;
26528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26529 bool arg2 ;
26530 void *argp1 = 0 ;
26531 int res1 = 0 ;
26532 bool val2 ;
26533 int ecode2 = 0 ;
26534 PyObject * obj0 = 0 ;
26535 PyObject * obj1 = 0 ;
26536 char * kwnames[] = {
26537 (char *) "self",(char *) "flag", NULL
26538 };
26539
26540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26542 if (!SWIG_IsOK(res1)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26544 }
26545 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26546 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26547 if (!SWIG_IsOK(ecode2)) {
26548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26549 }
26550 arg2 = static_cast< bool >(val2);
26551 {
26552 PyThreadState* __tstate = wxPyBeginAllowThreads();
26553 (arg1)->EnableSelection(arg2);
26554 wxPyEndAllowThreads(__tstate);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 }
26557 resultobj = SWIG_Py_Void();
26558 return resultobj;
26559fail:
26560 return NULL;
26561}
26562
26563
26564SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26565 PyObject *resultobj = 0;
26566 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26567 bool arg2 ;
26568 void *argp1 = 0 ;
26569 int res1 = 0 ;
26570 bool val2 ;
26571 int ecode2 = 0 ;
26572 PyObject * obj0 = 0 ;
26573 PyObject * obj1 = 0 ;
26574 char * kwnames[] = {
26575 (char *) "self",(char *) "flag", NULL
26576 };
26577
26578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26580 if (!SWIG_IsOK(res1)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26582 }
26583 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26584 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26585 if (!SWIG_IsOK(ecode2)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26587 }
26588 arg2 = static_cast< bool >(val2);
26589 {
26590 PyThreadState* __tstate = wxPyBeginAllowThreads();
26591 (arg1)->EnablePageNumbers(arg2);
26592 wxPyEndAllowThreads(__tstate);
26593 if (PyErr_Occurred()) SWIG_fail;
26594 }
26595 resultobj = SWIG_Py_Void();
26596 return resultobj;
26597fail:
26598 return NULL;
26599}
26600
26601
26602SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26603 PyObject *resultobj = 0;
26604 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26605 bool arg2 ;
26606 void *argp1 = 0 ;
26607 int res1 = 0 ;
26608 bool val2 ;
26609 int ecode2 = 0 ;
26610 PyObject * obj0 = 0 ;
26611 PyObject * obj1 = 0 ;
26612 char * kwnames[] = {
26613 (char *) "self",(char *) "flag", NULL
26614 };
26615
26616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26618 if (!SWIG_IsOK(res1)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26620 }
26621 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26622 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26623 if (!SWIG_IsOK(ecode2)) {
26624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26625 }
26626 arg2 = static_cast< bool >(val2);
26627 {
26628 PyThreadState* __tstate = wxPyBeginAllowThreads();
26629 (arg1)->EnableHelp(arg2);
26630 wxPyEndAllowThreads(__tstate);
26631 if (PyErr_Occurred()) SWIG_fail;
26632 }
26633 resultobj = SWIG_Py_Void();
26634 return resultobj;
26635fail:
26636 return NULL;
d14a1e28
RD
26637}
26638
26639
0085ce49
RD
26640SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26641 PyObject *resultobj = 0;
26642 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26643 bool result;
26644 void *argp1 = 0 ;
26645 int res1 = 0 ;
26646 PyObject *swig_obj[1] ;
26647
26648 if (!args) SWIG_fail;
26649 swig_obj[0] = args;
26650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26651 if (!SWIG_IsOK(res1)) {
26652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26653 }
26654 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26655 {
26656 PyThreadState* __tstate = wxPyBeginAllowThreads();
26657 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26658 wxPyEndAllowThreads(__tstate);
26659 if (PyErr_Occurred()) SWIG_fail;
26660 }
26661 {
26662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26663 }
26664 return resultobj;
26665fail:
26666 return NULL;
d14a1e28
RD
26667}
26668
26669
0085ce49
RD
26670SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26671 PyObject *resultobj = 0;
26672 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26673 bool result;
26674 void *argp1 = 0 ;
26675 int res1 = 0 ;
26676 PyObject *swig_obj[1] ;
26677
26678 if (!args) SWIG_fail;
26679 swig_obj[0] = args;
26680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26681 if (!SWIG_IsOK(res1)) {
26682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26683 }
26684 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26688 wxPyEndAllowThreads(__tstate);
26689 if (PyErr_Occurred()) SWIG_fail;
26690 }
26691 {
26692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26693 }
26694 return resultobj;
26695fail:
26696 return NULL;
d14a1e28
RD
26697}
26698
26699
0085ce49
RD
26700SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26701 PyObject *resultobj = 0;
26702 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26703 bool result;
26704 void *argp1 = 0 ;
26705 int res1 = 0 ;
26706 PyObject *swig_obj[1] ;
26707
26708 if (!args) SWIG_fail;
26709 swig_obj[0] = args;
26710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26711 if (!SWIG_IsOK(res1)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26713 }
26714 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26715 {
26716 PyThreadState* __tstate = wxPyBeginAllowThreads();
26717 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26718 wxPyEndAllowThreads(__tstate);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 }
26721 {
26722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26723 }
26724 return resultobj;
26725fail:
26726 return NULL;
d14a1e28
RD
26727}
26728
26729
0085ce49
RD
26730SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26731 PyObject *resultobj = 0;
26732 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26733 bool result;
26734 void *argp1 = 0 ;
26735 int res1 = 0 ;
26736 PyObject *swig_obj[1] ;
26737
26738 if (!args) SWIG_fail;
26739 swig_obj[0] = args;
26740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26741 if (!SWIG_IsOK(res1)) {
26742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26743 }
26744 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26745 {
26746 PyThreadState* __tstate = wxPyBeginAllowThreads();
26747 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26748 wxPyEndAllowThreads(__tstate);
26749 if (PyErr_Occurred()) SWIG_fail;
26750 }
26751 {
26752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26753 }
26754 return resultobj;
26755fail:
26756 return NULL;
d14a1e28
RD
26757}
26758
26759
0085ce49
RD
26760SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26761 PyObject *resultobj = 0;
26762 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26763 bool result;
26764 void *argp1 = 0 ;
26765 int res1 = 0 ;
26766 PyObject *swig_obj[1] ;
26767
26768 if (!args) SWIG_fail;
26769 swig_obj[0] = args;
26770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26771 if (!SWIG_IsOK(res1)) {
26772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26773 }
26774 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26775 {
26776 PyThreadState* __tstate = wxPyBeginAllowThreads();
26777 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26778 wxPyEndAllowThreads(__tstate);
26779 if (PyErr_Occurred()) SWIG_fail;
26780 }
26781 {
26782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26783 }
26784 return resultobj;
26785fail:
26786 return NULL;
d14a1e28
RD
26787}
26788
26789
0085ce49
RD
26790SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26791 PyObject *resultobj = 0;
26792 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26793 wxPrintData *result = 0 ;
26794 void *argp1 = 0 ;
26795 int res1 = 0 ;
26796 PyObject *swig_obj[1] ;
26797
26798 if (!args) SWIG_fail;
26799 swig_obj[0] = args;
26800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26801 if (!SWIG_IsOK(res1)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26803 }
26804 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26805 {
26806 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 26807 {
0085ce49
RD
26808 wxPrintData &_result_ref = (arg1)->GetPrintData();
26809 result = (wxPrintData *) &_result_ref;
d14a1e28 26810 }
0085ce49
RD
26811 wxPyEndAllowThreads(__tstate);
26812 if (PyErr_Occurred()) SWIG_fail;
26813 }
26814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26815 return resultobj;
26816fail:
26817 return NULL;
26818}
26819
26820
26821SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26822 PyObject *resultobj = 0;
26823 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26824 wxPrintData *arg2 = 0 ;
26825 void *argp1 = 0 ;
26826 int res1 = 0 ;
26827 void *argp2 = 0 ;
26828 int res2 = 0 ;
26829 PyObject * obj0 = 0 ;
26830 PyObject * obj1 = 0 ;
26831 char * kwnames[] = {
26832 (char *) "self",(char *) "printData", NULL
26833 };
26834
26835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26837 if (!SWIG_IsOK(res1)) {
26838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26839 }
26840 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26841 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26842 if (!SWIG_IsOK(res2)) {
26843 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26844 }
26845 if (!argp2) {
26846 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26847 }
26848 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26849 {
26850 PyThreadState* __tstate = wxPyBeginAllowThreads();
26851 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
26855 resultobj = SWIG_Py_Void();
26856 return resultobj;
26857fail:
26858 return NULL;
d14a1e28
RD
26859}
26860
26861
0085ce49
RD
26862SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26863 PyObject *obj;
26864 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26865 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26866 return SWIG_Py_Void();
d14a1e28
RD
26867}
26868
0085ce49
RD
26869SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26870 return SWIG_Python_InitShadowInstance(args);
26871}
d14a1e28 26872
0085ce49
RD
26873SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26874 PyObject *resultobj = 0;
26875 wxWindow *arg1 = (wxWindow *) 0 ;
26876 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26877 wxPrintDialog *result = 0 ;
26878 void *argp1 = 0 ;
26879 int res1 = 0 ;
26880 void *argp2 = 0 ;
26881 int res2 = 0 ;
26882 PyObject * obj0 = 0 ;
26883 PyObject * obj1 = 0 ;
26884 char * kwnames[] = {
26885 (char *) "parent",(char *) "data", NULL
26886 };
26887
26888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26890 if (!SWIG_IsOK(res1)) {
26891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26892 }
26893 arg1 = reinterpret_cast< wxWindow * >(argp1);
26894 if (obj1) {
26895 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26896 if (!SWIG_IsOK(res2)) {
26897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d14a1e28 26898 }
0085ce49
RD
26899 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26900 }
26901 {
26902 if (!wxPyCheckForApp()) SWIG_fail;
26903 PyThreadState* __tstate = wxPyBeginAllowThreads();
26904 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26905 wxPyEndAllowThreads(__tstate);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
26908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26909 return resultobj;
26910fail:
26911 return NULL;
d14a1e28
RD
26912}
26913
26914
f05326ba
RD
26915SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26916 PyObject *resultobj = 0;
26917 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26918 void *argp1 = 0 ;
26919 int res1 = 0 ;
26920 PyObject *swig_obj[1] ;
26921
26922 if (!args) SWIG_fail;
26923 swig_obj[0] = args;
26924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26925 if (!SWIG_IsOK(res1)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26927 }
26928 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26929 {
26930 PyThreadState* __tstate = wxPyBeginAllowThreads();
26931 delete arg1;
26932
26933 wxPyEndAllowThreads(__tstate);
26934 if (PyErr_Occurred()) SWIG_fail;
26935 }
26936 resultobj = SWIG_Py_Void();
26937 return resultobj;
26938fail:
26939 return NULL;
26940}
26941
26942
0085ce49
RD
26943SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26944 PyObject *resultobj = 0;
26945 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26946 int result;
26947 void *argp1 = 0 ;
26948 int res1 = 0 ;
26949 PyObject *swig_obj[1] ;
26950
26951 if (!args) SWIG_fail;
26952 swig_obj[0] = args;
26953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26954 if (!SWIG_IsOK(res1)) {
26955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26956 }
26957 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 result = (int)(arg1)->ShowModal();
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 resultobj = SWIG_From_int(static_cast< int >(result));
26965 return resultobj;
26966fail:
26967 return NULL;
d14a1e28
RD
26968}
26969
26970
0085ce49
RD
26971SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26972 PyObject *resultobj = 0;
26973 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26974 wxPrintDialogData *result = 0 ;
26975 void *argp1 = 0 ;
26976 int res1 = 0 ;
26977 PyObject *swig_obj[1] ;
26978
26979 if (!args) SWIG_fail;
26980 swig_obj[0] = args;
26981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26982 if (!SWIG_IsOK(res1)) {
26983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26984 }
26985 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26986 {
26987 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 26988 {
0085ce49
RD
26989 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26990 result = (wxPrintDialogData *) &_result_ref;
26991 }
26992 wxPyEndAllowThreads(__tstate);
26993 if (PyErr_Occurred()) SWIG_fail;
26994 }
26995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26996 return resultobj;
26997fail:
26998 return NULL;
d14a1e28
RD
26999}
27000
27001
0085ce49
RD
27002SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27003 PyObject *resultobj = 0;
27004 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27005 wxPrintData *result = 0 ;
27006 void *argp1 = 0 ;
27007 int res1 = 0 ;
27008 PyObject *swig_obj[1] ;
27009
27010 if (!args) SWIG_fail;
27011 swig_obj[0] = args;
27012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27013 if (!SWIG_IsOK(res1)) {
27014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27015 }
27016 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27017 {
27018 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 27019 {
0085ce49
RD
27020 wxPrintData &_result_ref = (arg1)->GetPrintData();
27021 result = (wxPrintData *) &_result_ref;
27022 }
27023 wxPyEndAllowThreads(__tstate);
27024 if (PyErr_Occurred()) SWIG_fail;
27025 }
27026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27027 return resultobj;
27028fail:
27029 return NULL;
d14a1e28
RD
27030}
27031
27032
0085ce49
RD
27033SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27034 PyObject *resultobj = 0;
27035 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27036 wxDC *result = 0 ;
27037 void *argp1 = 0 ;
27038 int res1 = 0 ;
27039 PyObject *swig_obj[1] ;
27040
27041 if (!args) SWIG_fail;
27042 swig_obj[0] = args;
27043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27044 if (!SWIG_IsOK(res1)) {
27045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27046 }
27047 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27048 {
27049 PyThreadState* __tstate = wxPyBeginAllowThreads();
27050 result = (wxDC *)(arg1)->GetPrintDC();
27051 wxPyEndAllowThreads(__tstate);
27052 if (PyErr_Occurred()) SWIG_fail;
27053 }
27054 {
27055 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27056 }
27057 return resultobj;
27058fail:
27059 return NULL;
d14a1e28
RD
27060}
27061
27062
0085ce49
RD
27063SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27064 PyObject *obj;
27065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27067 return SWIG_Py_Void();
d14a1e28
RD
27068}
27069
0085ce49
RD
27070SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27071 return SWIG_Python_InitShadowInstance(args);
27072}
d14a1e28 27073
0085ce49
RD
27074SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27075 PyObject *resultobj = 0;
27076 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27077 wxPrinter *result = 0 ;
27078 void *argp1 = 0 ;
27079 int res1 = 0 ;
27080 PyObject * obj0 = 0 ;
27081 char * kwnames[] = {
27082 (char *) "data", NULL
27083 };
27084
27085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27086 if (obj0) {
27087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27088 if (!SWIG_IsOK(res1)) {
27089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
d14a1e28 27090 }
0085ce49
RD
27091 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27092 }
27093 {
27094 if (!wxPyCheckForApp()) SWIG_fail;
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 result = (wxPrinter *)new wxPrinter(arg1);
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27101 return resultobj;
27102fail:
27103 return NULL;
d14a1e28
RD
27104}
27105
27106
0085ce49
RD
27107SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27108 PyObject *resultobj = 0;
27109 wxPrinter *arg1 = (wxPrinter *) 0 ;
27110 void *argp1 = 0 ;
27111 int res1 = 0 ;
27112 PyObject *swig_obj[1] ;
27113
27114 if (!args) SWIG_fail;
27115 swig_obj[0] = args;
27116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27117 if (!SWIG_IsOK(res1)) {
27118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27119 }
27120 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27121 {
27122 PyThreadState* __tstate = wxPyBeginAllowThreads();
27123 delete arg1;
d14a1e28 27124
0085ce49
RD
27125 wxPyEndAllowThreads(__tstate);
27126 if (PyErr_Occurred()) SWIG_fail;
27127 }
27128 resultobj = SWIG_Py_Void();
27129 return resultobj;
27130fail:
27131 return NULL;
27132}
27133
27134
27135SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27136 PyObject *resultobj = 0;
27137 wxPrinter *arg1 = (wxPrinter *) 0 ;
27138 wxWindow *arg2 = (wxWindow *) 0 ;
27139 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27140 wxWindow *result = 0 ;
27141 void *argp1 = 0 ;
27142 int res1 = 0 ;
27143 void *argp2 = 0 ;
27144 int res2 = 0 ;
27145 void *argp3 = 0 ;
27146 int res3 = 0 ;
27147 PyObject * obj0 = 0 ;
27148 PyObject * obj1 = 0 ;
27149 PyObject * obj2 = 0 ;
27150 char * kwnames[] = {
27151 (char *) "self",(char *) "parent",(char *) "printout", NULL
27152 };
27153
27154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27156 if (!SWIG_IsOK(res1)) {
27157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27158 }
27159 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27160 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27161 if (!SWIG_IsOK(res2)) {
27162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27163 }
27164 arg2 = reinterpret_cast< wxWindow * >(argp2);
27165 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27166 if (!SWIG_IsOK(res3)) {
27167 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27168 }
27169 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27170 {
27171 PyThreadState* __tstate = wxPyBeginAllowThreads();
27172 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27173 wxPyEndAllowThreads(__tstate);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 }
27176 {
27177 resultobj = wxPyMake_wxObject(result, 0);
27178 }
27179 return resultobj;
27180fail:
27181 return NULL;
27182}
27183
27184
27185SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27186 PyObject *resultobj = 0;
27187 wxPrinter *arg1 = (wxPrinter *) 0 ;
27188 wxWindow *arg2 = (wxWindow *) 0 ;
27189 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27190 wxString *arg4 = 0 ;
27191 void *argp1 = 0 ;
27192 int res1 = 0 ;
27193 void *argp2 = 0 ;
27194 int res2 = 0 ;
27195 void *argp3 = 0 ;
27196 int res3 = 0 ;
27197 bool temp4 = false ;
27198 PyObject * obj0 = 0 ;
27199 PyObject * obj1 = 0 ;
27200 PyObject * obj2 = 0 ;
27201 PyObject * obj3 = 0 ;
27202 char * kwnames[] = {
27203 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27204 };
27205
27206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27208 if (!SWIG_IsOK(res1)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27210 }
27211 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27212 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27213 if (!SWIG_IsOK(res2)) {
27214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27215 }
27216 arg2 = reinterpret_cast< wxWindow * >(argp2);
27217 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27218 if (!SWIG_IsOK(res3)) {
27219 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27220 }
27221 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27222 {
27223 arg4 = wxString_in_helper(obj3);
27224 if (arg4 == NULL) SWIG_fail;
27225 temp4 = true;
27226 }
27227 {
27228 PyThreadState* __tstate = wxPyBeginAllowThreads();
27229 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27230 wxPyEndAllowThreads(__tstate);
27231 if (PyErr_Occurred()) SWIG_fail;
27232 }
27233 resultobj = SWIG_Py_Void();
27234 {
27235 if (temp4)
27236 delete arg4;
27237 }
27238 return resultobj;
27239fail:
27240 {
27241 if (temp4)
27242 delete arg4;
27243 }
27244 return NULL;
27245}
27246
27247
27248SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27249 PyObject *resultobj = 0;
27250 wxPrinter *arg1 = (wxPrinter *) 0 ;
27251 wxWindow *arg2 = (wxWindow *) 0 ;
27252 bool result;
27253 void *argp1 = 0 ;
27254 int res1 = 0 ;
27255 void *argp2 = 0 ;
27256 int res2 = 0 ;
27257 PyObject * obj0 = 0 ;
27258 PyObject * obj1 = 0 ;
27259 char * kwnames[] = {
27260 (char *) "self",(char *) "parent", NULL
27261 };
27262
27263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27265 if (!SWIG_IsOK(res1)) {
27266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27267 }
27268 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27269 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27270 if (!SWIG_IsOK(res2)) {
27271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27272 }
27273 arg2 = reinterpret_cast< wxWindow * >(argp2);
27274 {
27275 PyThreadState* __tstate = wxPyBeginAllowThreads();
27276 result = (bool)(arg1)->Setup(arg2);
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 {
27281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27282 }
27283 return resultobj;
27284fail:
27285 return NULL;
27286}
27287
27288
27289SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27290 PyObject *resultobj = 0;
27291 wxPrinter *arg1 = (wxPrinter *) 0 ;
27292 wxWindow *arg2 = (wxWindow *) 0 ;
27293 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27294 bool arg4 = (bool) true ;
27295 bool result;
27296 void *argp1 = 0 ;
27297 int res1 = 0 ;
27298 void *argp2 = 0 ;
27299 int res2 = 0 ;
27300 void *argp3 = 0 ;
27301 int res3 = 0 ;
27302 bool val4 ;
27303 int ecode4 = 0 ;
27304 PyObject * obj0 = 0 ;
27305 PyObject * obj1 = 0 ;
27306 PyObject * obj2 = 0 ;
27307 PyObject * obj3 = 0 ;
27308 char * kwnames[] = {
27309 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27310 };
27311
27312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27314 if (!SWIG_IsOK(res1)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27316 }
27317 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27318 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27319 if (!SWIG_IsOK(res2)) {
27320 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27321 }
27322 arg2 = reinterpret_cast< wxWindow * >(argp2);
27323 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27324 if (!SWIG_IsOK(res3)) {
27325 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27326 }
27327 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27328 if (obj3) {
27329 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27330 if (!SWIG_IsOK(ecode4)) {
27331 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27332 }
27333 arg4 = static_cast< bool >(val4);
27334 }
27335 {
27336 PyThreadState* __tstate = wxPyBeginAllowThreads();
27337 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27338 wxPyEndAllowThreads(__tstate);
27339 if (PyErr_Occurred()) SWIG_fail;
27340 }
27341 {
27342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27343 }
27344 return resultobj;
27345fail:
27346 return NULL;
27347}
27348
27349
27350SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27351 PyObject *resultobj = 0;
27352 wxPrinter *arg1 = (wxPrinter *) 0 ;
27353 wxWindow *arg2 = (wxWindow *) 0 ;
27354 wxDC *result = 0 ;
27355 void *argp1 = 0 ;
27356 int res1 = 0 ;
27357 void *argp2 = 0 ;
27358 int res2 = 0 ;
27359 PyObject * obj0 = 0 ;
27360 PyObject * obj1 = 0 ;
27361 char * kwnames[] = {
27362 (char *) "self",(char *) "parent", NULL
27363 };
27364
27365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27367 if (!SWIG_IsOK(res1)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27369 }
27370 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27371 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27372 if (!SWIG_IsOK(res2)) {
27373 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27374 }
27375 arg2 = reinterpret_cast< wxWindow * >(argp2);
27376 {
27377 PyThreadState* __tstate = wxPyBeginAllowThreads();
27378 result = (wxDC *)(arg1)->PrintDialog(arg2);
27379 wxPyEndAllowThreads(__tstate);
27380 if (PyErr_Occurred()) SWIG_fail;
27381 }
27382 {
27383 resultobj = wxPyMake_wxObject(result, (bool)0);
27384 }
27385 return resultobj;
27386fail:
27387 return NULL;
d14a1e28
RD
27388}
27389
27390
0085ce49
RD
27391SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27392 PyObject *resultobj = 0;
27393 wxPrinter *arg1 = (wxPrinter *) 0 ;
27394 wxPrintDialogData *result = 0 ;
27395 void *argp1 = 0 ;
27396 int res1 = 0 ;
27397 PyObject *swig_obj[1] ;
27398
27399 if (!args) SWIG_fail;
27400 swig_obj[0] = args;
27401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27402 if (!SWIG_IsOK(res1)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27404 }
27405 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27406 {
27407 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 27408 {
0085ce49
RD
27409 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27410 result = (wxPrintDialogData *) &_result_ref;
27411 }
27412 wxPyEndAllowThreads(__tstate);
27413 if (PyErr_Occurred()) SWIG_fail;
27414 }
27415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27416 return resultobj;
27417fail:
27418 return NULL;
d14a1e28
RD
27419}
27420
27421
0085ce49
RD
27422SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27423 PyObject *resultobj = 0;
27424 wxPrinter *arg1 = (wxPrinter *) 0 ;
27425 bool result;
27426 void *argp1 = 0 ;
27427 int res1 = 0 ;
27428 PyObject *swig_obj[1] ;
27429
27430 if (!args) SWIG_fail;
27431 swig_obj[0] = args;
27432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27433 if (!SWIG_IsOK(res1)) {
27434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27435 }
27436 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27437 {
27438 PyThreadState* __tstate = wxPyBeginAllowThreads();
27439 result = (bool)(arg1)->GetAbort();
27440 wxPyEndAllowThreads(__tstate);
27441 if (PyErr_Occurred()) SWIG_fail;
27442 }
27443 {
27444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27445 }
27446 return resultobj;
27447fail:
27448 return NULL;
d14a1e28
RD
27449}
27450
27451
0085ce49
RD
27452SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27453 PyObject *resultobj = 0;
27454 wxPrinterError result;
27455
27456 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27457 {
27458 PyThreadState* __tstate = wxPyBeginAllowThreads();
27459 result = (wxPrinterError)wxPrinter::GetLastError();
27460 wxPyEndAllowThreads(__tstate);
27461 if (PyErr_Occurred()) SWIG_fail;
27462 }
27463 resultobj = SWIG_From_int(static_cast< int >(result));
27464 return resultobj;
27465fail:
27466 return NULL;
d14a1e28
RD
27467}
27468
27469
0085ce49
RD
27470SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27471 PyObject *obj;
27472 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27474 return SWIG_Py_Void();
d14a1e28
RD
27475}
27476
0085ce49
RD
27477SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27478 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
27479}
27480
0085ce49
RD
27481SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27482 PyObject *resultobj = 0;
27483 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27484 wxString *arg1 = (wxString *) &arg1_defvalue ;
27485 wxPyPrintout *result = 0 ;
27486 bool temp1 = false ;
27487 PyObject * obj0 = 0 ;
27488 char * kwnames[] = {
27489 (char *) "title", NULL
27490 };
27491
27492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27493 if (obj0) {
d14a1e28 27494 {
0085ce49
RD
27495 arg1 = wxString_in_helper(obj0);
27496 if (arg1 == NULL) SWIG_fail;
27497 temp1 = true;
27498 }
27499 }
27500 {
27501 if (!wxPyCheckForApp()) SWIG_fail;
27502 PyThreadState* __tstate = wxPyBeginAllowThreads();
27503 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27504 wxPyEndAllowThreads(__tstate);
27505 if (PyErr_Occurred()) SWIG_fail;
27506 }
27507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27508 {
27509 if (temp1)
27510 delete arg1;
27511 }
27512 return resultobj;
27513fail:
27514 {
27515 if (temp1)
27516 delete arg1;
27517 }
27518 return NULL;
d14a1e28
RD
27519}
27520
27521
0085ce49
RD
27522SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27523 PyObject *resultobj = 0;
27524 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27525 void *argp1 = 0 ;
27526 int res1 = 0 ;
27527 PyObject *swig_obj[1] ;
27528
27529 if (!args) SWIG_fail;
27530 swig_obj[0] = args;
27531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27532 if (!SWIG_IsOK(res1)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27534 }
27535 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27536 {
27537 PyThreadState* __tstate = wxPyBeginAllowThreads();
27538 delete arg1;
d14a1e28 27539
0085ce49
RD
27540 wxPyEndAllowThreads(__tstate);
27541 if (PyErr_Occurred()) SWIG_fail;
27542 }
27543 resultobj = SWIG_Py_Void();
27544 return resultobj;
27545fail:
27546 return NULL;
27547}
27548
27549
27550SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27551 PyObject *resultobj = 0;
27552 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27553 PyObject *arg2 = (PyObject *) 0 ;
27554 PyObject *arg3 = (PyObject *) 0 ;
27555 void *argp1 = 0 ;
27556 int res1 = 0 ;
27557 PyObject * obj0 = 0 ;
27558 PyObject * obj1 = 0 ;
27559 PyObject * obj2 = 0 ;
27560 char * kwnames[] = {
27561 (char *) "self",(char *) "self",(char *) "_class", NULL
27562 };
27563
27564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27566 if (!SWIG_IsOK(res1)) {
27567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27568 }
27569 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27570 arg2 = obj1;
27571 arg3 = obj2;
27572 {
27573 PyThreadState* __tstate = wxPyBeginAllowThreads();
27574 (arg1)->_setCallbackInfo(arg2,arg3);
27575 wxPyEndAllowThreads(__tstate);
27576 if (PyErr_Occurred()) SWIG_fail;
27577 }
27578 resultobj = SWIG_Py_Void();
27579 return resultobj;
27580fail:
27581 return NULL;
d14a1e28
RD
27582}
27583
27584
0085ce49
RD
27585SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27586 PyObject *resultobj = 0;
27587 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27588 wxString result;
27589 void *argp1 = 0 ;
27590 int res1 = 0 ;
27591 PyObject *swig_obj[1] ;
27592
27593 if (!args) SWIG_fail;
27594 swig_obj[0] = args;
27595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27596 if (!SWIG_IsOK(res1)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27598 }
27599 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27600 {
27601 PyThreadState* __tstate = wxPyBeginAllowThreads();
27602 result = ((wxPyPrintout const *)arg1)->GetTitle();
27603 wxPyEndAllowThreads(__tstate);
27604 if (PyErr_Occurred()) SWIG_fail;
27605 }
27606 {
27607#if wxUSE_UNICODE
27608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27609#else
27610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27611#endif
27612 }
27613 return resultobj;
27614fail:
27615 return NULL;
d14a1e28
RD
27616}
27617
27618
0085ce49
RD
27619SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27620 PyObject *resultobj = 0;
27621 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27622 wxDC *result = 0 ;
27623 void *argp1 = 0 ;
27624 int res1 = 0 ;
27625 PyObject *swig_obj[1] ;
27626
27627 if (!args) SWIG_fail;
27628 swig_obj[0] = args;
27629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27630 if (!SWIG_IsOK(res1)) {
27631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27632 }
27633 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27634 {
27635 PyThreadState* __tstate = wxPyBeginAllowThreads();
27636 result = (wxDC *)(arg1)->GetDC();
27637 wxPyEndAllowThreads(__tstate);
27638 if (PyErr_Occurred()) SWIG_fail;
27639 }
27640 {
27641 resultobj = wxPyMake_wxObject(result, (bool)0);
27642 }
27643 return resultobj;
27644fail:
27645 return NULL;
27646}
27647
27648
27649SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27650 PyObject *resultobj = 0;
27651 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27652 wxDC *arg2 = (wxDC *) 0 ;
27653 void *argp1 = 0 ;
27654 int res1 = 0 ;
27655 void *argp2 = 0 ;
27656 int res2 = 0 ;
27657 PyObject * obj0 = 0 ;
27658 PyObject * obj1 = 0 ;
27659 char * kwnames[] = {
27660 (char *) "self",(char *) "dc", NULL
27661 };
27662
27663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27665 if (!SWIG_IsOK(res1)) {
27666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27667 }
27668 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27669 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27670 if (!SWIG_IsOK(res2)) {
27671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27672 }
27673 arg2 = reinterpret_cast< wxDC * >(argp2);
27674 {
27675 PyThreadState* __tstate = wxPyBeginAllowThreads();
27676 (arg1)->SetDC(arg2);
27677 wxPyEndAllowThreads(__tstate);
27678 if (PyErr_Occurred()) SWIG_fail;
27679 }
27680 resultobj = SWIG_Py_Void();
27681 return resultobj;
27682fail:
27683 return NULL;
27684}
27685
27686
27687SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27688 PyObject *resultobj = 0;
27689 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27690 int arg2 ;
27691 int arg3 ;
27692 void *argp1 = 0 ;
27693 int res1 = 0 ;
27694 int val2 ;
27695 int ecode2 = 0 ;
27696 int val3 ;
27697 int ecode3 = 0 ;
27698 PyObject * obj0 = 0 ;
27699 PyObject * obj1 = 0 ;
27700 PyObject * obj2 = 0 ;
27701 char * kwnames[] = {
27702 (char *) "self",(char *) "w",(char *) "h", NULL
27703 };
27704
27705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27707 if (!SWIG_IsOK(res1)) {
27708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27709 }
27710 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27711 ecode2 = SWIG_AsVal_int(obj1, &val2);
27712 if (!SWIG_IsOK(ecode2)) {
27713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27714 }
27715 arg2 = static_cast< int >(val2);
27716 ecode3 = SWIG_AsVal_int(obj2, &val3);
27717 if (!SWIG_IsOK(ecode3)) {
27718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27719 }
27720 arg3 = static_cast< int >(val3);
27721 {
27722 PyThreadState* __tstate = wxPyBeginAllowThreads();
27723 (arg1)->SetPageSizePixels(arg2,arg3);
27724 wxPyEndAllowThreads(__tstate);
27725 if (PyErr_Occurred()) SWIG_fail;
27726 }
27727 resultobj = SWIG_Py_Void();
27728 return resultobj;
27729fail:
27730 return NULL;
27731}
27732
27733
27734SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27735 PyObject *resultobj = 0;
27736 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27737 int *arg2 = (int *) 0 ;
27738 int *arg3 = (int *) 0 ;
27739 void *argp1 = 0 ;
27740 int res1 = 0 ;
27741 int temp2 ;
27742 int res2 = SWIG_TMPOBJ ;
27743 int temp3 ;
27744 int res3 = SWIG_TMPOBJ ;
27745 PyObject *swig_obj[1] ;
27746
27747 arg2 = &temp2;
27748 arg3 = &temp3;
27749 if (!args) SWIG_fail;
27750 swig_obj[0] = args;
27751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27752 if (!SWIG_IsOK(res1)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27754 }
27755 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27756 {
27757 PyThreadState* __tstate = wxPyBeginAllowThreads();
27758 (arg1)->GetPageSizePixels(arg2,arg3);
27759 wxPyEndAllowThreads(__tstate);
27760 if (PyErr_Occurred()) SWIG_fail;
27761 }
27762 resultobj = SWIG_Py_Void();
27763 if (SWIG_IsTmpObj(res2)) {
27764 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27765 } else {
27766 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27767 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27768 }
27769 if (SWIG_IsTmpObj(res3)) {
27770 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27771 } else {
27772 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27773 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27774 }
27775 return resultobj;
27776fail:
27777 return NULL;
27778}
27779
27780
27781SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj = 0;
27783 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27784 int arg2 ;
27785 int arg3 ;
27786 void *argp1 = 0 ;
27787 int res1 = 0 ;
27788 int val2 ;
27789 int ecode2 = 0 ;
27790 int val3 ;
27791 int ecode3 = 0 ;
27792 PyObject * obj0 = 0 ;
27793 PyObject * obj1 = 0 ;
27794 PyObject * obj2 = 0 ;
27795 char * kwnames[] = {
27796 (char *) "self",(char *) "w",(char *) "h", NULL
27797 };
27798
27799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27801 if (!SWIG_IsOK(res1)) {
27802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27803 }
27804 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27805 ecode2 = SWIG_AsVal_int(obj1, &val2);
27806 if (!SWIG_IsOK(ecode2)) {
27807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27808 }
27809 arg2 = static_cast< int >(val2);
27810 ecode3 = SWIG_AsVal_int(obj2, &val3);
27811 if (!SWIG_IsOK(ecode3)) {
27812 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27813 }
27814 arg3 = static_cast< int >(val3);
27815 {
27816 PyThreadState* __tstate = wxPyBeginAllowThreads();
27817 (arg1)->SetPageSizeMM(arg2,arg3);
27818 wxPyEndAllowThreads(__tstate);
27819 if (PyErr_Occurred()) SWIG_fail;
27820 }
27821 resultobj = SWIG_Py_Void();
27822 return resultobj;
27823fail:
27824 return NULL;
27825}
27826
27827
27828SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27829 PyObject *resultobj = 0;
27830 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27831 int *arg2 = (int *) 0 ;
27832 int *arg3 = (int *) 0 ;
27833 void *argp1 = 0 ;
27834 int res1 = 0 ;
27835 int temp2 ;
27836 int res2 = SWIG_TMPOBJ ;
27837 int temp3 ;
27838 int res3 = SWIG_TMPOBJ ;
27839 PyObject *swig_obj[1] ;
27840
27841 arg2 = &temp2;
27842 arg3 = &temp3;
27843 if (!args) SWIG_fail;
27844 swig_obj[0] = args;
27845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27846 if (!SWIG_IsOK(res1)) {
27847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27848 }
27849 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27850 {
27851 PyThreadState* __tstate = wxPyBeginAllowThreads();
27852 (arg1)->GetPageSizeMM(arg2,arg3);
27853 wxPyEndAllowThreads(__tstate);
27854 if (PyErr_Occurred()) SWIG_fail;
27855 }
27856 resultobj = SWIG_Py_Void();
27857 if (SWIG_IsTmpObj(res2)) {
27858 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27859 } else {
27860 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27862 }
27863 if (SWIG_IsTmpObj(res3)) {
27864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27865 } else {
27866 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27868 }
27869 return resultobj;
27870fail:
27871 return NULL;
27872}
27873
27874
27875SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27876 PyObject *resultobj = 0;
27877 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27878 int arg2 ;
27879 int arg3 ;
27880 void *argp1 = 0 ;
27881 int res1 = 0 ;
27882 int val2 ;
27883 int ecode2 = 0 ;
27884 int val3 ;
27885 int ecode3 = 0 ;
27886 PyObject * obj0 = 0 ;
27887 PyObject * obj1 = 0 ;
27888 PyObject * obj2 = 0 ;
27889 char * kwnames[] = {
27890 (char *) "self",(char *) "x",(char *) "y", NULL
27891 };
27892
27893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27895 if (!SWIG_IsOK(res1)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27897 }
27898 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27899 ecode2 = SWIG_AsVal_int(obj1, &val2);
27900 if (!SWIG_IsOK(ecode2)) {
27901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27902 }
27903 arg2 = static_cast< int >(val2);
27904 ecode3 = SWIG_AsVal_int(obj2, &val3);
27905 if (!SWIG_IsOK(ecode3)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27907 }
27908 arg3 = static_cast< int >(val3);
27909 {
27910 PyThreadState* __tstate = wxPyBeginAllowThreads();
27911 (arg1)->SetPPIScreen(arg2,arg3);
27912 wxPyEndAllowThreads(__tstate);
27913 if (PyErr_Occurred()) SWIG_fail;
27914 }
27915 resultobj = SWIG_Py_Void();
27916 return resultobj;
27917fail:
27918 return NULL;
27919}
27920
27921
27922SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27923 PyObject *resultobj = 0;
27924 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27925 int *arg2 = (int *) 0 ;
27926 int *arg3 = (int *) 0 ;
27927 void *argp1 = 0 ;
27928 int res1 = 0 ;
27929 int temp2 ;
27930 int res2 = SWIG_TMPOBJ ;
27931 int temp3 ;
27932 int res3 = SWIG_TMPOBJ ;
27933 PyObject *swig_obj[1] ;
27934
27935 arg2 = &temp2;
27936 arg3 = &temp3;
27937 if (!args) SWIG_fail;
27938 swig_obj[0] = args;
27939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27940 if (!SWIG_IsOK(res1)) {
27941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27942 }
27943 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27944 {
27945 PyThreadState* __tstate = wxPyBeginAllowThreads();
27946 (arg1)->GetPPIScreen(arg2,arg3);
27947 wxPyEndAllowThreads(__tstate);
27948 if (PyErr_Occurred()) SWIG_fail;
27949 }
27950 resultobj = SWIG_Py_Void();
27951 if (SWIG_IsTmpObj(res2)) {
27952 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27953 } else {
27954 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27955 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27956 }
27957 if (SWIG_IsTmpObj(res3)) {
27958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27959 } else {
27960 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27962 }
27963 return resultobj;
27964fail:
27965 return NULL;
27966}
27967
27968
27969SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27970 PyObject *resultobj = 0;
27971 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27972 int arg2 ;
27973 int arg3 ;
27974 void *argp1 = 0 ;
27975 int res1 = 0 ;
27976 int val2 ;
27977 int ecode2 = 0 ;
27978 int val3 ;
27979 int ecode3 = 0 ;
27980 PyObject * obj0 = 0 ;
27981 PyObject * obj1 = 0 ;
27982 PyObject * obj2 = 0 ;
27983 char * kwnames[] = {
27984 (char *) "self",(char *) "x",(char *) "y", NULL
27985 };
27986
27987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27989 if (!SWIG_IsOK(res1)) {
27990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27991 }
27992 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27993 ecode2 = SWIG_AsVal_int(obj1, &val2);
27994 if (!SWIG_IsOK(ecode2)) {
27995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27996 }
27997 arg2 = static_cast< int >(val2);
27998 ecode3 = SWIG_AsVal_int(obj2, &val3);
27999 if (!SWIG_IsOK(ecode3)) {
28000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28001 }
28002 arg3 = static_cast< int >(val3);
28003 {
28004 PyThreadState* __tstate = wxPyBeginAllowThreads();
28005 (arg1)->SetPPIPrinter(arg2,arg3);
28006 wxPyEndAllowThreads(__tstate);
28007 if (PyErr_Occurred()) SWIG_fail;
28008 }
28009 resultobj = SWIG_Py_Void();
28010 return resultobj;
28011fail:
28012 return NULL;
28013}
28014
28015
28016SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28017 PyObject *resultobj = 0;
28018 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28019 int *arg2 = (int *) 0 ;
28020 int *arg3 = (int *) 0 ;
28021 void *argp1 = 0 ;
28022 int res1 = 0 ;
28023 int temp2 ;
28024 int res2 = SWIG_TMPOBJ ;
28025 int temp3 ;
28026 int res3 = SWIG_TMPOBJ ;
28027 PyObject *swig_obj[1] ;
28028
28029 arg2 = &temp2;
28030 arg3 = &temp3;
28031 if (!args) SWIG_fail;
28032 swig_obj[0] = args;
28033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28034 if (!SWIG_IsOK(res1)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28036 }
28037 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28038 {
28039 PyThreadState* __tstate = wxPyBeginAllowThreads();
28040 (arg1)->GetPPIPrinter(arg2,arg3);
28041 wxPyEndAllowThreads(__tstate);
28042 if (PyErr_Occurred()) SWIG_fail;
28043 }
28044 resultobj = SWIG_Py_Void();
28045 if (SWIG_IsTmpObj(res2)) {
28046 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28047 } else {
28048 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28049 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28050 }
28051 if (SWIG_IsTmpObj(res3)) {
28052 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28053 } else {
28054 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28055 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28056 }
28057 return resultobj;
28058fail:
28059 return NULL;
d14a1e28
RD
28060}
28061
28062
0085ce49
RD
28063SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28064 PyObject *resultobj = 0;
28065 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28066 bool result;
28067 void *argp1 = 0 ;
28068 int res1 = 0 ;
28069 PyObject *swig_obj[1] ;
28070
28071 if (!args) SWIG_fail;
28072 swig_obj[0] = args;
28073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28074 if (!SWIG_IsOK(res1)) {
28075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28076 }
28077 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28078 {
28079 PyThreadState* __tstate = wxPyBeginAllowThreads();
28080 result = (bool)(arg1)->IsPreview();
28081 wxPyEndAllowThreads(__tstate);
28082 if (PyErr_Occurred()) SWIG_fail;
28083 }
28084 {
28085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28086 }
28087 return resultobj;
28088fail:
28089 return NULL;
28090}
28091
28092
28093SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28094 PyObject *resultobj = 0;
28095 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28096 bool arg2 ;
28097 void *argp1 = 0 ;
28098 int res1 = 0 ;
28099 bool val2 ;
28100 int ecode2 = 0 ;
28101 PyObject * obj0 = 0 ;
28102 PyObject * obj1 = 0 ;
28103 char * kwnames[] = {
28104 (char *) "self",(char *) "p", NULL
28105 };
28106
28107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28109 if (!SWIG_IsOK(res1)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28111 }
28112 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28113 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28114 if (!SWIG_IsOK(ecode2)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28116 }
28117 arg2 = static_cast< bool >(val2);
28118 {
28119 PyThreadState* __tstate = wxPyBeginAllowThreads();
28120 (arg1)->SetIsPreview(arg2);
28121 wxPyEndAllowThreads(__tstate);
28122 if (PyErr_Occurred()) SWIG_fail;
28123 }
28124 resultobj = SWIG_Py_Void();
28125 return resultobj;
28126fail:
28127 return NULL;
28128}
28129
28130
28131SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28132 PyObject *resultobj = 0;
28133 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28134 int arg2 ;
28135 int arg3 ;
28136 bool result;
28137 void *argp1 = 0 ;
28138 int res1 = 0 ;
28139 int val2 ;
28140 int ecode2 = 0 ;
28141 int val3 ;
28142 int ecode3 = 0 ;
28143 PyObject * obj0 = 0 ;
28144 PyObject * obj1 = 0 ;
28145 PyObject * obj2 = 0 ;
28146 char * kwnames[] = {
28147 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28148 };
28149
28150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28152 if (!SWIG_IsOK(res1)) {
28153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28154 }
28155 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28156 ecode2 = SWIG_AsVal_int(obj1, &val2);
28157 if (!SWIG_IsOK(ecode2)) {
28158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28159 }
28160 arg2 = static_cast< int >(val2);
28161 ecode3 = SWIG_AsVal_int(obj2, &val3);
28162 if (!SWIG_IsOK(ecode3)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28164 }
28165 arg3 = static_cast< int >(val3);
28166 {
28167 PyThreadState* __tstate = wxPyBeginAllowThreads();
28168 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 {
28173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28174 }
28175 return resultobj;
28176fail:
28177 return NULL;
d14a1e28
RD
28178}
28179
28180
0085ce49
RD
28181SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28182 PyObject *resultobj = 0;
28183 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28184 void *argp1 = 0 ;
28185 int res1 = 0 ;
28186 PyObject *swig_obj[1] ;
28187
28188 if (!args) SWIG_fail;
28189 swig_obj[0] = args;
28190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28191 if (!SWIG_IsOK(res1)) {
28192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28193 }
28194 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28195 {
28196 PyThreadState* __tstate = wxPyBeginAllowThreads();
28197 (arg1)->OnEndDocument();
28198 wxPyEndAllowThreads(__tstate);
28199 if (PyErr_Occurred()) SWIG_fail;
28200 }
28201 resultobj = SWIG_Py_Void();
28202 return resultobj;
28203fail:
28204 return NULL;
1cb4a8aa
RD
28205}
28206
28207
0085ce49
RD
28208SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28209 PyObject *resultobj = 0;
28210 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28211 void *argp1 = 0 ;
28212 int res1 = 0 ;
28213 PyObject *swig_obj[1] ;
28214
28215 if (!args) SWIG_fail;
28216 swig_obj[0] = args;
28217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28218 if (!SWIG_IsOK(res1)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28220 }
28221 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28222 {
28223 PyThreadState* __tstate = wxPyBeginAllowThreads();
28224 (arg1)->OnBeginPrinting();
28225 wxPyEndAllowThreads(__tstate);
28226 if (PyErr_Occurred()) SWIG_fail;
28227 }
28228 resultobj = SWIG_Py_Void();
28229 return resultobj;
28230fail:
28231 return NULL;
d14a1e28
RD
28232}
28233
28234
0085ce49
RD
28235SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28236 PyObject *resultobj = 0;
28237 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28238 void *argp1 = 0 ;
28239 int res1 = 0 ;
28240 PyObject *swig_obj[1] ;
28241
28242 if (!args) SWIG_fail;
28243 swig_obj[0] = args;
28244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28245 if (!SWIG_IsOK(res1)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28247 }
28248 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28249 {
28250 PyThreadState* __tstate = wxPyBeginAllowThreads();
28251 (arg1)->OnEndPrinting();
28252 wxPyEndAllowThreads(__tstate);
28253 if (PyErr_Occurred()) SWIG_fail;
28254 }
28255 resultobj = SWIG_Py_Void();
28256 return resultobj;
28257fail:
28258 return NULL;
db3e571a
RD
28259}
28260
28261
0085ce49
RD
28262SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28263 PyObject *resultobj = 0;
28264 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28265 void *argp1 = 0 ;
28266 int res1 = 0 ;
28267 PyObject *swig_obj[1] ;
28268
28269 if (!args) SWIG_fail;
28270 swig_obj[0] = args;
28271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28272 if (!SWIG_IsOK(res1)) {
28273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28274 }
28275 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28276 {
28277 PyThreadState* __tstate = wxPyBeginAllowThreads();
28278 (arg1)->OnPreparePrinting();
28279 wxPyEndAllowThreads(__tstate);
28280 if (PyErr_Occurred()) SWIG_fail;
28281 }
28282 resultobj = SWIG_Py_Void();
28283 return resultobj;
28284fail:
28285 return NULL;
28286}
28287
28288
28289SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28290 PyObject *resultobj = 0;
28291 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28292 int arg2 ;
28293 bool result;
28294 void *argp1 = 0 ;
28295 int res1 = 0 ;
28296 int val2 ;
28297 int ecode2 = 0 ;
28298 PyObject * obj0 = 0 ;
28299 PyObject * obj1 = 0 ;
28300 char * kwnames[] = {
28301 (char *) "self",(char *) "page", NULL
28302 };
28303
28304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28306 if (!SWIG_IsOK(res1)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28308 }
28309 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28310 ecode2 = SWIG_AsVal_int(obj1, &val2);
28311 if (!SWIG_IsOK(ecode2)) {
28312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28313 }
28314 arg2 = static_cast< int >(val2);
28315 {
28316 PyThreadState* __tstate = wxPyBeginAllowThreads();
28317 result = (bool)(arg1)->HasPage(arg2);
28318 wxPyEndAllowThreads(__tstate);
28319 if (PyErr_Occurred()) SWIG_fail;
28320 }
28321 {
28322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28323 }
28324 return resultobj;
28325fail:
28326 return NULL;
28327}
28328
28329
28330SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28331 PyObject *resultobj = 0;
28332 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28333 int *arg2 = (int *) 0 ;
28334 int *arg3 = (int *) 0 ;
28335 int *arg4 = (int *) 0 ;
28336 int *arg5 = (int *) 0 ;
28337 void *argp1 = 0 ;
28338 int res1 = 0 ;
28339 int temp2 ;
28340 int res2 = SWIG_TMPOBJ ;
28341 int temp3 ;
28342 int res3 = SWIG_TMPOBJ ;
28343 int temp4 ;
28344 int res4 = SWIG_TMPOBJ ;
28345 int temp5 ;
28346 int res5 = SWIG_TMPOBJ ;
28347 PyObject *swig_obj[1] ;
28348
28349 arg2 = &temp2;
28350 arg3 = &temp3;
28351 arg4 = &temp4;
28352 arg5 = &temp5;
28353 if (!args) SWIG_fail;
28354 swig_obj[0] = args;
28355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28356 if (!SWIG_IsOK(res1)) {
28357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28358 }
28359 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28360 {
28361 PyThreadState* __tstate = wxPyBeginAllowThreads();
28362 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28363 wxPyEndAllowThreads(__tstate);
28364 if (PyErr_Occurred()) SWIG_fail;
28365 }
28366 resultobj = SWIG_Py_Void();
28367 if (SWIG_IsTmpObj(res2)) {
28368 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28369 } else {
28370 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28371 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28372 }
28373 if (SWIG_IsTmpObj(res3)) {
28374 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28375 } else {
28376 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28377 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28378 }
28379 if (SWIG_IsTmpObj(res4)) {
28380 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28381 } else {
28382 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28383 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28384 }
28385 if (SWIG_IsTmpObj(res5)) {
28386 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28387 } else {
28388 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28389 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28390 }
28391 return resultobj;
28392fail:
28393 return NULL;
28394}
28395
28396
28397SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28398 PyObject *obj;
28399 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28400 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28401 return SWIG_Py_Void();
28402}
28403
28404SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28405 return SWIG_Python_InitShadowInstance(args);
28406}
28407
28408SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28409 PyObject *resultobj = 0;
28410 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28411 wxWindow *arg2 = (wxWindow *) 0 ;
28412 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28413 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28414 wxSize const &arg4_defvalue = wxDefaultSize ;
28415 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28416 long arg5 = (long) 0 ;
28417 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28418 wxString *arg6 = (wxString *) &arg6_defvalue ;
28419 wxPreviewCanvas *result = 0 ;
28420 void *argp1 = 0 ;
28421 int res1 = 0 ;
28422 void *argp2 = 0 ;
28423 int res2 = 0 ;
28424 wxPoint temp3 ;
28425 wxSize temp4 ;
28426 long val5 ;
28427 int ecode5 = 0 ;
28428 bool temp6 = false ;
28429 PyObject * obj0 = 0 ;
28430 PyObject * obj1 = 0 ;
28431 PyObject * obj2 = 0 ;
28432 PyObject * obj3 = 0 ;
28433 PyObject * obj4 = 0 ;
28434 PyObject * obj5 = 0 ;
28435 char * kwnames[] = {
28436 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28437 };
28438
28439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28441 if (!SWIG_IsOK(res1)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28443 }
28444 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28445 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28446 if (!SWIG_IsOK(res2)) {
28447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28448 }
28449 arg2 = reinterpret_cast< wxWindow * >(argp2);
28450 if (obj2) {
093d3ff1 28451 {
0085ce49
RD
28452 arg3 = &temp3;
28453 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 28454 }
0085ce49
RD
28455 }
28456 if (obj3) {
093d3ff1 28457 {
0085ce49
RD
28458 arg4 = &temp4;
28459 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
994141e6 28460 }
0085ce49
RD
28461 }
28462 if (obj4) {
28463 ecode5 = SWIG_AsVal_long(obj4, &val5);
28464 if (!SWIG_IsOK(ecode5)) {
28465 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28466 }
28467 arg5 = static_cast< long >(val5);
28468 }
28469 if (obj5) {
d14a1e28 28470 {
0085ce49
RD
28471 arg6 = wxString_in_helper(obj5);
28472 if (arg6 == NULL) SWIG_fail;
28473 temp6 = true;
093d3ff1 28474 }
0085ce49
RD
28475 }
28476 {
28477 if (!wxPyCheckForApp()) SWIG_fail;
28478 PyThreadState* __tstate = wxPyBeginAllowThreads();
28479 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28480 wxPyEndAllowThreads(__tstate);
28481 if (PyErr_Occurred()) SWIG_fail;
28482 }
28483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28484 {
28485 if (temp6)
28486 delete arg6;
28487 }
28488 return resultobj;
28489fail:
28490 {
28491 if (temp6)
28492 delete arg6;
28493 }
28494 return NULL;
28495}
28496
28497
28498SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28499 PyObject *obj;
28500 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28501 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28502 return SWIG_Py_Void();
28503}
28504
28505SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28506 return SWIG_Python_InitShadowInstance(args);
28507}
28508
28509SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28510 PyObject *resultobj = 0;
28511 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28512 wxFrame *arg2 = (wxFrame *) 0 ;
28513 wxString *arg3 = 0 ;
28514 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28515 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28516 wxSize const &arg5_defvalue = wxDefaultSize ;
28517 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28518 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28519 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28520 wxString *arg7 = (wxString *) &arg7_defvalue ;
28521 wxPreviewFrame *result = 0 ;
28522 int res1 = 0 ;
28523 void *argp2 = 0 ;
28524 int res2 = 0 ;
28525 bool temp3 = false ;
28526 wxPoint temp4 ;
28527 wxSize temp5 ;
28528 long val6 ;
28529 int ecode6 = 0 ;
28530 bool temp7 = false ;
28531 PyObject * obj0 = 0 ;
28532 PyObject * obj1 = 0 ;
28533 PyObject * obj2 = 0 ;
28534 PyObject * obj3 = 0 ;
28535 PyObject * obj4 = 0 ;
28536 PyObject * obj5 = 0 ;
28537 PyObject * obj6 = 0 ;
28538 char * kwnames[] = {
28539 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28540 };
28541
28542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28543 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28544 if (!SWIG_IsOK(res1)) {
28545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28546 }
28547 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28548 if (!SWIG_IsOK(res2)) {
28549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28550 }
28551 arg2 = reinterpret_cast< wxFrame * >(argp2);
28552 {
28553 arg3 = wxString_in_helper(obj2);
28554 if (arg3 == NULL) SWIG_fail;
28555 temp3 = true;
28556 }
28557 if (obj3) {
093d3ff1 28558 {
0085ce49
RD
28559 arg4 = &temp4;
28560 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 28561 }
0085ce49
RD
28562 }
28563 if (obj4) {
d14a1e28 28564 {
0085ce49
RD
28565 arg5 = &temp5;
28566 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 28567 }
0085ce49
RD
28568 }
28569 if (obj5) {
28570 ecode6 = SWIG_AsVal_long(obj5, &val6);
28571 if (!SWIG_IsOK(ecode6)) {
28572 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28573 }
28574 arg6 = static_cast< long >(val6);
28575 }
28576 if (obj6) {
093d3ff1 28577 {
0085ce49
RD
28578 arg7 = wxString_in_helper(obj6);
28579 if (arg7 == NULL) SWIG_fail;
28580 temp7 = true;
093d3ff1 28581 }
0085ce49
RD
28582 }
28583 {
28584 if (!wxPyCheckForApp()) SWIG_fail;
28585 PyThreadState* __tstate = wxPyBeginAllowThreads();
28586 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28587 wxPyEndAllowThreads(__tstate);
28588 if (PyErr_Occurred()) SWIG_fail;
28589 }
28590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28591 {
28592 if (temp3)
28593 delete arg3;
28594 }
28595 {
28596 if (temp7)
28597 delete arg7;
28598 }
28599 return resultobj;
28600fail:
28601 {
28602 if (temp3)
28603 delete arg3;
28604 }
28605 {
28606 if (temp7)
28607 delete arg7;
28608 }
28609 return NULL;
d14a1e28
RD
28610}
28611
28612
0085ce49
RD
28613SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28614 PyObject *resultobj = 0;
28615 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28616 void *argp1 = 0 ;
28617 int res1 = 0 ;
28618 PyObject *swig_obj[1] ;
28619
28620 if (!args) SWIG_fail;
28621 swig_obj[0] = args;
28622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28623 if (!SWIG_IsOK(res1)) {
28624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28625 }
28626 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28627 {
28628 PyThreadState* __tstate = wxPyBeginAllowThreads();
28629 (arg1)->Initialize();
28630 wxPyEndAllowThreads(__tstate);
28631 if (PyErr_Occurred()) SWIG_fail;
28632 }
28633 resultobj = SWIG_Py_Void();
28634 return resultobj;
28635fail:
28636 return NULL;
d14a1e28
RD
28637}
28638
28639
0085ce49
RD
28640SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28641 PyObject *resultobj = 0;
28642 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28643 void *argp1 = 0 ;
28644 int res1 = 0 ;
28645 PyObject *swig_obj[1] ;
28646
28647 if (!args) SWIG_fail;
28648 swig_obj[0] = args;
28649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28650 if (!SWIG_IsOK(res1)) {
28651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28652 }
28653 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28654 {
28655 PyThreadState* __tstate = wxPyBeginAllowThreads();
28656 (arg1)->CreateControlBar();
28657 wxPyEndAllowThreads(__tstate);
28658 if (PyErr_Occurred()) SWIG_fail;
28659 }
28660 resultobj = SWIG_Py_Void();
28661 return resultobj;
28662fail:
28663 return NULL;
d14a1e28
RD
28664}
28665
28666
0085ce49
RD
28667SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28668 PyObject *resultobj = 0;
28669 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28670 void *argp1 = 0 ;
28671 int res1 = 0 ;
28672 PyObject *swig_obj[1] ;
28673
28674 if (!args) SWIG_fail;
28675 swig_obj[0] = args;
28676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28677 if (!SWIG_IsOK(res1)) {
28678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28679 }
28680 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28681 {
28682 PyThreadState* __tstate = wxPyBeginAllowThreads();
28683 (arg1)->CreateCanvas();
28684 wxPyEndAllowThreads(__tstate);
28685 if (PyErr_Occurred()) SWIG_fail;
28686 }
28687 resultobj = SWIG_Py_Void();
28688 return resultobj;
28689fail:
28690 return NULL;
d14a1e28
RD
28691}
28692
28693
0085ce49
RD
28694SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28695 PyObject *resultobj = 0;
28696 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28697 wxPreviewControlBar *result = 0 ;
28698 void *argp1 = 0 ;
28699 int res1 = 0 ;
28700 PyObject *swig_obj[1] ;
28701
28702 if (!args) SWIG_fail;
28703 swig_obj[0] = args;
28704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28705 if (!SWIG_IsOK(res1)) {
28706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28707 }
28708 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28709 {
28710 PyThreadState* __tstate = wxPyBeginAllowThreads();
28711 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28712 wxPyEndAllowThreads(__tstate);
28713 if (PyErr_Occurred()) SWIG_fail;
28714 }
28715 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28716 return resultobj;
28717fail:
28718 return NULL;
28719}
28720
28721
28722SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28723 PyObject *obj;
28724 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28725 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28726 return SWIG_Py_Void();
28727}
28728
28729SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28730 return SWIG_Python_InitShadowInstance(args);
28731}
28732
28733SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28734 PyObject *resultobj = 0;
28735 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28736 long arg2 ;
28737 wxWindow *arg3 = (wxWindow *) 0 ;
28738 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28739 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28740 wxSize const &arg5_defvalue = wxDefaultSize ;
28741 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28742 long arg6 = (long) wxTAB_TRAVERSAL ;
28743 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28744 wxString *arg7 = (wxString *) &arg7_defvalue ;
28745 wxPreviewControlBar *result = 0 ;
28746 void *argp1 = 0 ;
28747 int res1 = 0 ;
28748 long val2 ;
28749 int ecode2 = 0 ;
28750 void *argp3 = 0 ;
28751 int res3 = 0 ;
28752 wxPoint temp4 ;
28753 wxSize temp5 ;
28754 long val6 ;
28755 int ecode6 = 0 ;
28756 bool temp7 = false ;
28757 PyObject * obj0 = 0 ;
28758 PyObject * obj1 = 0 ;
28759 PyObject * obj2 = 0 ;
28760 PyObject * obj3 = 0 ;
28761 PyObject * obj4 = 0 ;
28762 PyObject * obj5 = 0 ;
28763 PyObject * obj6 = 0 ;
28764 char * kwnames[] = {
28765 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28766 };
28767
28768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28770 if (!SWIG_IsOK(res1)) {
28771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28772 }
28773 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28774 ecode2 = SWIG_AsVal_long(obj1, &val2);
28775 if (!SWIG_IsOK(ecode2)) {
28776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28777 }
28778 arg2 = static_cast< long >(val2);
28779 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28780 if (!SWIG_IsOK(res3)) {
28781 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28782 }
28783 arg3 = reinterpret_cast< wxWindow * >(argp3);
28784 if (obj3) {
d14a1e28 28785 {
0085ce49
RD
28786 arg4 = &temp4;
28787 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 28788 }
0085ce49
RD
28789 }
28790 if (obj4) {
d14a1e28 28791 {
0085ce49
RD
28792 arg5 = &temp5;
28793 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 28794 }
0085ce49
RD
28795 }
28796 if (obj5) {
28797 ecode6 = SWIG_AsVal_long(obj5, &val6);
28798 if (!SWIG_IsOK(ecode6)) {
28799 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28800 }
28801 arg6 = static_cast< long >(val6);
28802 }
28803 if (obj6) {
d14a1e28 28804 {
0085ce49
RD
28805 arg7 = wxString_in_helper(obj6);
28806 if (arg7 == NULL) SWIG_fail;
28807 temp7 = true;
d14a1e28 28808 }
0085ce49
RD
28809 }
28810 {
28811 if (!wxPyCheckForApp()) SWIG_fail;
28812 PyThreadState* __tstate = wxPyBeginAllowThreads();
28813 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28814 wxPyEndAllowThreads(__tstate);
28815 if (PyErr_Occurred()) SWIG_fail;
28816 }
28817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28818 {
28819 if (temp7)
28820 delete arg7;
28821 }
28822 return resultobj;
28823fail:
28824 {
28825 if (temp7)
28826 delete arg7;
28827 }
28828 return NULL;
d14a1e28
RD
28829}
28830
28831
0085ce49
RD
28832SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28833 PyObject *resultobj = 0;
28834 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28835 int result;
28836 void *argp1 = 0 ;
28837 int res1 = 0 ;
28838 PyObject *swig_obj[1] ;
28839
28840 if (!args) SWIG_fail;
28841 swig_obj[0] = args;
28842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28843 if (!SWIG_IsOK(res1)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28845 }
28846 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28847 {
28848 PyThreadState* __tstate = wxPyBeginAllowThreads();
28849 result = (int)(arg1)->GetZoomControl();
28850 wxPyEndAllowThreads(__tstate);
28851 if (PyErr_Occurred()) SWIG_fail;
28852 }
28853 resultobj = SWIG_From_int(static_cast< int >(result));
28854 return resultobj;
28855fail:
28856 return NULL;
28857}
28858
28859
28860SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28861 PyObject *resultobj = 0;
28862 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28863 int arg2 ;
28864 void *argp1 = 0 ;
28865 int res1 = 0 ;
28866 int val2 ;
28867 int ecode2 = 0 ;
28868 PyObject * obj0 = 0 ;
28869 PyObject * obj1 = 0 ;
28870 char * kwnames[] = {
28871 (char *) "self",(char *) "zoom", NULL
28872 };
28873
28874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28876 if (!SWIG_IsOK(res1)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28878 }
28879 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28880 ecode2 = SWIG_AsVal_int(obj1, &val2);
28881 if (!SWIG_IsOK(ecode2)) {
28882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28883 }
28884 arg2 = static_cast< int >(val2);
28885 {
28886 PyThreadState* __tstate = wxPyBeginAllowThreads();
28887 (arg1)->SetZoomControl(arg2);
28888 wxPyEndAllowThreads(__tstate);
28889 if (PyErr_Occurred()) SWIG_fail;
28890 }
28891 resultobj = SWIG_Py_Void();
28892 return resultobj;
28893fail:
28894 return NULL;
d14a1e28
RD
28895}
28896
28897
0085ce49
RD
28898SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28899 PyObject *resultobj = 0;
28900 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28901 wxPrintPreview *result = 0 ;
28902 void *argp1 = 0 ;
28903 int res1 = 0 ;
28904 PyObject *swig_obj[1] ;
28905
28906 if (!args) SWIG_fail;
28907 swig_obj[0] = args;
28908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28909 if (!SWIG_IsOK(res1)) {
28910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28911 }
28912 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28913 {
28914 PyThreadState* __tstate = wxPyBeginAllowThreads();
28915 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28916 wxPyEndAllowThreads(__tstate);
28917 if (PyErr_Occurred()) SWIG_fail;
28918 }
28919 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28920 return resultobj;
28921fail:
28922 return NULL;
d14a1e28
RD
28923}
28924
28925
0085ce49
RD
28926SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28927 PyObject *resultobj = 0;
28928 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28929 void *argp1 = 0 ;
28930 int res1 = 0 ;
28931 PyObject *swig_obj[1] ;
28932
28933 if (!args) SWIG_fail;
28934 swig_obj[0] = args;
28935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28936 if (!SWIG_IsOK(res1)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28938 }
28939 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28940 {
28941 PyThreadState* __tstate = wxPyBeginAllowThreads();
28942 (arg1)->OnNext();
28943 wxPyEndAllowThreads(__tstate);
28944 if (PyErr_Occurred()) SWIG_fail;
28945 }
28946 resultobj = SWIG_Py_Void();
28947 return resultobj;
28948fail:
28949 return NULL;
d14a1e28
RD
28950}
28951
28952
0085ce49
RD
28953SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28954 PyObject *resultobj = 0;
28955 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28956 void *argp1 = 0 ;
28957 int res1 = 0 ;
28958 PyObject *swig_obj[1] ;
28959
28960 if (!args) SWIG_fail;
28961 swig_obj[0] = args;
28962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28963 if (!SWIG_IsOK(res1)) {
28964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28965 }
28966 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28967 {
28968 PyThreadState* __tstate = wxPyBeginAllowThreads();
28969 (arg1)->OnPrevious();
28970 wxPyEndAllowThreads(__tstate);
28971 if (PyErr_Occurred()) SWIG_fail;
28972 }
28973 resultobj = SWIG_Py_Void();
28974 return resultobj;
28975fail:
28976 return NULL;
d14a1e28
RD
28977}
28978
28979
0085ce49
RD
28980SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28981 PyObject *resultobj = 0;
28982 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28983 void *argp1 = 0 ;
28984 int res1 = 0 ;
28985 PyObject *swig_obj[1] ;
28986
28987 if (!args) SWIG_fail;
28988 swig_obj[0] = args;
28989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28990 if (!SWIG_IsOK(res1)) {
28991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28992 }
28993 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28994 {
28995 PyThreadState* __tstate = wxPyBeginAllowThreads();
28996 (arg1)->OnFirst();
28997 wxPyEndAllowThreads(__tstate);
28998 if (PyErr_Occurred()) SWIG_fail;
28999 }
29000 resultobj = SWIG_Py_Void();
29001 return resultobj;
29002fail:
29003 return NULL;
d14a1e28
RD
29004}
29005
29006
0085ce49
RD
29007SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29008 PyObject *resultobj = 0;
29009 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29010 void *argp1 = 0 ;
29011 int res1 = 0 ;
29012 PyObject *swig_obj[1] ;
29013
29014 if (!args) SWIG_fail;
29015 swig_obj[0] = args;
29016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29017 if (!SWIG_IsOK(res1)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29019 }
29020 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29021 {
29022 PyThreadState* __tstate = wxPyBeginAllowThreads();
29023 (arg1)->OnLast();
29024 wxPyEndAllowThreads(__tstate);
29025 if (PyErr_Occurred()) SWIG_fail;
29026 }
29027 resultobj = SWIG_Py_Void();
29028 return resultobj;
29029fail:
29030 return NULL;
d14a1e28
RD
29031}
29032
29033
0085ce49
RD
29034SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29035 PyObject *resultobj = 0;
29036 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29037 void *argp1 = 0 ;
29038 int res1 = 0 ;
29039 PyObject *swig_obj[1] ;
29040
29041 if (!args) SWIG_fail;
29042 swig_obj[0] = args;
29043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29044 if (!SWIG_IsOK(res1)) {
29045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29046 }
29047 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29048 {
29049 PyThreadState* __tstate = wxPyBeginAllowThreads();
29050 (arg1)->OnGoto();
29051 wxPyEndAllowThreads(__tstate);
29052 if (PyErr_Occurred()) SWIG_fail;
29053 }
29054 resultobj = SWIG_Py_Void();
29055 return resultobj;
29056fail:
29057 return NULL;
d14a1e28
RD
29058}
29059
29060
0085ce49
RD
29061SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29062 PyObject *obj;
29063 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29064 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29065 return SWIG_Py_Void();
d14a1e28
RD
29066}
29067
0085ce49
RD
29068SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29069 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
29070}
29071
0085ce49
RD
29072SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29073 PyObject *resultobj = 0;
29074 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29075 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29076 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29077 wxPrintPreview *result = 0 ;
29078 int res1 = 0 ;
29079 int res2 = 0 ;
29080 void *argp3 = 0 ;
29081 int res3 = 0 ;
29082
29083 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29084 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29085 if (!SWIG_IsOK(res1)) {
29086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29087 }
29088 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29089 if (!SWIG_IsOK(res2)) {
29090 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29091 }
29092 if (swig_obj[2]) {
29093 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29094 if (!SWIG_IsOK(res3)) {
29095 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
1cb4a8aa 29096 }
0085ce49
RD
29097 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29098 }
29099 {
29100 if (!wxPyCheckForApp()) SWIG_fail;
29101 PyThreadState* __tstate = wxPyBeginAllowThreads();
29102 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29103 wxPyEndAllowThreads(__tstate);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 }
29106 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29107 return resultobj;
29108fail:
29109 return NULL;
29110}
29111
29112
29113SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29114 PyObject *resultobj = 0;
29115 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29116 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29117 wxPrintData *arg3 = (wxPrintData *) 0 ;
29118 wxPrintPreview *result = 0 ;
29119 int res1 = 0 ;
29120 int res2 = 0 ;
29121 void *argp3 = 0 ;
29122 int res3 = 0 ;
29123
29124 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29125 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29126 if (!SWIG_IsOK(res1)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29128 }
29129 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29130 if (!SWIG_IsOK(res2)) {
29131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29132 }
29133 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29134 if (!SWIG_IsOK(res3)) {
29135 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29136 }
29137 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29138 {
29139 if (!wxPyCheckForApp()) SWIG_fail;
29140 PyThreadState* __tstate = wxPyBeginAllowThreads();
29141 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29142 wxPyEndAllowThreads(__tstate);
29143 if (PyErr_Occurred()) SWIG_fail;
29144 }
29145 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29146 return resultobj;
29147fail:
29148 return NULL;
1cb4a8aa
RD
29149}
29150
29151
0085ce49
RD
29152SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29153 int argc;
29154 PyObject *argv[4];
29155
29156 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29157 --argc;
29158 if ((argc >= 2) && (argc <= 3)) {
29159 int _v = 0;
29160 if (argc > 2) {
29161 {
29162 void *vptr = 0;
29163 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29164 _v = SWIG_CheckState(res);
29165 }
29166 if (!_v) goto check_1;
db3e571a 29167 }
0085ce49
RD
29168 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29169 }
29170check_1:
29171
29172 if (argc == 3) {
29173 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29174 }
29175
29176fail:
29177 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29178 return NULL;
db3e571a
RD
29179}
29180
29181
0085ce49
RD
29182SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29183 PyObject *resultobj = 0;
29184 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29185 void *argp1 = 0 ;
29186 int res1 = 0 ;
29187 PyObject *swig_obj[1] ;
29188
29189 if (!args) SWIG_fail;
29190 swig_obj[0] = args;
29191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29192 if (!SWIG_IsOK(res1)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29194 }
29195 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29196 {
29197 PyThreadState* __tstate = wxPyBeginAllowThreads();
29198 delete arg1;
29199
29200 wxPyEndAllowThreads(__tstate);
29201 if (PyErr_Occurred()) SWIG_fail;
29202 }
29203 resultobj = SWIG_Py_Void();
29204 return resultobj;
29205fail:
29206 return NULL;
29207}
29208
29209
29210SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29211 PyObject *resultobj = 0;
29212 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29213 int arg2 ;
29214 bool result;
29215 void *argp1 = 0 ;
29216 int res1 = 0 ;
29217 int val2 ;
29218 int ecode2 = 0 ;
29219 PyObject * obj0 = 0 ;
29220 PyObject * obj1 = 0 ;
29221 char * kwnames[] = {
29222 (char *) "self",(char *) "pageNum", NULL
29223 };
29224
29225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29227 if (!SWIG_IsOK(res1)) {
29228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29229 }
29230 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29231 ecode2 = SWIG_AsVal_int(obj1, &val2);
29232 if (!SWIG_IsOK(ecode2)) {
29233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29234 }
29235 arg2 = static_cast< int >(val2);
29236 {
29237 PyThreadState* __tstate = wxPyBeginAllowThreads();
29238 result = (bool)(arg1)->SetCurrentPage(arg2);
29239 wxPyEndAllowThreads(__tstate);
29240 if (PyErr_Occurred()) SWIG_fail;
29241 }
29242 {
29243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29244 }
29245 return resultobj;
29246fail:
29247 return NULL;
8d38bd1d
RD
29248}
29249
29250
0085ce49
RD
29251SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29252 PyObject *resultobj = 0;
29253 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29254 int result;
29255 void *argp1 = 0 ;
29256 int res1 = 0 ;
29257 PyObject *swig_obj[1] ;
29258
29259 if (!args) SWIG_fail;
29260 swig_obj[0] = args;
29261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29262 if (!SWIG_IsOK(res1)) {
29263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29264 }
29265 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29266 {
29267 PyThreadState* __tstate = wxPyBeginAllowThreads();
29268 result = (int)(arg1)->GetCurrentPage();
29269 wxPyEndAllowThreads(__tstate);
29270 if (PyErr_Occurred()) SWIG_fail;
29271 }
29272 resultobj = SWIG_From_int(static_cast< int >(result));
29273 return resultobj;
29274fail:
29275 return NULL;
29276}
29277
29278
29279SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29280 PyObject *resultobj = 0;
29281 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29282 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29283 void *argp1 = 0 ;
29284 int res1 = 0 ;
29285 int res2 = 0 ;
29286 PyObject * obj0 = 0 ;
29287 PyObject * obj1 = 0 ;
29288 char * kwnames[] = {
29289 (char *) "self",(char *) "printout", NULL
29290 };
29291
29292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29294 if (!SWIG_IsOK(res1)) {
29295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29296 }
29297 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29298 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29299 if (!SWIG_IsOK(res2)) {
29300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29301 }
29302 {
29303 PyThreadState* __tstate = wxPyBeginAllowThreads();
29304 (arg1)->SetPrintout(arg2);
29305 wxPyEndAllowThreads(__tstate);
29306 if (PyErr_Occurred()) SWIG_fail;
29307 }
29308 resultobj = SWIG_Py_Void();
29309 return resultobj;
29310fail:
29311 return NULL;
d14a1e28
RD
29312}
29313
29314
0085ce49
RD
29315SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29316 PyObject *resultobj = 0;
29317 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29318 wxPyPrintout *result = 0 ;
29319 void *argp1 = 0 ;
29320 int res1 = 0 ;
29321 PyObject *swig_obj[1] ;
29322
29323 if (!args) SWIG_fail;
29324 swig_obj[0] = args;
29325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29326 if (!SWIG_IsOK(res1)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29328 }
29329 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29330 {
29331 PyThreadState* __tstate = wxPyBeginAllowThreads();
29332 result = (wxPyPrintout *)(arg1)->GetPrintout();
29333 wxPyEndAllowThreads(__tstate);
29334 if (PyErr_Occurred()) SWIG_fail;
29335 }
29336 {
29337 resultobj = wxPyMake_wxObject(result, 0);
29338 }
29339 return resultobj;
29340fail:
29341 return NULL;
1cb4a8aa
RD
29342}
29343
29344
0085ce49
RD
29345SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29346 PyObject *resultobj = 0;
29347 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29348 wxPyPrintout *result = 0 ;
29349 void *argp1 = 0 ;
29350 int res1 = 0 ;
29351 PyObject *swig_obj[1] ;
29352
29353 if (!args) SWIG_fail;
29354 swig_obj[0] = args;
29355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29356 if (!SWIG_IsOK(res1)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29358 }
29359 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29360 {
29361 PyThreadState* __tstate = wxPyBeginAllowThreads();
29362 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29363 wxPyEndAllowThreads(__tstate);
29364 if (PyErr_Occurred()) SWIG_fail;
29365 }
29366 {
29367 resultobj = wxPyMake_wxObject(result, 0);
29368 }
29369 return resultobj;
29370fail:
29371 return NULL;
29372}
29373
29374
29375SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29376 PyObject *resultobj = 0;
29377 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29378 wxFrame *arg2 = (wxFrame *) 0 ;
29379 void *argp1 = 0 ;
29380 int res1 = 0 ;
29381 void *argp2 = 0 ;
29382 int res2 = 0 ;
29383 PyObject * obj0 = 0 ;
29384 PyObject * obj1 = 0 ;
29385 char * kwnames[] = {
29386 (char *) "self",(char *) "frame", NULL
29387 };
29388
29389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29391 if (!SWIG_IsOK(res1)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29393 }
29394 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29395 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29396 if (!SWIG_IsOK(res2)) {
29397 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29398 }
29399 arg2 = reinterpret_cast< wxFrame * >(argp2);
29400 {
29401 PyThreadState* __tstate = wxPyBeginAllowThreads();
29402 (arg1)->SetFrame(arg2);
29403 wxPyEndAllowThreads(__tstate);
29404 if (PyErr_Occurred()) SWIG_fail;
29405 }
29406 resultobj = SWIG_Py_Void();
29407 return resultobj;
29408fail:
29409 return NULL;
29410}
29411
29412
29413SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29414 PyObject *resultobj = 0;
29415 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29416 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29417 void *argp1 = 0 ;
29418 int res1 = 0 ;
29419 void *argp2 = 0 ;
29420 int res2 = 0 ;
29421 PyObject * obj0 = 0 ;
29422 PyObject * obj1 = 0 ;
29423 char * kwnames[] = {
29424 (char *) "self",(char *) "canvas", NULL
29425 };
29426
29427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29429 if (!SWIG_IsOK(res1)) {
29430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29431 }
29432 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29433 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29434 if (!SWIG_IsOK(res2)) {
29435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29436 }
29437 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29438 {
29439 PyThreadState* __tstate = wxPyBeginAllowThreads();
29440 (arg1)->SetCanvas(arg2);
29441 wxPyEndAllowThreads(__tstate);
29442 if (PyErr_Occurred()) SWIG_fail;
29443 }
29444 resultobj = SWIG_Py_Void();
29445 return resultobj;
29446fail:
29447 return NULL;
d14a1e28
RD
29448}
29449
29450
0085ce49
RD
29451SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29452 PyObject *resultobj = 0;
29453 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29454 wxFrame *result = 0 ;
29455 void *argp1 = 0 ;
29456 int res1 = 0 ;
29457 PyObject *swig_obj[1] ;
29458
29459 if (!args) SWIG_fail;
29460 swig_obj[0] = args;
29461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29462 if (!SWIG_IsOK(res1)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29464 }
29465 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29466 {
29467 PyThreadState* __tstate = wxPyBeginAllowThreads();
29468 result = (wxFrame *)(arg1)->GetFrame();
29469 wxPyEndAllowThreads(__tstate);
29470 if (PyErr_Occurred()) SWIG_fail;
29471 }
29472 {
29473 resultobj = wxPyMake_wxObject(result, 0);
29474 }
29475 return resultobj;
29476fail:
29477 return NULL;
db3e571a
RD
29478}
29479
29480
0085ce49
RD
29481SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29482 PyObject *resultobj = 0;
29483 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29484 wxPreviewCanvas *result = 0 ;
29485 void *argp1 = 0 ;
29486 int res1 = 0 ;
29487 PyObject *swig_obj[1] ;
29488
29489 if (!args) SWIG_fail;
29490 swig_obj[0] = args;
29491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29492 if (!SWIG_IsOK(res1)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29494 }
29495 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29496 {
29497 PyThreadState* __tstate = wxPyBeginAllowThreads();
29498 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29499 wxPyEndAllowThreads(__tstate);
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
29502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29503 return resultobj;
29504fail:
29505 return NULL;
29506}
29507
29508
29509SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29510 PyObject *resultobj = 0;
29511 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29512 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29513 wxDC *arg3 = 0 ;
29514 bool result;
29515 void *argp1 = 0 ;
29516 int res1 = 0 ;
29517 void *argp2 = 0 ;
29518 int res2 = 0 ;
29519 void *argp3 = 0 ;
29520 int res3 = 0 ;
29521 PyObject * obj0 = 0 ;
29522 PyObject * obj1 = 0 ;
29523 PyObject * obj2 = 0 ;
29524 char * kwnames[] = {
29525 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29526 };
29527
29528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29530 if (!SWIG_IsOK(res1)) {
29531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29532 }
29533 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29534 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29535 if (!SWIG_IsOK(res2)) {
29536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29537 }
29538 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29539 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29540 if (!SWIG_IsOK(res3)) {
29541 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29542 }
29543 if (!argp3) {
29544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29545 }
29546 arg3 = reinterpret_cast< wxDC * >(argp3);
29547 {
29548 PyThreadState* __tstate = wxPyBeginAllowThreads();
29549 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29550 wxPyEndAllowThreads(__tstate);
29551 if (PyErr_Occurred()) SWIG_fail;
29552 }
29553 {
29554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29555 }
29556 return resultobj;
29557fail:
29558 return NULL;
29559}
29560
29561
29562SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29563 PyObject *resultobj = 0;
29564 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29565 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29566 wxDC *arg3 = 0 ;
29567 bool result;
29568 void *argp1 = 0 ;
29569 int res1 = 0 ;
29570 void *argp2 = 0 ;
29571 int res2 = 0 ;
29572 void *argp3 = 0 ;
29573 int res3 = 0 ;
29574 PyObject * obj0 = 0 ;
29575 PyObject * obj1 = 0 ;
29576 PyObject * obj2 = 0 ;
29577 char * kwnames[] = {
29578 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29579 };
29580
29581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29583 if (!SWIG_IsOK(res1)) {
29584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29585 }
29586 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29587 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29588 if (!SWIG_IsOK(res2)) {
29589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29590 }
29591 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29592 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29593 if (!SWIG_IsOK(res3)) {
29594 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29595 }
29596 if (!argp3) {
29597 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29598 }
29599 arg3 = reinterpret_cast< wxDC * >(argp3);
29600 {
29601 PyThreadState* __tstate = wxPyBeginAllowThreads();
29602 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29603 wxPyEndAllowThreads(__tstate);
29604 if (PyErr_Occurred()) SWIG_fail;
29605 }
29606 {
29607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29608 }
29609 return resultobj;
29610fail:
29611 return NULL;
29612}
29613
29614
29615SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29616 PyObject *resultobj = 0;
29617 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29618 int arg2 ;
29619 bool result;
29620 void *argp1 = 0 ;
29621 int res1 = 0 ;
29622 int val2 ;
29623 int ecode2 = 0 ;
29624 PyObject * obj0 = 0 ;
29625 PyObject * obj1 = 0 ;
29626 char * kwnames[] = {
29627 (char *) "self",(char *) "pageNum", NULL
29628 };
29629
29630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29632 if (!SWIG_IsOK(res1)) {
29633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29634 }
29635 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29636 ecode2 = SWIG_AsVal_int(obj1, &val2);
29637 if (!SWIG_IsOK(ecode2)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29639 }
29640 arg2 = static_cast< int >(val2);
29641 {
29642 PyThreadState* __tstate = wxPyBeginAllowThreads();
29643 result = (bool)(arg1)->RenderPage(arg2);
29644 wxPyEndAllowThreads(__tstate);
29645 if (PyErr_Occurred()) SWIG_fail;
29646 }
29647 {
29648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29649 }
29650 return resultobj;
29651fail:
29652 return NULL;
29653}
29654
29655
29656SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29657 PyObject *resultobj = 0;
29658 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29659 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29660 void *argp1 = 0 ;
29661 int res1 = 0 ;
29662 void *argp2 = 0 ;
29663 int res2 = 0 ;
29664 PyObject * obj0 = 0 ;
29665 PyObject * obj1 = 0 ;
29666 char * kwnames[] = {
29667 (char *) "self",(char *) "canvas", NULL
29668 };
29669
29670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29672 if (!SWIG_IsOK(res1)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29674 }
29675 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29676 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29677 if (!SWIG_IsOK(res2)) {
29678 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29679 }
29680 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29681 {
29682 PyThreadState* __tstate = wxPyBeginAllowThreads();
29683 (arg1)->AdjustScrollbars(arg2);
29684 wxPyEndAllowThreads(__tstate);
29685 if (PyErr_Occurred()) SWIG_fail;
29686 }
29687 resultobj = SWIG_Py_Void();
29688 return resultobj;
29689fail:
29690 return NULL;
976dbff5
RD
29691}
29692
29693
0085ce49
RD
29694SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29695 PyObject *resultobj = 0;
29696 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29697 wxPrintDialogData *result = 0 ;
29698 void *argp1 = 0 ;
29699 int res1 = 0 ;
29700 PyObject *swig_obj[1] ;
29701
29702 if (!args) SWIG_fail;
29703 swig_obj[0] = args;
29704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29705 if (!SWIG_IsOK(res1)) {
29706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29707 }
29708 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29709 {
29710 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29711 {
0085ce49
RD
29712 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29713 result = (wxPrintDialogData *) &_result_ref;
093d3ff1 29714 }
0085ce49
RD
29715 wxPyEndAllowThreads(__tstate);
29716 if (PyErr_Occurred()) SWIG_fail;
29717 }
29718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29719 return resultobj;
29720fail:
29721 return NULL;
29722}
29723
29724
29725SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29726 PyObject *resultobj = 0;
29727 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29728 int arg2 ;
29729 void *argp1 = 0 ;
29730 int res1 = 0 ;
29731 int val2 ;
29732 int ecode2 = 0 ;
29733 PyObject * obj0 = 0 ;
29734 PyObject * obj1 = 0 ;
29735 char * kwnames[] = {
29736 (char *) "self",(char *) "percent", NULL
29737 };
29738
29739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29741 if (!SWIG_IsOK(res1)) {
29742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29743 }
29744 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29745 ecode2 = SWIG_AsVal_int(obj1, &val2);
29746 if (!SWIG_IsOK(ecode2)) {
29747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29748 }
29749 arg2 = static_cast< int >(val2);
29750 {
29751 PyThreadState* __tstate = wxPyBeginAllowThreads();
29752 (arg1)->SetZoom(arg2);
29753 wxPyEndAllowThreads(__tstate);
29754 if (PyErr_Occurred()) SWIG_fail;
29755 }
29756 resultobj = SWIG_Py_Void();
29757 return resultobj;
29758fail:
29759 return NULL;
d14a1e28
RD
29760}
29761
29762
0085ce49
RD
29763SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29764 PyObject *resultobj = 0;
29765 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29766 int result;
29767 void *argp1 = 0 ;
29768 int res1 = 0 ;
29769 PyObject *swig_obj[1] ;
29770
29771 if (!args) SWIG_fail;
29772 swig_obj[0] = args;
29773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29774 if (!SWIG_IsOK(res1)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29776 }
29777 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29778 {
29779 PyThreadState* __tstate = wxPyBeginAllowThreads();
29780 result = (int)(arg1)->GetZoom();
29781 wxPyEndAllowThreads(__tstate);
29782 if (PyErr_Occurred()) SWIG_fail;
29783 }
29784 resultobj = SWIG_From_int(static_cast< int >(result));
29785 return resultobj;
29786fail:
29787 return NULL;
d14a1e28
RD
29788}
29789
29790
0085ce49
RD
29791SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29792 PyObject *resultobj = 0;
29793 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29794 int result;
29795 void *argp1 = 0 ;
29796 int res1 = 0 ;
29797 PyObject *swig_obj[1] ;
29798
29799 if (!args) SWIG_fail;
29800 swig_obj[0] = args;
29801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29802 if (!SWIG_IsOK(res1)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29804 }
29805 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29806 {
29807 PyThreadState* __tstate = wxPyBeginAllowThreads();
29808 result = (int)(arg1)->GetMaxPage();
29809 wxPyEndAllowThreads(__tstate);
29810 if (PyErr_Occurred()) SWIG_fail;
29811 }
29812 resultobj = SWIG_From_int(static_cast< int >(result));
29813 return resultobj;
29814fail:
29815 return NULL;
d14a1e28
RD
29816}
29817
29818
0085ce49
RD
29819SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29820 PyObject *resultobj = 0;
29821 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29822 int result;
29823 void *argp1 = 0 ;
29824 int res1 = 0 ;
29825 PyObject *swig_obj[1] ;
29826
29827 if (!args) SWIG_fail;
29828 swig_obj[0] = args;
29829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29830 if (!SWIG_IsOK(res1)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29832 }
29833 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29834 {
29835 PyThreadState* __tstate = wxPyBeginAllowThreads();
29836 result = (int)(arg1)->GetMinPage();
29837 wxPyEndAllowThreads(__tstate);
29838 if (PyErr_Occurred()) SWIG_fail;
29839 }
29840 resultobj = SWIG_From_int(static_cast< int >(result));
29841 return resultobj;
29842fail:
29843 return NULL;
d14a1e28
RD
29844}
29845
29846
0085ce49
RD
29847SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29848 PyObject *resultobj = 0;
29849 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29850 bool result;
29851 void *argp1 = 0 ;
29852 int res1 = 0 ;
29853 PyObject *swig_obj[1] ;
29854
29855 if (!args) SWIG_fail;
29856 swig_obj[0] = args;
29857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29858 if (!SWIG_IsOK(res1)) {
29859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29860 }
29861 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29862 {
29863 PyThreadState* __tstate = wxPyBeginAllowThreads();
29864 result = (bool)(arg1)->Ok();
29865 wxPyEndAllowThreads(__tstate);
29866 if (PyErr_Occurred()) SWIG_fail;
29867 }
29868 {
29869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29870 }
29871 return resultobj;
29872fail:
29873 return NULL;
29874}
29875
29876
29877SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29878 PyObject *resultobj = 0;
29879 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29880 bool arg2 ;
29881 void *argp1 = 0 ;
29882 int res1 = 0 ;
29883 bool val2 ;
29884 int ecode2 = 0 ;
29885 PyObject * obj0 = 0 ;
29886 PyObject * obj1 = 0 ;
29887 char * kwnames[] = {
29888 (char *) "self",(char *) "ok", NULL
29889 };
29890
29891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29893 if (!SWIG_IsOK(res1)) {
29894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29895 }
29896 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29897 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29898 if (!SWIG_IsOK(ecode2)) {
29899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29900 }
29901 arg2 = static_cast< bool >(val2);
29902 {
29903 PyThreadState* __tstate = wxPyBeginAllowThreads();
29904 (arg1)->SetOk(arg2);
29905 wxPyEndAllowThreads(__tstate);
29906 if (PyErr_Occurred()) SWIG_fail;
29907 }
29908 resultobj = SWIG_Py_Void();
29909 return resultobj;
29910fail:
29911 return NULL;
29912}
29913
29914
29915SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29916 PyObject *resultobj = 0;
29917 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29918 bool arg2 ;
29919 bool result;
29920 void *argp1 = 0 ;
29921 int res1 = 0 ;
29922 bool val2 ;
29923 int ecode2 = 0 ;
29924 PyObject * obj0 = 0 ;
29925 PyObject * obj1 = 0 ;
29926 char * kwnames[] = {
29927 (char *) "self",(char *) "interactive", NULL
29928 };
29929
29930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29932 if (!SWIG_IsOK(res1)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29934 }
29935 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29936 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29937 if (!SWIG_IsOK(ecode2)) {
29938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29939 }
29940 arg2 = static_cast< bool >(val2);
29941 {
29942 PyThreadState* __tstate = wxPyBeginAllowThreads();
29943 result = (bool)(arg1)->Print(arg2);
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
29947 {
29948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29949 }
29950 return resultobj;
29951fail:
29952 return NULL;
d14a1e28
RD
29953}
29954
29955
0085ce49
RD
29956SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29957 PyObject *resultobj = 0;
29958 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29959 void *argp1 = 0 ;
29960 int res1 = 0 ;
29961 PyObject *swig_obj[1] ;
29962
29963 if (!args) SWIG_fail;
29964 swig_obj[0] = args;
29965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29966 if (!SWIG_IsOK(res1)) {
29967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29968 }
29969 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29970 {
29971 PyThreadState* __tstate = wxPyBeginAllowThreads();
29972 (arg1)->DetermineScaling();
29973 wxPyEndAllowThreads(__tstate);
29974 if (PyErr_Occurred()) SWIG_fail;
29975 }
29976 resultobj = SWIG_Py_Void();
29977 return resultobj;
29978fail:
29979 return NULL;
d14a1e28
RD
29980}
29981
29982
0085ce49
RD
29983SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29984 PyObject *obj;
29985 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29987 return SWIG_Py_Void();
d14a1e28
RD
29988}
29989
0085ce49
RD
29990SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29991 return SWIG_Python_InitShadowInstance(args);
29992}
d14a1e28 29993
0085ce49
RD
29994SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29995 PyObject *resultobj = 0;
29996 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29997 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29998 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29999 wxPyPrintPreview *result = 0 ;
30000 int res1 = 0 ;
30001 int res2 = 0 ;
30002 void *argp3 = 0 ;
30003 int res3 = 0 ;
30004
30005 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30006 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30007 if (!SWIG_IsOK(res1)) {
30008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30009 }
30010 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30011 if (!SWIG_IsOK(res2)) {
30012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30013 }
30014 if (swig_obj[2]) {
30015 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30016 if (!SWIG_IsOK(res3)) {
30017 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
d14a1e28 30018 }
0085ce49
RD
30019 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30020 }
30021 {
30022 if (!wxPyCheckForApp()) SWIG_fail;
30023 PyThreadState* __tstate = wxPyBeginAllowThreads();
30024 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30025 wxPyEndAllowThreads(__tstate);
30026 if (PyErr_Occurred()) SWIG_fail;
30027 }
30028 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30029 return resultobj;
30030fail:
30031 return NULL;
30032}
30033
30034
30035SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30036 PyObject *resultobj = 0;
30037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30038 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30039 wxPrintData *arg3 = (wxPrintData *) 0 ;
30040 wxPyPrintPreview *result = 0 ;
30041 int res1 = 0 ;
30042 int res2 = 0 ;
30043 void *argp3 = 0 ;
30044 int res3 = 0 ;
30045
30046 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30047 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30048 if (!SWIG_IsOK(res1)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30050 }
30051 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30052 if (!SWIG_IsOK(res2)) {
30053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30054 }
30055 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30056 if (!SWIG_IsOK(res3)) {
30057 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30058 }
30059 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30060 {
30061 if (!wxPyCheckForApp()) SWIG_fail;
30062 PyThreadState* __tstate = wxPyBeginAllowThreads();
30063 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30064 wxPyEndAllowThreads(__tstate);
30065 if (PyErr_Occurred()) SWIG_fail;
30066 }
30067 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30068 return resultobj;
30069fail:
30070 return NULL;
d14a1e28
RD
30071}
30072
30073
0085ce49
RD
30074SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30075 int argc;
30076 PyObject *argv[4];
30077
30078 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30079 --argc;
30080 if ((argc >= 2) && (argc <= 3)) {
30081 int _v = 0;
30082 if (argc > 2) {
30083 {
30084 void *vptr = 0;
30085 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30086 _v = SWIG_CheckState(res);
30087 }
30088 if (!_v) goto check_1;
30089 }
30090 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30091 }
30092check_1:
30093
30094 if (argc == 3) {
30095 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30096 }
30097
30098fail:
30099 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30100 return NULL;
30101}
30102
30103
30104SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30105 PyObject *resultobj = 0;
30106 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30107 PyObject *arg2 = (PyObject *) 0 ;
30108 PyObject *arg3 = (PyObject *) 0 ;
30109 void *argp1 = 0 ;
30110 int res1 = 0 ;
30111 PyObject * obj0 = 0 ;
30112 PyObject * obj1 = 0 ;
30113 PyObject * obj2 = 0 ;
30114 char * kwnames[] = {
30115 (char *) "self",(char *) "self",(char *) "_class", NULL
30116 };
30117
30118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30120 if (!SWIG_IsOK(res1)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30122 }
30123 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30124 arg2 = obj1;
30125 arg3 = obj2;
30126 {
30127 PyThreadState* __tstate = wxPyBeginAllowThreads();
30128 (arg1)->_setCallbackInfo(arg2,arg3);
30129 wxPyEndAllowThreads(__tstate);
30130 if (PyErr_Occurred()) SWIG_fail;
30131 }
30132 resultobj = SWIG_Py_Void();
30133 return resultobj;
30134fail:
30135 return NULL;
30136}
30137
30138
30139SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30140 PyObject *obj;
30141 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30142 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30143 return SWIG_Py_Void();
30144}
30145
30146SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30147 return SWIG_Python_InitShadowInstance(args);
30148}
30149
30150SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30151 PyObject *resultobj = 0;
30152 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30153 wxFrame *arg2 = (wxFrame *) 0 ;
30154 wxString *arg3 = 0 ;
30155 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30156 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30157 wxSize const &arg5_defvalue = wxDefaultSize ;
30158 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30159 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30160 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30161 wxString *arg7 = (wxString *) &arg7_defvalue ;
30162 wxPyPreviewFrame *result = 0 ;
30163 void *argp1 = 0 ;
30164 int res1 = 0 ;
30165 void *argp2 = 0 ;
30166 int res2 = 0 ;
30167 bool temp3 = false ;
30168 wxPoint temp4 ;
30169 wxSize temp5 ;
30170 long val6 ;
30171 int ecode6 = 0 ;
30172 bool temp7 = false ;
30173 PyObject * obj0 = 0 ;
30174 PyObject * obj1 = 0 ;
30175 PyObject * obj2 = 0 ;
30176 PyObject * obj3 = 0 ;
30177 PyObject * obj4 = 0 ;
30178 PyObject * obj5 = 0 ;
30179 PyObject * obj6 = 0 ;
30180 char * kwnames[] = {
30181 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30182 };
30183
30184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30186 if (!SWIG_IsOK(res1)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30188 }
30189 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30190 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30191 if (!SWIG_IsOK(res2)) {
30192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30193 }
30194 arg2 = reinterpret_cast< wxFrame * >(argp2);
30195 {
30196 arg3 = wxString_in_helper(obj2);
30197 if (arg3 == NULL) SWIG_fail;
30198 temp3 = true;
30199 }
30200 if (obj3) {
d14a1e28 30201 {
0085ce49
RD
30202 arg4 = &temp4;
30203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 30204 }
0085ce49
RD
30205 }
30206 if (obj4) {
d14a1e28 30207 {
0085ce49
RD
30208 arg5 = &temp5;
30209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 30210 }
0085ce49
RD
30211 }
30212 if (obj5) {
30213 ecode6 = SWIG_AsVal_long(obj5, &val6);
30214 if (!SWIG_IsOK(ecode6)) {
30215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30216 }
30217 arg6 = static_cast< long >(val6);
30218 }
30219 if (obj6) {
db3e571a 30220 {
0085ce49
RD
30221 arg7 = wxString_in_helper(obj6);
30222 if (arg7 == NULL) SWIG_fail;
30223 temp7 = true;
db3e571a 30224 }
0085ce49
RD
30225 }
30226 {
30227 if (!wxPyCheckForApp()) SWIG_fail;
30228 PyThreadState* __tstate = wxPyBeginAllowThreads();
30229 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30230 wxPyEndAllowThreads(__tstate);
30231 if (PyErr_Occurred()) SWIG_fail;
30232 }
30233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30234 {
30235 if (temp3)
30236 delete arg3;
30237 }
30238 {
30239 if (temp7)
30240 delete arg7;
30241 }
30242 return resultobj;
30243fail:
30244 {
30245 if (temp3)
30246 delete arg3;
30247 }
30248 {
30249 if (temp7)
30250 delete arg7;
30251 }
30252 return NULL;
30253}
30254
30255
30256SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30257 PyObject *resultobj = 0;
30258 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30259 PyObject *arg2 = (PyObject *) 0 ;
30260 PyObject *arg3 = (PyObject *) 0 ;
30261 void *argp1 = 0 ;
30262 int res1 = 0 ;
30263 PyObject * obj0 = 0 ;
30264 PyObject * obj1 = 0 ;
30265 PyObject * obj2 = 0 ;
30266 char * kwnames[] = {
30267 (char *) "self",(char *) "self",(char *) "_class", NULL
30268 };
30269
30270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30272 if (!SWIG_IsOK(res1)) {
30273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30274 }
30275 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30276 arg2 = obj1;
30277 arg3 = obj2;
30278 {
30279 PyThreadState* __tstate = wxPyBeginAllowThreads();
30280 (arg1)->_setCallbackInfo(arg2,arg3);
30281 wxPyEndAllowThreads(__tstate);
30282 if (PyErr_Occurred()) SWIG_fail;
30283 }
30284 resultobj = SWIG_Py_Void();
30285 return resultobj;
30286fail:
30287 return NULL;
30288}
30289
30290
30291SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30292 PyObject *resultobj = 0;
30293 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30294 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30295 void *argp1 = 0 ;
30296 int res1 = 0 ;
30297 void *argp2 = 0 ;
30298 int res2 = 0 ;
30299 PyObject * obj0 = 0 ;
30300 PyObject * obj1 = 0 ;
30301 char * kwnames[] = {
30302 (char *) "self",(char *) "canvas", NULL
30303 };
30304
30305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30307 if (!SWIG_IsOK(res1)) {
30308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30309 }
30310 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30311 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30312 if (!SWIG_IsOK(res2)) {
30313 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30314 }
30315 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30316 {
30317 PyThreadState* __tstate = wxPyBeginAllowThreads();
30318 (arg1)->SetPreviewCanvas(arg2);
30319 wxPyEndAllowThreads(__tstate);
30320 if (PyErr_Occurred()) SWIG_fail;
30321 }
30322 resultobj = SWIG_Py_Void();
30323 return resultobj;
30324fail:
30325 return NULL;
30326}
30327
30328
30329SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30330 PyObject *resultobj = 0;
30331 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30332 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30333 void *argp1 = 0 ;
30334 int res1 = 0 ;
30335 void *argp2 = 0 ;
30336 int res2 = 0 ;
30337 PyObject * obj0 = 0 ;
30338 PyObject * obj1 = 0 ;
30339 char * kwnames[] = {
30340 (char *) "self",(char *) "bar", NULL
30341 };
30342
30343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30345 if (!SWIG_IsOK(res1)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30347 }
30348 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30349 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30350 if (!SWIG_IsOK(res2)) {
30351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30352 }
30353 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30354 {
30355 PyThreadState* __tstate = wxPyBeginAllowThreads();
30356 (arg1)->SetControlBar(arg2);
30357 wxPyEndAllowThreads(__tstate);
30358 if (PyErr_Occurred()) SWIG_fail;
30359 }
30360 resultobj = SWIG_Py_Void();
30361 return resultobj;
30362fail:
30363 return NULL;
db3e571a
RD
30364}
30365
30366
0085ce49
RD
30367SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30368 PyObject *resultobj = 0;
30369 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30370 void *argp1 = 0 ;
30371 int res1 = 0 ;
30372 PyObject *swig_obj[1] ;
30373
30374 if (!args) SWIG_fail;
30375 swig_obj[0] = args;
30376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30377 if (!SWIG_IsOK(res1)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30379 }
30380 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30381 {
30382 PyThreadState* __tstate = wxPyBeginAllowThreads();
30383 (arg1)->Initialize();
30384 wxPyEndAllowThreads(__tstate);
30385 if (PyErr_Occurred()) SWIG_fail;
30386 }
30387 resultobj = SWIG_Py_Void();
30388 return resultobj;
30389fail:
30390 return NULL;
976dbff5
RD
30391}
30392
30393
0085ce49
RD
30394SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30395 PyObject *resultobj = 0;
30396 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30397 void *argp1 = 0 ;
30398 int res1 = 0 ;
30399 PyObject *swig_obj[1] ;
30400
30401 if (!args) SWIG_fail;
30402 swig_obj[0] = args;
30403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30404 if (!SWIG_IsOK(res1)) {
30405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30406 }
30407 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30408 {
30409 PyThreadState* __tstate = wxPyBeginAllowThreads();
30410 (arg1)->CreateCanvas();
30411 wxPyEndAllowThreads(__tstate);
30412 if (PyErr_Occurred()) SWIG_fail;
30413 }
30414 resultobj = SWIG_Py_Void();
30415 return resultobj;
30416fail:
30417 return NULL;
1cb4a8aa
RD
30418}
30419
30420
0085ce49
RD
30421SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30422 PyObject *resultobj = 0;
30423 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30424 void *argp1 = 0 ;
30425 int res1 = 0 ;
30426 PyObject *swig_obj[1] ;
30427
30428 if (!args) SWIG_fail;
30429 swig_obj[0] = args;
30430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30431 if (!SWIG_IsOK(res1)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30433 }
30434 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30435 {
30436 PyThreadState* __tstate = wxPyBeginAllowThreads();
30437 (arg1)->CreateControlBar();
30438 wxPyEndAllowThreads(__tstate);
30439 if (PyErr_Occurred()) SWIG_fail;
30440 }
30441 resultobj = SWIG_Py_Void();
30442 return resultobj;
30443fail:
30444 return NULL;
30445}
30446
30447
30448SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30449 PyObject *obj;
30450 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30451 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30452 return SWIG_Py_Void();
30453}
30454
30455SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30456 return SWIG_Python_InitShadowInstance(args);
30457}
30458
30459SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30460 PyObject *resultobj = 0;
30461 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30462 long arg2 ;
30463 wxWindow *arg3 = (wxWindow *) 0 ;
30464 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30465 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30466 wxSize const &arg5_defvalue = wxDefaultSize ;
30467 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30468 long arg6 = (long) 0 ;
30469 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30470 wxString *arg7 = (wxString *) &arg7_defvalue ;
30471 wxPyPreviewControlBar *result = 0 ;
30472 void *argp1 = 0 ;
30473 int res1 = 0 ;
30474 long val2 ;
30475 int ecode2 = 0 ;
30476 void *argp3 = 0 ;
30477 int res3 = 0 ;
30478 wxPoint temp4 ;
30479 wxSize temp5 ;
30480 long val6 ;
30481 int ecode6 = 0 ;
30482 bool temp7 = false ;
30483 PyObject * obj0 = 0 ;
30484 PyObject * obj1 = 0 ;
30485 PyObject * obj2 = 0 ;
30486 PyObject * obj3 = 0 ;
30487 PyObject * obj4 = 0 ;
30488 PyObject * obj5 = 0 ;
30489 PyObject * obj6 = 0 ;
30490 char * kwnames[] = {
30491 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30492 };
30493
30494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30496 if (!SWIG_IsOK(res1)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30498 }
30499 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30500 ecode2 = SWIG_AsVal_long(obj1, &val2);
30501 if (!SWIG_IsOK(ecode2)) {
30502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30503 }
30504 arg2 = static_cast< long >(val2);
30505 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30506 if (!SWIG_IsOK(res3)) {
30507 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30508 }
30509 arg3 = reinterpret_cast< wxWindow * >(argp3);
30510 if (obj3) {
093d3ff1 30511 {
0085ce49
RD
30512 arg4 = &temp4;
30513 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 30514 }
0085ce49
RD
30515 }
30516 if (obj4) {
093d3ff1 30517 {
0085ce49
RD
30518 arg5 = &temp5;
30519 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 30520 }
0085ce49
RD
30521 }
30522 if (obj5) {
30523 ecode6 = SWIG_AsVal_long(obj5, &val6);
30524 if (!SWIG_IsOK(ecode6)) {
30525 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30526 }
30527 arg6 = static_cast< long >(val6);
30528 }
30529 if (obj6) {
093d3ff1 30530 {
0085ce49
RD
30531 arg7 = wxString_in_helper(obj6);
30532 if (arg7 == NULL) SWIG_fail;
30533 temp7 = true;
093d3ff1 30534 }
0085ce49
RD
30535 }
30536 {
30537 if (!wxPyCheckForApp()) SWIG_fail;
30538 PyThreadState* __tstate = wxPyBeginAllowThreads();
30539 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30540 wxPyEndAllowThreads(__tstate);
30541 if (PyErr_Occurred()) SWIG_fail;
30542 }
30543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30544 {
30545 if (temp7)
30546 delete arg7;
30547 }
30548 return resultobj;
30549fail:
30550 {
30551 if (temp7)
30552 delete arg7;
30553 }
30554 return NULL;
30555}
30556
30557
30558SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30559 PyObject *resultobj = 0;
30560 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30561 PyObject *arg2 = (PyObject *) 0 ;
30562 PyObject *arg3 = (PyObject *) 0 ;
30563 void *argp1 = 0 ;
30564 int res1 = 0 ;
30565 PyObject * obj0 = 0 ;
30566 PyObject * obj1 = 0 ;
30567 PyObject * obj2 = 0 ;
30568 char * kwnames[] = {
30569 (char *) "self",(char *) "self",(char *) "_class", NULL
30570 };
30571
30572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30574 if (!SWIG_IsOK(res1)) {
30575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30576 }
30577 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30578 arg2 = obj1;
30579 arg3 = obj2;
30580 {
30581 PyThreadState* __tstate = wxPyBeginAllowThreads();
30582 (arg1)->_setCallbackInfo(arg2,arg3);
30583 wxPyEndAllowThreads(__tstate);
30584 if (PyErr_Occurred()) SWIG_fail;
30585 }
30586 resultobj = SWIG_Py_Void();
30587 return resultobj;
30588fail:
30589 return NULL;
30590}
30591
30592
30593SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30594 PyObject *resultobj = 0;
30595 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30596 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30597 void *argp1 = 0 ;
30598 int res1 = 0 ;
30599 void *argp2 = 0 ;
30600 int res2 = 0 ;
30601 PyObject * obj0 = 0 ;
30602 PyObject * obj1 = 0 ;
30603 char * kwnames[] = {
30604 (char *) "self",(char *) "preview", NULL
30605 };
30606
30607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30609 if (!SWIG_IsOK(res1)) {
30610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30611 }
30612 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30613 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30614 if (!SWIG_IsOK(res2)) {
30615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30616 }
30617 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30618 {
30619 PyThreadState* __tstate = wxPyBeginAllowThreads();
30620 (arg1)->SetPrintPreview(arg2);
30621 wxPyEndAllowThreads(__tstate);
30622 if (PyErr_Occurred()) SWIG_fail;
30623 }
30624 resultobj = SWIG_Py_Void();
30625 return resultobj;
30626fail:
30627 return NULL;
1cb4a8aa
RD
30628}
30629
30630
0085ce49
RD
30631SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30632 PyObject *resultobj = 0;
30633 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30634 void *argp1 = 0 ;
30635 int res1 = 0 ;
30636 PyObject *swig_obj[1] ;
30637
30638 if (!args) SWIG_fail;
30639 swig_obj[0] = args;
30640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30641 if (!SWIG_IsOK(res1)) {
30642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30643 }
30644 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30645 {
30646 PyThreadState* __tstate = wxPyBeginAllowThreads();
30647 (arg1)->CreateButtons();
30648 wxPyEndAllowThreads(__tstate);
30649 if (PyErr_Occurred()) SWIG_fail;
30650 }
30651 resultobj = SWIG_Py_Void();
30652 return resultobj;
30653fail:
30654 return NULL;
30655}
30656
30657
30658SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30659 PyObject *resultobj = 0;
30660 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30661 int arg2 ;
30662 void *argp1 = 0 ;
30663 int res1 = 0 ;
30664 int val2 ;
30665 int ecode2 = 0 ;
30666 PyObject * obj0 = 0 ;
30667 PyObject * obj1 = 0 ;
30668 char * kwnames[] = {
30669 (char *) "self",(char *) "zoom", NULL
30670 };
30671
30672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30674 if (!SWIG_IsOK(res1)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30676 }
30677 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30678 ecode2 = SWIG_AsVal_int(obj1, &val2);
30679 if (!SWIG_IsOK(ecode2)) {
30680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30681 }
30682 arg2 = static_cast< int >(val2);
30683 {
30684 PyThreadState* __tstate = wxPyBeginAllowThreads();
30685 (arg1)->SetZoomControl(arg2);
30686 wxPyEndAllowThreads(__tstate);
30687 if (PyErr_Occurred()) SWIG_fail;
30688 }
30689 resultobj = SWIG_Py_Void();
30690 return resultobj;
30691fail:
30692 return NULL;
1cb4a8aa
RD
30693}
30694
30695
0085ce49
RD
30696SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30697 PyObject *obj;
30698 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30699 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30700 return SWIG_Py_Void();
1cb4a8aa
RD
30701}
30702
0085ce49
RD
30703SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30704 return SWIG_Python_InitShadowInstance(args);
1cb4a8aa
RD
30705}
30706
d3b6e4ff 30707static PyMethodDef SwigMethods[] = {
093d3ff1 30708 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30709 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
093d3ff1 30710 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30711 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
093d3ff1
RD
30712 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30713 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
0085ce49 30714 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
093d3ff1 30715 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30716 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
30717 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30718 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30719 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30720 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30722 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30723 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
093d3ff1 30724 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30725 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
093d3ff1 30726 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30727 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30728 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
093d3ff1
RD
30729 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30730 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
0085ce49 30731 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
093d3ff1
RD
30732 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30733 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30734 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
093d3ff1
RD
30735 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30736 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30737 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30738 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30739 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30740 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
093d3ff1 30741 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30742 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
01f6b6d3 30743 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
0085ce49
RD
30744 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30745 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
093d3ff1
RD
30746 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30749 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
093d3ff1 30750 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30751 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
093d3ff1
RD
30752 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30754 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
093d3ff1 30755 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30756 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 30757 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
30758 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30759 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30760 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
093d3ff1 30761 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30762 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
093d3ff1 30763 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30764 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
093d3ff1
RD
30765 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30766 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30767 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
093d3ff1
RD
30768 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30769 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30770 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30771 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30774 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
093d3ff1 30775 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30776 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
093d3ff1
RD
30777 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30778 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30779 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30780 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
0085ce49 30782 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
093d3ff1 30783 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30784 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
093d3ff1
RD
30785 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30786 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30787 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 30788 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30789 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 30790 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30791 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
093d3ff1
RD
30792 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
e505d15e 30794 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30795 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30796 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
093d3ff1
RD
30797 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30798 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
0085ce49 30800 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
093d3ff1 30801 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30802 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
093d3ff1
RD
30803 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
0085ce49 30805 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30806 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30808 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
093d3ff1 30809 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30810 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30811 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30812 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30813 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30814 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
093d3ff1 30815 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
0085ce49 30816 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
093d3ff1 30817 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30818 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
093d3ff1
RD
30819 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30821 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
093d3ff1
RD
30822 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30823 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30829 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30830 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30831 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
093d3ff1
RD
30832 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30833 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
0085ce49 30834 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
093d3ff1 30835 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30836 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
093d3ff1 30837 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30838 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30839 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
093d3ff1 30840 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30841 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
093d3ff1
RD
30842 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30844 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30846 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30847 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30848 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
093d3ff1
RD
30849 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30851 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30852 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
093d3ff1 30853 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30854 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
093d3ff1 30855 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30856 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
093d3ff1 30857 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30858 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
093d3ff1 30859 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30860 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
093d3ff1 30861 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30862 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
093d3ff1
RD
30863 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30864 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30865 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30866 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30868 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30869 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30870 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30871 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
093d3ff1 30872 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
0085ce49 30873 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 30874 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30875 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
093d3ff1
RD
30876 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30878 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30883 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
093d3ff1 30884 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30885 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
093d3ff1
RD
30886 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30887 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30888 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30889 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
093d3ff1
RD
30890 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30891 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30892 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30893 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
093d3ff1 30894 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30895 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
093d3ff1 30896 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30897 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30898 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30900 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
093d3ff1 30901 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30902 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
093d3ff1 30903 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30904 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
093d3ff1 30905 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
0085ce49 30906 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30907 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30908 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30909 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
093d3ff1 30910 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30911 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
093d3ff1 30912 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30913 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
093d3ff1 30914 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30915 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
093d3ff1 30916 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30917 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
093d3ff1 30918 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
0085ce49 30919 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30920 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30921 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30922 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
093d3ff1 30923 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30924 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
093d3ff1 30925 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
0085ce49 30926 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 30927 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30928 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
093d3ff1 30929 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30930 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30931 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
093d3ff1
RD
30932 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30933 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30934 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30935 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
0085ce49
RD
30936 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30937 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30938 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
093d3ff1
RD
30939 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
0085ce49 30943 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
093d3ff1 30944 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30945 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
093d3ff1
RD
30946 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30949 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30950 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30951 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
093d3ff1
RD
30952 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30953 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30954 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
093d3ff1 30955 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30956 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30957 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30958 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30959 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
093d3ff1 30960 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30961 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30962 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30963 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
30964 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30965 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
30968 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30971 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30972 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30973 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30974 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30975 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
70b7a5fe 30976 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30977 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30978 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30979 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 30981 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30982 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30983 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30984 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
093d3ff1
RD
30985 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30986 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30987 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30988 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30989 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
093d3ff1
RD
30990 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30991 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30992 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30993 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
093d3ff1 30994 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30995 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30996 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
093d3ff1 30997 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30998 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
093d3ff1
RD
30999 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31000 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31002 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31003 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31004 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
093d3ff1
RD
31005 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31006 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
75219dcb
RD
31008 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31009 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31010 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
0085ce49 31011 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
093d3ff1 31012 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31013 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
093d3ff1
RD
31014 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31016 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31017 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 31018 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31019 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
0085ce49
RD
31020 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31021 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31022 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
093d3ff1 31023 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31024 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31025 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31026 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
093d3ff1 31027 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31028 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
093d3ff1
RD
31029 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
0085ce49 31031 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31032 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
0085ce49
RD
31034 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31035 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31036 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31037 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31038 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
093d3ff1
RD
31039 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
0085ce49 31044 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
093d3ff1 31045 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31046 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
093d3ff1 31047 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31048 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31049 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31050 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31051 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31052 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
093d3ff1
RD
31053 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31055 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31056 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31057 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31059 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31060 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31061 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31063 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31064 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31065 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31066 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31067 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31068 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
0085ce49
RD
31069 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31070 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31071 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
093d3ff1 31072 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31073 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31074 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31075 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31076 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
093d3ff1 31077 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31078 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31079 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31080 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31081 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
093d3ff1
RD
31082 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31084 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31085 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31086 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
093d3ff1
RD
31087 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31089 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31090 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31092 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
31093 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31094 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31095 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31096 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
0085ce49
RD
31097 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31098 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
093d3ff1 31099 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31100 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31101 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31102 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31103 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31104 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31105 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
093d3ff1
RD
31106 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
0085ce49 31113 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
093d3ff1 31114 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31115 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
093d3ff1 31116 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31117 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31118 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31119 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31121 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31122 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31124 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
093d3ff1 31125 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31126 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31127 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31128 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31129 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31130 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31131 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
093d3ff1
RD
31132 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
0085ce49 31136 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31137 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31138 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31139 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31140 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31141 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
093d3ff1
RD
31142 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31143 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
0085ce49 31146 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
093d3ff1 31147 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31148 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
093d3ff1 31149 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31150 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
093d3ff1
RD
31151 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31153 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31154 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31155 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
093d3ff1 31156 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31157 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31158 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31159 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31160 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31161 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31162 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31163 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
093d3ff1
RD
31164 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
0085ce49 31166 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31167 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31168 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
093d3ff1 31169 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31170 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
093d3ff1 31171 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
0085ce49 31172 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31173 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31174 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
093d3ff1
RD
31175 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
0085ce49 31177 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31178 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31179 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
093d3ff1
RD
31180 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31182 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
31183 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31186 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31187 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31188 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31189 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31190 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31191 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31192 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31193 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31194 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
0085ce49 31195 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31196 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31197 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
093d3ff1
RD
31198 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31200 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
31201 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31202 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31204 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31205 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31206 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31207 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31208 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31209 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31210 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31211 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
093d3ff1 31212 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
0085ce49 31213 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
093d3ff1 31214 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31215 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31216 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31218 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
31219 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31221 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31222 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31223 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31224 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31225 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31226 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31227 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31228 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31229 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31230 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 31231 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31232 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
0085ce49
RD
31233 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31234 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31235 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31236 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31237 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31238 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31239 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31240 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31241 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31242 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31243 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31244 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31245 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
093d3ff1
RD
31246 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31252 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31257 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
093d3ff1 31258 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31259 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
b9d6a5f3 31260 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31261 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
0085ce49 31262 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
093d3ff1 31263 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
0085ce49 31264 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
093d3ff1
RD
31265 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31266 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31270 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31271 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31272 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31273 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31274 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31275 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31276 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31277 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31278 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31279 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31280 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31281 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31282 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31283 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31284 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
093d3ff1
RD
31285 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31287 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31289 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31292 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31294 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31295 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
093d3ff1 31296 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
0085ce49 31297 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31298 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 31299 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
0085ce49
RD
31300 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31301 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31302 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
093d3ff1 31303 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31304 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31305 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
0085ce49
RD
31306 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31307 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31308 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31309 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31310 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31311 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31312 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31313 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31314 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31315 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
093d3ff1
RD
31316 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31317 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31321 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31322 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31329 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31330 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31331 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31332 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31333 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31334 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
093d3ff1
RD
31335 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
0085ce49 31337 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31338 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 31339 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
0085ce49
RD
31340 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31341 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31342 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31343 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
093d3ff1 31344 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31345 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31346 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31347 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
093d3ff1
RD
31348 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31349 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31350 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31351 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31352 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31353 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31354 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31355 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
093d3ff1 31356 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
0085ce49 31357 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
093d3ff1 31358 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31359 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
093d3ff1 31360 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31361 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31362 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
093d3ff1
RD
31363 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31365 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
093d3ff1 31366 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31367 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
093d3ff1 31368 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31369 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
093d3ff1 31370 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31371 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31372 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
093d3ff1 31373 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4 31374 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31375 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31376 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31377 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31378 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
c26d9ab4 31379 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31380 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
093d3ff1 31381 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
0085ce49 31382 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31383 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31384 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
0085ce49 31385 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
093d3ff1 31386 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31387 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31388 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31389 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31390 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
093d3ff1 31391 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
0085ce49 31392 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31393 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31394 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
093d3ff1 31395 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31396 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31397 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31398 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31399 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31400 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31401 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
093d3ff1 31402 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
0085ce49 31403 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
093d3ff1 31404 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
0085ce49 31405 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
093d3ff1 31406 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31407 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
093d3ff1 31408 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31409 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31410 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
093d3ff1
RD
31411 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31413 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31414 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
093d3ff1
RD
31415 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31416 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31418 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31419 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
093d3ff1 31420 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31421 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31422 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31423 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31424 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
093d3ff1
RD
31425 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31427 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
093d3ff1 31428 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
0085ce49 31429 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31430 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31431 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31432 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
0085ce49 31433 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31434 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31436 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31438 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31439 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31440 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
093d3ff1 31441 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
0085ce49 31442 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31443 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31444 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31446 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
c26d9ab4 31447 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31448 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
0085ce49 31449 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c32bde28 31450 { NULL, NULL, 0, NULL }
d14a1e28
RD
31451};
31452
31453
31454/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31455
31456static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31457 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31458}
31459static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31460 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31461}
31462static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31463 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31464}
31465static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31466 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31467}
31468static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31469 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31470}
31471static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31472 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31473}
31474static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31475 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31476}
31477static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31478 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31479}
31480static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31481 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31482}
31483static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31484 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31485}
31486static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31487 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31488}
d14a1e28
RD
31489static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31490 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31491}
2131d850
RD
31492static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31493 return (void *)((wxEvent *) ((wxPyEvent *) x));
31494}
d14a1e28
RD
31495static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31496 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31497}
31498static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31499 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31500}
31501static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31502 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31503}
31504static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31505 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31506}
31507static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31508 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31509}
31510static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31511 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31512}
31513static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31514 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31515}
31516static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31517 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31518}
31519static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31520 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31521}
53aa7709
RD
31522static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31523 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31524}
2131d850
RD
31525static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31526 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31527}
d14a1e28
RD
31528static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31529 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31530}
31531static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31532 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31533}
31534static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31535 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31536}
31537static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31538 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31539}
31540static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31541 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31542}
31543static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31544 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31545}
31546static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31547 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31548}
31549static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31550 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31551}
31552static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31553 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31554}
31555static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31556 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31557}
31558static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31559 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31560}
31561static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31562 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31563}
31564static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31565 return (void *)((wxEvent *) ((wxShowEvent *) x));
31566}
31567static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31568 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31569}
31570static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31571 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31572}
31573static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31574 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31575}
31576static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31577 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31578}
31579static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31580 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31581}
31582static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31583 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31584}
31585static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31586 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31587}
31588static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31589 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31590}
d3b6e4ff
RD
31591static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31592 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31593}
d14a1e28
RD
31594static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31595 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31596}
31597static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31598 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31599}
31600static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31601 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31602}
31603static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31604 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31605}
31606static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31607 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31608}
31609static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31610 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31611}
31612static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31613 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31614}
d3b6e4ff
RD
31615static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31616 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31617}
d14a1e28
RD
31618static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31619 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31620}
31621static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31622 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31623}
31624static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31625 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31626}
31627static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31628 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31629}
27e45892
RD
31630static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31631 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31632}
d14a1e28
RD
31633static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31634 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31635}
31636static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31637 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31638}
31639static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31640 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31641}
31642static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31643 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31644}
31645static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31646 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31647}
31648static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31649 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31650}
31651static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31652 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31653}
31654static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31655 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31656}
31657static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31658 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31659}
31660static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31661 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31662}
31663static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31664 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31665}
31666static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31667 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31668}
31669static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31670 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31671}
31672static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31673 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31674}
31675static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31676 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31677}
31678static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31679 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31680}
31681static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31682 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31683}
1cb4a8aa
RD
31684static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31685 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31686}
d14a1e28
RD
31687static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31688 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31689}
31690static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31691 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31692}
31693static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31694 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31695}
31696static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31697 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31698}
31699static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31700 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31701}
31702static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31703 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31704}
31705static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31706 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31707}
31708static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31709 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31710}
31711static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31712 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31713}
31714static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31715 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31716}
31717static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31718 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31719}
31720static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31721 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31722}
5e483524
RD
31723static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31724 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
31725}
31726static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31727 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31728}
d14a1e28
RD
31729static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31730 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31731}
31732static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31733 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31734}
31735static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31736 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31737}
d3b6e4ff
RD
31738static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31739 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31740}
d14a1e28
RD
31741static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31742 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31743}
31744static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31745 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31746}
31747static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31748 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31749}
31750static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31751 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31752}
31753static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31754 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31755}
31756static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31757 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31758}
31759static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31760 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31761}
31762static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31763 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31764}
31765static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31766 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31767}
31768static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31769 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31770}
31771static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31772 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31773}
31774static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31776}
31777static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31779}
31780static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31781 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31782}
31783static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31784 return (void *)((wxObject *) ((wxSizerItem *) x));
31785}
31786static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31788}
31789static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31790 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31791}
31792static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31793 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31794}
31795static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31796 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31797}
31798static void *_p_wxSizerTo_p_wxObject(void *x) {
31799 return (void *)((wxObject *) ((wxSizer *) x));
31800}
31801static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31802 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31803}
31804static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31805 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31806}
31807static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31809}
31810static void *_p_wxEventTo_p_wxObject(void *x) {
31811 return (void *)((wxObject *) ((wxEvent *) x));
31812}
31813static void *_p_wxFontDataTo_p_wxObject(void *x) {
31814 return (void *)((wxObject *) ((wxFontData *) x));
31815}
31816static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31817 return (void *)((wxObject *) ((wxPrintData *) x));
31818}
31819static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31820 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31821}
31822static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31823 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31824}
31825static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31826 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31827}
31828static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31829 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31830}
5e483524
RD
31831static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31832 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
31833}
31834static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31835 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31836}
2131d850
RD
31837static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31838 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31839}
d14a1e28
RD
31840static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31841 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31842}
31843static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31844 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31845}
31846static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31847 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31848}
31849static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31850 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31851}
31852static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31853 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31854}
31855static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31856 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31857}
31858static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31860}
31861static void *_p_wxControlTo_p_wxObject(void *x) {
31862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31863}
31864static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31865 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31866}
31867static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31869}
31870static void *_p_wxFSFileTo_p_wxObject(void *x) {
31871 return (void *)((wxObject *) ((wxFSFile *) x));
31872}
31873static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31874 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31875}
31876static void *_p_wxPySizerTo_p_wxObject(void *x) {
31877 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31878}
31879static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31881}
31882static void *_p_wxColourDataTo_p_wxObject(void *x) {
31883 return (void *)((wxObject *) ((wxColourData *) x));
31884}
31885static void *_p_wxPyEventTo_p_wxObject(void *x) {
31886 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31887}
31888static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31889 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31890}
31891static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31893}
31894static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31896}
31897static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31899}
31900static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31902}
31903static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31905}
31906static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31908}
d3b6e4ff
RD
31909static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31911}
27e45892
RD
31912static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
31913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31914}
d14a1e28
RD
31915static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31917}
31918static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31920}
31921static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31923}
31924static void *_p_wxShowEventTo_p_wxObject(void *x) {
31925 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31926}
31927static void *_p_wxPrinterTo_p_wxObject(void *x) {
31928 return (void *)((wxObject *) ((wxPrinter *) x));
31929}
31930static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31931 return (void *)((wxObject *) ((wxMenuItem *) x));
31932}
53aa7709
RD
31933static void *_p_wxDateEventTo_p_wxObject(void *x) {
31934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31935}
d14a1e28
RD
31936static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31937 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31938}
31939static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31940 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31941}
31942static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31943 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31944}
31945static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31946 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31947}
31948static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31949 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31950}
31951static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31952 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31953}
31954static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31955 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31956}
31957static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31958 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31959}
d14a1e28
RD
31960static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31961 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31962}
31963static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31964 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31965}
31966static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31967 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31968}
31969static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31970 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31971}
31972static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31973 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31974}
31975static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31976 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31977}
31978static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31979 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31980}
31981static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31982 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31983}
31984static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31985 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31986}
943e8dfd
RD
31987static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31988 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31989}
d14a1e28
RD
31990static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31991 return (void *)((wxObject *) ((wxImageHandler *) x));
31992}
943e8dfd
RD
31993static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31994 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31995}
d14a1e28
RD
31996static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31997 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31998}
31999static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32000 return (void *)((wxObject *) ((wxEvtHandler *) x));
32001}
32002static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32003 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32004}
32005static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32007}
32008static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32010}
e505d15e
RD
32011static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32012 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32013}
d14a1e28
RD
32014static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32015 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32016}
32017static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32019}
32020static void *_p_wxImageTo_p_wxObject(void *x) {
32021 return (void *)((wxObject *) ((wxImage *) x));
32022}
32023static void *_p_wxFrameTo_p_wxObject(void *x) {
32024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32025}
32026static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32027 return (void *)((wxObject *) ((wxPyPrintout *) x));
32028}
32029static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32030 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32031}
32032static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32033 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32034}
32035static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32037}
32038static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32040}
32041static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32042 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32043}
32044static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32045 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32046}
32047static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32048 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32049}
d14a1e28
RD
32050static void *_p_wxWindowTo_p_wxObject(void *x) {
32051 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32052}
32053static void *_p_wxMenuTo_p_wxObject(void *x) {
32054 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32055}
32056static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32058}
1e0c8722
RD
32059static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32061}
d14a1e28
RD
32062static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32064}
32065static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32067}
32068static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32070}
32071static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32073}
32074static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32076}
32077static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32079}
32080static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32081 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32082}
32083static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32084 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32085}
32086static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32088}
32089static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32091}
1cb4a8aa
RD
32092static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32094}
d14a1e28
RD
32095static void *_p_wxSashEventTo_p_wxObject(void *x) {
32096 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32097}
32098static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32099 return (void *)((wxObject *) ((wxPrintPreview *) x));
32100}
32101static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32102 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32103}
32104static void *_p_wxPanelTo_p_wxObject(void *x) {
32105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32106}
32107static void *_p_wxDialogTo_p_wxObject(void *x) {
32108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32109}
32110static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32112}
32113static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32115}
32116static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32118}
32119static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 32120 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
32121}
32122static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
a68b8331 32123 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
32124}
32125static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32126 return (void *)((wxObject *) ((wxFileSystem *) x));
32127}
32128static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32129 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32130}
32131static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32132 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32133}
32134static void *_p_wxPyAppTo_p_wxObject(void *x) {
32135 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32136}
32137static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32138 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32139}
32140static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32141 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32142}
32143static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32144 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32145}
32146static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32147 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32148}
32149static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32150 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32151}
32152static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32154}
32155static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32157}
32158static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32159 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32160}
32161static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32162 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32163}
32164static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32165 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32166}
32167static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32169}
32170static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32171 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32172}
32173static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32174 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32175}
32176static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32177 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32178}
32179static void *_p_wxValidatorTo_p_wxObject(void *x) {
32180 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32181}
32182static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32183 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32184}
32185static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32186 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32187}
32188static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32189 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32190}
32191static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32192 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32193}
32194static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32195 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32196}
32197static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32198 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32199}
32200static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32201 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32202}
32203static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32204 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32205}
32206static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32207 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32208}
32209static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32210 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32211}
32212static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32213 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32214}
32215static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32216 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32217}
d14a1e28
RD
32218static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32219 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32220}
32221static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32222 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32223}
32224static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32225 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32226}
d14a1e28
RD
32227static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32228 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32229}
27e45892
RD
32230static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32231 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32232}
d3b6e4ff
RD
32233static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32234 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32235}
d14a1e28
RD
32236static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32237 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32238}
32239static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32240 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32241}
32242static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32243 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32244}
32245static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32246 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32247}
27e45892
RD
32248static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32249 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32250}
d3b6e4ff
RD
32251static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32252 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32253}
d14a1e28
RD
32254static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32255 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32256}
32257static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32258 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32259}
32260static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32261 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32262}
32263static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32264 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32265}
32266static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32267 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32268}
32269static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32270 return (void *)((wxWindow *) ((wxMenuBar *) x));
32271}
32272static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32273 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32274}
32275static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32276 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32277}
32278static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32279 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32280}
27e45892
RD
32281static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32282 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32283}
d3b6e4ff
RD
32284static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32285 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32286}
d14a1e28
RD
32287static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32288 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32289}
32290static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32291 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32292}
32293static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32294 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32295}
32296static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32297 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32298}
32299static void *_p_wxPanelTo_p_wxWindow(void *x) {
32300 return (void *)((wxWindow *) ((wxPanel *) x));
32301}
32302static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32303 return (void *)((wxWindow *) ((wxStatusBar *) x));
32304}
d14a1e28
RD
32305static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32306 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32307}
32308static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32309 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32310}
32311static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32312 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32313}
32314static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32315 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32316}
32317static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32318 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32319}
32320static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32321 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32322}
32323static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32324 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32325}
32326static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32327 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32328}
32329static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32330 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32331}
32332static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32333 return (void *)((wxWindow *) ((wxSashWindow *) x));
32334}
d3b6e4ff
RD
32335static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32336 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32337}
1cb4a8aa
RD
32338static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32339 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32340}
d14a1e28
RD
32341static void *_p_wxControlTo_p_wxWindow(void *x) {
32342 return (void *)((wxWindow *) ((wxControl *) x));
32343}
32344static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32345 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32346}
32347static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32348 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32349}
32350static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32351 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32352}
32353static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32354 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32355}
32356static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32357 return (void *)((wxWindow *) ((wxPyWindow *) x));
32358}
32359static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32360 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32361}
32362static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32363 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32364}
32365static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32366 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32367}
32368static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32369 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32370}
32371static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32372 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32373}
32374static void *_p_wxFrameTo_p_wxWindow(void *x) {
32375 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32376}
32377static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32378 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32379}
32380static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32381 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32382}
32383static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32384 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32385}
32386static void *_p_wxDialogTo_p_wxWindow(void *x) {
32387 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32388}
d14a1e28
RD
32389static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32390 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32391}
1cb4a8aa
RD
32392static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32393 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32394}
d14a1e28
RD
32395static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32396 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32397}
32398static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32399 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32400}
32401static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32402 return (void *)((wxDialog *) ((wxColourDialog *) x));
32403}
32404static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32405 return (void *)((wxDialog *) ((wxDirDialog *) x));
32406}
32407static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32408 return (void *)((wxDialog *) ((wxFontDialog *) x));
32409}
d14a1e28
RD
32410static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32411 return (void *)((wxDialog *) ((wxFileDialog *) x));
32412}
32413static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32414 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32415}
32416static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32417 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32418}
32419static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32420 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32421}
d3b6e4ff
RD
32422static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32423 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32424}
27e45892
RD
32425static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32426 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32427}
d14a1e28
RD
32428static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32429 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32430}
32431static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32432 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32433}
32434static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32435 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32436}
32437static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32438 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32439}
1cb4a8aa
RD
32440static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32441 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32442}
d14a1e28
RD
32443static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32444 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32445}
32446static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32447 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32448}
32449static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32450 return (void *)((wxPanel *) ((wxPyPanel *) x));
32451}
32452static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32453 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32454}
32455static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32456 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32457}
32458static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32459 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32460}
32461static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32462 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32463}
32464static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32465 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32466}
32467static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32468 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32469}
53aa7709
RD
32470static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32471 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32472}
d14a1e28
RD
32473static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32474 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32475}
2131d850
RD
32476static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32477 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32478}
d14a1e28
RD
32479static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32480 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32481}
32482static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32483 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32484}
32485static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32486 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32487}
32488static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32489 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32490}
32491static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32492 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32493}
32494static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32495 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32496}
32497static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32498 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32499}
32500static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32501 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32502}
01f6b6d3 32503static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
0085ce49
RD
32504static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32505static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
32506static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32507static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32508static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32509static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32510static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32511static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32512static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32513static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32514static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32515static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32516static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
32517static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32518static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
0085ce49 32519static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
32520static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32521static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32522static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
0085ce49
RD
32523static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32524static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32525static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
0085ce49
RD
32526static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32527static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32528static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32529static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32530static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32531static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32532static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32533static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32534static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32535static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32536static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32537static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32538static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32539static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32540static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32541static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32542static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32543static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32544static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32545static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32546static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32547static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32548static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32549static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32550static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32551static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32552static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32553static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32554static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32555static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32556static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32557static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32558static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32559static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32560static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32561static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32562static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32563static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32564static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32565static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32566static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32567static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32568static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32569static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32570static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 32571static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
0085ce49
RD
32572static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32573static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32574static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32575static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32576static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32577static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32578static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32579static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32580static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32581static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32582static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32583static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 32584static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
0085ce49
RD
32585static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32586static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32587static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32588static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32589static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32590static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32591static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32592static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32593static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32594static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32595static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32596static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32597static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32598static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
0085ce49
RD
32599static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32600static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32601static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32602static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32603static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32604static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32605static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32606static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32607static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 32608static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 32609static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
0085ce49
RD
32610static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32611static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32612static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32613static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32614static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32615static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32616static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32617static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32618static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32619static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32620static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32621static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32622static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32623static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32624static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32625static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32626static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32627static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32628static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32629static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32630static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32631static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32632static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32633static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32634static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32635static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32636static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32637static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32638static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32639static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32640static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32641static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32642static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32643static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32644static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32645static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32646static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32647static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32648static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32649static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32650static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32651static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32652static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32653static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32654static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32655static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32656static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32657static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32658static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32659static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32660static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32661static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32662static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32663static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32664static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32665static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32666static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
32667
32668static swig_type_info *swig_type_initial[] = {
01f6b6d3 32669 &_swigt__p_bool,
32fe5131
RD
32670 &_swigt__p_char,
32671 &_swigt__p_form_ops_t,
32672 &_swigt__p_int,
32673 &_swigt__p_unsigned_char,
32674 &_swigt__p_unsigned_int,
32675 &_swigt__p_unsigned_long,
32676 &_swigt__p_wxANIHandler,
32677 &_swigt__p_wxAcceleratorTable,
32678 &_swigt__p_wxActivateEvent,
32679 &_swigt__p_wxArrayInt,
32680 &_swigt__p_wxBMPHandler,
32681 &_swigt__p_wxBitmap,
32682 &_swigt__p_wxBoxSizer,
32683 &_swigt__p_wxCURHandler,
32684 &_swigt__p_wxCalculateLayoutEvent,
32685 &_swigt__p_wxChildFocusEvent,
2131d850 32686 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
32687 &_swigt__p_wxCloseEvent,
32688 &_swigt__p_wxColour,
32689 &_swigt__p_wxColourData,
32690 &_swigt__p_wxColourDialog,
32691 &_swigt__p_wxCommandEvent,
32692 &_swigt__p_wxContextMenuEvent,
32693 &_swigt__p_wxControl,
32694 &_swigt__p_wxControlWithItems,
32695 &_swigt__p_wxDC,
32696 &_swigt__p_wxDateEvent,
32697 &_swigt__p_wxDialog,
32698 &_swigt__p_wxDirDialog,
32699 &_swigt__p_wxDisplayChangedEvent,
32700 &_swigt__p_wxDropFilesEvent,
32701 &_swigt__p_wxDuplexMode,
32702 &_swigt__p_wxEraseEvent,
32703 &_swigt__p_wxEvent,
32704 &_swigt__p_wxEvtHandler,
32705 &_swigt__p_wxFSFile,
32706 &_swigt__p_wxFileDialog,
32707 &_swigt__p_wxFileSystem,
32708 &_swigt__p_wxFindDialogEvent,
32709 &_swigt__p_wxFindReplaceData,
32710 &_swigt__p_wxFindReplaceDialog,
32711 &_swigt__p_wxFlexGridSizer,
32712 &_swigt__p_wxFocusEvent,
32713 &_swigt__p_wxFont,
32714 &_swigt__p_wxFontData,
32715 &_swigt__p_wxFontDialog,
32716 &_swigt__p_wxFrame,
32717 &_swigt__p_wxGBSizerItem,
32718 &_swigt__p_wxGIFHandler,
32719 &_swigt__p_wxGridBagSizer,
32720 &_swigt__p_wxGridSizer,
e9d6f3a4 32721 &_swigt__p_wxHtmlLinkInfo,
32fe5131
RD
32722 &_swigt__p_wxICOHandler,
32723 &_swigt__p_wxIcon,
32724 &_swigt__p_wxIconBundle,
32725 &_swigt__p_wxIconizeEvent,
32726 &_swigt__p_wxIdleEvent,
32727 &_swigt__p_wxImage,
32728 &_swigt__p_wxImageHandler,
32729 &_swigt__p_wxIndividualLayoutConstraint,
32730 &_swigt__p_wxInitDialogEvent,
32731 &_swigt__p_wxJPEGHandler,
32732 &_swigt__p_wxKeyEvent,
32733 &_swigt__p_wxLayoutAlgorithm,
32734 &_swigt__p_wxLayoutConstraints,
32735 &_swigt__p_wxMDIChildFrame,
32736 &_swigt__p_wxMDIClientWindow,
32737 &_swigt__p_wxMDIParentFrame,
32738 &_swigt__p_wxMaximizeEvent,
32739 &_swigt__p_wxMenu,
32740 &_swigt__p_wxMenuBar,
32741 &_swigt__p_wxMenuEvent,
32742 &_swigt__p_wxMenuItem,
32743 &_swigt__p_wxMessageDialog,
32744 &_swigt__p_wxMiniFrame,
32745 &_swigt__p_wxMouseCaptureChangedEvent,
32746 &_swigt__p_wxMouseEvent,
32747 &_swigt__p_wxMoveEvent,
32748 &_swigt__p_wxMultiChoiceDialog,
32749 &_swigt__p_wxNavigationKeyEvent,
32750 &_swigt__p_wxNcPaintEvent,
32751 &_swigt__p_wxNotifyEvent,
27e45892 32752 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
32753 &_swigt__p_wxObject,
32754 &_swigt__p_wxPCXHandler,
32755 &_swigt__p_wxPNGHandler,
32756 &_swigt__p_wxPNMHandler,
32757 &_swigt__p_wxPageSetupDialog,
32758 &_swigt__p_wxPageSetupDialogData,
32759 &_swigt__p_wxPaintEvent,
32760 &_swigt__p_wxPaletteChangedEvent,
32761 &_swigt__p_wxPanel,
32762 &_swigt__p_wxPaperSize,
32763 &_swigt__p_wxPasswordEntryDialog,
32764 &_swigt__p_wxPoint,
32765 &_swigt__p_wxPopupWindow,
32766 &_swigt__p_wxPreviewCanvas,
32767 &_swigt__p_wxPreviewControlBar,
32768 &_swigt__p_wxPreviewFrame,
32769 &_swigt__p_wxPrintData,
32770 &_swigt__p_wxPrintDialog,
32771 &_swigt__p_wxPrintDialogData,
32772 &_swigt__p_wxPrintPreview,
32773 &_swigt__p_wxPrinter,
32774 &_swigt__p_wxProgressDialog,
32775 &_swigt__p_wxPyApp,
32776 &_swigt__p_wxPyCommandEvent,
32777 &_swigt__p_wxPyEvent,
32778 &_swigt__p_wxPyHtmlListBox,
32779 &_swigt__p_wxPyImageHandler,
32780 &_swigt__p_wxPyPanel,
32781 &_swigt__p_wxPyPopupTransientWindow,
32782 &_swigt__p_wxPyPreviewControlBar,
32783 &_swigt__p_wxPyPreviewFrame,
32784 &_swigt__p_wxPyPrintPreview,
32785 &_swigt__p_wxPyPrintout,
32786 &_swigt__p_wxPyScrolledWindow,
32787 &_swigt__p_wxPySizer,
32788 &_swigt__p_wxPyTaskBarIcon,
32789 &_swigt__p_wxPyVListBox,
32790 &_swigt__p_wxPyVScrolledWindow,
32791 &_swigt__p_wxPyValidator,
32792 &_swigt__p_wxPyWindow,
32793 &_swigt__p_wxQueryLayoutInfoEvent,
32794 &_swigt__p_wxQueryNewPaletteEvent,
32795 &_swigt__p_wxRect,
32796 &_swigt__p_wxRegion,
32797 &_swigt__p_wxSashEvent,
32798 &_swigt__p_wxSashLayoutWindow,
32799 &_swigt__p_wxSashWindow,
32800 &_swigt__p_wxScrollEvent,
32801 &_swigt__p_wxScrollWinEvent,
32802 &_swigt__p_wxScrolledWindow,
32803 &_swigt__p_wxSetCursorEvent,
32804 &_swigt__p_wxShowEvent,
32805 &_swigt__p_wxSingleChoiceDialog,
32806 &_swigt__p_wxSize,
32807 &_swigt__p_wxSizeEvent,
32808 &_swigt__p_wxSizer,
32809 &_swigt__p_wxSizerItem,
32810 &_swigt__p_wxSplashScreen,
32811 &_swigt__p_wxSplashScreenWindow,
32812 &_swigt__p_wxSplitterEvent,
32813 &_swigt__p_wxSplitterWindow,
32814 &_swigt__p_wxStaticBoxSizer,
32815 &_swigt__p_wxStatusBar,
32816 &_swigt__p_wxStdDialogButtonSizer,
32817 &_swigt__p_wxString,
32818 &_swigt__p_wxSysColourChangedEvent,
32819 &_swigt__p_wxTIFFHandler,
32820 &_swigt__p_wxTaskBarIcon,
32821 &_swigt__p_wxTaskBarIconEvent,
32822 &_swigt__p_wxTextEntryDialog,
32823 &_swigt__p_wxTipWindow,
32824 &_swigt__p_wxToolBar,
32825 &_swigt__p_wxTopLevelWindow,
32826 &_swigt__p_wxUpdateUIEvent,
32827 &_swigt__p_wxValidator,
32828 &_swigt__p_wxVisualAttributes,
32829 &_swigt__p_wxWindow,
32830 &_swigt__p_wxWindowCreateEvent,
32831 &_swigt__p_wxWindowDestroyEvent,
32832 &_swigt__p_wxXPMHandler,
32fe5131
RD
32833};
32834
01f6b6d3 32835static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32836static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32837static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32838static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32839static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32840static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32841static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32842static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32843static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32844static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32845static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32846static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32847static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32848static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32849static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 32850static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32851static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32852static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32853static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32854static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32855static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32856static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32857static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32fe5131 32858static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32859static 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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}};
32fe5131
RD
32860static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32861static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32862static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32863static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32864static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32865static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32866static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32867static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32868static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32869static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32870static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32871static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32872static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32873static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32874static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32875static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32876static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32877static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32878static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32879static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32880static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32881static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32882static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32883static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32884static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32885static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32886static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32887static 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_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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}};
32fe5131
RD
32888static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32889static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32890static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32891static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32892static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32893static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_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_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32894static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32895static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32896static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32897static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32898static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32899static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32900static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32901static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32902static 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}};
e9d6f3a4 32903static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32904static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32905static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32906static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32907static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32908static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32909static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32910static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32911static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32912static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32913static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32914static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32915static 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}};
27e45892 32916static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32917static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32918static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32919static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32920static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32921static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32922static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32923static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32924static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32925static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32926static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32927static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32928static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32929static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32930static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32931static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32932static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32933static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32934static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32935static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32936static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32937static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32938static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32939static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32940static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32941static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32942static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32943static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32944static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32945static 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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_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_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
32fe5131
RD
32946static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32947static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32948static 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}};
32949static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32950static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32951static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32952static 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}};
32953static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32954static 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}};
32955static 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}};
32956static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32957static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32958static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32959static 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}};
32960static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32961static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32962static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32963static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32964static 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}};
32965static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32966static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32967static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32968static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32969static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32970static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32971static 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}};
32972static 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}};
32973static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32974static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32975static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32976static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32977static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32978static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32979static 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}};
32980static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32981static 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}};
32982static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32983static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32984static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32985static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32986static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32987static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32988static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32989static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32990static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32991static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32992static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32993static 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}};
32994static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32995static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32996static 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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}};
32fe5131 32997static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32998static 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_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}};
32fe5131
RD
32999
33000static swig_cast_info *swig_cast_initial[] = {
01f6b6d3 33001 _swigc__p_bool,
32fe5131
RD
33002 _swigc__p_char,
33003 _swigc__p_form_ops_t,
33004 _swigc__p_int,
33005 _swigc__p_unsigned_char,
33006 _swigc__p_unsigned_int,
33007 _swigc__p_unsigned_long,
33008 _swigc__p_wxANIHandler,
33009 _swigc__p_wxAcceleratorTable,
33010 _swigc__p_wxActivateEvent,
33011 _swigc__p_wxArrayInt,
33012 _swigc__p_wxBMPHandler,
33013 _swigc__p_wxBitmap,
33014 _swigc__p_wxBoxSizer,
33015 _swigc__p_wxCURHandler,
33016 _swigc__p_wxCalculateLayoutEvent,
33017 _swigc__p_wxChildFocusEvent,
2131d850 33018 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
33019 _swigc__p_wxCloseEvent,
33020 _swigc__p_wxColour,
33021 _swigc__p_wxColourData,
33022 _swigc__p_wxColourDialog,
33023 _swigc__p_wxCommandEvent,
33024 _swigc__p_wxContextMenuEvent,
33025 _swigc__p_wxControl,
33026 _swigc__p_wxControlWithItems,
33027 _swigc__p_wxDC,
33028 _swigc__p_wxDateEvent,
33029 _swigc__p_wxDialog,
33030 _swigc__p_wxDirDialog,
33031 _swigc__p_wxDisplayChangedEvent,
33032 _swigc__p_wxDropFilesEvent,
33033 _swigc__p_wxDuplexMode,
33034 _swigc__p_wxEraseEvent,
33035 _swigc__p_wxEvent,
33036 _swigc__p_wxEvtHandler,
33037 _swigc__p_wxFSFile,
33038 _swigc__p_wxFileDialog,
33039 _swigc__p_wxFileSystem,
33040 _swigc__p_wxFindDialogEvent,
33041 _swigc__p_wxFindReplaceData,
33042 _swigc__p_wxFindReplaceDialog,
33043 _swigc__p_wxFlexGridSizer,
33044 _swigc__p_wxFocusEvent,
33045 _swigc__p_wxFont,
33046 _swigc__p_wxFontData,
33047 _swigc__p_wxFontDialog,
33048 _swigc__p_wxFrame,
33049 _swigc__p_wxGBSizerItem,
33050 _swigc__p_wxGIFHandler,
33051 _swigc__p_wxGridBagSizer,
33052 _swigc__p_wxGridSizer,
e9d6f3a4 33053 _swigc__p_wxHtmlLinkInfo,
32fe5131
RD
33054 _swigc__p_wxICOHandler,
33055 _swigc__p_wxIcon,
33056 _swigc__p_wxIconBundle,
33057 _swigc__p_wxIconizeEvent,
33058 _swigc__p_wxIdleEvent,
33059 _swigc__p_wxImage,
33060 _swigc__p_wxImageHandler,
33061 _swigc__p_wxIndividualLayoutConstraint,
33062 _swigc__p_wxInitDialogEvent,
33063 _swigc__p_wxJPEGHandler,
33064 _swigc__p_wxKeyEvent,
33065 _swigc__p_wxLayoutAlgorithm,
33066 _swigc__p_wxLayoutConstraints,
33067 _swigc__p_wxMDIChildFrame,
33068 _swigc__p_wxMDIClientWindow,
33069 _swigc__p_wxMDIParentFrame,
33070 _swigc__p_wxMaximizeEvent,
33071 _swigc__p_wxMenu,
33072 _swigc__p_wxMenuBar,
33073 _swigc__p_wxMenuEvent,
33074 _swigc__p_wxMenuItem,
33075 _swigc__p_wxMessageDialog,
33076 _swigc__p_wxMiniFrame,
33077 _swigc__p_wxMouseCaptureChangedEvent,
33078 _swigc__p_wxMouseEvent,
33079 _swigc__p_wxMoveEvent,
33080 _swigc__p_wxMultiChoiceDialog,
33081 _swigc__p_wxNavigationKeyEvent,
33082 _swigc__p_wxNcPaintEvent,
33083 _swigc__p_wxNotifyEvent,
27e45892 33084 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
33085 _swigc__p_wxObject,
33086 _swigc__p_wxPCXHandler,
33087 _swigc__p_wxPNGHandler,
33088 _swigc__p_wxPNMHandler,
33089 _swigc__p_wxPageSetupDialog,
33090 _swigc__p_wxPageSetupDialogData,
33091 _swigc__p_wxPaintEvent,
33092 _swigc__p_wxPaletteChangedEvent,
33093 _swigc__p_wxPanel,
33094 _swigc__p_wxPaperSize,
33095 _swigc__p_wxPasswordEntryDialog,
33096 _swigc__p_wxPoint,
33097 _swigc__p_wxPopupWindow,
33098 _swigc__p_wxPreviewCanvas,
33099 _swigc__p_wxPreviewControlBar,
33100 _swigc__p_wxPreviewFrame,
33101 _swigc__p_wxPrintData,
33102 _swigc__p_wxPrintDialog,
33103 _swigc__p_wxPrintDialogData,
33104 _swigc__p_wxPrintPreview,
33105 _swigc__p_wxPrinter,
33106 _swigc__p_wxProgressDialog,
33107 _swigc__p_wxPyApp,
33108 _swigc__p_wxPyCommandEvent,
33109 _swigc__p_wxPyEvent,
33110 _swigc__p_wxPyHtmlListBox,
33111 _swigc__p_wxPyImageHandler,
33112 _swigc__p_wxPyPanel,
33113 _swigc__p_wxPyPopupTransientWindow,
33114 _swigc__p_wxPyPreviewControlBar,
33115 _swigc__p_wxPyPreviewFrame,
33116 _swigc__p_wxPyPrintPreview,
33117 _swigc__p_wxPyPrintout,
33118 _swigc__p_wxPyScrolledWindow,
33119 _swigc__p_wxPySizer,
33120 _swigc__p_wxPyTaskBarIcon,
33121 _swigc__p_wxPyVListBox,
33122 _swigc__p_wxPyVScrolledWindow,
33123 _swigc__p_wxPyValidator,
33124 _swigc__p_wxPyWindow,
33125 _swigc__p_wxQueryLayoutInfoEvent,
33126 _swigc__p_wxQueryNewPaletteEvent,
33127 _swigc__p_wxRect,
33128 _swigc__p_wxRegion,
33129 _swigc__p_wxSashEvent,
33130 _swigc__p_wxSashLayoutWindow,
33131 _swigc__p_wxSashWindow,
33132 _swigc__p_wxScrollEvent,
33133 _swigc__p_wxScrollWinEvent,
33134 _swigc__p_wxScrolledWindow,
33135 _swigc__p_wxSetCursorEvent,
33136 _swigc__p_wxShowEvent,
33137 _swigc__p_wxSingleChoiceDialog,
33138 _swigc__p_wxSize,
0085ce49
RD
33139 _swigc__p_wxSizeEvent,
33140 _swigc__p_wxSizer,
33141 _swigc__p_wxSizerItem,
33142 _swigc__p_wxSplashScreen,
33143 _swigc__p_wxSplashScreenWindow,
33144 _swigc__p_wxSplitterEvent,
33145 _swigc__p_wxSplitterWindow,
33146 _swigc__p_wxStaticBoxSizer,
33147 _swigc__p_wxStatusBar,
33148 _swigc__p_wxStdDialogButtonSizer,
33149 _swigc__p_wxString,
33150 _swigc__p_wxSysColourChangedEvent,
33151 _swigc__p_wxTIFFHandler,
33152 _swigc__p_wxTaskBarIcon,
33153 _swigc__p_wxTaskBarIconEvent,
33154 _swigc__p_wxTextEntryDialog,
33155 _swigc__p_wxTipWindow,
33156 _swigc__p_wxToolBar,
33157 _swigc__p_wxTopLevelWindow,
33158 _swigc__p_wxUpdateUIEvent,
33159 _swigc__p_wxValidator,
33160 _swigc__p_wxVisualAttributes,
33161 _swigc__p_wxWindow,
33162 _swigc__p_wxWindowCreateEvent,
33163 _swigc__p_wxWindowDestroyEvent,
33164 _swigc__p_wxXPMHandler,
33165};
33166
33167
33168/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33169
33170static swig_const_info swig_const_table[] = {
33171{0, 0, 0, 0.0, 0, 0}};
33172
093d3ff1
RD
33173#ifdef __cplusplus
33174}
33175#endif
0085ce49
RD
33176/* -----------------------------------------------------------------------------
33177 * Type initialization:
33178 * This problem is tough by the requirement that no dynamic
33179 * memory is used. Also, since swig_type_info structures store pointers to
33180 * swig_cast_info structures and swig_cast_info structures store pointers back
33181 * to swig_type_info structures, we need some lookup code at initialization.
33182 * The idea is that swig generates all the structures that are needed.
33183 * The runtime then collects these partially filled structures.
33184 * The SWIG_InitializeModule function takes these initial arrays out of
33185 * swig_module, and does all the lookup, filling in the swig_module.types
33186 * array with the correct data and linking the correct swig_cast_info
33187 * structures together.
33188 *
33189 * The generated swig_type_info structures are assigned staticly to an initial
33190 * array. We just loop though that array, and handle each type individually.
33191 * First we lookup if this type has been already loaded, and if so, use the
33192 * loaded structure instead of the generated one. Then we have to fill in the
33193 * cast linked list. The cast data is initially stored in something like a
33194 * two-dimensional array. Each row corresponds to a type (there are the same
33195 * number of rows as there are in the swig_type_initial array). Each entry in
33196 * a column is one of the swig_cast_info structures for that type.
33197 * The cast_initial array is actually an array of arrays, because each row has
33198 * a variable number of columns. So to actually build the cast linked list,
33199 * we find the array of casts associated with the type, and loop through it
33200 * adding the casts to the list. The one last trick we need to do is making
33201 * sure the type pointer in the swig_cast_info struct is correct.
33202 *
33203 * First off, we lookup the cast->type name to see if it is already loaded.
33204 * There are three cases to handle:
33205 * 1) If the cast->type has already been loaded AND the type we are adding
33206 * casting info to has not been loaded (it is in this module), THEN we
33207 * replace the cast->type pointer with the type pointer that has already
33208 * been loaded.
33209 * 2) If BOTH types (the one we are adding casting info to, and the
33210 * cast->type) are loaded, THEN the cast info has already been loaded by
33211 * the previous module so we just ignore it.
33212 * 3) Finally, if cast->type has not already been loaded, then we add that
33213 * swig_cast_info to the linked list (because the cast->type) pointer will
33214 * be correct.
33215 * ----------------------------------------------------------------------------- */
093d3ff1 33216
d14a1e28 33217#ifdef __cplusplus
0085ce49
RD
33218extern "C" {
33219#if 0
33220} /* c-mode */
33221#endif
33222#endif
33223
33224#if 0
33225#define SWIGRUNTIME_DEBUG
33226#endif
33227
33228SWIGRUNTIME void
33229SWIG_InitializeModule(void *clientdata) {
33230 size_t i;
33231 swig_module_info *module_head;
33232 static int init_run = 0;
33233
33234 clientdata = clientdata;
33235
33236 if (init_run) return;
33237 init_run = 1;
33238
33239 /* Initialize the swig_module */
33240 swig_module.type_initial = swig_type_initial;
33241 swig_module.cast_initial = swig_cast_initial;
33242
33243 /* Try and load any already created modules */
33244 module_head = SWIG_GetModule(clientdata);
33245 if (module_head) {
33246 swig_module.next = module_head->next;
33247 module_head->next = &swig_module;
33248 } else {
33249 /* This is the first module loaded */
33250 swig_module.next = &swig_module;
33251 SWIG_SetModule(clientdata, &swig_module);
33252 }
33253
33254 /* Now work on filling in swig_module.types */
33255#ifdef SWIGRUNTIME_DEBUG
33256 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33257#endif
33258 for (i = 0; i < swig_module.size; ++i) {
33259 swig_type_info *type = 0;
33260 swig_type_info *ret;
33261 swig_cast_info *cast;
d14a1e28 33262
0085ce49
RD
33263#ifdef SWIGRUNTIME_DEBUG
33264 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33265#endif
d14a1e28 33266
0085ce49
RD
33267 /* if there is another module already loaded */
33268 if (swig_module.next != &swig_module) {
33269 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 33270 }
0085ce49
RD
33271 if (type) {
33272 /* Overwrite clientdata field */
33273#ifdef SWIGRUNTIME_DEBUG
33274 printf("SWIG_InitializeModule: found type %s\n", type->name);
33275#endif
33276 if (swig_module.type_initial[i]->clientdata) {
33277 type->clientdata = swig_module.type_initial[i]->clientdata;
33278#ifdef SWIGRUNTIME_DEBUG
33279 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33280#endif
33281 }
33282 } else {
33283 type = swig_module.type_initial[i];
093d3ff1 33284 }
0085ce49
RD
33285
33286 /* Insert casting types */
33287 cast = swig_module.cast_initial[i];
33288 while (cast->type) {
33289 /* Don't need to add information already in the list */
33290 ret = 0;
33291#ifdef SWIGRUNTIME_DEBUG
33292 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33293#endif
33294 if (swig_module.next != &swig_module) {
33295 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33296#ifdef SWIGRUNTIME_DEBUG
33297 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33298#endif
33299 }
33300 if (ret) {
33301 if (type == swig_module.type_initial[i]) {
33302#ifdef SWIGRUNTIME_DEBUG
33303 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33304#endif
33305 cast->type = ret;
33306 ret = 0;
33307 } else {
33308 /* Check for casting already in the list */
33309 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33310#ifdef SWIGRUNTIME_DEBUG
33311 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33312#endif
33313 if (!ocast) ret = 0;
33314 }
33315 }
33316
33317 if (!ret) {
33318#ifdef SWIGRUNTIME_DEBUG
33319 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33320#endif
33321 if (type->cast) {
33322 type->cast->prev = cast;
33323 cast->next = type->cast;
33324 }
33325 type->cast = cast;
33326 }
33327 cast++;
093d3ff1 33328 }
0085ce49
RD
33329 /* Set entry in modules->types array equal to the type */
33330 swig_module.types[i] = type;
33331 }
33332 swig_module.types[i] = 0;
33333
33334#ifdef SWIGRUNTIME_DEBUG
33335 printf("**** SWIG_InitializeModule: Cast List ******\n");
33336 for (i = 0; i < swig_module.size; ++i) {
33337 int j = 0;
33338 swig_cast_info *cast = swig_module.cast_initial[i];
33339 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33340 while (cast->type) {
33341 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33342 cast++;
33343 ++j;
33344 }
33345 printf("---- Total casts: %d\n",j);
33346 }
33347 printf("**** SWIG_InitializeModule: Cast List ******\n");
33348#endif
33349}
33350
33351/* This function will propagate the clientdata field of type to
33352* any new swig_type_info structures that have been added into the list
33353* of equivalent types. It is like calling
33354* SWIG_TypeClientData(type, clientdata) a second time.
33355*/
33356SWIGRUNTIME void
33357SWIG_PropagateClientData(void) {
33358 size_t i;
33359 swig_cast_info *equiv;
33360 static int init_run = 0;
33361
33362 if (init_run) return;
33363 init_run = 1;
33364
33365 for (i = 0; i < swig_module.size; i++) {
33366 if (swig_module.types[i]->clientdata) {
33367 equiv = swig_module.types[i]->cast;
33368 while (equiv) {
33369 if (!equiv->converter) {
33370 if (equiv->type && !equiv->type->clientdata)
33371 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33372 }
33373 equiv = equiv->next;
33374 }
093d3ff1 33375 }
0085ce49
RD
33376 }
33377}
33378
33379#ifdef __cplusplus
33380#if 0
33381{
33382 /* c-mode */
33383#endif
33384}
33385#endif
33386
33387
33388
33389#ifdef __cplusplus
33390extern "C" {
33391#endif
33392
33393 /* Python-specific SWIG API */
33394#define SWIG_newvarlink() SWIG_Python_newvarlink()
33395#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33396#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33397
33398 /* -----------------------------------------------------------------------------
33399 * global variable support code.
33400 * ----------------------------------------------------------------------------- */
33401
33402 typedef struct swig_globalvar {
33403 char *name; /* Name of global variable */
33404 PyObject *(*get_attr)(void); /* Return the current value */
33405 int (*set_attr)(PyObject *); /* Set the value */
33406 struct swig_globalvar *next;
33407 } swig_globalvar;
33408
33409 typedef struct swig_varlinkobject {
33410 PyObject_HEAD
33411 swig_globalvar *vars;
33412 } swig_varlinkobject;
33413
33414 SWIGINTERN PyObject *
33415 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33416 return PyString_FromString("<Swig global variables>");
33417 }
33418
33419 SWIGINTERN PyObject *
33420 swig_varlink_str(swig_varlinkobject *v) {
33421 PyObject *str = PyString_FromString("(");
33422 swig_globalvar *var;
33423 for (var = v->vars; var; var=var->next) {
33424 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33425 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33426 }
33427 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33428 return str;
33429 }
33430
33431 SWIGINTERN int
33432 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33433 PyObject *str = swig_varlink_str(v);
33434 fprintf(fp,"Swig global variables ");
33435 fprintf(fp,"%s\n", PyString_AsString(str));
33436 Py_DECREF(str);
33437 return 0;
33438 }
33439
33440 SWIGINTERN void
33441 swig_varlink_dealloc(swig_varlinkobject *v) {
33442 swig_globalvar *var = v->vars;
33443 while (var) {
33444 swig_globalvar *n = var->next;
33445 free(var->name);
33446 free(var);
33447 var = n;
093d3ff1 33448 }
0085ce49
RD
33449 }
33450
33451 SWIGINTERN PyObject *
33452 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33453 PyObject *res = NULL;
33454 swig_globalvar *var = v->vars;
33455 while (var) {
33456 if (strcmp(var->name,n) == 0) {
33457 res = (*var->get_attr)();
33458 break;
33459 }
33460 var = var->next;
093d3ff1 33461 }
0085ce49
RD
33462 if (res == NULL && !PyErr_Occurred()) {
33463 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33464 }
0085ce49
RD
33465 return res;
33466 }
33467
33468 SWIGINTERN int
33469 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33470 int res = 1;
33471 swig_globalvar *var = v->vars;
33472 while (var) {
33473 if (strcmp(var->name,n) == 0) {
33474 res = (*var->set_attr)(p);
33475 break;
33476 }
33477 var = var->next;
093d3ff1 33478 }
0085ce49
RD
33479 if (res == 1 && !PyErr_Occurred()) {
33480 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33481 }
0085ce49
RD
33482 return res;
33483 }
33484
33485 SWIGINTERN PyTypeObject*
33486 swig_varlink_type(void) {
33487 static char varlink__doc__[] = "Swig var link object";
33488 static PyTypeObject varlink_type;
33489 static int type_init = 0;
33490 if (!type_init) {
33491 const PyTypeObject tmp
33492 = {
33493 PyObject_HEAD_INIT(NULL)
33494 0, /* Number of items in variable part (ob_size) */
33495 (char *)"swigvarlink", /* Type name (tp_name) */
33496 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33497 0, /* Itemsize (tp_itemsize) */
33498 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33499 (printfunc) swig_varlink_print, /* Print (tp_print) */
33500 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33501 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33502 0, /* tp_compare */
33503 (reprfunc) swig_varlink_repr, /* tp_repr */
33504 0, /* tp_as_number */
33505 0, /* tp_as_sequence */
33506 0, /* tp_as_mapping */
33507 0, /* tp_hash */
33508 0, /* tp_call */
33509 (reprfunc)swig_varlink_str, /* tp_str */
33510 0, /* tp_getattro */
33511 0, /* tp_setattro */
33512 0, /* tp_as_buffer */
33513 0, /* tp_flags */
33514 varlink__doc__, /* tp_doc */
33515 0, /* tp_traverse */
33516 0, /* tp_clear */
33517 0, /* tp_richcompare */
33518 0, /* tp_weaklistoffset */
33519#if PY_VERSION_HEX >= 0x02020000
33520 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33521#endif
33522#if PY_VERSION_HEX >= 0x02030000
33523 0, /* tp_del */
33524#endif
33525#ifdef COUNT_ALLOCS
33526 0,0,0,0 /* tp_alloc -> tp_next */
33527#endif
33528 };
33529 varlink_type = tmp;
33530 varlink_type.ob_type = &PyType_Type;
33531 type_init = 1;
093d3ff1 33532 }
0085ce49
RD
33533 return &varlink_type;
33534 }
33535
33536 /* Create a variable linking object for use later */
33537 SWIGINTERN PyObject *
33538 SWIG_Python_newvarlink(void) {
33539 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33540 if (result) {
33541 result->vars = 0;
33542 }
33543 return ((PyObject*) result);
33544 }
33545
33546 SWIGINTERN void
33547 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33548 swig_varlinkobject *v = (swig_varlinkobject *) p;
33549 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33550 if (gv) {
33551 size_t size = strlen(name)+1;
33552 gv->name = (char *)malloc(size);
33553 if (gv->name) {
33554 strncpy(gv->name,name,size);
33555 gv->get_attr = get_attr;
33556 gv->set_attr = set_attr;
33557 gv->next = v->vars;
33558 }
093d3ff1 33559 }
0085ce49
RD
33560 v->vars = gv;
33561 }
33562
33563 SWIGINTERN PyObject *
33564 SWIG_globals() {
33565 static PyObject *_SWIG_globals = 0;
33566 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33567 return _SWIG_globals;
33568 }
33569
33570 /* -----------------------------------------------------------------------------
33571 * constants/methods manipulation
33572 * ----------------------------------------------------------------------------- */
33573
33574 /* Install Constants */
33575 SWIGINTERN void
33576 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33577 PyObject *obj = 0;
33578 size_t i;
33579 for (i = 0; constants[i].type; ++i) {
33580 switch(constants[i].type) {
33581 case SWIG_PY_POINTER:
33582 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33583 break;
33584 case SWIG_PY_BINARY:
33585 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33586 break;
33587 default:
33588 obj = 0;
33589 break;
33590 }
33591 if (obj) {
33592 PyDict_SetItemString(d, constants[i].name, obj);
33593 Py_DECREF(obj);
33594 }
093d3ff1 33595 }
0085ce49
RD
33596 }
33597
33598 /* -----------------------------------------------------------------------------*/
33599 /* Fix SwigMethods to carry the callback ptrs when needed */
33600 /* -----------------------------------------------------------------------------*/
33601
33602 SWIGINTERN void
33603 SWIG_Python_FixMethods(PyMethodDef *methods,
33604 swig_const_info *const_table,
33605 swig_type_info **types,
33606 swig_type_info **types_initial) {
33607 size_t i;
33608 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 33609 const char *c = methods[i].ml_doc;
0085ce49
RD
33610 if (c && (c = strstr(c, "swig_ptr: "))) {
33611 int j;
33612 swig_const_info *ci = 0;
453fb36b 33613 const char *name = c + 10;
0085ce49
RD
33614 for (j = 0; const_table[j].type; ++j) {
33615 if (strncmp(const_table[j].name, name,
33616 strlen(const_table[j].name)) == 0) {
33617 ci = &(const_table[j]);
33618 break;
33619 }
33620 }
33621 if (ci) {
33622 size_t shift = (ci->ptype) - types;
33623 swig_type_info *ty = types_initial[shift];
33624 size_t ldoc = (c - methods[i].ml_doc);
33625 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33626 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33627 if (ndoc) {
33628 char *buff = ndoc;
33629 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33630 if (ptr) {
33631 strncpy(buff, methods[i].ml_doc, ldoc);
33632 buff += ldoc;
33633 strncpy(buff, "swig_ptr: ", 10);
33634 buff += 10;
33635 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33636 methods[i].ml_doc = ndoc;
33637 }
33638 }
33639 }
33640 }
093d3ff1 33641 }
0085ce49
RD
33642 }
33643
33644#ifdef __cplusplus
33645}
33646#endif
33647
33648/* -----------------------------------------------------------------------------*
33649 * Partial Init method
33650 * -----------------------------------------------------------------------------*/
33651
33652#ifdef __cplusplus
33653extern "C"
33654#endif
33655SWIGEXPORT void SWIG_init(void) {
33656 PyObject *m, *d;
33657
33658 /* Fix SwigMethods to carry the callback ptrs when needed */
33659 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33660
33661 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33662 d = PyModule_GetDict(m);
33663
33664 SWIG_InitializeModule(0);
33665 SWIG_InstallConstants(d,swig_const_table);
33666
33667
33668 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33669 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33670 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33671 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33672 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33673 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33674 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33675 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33676 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33677 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33678 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33679 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33680 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33681 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33682 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33683 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33684 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33685 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33686 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33687 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33688 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33689 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33690 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33691 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33692 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33693 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33694 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33695 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33696 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33697 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33698 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33699 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33700 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33701 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33702 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33703 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33704 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33705 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33706 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33707 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33708 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33709 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33710 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33711 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33712 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33713 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33714 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33715 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33716 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33717 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33718 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33719 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33720 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33721 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33722 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33723 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33724 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33725 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33726 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33727 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33728 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33729 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33730 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33731 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33732 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33733 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33734 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33735 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33736 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33737 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33738 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33739 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33740 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33741 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33742 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33743 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33744 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33745 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33746 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33747 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33748 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33749 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33750 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33751 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33752 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33753 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33754 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33755 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33756 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33757 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33758 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33759 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33760 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33761 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33762 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33763 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33764 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33765 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33766 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33767 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33768 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33769 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33770
33771 // Map renamed classes back to their common name for OOR
33772 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33773 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33774 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33775
33776 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33777 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33778 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33779 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33780 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33781 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33782 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33783 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33784 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33785 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33786 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33787 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33788 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
33789 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33790 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33791 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33792 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33793 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33794 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33795 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33796 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33797 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 33798 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
33799 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33800 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33801 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33802 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33803 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33804 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33805 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
0085ce49
RD
33806 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33807 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33808 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33809 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33810 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33811 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33812 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33813 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33814 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33815 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33816 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33817 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33818 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33819 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33820 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33821 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33822 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33823 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33824 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33825 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33826 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33827 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33828 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33829 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33830 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33831 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33832 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33833 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33834 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33835 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33836 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33837 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33838 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33839 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33840 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33841 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33842 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33843 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33844 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33845 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33846 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33847 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33848 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33849 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33850 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33851 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33852 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33853 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33854 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33855 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33856 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33857 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33858 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33859 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33860 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33861 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33862 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33863 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33864 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33865 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33866 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33867 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33868 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33869 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33870 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33871
33872 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33873
d14a1e28
RD
33874}
33875