]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
Changes needed for building with Python 2.5
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
554f62e9 3 * Version 1.3.29
d55e5bfc
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
554f62e9 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d55e5bfc
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};
d55e5bfc
RD
28#endif
29
554f62e9 30/* -----------------------------------------------------------------------------
7449af73
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
554f62e9 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
7449af73
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
554f62e9
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
d55e5bfc 47
7449af73
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
554f62e9
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__))
7449af73
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
554f62e9
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
7449af73
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
554f62e9
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
7449af73
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
554f62e9
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
7449af73
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
554f62e9
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
7449af73 126
d55e5bfc 127
554f62e9 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d55e5bfc 130
554f62e9 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d55e5bfc 133 *
554f62e9
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 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 */
7449af73 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
7449af73
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)
d55e5bfc 147#else
7449af73 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*/
7449af73 159
093d3ff1 160#ifndef SWIGRUNTIME
7449af73 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
7449af73 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
7449af73 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
554f62e9
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
7449af73
RD
309#include <string.h>
310
d55e5bfc
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
7449af73 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
7449af73
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 */
554f62e9 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
7449af73
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;
554f62e9 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>|...
7449af73 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 }
7449af73 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
7449af73
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*/
7449af73
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 }
7449af73
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
7449af73 401 return equiv;
093d3ff1
RD
402}
403
7449af73
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*/
7449af73 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
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 *
7449af73 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. */
554f62e9 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
7449af73
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;
7449af73
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 }
7449af73
RD
508 }
509 cast = cast->next;
510 }
511}
554f62e9
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
7449af73
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 }
7449af73
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 }
7449af73
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) {
7449af73
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) {
7449af73 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;
7449af73 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
7449af73 621 register char d = *(c++);
554f62e9 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}
d55e5bfc 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}
d55e5bfc
RD
695
696#ifdef __cplusplus
697}
698#endif
699
554f62e9
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
d55e5bfc 714
554f62e9
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
554f62e9
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/* -----------------------------------------------------------------------------
554f62e9 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
554f62e9
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}
d55e5bfc 846
554f62e9
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
d55e5bfc 936
554f62e9
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
554f62e9
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 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 {
554f62e9
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;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
554f62e9
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
554f62e9
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 *
554f62e9
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 *
554f62e9 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
093d3ff1 986/* Common SWIG API */
d55e5bfc 987
554f62e9
RD
988/* for raw pointers */
989#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995#define swig_owntype int
d55e5bfc 996
554f62e9
RD
997/* for raw packed data */
998#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1000
554f62e9
RD
1001/* for class or struct pointers */
1002#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1004
554f62e9
RD
1005/* for C or C++ function pointers */
1006#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1008
554f62e9
RD
1009/* for C++ member pointers, ie, member methods */
1010#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
7449af73 1012
d55e5bfc 1013
554f62e9 1014/* Runtime API */
d55e5bfc 1015
554f62e9
RD
1016#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
7449af73 1019
554f62e9
RD
1020#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024#define SWIG_fail goto fail
7449af73 1025
d55e5bfc 1026
554f62e9 1027/* Runtime API implementation */
d55e5bfc 1028
554f62e9 1029/* Error manipulation */
d55e5bfc 1030
554f62e9
RD
1031SWIGINTERN void
1032SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
c32bde28 1037}
d55e5bfc 1038
554f62e9
RD
1039SWIGINTERN void
1040SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1044}
1045
554f62e9 1046#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1047
554f62e9 1048/* Set a constant value */
d55e5bfc 1049
554f62e9
RD
1050SWIGINTERN void
1051SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
c32bde28 1054}
d55e5bfc 1055
554f62e9 1056/* Append a value to the result obj */
d55e5bfc 1057
554f62e9
RD
1058SWIGINTERN PyObject*
1059SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076#else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
093d3ff1 1084 } else {
554f62e9
RD
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
c32bde28 1096 }
554f62e9
RD
1097 return result;
1098#endif
c32bde28
RD
1099}
1100
554f62e9 1101/* Unpack the argument tuple */
d55e5bfc 1102
554f62e9
RD
1103SWIGINTERN int
1104SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105{
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139}
1140
1141/* A functor is a function object with one single object argument */
1142#if PY_VERSION_HEX >= 0x02020000
1143#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144#else
1145#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146#endif
1147
1148/*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151*/
1152#ifdef __cplusplus
1153#define SWIG_STATIC_POINTER(var) var
1154#else
1155#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156#endif
1157
1158/* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162/* Flags for new pointer objects */
1163#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168#ifdef __cplusplus
1169extern "C" {
1170#if 0
1171} /* cc-mode */
1172#endif
1173#endif
1174
1175/* How to access Py_None */
1176#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177# ifndef SWIG_PYTHON_NO_BUILD_NONE
1178# ifndef SWIG_PYTHON_BUILD_NONE
1179# define SWIG_PYTHON_BUILD_NONE
1180# endif
1181# endif
1182#endif
1183
1184#ifdef SWIG_PYTHON_BUILD_NONE
1185# ifdef Py_None
1186# undef Py_None
1187# define Py_None SWIG_Py_None()
1188# endif
1189SWIGRUNTIMEINLINE PyObject *
1190_SWIG_Py_None(void)
1191{
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195}
1196SWIGRUNTIME PyObject *
1197SWIG_Py_None(void)
1198{
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201}
1202#endif
1203
1204/* The python void return value */
1205
1206SWIGRUNTIMEINLINE PyObject *
1207SWIG_Py_Void(void)
1208{
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212}
1213
1214/* PySwigClientData */
1215
1216typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223} PySwigClientData;
1224
1225SWIGRUNTIMEINLINE int
1226SWIG_Python_CheckImplicit(swig_type_info *ty)
1227{
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230}
1231
1232SWIGRUNTIMEINLINE PyObject *
1233SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237}
1238
1239
1240SWIGRUNTIME PySwigClientData *
1241PySwigClientData_New(PyObject* obj)
1242{
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256#if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258#else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260#endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280#ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282#else
1283 data->delargs = 0;
1284#endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291}
1292
1293SWIGRUNTIME void
1294PySwigClientData_Del(PySwigClientData* data)
1295{
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299}
1300
1301/* =============== PySwigObject =====================*/
1302
1303typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309} PySwigObject;
1310
1311SWIGRUNTIME PyObject *
1312PySwigObject_long(PySwigObject *v)
1313{
1314 return PyLong_FromVoidPtr(v->ptr);
1315}
1316
1317SWIGRUNTIME PyObject *
1318PySwigObject_format(const char* fmt, PySwigObject *v)
1319{
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333}
1334
1335SWIGRUNTIME PyObject *
1336PySwigObject_oct(PySwigObject *v)
1337{
1338 return PySwigObject_format("%o",v);
1339}
1340
1341SWIGRUNTIME PyObject *
1342PySwigObject_hex(PySwigObject *v)
1343{
1344 return PySwigObject_format("%x",v);
1345}
1346
1347SWIGRUNTIME PyObject *
1348#ifdef METH_NOARGS
1349PySwigObject_repr(PySwigObject *v)
1350#else
1351PySwigObject_repr(PySwigObject *v, PyObject *args)
1352#endif
1353{
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359#ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361#else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363#endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367}
1368
1369SWIGRUNTIME int
1370PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371{
1372#ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374#else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376#endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384}
1385
1386SWIGRUNTIME PyObject *
1387PySwigObject_str(PySwigObject *v)
1388{
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392}
1393
1394SWIGRUNTIME int
1395PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396{
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400}
1401
1402SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404SWIGRUNTIME PyTypeObject*
1405PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408}
1409
1410SWIGRUNTIMEINLINE int
1411PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414}
1415
1416SWIGRUNTIME PyObject *
1417PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419SWIGRUNTIME void
1420PySwigObject_dealloc(PyObject *v)
1421{
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446#endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451}
1452
1453SWIGRUNTIME PyObject*
1454PySwigObject_append(PyObject* v, PyObject* next)
1455{
1456 PySwigObject *sobj = (PySwigObject *) v;
1457#ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461#endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468}
1469
1470SWIGRUNTIME PyObject*
1471#ifdef METH_NOARGS
1472PySwigObject_next(PyObject* v)
1473#else
1474PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475#endif
1476{
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484}
1485
1486SWIGINTERN PyObject*
1487#ifdef METH_NOARGS
1488PySwigObject_disown(PyObject *v)
1489#else
1490PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491#endif
1492{
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496}
1497
1498SWIGINTERN PyObject*
1499#ifdef METH_NOARGS
1500PySwigObject_acquire(PyObject *v)
1501#else
1502PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503#endif
1504{
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508}
1509
1510SWIGINTERN PyObject*
1511PySwigObject_own(PyObject *v, PyObject *args)
1512{
1513 PyObject *val = 0;
1514#if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516#else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518#endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527#ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533#else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539#endif
1540 }
1541 return obj;
1542 }
1543}
1544
1545#ifdef METH_O
1546static PyMethodDef
1547swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555};
1556#else
1557static PyMethodDef
1558swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566};
1567#endif
1568
1569#if PY_VERSION_HEX < 0x02020000
1570SWIGINTERN PyObject *
1571PySwigObject_getattr(PySwigObject *sobj,char *name)
1572{
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574}
1575#endif
1576
1577SWIGRUNTIME PyTypeObject*
1578_PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 1605#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1607#elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1609#endif
1610 };
1611
554f62e9 1612 static PyTypeObject pyswigobject_type;
7449af73 1613 static int type_init = 0;
093d3ff1 1614 if (!type_init) {
554f62e9
RD
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624#if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626#else
1627 (getattrfunc)0, /* tp_getattr */
093d3ff1 1628#endif
554f62e9
RD
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
093d3ff1 1647#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
093d3ff1
RD
1668#endif
1669#if PY_VERSION_HEX >= 0x02030000
554f62e9 1670 0, /* tp_del */
093d3ff1
RD
1671#endif
1672#ifdef COUNT_ALLOCS
554f62e9 1673 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1674#endif
554f62e9 1675 };
7449af73 1676 pyswigobject_type = tmp;
554f62e9 1677 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1678 type_init = 1;
1679 }
7449af73 1680 return &pyswigobject_type;
093d3ff1
RD
1681}
1682
1683SWIGRUNTIME PyObject *
554f62e9 1684PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c32bde28 1685{
554f62e9
RD
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
7449af73 1692 }
554f62e9 1693 return (PyObject *)sobj;
093d3ff1 1694}
d55e5bfc 1695
093d3ff1
RD
1696/* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
d55e5bfc 1699
093d3ff1
RD
1700typedef struct {
1701 PyObject_HEAD
1702 void *pack;
554f62e9 1703 swig_type_info *ty;
093d3ff1
RD
1704 size_t size;
1705} PySwigPacked;
c32bde28 1706
093d3ff1 1707SWIGRUNTIME int
554f62e9 1708PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
d55e5bfc 1709{
093d3ff1
RD
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
554f62e9 1716 fputs(v->ty->name,fp);
093d3ff1
RD
1717 fputs(">", fp);
1718 return 0;
1719}
9d7dfdff 1720
093d3ff1
RD
1721SWIGRUNTIME PyObject *
1722PySwigPacked_repr(PySwigPacked *v)
1723{
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
554f62e9 1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1727 } else {
554f62e9 1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1 1729 }
d55e5bfc
RD
1730}
1731
093d3ff1
RD
1732SWIGRUNTIME PyObject *
1733PySwigPacked_str(PySwigPacked *v)
1734{
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1737 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1738 } else {
554f62e9 1739 return PyString_FromString(v->ty->name);
093d3ff1
RD
1740 }
1741}
d55e5bfc 1742
093d3ff1
RD
1743SWIGRUNTIME int
1744PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 1745{
554f62e9
RD
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c32bde28
RD
1750}
1751
554f62e9 1752SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
d55e5bfc 1753
093d3ff1 1754SWIGRUNTIME PyTypeObject*
7449af73 1755PySwigPacked_type(void) {
554f62e9
RD
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758}
1759
1760SWIGRUNTIMEINLINE int
1761PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764}
1765
1766SWIGRUNTIME void
1767PySwigPacked_dealloc(PyObject *v)
1768{
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774}
1775
1776SWIGRUNTIME PyTypeObject*
1777_PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810#if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
093d3ff1
RD
1831#endif
1832#if PY_VERSION_HEX >= 0x02030000
554f62e9 1833 0, /* tp_del */
093d3ff1
RD
1834#endif
1835#ifdef COUNT_ALLOCS
554f62e9 1836 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1837#endif
554f62e9 1838 };
7449af73 1839 pyswigpacked_type = tmp;
554f62e9 1840 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1841 type_init = 1;
1842 }
7449af73 1843 return &pyswigpacked_type;
093d3ff1 1844}
d55e5bfc 1845
093d3ff1 1846SWIGRUNTIME PyObject *
554f62e9 1847PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1848{
554f62e9
RD
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
093d3ff1 1851 void *pack = malloc(size);
7449af73
RD
1852 if (pack) {
1853 memcpy(pack, ptr, size);
554f62e9
RD
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
7449af73 1860 }
093d3ff1 1861 }
554f62e9 1862 return (PyObject *) sobj;
093d3ff1 1863}
d55e5bfc 1864
554f62e9 1865SWIGRUNTIME swig_type_info *
093d3ff1 1866PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 1867{
554f62e9
RD
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
093d3ff1 1876}
d55e5bfc 1877
093d3ff1 1878/* -----------------------------------------------------------------------------
554f62e9 1879 * pointers/data manipulation
093d3ff1 1880 * ----------------------------------------------------------------------------- */
d55e5bfc 1881
554f62e9
RD
1882SWIGRUNTIMEINLINE PyObject *
1883_SWIG_This(void)
1884{
1885 return PyString_FromString("this");
1886}
d55e5bfc 1887
554f62e9
RD
1888SWIGRUNTIME PyObject *
1889SWIG_This(void)
1890{
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893}
d55e5bfc 1894
554f62e9 1895/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d55e5bfc 1896
554f62e9
RD
1897SWIGRUNTIME PySwigObject *
1898SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1899{
554f62e9
RD
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913#ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918#endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
093d3ff1 1922 } else {
554f62e9
RD
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
093d3ff1 1925 }
093d3ff1 1926 }
554f62e9
RD
1927 }
1928#else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936#endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
093d3ff1
RD
1943 }
1944}
d55e5bfc 1945
554f62e9
RD
1946/* Acquire a pointer value */
1947
1948SWIGRUNTIME int
1949SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
093d3ff1 1957 }
554f62e9 1958 return 0;
093d3ff1 1959}
d55e5bfc 1960
554f62e9
RD
1961/* Convert a pointer value */
1962
093d3ff1 1963SWIGRUNTIME int
554f62e9
RD
1964SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
093d3ff1 1988 } else {
554f62e9
RD
1989 if (ptr) *ptr = vptr;
1990 break;
093d3ff1 1991 }
093d3ff1 1992 }
554f62e9
RD
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
093d3ff1
RD
2038 }
2039}
d55e5bfc 2040
554f62e9
RD
2041/* Convert a function ptr value */
2042
093d3ff1 2043SWIGRUNTIME int
554f62e9
RD
2044SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2047 } else {
554f62e9
RD
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
093d3ff1
RD
2065 }
2066}
d55e5bfc 2067
554f62e9 2068/* Convert a packed value value */
d55e5bfc 2069
093d3ff1 2070SWIGRUNTIME int
554f62e9
RD
2071SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
093d3ff1 2080 }
554f62e9
RD
2081 return SWIG_OK;
2082}
d55e5bfc 2083
554f62e9
RD
2084/* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
d55e5bfc 2087
554f62e9
RD
2088/*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091*/
d55e5bfc 2092
554f62e9
RD
2093SWIGRUNTIME PyObject*
2094SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095{
2096#if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
093d3ff1 2111 }
554f62e9
RD
2112#else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115#endif
093d3ff1 2116 }
554f62e9
RD
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
093d3ff1 2122 }
554f62e9
RD
2123 return inst;
2124#else
2125#if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132#else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
093d3ff1 2136 }
554f62e9
RD
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
093d3ff1 2143 }
554f62e9
RD
2144#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146#endif
2147#ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149#endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152#endif
2153#endif
093d3ff1 2154}
d55e5bfc 2155
554f62e9
RD
2156SWIGRUNTIME void
2157SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158{
2159 PyObject *dict;
2160#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
093d3ff1 2171#endif
554f62e9
RD
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175}
d55e5bfc 2176
554f62e9
RD
2177
2178SWIGINTERN PyObject *
2179SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2187 } else {
554f62e9 2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2189 }
554f62e9 2190 return SWIG_Py_Void();
093d3ff1 2191 }
554f62e9
RD
2192}
2193
2194/* Create a new pointer object */
093d3ff1 2195
093d3ff1 2196SWIGRUNTIME PyObject *
554f62e9 2197SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2198 if (!ptr) {
554f62e9
RD
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
093d3ff1 2209 }
093d3ff1 2210 }
554f62e9 2211 return robj;
093d3ff1 2212 }
093d3ff1
RD
2213}
2214
554f62e9
RD
2215/* Create a new packed object */
2216
2217SWIGRUNTIMEINLINE PyObject *
093d3ff1 2218SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2220}
2221
2222/* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226#ifdef SWIG_LINK_RUNTIME
2227void *SWIG_ReturnGlobalTypeList(void *);
2228#endif
2229
7449af73
RD
2230SWIGRUNTIME swig_module_info *
2231SWIG_Python_GetModule(void) {
093d3ff1
RD
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235#ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237#else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
093d3ff1 2244#endif
7449af73
RD
2245 }
2246 return (swig_module_info *) type_pointer;
093d3ff1
RD
2247}
2248
7449af73
RD
2249#if PY_MAJOR_VERSION < 2
2250/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2251 is copied out of Python/modsupport.c in python version 2.3.4 */
7449af73
RD
2252SWIGINTERN int
2253PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254{
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
554f62e9 2259 return SWIG_ERROR;
7449af73
RD
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
554f62e9 2264 return SWIG_ERROR;
7449af73
RD
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
554f62e9 2272 return SWIG_ERROR;
7449af73
RD
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
554f62e9 2275 return SWIG_ERROR;
7449af73 2276 Py_DECREF(o);
554f62e9 2277 return SWIG_OK;
093d3ff1 2278}
7449af73 2279#endif
093d3ff1 2280
554f62e9
RD
2281SWIGRUNTIME void
2282SWIG_Python_DestroyModule(void *vptr)
2283{
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295}
2296
7449af73
RD
2297SWIGRUNTIME void
2298SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
554f62e9 2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7449af73
RD
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2306 } else {
2307 Py_XDECREF(pointer);
7449af73
RD
2308 }
2309}
093d3ff1 2310
554f62e9
RD
2311/* The python cached type query */
2312SWIGRUNTIME PyObject *
2313SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
093d3ff1 2316}
093d3ff1 2317
554f62e9
RD
2318SWIGRUNTIME swig_type_info *
2319SWIG_Python_TypeQuery(const char *type)
2320{
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338}
2339
2340/*
2341 For backward compatibility only
2342*/
2343#define SWIG_POINTER_EXCEPTION 0
2344#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347SWIGRUNTIME int
2348SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349{
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370}
2371
2372SWIGRUNTIME int
2373SWIG_Python_ArgFail(int argnum)
2374{
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383}
2384
2385SWIGRUNTIMEINLINE const char *
2386PySwigObject_GetDesc(PyObject *self)
2387{
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391}
2392
2393SWIGRUNTIME void
2394SWIG_Python_TypeError(const char *type, PyObject *obj)
2395{
2396 if (type) {
2397#if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406#endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427}
2428
2429
2430/* Convert a pointer value, signal an exception on a type mismatch */
2431SWIGRUNTIME void *
2432SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442}
2443
2444
2445#ifdef __cplusplus
2446#if 0
2447{ /* cc-mode */
2448#endif
2449}
2450#endif
2451
2452
2453
2454#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460/* -------- TYPES TABLE (BEGIN) -------- */
2461
f460c29d
RD
2462#define SWIGTYPE_p_bool swig_types[0]
2463#define SWIGTYPE_p_char swig_types[1]
2464#define SWIGTYPE_p_form_ops_t swig_types[2]
2465#define SWIGTYPE_p_int swig_types[3]
2466#define SWIGTYPE_p_unsigned_char swig_types[4]
2467#define SWIGTYPE_p_unsigned_int swig_types[5]
2468#define SWIGTYPE_p_unsigned_long swig_types[6]
2469#define SWIGTYPE_p_wxANIHandler swig_types[7]
2470#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472#define SWIGTYPE_p_wxArrayInt swig_types[10]
2473#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474#define SWIGTYPE_p_wxBitmap swig_types[12]
2475#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476#define SWIGTYPE_p_wxCURHandler swig_types[14]
2477#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2131d850
RD
2479#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481#define SWIGTYPE_p_wxColour swig_types[19]
2482#define SWIGTYPE_p_wxColourData swig_types[20]
2483#define SWIGTYPE_p_wxColourDialog swig_types[21]
2484#define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485#define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486#define SWIGTYPE_p_wxControl swig_types[24]
2487#define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488#define SWIGTYPE_p_wxDC swig_types[26]
2489#define SWIGTYPE_p_wxDateEvent swig_types[27]
2490#define SWIGTYPE_p_wxDialog swig_types[28]
2491#define SWIGTYPE_p_wxDirDialog swig_types[29]
2492#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494#define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495#define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496#define SWIGTYPE_p_wxEvent swig_types[34]
2497#define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498#define SWIGTYPE_p_wxFSFile swig_types[36]
2499#define SWIGTYPE_p_wxFileDialog swig_types[37]
2500#define SWIGTYPE_p_wxFileSystem swig_types[38]
2501#define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502#define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503#define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505#define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506#define SWIGTYPE_p_wxFont swig_types[44]
2507#define SWIGTYPE_p_wxFontData swig_types[45]
2508#define SWIGTYPE_p_wxFontDialog swig_types[46]
2509#define SWIGTYPE_p_wxFrame swig_types[47]
2510#define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511#define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513#define SWIGTYPE_p_wxGridSizer swig_types[51]
2514#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515#define SWIGTYPE_p_wxICOHandler swig_types[53]
2516#define SWIGTYPE_p_wxIcon swig_types[54]
2517#define SWIGTYPE_p_wxIconBundle swig_types[55]
2518#define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519#define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520#define SWIGTYPE_p_wxImage swig_types[58]
2521#define SWIGTYPE_p_wxImageHandler swig_types[59]
2522#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524#define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525#define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527#define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528#define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529#define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530#define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531#define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532#define SWIGTYPE_p_wxMenu swig_types[70]
2533#define SWIGTYPE_p_wxMenuBar swig_types[71]
2534#define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535#define SWIGTYPE_p_wxMenuItem swig_types[73]
2536#define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537#define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539#define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540#define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543#define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544#define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545#define SWIGTYPE_p_wxObject swig_types[83]
2546#define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547#define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548#define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549#define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550#define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551#define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553#define SWIGTYPE_p_wxPanel swig_types[91]
2554#define SWIGTYPE_p_wxPaperSize swig_types[92]
2555#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556#define SWIGTYPE_p_wxPoint swig_types[94]
2557#define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558#define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559#define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560#define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561#define SWIGTYPE_p_wxPrintData swig_types[99]
2562#define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563#define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564#define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565#define SWIGTYPE_p_wxPrinter swig_types[103]
2566#define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567#define SWIGTYPE_p_wxPyApp swig_types[105]
2568#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569#define SWIGTYPE_p_wxPyEvent swig_types[107]
2570#define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571#define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572#define SWIGTYPE_p_wxPyPanel swig_types[110]
2573#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575#define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576#define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577#define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578#define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579#define SWIGTYPE_p_wxPySizer swig_types[117]
2580#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581#define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583#define SWIGTYPE_p_wxPyValidator swig_types[121]
2584#define SWIGTYPE_p_wxPyWindow swig_types[122]
2585#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587#define SWIGTYPE_p_wxRect swig_types[125]
2588#define SWIGTYPE_p_wxRegion swig_types[126]
2589#define SWIGTYPE_p_wxSashEvent swig_types[127]
2590#define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591#define SWIGTYPE_p_wxSashWindow swig_types[129]
2592#define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593#define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594#define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595#define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596#define SWIGTYPE_p_wxShowEvent swig_types[134]
2597#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598#define SWIGTYPE_p_wxSize swig_types[136]
2599#define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600#define SWIGTYPE_p_wxSizer swig_types[138]
2601#define SWIGTYPE_p_wxSizerItem swig_types[139]
2602#define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603#define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604#define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605#define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606#define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607#define SWIGTYPE_p_wxStatusBar swig_types[145]
2608#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609#define SWIGTYPE_p_wxString swig_types[147]
2610#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611#define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612#define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614#define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615#define SWIGTYPE_p_wxTipWindow swig_types[153]
2616#define SWIGTYPE_p_wxToolBar swig_types[154]
2617#define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618#define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619#define SWIGTYPE_p_wxValidator swig_types[157]
2620#define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621#define SWIGTYPE_p_wxWindow swig_types[159]
2622#define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624#define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625static swig_type_info *swig_types[164];
2626static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
7449af73
RD
2627#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2629
2630/* -------- TYPES TABLE (END) -------- */
2631
554f62e9
RD
2632#if (PY_VERSION_HEX <= 0x02000000)
2633# if !defined(SWIG_PYTHON_CLASSIC)
2634# error "This python version requires to use swig with the '-classic' option"
2635# endif
2636#endif
2637#if (PY_VERSION_HEX <= 0x02020000)
2638# error "This python version requires to use swig with the '-nomodern' option"
2639#endif
2640#if (PY_VERSION_HEX <= 0x02020000)
2641# error "This python version requires to use swig with the '-nomodernargs' option"
2642#endif
2643#ifndef METH_O
2644# error "This python version requires to use swig with the '-nofastunpack' option"
2645#endif
093d3ff1
RD
2646
2647/*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650#define SWIG_init init_windows_
2651
2652#define SWIG_name "_windows_"
2653
554f62e9 2654#define SWIGVERSION 0x010329
093d3ff1 2655
093d3ff1 2656
554f62e9
RD
2657#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
093d3ff1
RD
2659
2660
554f62e9 2661#include <stdexcept>
093d3ff1
RD
2662
2663
554f62e9
RD
2664namespace swig {
2665 class PyObject_ptr {
2666 protected:
2667 PyObject *_obj;
093d3ff1 2668
554f62e9
RD
2669 public:
2670 PyObject_ptr() :_obj(0)
2671 {
2672 }
093d3ff1 2673
554f62e9
RD
2674 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2675 {
2676 Py_XINCREF(_obj);
093d3ff1 2677 }
554f62e9
RD
2678
2679 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2680 {
2681 if (initial_ref) Py_XINCREF(_obj);
093d3ff1 2682 }
554f62e9
RD
2683
2684 PyObject_ptr & operator=(const PyObject_ptr& item)
2685 {
2686 Py_XINCREF(item._obj);
2687 Py_XDECREF(_obj);
2688 _obj = item._obj;
2689 return *this;
2690 }
2691
2692 ~PyObject_ptr()
2693 {
2694 Py_XDECREF(_obj);
2695 }
2696
2697 operator PyObject *() const
2698 {
2699 return _obj;
2700 }
2701
2702 PyObject *operator->() const
2703 {
2704 return _obj;
2705 }
2706 };
093d3ff1
RD
2707}
2708
2709
554f62e9
RD
2710namespace swig {
2711 struct PyObject_var : PyObject_ptr {
2712 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2713
2714 PyObject_var & operator = (PyObject* obj)
2715 {
2716 Py_XDECREF(_obj);
2717 _obj = obj;
2718 return *this;
093d3ff1 2719 }
554f62e9 2720 };
093d3ff1 2721}
093d3ff1
RD
2722
2723
554f62e9
RD
2724#include "wx/wxPython/wxPython.h"
2725#include "wx/wxPython/pyclasses.h"
2726
093d3ff1 2727
554f62e9
RD
2728 static const wxString wxPyEmptyString(wxEmptyString);
2729 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1 2730
093d3ff1 2731
554f62e9
RD
2732
2733#include <limits.h>
2734#ifndef LLONG_MIN
2735# define LLONG_MIN LONG_LONG_MIN
2736#endif
2737#ifndef LLONG_MAX
2738# define LLONG_MAX LONG_LONG_MAX
2739#endif
2740#ifndef ULLONG_MAX
2741# define ULLONG_MAX ULONG_LONG_MAX
2742#endif
2743
2744
2745SWIGINTERN int
2746SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1 2747{
554f62e9
RD
2748 if (PyNumber_Check(obj)) {
2749 if (val) *val = PyInt_AsLong(obj);
2750 return SWIG_OK;
2751 }
2752 return SWIG_TypeError;
093d3ff1
RD
2753}
2754
554f62e9
RD
2755
2756SWIGINTERN int
2757SWIG_AsVal_int (PyObject * obj, int *val)
093d3ff1 2758{
554f62e9
RD
2759 long v;
2760 int res = SWIG_AsVal_long (obj, &v);
2761 if (SWIG_IsOK(res)) {
2762 if ((v < INT_MIN || v > INT_MAX)) {
2763 return SWIG_OverflowError;
2764 } else {
2765 if (val) *val = static_cast< int >(v);
2766 }
2767 }
2768 return res;
093d3ff1
RD
2769}
2770
2771
2772SWIGINTERN int
554f62e9 2773SWIG_AsVal_bool (PyObject *obj, bool *val)
093d3ff1
RD
2774{
2775 if (obj == Py_True) {
2776 if (val) *val = true;
554f62e9
RD
2777 return SWIG_OK;
2778 } else if (obj == Py_False) {
093d3ff1 2779 if (val) *val = false;
554f62e9 2780 return SWIG_OK;
093d3ff1 2781 } else {
554f62e9
RD
2782 long v = 0;
2783 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2784 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2785 return res;
093d3ff1 2786 }
093d3ff1
RD
2787}
2788
2789
554f62e9 2790 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2791
2792
554f62e9
RD
2793SWIGINTERNINLINE PyObject *
2794SWIG_From_int (int value)
2795{
2796 return SWIG_From_long (value);
2797}
093d3ff1
RD
2798
2799
2800SWIGINTERN int
554f62e9 2801SWIG_AsVal_double (PyObject *obj, double* val)
093d3ff1
RD
2802{
2803 if (PyNumber_Check(obj)) {
2804 if (val) *val = PyFloat_AsDouble(obj);
554f62e9 2805 return SWIG_OK;
093d3ff1 2806 }
554f62e9 2807 return SWIG_TypeError;
093d3ff1
RD
2808}
2809
2810
554f62e9 2811 #define SWIG_From_double PyFloat_FromDouble
093d3ff1
RD
2812
2813 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2814 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2815 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2816 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
554f62e9
RD
2817SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2818SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
093d3ff1
RD
2819
2820
554f62e9 2821SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
093d3ff1
RD
2822 wxRect r;
2823 self->GetFieldRect(i, r);
2824 return r;
2825 }
2826 static const wxString wxPySplitterNameStr(wxT("splitter"));
2827 static const wxString wxPySashNameStr(wxT("sashWindow"));
2828 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2829
2830#include <wx/popupwin.h>
2831
2832
2833class wxPyPopupTransientWindow : public wxPopupTransientWindow
2834{
2835public:
2836 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2837 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2838 : wxPopupTransientWindow(parent, style) {}
2839
2840 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2841 DEC_PYCALLBACK__(OnDismiss);
2842 DEC_PYCALLBACK_BOOL_(CanDismiss);
2843 PYPRIVATE;
2844};
2845
2846
2847IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2848IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2849IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2850
2851
2852#include <wx/tipwin.h>
2853
554f62e9 2854SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
093d3ff1
RD
2855 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2856 }
2857
2858#include <wx/tipwin.h>
2859
2860
2861#include <wx/vscroll.h>
2862
2863
2864class wxPyVScrolledWindow : public wxVScrolledWindow
2865{
7449af73 2866 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
2867public:
2868 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2869
2870 wxPyVScrolledWindow(wxWindow *parent,
2871 wxWindowID id = wxID_ANY,
2872 const wxPoint& pos = wxDefaultPosition,
2873 const wxSize& size = wxDefaultSize,
2874 long style = 0,
2875 const wxString& name = wxPyPanelNameStr)
2876 : wxVScrolledWindow(parent, id, pos, size, style, name)
2877 {}
2878
2879 // Overridable virtuals
2880
2881 // this function must be overridden in the derived class and it should
2882 // return the height of the given line in pixels
2883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2884
2885
2886 // this function doesn't have to be overridden but it may be useful to do
2887 // it if calculating the lines heights is a relatively expensive operation
2888 // as it gives the user code a possibility to calculate several of them at
2889 // once
2890 //
2891 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2892 // shouldn't rely on the latter being called for all lines in the interval
2893 // specified here. It is also possible that OnGetLineHeight() will be
2894 // called for the lines outside of this interval, so this is really just a
2895 // hint, not a promise.
2896 //
2897 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2898 // usual
2899 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2900
2901
2902 // when the number of lines changes, we try to estimate the total height
2903 // of all lines which is a rather expensive operation in terms of lines
2904 // access, so if the user code may estimate the average height
2905 // better/faster than we do, it should override this function to implement
2906 // its own logic
2907 //
2908 // this function should return the best guess for the total height it may
2909 // make
2910 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2911
2912
2913 // Also expose some other interesting protected methods
2914
2915
2916 // find the index of the line we need to show at the top of the window such
2917 // that the last (fully or partially) visible line is the given one
2918 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2919 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2920
2921 // get the total height of the lines between lineMin (inclusive) and
2922 // lineMax (exclusive)
2923 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2924 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d55e5bfc 2925
f460c29d
RD
2926 // update the thumb size shown by the scrollbar
2927 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2928
2929 // remove the scrollbar completely because we don't need it
2930 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
d55e5bfc
RD
2931
2932 PYPRIVATE;
2933};
2934
2935IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2936
2937IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2938IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2939IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2940
2941
093d3ff1 2942SWIGINTERN int
554f62e9 2943SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
d55e5bfc 2944{
c32bde28
RD
2945 long v = 0;
2946 if (SWIG_AsVal_long(obj, &v) && v < 0) {
554f62e9 2947 return SWIG_TypeError;
d55e5bfc 2948 }
c32bde28
RD
2949 else if (val)
2950 *val = (unsigned long)v;
554f62e9 2951 return SWIG_OK;
d55e5bfc
RD
2952}
2953
2954
7449af73 2955SWIGINTERNINLINE int
554f62e9 2956SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c32bde28 2957{
554f62e9
RD
2958 unsigned long v;
2959 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2960 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2961 return res;
d55e5bfc
RD
2962}
2963
2964
7449af73 2965SWIGINTERNINLINE PyObject*
554f62e9 2966SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2967{
2968 return (value > LONG_MAX) ?
554f62e9
RD
2969 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2970}
2971
2972
2973SWIGINTERNINLINE PyObject *
2974SWIG_From_size_t (size_t value)
2975{
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2977}
2978
2979
2980#include <wx/vlbox.h>
2981
2982 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2983
2984class wxPyVListBox : public wxVListBox
2985{
7449af73 2986 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2987public:
2988 wxPyVListBox() : wxVListBox() {}
2989
2990 wxPyVListBox(wxWindow *parent,
2991 wxWindowID id = wxID_ANY,
2992 const wxPoint& pos = wxDefaultPosition,
2993 const wxSize& size = wxDefaultSize,
2994 long style = 0,
2995 const wxString& name = wxPyVListBoxNameStr)
2996 : wxVListBox(parent, id, pos, size, style, name)
2997 {}
2998
2999 // Overridable virtuals
3000
3001 // the derived class must implement this function to actually draw the item
3002 // with the given index on the provided DC
3003 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3004 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3005
3006
3007 // the derived class must implement this method to return the height of the
3008 // specified item
3009 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3010 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3011
3012
3013 // this method may be used to draw separators between the lines; note that
3014 // the rectangle may be modified, typically to deflate it a bit before
3015 // passing to OnDrawItem()
3016 //
3017 // the base class version doesn't do anything
3018 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3019 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3020
3021
3022 // this method is used to draw the items background and, maybe, a border
3023 // around it
3024 //
3025 // the base class version implements a reasonable default behaviour which
3026 // consists in drawing the selected item with the standard background
3027 // colour and drawing a border around the item if it is either selected or
3028 // current
3029 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3031
3032
3033 PYPRIVATE;
3034};
3035
3036IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3037
3038IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3039IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3040IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3041IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3042
3043
554f62e9 3044SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3045 unsigned long cookie = 0;
3046 int selected = self->GetFirstSelected(cookie);
5a446332 3047 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3048 PyObject* tup = PyTuple_New(2);
3049 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3050 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3051 wxPyEndBlockThreads(blocked);
3052 return tup;
3053 }
554f62e9 3054SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3055 int selected = self->GetNextSelected(cookie);
5a446332 3056 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3057 PyObject* tup = PyTuple_New(2);
3058 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3059 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3060 wxPyEndBlockThreads(blocked);
3061 return tup;
3062 }
d55e5bfc
RD
3063
3064#include <wx/htmllbox.h>
3065
3066
3067class wxPyHtmlListBox : public wxHtmlListBox
3068{
7449af73 3069 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3070public:
3071 wxPyHtmlListBox() : wxHtmlListBox() {}
3072
3073 wxPyHtmlListBox(wxWindow *parent,
3074 wxWindowID id = wxID_ANY,
3075 const wxPoint& pos = wxDefaultPosition,
3076 const wxSize& size = wxDefaultSize,
3077 long style = 0,
3078 const wxString& name = wxPyVListBoxNameStr)
3079 : wxHtmlListBox(parent, id, pos, size, style, name)
3080 {}
3081
3082 // Overridable virtuals
3083
3084 // this method must be implemented in the derived class and should return
3085 // the body (i.e. without <html>) of the HTML for the given item
3086 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3087
3088 // this function may be overridden to decorate HTML returned by OnGetItem()
3089 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3090
1c71765a
RD
3091 // These are from wxVListBox
3092 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3093 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3094
d55e5bfc
RD
3095// TODO:
3096// // this method allows to customize the selection appearance: it may be used
3097// // to specify the colour of the text which normally has the given colour
3098// // colFg when it is inside the selection
3099// //
3100// // by default, the original colour is not used at all and all text has the
3101// // same (default for this system) colour inside selection
3102// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3103
3104// // this is the same as GetSelectedTextColour() but allows to customize the
3105// // background colour -- this is even more rarely used as you can change it
3106// // globally using SetSelectionBackground()
3107// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3108
e9d6f3a4
RD
3109
3110 // This method may be overriden to handle clicking on a link in
3111 // the listbox. By default, clicking links is ignored.
3112 virtual void OnLinkClicked(size_t n,
3113 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3114
3115 PYPRIVATE;
3116};
3117
3118
3119IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3120
3121IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3122IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3123IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3124IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3125
3126
e9d6f3a4
RD
3127void wxPyHtmlListBox::OnLinkClicked(size_t n,
3128 const wxHtmlLinkInfo& link) {
3129 bool found;
3130 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3131 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3132 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3133 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3134 Py_DECREF(obj);
3135 }
3136 wxPyEndBlockThreads(blocked);
3137 if (! found)
3138 wxPyHtmlListBox::OnLinkClicked(n, link);
3139}
3140
3141
d55e5bfc
RD
3142
3143
3144
ae8162c8
RD
3145#ifndef wxHAS_TASK_BAR_ICON
3146// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3147
3148class wxTaskBarIcon : public wxEvtHandler
3149{
3150public:
3151 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3152};
09c21d3b 3153
d55e5bfc
RD
3154
3155class wxTaskBarIconEvent : public wxEvent
3156{
3157public:
3158 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3159 { wxPyRaiseNotImplemented(); }
3160 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
3161 bool IsOk() const { return false; }
3162 bool IsIconInstalled() const { return false; }
3163 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3164 bool RemoveIcon() { return false; }
3165 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3166};
3167
3168enum {
3169 wxEVT_TASKBAR_MOVE = 0,
3170 wxEVT_TASKBAR_LEFT_DOWN = 0,
3171 wxEVT_TASKBAR_LEFT_UP = 0,
3172 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3173 wxEVT_TASKBAR_RIGHT_UP = 0,
3174 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3175 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3176};
09c21d3b
RD
3177
3178
3179#else
5e483524
RD
3180// Otherwise make a class that can virtualize CreatePopupMenu
3181class wxPyTaskBarIcon : public wxTaskBarIcon
3182{
7449af73 3183 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3184public:
3185 wxPyTaskBarIcon() : wxTaskBarIcon()
3186 {}
3187
3188 wxMenu* CreatePopupMenu() {
3189 wxMenu *rval = NULL;
3190 bool found;
5a446332 3191 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3192 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3193 PyObject* ro;
3194 wxMenu* ptr;
3195 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3196 if (ro) {
3197 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3198 rval = ptr;
3199 Py_DECREF(ro);
3200 }
3201 }
3202 wxPyEndBlockThreads(blocked);
3203 if (! found)
3204 rval = wxTaskBarIcon::CreatePopupMenu();
3205 return rval;
3206 }
3207
3208 PYPRIVATE;
3209};
3210
3211IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 3212
d55e5bfc
RD
3213#endif
3214
554f62e9 3215SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 3216 self->RemoveIcon();
5e483524 3217 delete self;
d55e5bfc
RD
3218 }
3219 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3220 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3221 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3222 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3223 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3224 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3225
3226// for compatibility only
3227#define wxHIDE_READONLY 0
3228
554f62e9 3229SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3230 wxArrayString arr;
3231 self->GetFilenames(arr);
3232 return wxArrayString2PyList_helper(arr);
3233 }
554f62e9 3234SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3235 wxArrayString arr;
3236 self->GetPaths(arr);
3237 return wxArrayString2PyList_helper(arr);
3238 }
554f62e9 3239SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3240 return wxArrayInt2PyList_helper(self->GetSelections());
3241 }
554f62e9 3242SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d55e5bfc
RD
3243 return new wxSingleChoiceDialog(parent, message, caption,
3244 choices, choices_array, NULL, style, pos);
3245 }
c1cb24a4 3246 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3247
f460c29d
RD
3248SWIGINTERNINLINE PyObject*
3249 SWIG_From_bool (bool value)
3250{
3251 return PyBool_FromLong(value ? 1 : 0);
3252}
3253
3254
d55e5bfc
RD
3255#include <wx/mdi.h>
3256
3257 // C++ version of Python aware wxWindow
3258class wxPyWindow : public wxWindow
3259{
3260 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3261public:
3262 wxPyWindow() : wxWindow() {}
3263 wxPyWindow(wxWindow* parent, const wxWindowID id,
3264 const wxPoint& pos = wxDefaultPosition,
3265 const wxSize& size = wxDefaultSize,
3266 long style = 0,
3267 const wxString& name = wxPyPanelNameStr)
3268 : wxWindow(parent, id, pos, size, style, name) {}
3269
caef1a4d 3270 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 3271
60d5fcc1
RD
3272 bool DoEraseBackground(wxDC* dc) {
3273#ifdef __WXMSW__
3274 return wxWindow::DoEraseBackground(dc->GetHDC());
3275#else
3276 dc->SetBackground(wxBrush(GetBackgroundColour()));
3277 dc->Clear();
3278 return true;
3279#endif
3280 }
3281
d55e5bfc
RD
3282 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3283 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3284 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3286
3287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3290
3291 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3292 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3293
3294 DEC_PYCALLBACK__(InitDialog);
3295 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3296 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3297 DEC_PYCALLBACK_BOOL_(Validate);
3298
3299 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3301 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3302
3303 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3305
caef1a4d 3306 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3307 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3308
51b83b37
RD
3309 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3310
8d38bd1d
RD
3311 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3312
d55e5bfc
RD
3313 PYPRIVATE;
3314};
3315
3316IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3317
3318IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3319IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3320IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3321IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3322
3323IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3324IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3325IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3326
3327IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3328IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3329
3330IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3331IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3332IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3333IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3334
3335IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3336IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3337IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3338
3339IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3340IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3341
caef1a4d 3342IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
caef1a4d 3343IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3344
3345IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3346
8d38bd1d
RD
3347IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3348
d55e5bfc
RD
3349 // C++ version of Python aware wxPanel
3350class wxPyPanel : public wxPanel
3351{
3352 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3353public:
3354 wxPyPanel() : wxPanel() {}
3355 wxPyPanel(wxWindow* parent, const wxWindowID id,
3356 const wxPoint& pos = wxDefaultPosition,
3357 const wxSize& size = wxDefaultSize,
3358 long style = 0,
3359 const wxString& name = wxPyPanelNameStr)
3360 : wxPanel(parent, id, pos, size, style, name) {}
3361
caef1a4d 3362 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
60d5fcc1
RD
3363 bool DoEraseBackground(wxDC* dc) {
3364#ifdef __WXMSW__
3365 return wxWindow::DoEraseBackground(dc->GetHDC());
3366#else
3367 dc->SetBackground(wxBrush(GetBackgroundColour()));
3368 dc->Clear();
3369 return true;
3370#endif
3371 }
caef1a4d 3372
d55e5bfc
RD
3373
3374 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3375 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3376 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3377 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3378
3379 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3380 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3382
3383 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3384 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3385
3386 DEC_PYCALLBACK__(InitDialog);
3387 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3388 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3389 DEC_PYCALLBACK_BOOL_(Validate);
3390
3391 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3392 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3393 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3394
3395 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3396 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3397
caef1a4d 3398 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3399 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3400
51b83b37
RD
3401 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3402
8d38bd1d
RD
3403 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3404
d55e5bfc
RD
3405 PYPRIVATE;
3406};
3407
3408IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3409
3410IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3411IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3412IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3413IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3414
3415IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3416IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3417IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3418
3419IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3420IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3421
3422IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3423IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3424IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3425IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3426
3427IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3428IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3429IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3430
3431IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3432IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3433
caef1a4d 3434IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
caef1a4d 3435IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3436
51b83b37
RD
3437IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3438
8d38bd1d
RD
3439IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3440
d55e5bfc
RD
3441 // C++ version of Python aware wxScrolledWindow
3442class wxPyScrolledWindow : public wxScrolledWindow
3443{
3444 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3445public:
3446 wxPyScrolledWindow() : wxScrolledWindow() {}
3447 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3448 const wxPoint& pos = wxDefaultPosition,
3449 const wxSize& size = wxDefaultSize,
3450 long style = 0,
3451 const wxString& name = wxPyPanelNameStr)
3452 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3453
caef1a4d 3454 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
60d5fcc1
RD
3455 bool DoEraseBackground(wxDC* dc) {
3456#ifdef __WXMSW__
3457 return wxWindow::DoEraseBackground(dc->GetHDC());
3458#else
3459 dc->SetBackground(wxBrush(GetBackgroundColour()));
3460 dc->Clear();
3461 return true;
3462#endif
3463 }
d55e5bfc
RD
3464
3465 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3466 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3467 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3468 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3469
3470 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3471 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3473
3474 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3475 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3476
3477 DEC_PYCALLBACK__(InitDialog);
3478 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3479 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3480 DEC_PYCALLBACK_BOOL_(Validate);
3481
3482 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3483 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3484 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3485
3486 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3487 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3488
caef1a4d 3489 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3490 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3491
51b83b37
RD
3492 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3493
8d38bd1d
RD
3494 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3495
d55e5bfc
RD
3496 PYPRIVATE;
3497};
3498
3499IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3500
3501IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3502IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3503IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3504IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3505
3506IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3507IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3508IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3509
3510IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3511IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3512
3513IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3514IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3515IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3516IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3517
3518IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3519IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3520IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3521
3522IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3523IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3524
caef1a4d 3525IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
caef1a4d
RD
3526IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3527
51b83b37 3528IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3529
8d38bd1d
RD
3530IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3531
d55e5bfc
RD
3532
3533#include "wx/wxPython/printfw.h"
3534
3535
3536 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3537 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
554f62e9 3538SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
b9d6a5f3 3539 PyObject* data;
5a446332 3540 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3541 data = PyString_FromStringAndSize(self->GetPrivData(),
3542 self->GetPrivDataLen());
3543 wxPyEndBlockThreads(blocked);
3544 return data;
3545 }
554f62e9 3546SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
b9d6a5f3
RD
3547 if (! PyString_Check(data)) {
3548 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3549 "Expected string object"));
3550 return /* NULL */ ;
3551 }
3552
5a446332 3553 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3554 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3555 wxPyEndBlockThreads(blocked);
3556 }
d55e5bfc
RD
3557
3558
c1cb24a4 3559IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3560
3561// Since this one would be tough and ugly to do with the Macros...
3562void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 3563 bool hadErr = false;
d55e5bfc
RD
3564 bool found;
3565
5a446332 3566 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3567 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3568 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3569 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3570 PyObject* val;
3571
3572 val = PyTuple_GetItem(result, 0);
3573 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 3574 else hadErr = true;
d55e5bfc
RD
3575
3576 val = PyTuple_GetItem(result, 1);
3577 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 3578 else hadErr = true;
d55e5bfc
RD
3579
3580 val = PyTuple_GetItem(result, 2);
3581 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 3582 else hadErr = true;
d55e5bfc
RD
3583
3584 val = PyTuple_GetItem(result, 3);
3585 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 3586 else hadErr = true;
d55e5bfc
RD
3587 }
3588 else
ae8162c8 3589 hadErr = true;
d55e5bfc
RD
3590
3591 if (hadErr) {
3592 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3593 PyErr_Print();
3594 }
3595 Py_DECREF(result);
3596 }
3597 wxPyEndBlockThreads(blocked);
3598 if (! found)
3599 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3600}
3601
d55e5bfc
RD
3602
3603
3604IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3605IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3606IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3607IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3608IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3609IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3610IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3611
3612
3613
3614
3615
ae8162c8 3616#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
b06b3e70 3617 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3618
3619
ae8162c8
RD
3620#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3621 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3622 bool rval=false; \
3623 bool found; \
7449af73 3624 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
3625 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3626 PyObject* win = wxPyMake_wxObject(a,false); \
3627 PyObject* dc = wxPyMake_wxObject(&b,false); \
3628 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3629 Py_DECREF(win); \
3630 Py_DECREF(dc); \
3631 } \
3632 wxPyEndBlockThreads(blocked); \
3633 if (! found) \
3634 rval = PCLASS::CBNAME(a, b); \
3635 return rval; \
b06b3e70 3636 }
d55e5bfc
RD
3637
3638
3639
3640
3641class wxPyPrintPreview : public wxPrintPreview
3642{
3643 DECLARE_CLASS(wxPyPrintPreview)
3644public:
3645 wxPyPrintPreview(wxPyPrintout* printout,
3646 wxPyPrintout* printoutForPrinting,
3647 wxPrintDialogData* data=NULL)
3648 : wxPrintPreview(printout, printoutForPrinting, data)
3649 {}
3650 wxPyPrintPreview(wxPyPrintout* printout,
3651 wxPyPrintout* printoutForPrinting,
7449af73 3652 wxPrintData* data)
d55e5bfc
RD
3653 : wxPrintPreview(printout, printoutForPrinting, data)
3654 {}
3655
3656 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3657 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3658 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3659 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3660 DEC_PYCALLBACK_VOID_INT(SetZoom);
3661 DEC_PYCALLBACK_BOOL_BOOL(Print);
3662 DEC_PYCALLBACK_VOID_(DetermineScaling);
3663
3664 PYPRIVATE;
3665};
3666
3667// Stupid renamed classes... Fix this in 2.5...
3668#if defined(__WXMSW__)
3669IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3670#elif defined(__WXMAC__)
3671IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3672#else
3673IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3674#endif
3675
3676IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3677IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3678IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3679IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3680IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3681IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3682IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3683
3684
3685class wxPyPreviewFrame : public wxPreviewFrame
3686{
7449af73 3687 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3688public:
3689 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3690 const wxString& title,
3691 const wxPoint& pos = wxDefaultPosition,
3692 const wxSize& size = wxDefaultSize,
3693 long style = wxDEFAULT_FRAME_STYLE,
3694 const wxString& name = wxPyFrameNameStr)
3695 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3696 {}
3697
3698 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3699 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3700
3701 DEC_PYCALLBACK_VOID_(Initialize);
3702 DEC_PYCALLBACK_VOID_(CreateCanvas);
3703 DEC_PYCALLBACK_VOID_(CreateControlBar);
3704
3705 PYPRIVATE;
3706};
3707
3708IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3709
3710IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3711IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3712IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3713
3714
3715class wxPyPreviewControlBar : public wxPreviewControlBar
3716{
7449af73 3717 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3718public:
3719 wxPyPreviewControlBar(wxPrintPreview *preview,
3720 long buttons,
3721 wxWindow *parent,
3722 const wxPoint& pos = wxDefaultPosition,
3723 const wxSize& size = wxDefaultSize,
3724 long style = 0,
3725 const wxString& name = wxPyPanelNameStr)
3726 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3727 {}
3728
3729 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3730
3731 DEC_PYCALLBACK_VOID_(CreateButtons);
3732 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3733
3734 PYPRIVATE;
3735};
3736
3737IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3738IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3739IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3740
3741#ifdef __cplusplus
3742extern "C" {
3743#endif
554f62e9
RD
3744SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj = 0;
3746 wxWindow *arg1 = (wxWindow *) 0 ;
3747 int arg2 = (int) (int)-1 ;
3748 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3749 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3750 wxSize const &arg4_defvalue = wxDefaultSize ;
3751 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3752 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3753 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3754 wxString *arg6 = (wxString *) &arg6_defvalue ;
3755 wxPanel *result = 0 ;
3756 void *argp1 = 0 ;
3757 int res1 = 0 ;
3758 int val2 ;
3759 int ecode2 = 0 ;
3760 wxPoint temp3 ;
3761 wxSize temp4 ;
3762 long val5 ;
3763 int ecode5 = 0 ;
3764 bool temp6 = false ;
3765 PyObject * obj0 = 0 ;
3766 PyObject * obj1 = 0 ;
3767 PyObject * obj2 = 0 ;
3768 PyObject * obj3 = 0 ;
3769 PyObject * obj4 = 0 ;
3770 PyObject * obj5 = 0 ;
3771 char * kwnames[] = {
3772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3773 };
3774
3775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3777 if (!SWIG_IsOK(res1)) {
3778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3779 }
3780 arg1 = reinterpret_cast< wxWindow * >(argp1);
3781 if (obj1) {
3782 ecode2 = SWIG_AsVal_int(obj1, &val2);
3783 if (!SWIG_IsOK(ecode2)) {
3784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3785 }
3786 arg2 = static_cast< int >(val2);
3787 }
3788 if (obj2) {
d55e5bfc 3789 {
554f62e9
RD
3790 arg3 = &temp3;
3791 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3792 }
554f62e9
RD
3793 }
3794 if (obj3) {
d55e5bfc 3795 {
554f62e9
RD
3796 arg4 = &temp4;
3797 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3798 }
554f62e9
RD
3799 }
3800 if (obj4) {
3801 ecode5 = SWIG_AsVal_long(obj4, &val5);
3802 if (!SWIG_IsOK(ecode5)) {
3803 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3804 }
3805 arg5 = static_cast< long >(val5);
3806 }
3807 if (obj5) {
d55e5bfc 3808 {
554f62e9
RD
3809 arg6 = wxString_in_helper(obj5);
3810 if (arg6 == NULL) SWIG_fail;
3811 temp6 = true;
3812 }
3813 }
3814 {
3815 if (!wxPyCheckForApp()) SWIG_fail;
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
3821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3822 {
3823 if (temp6)
3824 delete arg6;
3825 }
3826 return resultobj;
3827fail:
3828 {
3829 if (temp6)
3830 delete arg6;
3831 }
3832 return NULL;
d55e5bfc
RD
3833}
3834
3835
554f62e9
RD
3836SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3837 PyObject *resultobj = 0;
3838 wxPanel *result = 0 ;
3839
3840 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3841 {
3842 if (!wxPyCheckForApp()) SWIG_fail;
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 result = (wxPanel *)new wxPanel();
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3849 return resultobj;
3850fail:
3851 return NULL;
3852}
3853
3854
3855SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3856 PyObject *resultobj = 0;
3857 wxPanel *arg1 = (wxPanel *) 0 ;
3858 wxWindow *arg2 = (wxWindow *) 0 ;
3859 int arg3 = (int) (int)-1 ;
3860 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3861 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3862 wxSize const &arg5_defvalue = wxDefaultSize ;
3863 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3864 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3865 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3866 wxString *arg7 = (wxString *) &arg7_defvalue ;
3867 bool result;
3868 void *argp1 = 0 ;
3869 int res1 = 0 ;
3870 void *argp2 = 0 ;
3871 int res2 = 0 ;
3872 int val3 ;
3873 int ecode3 = 0 ;
3874 wxPoint temp4 ;
3875 wxSize temp5 ;
3876 long val6 ;
3877 int ecode6 = 0 ;
3878 bool temp7 = false ;
3879 PyObject * obj0 = 0 ;
3880 PyObject * obj1 = 0 ;
3881 PyObject * obj2 = 0 ;
3882 PyObject * obj3 = 0 ;
3883 PyObject * obj4 = 0 ;
3884 PyObject * obj5 = 0 ;
3885 PyObject * obj6 = 0 ;
3886 char * kwnames[] = {
3887 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3888 };
3889
3890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3892 if (!SWIG_IsOK(res1)) {
3893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3894 }
3895 arg1 = reinterpret_cast< wxPanel * >(argp1);
3896 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3897 if (!SWIG_IsOK(res2)) {
3898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3899 }
3900 arg2 = reinterpret_cast< wxWindow * >(argp2);
3901 if (obj2) {
3902 ecode3 = SWIG_AsVal_int(obj2, &val3);
3903 if (!SWIG_IsOK(ecode3)) {
3904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3905 }
3906 arg3 = static_cast< int >(val3);
3907 }
3908 if (obj3) {
d55e5bfc 3909 {
554f62e9
RD
3910 arg4 = &temp4;
3911 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3912 }
554f62e9
RD
3913 }
3914 if (obj4) {
d55e5bfc 3915 {
554f62e9
RD
3916 arg5 = &temp5;
3917 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3918 }
554f62e9
RD
3919 }
3920 if (obj5) {
3921 ecode6 = SWIG_AsVal_long(obj5, &val6);
3922 if (!SWIG_IsOK(ecode6)) {
3923 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3924 }
3925 arg6 = static_cast< long >(val6);
3926 }
3927 if (obj6) {
d55e5bfc 3928 {
554f62e9
RD
3929 arg7 = wxString_in_helper(obj6);
3930 if (arg7 == NULL) SWIG_fail;
3931 temp7 = true;
d55e5bfc 3932 }
554f62e9
RD
3933 }
3934 {
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 {
3941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3942 }
3943 {
3944 if (temp7)
3945 delete arg7;
3946 }
3947 return resultobj;
3948fail:
3949 {
3950 if (temp7)
3951 delete arg7;
3952 }
3953 return NULL;
b519803b
RD
3954}
3955
3956
554f62e9
RD
3957SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3958 PyObject *resultobj = 0;
3959 wxPanel *arg1 = (wxPanel *) 0 ;
3960 void *argp1 = 0 ;
3961 int res1 = 0 ;
3962 PyObject *swig_obj[1] ;
3963
3964 if (!args) SWIG_fail;
3965 swig_obj[0] = args;
3966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3967 if (!SWIG_IsOK(res1)) {
3968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3969 }
3970 arg1 = reinterpret_cast< wxPanel * >(argp1);
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 (arg1)->SetFocusIgnoringChildren();
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 resultobj = SWIG_Py_Void();
3978 return resultobj;
3979fail:
3980 return NULL;
3981}
3982
3983
3984SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3985 PyObject *resultobj = 0;
3986 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3987 SwigValueWrapper<wxVisualAttributes > result;
3988 int val1 ;
3989 int ecode1 = 0 ;
3990 PyObject * obj0 = 0 ;
3991 char * kwnames[] = {
3992 (char *) "variant", NULL
3993 };
3994
3995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3996 if (obj0) {
3997 ecode1 = SWIG_AsVal_int(obj0, &val1);
3998 if (!SWIG_IsOK(ecode1)) {
3999 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4000 }
4001 arg1 = static_cast< wxWindowVariant >(val1);
4002 }
4003 {
4004 if (!wxPyCheckForApp()) SWIG_fail;
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 result = wxPanel::GetClassDefaultAttributes(arg1);
4007 wxPyEndAllowThreads(__tstate);
4008 if (PyErr_Occurred()) SWIG_fail;
4009 }
4010 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4011 return resultobj;
4012fail:
4013 return NULL;
4014}
4015
4016
4017SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4018 PyObject *obj;
4019 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4020 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4021 return SWIG_Py_Void();
4022}
4023
4024SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4025 return SWIG_Python_InitShadowInstance(args);
4026}
4027
4028SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4029 PyObject *resultobj = 0;
4030 wxWindow *arg1 = (wxWindow *) 0 ;
4031 int arg2 = (int) (int)-1 ;
4032 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4033 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4034 wxSize const &arg4_defvalue = wxDefaultSize ;
4035 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4036 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4037 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4038 wxString *arg6 = (wxString *) &arg6_defvalue ;
4039 wxScrolledWindow *result = 0 ;
4040 void *argp1 = 0 ;
4041 int res1 = 0 ;
4042 int val2 ;
4043 int ecode2 = 0 ;
4044 wxPoint temp3 ;
4045 wxSize temp4 ;
4046 long val5 ;
4047 int ecode5 = 0 ;
4048 bool temp6 = false ;
4049 PyObject * obj0 = 0 ;
4050 PyObject * obj1 = 0 ;
4051 PyObject * obj2 = 0 ;
4052 PyObject * obj3 = 0 ;
4053 PyObject * obj4 = 0 ;
4054 PyObject * obj5 = 0 ;
4055 char * kwnames[] = {
4056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4057 };
4058
4059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4061 if (!SWIG_IsOK(res1)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4063 }
4064 arg1 = reinterpret_cast< wxWindow * >(argp1);
4065 if (obj1) {
4066 ecode2 = SWIG_AsVal_int(obj1, &val2);
4067 if (!SWIG_IsOK(ecode2)) {
4068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4069 }
4070 arg2 = static_cast< int >(val2);
4071 }
4072 if (obj2) {
b519803b 4073 {
554f62e9
RD
4074 arg3 = &temp3;
4075 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4076 }
554f62e9
RD
4077 }
4078 if (obj3) {
f20a2e1f 4079 {
554f62e9
RD
4080 arg4 = &temp4;
4081 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4082 }
554f62e9
RD
4083 }
4084 if (obj4) {
4085 ecode5 = SWIG_AsVal_long(obj4, &val5);
4086 if (!SWIG_IsOK(ecode5)) {
4087 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4088 }
4089 arg5 = static_cast< long >(val5);
4090 }
4091 if (obj5) {
f20a2e1f 4092 {
554f62e9
RD
4093 arg6 = wxString_in_helper(obj5);
4094 if (arg6 == NULL) SWIG_fail;
4095 temp6 = true;
f20a2e1f 4096 }
554f62e9
RD
4097 }
4098 {
4099 if (!wxPyCheckForApp()) SWIG_fail;
4100 PyThreadState* __tstate = wxPyBeginAllowThreads();
4101 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4106 {
4107 if (temp6)
4108 delete arg6;
4109 }
4110 return resultobj;
4111fail:
4112 {
4113 if (temp6)
4114 delete arg6;
4115 }
4116 return NULL;
f20a2e1f
RD
4117}
4118
4119
554f62e9
RD
4120SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4121 PyObject *resultobj = 0;
4122 wxScrolledWindow *result = 0 ;
4123
4124 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4125 {
4126 if (!wxPyCheckForApp()) SWIG_fail;
4127 PyThreadState* __tstate = wxPyBeginAllowThreads();
4128 result = (wxScrolledWindow *)new wxScrolledWindow();
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4133 return resultobj;
4134fail:
4135 return NULL;
4136}
4137
4138
4139SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4140 PyObject *resultobj = 0;
4141 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4142 wxWindow *arg2 = (wxWindow *) 0 ;
4143 int arg3 = (int) (int)-1 ;
4144 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4145 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4146 wxSize const &arg5_defvalue = wxDefaultSize ;
4147 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4148 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4149 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4150 wxString *arg7 = (wxString *) &arg7_defvalue ;
4151 bool result;
4152 void *argp1 = 0 ;
4153 int res1 = 0 ;
4154 void *argp2 = 0 ;
4155 int res2 = 0 ;
4156 int val3 ;
4157 int ecode3 = 0 ;
4158 wxPoint temp4 ;
4159 wxSize temp5 ;
4160 long val6 ;
4161 int ecode6 = 0 ;
4162 bool temp7 = false ;
4163 PyObject * obj0 = 0 ;
4164 PyObject * obj1 = 0 ;
4165 PyObject * obj2 = 0 ;
4166 PyObject * obj3 = 0 ;
4167 PyObject * obj4 = 0 ;
4168 PyObject * obj5 = 0 ;
4169 PyObject * obj6 = 0 ;
4170 char * kwnames[] = {
4171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4172 };
4173
4174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4176 if (!SWIG_IsOK(res1)) {
4177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4178 }
4179 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4180 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4181 if (!SWIG_IsOK(res2)) {
4182 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4183 }
4184 arg2 = reinterpret_cast< wxWindow * >(argp2);
4185 if (obj2) {
4186 ecode3 = SWIG_AsVal_int(obj2, &val3);
4187 if (!SWIG_IsOK(ecode3)) {
4188 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4189 }
4190 arg3 = static_cast< int >(val3);
4191 }
4192 if (obj3) {
d55e5bfc 4193 {
554f62e9
RD
4194 arg4 = &temp4;
4195 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4196 }
4197 }
4198 if (obj4) {
d55e5bfc 4199 {
554f62e9
RD
4200 arg5 = &temp5;
4201 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4202 }
554f62e9
RD
4203 }
4204 if (obj5) {
4205 ecode6 = SWIG_AsVal_long(obj5, &val6);
4206 if (!SWIG_IsOK(ecode6)) {
4207 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4208 }
4209 arg6 = static_cast< long >(val6);
4210 }
4211 if (obj6) {
d55e5bfc 4212 {
554f62e9
RD
4213 arg7 = wxString_in_helper(obj6);
4214 if (arg7 == NULL) SWIG_fail;
4215 temp7 = true;
d55e5bfc 4216 }
554f62e9
RD
4217 }
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 {
4225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4226 }
4227 {
4228 if (temp7)
4229 delete arg7;
4230 }
4231 return resultobj;
4232fail:
4233 {
4234 if (temp7)
4235 delete arg7;
4236 }
4237 return NULL;
4238}
4239
4240
4241SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4242 PyObject *resultobj = 0;
4243 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4244 int arg2 ;
4245 int arg3 ;
4246 int arg4 ;
4247 int arg5 ;
4248 int arg6 = (int) 0 ;
4249 int arg7 = (int) 0 ;
4250 bool arg8 = (bool) false ;
4251 void *argp1 = 0 ;
4252 int res1 = 0 ;
4253 int val2 ;
4254 int ecode2 = 0 ;
4255 int val3 ;
4256 int ecode3 = 0 ;
4257 int val4 ;
4258 int ecode4 = 0 ;
4259 int val5 ;
4260 int ecode5 = 0 ;
4261 int val6 ;
4262 int ecode6 = 0 ;
4263 int val7 ;
4264 int ecode7 = 0 ;
4265 bool val8 ;
4266 int ecode8 = 0 ;
4267 PyObject * obj0 = 0 ;
4268 PyObject * obj1 = 0 ;
4269 PyObject * obj2 = 0 ;
4270 PyObject * obj3 = 0 ;
4271 PyObject * obj4 = 0 ;
4272 PyObject * obj5 = 0 ;
4273 PyObject * obj6 = 0 ;
4274 PyObject * obj7 = 0 ;
4275 char * kwnames[] = {
4276 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4277 };
4278
4279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4281 if (!SWIG_IsOK(res1)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4283 }
4284 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4285 ecode2 = SWIG_AsVal_int(obj1, &val2);
4286 if (!SWIG_IsOK(ecode2)) {
4287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4288 }
4289 arg2 = static_cast< int >(val2);
4290 ecode3 = SWIG_AsVal_int(obj2, &val3);
4291 if (!SWIG_IsOK(ecode3)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4293 }
4294 arg3 = static_cast< int >(val3);
4295 ecode4 = SWIG_AsVal_int(obj3, &val4);
4296 if (!SWIG_IsOK(ecode4)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4298 }
4299 arg4 = static_cast< int >(val4);
4300 ecode5 = SWIG_AsVal_int(obj4, &val5);
4301 if (!SWIG_IsOK(ecode5)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4303 }
4304 arg5 = static_cast< int >(val5);
4305 if (obj5) {
4306 ecode6 = SWIG_AsVal_int(obj5, &val6);
4307 if (!SWIG_IsOK(ecode6)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4309 }
4310 arg6 = static_cast< int >(val6);
4311 }
4312 if (obj6) {
4313 ecode7 = SWIG_AsVal_int(obj6, &val7);
4314 if (!SWIG_IsOK(ecode7)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4316 }
4317 arg7 = static_cast< int >(val7);
4318 }
4319 if (obj7) {
4320 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4321 if (!SWIG_IsOK(ecode8)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4323 }
4324 arg8 = static_cast< bool >(val8);
4325 }
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
4332 resultobj = SWIG_Py_Void();
4333 return resultobj;
4334fail:
4335 return NULL;
4336}
4337
4338
4339SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4340 PyObject *resultobj = 0;
4341 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4342 int arg2 ;
4343 int arg3 ;
4344 void *argp1 = 0 ;
4345 int res1 = 0 ;
4346 int val2 ;
4347 int ecode2 = 0 ;
4348 int val3 ;
4349 int ecode3 = 0 ;
4350 PyObject * obj0 = 0 ;
4351 PyObject * obj1 = 0 ;
4352 PyObject * obj2 = 0 ;
4353 char * kwnames[] = {
4354 (char *) "self",(char *) "x",(char *) "y", NULL
4355 };
4356
4357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4359 if (!SWIG_IsOK(res1)) {
4360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4361 }
4362 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4363 ecode2 = SWIG_AsVal_int(obj1, &val2);
4364 if (!SWIG_IsOK(ecode2)) {
4365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4366 }
4367 arg2 = static_cast< int >(val2);
4368 ecode3 = SWIG_AsVal_int(obj2, &val3);
4369 if (!SWIG_IsOK(ecode3)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4371 }
4372 arg3 = static_cast< int >(val3);
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->Scroll(arg2,arg3);
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = SWIG_Py_Void();
4380 return resultobj;
4381fail:
4382 return NULL;
4383}
4384
4385
4386SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj = 0;
4388 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4389 int arg2 ;
4390 int result;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 int val2 ;
4394 int ecode2 = 0 ;
4395 PyObject * obj0 = 0 ;
4396 PyObject * obj1 = 0 ;
4397 char * kwnames[] = {
4398 (char *) "self",(char *) "orient", NULL
4399 };
4400
4401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4403 if (!SWIG_IsOK(res1)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4405 }
4406 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4407 ecode2 = SWIG_AsVal_int(obj1, &val2);
4408 if (!SWIG_IsOK(ecode2)) {
4409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4410 }
4411 arg2 = static_cast< int >(val2);
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 resultobj = SWIG_From_int(static_cast< int >(result));
4419 return resultobj;
4420fail:
4421 return NULL;
4422}
4423
4424
4425SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4426 PyObject *resultobj = 0;
4427 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4428 int arg2 ;
4429 int arg3 ;
4430 void *argp1 = 0 ;
4431 int res1 = 0 ;
4432 int val2 ;
4433 int ecode2 = 0 ;
4434 int val3 ;
4435 int ecode3 = 0 ;
4436 PyObject * obj0 = 0 ;
4437 PyObject * obj1 = 0 ;
4438 PyObject * obj2 = 0 ;
4439 char * kwnames[] = {
4440 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4441 };
4442
4443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4445 if (!SWIG_IsOK(res1)) {
4446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4447 }
4448 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4449 ecode2 = SWIG_AsVal_int(obj1, &val2);
4450 if (!SWIG_IsOK(ecode2)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4452 }
4453 arg2 = static_cast< int >(val2);
4454 ecode3 = SWIG_AsVal_int(obj2, &val3);
4455 if (!SWIG_IsOK(ecode3)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4457 }
4458 arg3 = static_cast< int >(val3);
4459 {
4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
4461 (arg1)->SetScrollPageSize(arg2,arg3);
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 resultobj = SWIG_Py_Void();
4466 return resultobj;
4467fail:
4468 return NULL;
4469}
4470
4471
4472SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4473 PyObject *resultobj = 0;
4474 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4475 int arg2 ;
4476 int arg3 ;
4477 void *argp1 = 0 ;
4478 int res1 = 0 ;
4479 int val2 ;
4480 int ecode2 = 0 ;
4481 int val3 ;
4482 int ecode3 = 0 ;
4483 PyObject * obj0 = 0 ;
4484 PyObject * obj1 = 0 ;
4485 PyObject * obj2 = 0 ;
4486 char * kwnames[] = {
4487 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4488 };
4489
4490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4492 if (!SWIG_IsOK(res1)) {
4493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4494 }
4495 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4496 ecode2 = SWIG_AsVal_int(obj1, &val2);
4497 if (!SWIG_IsOK(ecode2)) {
4498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4499 }
4500 arg2 = static_cast< int >(val2);
4501 ecode3 = SWIG_AsVal_int(obj2, &val3);
4502 if (!SWIG_IsOK(ecode3)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4504 }
4505 arg3 = static_cast< int >(val3);
4506 {
4507 PyThreadState* __tstate = wxPyBeginAllowThreads();
4508 (arg1)->SetScrollRate(arg2,arg3);
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 resultobj = SWIG_Py_Void();
4513 return resultobj;
4514fail:
4515 return NULL;
4516}
4517
4518
4519SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4520 PyObject *resultobj = 0;
4521 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4522 int *arg2 = (int *) 0 ;
4523 int *arg3 = (int *) 0 ;
4524 void *argp1 = 0 ;
4525 int res1 = 0 ;
4526 int temp2 ;
4527 int res2 = SWIG_TMPOBJ ;
4528 int temp3 ;
4529 int res3 = SWIG_TMPOBJ ;
4530 PyObject *swig_obj[1] ;
4531
4532 arg2 = &temp2;
4533 arg3 = &temp3;
4534 if (!args) SWIG_fail;
4535 swig_obj[0] = args;
4536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4537 if (!SWIG_IsOK(res1)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4539 }
4540 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 resultobj = SWIG_Py_Void();
4548 if (SWIG_IsTmpObj(res2)) {
4549 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4550 } else {
4551 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4552 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4553 }
4554 if (SWIG_IsTmpObj(res3)) {
4555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4556 } else {
4557 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4559 }
4560 return resultobj;
4561fail:
4562 return NULL;
4563}
4564
4565
4566SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4567 PyObject *resultobj = 0;
4568 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4569 bool arg2 ;
4570 bool arg3 ;
4571 void *argp1 = 0 ;
4572 int res1 = 0 ;
4573 bool val2 ;
4574 int ecode2 = 0 ;
4575 bool val3 ;
4576 int ecode3 = 0 ;
4577 PyObject * obj0 = 0 ;
4578 PyObject * obj1 = 0 ;
4579 PyObject * obj2 = 0 ;
4580 char * kwnames[] = {
4581 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4582 };
4583
4584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4586 if (!SWIG_IsOK(res1)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4588 }
4589 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4590 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4591 if (!SWIG_IsOK(ecode2)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4593 }
4594 arg2 = static_cast< bool >(val2);
4595 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4596 if (!SWIG_IsOK(ecode3)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4598 }
4599 arg3 = static_cast< bool >(val3);
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 (arg1)->EnableScrolling(arg2,arg3);
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 resultobj = SWIG_Py_Void();
4607 return resultobj;
4608fail:
4609 return NULL;
4610}
4611
4612
4613SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4614 PyObject *resultobj = 0;
4615 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4616 int *arg2 = (int *) 0 ;
4617 int *arg3 = (int *) 0 ;
4618 void *argp1 = 0 ;
4619 int res1 = 0 ;
4620 int temp2 ;
4621 int res2 = SWIG_TMPOBJ ;
4622 int temp3 ;
4623 int res3 = SWIG_TMPOBJ ;
4624 PyObject *swig_obj[1] ;
4625
4626 arg2 = &temp2;
4627 arg3 = &temp3;
4628 if (!args) SWIG_fail;
4629 swig_obj[0] = args;
4630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4631 if (!SWIG_IsOK(res1)) {
4632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4633 }
4634 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
4637 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4638 wxPyEndAllowThreads(__tstate);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 }
4641 resultobj = SWIG_Py_Void();
4642 if (SWIG_IsTmpObj(res2)) {
4643 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4644 } else {
4645 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4646 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4647 }
4648 if (SWIG_IsTmpObj(res3)) {
4649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4650 } else {
4651 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4652 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4653 }
4654 return resultobj;
4655fail:
4656 return NULL;
4657}
4658
4659
4660SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4661 PyObject *resultobj = 0;
4662 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4663 double arg2 ;
4664 double arg3 ;
4665 void *argp1 = 0 ;
4666 int res1 = 0 ;
4667 double val2 ;
4668 int ecode2 = 0 ;
4669 double val3 ;
4670 int ecode3 = 0 ;
4671 PyObject * obj0 = 0 ;
4672 PyObject * obj1 = 0 ;
4673 PyObject * obj2 = 0 ;
4674 char * kwnames[] = {
4675 (char *) "self",(char *) "xs",(char *) "ys", NULL
4676 };
4677
4678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4680 if (!SWIG_IsOK(res1)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4682 }
4683 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4684 ecode2 = SWIG_AsVal_double(obj1, &val2);
4685 if (!SWIG_IsOK(ecode2)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4687 }
4688 arg2 = static_cast< double >(val2);
4689 ecode3 = SWIG_AsVal_double(obj2, &val3);
4690 if (!SWIG_IsOK(ecode3)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4692 }
4693 arg3 = static_cast< double >(val3);
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->SetScale(arg2,arg3);
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 resultobj = SWIG_Py_Void();
4701 return resultobj;
4702fail:
4703 return NULL;
d55e5bfc
RD
4704}
4705
4706
554f62e9
RD
4707SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4708 PyObject *resultobj = 0;
4709 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4710 double result;
4711 void *argp1 = 0 ;
4712 int res1 = 0 ;
4713 PyObject *swig_obj[1] ;
4714
4715 if (!args) SWIG_fail;
4716 swig_obj[0] = args;
4717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4718 if (!SWIG_IsOK(res1)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4720 }
4721 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4728 resultobj = SWIG_From_double(static_cast< double >(result));
4729 return resultobj;
4730fail:
4731 return NULL;
d55e5bfc
RD
4732}
4733
4734
554f62e9
RD
4735SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4736 PyObject *resultobj = 0;
4737 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4738 double result;
4739 void *argp1 = 0 ;
4740 int res1 = 0 ;
4741 PyObject *swig_obj[1] ;
4742
4743 if (!args) SWIG_fail;
4744 swig_obj[0] = args;
4745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4746 if (!SWIG_IsOK(res1)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4748 }
4749 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 resultobj = SWIG_From_double(static_cast< double >(result));
4757 return resultobj;
4758fail:
4759 return NULL;
d55e5bfc
RD
4760}
4761
4762
554f62e9
RD
4763SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4764 PyObject *resultobj = 0;
4765 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4766 wxPoint *arg2 = 0 ;
4767 wxPoint result;
4768 void *argp1 = 0 ;
4769 int res1 = 0 ;
4770 wxPoint temp2 ;
4771
4772 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4774 if (!SWIG_IsOK(res1)) {
4775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4776 }
4777 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4778 {
4779 arg2 = &temp2;
4780 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4781 }
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4785 wxPyEndAllowThreads(__tstate);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 }
4788 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4789 return resultobj;
4790fail:
4791 return NULL;
4792}
4793
4794
4795SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4796 PyObject *resultobj = 0;
4797 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4798 int arg2 ;
4799 int arg3 ;
4800 int *arg4 = (int *) 0 ;
4801 int *arg5 = (int *) 0 ;
4802 void *argp1 = 0 ;
4803 int res1 = 0 ;
4804 int val2 ;
4805 int ecode2 = 0 ;
4806 int val3 ;
4807 int ecode3 = 0 ;
4808 int temp4 ;
4809 int res4 = SWIG_TMPOBJ ;
4810 int temp5 ;
4811 int res5 = SWIG_TMPOBJ ;
4812
4813 arg4 = &temp4;
4814 arg5 = &temp5;
4815 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4817 if (!SWIG_IsOK(res1)) {
4818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4819 }
4820 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4821 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4822 if (!SWIG_IsOK(ecode2)) {
4823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4824 }
4825 arg2 = static_cast< int >(val2);
4826 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4827 if (!SWIG_IsOK(ecode3)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4829 }
4830 arg3 = static_cast< int >(val3);
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 resultobj = SWIG_Py_Void();
4838 if (SWIG_IsTmpObj(res4)) {
4839 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4840 } else {
4841 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4842 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4843 }
4844 if (SWIG_IsTmpObj(res5)) {
4845 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4846 } else {
4847 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4848 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4849 }
4850 return resultobj;
4851fail:
4852 return NULL;
d55e5bfc
RD
4853}
4854
4855
554f62e9
RD
4856SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4857 int argc;
4858 PyObject *argv[4];
4859
4860 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4861 --argc;
4862 if (argc == 2) {
4863 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4864 }
4865 if (argc == 3) {
4866 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4867 }
4868
4869fail:
4870 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4871 return NULL;
d55e5bfc
RD
4872}
4873
4874
554f62e9
RD
4875SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4876 PyObject *resultobj = 0;
4877 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4878 wxPoint *arg2 = 0 ;
4879 wxPoint result;
4880 void *argp1 = 0 ;
4881 int res1 = 0 ;
4882 wxPoint temp2 ;
4883
4884 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4886 if (!SWIG_IsOK(res1)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4888 }
4889 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4890 {
4891 arg2 = &temp2;
4892 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4893 }
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4897 wxPyEndAllowThreads(__tstate);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 }
4900 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4901 return resultobj;
4902fail:
4903 return NULL;
4904}
4905
4906
4907SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4908 PyObject *resultobj = 0;
4909 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4910 int arg2 ;
4911 int arg3 ;
4912 int *arg4 = (int *) 0 ;
4913 int *arg5 = (int *) 0 ;
4914 void *argp1 = 0 ;
4915 int res1 = 0 ;
4916 int val2 ;
4917 int ecode2 = 0 ;
4918 int val3 ;
4919 int ecode3 = 0 ;
4920 int temp4 ;
4921 int res4 = SWIG_TMPOBJ ;
4922 int temp5 ;
4923 int res5 = SWIG_TMPOBJ ;
4924
4925 arg4 = &temp4;
4926 arg5 = &temp5;
4927 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4929 if (!SWIG_IsOK(res1)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4931 }
4932 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4933 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4934 if (!SWIG_IsOK(ecode2)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4936 }
4937 arg2 = static_cast< int >(val2);
4938 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4939 if (!SWIG_IsOK(ecode3)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4941 }
4942 arg3 = static_cast< int >(val3);
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 resultobj = SWIG_Py_Void();
4950 if (SWIG_IsTmpObj(res4)) {
4951 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4952 } else {
4953 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4954 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4955 }
4956 if (SWIG_IsTmpObj(res5)) {
4957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4958 } else {
4959 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4961 }
4962 return resultobj;
4963fail:
4964 return NULL;
d55e5bfc
RD
4965}
4966
4967
554f62e9
RD
4968SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4969 int argc;
4970 PyObject *argv[4];
4971
4972 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4973 --argc;
4974 if (argc == 2) {
4975 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4976 }
4977 if (argc == 3) {
4978 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4979 }
4980
4981fail:
4982 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4983 return NULL;
d55e5bfc
RD
4984}
4985
4986
554f62e9
RD
4987SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4988 PyObject *resultobj = 0;
4989 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4990 void *argp1 = 0 ;
4991 int res1 = 0 ;
4992 PyObject *swig_obj[1] ;
4993
4994 if (!args) SWIG_fail;
4995 swig_obj[0] = args;
4996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4997 if (!SWIG_IsOK(res1)) {
4998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4999 }
5000 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 (arg1)->AdjustScrollbars();
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 resultobj = SWIG_Py_Void();
5008 return resultobj;
5009fail:
5010 return NULL;
5011}
5012
5013
5014SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5015 PyObject *resultobj = 0;
5016 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5017 wxScrollWinEvent *arg2 = 0 ;
5018 int result;
5019 void *argp1 = 0 ;
5020 int res1 = 0 ;
5021 void *argp2 = 0 ;
5022 int res2 = 0 ;
5023 PyObject * obj0 = 0 ;
5024 PyObject * obj1 = 0 ;
5025 char * kwnames[] = {
5026 (char *) "self",(char *) "event", NULL
5027 };
5028
5029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5031 if (!SWIG_IsOK(res1)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5033 }
5034 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5035 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5036 if (!SWIG_IsOK(res2)) {
5037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5038 }
5039 if (!argp2) {
5040 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5041 }
5042 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 result = (int)(arg1)->CalcScrollInc(*arg2);
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 resultobj = SWIG_From_int(static_cast< int >(result));
5050 return resultobj;
5051fail:
5052 return NULL;
5053}
5054
5055
5056SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj = 0;
5058 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5059 wxWindow *arg2 = (wxWindow *) 0 ;
5060 void *argp1 = 0 ;
5061 int res1 = 0 ;
5062 void *argp2 = 0 ;
5063 int res2 = 0 ;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 char * kwnames[] = {
5067 (char *) "self",(char *) "target", NULL
5068 };
5069
5070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5072 if (!SWIG_IsOK(res1)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5074 }
5075 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5077 if (!SWIG_IsOK(res2)) {
5078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5079 }
5080 arg2 = reinterpret_cast< wxWindow * >(argp2);
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 (arg1)->SetTargetWindow(arg2);
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 resultobj = SWIG_Py_Void();
5088 return resultobj;
5089fail:
5090 return NULL;
d55e5bfc
RD
5091}
5092
5093
554f62e9
RD
5094SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5095 PyObject *resultobj = 0;
5096 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5097 wxWindow *result = 0 ;
5098 void *argp1 = 0 ;
5099 int res1 = 0 ;
5100 PyObject *swig_obj[1] ;
5101
5102 if (!args) SWIG_fail;
5103 swig_obj[0] = args;
5104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5105 if (!SWIG_IsOK(res1)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5107 }
5108 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5109 {
5110 PyThreadState* __tstate = wxPyBeginAllowThreads();
5111 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
5115 {
5116 resultobj = wxPyMake_wxObject(result, 0);
5117 }
5118 return resultobj;
5119fail:
5120 return NULL;
5121}
5122
5123
5124SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5125 PyObject *resultobj = 0;
5126 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5127 wxRect *arg2 = 0 ;
5128 void *argp1 = 0 ;
5129 int res1 = 0 ;
5130 wxRect temp2 ;
5131 PyObject * obj0 = 0 ;
5132 PyObject * obj1 = 0 ;
5133 char * kwnames[] = {
5134 (char *) "self",(char *) "rect", NULL
5135 };
5136
5137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5139 if (!SWIG_IsOK(res1)) {
5140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5141 }
5142 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5143 {
5144 arg2 = &temp2;
5145 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5146 }
5147 {
5148 PyThreadState* __tstate = wxPyBeginAllowThreads();
5149 (arg1)->SetTargetRect((wxRect const &)*arg2);
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 resultobj = SWIG_Py_Void();
5154 return resultobj;
5155fail:
5156 return NULL;
d55e5bfc
RD
5157}
5158
5159
554f62e9
RD
5160SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5161 PyObject *resultobj = 0;
5162 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5163 wxRect result;
5164 void *argp1 = 0 ;
5165 int res1 = 0 ;
5166 PyObject *swig_obj[1] ;
5167
5168 if (!args) SWIG_fail;
5169 swig_obj[0] = args;
5170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5171 if (!SWIG_IsOK(res1)) {
5172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5173 }
5174 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5182 return resultobj;
5183fail:
5184 return NULL;
5185}
5186
5187
5188SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj = 0;
5190 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5191 wxDC *arg2 = 0 ;
5192 void *argp1 = 0 ;
5193 int res1 = 0 ;
5194 void *argp2 = 0 ;
5195 int res2 = 0 ;
5196 PyObject * obj0 = 0 ;
5197 PyObject * obj1 = 0 ;
5198 char * kwnames[] = {
5199 (char *) "self",(char *) "dc", NULL
5200 };
5201
5202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5204 if (!SWIG_IsOK(res1)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5206 }
5207 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5208 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5209 if (!SWIG_IsOK(res2)) {
5210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5211 }
5212 if (!argp2) {
5213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5214 }
5215 arg2 = reinterpret_cast< wxDC * >(argp2);
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->DoPrepareDC(*arg2);
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 resultobj = SWIG_Py_Void();
5223 return resultobj;
5224fail:
5225 return NULL;
5226}
5227
5228
5229SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5230 PyObject *resultobj = 0;
5231 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5232 SwigValueWrapper<wxVisualAttributes > result;
5233 int val1 ;
5234 int ecode1 = 0 ;
5235 PyObject * obj0 = 0 ;
5236 char * kwnames[] = {
5237 (char *) "variant", NULL
5238 };
5239
5240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5241 if (obj0) {
5242 ecode1 = SWIG_AsVal_int(obj0, &val1);
5243 if (!SWIG_IsOK(ecode1)) {
5244 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5245 }
5246 arg1 = static_cast< wxWindowVariant >(val1);
5247 }
5248 {
5249 if (!wxPyCheckForApp()) SWIG_fail;
5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
5251 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
5255 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5256 return resultobj;
5257fail:
5258 return NULL;
d55e5bfc
RD
5259}
5260
5261
554f62e9
RD
5262SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5263 PyObject *obj;
5264 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5265 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5266 return SWIG_Py_Void();
d55e5bfc
RD
5267}
5268
554f62e9
RD
5269SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5270 return SWIG_Python_InitShadowInstance(args);
5271}
d55e5bfc 5272
554f62e9
RD
5273SWIGINTERN int FrameNameStr_set(PyObject *) {
5274 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5275 return 1;
d55e5bfc
RD
5276}
5277
5278
554f62e9
RD
5279SWIGINTERN PyObject *FrameNameStr_get(void) {
5280 PyObject *pyobj = 0;
5281
5282 {
5283#if wxUSE_UNICODE
5284 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5285#else
5286 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5287#endif
5288 }
5289 return pyobj;
d55e5bfc
RD
5290}
5291
5292
554f62e9
RD
5293SWIGINTERN int DialogNameStr_set(PyObject *) {
5294 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5295 return 1;
d55e5bfc
RD
5296}
5297
5298
554f62e9
RD
5299SWIGINTERN PyObject *DialogNameStr_get(void) {
5300 PyObject *pyobj = 0;
5301
5302 {
5303#if wxUSE_UNICODE
5304 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5305#else
5306 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5307#endif
5308 }
5309 return pyobj;
d55e5bfc
RD
5310}
5311
5312
554f62e9
RD
5313SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5314 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5315 return 1;
d55e5bfc
RD
5316}
5317
5318
554f62e9
RD
5319SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5320 PyObject *pyobj = 0;
5321
5322 {
5323#if wxUSE_UNICODE
5324 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5325#else
5326 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5327#endif
5328 }
5329 return pyobj;
d55e5bfc
RD
5330}
5331
5332
554f62e9
RD
5333SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5334 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5335 return 1;
d55e5bfc
RD
5336}
5337
5338
554f62e9
RD
5339SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5340 PyObject *pyobj = 0;
5341
5342 {
5343#if wxUSE_UNICODE
5344 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5345#else
5346 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5347#endif
5348 }
5349 return pyobj;
5350}
5351
5352
5353SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj = 0;
5355 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5356 bool arg2 = (bool) true ;
5357 void *argp1 = 0 ;
5358 int res1 = 0 ;
5359 bool val2 ;
5360 int ecode2 = 0 ;
5361 PyObject * obj0 = 0 ;
5362 PyObject * obj1 = 0 ;
5363 char * kwnames[] = {
5364 (char *) "self",(char *) "maximize", NULL
5365 };
5366
5367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5369 if (!SWIG_IsOK(res1)) {
5370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5371 }
5372 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5373 if (obj1) {
5374 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5375 if (!SWIG_IsOK(ecode2)) {
5376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5377 }
5378 arg2 = static_cast< bool >(val2);
5379 }
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 (arg1)->Maximize(arg2);
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 resultobj = SWIG_Py_Void();
5387 return resultobj;
5388fail:
5389 return NULL;
d55e5bfc
RD
5390}
5391
5392
554f62e9
RD
5393SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5394 PyObject *resultobj = 0;
5395 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5396 void *argp1 = 0 ;
5397 int res1 = 0 ;
5398 PyObject *swig_obj[1] ;
5399
5400 if (!args) SWIG_fail;
5401 swig_obj[0] = args;
5402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5403 if (!SWIG_IsOK(res1)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5405 }
5406 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 (arg1)->Restore();
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 resultobj = SWIG_Py_Void();
5414 return resultobj;
5415fail:
5416 return NULL;
5417}
5418
5419
5420SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj = 0;
5422 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5423 bool arg2 = (bool) true ;
5424 void *argp1 = 0 ;
5425 int res1 = 0 ;
5426 bool val2 ;
5427 int ecode2 = 0 ;
5428 PyObject * obj0 = 0 ;
5429 PyObject * obj1 = 0 ;
5430 char * kwnames[] = {
5431 (char *) "self",(char *) "iconize", NULL
5432 };
5433
5434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5436 if (!SWIG_IsOK(res1)) {
5437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5438 }
5439 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5440 if (obj1) {
5441 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5442 if (!SWIG_IsOK(ecode2)) {
5443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5444 }
5445 arg2 = static_cast< bool >(val2);
5446 }
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 (arg1)->Iconize(arg2);
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 resultobj = SWIG_Py_Void();
5454 return resultobj;
5455fail:
5456 return NULL;
d55e5bfc
RD
5457}
5458
5459
554f62e9
RD
5460SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5461 PyObject *resultobj = 0;
5462 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5463 bool result;
5464 void *argp1 = 0 ;
5465 int res1 = 0 ;
5466 PyObject *swig_obj[1] ;
5467
5468 if (!args) SWIG_fail;
5469 swig_obj[0] = args;
5470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5471 if (!SWIG_IsOK(res1)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5473 }
5474 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 {
5482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5483 }
5484 return resultobj;
5485fail:
5486 return NULL;
d55e5bfc
RD
5487}
5488
5489
f460c29d
RD
5490SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5491 PyObject *resultobj = 0;
5492 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5493 bool result;
5494 void *argp1 = 0 ;
5495 int res1 = 0 ;
5496 PyObject *swig_obj[1] ;
5497
5498 if (!args) SWIG_fail;
5499 swig_obj[0] = args;
5500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5501 if (!SWIG_IsOK(res1)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5503 }
5504 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 {
5512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5513 }
5514 return resultobj;
5515fail:
5516 return NULL;
5517}
5518
5519
554f62e9
RD
5520SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5521 PyObject *resultobj = 0;
5522 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5523 bool result;
5524 void *argp1 = 0 ;
5525 int res1 = 0 ;
5526 PyObject *swig_obj[1] ;
5527
5528 if (!args) SWIG_fail;
5529 swig_obj[0] = args;
5530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5531 if (!SWIG_IsOK(res1)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5533 }
5534 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
5541 {
5542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5543 }
5544 return resultobj;
5545fail:
5546 return NULL;
d55e5bfc
RD
5547}
5548
5549
554f62e9
RD
5550SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5551 PyObject *resultobj = 0;
5552 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5553 wxIcon result;
5554 void *argp1 = 0 ;
5555 int res1 = 0 ;
5556 PyObject *swig_obj[1] ;
5557
5558 if (!args) SWIG_fail;
5559 swig_obj[0] = args;
5560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5561 if (!SWIG_IsOK(res1)) {
5562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5563 }
5564 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5568 wxPyEndAllowThreads(__tstate);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 }
5571 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5572 return resultobj;
5573fail:
5574 return NULL;
5575}
5576
5577
5578SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5579 PyObject *resultobj = 0;
5580 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5581 wxIcon *arg2 = 0 ;
5582 void *argp1 = 0 ;
5583 int res1 = 0 ;
5584 void *argp2 = 0 ;
5585 int res2 = 0 ;
5586 PyObject * obj0 = 0 ;
5587 PyObject * obj1 = 0 ;
5588 char * kwnames[] = {
5589 (char *) "self",(char *) "icon", NULL
5590 };
5591
5592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5594 if (!SWIG_IsOK(res1)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5596 }
5597 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5598 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5599 if (!SWIG_IsOK(res2)) {
5600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5601 }
5602 if (!argp2) {
5603 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5604 }
5605 arg2 = reinterpret_cast< wxIcon * >(argp2);
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 (arg1)->SetIcon((wxIcon const &)*arg2);
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 resultobj = SWIG_Py_Void();
5613 return resultobj;
5614fail:
5615 return NULL;
5616}
5617
5618
5619SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5620 PyObject *resultobj = 0;
5621 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5622 wxIconBundle *arg2 = 0 ;
5623 void *argp1 = 0 ;
5624 int res1 = 0 ;
5625 void *argp2 = 0 ;
5626 int res2 = 0 ;
5627 PyObject * obj0 = 0 ;
5628 PyObject * obj1 = 0 ;
5629 char * kwnames[] = {
5630 (char *) "self",(char *) "icons", NULL
5631 };
5632
5633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5635 if (!SWIG_IsOK(res1)) {
5636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5637 }
5638 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5639 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5640 if (!SWIG_IsOK(res2)) {
5641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5642 }
5643 if (!argp2) {
5644 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5645 }
5646 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 resultobj = SWIG_Py_Void();
5654 return resultobj;
5655fail:
5656 return NULL;
5657}
5658
5659
5660SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5661 PyObject *resultobj = 0;
5662 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5663 bool arg2 ;
5664 long arg3 = (long) wxFULLSCREEN_ALL ;
5665 bool result;
5666 void *argp1 = 0 ;
5667 int res1 = 0 ;
5668 bool val2 ;
5669 int ecode2 = 0 ;
5670 long val3 ;
5671 int ecode3 = 0 ;
5672 PyObject * obj0 = 0 ;
5673 PyObject * obj1 = 0 ;
5674 PyObject * obj2 = 0 ;
5675 char * kwnames[] = {
5676 (char *) "self",(char *) "show",(char *) "style", NULL
5677 };
5678
5679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5681 if (!SWIG_IsOK(res1)) {
5682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5683 }
5684 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5685 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5686 if (!SWIG_IsOK(ecode2)) {
5687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5688 }
5689 arg2 = static_cast< bool >(val2);
5690 if (obj2) {
5691 ecode3 = SWIG_AsVal_long(obj2, &val3);
5692 if (!SWIG_IsOK(ecode3)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5694 }
5695 arg3 = static_cast< long >(val3);
5696 }
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 {
5704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5705 }
5706 return resultobj;
5707fail:
5708 return NULL;
d55e5bfc
RD
5709}
5710
5711
554f62e9
RD
5712SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5713 PyObject *resultobj = 0;
5714 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5715 bool result;
5716 void *argp1 = 0 ;
5717 int res1 = 0 ;
5718 PyObject *swig_obj[1] ;
5719
5720 if (!args) SWIG_fail;
5721 swig_obj[0] = args;
5722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5723 if (!SWIG_IsOK(res1)) {
5724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5725 }
5726 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5727 {
5728 PyThreadState* __tstate = wxPyBeginAllowThreads();
5729 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 {
5734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5735 }
5736 return resultobj;
5737fail:
5738 return NULL;
5739}
5740
5741
5742SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj = 0;
5744 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5745 wxString *arg2 = 0 ;
5746 void *argp1 = 0 ;
5747 int res1 = 0 ;
5748 bool temp2 = false ;
5749 PyObject * obj0 = 0 ;
5750 PyObject * obj1 = 0 ;
5751 char * kwnames[] = {
5752 (char *) "self",(char *) "title", NULL
5753 };
5754
5755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5757 if (!SWIG_IsOK(res1)) {
5758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5759 }
5760 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5761 {
5762 arg2 = wxString_in_helper(obj1);
5763 if (arg2 == NULL) SWIG_fail;
5764 temp2 = true;
5765 }
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 (arg1)->SetTitle((wxString const &)*arg2);
5769 wxPyEndAllowThreads(__tstate);
5770 if (PyErr_Occurred()) SWIG_fail;
5771 }
5772 resultobj = SWIG_Py_Void();
5773 {
5774 if (temp2)
5775 delete arg2;
5776 }
5777 return resultobj;
5778fail:
5779 {
5780 if (temp2)
5781 delete arg2;
5782 }
5783 return NULL;
d55e5bfc
RD
5784}
5785
5786
554f62e9
RD
5787SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5788 PyObject *resultobj = 0;
5789 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5790 wxString result;
5791 void *argp1 = 0 ;
5792 int res1 = 0 ;
5793 PyObject *swig_obj[1] ;
5794
5795 if (!args) SWIG_fail;
5796 swig_obj[0] = args;
5797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5798 if (!SWIG_IsOK(res1)) {
5799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5800 }
5801 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5802 {
5803 PyThreadState* __tstate = wxPyBeginAllowThreads();
5804 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5805 wxPyEndAllowThreads(__tstate);
5806 if (PyErr_Occurred()) SWIG_fail;
5807 }
5808 {
5809#if wxUSE_UNICODE
5810 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5811#else
5812 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5813#endif
5814 }
5815 return resultobj;
5816fail:
5817 return NULL;
5818}
5819
5820
5821SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5822 PyObject *resultobj = 0;
5823 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5824 wxRegion *arg2 = 0 ;
5825 bool result;
5826 void *argp1 = 0 ;
5827 int res1 = 0 ;
5828 void *argp2 = 0 ;
5829 int res2 = 0 ;
5830 PyObject * obj0 = 0 ;
5831 PyObject * obj1 = 0 ;
5832 char * kwnames[] = {
5833 (char *) "self",(char *) "region", NULL
5834 };
5835
5836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5838 if (!SWIG_IsOK(res1)) {
5839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5840 }
5841 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5842 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5843 if (!SWIG_IsOK(res2)) {
5844 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5845 }
5846 if (!argp2) {
5847 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5848 }
5849 arg2 = reinterpret_cast< wxRegion * >(argp2);
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 {
5857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5858 }
5859 return resultobj;
5860fail:
5861 return NULL;
5862}
5863
5864
5865SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5866 PyObject *resultobj = 0;
5867 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5868 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5869 void *argp1 = 0 ;
5870 int res1 = 0 ;
5871 int val2 ;
5872 int ecode2 = 0 ;
5873 PyObject * obj0 = 0 ;
5874 PyObject * obj1 = 0 ;
5875 char * kwnames[] = {
5876 (char *) "self",(char *) "flags", NULL
5877 };
5878
5879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5881 if (!SWIG_IsOK(res1)) {
5882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5883 }
5884 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5885 if (obj1) {
5886 ecode2 = SWIG_AsVal_int(obj1, &val2);
5887 if (!SWIG_IsOK(ecode2)) {
5888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5889 }
5890 arg2 = static_cast< int >(val2);
5891 }
5892 {
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 (arg1)->RequestUserAttention(arg2);
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 resultobj = SWIG_Py_Void();
5899 return resultobj;
5900fail:
5901 return NULL;
d55e5bfc
RD
5902}
5903
5904
554f62e9
RD
5905SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5906 PyObject *resultobj = 0;
5907 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5908 bool result;
5909 void *argp1 = 0 ;
5910 int res1 = 0 ;
5911 PyObject *swig_obj[1] ;
5912
5913 if (!args) SWIG_fail;
5914 swig_obj[0] = args;
5915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5916 if (!SWIG_IsOK(res1)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5918 }
5919 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (bool)(arg1)->IsActive();
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 {
5927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5928 }
5929 return resultobj;
5930fail:
5931 return NULL;
5932}
5933
5934
5935SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj = 0;
5937 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5938 bool arg2 ;
5939 void *argp1 = 0 ;
5940 int res1 = 0 ;
5941 bool val2 ;
5942 int ecode2 = 0 ;
5943 PyObject * obj0 = 0 ;
5944 PyObject * obj1 = 0 ;
5945 char * kwnames[] = {
5946 (char *) "self",(char *) "on", NULL
5947 };
5948
5949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5951 if (!SWIG_IsOK(res1)) {
5952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5953 }
5954 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5955 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5956 if (!SWIG_IsOK(ecode2)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5958 }
5959 arg2 = static_cast< bool >(val2);
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 resultobj = SWIG_Py_Void();
5967 return resultobj;
5968fail:
5969 return NULL;
d55e5bfc
RD
5970}
5971
5972
554f62e9
RD
5973SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5974 PyObject *resultobj = 0;
5975 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5976 bool result;
5977 void *argp1 = 0 ;
5978 int res1 = 0 ;
5979 PyObject *swig_obj[1] ;
5980
5981 if (!args) SWIG_fail;
5982 swig_obj[0] = args;
5983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5984 if (!SWIG_IsOK(res1)) {
5985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5986 }
5987 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5988 {
5989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5990 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 {
5995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5996 }
5997 return resultobj;
5998fail:
5999 return NULL;
6000}
6001
6002
6003SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj = 0;
6005 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6006 int arg2 = (int) wxBOTH ;
6007 void *argp1 = 0 ;
6008 int res1 = 0 ;
6009 int val2 ;
6010 int ecode2 = 0 ;
6011 PyObject * obj0 = 0 ;
6012 PyObject * obj1 = 0 ;
6013 char * kwnames[] = {
6014 (char *) "self",(char *) "dir", NULL
6015 };
6016
6017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6019 if (!SWIG_IsOK(res1)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6021 }
6022 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6023 if (obj1) {
6024 ecode2 = SWIG_AsVal_int(obj1, &val2);
6025 if (!SWIG_IsOK(ecode2)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6027 }
6028 arg2 = static_cast< int >(val2);
6029 }
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 (arg1)->CenterOnScreen(arg2);
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 resultobj = SWIG_Py_Void();
6037 return resultobj;
6038fail:
6039 return NULL;
6040}
6041
6042
6043SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6044 PyObject *obj;
6045 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6046 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6047 return SWIG_Py_Void();
6048}
6049
6050SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj = 0;
6052 wxWindow *arg1 = (wxWindow *) 0 ;
6053 int arg2 = (int) (int)-1 ;
6054 wxString const &arg3_defvalue = wxPyEmptyString ;
6055 wxString *arg3 = (wxString *) &arg3_defvalue ;
6056 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6057 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6058 wxSize const &arg5_defvalue = wxDefaultSize ;
6059 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6060 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6061 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6062 wxString *arg7 = (wxString *) &arg7_defvalue ;
6063 wxFrame *result = 0 ;
6064 void *argp1 = 0 ;
6065 int res1 = 0 ;
6066 int val2 ;
6067 int ecode2 = 0 ;
6068 bool temp3 = false ;
6069 wxPoint temp4 ;
6070 wxSize temp5 ;
6071 long val6 ;
6072 int ecode6 = 0 ;
6073 bool temp7 = false ;
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 PyObject * obj2 = 0 ;
6077 PyObject * obj3 = 0 ;
6078 PyObject * obj4 = 0 ;
6079 PyObject * obj5 = 0 ;
6080 PyObject * obj6 = 0 ;
6081 char * kwnames[] = {
6082 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6083 };
6084
6085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6087 if (!SWIG_IsOK(res1)) {
6088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6089 }
6090 arg1 = reinterpret_cast< wxWindow * >(argp1);
6091 if (obj1) {
6092 ecode2 = SWIG_AsVal_int(obj1, &val2);
6093 if (!SWIG_IsOK(ecode2)) {
6094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6095 }
6096 arg2 = static_cast< int >(val2);
6097 }
6098 if (obj2) {
093d3ff1 6099 {
554f62e9
RD
6100 arg3 = wxString_in_helper(obj2);
6101 if (arg3 == NULL) SWIG_fail;
6102 temp3 = true;
f5b96ee1 6103 }
554f62e9
RD
6104 }
6105 if (obj3) {
f5b96ee1 6106 {
554f62e9
RD
6107 arg4 = &temp4;
6108 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 6109 }
554f62e9
RD
6110 }
6111 if (obj4) {
f20a2e1f 6112 {
554f62e9
RD
6113 arg5 = &temp5;
6114 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 6115 }
554f62e9
RD
6116 }
6117 if (obj5) {
6118 ecode6 = SWIG_AsVal_long(obj5, &val6);
6119 if (!SWIG_IsOK(ecode6)) {
6120 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6121 }
6122 arg6 = static_cast< long >(val6);
6123 }
6124 if (obj6) {
f20a2e1f 6125 {
554f62e9
RD
6126 arg7 = wxString_in_helper(obj6);
6127 if (arg7 == NULL) SWIG_fail;
6128 temp7 = true;
f20a2e1f 6129 }
554f62e9
RD
6130 }
6131 {
6132 if (!wxPyCheckForApp()) SWIG_fail;
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6139 {
6140 if (temp3)
6141 delete arg3;
6142 }
6143 {
6144 if (temp7)
6145 delete arg7;
6146 }
6147 return resultobj;
6148fail:
6149 {
6150 if (temp3)
6151 delete arg3;
6152 }
6153 {
6154 if (temp7)
6155 delete arg7;
6156 }
6157 return NULL;
d55e5bfc
RD
6158}
6159
6160
554f62e9
RD
6161SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6162 PyObject *resultobj = 0;
6163 wxFrame *result = 0 ;
6164
6165 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6166 {
6167 if (!wxPyCheckForApp()) SWIG_fail;
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 result = (wxFrame *)new wxFrame();
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6174 return resultobj;
6175fail:
6176 return NULL;
6177}
6178
6179
6180SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj = 0;
6182 wxFrame *arg1 = (wxFrame *) 0 ;
6183 wxWindow *arg2 = (wxWindow *) 0 ;
6184 int arg3 = (int) (int)-1 ;
6185 wxString const &arg4_defvalue = wxPyEmptyString ;
6186 wxString *arg4 = (wxString *) &arg4_defvalue ;
6187 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6188 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6189 wxSize const &arg6_defvalue = wxDefaultSize ;
6190 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6191 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6192 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6193 wxString *arg8 = (wxString *) &arg8_defvalue ;
6194 bool result;
6195 void *argp1 = 0 ;
6196 int res1 = 0 ;
6197 void *argp2 = 0 ;
6198 int res2 = 0 ;
6199 int val3 ;
6200 int ecode3 = 0 ;
6201 bool temp4 = false ;
6202 wxPoint temp5 ;
6203 wxSize temp6 ;
6204 long val7 ;
6205 int ecode7 = 0 ;
6206 bool temp8 = false ;
6207 PyObject * obj0 = 0 ;
6208 PyObject * obj1 = 0 ;
6209 PyObject * obj2 = 0 ;
6210 PyObject * obj3 = 0 ;
6211 PyObject * obj4 = 0 ;
6212 PyObject * obj5 = 0 ;
6213 PyObject * obj6 = 0 ;
6214 PyObject * obj7 = 0 ;
6215 char * kwnames[] = {
6216 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6217 };
6218
6219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6221 if (!SWIG_IsOK(res1)) {
6222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6223 }
6224 arg1 = reinterpret_cast< wxFrame * >(argp1);
6225 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6226 if (!SWIG_IsOK(res2)) {
6227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6228 }
6229 arg2 = reinterpret_cast< wxWindow * >(argp2);
6230 if (obj2) {
6231 ecode3 = SWIG_AsVal_int(obj2, &val3);
6232 if (!SWIG_IsOK(ecode3)) {
6233 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6234 }
6235 arg3 = static_cast< int >(val3);
6236 }
6237 if (obj3) {
d55e5bfc 6238 {
554f62e9
RD
6239 arg4 = wxString_in_helper(obj3);
6240 if (arg4 == NULL) SWIG_fail;
6241 temp4 = true;
d55e5bfc 6242 }
554f62e9
RD
6243 }
6244 if (obj4) {
d55e5bfc 6245 {
554f62e9
RD
6246 arg5 = &temp5;
6247 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6248 }
554f62e9
RD
6249 }
6250 if (obj5) {
d55e5bfc 6251 {
554f62e9
RD
6252 arg6 = &temp6;
6253 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6254 }
554f62e9
RD
6255 }
6256 if (obj6) {
6257 ecode7 = SWIG_AsVal_long(obj6, &val7);
6258 if (!SWIG_IsOK(ecode7)) {
6259 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6260 }
6261 arg7 = static_cast< long >(val7);
6262 }
6263 if (obj7) {
6264 {
6265 arg8 = wxString_in_helper(obj7);
6266 if (arg8 == NULL) SWIG_fail;
6267 temp8 = true;
6268 }
6269 }
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 {
6277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6278 }
6279 {
6280 if (temp4)
6281 delete arg4;
6282 }
6283 {
6284 if (temp8)
6285 delete arg8;
6286 }
6287 return resultobj;
6288fail:
6289 {
6290 if (temp4)
6291 delete arg4;
6292 }
6293 {
6294 if (temp8)
6295 delete arg8;
6296 }
6297 return NULL;
d55e5bfc
RD
6298}
6299
6300
554f62e9
RD
6301SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6302 PyObject *resultobj = 0;
6303 wxFrame *arg1 = (wxFrame *) 0 ;
6304 void *argp1 = 0 ;
6305 int res1 = 0 ;
6306 PyObject *swig_obj[1] ;
6307
6308 if (!args) SWIG_fail;
6309 swig_obj[0] = args;
6310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6311 if (!SWIG_IsOK(res1)) {
6312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6313 }
6314 arg1 = reinterpret_cast< wxFrame * >(argp1);
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 (arg1)->SendSizeEvent();
6318 wxPyEndAllowThreads(__tstate);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
6321 resultobj = SWIG_Py_Void();
6322 return resultobj;
6323fail:
6324 return NULL;
6325}
6326
6327
6328SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6329 PyObject *resultobj = 0;
6330 wxFrame *arg1 = (wxFrame *) 0 ;
6331 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6332 void *argp1 = 0 ;
6333 int res1 = 0 ;
6334 void *argp2 = 0 ;
6335 int res2 = 0 ;
6336 PyObject * obj0 = 0 ;
6337 PyObject * obj1 = 0 ;
6338 char * kwnames[] = {
6339 (char *) "self",(char *) "menubar", NULL
6340 };
6341
6342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6344 if (!SWIG_IsOK(res1)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6346 }
6347 arg1 = reinterpret_cast< wxFrame * >(argp1);
6348 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6349 if (!SWIG_IsOK(res2)) {
6350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6351 }
6352 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 (arg1)->SetMenuBar(arg2);
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 resultobj = SWIG_Py_Void();
6360 return resultobj;
6361fail:
6362 return NULL;
d55e5bfc
RD
6363}
6364
6365
554f62e9
RD
6366SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6367 PyObject *resultobj = 0;
6368 wxFrame *arg1 = (wxFrame *) 0 ;
6369 wxMenuBar *result = 0 ;
6370 void *argp1 = 0 ;
6371 int res1 = 0 ;
6372 PyObject *swig_obj[1] ;
6373
6374 if (!args) SWIG_fail;
6375 swig_obj[0] = args;
6376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6377 if (!SWIG_IsOK(res1)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6379 }
6380 arg1 = reinterpret_cast< wxFrame * >(argp1);
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 {
6388 resultobj = wxPyMake_wxObject(result, 0);
6389 }
6390 return resultobj;
6391fail:
6392 return NULL;
6393}
6394
6395
6396SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6397 PyObject *resultobj = 0;
6398 wxFrame *arg1 = (wxFrame *) 0 ;
6399 int arg2 ;
6400 bool result;
6401 void *argp1 = 0 ;
6402 int res1 = 0 ;
6403 int val2 ;
6404 int ecode2 = 0 ;
6405 PyObject * obj0 = 0 ;
6406 PyObject * obj1 = 0 ;
6407 char * kwnames[] = {
6408 (char *) "self",(char *) "winid", NULL
6409 };
6410
6411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6413 if (!SWIG_IsOK(res1)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6415 }
6416 arg1 = reinterpret_cast< wxFrame * >(argp1);
6417 ecode2 = SWIG_AsVal_int(obj1, &val2);
6418 if (!SWIG_IsOK(ecode2)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6420 }
6421 arg2 = static_cast< int >(val2);
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = (bool)(arg1)->ProcessCommand(arg2);
6425 wxPyEndAllowThreads(__tstate);
6426 if (PyErr_Occurred()) SWIG_fail;
6427 }
6428 {
6429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6430 }
6431 return resultobj;
6432fail:
6433 return NULL;
6434}
6435
6436
6437SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj = 0;
6439 wxFrame *arg1 = (wxFrame *) 0 ;
6440 int arg2 = (int) 1 ;
6441 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6442 int arg4 = (int) 0 ;
6443 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6444 wxString *arg5 = (wxString *) &arg5_defvalue ;
6445 wxStatusBar *result = 0 ;
6446 void *argp1 = 0 ;
6447 int res1 = 0 ;
6448 int val2 ;
6449 int ecode2 = 0 ;
6450 long val3 ;
6451 int ecode3 = 0 ;
6452 int val4 ;
6453 int ecode4 = 0 ;
6454 bool temp5 = false ;
6455 PyObject * obj0 = 0 ;
6456 PyObject * obj1 = 0 ;
6457 PyObject * obj2 = 0 ;
6458 PyObject * obj3 = 0 ;
6459 PyObject * obj4 = 0 ;
6460 char * kwnames[] = {
6461 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6462 };
6463
6464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6466 if (!SWIG_IsOK(res1)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6468 }
6469 arg1 = reinterpret_cast< wxFrame * >(argp1);
6470 if (obj1) {
6471 ecode2 = SWIG_AsVal_int(obj1, &val2);
6472 if (!SWIG_IsOK(ecode2)) {
6473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6474 }
6475 arg2 = static_cast< int >(val2);
6476 }
6477 if (obj2) {
6478 ecode3 = SWIG_AsVal_long(obj2, &val3);
6479 if (!SWIG_IsOK(ecode3)) {
6480 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6481 }
6482 arg3 = static_cast< long >(val3);
6483 }
6484 if (obj3) {
6485 ecode4 = SWIG_AsVal_int(obj3, &val4);
6486 if (!SWIG_IsOK(ecode4)) {
6487 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6488 }
6489 arg4 = static_cast< int >(val4);
6490 }
6491 if (obj4) {
d55e5bfc 6492 {
554f62e9
RD
6493 arg5 = wxString_in_helper(obj4);
6494 if (arg5 == NULL) SWIG_fail;
6495 temp5 = true;
6496 }
6497 }
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 {
6505 resultobj = wxPyMake_wxObject(result, (bool)0);
6506 }
6507 {
6508 if (temp5)
6509 delete arg5;
6510 }
6511 return resultobj;
6512fail:
6513 {
6514 if (temp5)
6515 delete arg5;
6516 }
6517 return NULL;
d55e5bfc
RD
6518}
6519
6520
554f62e9
RD
6521SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6522 PyObject *resultobj = 0;
6523 wxFrame *arg1 = (wxFrame *) 0 ;
6524 wxStatusBar *result = 0 ;
6525 void *argp1 = 0 ;
6526 int res1 = 0 ;
6527 PyObject *swig_obj[1] ;
6528
6529 if (!args) SWIG_fail;
6530 swig_obj[0] = args;
6531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6532 if (!SWIG_IsOK(res1)) {
6533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6534 }
6535 arg1 = reinterpret_cast< wxFrame * >(argp1);
6536 {
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6539 wxPyEndAllowThreads(__tstate);
6540 if (PyErr_Occurred()) SWIG_fail;
6541 }
6542 {
6543 resultobj = wxPyMake_wxObject(result, (bool)0);
6544 }
6545 return resultobj;
6546fail:
6547 return NULL;
6548}
6549
6550
6551SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj = 0;
6553 wxFrame *arg1 = (wxFrame *) 0 ;
6554 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6555 void *argp1 = 0 ;
6556 int res1 = 0 ;
6557 void *argp2 = 0 ;
6558 int res2 = 0 ;
6559 PyObject * obj0 = 0 ;
6560 PyObject * obj1 = 0 ;
6561 char * kwnames[] = {
6562 (char *) "self",(char *) "statBar", NULL
6563 };
6564
6565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6567 if (!SWIG_IsOK(res1)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6569 }
6570 arg1 = reinterpret_cast< wxFrame * >(argp1);
6571 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6572 if (!SWIG_IsOK(res2)) {
6573 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6574 }
6575 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 (arg1)->SetStatusBar(arg2);
6579 wxPyEndAllowThreads(__tstate);
6580 if (PyErr_Occurred()) SWIG_fail;
6581 }
6582 resultobj = SWIG_Py_Void();
6583 return resultobj;
6584fail:
6585 return NULL;
6586}
6587
6588
6589SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6590 PyObject *resultobj = 0;
6591 wxFrame *arg1 = (wxFrame *) 0 ;
6592 wxString *arg2 = 0 ;
6593 int arg3 = (int) 0 ;
6594 void *argp1 = 0 ;
6595 int res1 = 0 ;
6596 bool temp2 = false ;
6597 int val3 ;
6598 int ecode3 = 0 ;
6599 PyObject * obj0 = 0 ;
6600 PyObject * obj1 = 0 ;
6601 PyObject * obj2 = 0 ;
6602 char * kwnames[] = {
6603 (char *) "self",(char *) "text",(char *) "number", NULL
6604 };
6605
6606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6608 if (!SWIG_IsOK(res1)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6610 }
6611 arg1 = reinterpret_cast< wxFrame * >(argp1);
6612 {
6613 arg2 = wxString_in_helper(obj1);
6614 if (arg2 == NULL) SWIG_fail;
6615 temp2 = true;
6616 }
6617 if (obj2) {
6618 ecode3 = SWIG_AsVal_int(obj2, &val3);
6619 if (!SWIG_IsOK(ecode3)) {
6620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6621 }
6622 arg3 = static_cast< int >(val3);
6623 }
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 resultobj = SWIG_Py_Void();
6631 {
6632 if (temp2)
6633 delete arg2;
6634 }
6635 return resultobj;
6636fail:
6637 {
6638 if (temp2)
6639 delete arg2;
6640 }
6641 return NULL;
d55e5bfc
RD
6642}
6643
6644
554f62e9
RD
6645SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6646 PyObject *resultobj = 0;
6647 wxFrame *arg1 = (wxFrame *) 0 ;
6648 int arg2 ;
6649 int *arg3 = (int *) 0 ;
6650 void *argp1 = 0 ;
6651 int res1 = 0 ;
6652 PyObject * obj0 = 0 ;
6653 PyObject * obj1 = 0 ;
6654 char * kwnames[] = {
6655 (char *) "self",(char *) "widths", NULL
6656 };
6657
6658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6660 if (!SWIG_IsOK(res1)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6662 }
6663 arg1 = reinterpret_cast< wxFrame * >(argp1);
6664 {
6665 arg2 = PyList_Size(obj1);
6666 arg3 = int_LIST_helper(obj1);
6667 if (arg3 == NULL) SWIG_fail;
6668 }
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 resultobj = SWIG_Py_Void();
6676 {
6677 if (arg3) delete [] arg3;
6678 }
6679 return resultobj;
6680fail:
6681 {
6682 if (arg3) delete [] arg3;
6683 }
6684 return NULL;
6685}
6686
6687
6688SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj = 0;
6690 wxFrame *arg1 = (wxFrame *) 0 ;
6691 wxString *arg2 = 0 ;
6692 int arg3 = (int) 0 ;
6693 void *argp1 = 0 ;
6694 int res1 = 0 ;
6695 bool temp2 = false ;
6696 int val3 ;
6697 int ecode3 = 0 ;
6698 PyObject * obj0 = 0 ;
6699 PyObject * obj1 = 0 ;
6700 PyObject * obj2 = 0 ;
6701 char * kwnames[] = {
6702 (char *) "self",(char *) "text",(char *) "number", NULL
6703 };
6704
6705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6707 if (!SWIG_IsOK(res1)) {
6708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6709 }
6710 arg1 = reinterpret_cast< wxFrame * >(argp1);
6711 {
6712 arg2 = wxString_in_helper(obj1);
6713 if (arg2 == NULL) SWIG_fail;
6714 temp2 = true;
6715 }
6716 if (obj2) {
6717 ecode3 = SWIG_AsVal_int(obj2, &val3);
6718 if (!SWIG_IsOK(ecode3)) {
6719 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6720 }
6721 arg3 = static_cast< int >(val3);
6722 }
6723 {
6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
6725 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 resultobj = SWIG_Py_Void();
6730 {
6731 if (temp2)
6732 delete arg2;
6733 }
6734 return resultobj;
6735fail:
6736 {
6737 if (temp2)
6738 delete arg2;
6739 }
6740 return NULL;
6741}
6742
6743
6744SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6745 PyObject *resultobj = 0;
6746 wxFrame *arg1 = (wxFrame *) 0 ;
6747 int arg2 = (int) 0 ;
6748 void *argp1 = 0 ;
6749 int res1 = 0 ;
6750 int val2 ;
6751 int ecode2 = 0 ;
6752 PyObject * obj0 = 0 ;
6753 PyObject * obj1 = 0 ;
6754 char * kwnames[] = {
6755 (char *) "self",(char *) "number", NULL
6756 };
6757
6758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6760 if (!SWIG_IsOK(res1)) {
6761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6762 }
6763 arg1 = reinterpret_cast< wxFrame * >(argp1);
6764 if (obj1) {
6765 ecode2 = SWIG_AsVal_int(obj1, &val2);
6766 if (!SWIG_IsOK(ecode2)) {
6767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6768 }
6769 arg2 = static_cast< int >(val2);
6770 }
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 (arg1)->PopStatusText(arg2);
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 resultobj = SWIG_Py_Void();
6778 return resultobj;
6779fail:
6780 return NULL;
6781}
6782
6783
6784SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj = 0;
6786 wxFrame *arg1 = (wxFrame *) 0 ;
6787 int arg2 ;
6788 void *argp1 = 0 ;
6789 int res1 = 0 ;
6790 int val2 ;
6791 int ecode2 = 0 ;
6792 PyObject * obj0 = 0 ;
6793 PyObject * obj1 = 0 ;
6794 char * kwnames[] = {
6795 (char *) "self",(char *) "n", NULL
6796 };
6797
6798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6800 if (!SWIG_IsOK(res1)) {
6801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6802 }
6803 arg1 = reinterpret_cast< wxFrame * >(argp1);
6804 ecode2 = SWIG_AsVal_int(obj1, &val2);
6805 if (!SWIG_IsOK(ecode2)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6807 }
6808 arg2 = static_cast< int >(val2);
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 (arg1)->SetStatusBarPane(arg2);
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 resultobj = SWIG_Py_Void();
6816 return resultobj;
6817fail:
6818 return NULL;
d55e5bfc
RD
6819}
6820
6821
554f62e9
RD
6822SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6823 PyObject *resultobj = 0;
6824 wxFrame *arg1 = (wxFrame *) 0 ;
6825 int result;
6826 void *argp1 = 0 ;
6827 int res1 = 0 ;
6828 PyObject *swig_obj[1] ;
6829
6830 if (!args) SWIG_fail;
6831 swig_obj[0] = args;
6832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6833 if (!SWIG_IsOK(res1)) {
6834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6835 }
6836 arg1 = reinterpret_cast< wxFrame * >(argp1);
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6839 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6840 wxPyEndAllowThreads(__tstate);
6841 if (PyErr_Occurred()) SWIG_fail;
6842 }
6843 resultobj = SWIG_From_int(static_cast< int >(result));
6844 return resultobj;
6845fail:
6846 return NULL;
6847}
6848
6849
6850SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6851 PyObject *resultobj = 0;
6852 wxFrame *arg1 = (wxFrame *) 0 ;
6853 long arg2 = (long) -1 ;
6854 int arg3 = (int) -1 ;
6855 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6856 wxString *arg4 = (wxString *) &arg4_defvalue ;
6857 wxToolBar *result = 0 ;
6858 void *argp1 = 0 ;
6859 int res1 = 0 ;
6860 long val2 ;
6861 int ecode2 = 0 ;
6862 int val3 ;
6863 int ecode3 = 0 ;
6864 bool temp4 = false ;
6865 PyObject * obj0 = 0 ;
6866 PyObject * obj1 = 0 ;
6867 PyObject * obj2 = 0 ;
6868 PyObject * obj3 = 0 ;
6869 char * kwnames[] = {
6870 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6871 };
6872
6873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6875 if (!SWIG_IsOK(res1)) {
6876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6877 }
6878 arg1 = reinterpret_cast< wxFrame * >(argp1);
6879 if (obj1) {
6880 ecode2 = SWIG_AsVal_long(obj1, &val2);
6881 if (!SWIG_IsOK(ecode2)) {
6882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6883 }
6884 arg2 = static_cast< long >(val2);
6885 }
6886 if (obj2) {
6887 ecode3 = SWIG_AsVal_int(obj2, &val3);
6888 if (!SWIG_IsOK(ecode3)) {
6889 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6890 }
6891 arg3 = static_cast< int >(val3);
6892 }
6893 if (obj3) {
d55e5bfc 6894 {
554f62e9
RD
6895 arg4 = wxString_in_helper(obj3);
6896 if (arg4 == NULL) SWIG_fail;
6897 temp4 = true;
d55e5bfc 6898 }
554f62e9
RD
6899 }
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 {
6907 resultobj = wxPyMake_wxObject(result, (bool)0);
6908 }
6909 {
6910 if (temp4)
6911 delete arg4;
6912 }
6913 return resultobj;
6914fail:
6915 {
6916 if (temp4)
6917 delete arg4;
6918 }
6919 return NULL;
d55e5bfc
RD
6920}
6921
6922
554f62e9
RD
6923SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6924 PyObject *resultobj = 0;
6925 wxFrame *arg1 = (wxFrame *) 0 ;
6926 wxToolBar *result = 0 ;
6927 void *argp1 = 0 ;
6928 int res1 = 0 ;
6929 PyObject *swig_obj[1] ;
6930
6931 if (!args) SWIG_fail;
6932 swig_obj[0] = args;
6933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6934 if (!SWIG_IsOK(res1)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6936 }
6937 arg1 = reinterpret_cast< wxFrame * >(argp1);
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 {
6945 resultobj = wxPyMake_wxObject(result, (bool)0);
6946 }
6947 return resultobj;
6948fail:
6949 return NULL;
6950}
6951
6952
6953SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6954 PyObject *resultobj = 0;
6955 wxFrame *arg1 = (wxFrame *) 0 ;
6956 wxToolBar *arg2 = (wxToolBar *) 0 ;
6957 void *argp1 = 0 ;
6958 int res1 = 0 ;
6959 void *argp2 = 0 ;
6960 int res2 = 0 ;
6961 PyObject * obj0 = 0 ;
6962 PyObject * obj1 = 0 ;
6963 char * kwnames[] = {
6964 (char *) "self",(char *) "toolbar", NULL
6965 };
6966
6967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6969 if (!SWIG_IsOK(res1)) {
6970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6971 }
6972 arg1 = reinterpret_cast< wxFrame * >(argp1);
6973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6974 if (!SWIG_IsOK(res2)) {
6975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6976 }
6977 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6978 {
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 (arg1)->SetToolBar(arg2);
6981 wxPyEndAllowThreads(__tstate);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 }
6984 resultobj = SWIG_Py_Void();
6985 return resultobj;
6986fail:
6987 return NULL;
6988}
6989
6990
6991SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6992 PyObject *resultobj = 0;
6993 wxFrame *arg1 = (wxFrame *) 0 ;
6994 wxString *arg2 = 0 ;
6995 bool arg3 ;
6996 void *argp1 = 0 ;
6997 int res1 = 0 ;
6998 bool temp2 = false ;
6999 bool val3 ;
7000 int ecode3 = 0 ;
7001 PyObject * obj0 = 0 ;
7002 PyObject * obj1 = 0 ;
7003 PyObject * obj2 = 0 ;
7004 char * kwnames[] = {
7005 (char *) "self",(char *) "text",(char *) "show", NULL
7006 };
7007
7008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7010 if (!SWIG_IsOK(res1)) {
7011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7012 }
7013 arg1 = reinterpret_cast< wxFrame * >(argp1);
7014 {
7015 arg2 = wxString_in_helper(obj1);
7016 if (arg2 == NULL) SWIG_fail;
7017 temp2 = true;
7018 }
7019 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7020 if (!SWIG_IsOK(ecode3)) {
7021 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7022 }
7023 arg3 = static_cast< bool >(val3);
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 resultobj = SWIG_Py_Void();
7031 {
7032 if (temp2)
7033 delete arg2;
7034 }
7035 return resultobj;
7036fail:
7037 {
7038 if (temp2)
7039 delete arg2;
7040 }
7041 return NULL;
7042}
7043
7044
7045SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7046 PyObject *resultobj = 0;
7047 wxFrame *arg1 = (wxFrame *) 0 ;
7048 wxMenu *arg2 = (wxMenu *) NULL ;
7049 void *argp1 = 0 ;
7050 int res1 = 0 ;
7051 void *argp2 = 0 ;
7052 int res2 = 0 ;
7053 PyObject * obj0 = 0 ;
7054 PyObject * obj1 = 0 ;
7055 char * kwnames[] = {
7056 (char *) "self",(char *) "menu", NULL
7057 };
7058
7059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7061 if (!SWIG_IsOK(res1)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7063 }
7064 arg1 = reinterpret_cast< wxFrame * >(argp1);
7065 if (obj1) {
7066 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7067 if (!SWIG_IsOK(res2)) {
7068 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7069 }
554f62e9
RD
7070 arg2 = reinterpret_cast< wxMenu * >(argp2);
7071 }
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 (arg1)->DoMenuUpdates(arg2);
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 resultobj = SWIG_Py_Void();
7079 return resultobj;
7080fail:
7081 return NULL;
7082}
7083
7084
7085SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7086 PyObject *resultobj = 0;
7087 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7088 SwigValueWrapper<wxVisualAttributes > result;
7089 int val1 ;
7090 int ecode1 = 0 ;
7091 PyObject * obj0 = 0 ;
7092 char * kwnames[] = {
7093 (char *) "variant", NULL
7094 };
7095
7096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7097 if (obj0) {
7098 ecode1 = SWIG_AsVal_int(obj0, &val1);
7099 if (!SWIG_IsOK(ecode1)) {
7100 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7101 }
7102 arg1 = static_cast< wxWindowVariant >(val1);
7103 }
7104 {
7105 if (!wxPyCheckForApp()) SWIG_fail;
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 result = wxFrame::GetClassDefaultAttributes(arg1);
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7112 return resultobj;
7113fail:
7114 return NULL;
7115}
7116
7117
7118SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7119 PyObject *obj;
7120 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7121 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7122 return SWIG_Py_Void();
7123}
7124
7125SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7126 return SWIG_Python_InitShadowInstance(args);
7127}
7128
7129SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj = 0;
7131 wxWindow *arg1 = (wxWindow *) 0 ;
7132 int arg2 = (int) (int)-1 ;
7133 wxString const &arg3_defvalue = wxPyEmptyString ;
7134 wxString *arg3 = (wxString *) &arg3_defvalue ;
7135 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7136 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7137 wxSize const &arg5_defvalue = wxDefaultSize ;
7138 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7139 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7140 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7141 wxString *arg7 = (wxString *) &arg7_defvalue ;
7142 wxDialog *result = 0 ;
7143 void *argp1 = 0 ;
7144 int res1 = 0 ;
7145 int val2 ;
7146 int ecode2 = 0 ;
7147 bool temp3 = false ;
7148 wxPoint temp4 ;
7149 wxSize temp5 ;
7150 long val6 ;
7151 int ecode6 = 0 ;
7152 bool temp7 = false ;
7153 PyObject * obj0 = 0 ;
7154 PyObject * obj1 = 0 ;
7155 PyObject * obj2 = 0 ;
7156 PyObject * obj3 = 0 ;
7157 PyObject * obj4 = 0 ;
7158 PyObject * obj5 = 0 ;
7159 PyObject * obj6 = 0 ;
7160 char * kwnames[] = {
7161 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7162 };
7163
7164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7166 if (!SWIG_IsOK(res1)) {
7167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7168 }
7169 arg1 = reinterpret_cast< wxWindow * >(argp1);
7170 if (obj1) {
7171 ecode2 = SWIG_AsVal_int(obj1, &val2);
7172 if (!SWIG_IsOK(ecode2)) {
7173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7174 }
7175 arg2 = static_cast< int >(val2);
7176 }
7177 if (obj2) {
d55e5bfc 7178 {
554f62e9
RD
7179 arg3 = wxString_in_helper(obj2);
7180 if (arg3 == NULL) SWIG_fail;
7181 temp3 = true;
d55e5bfc 7182 }
554f62e9
RD
7183 }
7184 if (obj3) {
d55e5bfc 7185 {
554f62e9
RD
7186 arg4 = &temp4;
7187 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7188 }
554f62e9
RD
7189 }
7190 if (obj4) {
d55e5bfc 7191 {
554f62e9
RD
7192 arg5 = &temp5;
7193 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7194 }
554f62e9
RD
7195 }
7196 if (obj5) {
7197 ecode6 = SWIG_AsVal_long(obj5, &val6);
7198 if (!SWIG_IsOK(ecode6)) {
7199 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7200 }
7201 arg6 = static_cast< long >(val6);
7202 }
7203 if (obj6) {
093d3ff1 7204 {
554f62e9
RD
7205 arg7 = wxString_in_helper(obj6);
7206 if (arg7 == NULL) SWIG_fail;
7207 temp7 = true;
d55e5bfc 7208 }
554f62e9
RD
7209 }
7210 {
7211 if (!wxPyCheckForApp()) SWIG_fail;
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7218 {
7219 if (temp3)
7220 delete arg3;
7221 }
7222 {
7223 if (temp7)
7224 delete arg7;
7225 }
7226 return resultobj;
7227fail:
7228 {
7229 if (temp3)
7230 delete arg3;
7231 }
7232 {
7233 if (temp7)
7234 delete arg7;
7235 }
7236 return NULL;
d55e5bfc
RD
7237}
7238
7239
554f62e9
RD
7240SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7241 PyObject *resultobj = 0;
7242 wxDialog *result = 0 ;
7243
7244 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7245 {
7246 if (!wxPyCheckForApp()) SWIG_fail;
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
7248 result = (wxDialog *)new wxDialog();
7249 wxPyEndAllowThreads(__tstate);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 }
7252 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7253 return resultobj;
7254fail:
7255 return NULL;
7256}
7257
7258
7259SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj = 0;
7261 wxDialog *arg1 = (wxDialog *) 0 ;
7262 wxWindow *arg2 = (wxWindow *) 0 ;
7263 int arg3 = (int) (int)-1 ;
7264 wxString const &arg4_defvalue = wxPyEmptyString ;
7265 wxString *arg4 = (wxString *) &arg4_defvalue ;
7266 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7267 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7268 wxSize const &arg6_defvalue = wxDefaultSize ;
7269 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7270 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7271 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7272 wxString *arg8 = (wxString *) &arg8_defvalue ;
7273 bool result;
7274 void *argp1 = 0 ;
7275 int res1 = 0 ;
7276 void *argp2 = 0 ;
7277 int res2 = 0 ;
7278 int val3 ;
7279 int ecode3 = 0 ;
7280 bool temp4 = false ;
7281 wxPoint temp5 ;
7282 wxSize temp6 ;
7283 long val7 ;
7284 int ecode7 = 0 ;
7285 bool temp8 = false ;
7286 PyObject * obj0 = 0 ;
7287 PyObject * obj1 = 0 ;
7288 PyObject * obj2 = 0 ;
7289 PyObject * obj3 = 0 ;
7290 PyObject * obj4 = 0 ;
7291 PyObject * obj5 = 0 ;
7292 PyObject * obj6 = 0 ;
7293 PyObject * obj7 = 0 ;
7294 char * kwnames[] = {
7295 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7296 };
7297
7298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7300 if (!SWIG_IsOK(res1)) {
7301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7302 }
7303 arg1 = reinterpret_cast< wxDialog * >(argp1);
7304 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7305 if (!SWIG_IsOK(res2)) {
7306 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7307 }
7308 arg2 = reinterpret_cast< wxWindow * >(argp2);
7309 if (obj2) {
7310 ecode3 = SWIG_AsVal_int(obj2, &val3);
7311 if (!SWIG_IsOK(ecode3)) {
7312 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7313 }
7314 arg3 = static_cast< int >(val3);
7315 }
7316 if (obj3) {
093d3ff1 7317 {
554f62e9
RD
7318 arg4 = wxString_in_helper(obj3);
7319 if (arg4 == NULL) SWIG_fail;
7320 temp4 = true;
d55e5bfc 7321 }
554f62e9
RD
7322 }
7323 if (obj4) {
d55e5bfc 7324 {
554f62e9
RD
7325 arg5 = &temp5;
7326 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7327 }
554f62e9
RD
7328 }
7329 if (obj5) {
d55e5bfc 7330 {
554f62e9
RD
7331 arg6 = &temp6;
7332 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7333 }
554f62e9
RD
7334 }
7335 if (obj6) {
7336 ecode7 = SWIG_AsVal_long(obj6, &val7);
7337 if (!SWIG_IsOK(ecode7)) {
7338 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7339 }
7340 arg7 = static_cast< long >(val7);
7341 }
7342 if (obj7) {
d55e5bfc 7343 {
554f62e9
RD
7344 arg8 = wxString_in_helper(obj7);
7345 if (arg8 == NULL) SWIG_fail;
7346 temp8 = true;
d55e5bfc 7347 }
554f62e9
RD
7348 }
7349 {
7350 PyThreadState* __tstate = wxPyBeginAllowThreads();
7351 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 {
7356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7357 }
7358 {
7359 if (temp4)
7360 delete arg4;
7361 }
7362 {
7363 if (temp8)
7364 delete arg8;
7365 }
7366 return resultobj;
7367fail:
7368 {
7369 if (temp4)
7370 delete arg4;
7371 }
7372 {
7373 if (temp8)
7374 delete arg8;
7375 }
7376 return NULL;
7377}
7378
7379
7380SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7381 PyObject *resultobj = 0;
7382 wxDialog *arg1 = (wxDialog *) 0 ;
7383 int arg2 ;
7384 void *argp1 = 0 ;
7385 int res1 = 0 ;
7386 int val2 ;
7387 int ecode2 = 0 ;
7388 PyObject * obj0 = 0 ;
7389 PyObject * obj1 = 0 ;
7390 char * kwnames[] = {
7391 (char *) "self",(char *) "returnCode", NULL
7392 };
7393
7394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7396 if (!SWIG_IsOK(res1)) {
7397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7398 }
7399 arg1 = reinterpret_cast< wxDialog * >(argp1);
7400 ecode2 = SWIG_AsVal_int(obj1, &val2);
7401 if (!SWIG_IsOK(ecode2)) {
7402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7403 }
7404 arg2 = static_cast< int >(val2);
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 (arg1)->SetReturnCode(arg2);
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_Py_Void();
7412 return resultobj;
7413fail:
7414 return NULL;
d55e5bfc
RD
7415}
7416
7417
554f62e9
RD
7418SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7419 PyObject *resultobj = 0;
7420 wxDialog *arg1 = (wxDialog *) 0 ;
7421 int result;
7422 void *argp1 = 0 ;
7423 int res1 = 0 ;
7424 PyObject *swig_obj[1] ;
7425
7426 if (!args) SWIG_fail;
7427 swig_obj[0] = args;
7428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7429 if (!SWIG_IsOK(res1)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7431 }
7432 arg1 = reinterpret_cast< wxDialog * >(argp1);
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 resultobj = SWIG_From_int(static_cast< int >(result));
7440 return resultobj;
7441fail:
7442 return NULL;
7443}
7444
7445
7446SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7447 PyObject *resultobj = 0;
7448 wxDialog *arg1 = (wxDialog *) 0 ;
7449 int arg2 ;
7450 void *argp1 = 0 ;
7451 int res1 = 0 ;
7452 int val2 ;
7453 int ecode2 = 0 ;
7454 PyObject * obj0 = 0 ;
7455 PyObject * obj1 = 0 ;
7456 char * kwnames[] = {
7457 (char *) "self",(char *) "affirmativeId", NULL
7458 };
7459
7460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7462 if (!SWIG_IsOK(res1)) {
7463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7464 }
7465 arg1 = reinterpret_cast< wxDialog * >(argp1);
7466 ecode2 = SWIG_AsVal_int(obj1, &val2);
7467 if (!SWIG_IsOK(ecode2)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7469 }
7470 arg2 = static_cast< int >(val2);
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 (arg1)->SetAffirmativeId(arg2);
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 resultobj = SWIG_Py_Void();
7478 return resultobj;
7479fail:
7480 return NULL;
d55e5bfc
RD
7481}
7482
7483
554f62e9
RD
7484SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7485 PyObject *resultobj = 0;
7486 wxDialog *arg1 = (wxDialog *) 0 ;
7487 int result;
7488 void *argp1 = 0 ;
7489 int res1 = 0 ;
7490 PyObject *swig_obj[1] ;
7491
7492 if (!args) SWIG_fail;
7493 swig_obj[0] = args;
7494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7495 if (!SWIG_IsOK(res1)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7497 }
7498 arg1 = reinterpret_cast< wxDialog * >(argp1);
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 resultobj = SWIG_From_int(static_cast< int >(result));
7506 return resultobj;
7507fail:
7508 return NULL;
7509}
7510
7511
7512SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7513 PyObject *resultobj = 0;
7514 wxDialog *arg1 = (wxDialog *) 0 ;
7515 int arg2 ;
7516 void *argp1 = 0 ;
7517 int res1 = 0 ;
7518 int val2 ;
7519 int ecode2 = 0 ;
7520 PyObject * obj0 = 0 ;
7521 PyObject * obj1 = 0 ;
7522 char * kwnames[] = {
7523 (char *) "self",(char *) "escapeId", NULL
7524 };
7525
7526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7528 if (!SWIG_IsOK(res1)) {
7529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7530 }
7531 arg1 = reinterpret_cast< wxDialog * >(argp1);
7532 ecode2 = SWIG_AsVal_int(obj1, &val2);
7533 if (!SWIG_IsOK(ecode2)) {
7534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7535 }
7536 arg2 = static_cast< int >(val2);
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 (arg1)->SetEscapeId(arg2);
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
7543 resultobj = SWIG_Py_Void();
7544 return resultobj;
7545fail:
7546 return NULL;
d55e5bfc
RD
7547}
7548
7549
554f62e9
RD
7550SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7551 PyObject *resultobj = 0;
7552 wxDialog *arg1 = (wxDialog *) 0 ;
7553 int result;
7554 void *argp1 = 0 ;
7555 int res1 = 0 ;
7556 PyObject *swig_obj[1] ;
7557
7558 if (!args) SWIG_fail;
7559 swig_obj[0] = args;
7560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7561 if (!SWIG_IsOK(res1)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7563 }
7564 arg1 = reinterpret_cast< wxDialog * >(argp1);
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 resultobj = SWIG_From_int(static_cast< int >(result));
7572 return resultobj;
7573fail:
7574 return NULL;
7575}
7576
7577
7578SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj = 0;
7580 wxDialog *arg1 = (wxDialog *) 0 ;
7581 wxString *arg2 = 0 ;
7582 wxSizer *result = 0 ;
7583 void *argp1 = 0 ;
7584 int res1 = 0 ;
7585 bool temp2 = false ;
7586 PyObject * obj0 = 0 ;
7587 PyObject * obj1 = 0 ;
7588 char * kwnames[] = {
7589 (char *) "self",(char *) "message", NULL
7590 };
7591
7592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7594 if (!SWIG_IsOK(res1)) {
7595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7596 }
7597 arg1 = reinterpret_cast< wxDialog * >(argp1);
7598 {
7599 arg2 = wxString_in_helper(obj1);
7600 if (arg2 == NULL) SWIG_fail;
7601 temp2 = true;
7602 }
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7606 wxPyEndAllowThreads(__tstate);
7607 if (PyErr_Occurred()) SWIG_fail;
7608 }
7609 {
7610 resultobj = wxPyMake_wxObject(result, (bool)0);
7611 }
7612 {
7613 if (temp2)
7614 delete arg2;
7615 }
7616 return resultobj;
7617fail:
7618 {
7619 if (temp2)
7620 delete arg2;
7621 }
7622 return NULL;
7623}
7624
7625
7626SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj = 0;
7628 wxDialog *arg1 = (wxDialog *) 0 ;
7629 long arg2 ;
7630 bool arg3 = (bool) false ;
7631 int arg4 = (int) 0 ;
7632 wxSizer *result = 0 ;
7633 void *argp1 = 0 ;
7634 int res1 = 0 ;
7635 long val2 ;
7636 int ecode2 = 0 ;
7637 bool val3 ;
7638 int ecode3 = 0 ;
7639 int val4 ;
7640 int ecode4 = 0 ;
7641 PyObject * obj0 = 0 ;
7642 PyObject * obj1 = 0 ;
7643 PyObject * obj2 = 0 ;
7644 PyObject * obj3 = 0 ;
7645 char * kwnames[] = {
7646 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7647 };
7648
7649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7651 if (!SWIG_IsOK(res1)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7653 }
7654 arg1 = reinterpret_cast< wxDialog * >(argp1);
7655 ecode2 = SWIG_AsVal_long(obj1, &val2);
7656 if (!SWIG_IsOK(ecode2)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7658 }
7659 arg2 = static_cast< long >(val2);
7660 if (obj2) {
7661 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7662 if (!SWIG_IsOK(ecode3)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7664 }
7665 arg3 = static_cast< bool >(val3);
7666 }
7667 if (obj3) {
7668 ecode4 = SWIG_AsVal_int(obj3, &val4);
7669 if (!SWIG_IsOK(ecode4)) {
7670 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7671 }
7672 arg4 = static_cast< int >(val4);
7673 }
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 {
7681 resultobj = wxPyMake_wxObject(result, (bool)0);
7682 }
7683 return resultobj;
7684fail:
7685 return NULL;
7686}
7687
7688
7689SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7690 PyObject *resultobj = 0;
7691 wxDialog *arg1 = (wxDialog *) 0 ;
7692 long arg2 ;
7693 wxStdDialogButtonSizer *result = 0 ;
7694 void *argp1 = 0 ;
7695 int res1 = 0 ;
7696 long val2 ;
7697 int ecode2 = 0 ;
7698 PyObject * obj0 = 0 ;
7699 PyObject * obj1 = 0 ;
7700 char * kwnames[] = {
7701 (char *) "self",(char *) "flags", NULL
7702 };
7703
7704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7706 if (!SWIG_IsOK(res1)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7708 }
7709 arg1 = reinterpret_cast< wxDialog * >(argp1);
7710 ecode2 = SWIG_AsVal_long(obj1, &val2);
7711 if (!SWIG_IsOK(ecode2)) {
7712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7713 }
7714 arg2 = static_cast< long >(val2);
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7722 return resultobj;
7723fail:
7724 return NULL;
d55e5bfc
RD
7725}
7726
7727
554f62e9
RD
7728SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7729 PyObject *resultobj = 0;
7730 wxDialog *arg1 = (wxDialog *) 0 ;
7731 bool result;
7732 void *argp1 = 0 ;
7733 int res1 = 0 ;
7734 PyObject *swig_obj[1] ;
7735
7736 if (!args) SWIG_fail;
7737 swig_obj[0] = args;
7738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7739 if (!SWIG_IsOK(res1)) {
7740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7741 }
7742 arg1 = reinterpret_cast< wxDialog * >(argp1);
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 result = (bool)((wxDialog const *)arg1)->IsModal();
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 {
7750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7751 }
7752 return resultobj;
7753fail:
7754 return NULL;
c32bde28
RD
7755}
7756
7757
554f62e9
RD
7758SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7759 PyObject *resultobj = 0;
7760 wxDialog *arg1 = (wxDialog *) 0 ;
7761 int result;
7762 void *argp1 = 0 ;
7763 int res1 = 0 ;
7764 PyObject *swig_obj[1] ;
7765
7766 if (!args) SWIG_fail;
7767 swig_obj[0] = args;
7768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7769 if (!SWIG_IsOK(res1)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7771 }
7772 arg1 = reinterpret_cast< wxDialog * >(argp1);
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 result = (int)(arg1)->ShowModal();
7776 wxPyEndAllowThreads(__tstate);
7777 if (PyErr_Occurred()) SWIG_fail;
7778 }
7779 resultobj = SWIG_From_int(static_cast< int >(result));
7780 return resultobj;
7781fail:
7782 return NULL;
7783}
7784
7785
7786SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7787 PyObject *resultobj = 0;
7788 wxDialog *arg1 = (wxDialog *) 0 ;
7789 int arg2 ;
7790 void *argp1 = 0 ;
7791 int res1 = 0 ;
7792 int val2 ;
7793 int ecode2 = 0 ;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 char * kwnames[] = {
7797 (char *) "self",(char *) "retCode", NULL
7798 };
7799
7800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7802 if (!SWIG_IsOK(res1)) {
7803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7804 }
7805 arg1 = reinterpret_cast< wxDialog * >(argp1);
7806 ecode2 = SWIG_AsVal_int(obj1, &val2);
7807 if (!SWIG_IsOK(ecode2)) {
7808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7809 }
7810 arg2 = static_cast< int >(val2);
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 (arg1)->EndModal(arg2);
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 resultobj = SWIG_Py_Void();
7818 return resultobj;
7819fail:
7820 return NULL;
7821}
7822
7823
7824SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj = 0;
7826 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7827 SwigValueWrapper<wxVisualAttributes > result;
7828 int val1 ;
7829 int ecode1 = 0 ;
7830 PyObject * obj0 = 0 ;
7831 char * kwnames[] = {
7832 (char *) "variant", NULL
7833 };
7834
7835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7836 if (obj0) {
7837 ecode1 = SWIG_AsVal_int(obj0, &val1);
7838 if (!SWIG_IsOK(ecode1)) {
7839 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7840 }
7841 arg1 = static_cast< wxWindowVariant >(val1);
7842 }
7843 {
7844 if (!wxPyCheckForApp()) SWIG_fail;
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 result = wxDialog::GetClassDefaultAttributes(arg1);
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7851 return resultobj;
7852fail:
7853 return NULL;
7854}
7855
7856
7857SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7858 PyObject *obj;
7859 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7860 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7861 return SWIG_Py_Void();
7862}
7863
7864SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7865 return SWIG_Python_InitShadowInstance(args);
7866}
7867
7868SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7869 PyObject *resultobj = 0;
7870 wxWindow *arg1 = (wxWindow *) 0 ;
7871 int arg2 = (int) (int)-1 ;
7872 wxString const &arg3_defvalue = wxPyEmptyString ;
7873 wxString *arg3 = (wxString *) &arg3_defvalue ;
7874 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7875 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7876 wxSize const &arg5_defvalue = wxDefaultSize ;
7877 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7878 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7879 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7880 wxString *arg7 = (wxString *) &arg7_defvalue ;
7881 wxMiniFrame *result = 0 ;
7882 void *argp1 = 0 ;
7883 int res1 = 0 ;
7884 int val2 ;
7885 int ecode2 = 0 ;
7886 bool temp3 = false ;
7887 wxPoint temp4 ;
7888 wxSize temp5 ;
7889 long val6 ;
7890 int ecode6 = 0 ;
7891 bool temp7 = false ;
7892 PyObject * obj0 = 0 ;
7893 PyObject * obj1 = 0 ;
7894 PyObject * obj2 = 0 ;
7895 PyObject * obj3 = 0 ;
7896 PyObject * obj4 = 0 ;
7897 PyObject * obj5 = 0 ;
7898 PyObject * obj6 = 0 ;
7899 char * kwnames[] = {
7900 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7901 };
7902
7903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7905 if (!SWIG_IsOK(res1)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7907 }
7908 arg1 = reinterpret_cast< wxWindow * >(argp1);
7909 if (obj1) {
7910 ecode2 = SWIG_AsVal_int(obj1, &val2);
7911 if (!SWIG_IsOK(ecode2)) {
7912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7913 }
7914 arg2 = static_cast< int >(val2);
7915 }
7916 if (obj2) {
5e483524 7917 {
554f62e9
RD
7918 arg3 = wxString_in_helper(obj2);
7919 if (arg3 == NULL) SWIG_fail;
7920 temp3 = true;
5e483524 7921 }
554f62e9
RD
7922 }
7923 if (obj3) {
093d3ff1 7924 {
554f62e9
RD
7925 arg4 = &temp4;
7926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 7927 }
554f62e9
RD
7928 }
7929 if (obj4) {
84f85550 7930 {
554f62e9
RD
7931 arg5 = &temp5;
7932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
84f85550 7933 }
554f62e9
RD
7934 }
7935 if (obj5) {
7936 ecode6 = SWIG_AsVal_long(obj5, &val6);
7937 if (!SWIG_IsOK(ecode6)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7939 }
7940 arg6 = static_cast< long >(val6);
7941 }
7942 if (obj6) {
84f85550 7943 {
554f62e9
RD
7944 arg7 = wxString_in_helper(obj6);
7945 if (arg7 == NULL) SWIG_fail;
7946 temp7 = true;
84f85550 7947 }
554f62e9
RD
7948 }
7949 {
7950 if (!wxPyCheckForApp()) SWIG_fail;
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7957 {
7958 if (temp3)
7959 delete arg3;
7960 }
7961 {
7962 if (temp7)
7963 delete arg7;
7964 }
7965 return resultobj;
7966fail:
7967 {
7968 if (temp3)
7969 delete arg3;
7970 }
7971 {
7972 if (temp7)
7973 delete arg7;
7974 }
7975 return NULL;
84f85550
RD
7976}
7977
7978
554f62e9
RD
7979SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7980 PyObject *resultobj = 0;
7981 wxMiniFrame *result = 0 ;
7982
7983 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7984 {
7985 if (!wxPyCheckForApp()) SWIG_fail;
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (wxMiniFrame *)new wxMiniFrame();
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7992 return resultobj;
7993fail:
7994 return NULL;
7995}
7996
7997
7998SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj = 0;
8000 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8001 wxWindow *arg2 = (wxWindow *) 0 ;
8002 int arg3 = (int) (int)-1 ;
8003 wxString const &arg4_defvalue = wxPyEmptyString ;
8004 wxString *arg4 = (wxString *) &arg4_defvalue ;
8005 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8006 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8007 wxSize const &arg6_defvalue = wxDefaultSize ;
8008 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8009 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8010 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8011 wxString *arg8 = (wxString *) &arg8_defvalue ;
8012 bool result;
8013 void *argp1 = 0 ;
8014 int res1 = 0 ;
8015 void *argp2 = 0 ;
8016 int res2 = 0 ;
8017 int val3 ;
8018 int ecode3 = 0 ;
8019 bool temp4 = false ;
8020 wxPoint temp5 ;
8021 wxSize temp6 ;
8022 long val7 ;
8023 int ecode7 = 0 ;
8024 bool temp8 = false ;
8025 PyObject * obj0 = 0 ;
8026 PyObject * obj1 = 0 ;
8027 PyObject * obj2 = 0 ;
8028 PyObject * obj3 = 0 ;
8029 PyObject * obj4 = 0 ;
8030 PyObject * obj5 = 0 ;
8031 PyObject * obj6 = 0 ;
8032 PyObject * obj7 = 0 ;
8033 char * kwnames[] = {
8034 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8035 };
8036
8037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8039 if (!SWIG_IsOK(res1)) {
8040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8041 }
8042 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8043 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8044 if (!SWIG_IsOK(res2)) {
8045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8046 }
8047 arg2 = reinterpret_cast< wxWindow * >(argp2);
8048 if (obj2) {
8049 ecode3 = SWIG_AsVal_int(obj2, &val3);
8050 if (!SWIG_IsOK(ecode3)) {
8051 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8052 }
8053 arg3 = static_cast< int >(val3);
8054 }
8055 if (obj3) {
b1fcee84 8056 {
554f62e9
RD
8057 arg4 = wxString_in_helper(obj3);
8058 if (arg4 == NULL) SWIG_fail;
8059 temp4 = true;
d55e5bfc 8060 }
554f62e9
RD
8061 }
8062 if (obj4) {
d55e5bfc 8063 {
554f62e9
RD
8064 arg5 = &temp5;
8065 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8066 }
554f62e9
RD
8067 }
8068 if (obj5) {
d55e5bfc 8069 {
554f62e9
RD
8070 arg6 = &temp6;
8071 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8072 }
554f62e9
RD
8073 }
8074 if (obj6) {
8075 ecode7 = SWIG_AsVal_long(obj6, &val7);
8076 if (!SWIG_IsOK(ecode7)) {
8077 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8078 }
8079 arg7 = static_cast< long >(val7);
8080 }
8081 if (obj7) {
d55e5bfc 8082 {
554f62e9
RD
8083 arg8 = wxString_in_helper(obj7);
8084 if (arg8 == NULL) SWIG_fail;
8085 temp8 = true;
d55e5bfc 8086 }
554f62e9
RD
8087 }
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 {
8095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8096 }
8097 {
8098 if (temp4)
8099 delete arg4;
8100 }
8101 {
8102 if (temp8)
8103 delete arg8;
8104 }
8105 return resultobj;
8106fail:
8107 {
8108 if (temp4)
8109 delete arg4;
8110 }
8111 {
8112 if (temp8)
8113 delete arg8;
8114 }
8115 return NULL;
8116}
8117
8118
8119SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8120 PyObject *obj;
8121 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8122 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8123 return SWIG_Py_Void();
8124}
8125
8126SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8127 return SWIG_Python_InitShadowInstance(args);
8128}
8129
8130SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj = 0;
8132 wxBitmap *arg1 = 0 ;
8133 wxWindow *arg2 = (wxWindow *) 0 ;
8134 int arg3 ;
8135 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8136 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8137 wxSize const &arg5_defvalue = wxDefaultSize ;
8138 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8139 long arg6 = (long) wxNO_BORDER ;
8140 wxSplashScreenWindow *result = 0 ;
8141 void *argp1 = 0 ;
8142 int res1 = 0 ;
8143 void *argp2 = 0 ;
8144 int res2 = 0 ;
8145 int val3 ;
8146 int ecode3 = 0 ;
8147 wxPoint temp4 ;
8148 wxSize temp5 ;
8149 long val6 ;
8150 int ecode6 = 0 ;
8151 PyObject * obj0 = 0 ;
8152 PyObject * obj1 = 0 ;
8153 PyObject * obj2 = 0 ;
8154 PyObject * obj3 = 0 ;
8155 PyObject * obj4 = 0 ;
8156 PyObject * obj5 = 0 ;
8157 char * kwnames[] = {
8158 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8159 };
8160
8161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8162 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8163 if (!SWIG_IsOK(res1)) {
8164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8165 }
8166 if (!argp1) {
8167 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8168 }
8169 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8170 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8171 if (!SWIG_IsOK(res2)) {
8172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8173 }
8174 arg2 = reinterpret_cast< wxWindow * >(argp2);
8175 ecode3 = SWIG_AsVal_int(obj2, &val3);
8176 if (!SWIG_IsOK(ecode3)) {
8177 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8178 }
8179 arg3 = static_cast< int >(val3);
8180 if (obj3) {
d55e5bfc 8181 {
554f62e9
RD
8182 arg4 = &temp4;
8183 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8184 }
554f62e9
RD
8185 }
8186 if (obj4) {
d55e5bfc 8187 {
554f62e9
RD
8188 arg5 = &temp5;
8189 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8190 }
8191 }
8192 if (obj5) {
8193 ecode6 = SWIG_AsVal_long(obj5, &val6);
8194 if (!SWIG_IsOK(ecode6)) {
8195 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8196 }
8197 arg6 = static_cast< long >(val6);
8198 }
8199 {
8200 if (!wxPyCheckForApp()) SWIG_fail;
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8207 return resultobj;
8208fail:
8209 return NULL;
8210}
8211
8212
8213SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8214 PyObject *resultobj = 0;
8215 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8216 wxBitmap *arg2 = 0 ;
8217 void *argp1 = 0 ;
8218 int res1 = 0 ;
8219 void *argp2 = 0 ;
8220 int res2 = 0 ;
8221 PyObject * obj0 = 0 ;
8222 PyObject * obj1 = 0 ;
8223 char * kwnames[] = {
8224 (char *) "self",(char *) "bitmap", NULL
8225 };
8226
8227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8229 if (!SWIG_IsOK(res1)) {
8230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8231 }
8232 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8233 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8234 if (!SWIG_IsOK(res2)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8236 }
8237 if (!argp2) {
8238 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8239 }
8240 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8241 {
8242 PyThreadState* __tstate = wxPyBeginAllowThreads();
8243 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 resultobj = SWIG_Py_Void();
8248 return resultobj;
8249fail:
8250 return NULL;
d55e5bfc
RD
8251}
8252
8253
554f62e9
RD
8254SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8255 PyObject *resultobj = 0;
8256 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8257 wxBitmap *result = 0 ;
8258 void *argp1 = 0 ;
8259 int res1 = 0 ;
8260 PyObject *swig_obj[1] ;
8261
8262 if (!args) SWIG_fail;
8263 swig_obj[0] = args;
8264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8265 if (!SWIG_IsOK(res1)) {
8266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8267 }
8268 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 8271 {
554f62e9
RD
8272 wxBitmap &_result_ref = (arg1)->GetBitmap();
8273 result = (wxBitmap *) &_result_ref;
d55e5bfc 8274 }
554f62e9
RD
8275 wxPyEndAllowThreads(__tstate);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 }
8278 {
8279 wxBitmap* resultptr = new wxBitmap(*result);
8280 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8281 }
8282 return resultobj;
8283fail:
8284 return NULL;
8285}
8286
8287
8288SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8289 PyObject *obj;
8290 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8291 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8292 return SWIG_Py_Void();
8293}
8294
8295SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8296 return SWIG_Python_InitShadowInstance(args);
8297}
8298
8299SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj = 0;
8301 wxBitmap *arg1 = 0 ;
8302 long arg2 ;
8303 int arg3 ;
8304 wxWindow *arg4 = (wxWindow *) 0 ;
8305 int arg5 = (int) -1 ;
8306 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8307 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8308 wxSize const &arg7_defvalue = wxDefaultSize ;
8309 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8310 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8311 wxSplashScreen *result = 0 ;
8312 void *argp1 = 0 ;
8313 int res1 = 0 ;
8314 long val2 ;
8315 int ecode2 = 0 ;
8316 int val3 ;
8317 int ecode3 = 0 ;
8318 void *argp4 = 0 ;
8319 int res4 = 0 ;
8320 int val5 ;
8321 int ecode5 = 0 ;
8322 wxPoint temp6 ;
8323 wxSize temp7 ;
8324 long val8 ;
8325 int ecode8 = 0 ;
8326 PyObject * obj0 = 0 ;
8327 PyObject * obj1 = 0 ;
8328 PyObject * obj2 = 0 ;
8329 PyObject * obj3 = 0 ;
8330 PyObject * obj4 = 0 ;
8331 PyObject * obj5 = 0 ;
8332 PyObject * obj6 = 0 ;
8333 PyObject * obj7 = 0 ;
8334 char * kwnames[] = {
8335 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8336 };
8337
8338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8339 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8340 if (!SWIG_IsOK(res1)) {
8341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8342 }
8343 if (!argp1) {
8344 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8345 }
8346 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8347 ecode2 = SWIG_AsVal_long(obj1, &val2);
8348 if (!SWIG_IsOK(ecode2)) {
8349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8350 }
8351 arg2 = static_cast< long >(val2);
8352 ecode3 = SWIG_AsVal_int(obj2, &val3);
8353 if (!SWIG_IsOK(ecode3)) {
8354 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8355 }
8356 arg3 = static_cast< int >(val3);
8357 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8358 if (!SWIG_IsOK(res4)) {
8359 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8360 }
8361 arg4 = reinterpret_cast< wxWindow * >(argp4);
8362 if (obj4) {
8363 ecode5 = SWIG_AsVal_int(obj4, &val5);
8364 if (!SWIG_IsOK(ecode5)) {
8365 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8366 }
8367 arg5 = static_cast< int >(val5);
8368 }
8369 if (obj5) {
d55e5bfc 8370 {
554f62e9
RD
8371 arg6 = &temp6;
8372 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8373 }
554f62e9
RD
8374 }
8375 if (obj6) {
d55e5bfc 8376 {
554f62e9
RD
8377 arg7 = &temp7;
8378 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8379 }
554f62e9
RD
8380 }
8381 if (obj7) {
8382 ecode8 = SWIG_AsVal_long(obj7, &val8);
8383 if (!SWIG_IsOK(ecode8)) {
8384 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8385 }
8386 arg8 = static_cast< long >(val8);
8387 }
8388 {
8389 if (!wxPyCheckForApp()) SWIG_fail;
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8396 return resultobj;
8397fail:
8398 return NULL;
d55e5bfc
RD
8399}
8400
8401
554f62e9
RD
8402SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8403 PyObject *resultobj = 0;
8404 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8405 long result;
8406 void *argp1 = 0 ;
8407 int res1 = 0 ;
8408 PyObject *swig_obj[1] ;
8409
8410 if (!args) SWIG_fail;
8411 swig_obj[0] = args;
8412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8413 if (!SWIG_IsOK(res1)) {
8414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8415 }
8416 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 resultobj = SWIG_From_long(static_cast< long >(result));
8424 return resultobj;
8425fail:
8426 return NULL;
d55e5bfc
RD
8427}
8428
8429
554f62e9
RD
8430SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8431 PyObject *resultobj = 0;
8432 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8433 wxSplashScreenWindow *result = 0 ;
8434 void *argp1 = 0 ;
8435 int res1 = 0 ;
8436 PyObject *swig_obj[1] ;
8437
8438 if (!args) SWIG_fail;
8439 swig_obj[0] = args;
8440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8441 if (!SWIG_IsOK(res1)) {
8442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8443 }
8444 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8452 return resultobj;
8453fail:
8454 return NULL;
d55e5bfc
RD
8455}
8456
8457
554f62e9
RD
8458SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8459 PyObject *resultobj = 0;
8460 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8461 int result;
8462 void *argp1 = 0 ;
8463 int res1 = 0 ;
8464 PyObject *swig_obj[1] ;
8465
8466 if (!args) SWIG_fail;
8467 swig_obj[0] = args;
8468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8469 if (!SWIG_IsOK(res1)) {
8470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8471 }
8472 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 resultobj = SWIG_From_int(static_cast< int >(result));
8480 return resultobj;
8481fail:
8482 return NULL;
8483}
8484
8485
8486SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8487 PyObject *obj;
8488 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8489 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8490 return SWIG_Py_Void();
8491}
8492
8493SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8494 return SWIG_Python_InitShadowInstance(args);
8495}
8496
8497SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8498 PyObject *resultobj = 0;
8499 wxWindow *arg1 = (wxWindow *) 0 ;
8500 int arg2 = (int) -1 ;
8501 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8502 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8503 wxString *arg4 = (wxString *) &arg4_defvalue ;
8504 wxStatusBar *result = 0 ;
8505 void *argp1 = 0 ;
8506 int res1 = 0 ;
8507 int val2 ;
8508 int ecode2 = 0 ;
8509 long val3 ;
8510 int ecode3 = 0 ;
8511 bool temp4 = false ;
8512 PyObject * obj0 = 0 ;
8513 PyObject * obj1 = 0 ;
8514 PyObject * obj2 = 0 ;
8515 PyObject * obj3 = 0 ;
8516 char * kwnames[] = {
8517 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8518 };
8519
8520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8522 if (!SWIG_IsOK(res1)) {
8523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8524 }
8525 arg1 = reinterpret_cast< wxWindow * >(argp1);
8526 if (obj1) {
8527 ecode2 = SWIG_AsVal_int(obj1, &val2);
8528 if (!SWIG_IsOK(ecode2)) {
8529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8530 }
8531 arg2 = static_cast< int >(val2);
8532 }
8533 if (obj2) {
8534 ecode3 = SWIG_AsVal_long(obj2, &val3);
8535 if (!SWIG_IsOK(ecode3)) {
8536 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8537 }
8538 arg3 = static_cast< long >(val3);
8539 }
8540 if (obj3) {
d55e5bfc 8541 {
554f62e9
RD
8542 arg4 = wxString_in_helper(obj3);
8543 if (arg4 == NULL) SWIG_fail;
8544 temp4 = true;
d55e5bfc 8545 }
554f62e9
RD
8546 }
8547 {
8548 if (!wxPyCheckForApp()) SWIG_fail;
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8555 {
8556 if (temp4)
8557 delete arg4;
8558 }
8559 return resultobj;
8560fail:
8561 {
8562 if (temp4)
8563 delete arg4;
8564 }
8565 return NULL;
d55e5bfc
RD
8566}
8567
8568
554f62e9
RD
8569SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8570 PyObject *resultobj = 0;
8571 wxStatusBar *result = 0 ;
8572
8573 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8574 {
8575 if (!wxPyCheckForApp()) SWIG_fail;
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 result = (wxStatusBar *)new wxStatusBar();
8578 wxPyEndAllowThreads(__tstate);
8579 if (PyErr_Occurred()) SWIG_fail;
8580 }
8581 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8582 return resultobj;
8583fail:
8584 return NULL;
8585}
8586
8587
8588SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8589 PyObject *resultobj = 0;
8590 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8591 wxWindow *arg2 = (wxWindow *) 0 ;
8592 int arg3 = (int) -1 ;
8593 long arg4 = (long) wxST_SIZEGRIP ;
8594 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8595 wxString *arg5 = (wxString *) &arg5_defvalue ;
8596 bool result;
8597 void *argp1 = 0 ;
8598 int res1 = 0 ;
8599 void *argp2 = 0 ;
8600 int res2 = 0 ;
8601 int val3 ;
8602 int ecode3 = 0 ;
8603 long val4 ;
8604 int ecode4 = 0 ;
8605 bool temp5 = false ;
8606 PyObject * obj0 = 0 ;
8607 PyObject * obj1 = 0 ;
8608 PyObject * obj2 = 0 ;
8609 PyObject * obj3 = 0 ;
8610 PyObject * obj4 = 0 ;
8611 char * kwnames[] = {
8612 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8613 };
8614
8615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8617 if (!SWIG_IsOK(res1)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8619 }
8620 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8621 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8622 if (!SWIG_IsOK(res2)) {
8623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8624 }
8625 arg2 = reinterpret_cast< wxWindow * >(argp2);
8626 if (obj2) {
8627 ecode3 = SWIG_AsVal_int(obj2, &val3);
8628 if (!SWIG_IsOK(ecode3)) {
8629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8630 }
8631 arg3 = static_cast< int >(val3);
8632 }
8633 if (obj3) {
8634 ecode4 = SWIG_AsVal_long(obj3, &val4);
8635 if (!SWIG_IsOK(ecode4)) {
8636 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8637 }
8638 arg4 = static_cast< long >(val4);
8639 }
8640 if (obj4) {
d55e5bfc 8641 {
554f62e9
RD
8642 arg5 = wxString_in_helper(obj4);
8643 if (arg5 == NULL) SWIG_fail;
8644 temp5 = true;
d55e5bfc 8645 }
554f62e9
RD
8646 }
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 {
8654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8655 }
8656 {
8657 if (temp5)
8658 delete arg5;
8659 }
8660 return resultobj;
8661fail:
8662 {
8663 if (temp5)
8664 delete arg5;
8665 }
8666 return NULL;
8667}
8668
8669
8670SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj = 0;
8672 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8673 int arg2 = (int) 1 ;
8674 void *argp1 = 0 ;
8675 int res1 = 0 ;
8676 int val2 ;
8677 int ecode2 = 0 ;
8678 PyObject * obj0 = 0 ;
8679 PyObject * obj1 = 0 ;
8680 char * kwnames[] = {
8681 (char *) "self",(char *) "number", NULL
8682 };
8683
8684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8686 if (!SWIG_IsOK(res1)) {
8687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8688 }
8689 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8690 if (obj1) {
8691 ecode2 = SWIG_AsVal_int(obj1, &val2);
8692 if (!SWIG_IsOK(ecode2)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8694 }
8695 arg2 = static_cast< int >(val2);
8696 }
8697 {
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 (arg1)->SetFieldsCount(arg2);
8700 wxPyEndAllowThreads(__tstate);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 }
8703 resultobj = SWIG_Py_Void();
8704 return resultobj;
8705fail:
8706 return NULL;
d55e5bfc
RD
8707}
8708
8709
554f62e9
RD
8710SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8711 PyObject *resultobj = 0;
8712 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8713 int result;
8714 void *argp1 = 0 ;
8715 int res1 = 0 ;
8716 PyObject *swig_obj[1] ;
8717
8718 if (!args) SWIG_fail;
8719 swig_obj[0] = args;
8720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8721 if (!SWIG_IsOK(res1)) {
8722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8723 }
8724 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8725 {
8726 PyThreadState* __tstate = wxPyBeginAllowThreads();
8727 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
8731 resultobj = SWIG_From_int(static_cast< int >(result));
8732 return resultobj;
8733fail:
8734 return NULL;
8735}
8736
8737
8738SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8739 PyObject *resultobj = 0;
8740 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8741 wxString *arg2 = 0 ;
8742 int arg3 = (int) 0 ;
8743 void *argp1 = 0 ;
8744 int res1 = 0 ;
8745 bool temp2 = false ;
8746 int val3 ;
8747 int ecode3 = 0 ;
8748 PyObject * obj0 = 0 ;
8749 PyObject * obj1 = 0 ;
8750 PyObject * obj2 = 0 ;
8751 char * kwnames[] = {
8752 (char *) "self",(char *) "text",(char *) "number", NULL
8753 };
8754
8755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8757 if (!SWIG_IsOK(res1)) {
8758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8759 }
8760 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8761 {
8762 arg2 = wxString_in_helper(obj1);
8763 if (arg2 == NULL) SWIG_fail;
8764 temp2 = true;
8765 }
8766 if (obj2) {
8767 ecode3 = SWIG_AsVal_int(obj2, &val3);
8768 if (!SWIG_IsOK(ecode3)) {
8769 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8770 }
8771 arg3 = static_cast< int >(val3);
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8776 wxPyEndAllowThreads(__tstate);
8777 if (PyErr_Occurred()) SWIG_fail;
8778 }
8779 resultobj = SWIG_Py_Void();
8780 {
8781 if (temp2)
8782 delete arg2;
8783 }
8784 return resultobj;
8785fail:
8786 {
8787 if (temp2)
8788 delete arg2;
8789 }
8790 return NULL;
8791}
8792
8793
8794SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj = 0;
8796 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8797 int arg2 = (int) 0 ;
8798 wxString result;
8799 void *argp1 = 0 ;
8800 int res1 = 0 ;
8801 int val2 ;
8802 int ecode2 = 0 ;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 char * kwnames[] = {
8806 (char *) "self",(char *) "number", NULL
8807 };
8808
8809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8811 if (!SWIG_IsOK(res1)) {
8812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8813 }
8814 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8815 if (obj1) {
8816 ecode2 = SWIG_AsVal_int(obj1, &val2);
8817 if (!SWIG_IsOK(ecode2)) {
8818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8819 }
8820 arg2 = static_cast< int >(val2);
8821 }
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 {
8829#if wxUSE_UNICODE
8830 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8831#else
8832 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8833#endif
8834 }
8835 return resultobj;
8836fail:
8837 return NULL;
8838}
8839
8840
8841SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8842 PyObject *resultobj = 0;
8843 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8844 wxString *arg2 = 0 ;
8845 int arg3 = (int) 0 ;
8846 void *argp1 = 0 ;
8847 int res1 = 0 ;
8848 bool temp2 = false ;
8849 int val3 ;
8850 int ecode3 = 0 ;
8851 PyObject * obj0 = 0 ;
8852 PyObject * obj1 = 0 ;
8853 PyObject * obj2 = 0 ;
8854 char * kwnames[] = {
8855 (char *) "self",(char *) "text",(char *) "number", NULL
8856 };
8857
8858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8860 if (!SWIG_IsOK(res1)) {
8861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8862 }
8863 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8864 {
8865 arg2 = wxString_in_helper(obj1);
8866 if (arg2 == NULL) SWIG_fail;
8867 temp2 = true;
8868 }
8869 if (obj2) {
8870 ecode3 = SWIG_AsVal_int(obj2, &val3);
8871 if (!SWIG_IsOK(ecode3)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8873 }
8874 arg3 = static_cast< int >(val3);
8875 }
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 resultobj = SWIG_Py_Void();
8883 {
8884 if (temp2)
8885 delete arg2;
8886 }
8887 return resultobj;
8888fail:
8889 {
8890 if (temp2)
8891 delete arg2;
8892 }
8893 return NULL;
8894}
8895
8896
8897SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj = 0;
8899 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8900 int arg2 = (int) 0 ;
8901 void *argp1 = 0 ;
8902 int res1 = 0 ;
8903 int val2 ;
8904 int ecode2 = 0 ;
8905 PyObject * obj0 = 0 ;
8906 PyObject * obj1 = 0 ;
8907 char * kwnames[] = {
8908 (char *) "self",(char *) "number", NULL
8909 };
8910
8911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8913 if (!SWIG_IsOK(res1)) {
8914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8915 }
8916 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8917 if (obj1) {
8918 ecode2 = SWIG_AsVal_int(obj1, &val2);
8919 if (!SWIG_IsOK(ecode2)) {
8920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8921 }
8922 arg2 = static_cast< int >(val2);
8923 }
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 (arg1)->PopStatusText(arg2);
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 resultobj = SWIG_Py_Void();
8931 return resultobj;
8932fail:
8933 return NULL;
8934}
8935
8936
8937SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj = 0;
8939 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8940 int arg2 ;
8941 int *arg3 = (int *) 0 ;
8942 void *argp1 = 0 ;
8943 int res1 = 0 ;
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
8946 char * kwnames[] = {
8947 (char *) "self",(char *) "widths", NULL
8948 };
8949
8950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8952 if (!SWIG_IsOK(res1)) {
8953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8954 }
8955 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8956 {
8957 arg2 = PyList_Size(obj1);
8958 arg3 = int_LIST_helper(obj1);
8959 if (arg3 == NULL) SWIG_fail;
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8964 wxPyEndAllowThreads(__tstate);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 }
8967 resultobj = SWIG_Py_Void();
8968 {
8969 if (arg3) delete [] arg3;
8970 }
8971 return resultobj;
8972fail:
8973 {
8974 if (arg3) delete [] arg3;
8975 }
8976 return NULL;
d55e5bfc
RD
8977}
8978
8979
554f62e9
RD
8980SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj = 0;
8982 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8983 int arg2 ;
8984 int *arg3 = (int *) 0 ;
8985 void *argp1 = 0 ;
8986 int res1 = 0 ;
8987 PyObject * obj0 = 0 ;
8988 PyObject * obj1 = 0 ;
8989 char * kwnames[] = {
8990 (char *) "self",(char *) "styles", NULL
8991 };
8992
8993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8995 if (!SWIG_IsOK(res1)) {
8996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8997 }
8998 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8999 {
9000 arg2 = PyList_Size(obj1);
9001 arg3 = int_LIST_helper(obj1);
9002 if (arg3 == NULL) SWIG_fail;
9003 }
9004 {
9005 PyThreadState* __tstate = wxPyBeginAllowThreads();
9006 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
9010 resultobj = SWIG_Py_Void();
9011 {
9012 if (arg3) delete [] arg3;
9013 }
9014 return resultobj;
9015fail:
9016 {
9017 if (arg3) delete [] arg3;
9018 }
9019 return NULL;
9020}
9021
9022
9023SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9024 PyObject *resultobj = 0;
9025 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9026 int arg2 ;
9027 wxRect result;
9028 void *argp1 = 0 ;
9029 int res1 = 0 ;
9030 int val2 ;
9031 int ecode2 = 0 ;
9032 PyObject * obj0 = 0 ;
9033 PyObject * obj1 = 0 ;
9034 char * kwnames[] = {
9035 (char *) "self",(char *) "i", NULL
9036 };
9037
9038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9040 if (!SWIG_IsOK(res1)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9042 }
9043 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9044 ecode2 = SWIG_AsVal_int(obj1, &val2);
9045 if (!SWIG_IsOK(ecode2)) {
9046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9047 }
9048 arg2 = static_cast< int >(val2);
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 result = wxStatusBar_GetFieldRect(arg1,arg2);
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9056 return resultobj;
9057fail:
9058 return NULL;
9059}
9060
9061
9062SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9063 PyObject *resultobj = 0;
9064 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9065 int arg2 ;
9066 void *argp1 = 0 ;
9067 int res1 = 0 ;
9068 int val2 ;
9069 int ecode2 = 0 ;
9070 PyObject * obj0 = 0 ;
9071 PyObject * obj1 = 0 ;
9072 char * kwnames[] = {
9073 (char *) "self",(char *) "height", NULL
9074 };
9075
9076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9078 if (!SWIG_IsOK(res1)) {
9079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9080 }
9081 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9082 ecode2 = SWIG_AsVal_int(obj1, &val2);
9083 if (!SWIG_IsOK(ecode2)) {
9084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9085 }
9086 arg2 = static_cast< int >(val2);
9087 {
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 (arg1)->SetMinHeight(arg2);
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 resultobj = SWIG_Py_Void();
9094 return resultobj;
9095fail:
9096 return NULL;
d55e5bfc
RD
9097}
9098
9099
554f62e9
RD
9100SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9101 PyObject *resultobj = 0;
9102 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9103 int result;
9104 void *argp1 = 0 ;
9105 int res1 = 0 ;
9106 PyObject *swig_obj[1] ;
9107
9108 if (!args) SWIG_fail;
9109 swig_obj[0] = args;
9110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9111 if (!SWIG_IsOK(res1)) {
9112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9113 }
9114 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9115 {
9116 PyThreadState* __tstate = wxPyBeginAllowThreads();
9117 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9118 wxPyEndAllowThreads(__tstate);
9119 if (PyErr_Occurred()) SWIG_fail;
9120 }
9121 resultobj = SWIG_From_int(static_cast< int >(result));
9122 return resultobj;
9123fail:
9124 return NULL;
d55e5bfc
RD
9125}
9126
9127
554f62e9
RD
9128SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9129 PyObject *resultobj = 0;
9130 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9131 int result;
9132 void *argp1 = 0 ;
9133 int res1 = 0 ;
9134 PyObject *swig_obj[1] ;
9135
9136 if (!args) SWIG_fail;
9137 swig_obj[0] = args;
9138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9139 if (!SWIG_IsOK(res1)) {
9140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9141 }
9142 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 resultobj = SWIG_From_int(static_cast< int >(result));
9150 return resultobj;
9151fail:
9152 return NULL;
9153}
9154
9155
9156SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj = 0;
9158 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9159 SwigValueWrapper<wxVisualAttributes > result;
9160 int val1 ;
9161 int ecode1 = 0 ;
9162 PyObject * obj0 = 0 ;
9163 char * kwnames[] = {
9164 (char *) "variant", NULL
9165 };
9166
9167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9168 if (obj0) {
9169 ecode1 = SWIG_AsVal_int(obj0, &val1);
9170 if (!SWIG_IsOK(ecode1)) {
9171 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9172 }
9173 arg1 = static_cast< wxWindowVariant >(val1);
9174 }
9175 {
9176 if (!wxPyCheckForApp()) SWIG_fail;
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9183 return resultobj;
9184fail:
9185 return NULL;
d55e5bfc
RD
9186}
9187
9188
554f62e9
RD
9189SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9190 PyObject *obj;
9191 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9192 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9193 return SWIG_Py_Void();
d55e5bfc
RD
9194}
9195
554f62e9
RD
9196SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9197 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
9198}
9199
554f62e9
RD
9200SWIGINTERN int SplitterNameStr_set(PyObject *) {
9201 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9202 return 1;
d55e5bfc
RD
9203}
9204
9205
554f62e9
RD
9206SWIGINTERN PyObject *SplitterNameStr_get(void) {
9207 PyObject *pyobj = 0;
9208
9209 {
9210#if wxUSE_UNICODE
9211 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9212#else
9213 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9214#endif
9215 }
9216 return pyobj;
9217}
9218
9219
9220SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9221 PyObject *resultobj = 0;
9222 wxWindow *arg1 = (wxWindow *) 0 ;
9223 int arg2 = (int) -1 ;
9224 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9225 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9226 wxSize const &arg4_defvalue = wxDefaultSize ;
9227 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9228 long arg5 = (long) wxSP_3D ;
9229 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9230 wxString *arg6 = (wxString *) &arg6_defvalue ;
9231 wxSplitterWindow *result = 0 ;
9232 void *argp1 = 0 ;
9233 int res1 = 0 ;
9234 int val2 ;
9235 int ecode2 = 0 ;
9236 wxPoint temp3 ;
9237 wxSize temp4 ;
9238 long val5 ;
9239 int ecode5 = 0 ;
9240 bool temp6 = false ;
9241 PyObject * obj0 = 0 ;
9242 PyObject * obj1 = 0 ;
9243 PyObject * obj2 = 0 ;
9244 PyObject * obj3 = 0 ;
9245 PyObject * obj4 = 0 ;
9246 PyObject * obj5 = 0 ;
9247 char * kwnames[] = {
9248 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9249 };
9250
9251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9253 if (!SWIG_IsOK(res1)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9255 }
9256 arg1 = reinterpret_cast< wxWindow * >(argp1);
9257 if (obj1) {
9258 ecode2 = SWIG_AsVal_int(obj1, &val2);
9259 if (!SWIG_IsOK(ecode2)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9261 }
9262 arg2 = static_cast< int >(val2);
9263 }
9264 if (obj2) {
093d3ff1 9265 {
554f62e9
RD
9266 arg3 = &temp3;
9267 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 9268 }
554f62e9
RD
9269 }
9270 if (obj3) {
d55e5bfc 9271 {
554f62e9
RD
9272 arg4 = &temp4;
9273 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9274 }
554f62e9
RD
9275 }
9276 if (obj4) {
9277 ecode5 = SWIG_AsVal_long(obj4, &val5);
9278 if (!SWIG_IsOK(ecode5)) {
9279 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9280 }
9281 arg5 = static_cast< long >(val5);
9282 }
9283 if (obj5) {
093d3ff1 9284 {
554f62e9
RD
9285 arg6 = wxString_in_helper(obj5);
9286 if (arg6 == NULL) SWIG_fail;
9287 temp6 = true;
093d3ff1 9288 }
554f62e9
RD
9289 }
9290 {
9291 if (!wxPyCheckForApp()) SWIG_fail;
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9298 {
9299 if (temp6)
9300 delete arg6;
9301 }
9302 return resultobj;
9303fail:
9304 {
9305 if (temp6)
9306 delete arg6;
9307 }
9308 return NULL;
d55e5bfc
RD
9309}
9310
9311
554f62e9
RD
9312SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9313 PyObject *resultobj = 0;
9314 wxSplitterWindow *result = 0 ;
9315
9316 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9317 {
9318 if (!wxPyCheckForApp()) SWIG_fail;
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 result = (wxSplitterWindow *)new wxSplitterWindow();
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9325 return resultobj;
9326fail:
9327 return NULL;
9328}
9329
9330
9331SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj = 0;
9333 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9334 wxWindow *arg2 = (wxWindow *) 0 ;
9335 int arg3 = (int) -1 ;
9336 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9337 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9338 wxSize const &arg5_defvalue = wxDefaultSize ;
9339 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9340 long arg6 = (long) wxSP_3D ;
9341 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9342 wxString *arg7 = (wxString *) &arg7_defvalue ;
9343 bool result;
9344 void *argp1 = 0 ;
9345 int res1 = 0 ;
9346 void *argp2 = 0 ;
9347 int res2 = 0 ;
9348 int val3 ;
9349 int ecode3 = 0 ;
9350 wxPoint temp4 ;
9351 wxSize temp5 ;
9352 long val6 ;
9353 int ecode6 = 0 ;
9354 bool temp7 = false ;
9355 PyObject * obj0 = 0 ;
9356 PyObject * obj1 = 0 ;
9357 PyObject * obj2 = 0 ;
9358 PyObject * obj3 = 0 ;
9359 PyObject * obj4 = 0 ;
9360 PyObject * obj5 = 0 ;
9361 PyObject * obj6 = 0 ;
9362 char * kwnames[] = {
9363 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9364 };
9365
9366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9368 if (!SWIG_IsOK(res1)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9370 }
9371 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9372 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9373 if (!SWIG_IsOK(res2)) {
9374 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9375 }
9376 arg2 = reinterpret_cast< wxWindow * >(argp2);
9377 if (obj2) {
9378 ecode3 = SWIG_AsVal_int(obj2, &val3);
9379 if (!SWIG_IsOK(ecode3)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9381 }
9382 arg3 = static_cast< int >(val3);
9383 }
9384 if (obj3) {
d55e5bfc 9385 {
554f62e9
RD
9386 arg4 = &temp4;
9387 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9388 }
554f62e9
RD
9389 }
9390 if (obj4) {
d55e5bfc 9391 {
554f62e9
RD
9392 arg5 = &temp5;
9393 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9394 }
554f62e9
RD
9395 }
9396 if (obj5) {
9397 ecode6 = SWIG_AsVal_long(obj5, &val6);
9398 if (!SWIG_IsOK(ecode6)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9400 }
9401 arg6 = static_cast< long >(val6);
9402 }
9403 if (obj6) {
d55e5bfc 9404 {
554f62e9
RD
9405 arg7 = wxString_in_helper(obj6);
9406 if (arg7 == NULL) SWIG_fail;
9407 temp7 = true;
d55e5bfc 9408 }
554f62e9
RD
9409 }
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 {
9417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9418 }
9419 {
9420 if (temp7)
9421 delete arg7;
9422 }
9423 return resultobj;
9424fail:
9425 {
9426 if (temp7)
9427 delete arg7;
9428 }
9429 return NULL;
d55e5bfc
RD
9430}
9431
9432
554f62e9
RD
9433SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9434 PyObject *resultobj = 0;
9435 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9436 wxWindow *result = 0 ;
9437 void *argp1 = 0 ;
9438 int res1 = 0 ;
9439 PyObject *swig_obj[1] ;
9440
9441 if (!args) SWIG_fail;
9442 swig_obj[0] = args;
9443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9444 if (!SWIG_IsOK(res1)) {
9445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9446 }
9447 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9448 {
9449 PyThreadState* __tstate = wxPyBeginAllowThreads();
9450 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 {
9455 resultobj = wxPyMake_wxObject(result, 0);
9456 }
9457 return resultobj;
9458fail:
9459 return NULL;
d55e5bfc
RD
9460}
9461
9462
554f62e9
RD
9463SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9464 PyObject *resultobj = 0;
9465 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9466 wxWindow *result = 0 ;
9467 void *argp1 = 0 ;
9468 int res1 = 0 ;
9469 PyObject *swig_obj[1] ;
9470
9471 if (!args) SWIG_fail;
9472 swig_obj[0] = args;
9473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9474 if (!SWIG_IsOK(res1)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9476 }
9477 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 {
9485 resultobj = wxPyMake_wxObject(result, 0);
9486 }
9487 return resultobj;
9488fail:
9489 return NULL;
9490}
9491
9492
9493SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj = 0;
9495 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9496 int arg2 ;
9497 void *argp1 = 0 ;
9498 int res1 = 0 ;
9499 int val2 ;
9500 int ecode2 = 0 ;
9501 PyObject * obj0 = 0 ;
9502 PyObject * obj1 = 0 ;
9503 char * kwnames[] = {
9504 (char *) "self",(char *) "mode", NULL
9505 };
9506
9507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9509 if (!SWIG_IsOK(res1)) {
9510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9511 }
9512 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9513 ecode2 = SWIG_AsVal_int(obj1, &val2);
9514 if (!SWIG_IsOK(ecode2)) {
9515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9516 }
9517 arg2 = static_cast< int >(val2);
9518 {
9519 PyThreadState* __tstate = wxPyBeginAllowThreads();
9520 (arg1)->SetSplitMode(arg2);
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 resultobj = SWIG_Py_Void();
9525 return resultobj;
9526fail:
9527 return NULL;
d55e5bfc
RD
9528}
9529
9530
554f62e9
RD
9531SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9532 PyObject *resultobj = 0;
9533 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9534 wxSplitMode result;
9535 void *argp1 = 0 ;
9536 int res1 = 0 ;
9537 PyObject *swig_obj[1] ;
9538
9539 if (!args) SWIG_fail;
9540 swig_obj[0] = args;
9541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9542 if (!SWIG_IsOK(res1)) {
9543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9544 }
9545 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 resultobj = SWIG_From_int(static_cast< int >(result));
9553 return resultobj;
9554fail:
9555 return NULL;
9556}
9557
9558
9559SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj = 0;
9561 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9562 wxWindow *arg2 = (wxWindow *) 0 ;
9563 void *argp1 = 0 ;
9564 int res1 = 0 ;
9565 void *argp2 = 0 ;
9566 int res2 = 0 ;
9567 PyObject * obj0 = 0 ;
9568 PyObject * obj1 = 0 ;
9569 char * kwnames[] = {
9570 (char *) "self",(char *) "window", NULL
9571 };
9572
9573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9575 if (!SWIG_IsOK(res1)) {
9576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9577 }
9578 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9580 if (!SWIG_IsOK(res2)) {
9581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9582 }
9583 arg2 = reinterpret_cast< wxWindow * >(argp2);
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 (arg1)->Initialize(arg2);
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
9590 resultobj = SWIG_Py_Void();
9591 return resultobj;
9592fail:
9593 return NULL;
9594}
9595
9596
9597SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9598 PyObject *resultobj = 0;
9599 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9600 wxWindow *arg2 = (wxWindow *) 0 ;
9601 wxWindow *arg3 = (wxWindow *) 0 ;
9602 int arg4 = (int) 0 ;
9603 bool result;
9604 void *argp1 = 0 ;
9605 int res1 = 0 ;
9606 void *argp2 = 0 ;
9607 int res2 = 0 ;
9608 void *argp3 = 0 ;
9609 int res3 = 0 ;
9610 int val4 ;
9611 int ecode4 = 0 ;
9612 PyObject * obj0 = 0 ;
9613 PyObject * obj1 = 0 ;
9614 PyObject * obj2 = 0 ;
9615 PyObject * obj3 = 0 ;
9616 char * kwnames[] = {
9617 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9618 };
9619
9620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9622 if (!SWIG_IsOK(res1)) {
9623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9624 }
9625 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9626 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9627 if (!SWIG_IsOK(res2)) {
9628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9629 }
9630 arg2 = reinterpret_cast< wxWindow * >(argp2);
9631 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9632 if (!SWIG_IsOK(res3)) {
9633 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9634 }
9635 arg3 = reinterpret_cast< wxWindow * >(argp3);
9636 if (obj3) {
9637 ecode4 = SWIG_AsVal_int(obj3, &val4);
9638 if (!SWIG_IsOK(ecode4)) {
9639 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9640 }
9641 arg4 = static_cast< int >(val4);
9642 }
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9646 wxPyEndAllowThreads(__tstate);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 {
9650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9651 }
9652 return resultobj;
9653fail:
9654 return NULL;
9655}
9656
9657
9658SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj = 0;
9660 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9661 wxWindow *arg2 = (wxWindow *) 0 ;
9662 wxWindow *arg3 = (wxWindow *) 0 ;
9663 int arg4 = (int) 0 ;
9664 bool result;
9665 void *argp1 = 0 ;
9666 int res1 = 0 ;
9667 void *argp2 = 0 ;
9668 int res2 = 0 ;
9669 void *argp3 = 0 ;
9670 int res3 = 0 ;
9671 int val4 ;
9672 int ecode4 = 0 ;
9673 PyObject * obj0 = 0 ;
9674 PyObject * obj1 = 0 ;
9675 PyObject * obj2 = 0 ;
9676 PyObject * obj3 = 0 ;
9677 char * kwnames[] = {
9678 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9679 };
9680
9681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9683 if (!SWIG_IsOK(res1)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9685 }
9686 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9687 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9688 if (!SWIG_IsOK(res2)) {
9689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9690 }
9691 arg2 = reinterpret_cast< wxWindow * >(argp2);
9692 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9693 if (!SWIG_IsOK(res3)) {
9694 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9695 }
9696 arg3 = reinterpret_cast< wxWindow * >(argp3);
9697 if (obj3) {
9698 ecode4 = SWIG_AsVal_int(obj3, &val4);
9699 if (!SWIG_IsOK(ecode4)) {
9700 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9701 }
9702 arg4 = static_cast< int >(val4);
9703 }
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 {
9711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9712 }
9713 return resultobj;
9714fail:
9715 return NULL;
9716}
9717
9718
9719SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj = 0;
9721 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9722 wxWindow *arg2 = (wxWindow *) NULL ;
9723 bool result;
9724 void *argp1 = 0 ;
9725 int res1 = 0 ;
9726 void *argp2 = 0 ;
9727 int res2 = 0 ;
9728 PyObject * obj0 = 0 ;
9729 PyObject * obj1 = 0 ;
9730 char * kwnames[] = {
9731 (char *) "self",(char *) "toRemove", NULL
9732 };
9733
9734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9736 if (!SWIG_IsOK(res1)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9738 }
9739 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9740 if (obj1) {
9741 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9742 if (!SWIG_IsOK(res2)) {
9743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 9744 }
554f62e9
RD
9745 arg2 = reinterpret_cast< wxWindow * >(argp2);
9746 }
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (bool)(arg1)->Unsplit(arg2);
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 {
9754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9755 }
9756 return resultobj;
9757fail:
9758 return NULL;
9759}
9760
9761
9762SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9763 PyObject *resultobj = 0;
9764 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9765 wxWindow *arg2 = (wxWindow *) 0 ;
9766 wxWindow *arg3 = (wxWindow *) 0 ;
9767 bool result;
9768 void *argp1 = 0 ;
9769 int res1 = 0 ;
9770 void *argp2 = 0 ;
9771 int res2 = 0 ;
9772 void *argp3 = 0 ;
9773 int res3 = 0 ;
9774 PyObject * obj0 = 0 ;
9775 PyObject * obj1 = 0 ;
9776 PyObject * obj2 = 0 ;
9777 char * kwnames[] = {
9778 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9779 };
9780
9781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9783 if (!SWIG_IsOK(res1)) {
9784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9785 }
9786 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9787 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9788 if (!SWIG_IsOK(res2)) {
9789 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9790 }
9791 arg2 = reinterpret_cast< wxWindow * >(argp2);
9792 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9793 if (!SWIG_IsOK(res3)) {
9794 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9795 }
9796 arg3 = reinterpret_cast< wxWindow * >(argp3);
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 {
9804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9805 }
9806 return resultobj;
9807fail:
9808 return NULL;
d55e5bfc
RD
9809}
9810
9811
554f62e9
RD
9812SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9813 PyObject *resultobj = 0;
9814 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9815 void *argp1 = 0 ;
9816 int res1 = 0 ;
9817 PyObject *swig_obj[1] ;
9818
9819 if (!args) SWIG_fail;
9820 swig_obj[0] = args;
9821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9822 if (!SWIG_IsOK(res1)) {
9823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9824 }
9825 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 (arg1)->UpdateSize();
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = SWIG_Py_Void();
9833 return resultobj;
9834fail:
9835 return NULL;
f20a2e1f
RD
9836}
9837
9838
554f62e9
RD
9839SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9840 PyObject *resultobj = 0;
9841 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9842 bool result;
9843 void *argp1 = 0 ;
9844 int res1 = 0 ;
9845 PyObject *swig_obj[1] ;
9846
9847 if (!args) SWIG_fail;
9848 swig_obj[0] = args;
9849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9850 if (!SWIG_IsOK(res1)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9852 }
9853 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 {
9861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9862 }
9863 return resultobj;
9864fail:
9865 return NULL;
9866}
9867
9868
9869SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj = 0;
9871 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9872 int arg2 ;
9873 void *argp1 = 0 ;
9874 int res1 = 0 ;
9875 int val2 ;
9876 int ecode2 = 0 ;
9877 PyObject * obj0 = 0 ;
9878 PyObject * obj1 = 0 ;
9879 char * kwnames[] = {
9880 (char *) "self",(char *) "width", NULL
9881 };
9882
9883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9885 if (!SWIG_IsOK(res1)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9887 }
9888 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9889 ecode2 = SWIG_AsVal_int(obj1, &val2);
9890 if (!SWIG_IsOK(ecode2)) {
9891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9892 }
9893 arg2 = static_cast< int >(val2);
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 (arg1)->SetSashSize(arg2);
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
9900 resultobj = SWIG_Py_Void();
9901 return resultobj;
9902fail:
9903 return NULL;
9904}
9905
9906
9907SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9908 PyObject *resultobj = 0;
9909 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9910 int arg2 ;
9911 void *argp1 = 0 ;
9912 int res1 = 0 ;
9913 int val2 ;
9914 int ecode2 = 0 ;
9915 PyObject * obj0 = 0 ;
9916 PyObject * obj1 = 0 ;
9917 char * kwnames[] = {
9918 (char *) "self",(char *) "width", NULL
9919 };
9920
9921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9923 if (!SWIG_IsOK(res1)) {
9924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9925 }
9926 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9927 ecode2 = SWIG_AsVal_int(obj1, &val2);
9928 if (!SWIG_IsOK(ecode2)) {
9929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9930 }
9931 arg2 = static_cast< int >(val2);
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 (arg1)->SetBorderSize(arg2);
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 resultobj = SWIG_Py_Void();
9939 return resultobj;
9940fail:
9941 return NULL;
d55e5bfc
RD
9942}
9943
9944
554f62e9
RD
9945SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9946 PyObject *resultobj = 0;
9947 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9948 int result;
9949 void *argp1 = 0 ;
9950 int res1 = 0 ;
9951 PyObject *swig_obj[1] ;
9952
9953 if (!args) SWIG_fail;
9954 swig_obj[0] = args;
9955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9956 if (!SWIG_IsOK(res1)) {
9957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9958 }
9959 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 resultobj = SWIG_From_int(static_cast< int >(result));
9967 return resultobj;
9968fail:
9969 return NULL;
d55e5bfc
RD
9970}
9971
9972
554f62e9
RD
9973SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9974 PyObject *resultobj = 0;
9975 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9976 int result;
9977 void *argp1 = 0 ;
9978 int res1 = 0 ;
9979 PyObject *swig_obj[1] ;
9980
9981 if (!args) SWIG_fail;
9982 swig_obj[0] = args;
9983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9984 if (!SWIG_IsOK(res1)) {
9985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9986 }
9987 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 resultobj = SWIG_From_int(static_cast< int >(result));
9995 return resultobj;
9996fail:
9997 return NULL;
9998}
9999
10000
10001SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj = 0;
10003 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10004 int arg2 ;
10005 bool arg3 = (bool) true ;
10006 void *argp1 = 0 ;
10007 int res1 = 0 ;
10008 int val2 ;
10009 int ecode2 = 0 ;
10010 bool val3 ;
10011 int ecode3 = 0 ;
10012 PyObject * obj0 = 0 ;
10013 PyObject * obj1 = 0 ;
10014 PyObject * obj2 = 0 ;
10015 char * kwnames[] = {
10016 (char *) "self",(char *) "position",(char *) "redraw", NULL
10017 };
10018
10019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10021 if (!SWIG_IsOK(res1)) {
10022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10023 }
10024 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10025 ecode2 = SWIG_AsVal_int(obj1, &val2);
10026 if (!SWIG_IsOK(ecode2)) {
10027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10028 }
10029 arg2 = static_cast< int >(val2);
10030 if (obj2) {
10031 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10032 if (!SWIG_IsOK(ecode3)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10034 }
10035 arg3 = static_cast< bool >(val3);
10036 }
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 (arg1)->SetSashPosition(arg2,arg3);
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 resultobj = SWIG_Py_Void();
10044 return resultobj;
10045fail:
10046 return NULL;
d55e5bfc
RD
10047}
10048
10049
554f62e9
RD
10050SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10051 PyObject *resultobj = 0;
10052 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10053 int result;
10054 void *argp1 = 0 ;
10055 int res1 = 0 ;
10056 PyObject *swig_obj[1] ;
10057
10058 if (!args) SWIG_fail;
10059 swig_obj[0] = args;
10060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10061 if (!SWIG_IsOK(res1)) {
10062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10063 }
10064 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 resultobj = SWIG_From_int(static_cast< int >(result));
10072 return resultobj;
10073fail:
10074 return NULL;
10075}
10076
10077
10078SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj = 0;
10080 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10081 double arg2 ;
10082 void *argp1 = 0 ;
10083 int res1 = 0 ;
10084 double val2 ;
10085 int ecode2 = 0 ;
10086 PyObject * obj0 = 0 ;
10087 PyObject * obj1 = 0 ;
10088 char * kwnames[] = {
10089 (char *) "self",(char *) "gravity", NULL
10090 };
10091
10092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10094 if (!SWIG_IsOK(res1)) {
10095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10096 }
10097 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10098 ecode2 = SWIG_AsVal_double(obj1, &val2);
10099 if (!SWIG_IsOK(ecode2)) {
10100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10101 }
10102 arg2 = static_cast< double >(val2);
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 (arg1)->SetSashGravity(arg2);
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 resultobj = SWIG_Py_Void();
10110 return resultobj;
10111fail:
10112 return NULL;
d55e5bfc
RD
10113}
10114
10115
554f62e9
RD
10116SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10117 PyObject *resultobj = 0;
10118 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10119 double result;
10120 void *argp1 = 0 ;
10121 int res1 = 0 ;
10122 PyObject *swig_obj[1] ;
10123
10124 if (!args) SWIG_fail;
10125 swig_obj[0] = args;
10126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10127 if (!SWIG_IsOK(res1)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10129 }
10130 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 resultobj = SWIG_From_double(static_cast< double >(result));
10138 return resultobj;
10139fail:
10140 return NULL;
10141}
10142
10143
10144SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj = 0;
10146 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10147 int arg2 ;
10148 void *argp1 = 0 ;
10149 int res1 = 0 ;
10150 int val2 ;
10151 int ecode2 = 0 ;
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 char * kwnames[] = {
10155 (char *) "self",(char *) "min", NULL
10156 };
10157
10158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10160 if (!SWIG_IsOK(res1)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10162 }
10163 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10164 ecode2 = SWIG_AsVal_int(obj1, &val2);
10165 if (!SWIG_IsOK(ecode2)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10167 }
10168 arg2 = static_cast< int >(val2);
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 (arg1)->SetMinimumPaneSize(arg2);
10172 wxPyEndAllowThreads(__tstate);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 }
10175 resultobj = SWIG_Py_Void();
10176 return resultobj;
10177fail:
10178 return NULL;
d55e5bfc
RD
10179}
10180
10181
554f62e9
RD
10182SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10183 PyObject *resultobj = 0;
10184 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10185 int result;
10186 void *argp1 = 0 ;
10187 int res1 = 0 ;
10188 PyObject *swig_obj[1] ;
10189
10190 if (!args) SWIG_fail;
10191 swig_obj[0] = args;
10192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10193 if (!SWIG_IsOK(res1)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10195 }
10196 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10197 {
10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
10199 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 resultobj = SWIG_From_int(static_cast< int >(result));
10204 return resultobj;
10205fail:
10206 return NULL;
10207}
10208
10209
10210SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10211 PyObject *resultobj = 0;
10212 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10213 int arg2 ;
10214 int arg3 ;
10215 int arg4 = (int) 5 ;
10216 bool result;
10217 void *argp1 = 0 ;
10218 int res1 = 0 ;
10219 int val2 ;
10220 int ecode2 = 0 ;
10221 int val3 ;
10222 int ecode3 = 0 ;
10223 int val4 ;
10224 int ecode4 = 0 ;
10225 PyObject * obj0 = 0 ;
10226 PyObject * obj1 = 0 ;
10227 PyObject * obj2 = 0 ;
10228 PyObject * obj3 = 0 ;
10229 char * kwnames[] = {
10230 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10231 };
10232
10233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10235 if (!SWIG_IsOK(res1)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10237 }
10238 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10239 ecode2 = SWIG_AsVal_int(obj1, &val2);
10240 if (!SWIG_IsOK(ecode2)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10242 }
10243 arg2 = static_cast< int >(val2);
10244 ecode3 = SWIG_AsVal_int(obj2, &val3);
10245 if (!SWIG_IsOK(ecode3)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10247 }
10248 arg3 = static_cast< int >(val3);
10249 if (obj3) {
10250 ecode4 = SWIG_AsVal_int(obj3, &val4);
10251 if (!SWIG_IsOK(ecode4)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10253 }
10254 arg4 = static_cast< int >(val4);
10255 }
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 {
10263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10264 }
10265 return resultobj;
10266fail:
10267 return NULL;
b1fcee84
RD
10268}
10269
10270
554f62e9
RD
10271SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10272 PyObject *resultobj = 0;
10273 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10274 void *argp1 = 0 ;
10275 int res1 = 0 ;
10276 PyObject *swig_obj[1] ;
10277
10278 if (!args) SWIG_fail;
10279 swig_obj[0] = args;
10280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10281 if (!SWIG_IsOK(res1)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10283 }
10284 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 (arg1)->SizeWindows();
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 }
10291 resultobj = SWIG_Py_Void();
10292 return resultobj;
10293fail:
10294 return NULL;
10295}
10296
10297
10298SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj = 0;
10300 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10301 bool arg2 ;
10302 void *argp1 = 0 ;
10303 int res1 = 0 ;
10304 bool val2 ;
10305 int ecode2 = 0 ;
10306 PyObject * obj0 = 0 ;
10307 PyObject * obj1 = 0 ;
10308 char * kwnames[] = {
10309 (char *) "self",(char *) "needUpdating", NULL
10310 };
10311
10312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10314 if (!SWIG_IsOK(res1)) {
10315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10316 }
10317 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10318 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10319 if (!SWIG_IsOK(ecode2)) {
10320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10321 }
10322 arg2 = static_cast< bool >(val2);
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 (arg1)->SetNeedUpdating(arg2);
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 resultobj = SWIG_Py_Void();
10330 return resultobj;
10331fail:
10332 return NULL;
b1fcee84
RD
10333}
10334
10335
554f62e9
RD
10336SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10337 PyObject *resultobj = 0;
10338 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10339 bool result;
10340 void *argp1 = 0 ;
10341 int res1 = 0 ;
10342 PyObject *swig_obj[1] ;
10343
10344 if (!args) SWIG_fail;
10345 swig_obj[0] = args;
10346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10347 if (!SWIG_IsOK(res1)) {
10348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10349 }
10350 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 {
10358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10359 }
10360 return resultobj;
10361fail:
10362 return NULL;
b1fcee84
RD
10363}
10364
10365
554f62e9
RD
10366SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10367 PyObject *resultobj = 0;
10368 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10369 SwigValueWrapper<wxVisualAttributes > result;
10370 int val1 ;
10371 int ecode1 = 0 ;
10372 PyObject * obj0 = 0 ;
10373 char * kwnames[] = {
10374 (char *) "variant", NULL
10375 };
10376
10377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10378 if (obj0) {
10379 ecode1 = SWIG_AsVal_int(obj0, &val1);
10380 if (!SWIG_IsOK(ecode1)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10382 }
10383 arg1 = static_cast< wxWindowVariant >(val1);
10384 }
10385 {
10386 if (!wxPyCheckForApp()) SWIG_fail;
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10393 return resultobj;
10394fail:
10395 return NULL;
b1fcee84
RD
10396}
10397
10398
554f62e9
RD
10399SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10400 PyObject *obj;
10401 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10402 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10403 return SWIG_Py_Void();
d55e5bfc
RD
10404}
10405
554f62e9
RD
10406SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10407 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10408}
10409
554f62e9
RD
10410SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10411 PyObject *resultobj = 0;
10412 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10413 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10414 wxSplitterEvent *result = 0 ;
10415 int val1 ;
10416 int ecode1 = 0 ;
10417 void *argp2 = 0 ;
10418 int res2 = 0 ;
10419 PyObject * obj0 = 0 ;
10420 PyObject * obj1 = 0 ;
10421 char * kwnames[] = {
10422 (char *) "type",(char *) "splitter", NULL
10423 };
10424
10425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10426 if (obj0) {
10427 ecode1 = SWIG_AsVal_int(obj0, &val1);
10428 if (!SWIG_IsOK(ecode1)) {
10429 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10430 }
10431 arg1 = static_cast< wxEventType >(val1);
10432 }
10433 if (obj1) {
10434 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10435 if (!SWIG_IsOK(res2)) {
10436 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
62d32a5f 10437 }
554f62e9
RD
10438 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10439 }
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10447 return resultobj;
10448fail:
10449 return NULL;
10450}
10451
10452
10453SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10454 PyObject *resultobj = 0;
10455 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10456 int arg2 ;
10457 void *argp1 = 0 ;
10458 int res1 = 0 ;
10459 int val2 ;
10460 int ecode2 = 0 ;
10461 PyObject * obj0 = 0 ;
10462 PyObject * obj1 = 0 ;
10463 char * kwnames[] = {
10464 (char *) "self",(char *) "pos", NULL
10465 };
10466
10467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10469 if (!SWIG_IsOK(res1)) {
10470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10471 }
10472 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10473 ecode2 = SWIG_AsVal_int(obj1, &val2);
10474 if (!SWIG_IsOK(ecode2)) {
10475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10476 }
10477 arg2 = static_cast< int >(val2);
10478 {
10479 PyThreadState* __tstate = wxPyBeginAllowThreads();
10480 (arg1)->SetSashPosition(arg2);
10481 wxPyEndAllowThreads(__tstate);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 }
10484 resultobj = SWIG_Py_Void();
10485 return resultobj;
10486fail:
10487 return NULL;
62d32a5f
RD
10488}
10489
10490
554f62e9
RD
10491SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10492 PyObject *resultobj = 0;
10493 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10494 int result;
10495 void *argp1 = 0 ;
10496 int res1 = 0 ;
10497 PyObject *swig_obj[1] ;
10498
10499 if (!args) SWIG_fail;
10500 swig_obj[0] = args;
10501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10502 if (!SWIG_IsOK(res1)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10504 }
10505 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10506 {
10507 PyThreadState* __tstate = wxPyBeginAllowThreads();
10508 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 resultobj = SWIG_From_int(static_cast< int >(result));
10513 return resultobj;
10514fail:
10515 return NULL;
d55e5bfc
RD
10516}
10517
10518
554f62e9
RD
10519SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10520 PyObject *resultobj = 0;
10521 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10522 wxWindow *result = 0 ;
10523 void *argp1 = 0 ;
10524 int res1 = 0 ;
10525 PyObject *swig_obj[1] ;
10526
10527 if (!args) SWIG_fail;
10528 swig_obj[0] = args;
10529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10530 if (!SWIG_IsOK(res1)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10532 }
10533 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10537 wxPyEndAllowThreads(__tstate);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
10540 {
10541 resultobj = wxPyMake_wxObject(result, 0);
10542 }
10543 return resultobj;
10544fail:
10545 return NULL;
d55e5bfc
RD
10546}
10547
10548
554f62e9
RD
10549SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10550 PyObject *resultobj = 0;
10551 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10552 int result;
10553 void *argp1 = 0 ;
10554 int res1 = 0 ;
10555 PyObject *swig_obj[1] ;
10556
10557 if (!args) SWIG_fail;
10558 swig_obj[0] = args;
10559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10560 if (!SWIG_IsOK(res1)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10562 }
10563 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 resultobj = SWIG_From_int(static_cast< int >(result));
10571 return resultobj;
10572fail:
10573 return NULL;
d55e5bfc
RD
10574}
10575
10576
554f62e9
RD
10577SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10578 PyObject *resultobj = 0;
10579 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10580 int result;
10581 void *argp1 = 0 ;
10582 int res1 = 0 ;
10583 PyObject *swig_obj[1] ;
10584
10585 if (!args) SWIG_fail;
10586 swig_obj[0] = args;
10587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10588 if (!SWIG_IsOK(res1)) {
10589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10590 }
10591 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10595 wxPyEndAllowThreads(__tstate);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 resultobj = SWIG_From_int(static_cast< int >(result));
10599 return resultobj;
10600fail:
10601 return NULL;
f20a2e1f
RD
10602}
10603
10604
554f62e9
RD
10605SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10606 PyObject *obj;
10607 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10608 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10609 return SWIG_Py_Void();
d55e5bfc
RD
10610}
10611
554f62e9
RD
10612SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10613 return SWIG_Python_InitShadowInstance(args);
10614}
d55e5bfc 10615
554f62e9
RD
10616SWIGINTERN int SashNameStr_set(PyObject *) {
10617 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10618 return 1;
d55e5bfc
RD
10619}
10620
10621
554f62e9
RD
10622SWIGINTERN PyObject *SashNameStr_get(void) {
10623 PyObject *pyobj = 0;
10624
10625 {
10626#if wxUSE_UNICODE
10627 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10628#else
10629 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10630#endif
10631 }
10632 return pyobj;
d55e5bfc
RD
10633}
10634
10635
554f62e9
RD
10636SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10637 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10638 return 1;
d55e5bfc
RD
10639}
10640
10641
554f62e9
RD
10642SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10643 PyObject *pyobj = 0;
10644
10645 {
10646#if wxUSE_UNICODE
10647 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10648#else
10649 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10650#endif
10651 }
10652 return pyobj;
10653}
10654
10655
10656SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj = 0;
10658 wxWindow *arg1 = (wxWindow *) 0 ;
10659 int arg2 = (int) -1 ;
10660 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10661 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10662 wxSize const &arg4_defvalue = wxDefaultSize ;
10663 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10664 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10665 wxString const &arg6_defvalue = wxPySashNameStr ;
10666 wxString *arg6 = (wxString *) &arg6_defvalue ;
10667 wxSashWindow *result = 0 ;
10668 void *argp1 = 0 ;
10669 int res1 = 0 ;
10670 int val2 ;
10671 int ecode2 = 0 ;
10672 wxPoint temp3 ;
10673 wxSize temp4 ;
10674 long val5 ;
10675 int ecode5 = 0 ;
10676 bool temp6 = false ;
10677 PyObject * obj0 = 0 ;
10678 PyObject * obj1 = 0 ;
10679 PyObject * obj2 = 0 ;
10680 PyObject * obj3 = 0 ;
10681 PyObject * obj4 = 0 ;
10682 PyObject * obj5 = 0 ;
10683 char * kwnames[] = {
10684 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10685 };
10686
10687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10689 if (!SWIG_IsOK(res1)) {
10690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10691 }
10692 arg1 = reinterpret_cast< wxWindow * >(argp1);
10693 if (obj1) {
10694 ecode2 = SWIG_AsVal_int(obj1, &val2);
10695 if (!SWIG_IsOK(ecode2)) {
10696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10697 }
10698 arg2 = static_cast< int >(val2);
10699 }
10700 if (obj2) {
093d3ff1 10701 {
554f62e9
RD
10702 arg3 = &temp3;
10703 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 10704 }
554f62e9
RD
10705 }
10706 if (obj3) {
d55e5bfc 10707 {
554f62e9
RD
10708 arg4 = &temp4;
10709 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10710 }
554f62e9
RD
10711 }
10712 if (obj4) {
10713 ecode5 = SWIG_AsVal_long(obj4, &val5);
10714 if (!SWIG_IsOK(ecode5)) {
10715 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10716 }
10717 arg5 = static_cast< long >(val5);
10718 }
10719 if (obj5) {
d55e5bfc 10720 {
554f62e9
RD
10721 arg6 = wxString_in_helper(obj5);
10722 if (arg6 == NULL) SWIG_fail;
10723 temp6 = true;
d55e5bfc 10724 }
554f62e9
RD
10725 }
10726 {
10727 if (!wxPyCheckForApp()) SWIG_fail;
10728 PyThreadState* __tstate = wxPyBeginAllowThreads();
10729 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10734 {
10735 if (temp6)
10736 delete arg6;
10737 }
10738 return resultobj;
10739fail:
10740 {
10741 if (temp6)
10742 delete arg6;
10743 }
10744 return NULL;
d55e5bfc
RD
10745}
10746
10747
554f62e9
RD
10748SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10749 PyObject *resultobj = 0;
10750 wxSashWindow *result = 0 ;
10751
10752 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10753 {
10754 if (!wxPyCheckForApp()) SWIG_fail;
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 result = (wxSashWindow *)new wxSashWindow();
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 }
10760 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10761 return resultobj;
10762fail:
10763 return NULL;
10764}
10765
10766
10767SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10768 PyObject *resultobj = 0;
10769 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10770 wxWindow *arg2 = (wxWindow *) 0 ;
10771 int arg3 = (int) -1 ;
10772 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10773 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10774 wxSize const &arg5_defvalue = wxDefaultSize ;
10775 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10776 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10777 wxString const &arg7_defvalue = wxPySashNameStr ;
10778 wxString *arg7 = (wxString *) &arg7_defvalue ;
10779 bool result;
10780 void *argp1 = 0 ;
10781 int res1 = 0 ;
10782 void *argp2 = 0 ;
10783 int res2 = 0 ;
10784 int val3 ;
10785 int ecode3 = 0 ;
10786 wxPoint temp4 ;
10787 wxSize temp5 ;
10788 long val6 ;
10789 int ecode6 = 0 ;
10790 bool temp7 = false ;
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 PyObject * obj2 = 0 ;
10794 PyObject * obj3 = 0 ;
10795 PyObject * obj4 = 0 ;
10796 PyObject * obj5 = 0 ;
10797 PyObject * obj6 = 0 ;
10798 char * kwnames[] = {
10799 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10800 };
10801
10802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10804 if (!SWIG_IsOK(res1)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10806 }
10807 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10808 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10809 if (!SWIG_IsOK(res2)) {
10810 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10811 }
10812 arg2 = reinterpret_cast< wxWindow * >(argp2);
10813 if (obj2) {
10814 ecode3 = SWIG_AsVal_int(obj2, &val3);
10815 if (!SWIG_IsOK(ecode3)) {
10816 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10817 }
10818 arg3 = static_cast< int >(val3);
10819 }
10820 if (obj3) {
093d3ff1 10821 {
554f62e9
RD
10822 arg4 = &temp4;
10823 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10824 }
554f62e9
RD
10825 }
10826 if (obj4) {
d55e5bfc 10827 {
554f62e9
RD
10828 arg5 = &temp5;
10829 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 10830 }
554f62e9
RD
10831 }
10832 if (obj5) {
10833 ecode6 = SWIG_AsVal_long(obj5, &val6);
10834 if (!SWIG_IsOK(ecode6)) {
10835 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10836 }
10837 arg6 = static_cast< long >(val6);
10838 }
10839 if (obj6) {
093d3ff1 10840 {
554f62e9
RD
10841 arg7 = wxString_in_helper(obj6);
10842 if (arg7 == NULL) SWIG_fail;
10843 temp7 = true;
093d3ff1 10844 }
554f62e9
RD
10845 }
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 {
10853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10854 }
10855 {
10856 if (temp7)
10857 delete arg7;
10858 }
10859 return resultobj;
10860fail:
10861 {
10862 if (temp7)
10863 delete arg7;
10864 }
10865 return NULL;
10866}
10867
10868
10869SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10870 PyObject *resultobj = 0;
10871 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10872 wxSashEdgePosition arg2 ;
10873 bool arg3 ;
10874 void *argp1 = 0 ;
10875 int res1 = 0 ;
10876 int val2 ;
10877 int ecode2 = 0 ;
10878 bool val3 ;
10879 int ecode3 = 0 ;
10880 PyObject * obj0 = 0 ;
10881 PyObject * obj1 = 0 ;
10882 PyObject * obj2 = 0 ;
10883 char * kwnames[] = {
10884 (char *) "self",(char *) "edge",(char *) "sash", NULL
10885 };
10886
10887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10889 if (!SWIG_IsOK(res1)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10891 }
10892 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10893 ecode2 = SWIG_AsVal_int(obj1, &val2);
10894 if (!SWIG_IsOK(ecode2)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10896 }
10897 arg2 = static_cast< wxSashEdgePosition >(val2);
10898 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10899 if (!SWIG_IsOK(ecode3)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10901 }
10902 arg3 = static_cast< bool >(val3);
10903 {
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 (arg1)->SetSashVisible(arg2,arg3);
10906 wxPyEndAllowThreads(__tstate);
10907 if (PyErr_Occurred()) SWIG_fail;
10908 }
10909 resultobj = SWIG_Py_Void();
10910 return resultobj;
10911fail:
10912 return NULL;
10913}
10914
10915
10916SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10917 PyObject *resultobj = 0;
10918 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10919 wxSashEdgePosition arg2 ;
10920 bool result;
10921 void *argp1 = 0 ;
10922 int res1 = 0 ;
10923 int val2 ;
10924 int ecode2 = 0 ;
10925 PyObject * obj0 = 0 ;
10926 PyObject * obj1 = 0 ;
10927 char * kwnames[] = {
10928 (char *) "self",(char *) "edge", NULL
10929 };
10930
10931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10933 if (!SWIG_IsOK(res1)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10935 }
10936 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10937 ecode2 = SWIG_AsVal_int(obj1, &val2);
10938 if (!SWIG_IsOK(ecode2)) {
10939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10940 }
10941 arg2 = static_cast< wxSashEdgePosition >(val2);
10942 {
10943 PyThreadState* __tstate = wxPyBeginAllowThreads();
10944 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 {
10949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10950 }
10951 return resultobj;
10952fail:
10953 return NULL;
10954}
10955
10956
10957SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj = 0;
10959 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10960 wxSashEdgePosition arg2 ;
10961 bool arg3 ;
10962 void *argp1 = 0 ;
10963 int res1 = 0 ;
10964 int val2 ;
10965 int ecode2 = 0 ;
10966 bool val3 ;
10967 int ecode3 = 0 ;
10968 PyObject * obj0 = 0 ;
10969 PyObject * obj1 = 0 ;
10970 PyObject * obj2 = 0 ;
10971 char * kwnames[] = {
10972 (char *) "self",(char *) "edge",(char *) "border", NULL
10973 };
10974
10975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10977 if (!SWIG_IsOK(res1)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10979 }
10980 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10981 ecode2 = SWIG_AsVal_int(obj1, &val2);
10982 if (!SWIG_IsOK(ecode2)) {
10983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10984 }
10985 arg2 = static_cast< wxSashEdgePosition >(val2);
10986 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10987 if (!SWIG_IsOK(ecode3)) {
10988 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10989 }
10990 arg3 = static_cast< bool >(val3);
10991 {
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 (arg1)->SetSashBorder(arg2,arg3);
10994 wxPyEndAllowThreads(__tstate);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 }
10997 resultobj = SWIG_Py_Void();
10998 return resultobj;
10999fail:
11000 return NULL;
11001}
11002
11003
11004SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11005 PyObject *resultobj = 0;
11006 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11007 wxSashEdgePosition arg2 ;
11008 bool result;
11009 void *argp1 = 0 ;
11010 int res1 = 0 ;
11011 int val2 ;
11012 int ecode2 = 0 ;
11013 PyObject * obj0 = 0 ;
11014 PyObject * obj1 = 0 ;
11015 char * kwnames[] = {
11016 (char *) "self",(char *) "edge", NULL
11017 };
11018
11019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11021 if (!SWIG_IsOK(res1)) {
11022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11023 }
11024 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11025 ecode2 = SWIG_AsVal_int(obj1, &val2);
11026 if (!SWIG_IsOK(ecode2)) {
11027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11028 }
11029 arg2 = static_cast< wxSashEdgePosition >(val2);
11030 {
11031 PyThreadState* __tstate = wxPyBeginAllowThreads();
11032 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 {
11037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11038 }
11039 return resultobj;
11040fail:
11041 return NULL;
11042}
11043
11044
11045SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11046 PyObject *resultobj = 0;
11047 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11048 wxSashEdgePosition arg2 ;
11049 int result;
11050 void *argp1 = 0 ;
11051 int res1 = 0 ;
11052 int val2 ;
11053 int ecode2 = 0 ;
11054 PyObject * obj0 = 0 ;
11055 PyObject * obj1 = 0 ;
11056 char * kwnames[] = {
11057 (char *) "self",(char *) "edge", NULL
11058 };
11059
11060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11062 if (!SWIG_IsOK(res1)) {
11063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11064 }
11065 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11066 ecode2 = SWIG_AsVal_int(obj1, &val2);
11067 if (!SWIG_IsOK(ecode2)) {
11068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11069 }
11070 arg2 = static_cast< wxSashEdgePosition >(val2);
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 resultobj = SWIG_From_int(static_cast< int >(result));
11078 return resultobj;
11079fail:
11080 return NULL;
11081}
11082
11083
11084SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj = 0;
11086 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11087 int arg2 ;
11088 void *argp1 = 0 ;
11089 int res1 = 0 ;
11090 int val2 ;
11091 int ecode2 = 0 ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 char * kwnames[] = {
11095 (char *) "self",(char *) "width", NULL
11096 };
11097
11098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11100 if (!SWIG_IsOK(res1)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11102 }
11103 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11104 ecode2 = SWIG_AsVal_int(obj1, &val2);
11105 if (!SWIG_IsOK(ecode2)) {
11106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11107 }
11108 arg2 = static_cast< int >(val2);
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 (arg1)->SetDefaultBorderSize(arg2);
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 resultobj = SWIG_Py_Void();
11116 return resultobj;
11117fail:
11118 return NULL;
d55e5bfc
RD
11119}
11120
11121
554f62e9
RD
11122SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11123 PyObject *resultobj = 0;
11124 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11125 int result;
11126 void *argp1 = 0 ;
11127 int res1 = 0 ;
11128 PyObject *swig_obj[1] ;
11129
11130 if (!args) SWIG_fail;
11131 swig_obj[0] = args;
11132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11133 if (!SWIG_IsOK(res1)) {
11134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11135 }
11136 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 resultobj = SWIG_From_int(static_cast< int >(result));
11144 return resultobj;
11145fail:
11146 return NULL;
11147}
11148
11149
11150SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj = 0;
11152 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11153 int arg2 ;
11154 void *argp1 = 0 ;
11155 int res1 = 0 ;
11156 int val2 ;
11157 int ecode2 = 0 ;
11158 PyObject * obj0 = 0 ;
11159 PyObject * obj1 = 0 ;
11160 char * kwnames[] = {
11161 (char *) "self",(char *) "width", NULL
11162 };
11163
11164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11166 if (!SWIG_IsOK(res1)) {
11167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11168 }
11169 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11170 ecode2 = SWIG_AsVal_int(obj1, &val2);
11171 if (!SWIG_IsOK(ecode2)) {
11172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11173 }
11174 arg2 = static_cast< int >(val2);
11175 {
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 (arg1)->SetExtraBorderSize(arg2);
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 }
11181 resultobj = SWIG_Py_Void();
11182 return resultobj;
11183fail:
11184 return NULL;
d55e5bfc
RD
11185}
11186
11187
554f62e9
RD
11188SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11189 PyObject *resultobj = 0;
11190 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11191 int result;
11192 void *argp1 = 0 ;
11193 int res1 = 0 ;
11194 PyObject *swig_obj[1] ;
11195
11196 if (!args) SWIG_fail;
11197 swig_obj[0] = args;
11198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11199 if (!SWIG_IsOK(res1)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11201 }
11202 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 resultobj = SWIG_From_int(static_cast< int >(result));
11210 return resultobj;
11211fail:
11212 return NULL;
11213}
11214
11215
11216SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11217 PyObject *resultobj = 0;
11218 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11219 int arg2 ;
11220 void *argp1 = 0 ;
11221 int res1 = 0 ;
11222 int val2 ;
11223 int ecode2 = 0 ;
11224 PyObject * obj0 = 0 ;
11225 PyObject * obj1 = 0 ;
11226 char * kwnames[] = {
11227 (char *) "self",(char *) "min", NULL
11228 };
11229
11230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11232 if (!SWIG_IsOK(res1)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11234 }
11235 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11236 ecode2 = SWIG_AsVal_int(obj1, &val2);
11237 if (!SWIG_IsOK(ecode2)) {
11238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11239 }
11240 arg2 = static_cast< int >(val2);
11241 {
11242 PyThreadState* __tstate = wxPyBeginAllowThreads();
11243 (arg1)->SetMinimumSizeX(arg2);
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 }
11247 resultobj = SWIG_Py_Void();
11248 return resultobj;
11249fail:
11250 return NULL;
11251}
11252
11253
11254SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11255 PyObject *resultobj = 0;
11256 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11257 int arg2 ;
11258 void *argp1 = 0 ;
11259 int res1 = 0 ;
11260 int val2 ;
11261 int ecode2 = 0 ;
11262 PyObject * obj0 = 0 ;
11263 PyObject * obj1 = 0 ;
11264 char * kwnames[] = {
11265 (char *) "self",(char *) "min", NULL
11266 };
11267
11268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11270 if (!SWIG_IsOK(res1)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11272 }
11273 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11274 ecode2 = SWIG_AsVal_int(obj1, &val2);
11275 if (!SWIG_IsOK(ecode2)) {
11276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11277 }
11278 arg2 = static_cast< int >(val2);
11279 {
11280 PyThreadState* __tstate = wxPyBeginAllowThreads();
11281 (arg1)->SetMinimumSizeY(arg2);
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 resultobj = SWIG_Py_Void();
11286 return resultobj;
11287fail:
11288 return NULL;
d55e5bfc
RD
11289}
11290
11291
554f62e9
RD
11292SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11293 PyObject *resultobj = 0;
11294 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11295 int result;
11296 void *argp1 = 0 ;
11297 int res1 = 0 ;
11298 PyObject *swig_obj[1] ;
11299
11300 if (!args) SWIG_fail;
11301 swig_obj[0] = args;
11302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11303 if (!SWIG_IsOK(res1)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11305 }
11306 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11307 {
11308 PyThreadState* __tstate = wxPyBeginAllowThreads();
11309 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 resultobj = SWIG_From_int(static_cast< int >(result));
11314 return resultobj;
11315fail:
11316 return NULL;
d55e5bfc
RD
11317}
11318
11319
554f62e9
RD
11320SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11321 PyObject *resultobj = 0;
11322 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11323 int result;
11324 void *argp1 = 0 ;
11325 int res1 = 0 ;
11326 PyObject *swig_obj[1] ;
11327
11328 if (!args) SWIG_fail;
11329 swig_obj[0] = args;
11330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11331 if (!SWIG_IsOK(res1)) {
11332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11333 }
11334 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 resultobj = SWIG_From_int(static_cast< int >(result));
11342 return resultobj;
11343fail:
11344 return NULL;
11345}
11346
11347
11348SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11349 PyObject *resultobj = 0;
11350 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11351 int arg2 ;
11352 void *argp1 = 0 ;
11353 int res1 = 0 ;
11354 int val2 ;
11355 int ecode2 = 0 ;
11356 PyObject * obj0 = 0 ;
11357 PyObject * obj1 = 0 ;
11358 char * kwnames[] = {
11359 (char *) "self",(char *) "max", NULL
11360 };
11361
11362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11364 if (!SWIG_IsOK(res1)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11366 }
11367 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11368 ecode2 = SWIG_AsVal_int(obj1, &val2);
11369 if (!SWIG_IsOK(ecode2)) {
11370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11371 }
11372 arg2 = static_cast< int >(val2);
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 (arg1)->SetMaximumSizeX(arg2);
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 resultobj = SWIG_Py_Void();
11380 return resultobj;
11381fail:
11382 return NULL;
11383}
11384
11385
11386SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11387 PyObject *resultobj = 0;
11388 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11389 int arg2 ;
11390 void *argp1 = 0 ;
11391 int res1 = 0 ;
11392 int val2 ;
11393 int ecode2 = 0 ;
11394 PyObject * obj0 = 0 ;
11395 PyObject * obj1 = 0 ;
11396 char * kwnames[] = {
11397 (char *) "self",(char *) "max", NULL
11398 };
11399
11400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11402 if (!SWIG_IsOK(res1)) {
11403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11404 }
11405 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11406 ecode2 = SWIG_AsVal_int(obj1, &val2);
11407 if (!SWIG_IsOK(ecode2)) {
11408 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11409 }
11410 arg2 = static_cast< int >(val2);
11411 {
11412 PyThreadState* __tstate = wxPyBeginAllowThreads();
11413 (arg1)->SetMaximumSizeY(arg2);
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 resultobj = SWIG_Py_Void();
11418 return resultobj;
11419fail:
11420 return NULL;
d55e5bfc
RD
11421}
11422
11423
554f62e9
RD
11424SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11425 PyObject *resultobj = 0;
11426 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11427 int result;
11428 void *argp1 = 0 ;
11429 int res1 = 0 ;
11430 PyObject *swig_obj[1] ;
11431
11432 if (!args) SWIG_fail;
11433 swig_obj[0] = args;
11434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11435 if (!SWIG_IsOK(res1)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11437 }
11438 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11439 {
11440 PyThreadState* __tstate = wxPyBeginAllowThreads();
11441 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
11445 resultobj = SWIG_From_int(static_cast< int >(result));
11446 return resultobj;
11447fail:
11448 return NULL;
d55e5bfc
RD
11449}
11450
11451
554f62e9
RD
11452SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11453 PyObject *resultobj = 0;
11454 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11455 int result;
11456 void *argp1 = 0 ;
11457 int res1 = 0 ;
11458 PyObject *swig_obj[1] ;
11459
11460 if (!args) SWIG_fail;
11461 swig_obj[0] = args;
11462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11463 if (!SWIG_IsOK(res1)) {
11464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11465 }
11466 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
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;
11477}
11478
11479
11480SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11481 PyObject *resultobj = 0;
11482 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11483 int arg2 ;
11484 int arg3 ;
11485 int arg4 = (int) 2 ;
11486 wxSashEdgePosition result;
11487 void *argp1 = 0 ;
11488 int res1 = 0 ;
11489 int val2 ;
11490 int ecode2 = 0 ;
11491 int val3 ;
11492 int ecode3 = 0 ;
11493 int val4 ;
11494 int ecode4 = 0 ;
11495 PyObject * obj0 = 0 ;
11496 PyObject * obj1 = 0 ;
11497 PyObject * obj2 = 0 ;
11498 PyObject * obj3 = 0 ;
11499 char * kwnames[] = {
11500 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11501 };
11502
11503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11505 if (!SWIG_IsOK(res1)) {
11506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11507 }
11508 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11509 ecode2 = SWIG_AsVal_int(obj1, &val2);
11510 if (!SWIG_IsOK(ecode2)) {
11511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11512 }
11513 arg2 = static_cast< int >(val2);
11514 ecode3 = SWIG_AsVal_int(obj2, &val3);
11515 if (!SWIG_IsOK(ecode3)) {
11516 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11517 }
11518 arg3 = static_cast< int >(val3);
11519 if (obj3) {
11520 ecode4 = SWIG_AsVal_int(obj3, &val4);
11521 if (!SWIG_IsOK(ecode4)) {
11522 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11523 }
11524 arg4 = static_cast< int >(val4);
11525 }
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 resultobj = SWIG_From_int(static_cast< int >(result));
11533 return resultobj;
11534fail:
11535 return NULL;
d55e5bfc
RD
11536}
11537
11538
554f62e9
RD
11539SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11540 PyObject *resultobj = 0;
11541 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11542 void *argp1 = 0 ;
11543 int res1 = 0 ;
11544 PyObject *swig_obj[1] ;
11545
11546 if (!args) SWIG_fail;
11547 swig_obj[0] = args;
11548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11549 if (!SWIG_IsOK(res1)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11551 }
11552 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 (arg1)->SizeWindows();
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 resultobj = SWIG_Py_Void();
11560 return resultobj;
11561fail:
11562 return NULL;
d55e5bfc
RD
11563}
11564
11565
554f62e9
RD
11566SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11567 PyObject *obj;
11568 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11569 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11570 return SWIG_Py_Void();
d55e5bfc
RD
11571}
11572
554f62e9
RD
11573SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11574 return SWIG_Python_InitShadowInstance(args);
11575}
d55e5bfc 11576
554f62e9
RD
11577SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11578 PyObject *resultobj = 0;
11579 int arg1 = (int) 0 ;
11580 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11581 wxSashEvent *result = 0 ;
11582 int val1 ;
11583 int ecode1 = 0 ;
11584 int val2 ;
11585 int ecode2 = 0 ;
11586 PyObject * obj0 = 0 ;
11587 PyObject * obj1 = 0 ;
11588 char * kwnames[] = {
11589 (char *) "id",(char *) "edge", NULL
11590 };
11591
11592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11593 if (obj0) {
11594 ecode1 = SWIG_AsVal_int(obj0, &val1);
11595 if (!SWIG_IsOK(ecode1)) {
11596 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11597 }
11598 arg1 = static_cast< int >(val1);
11599 }
11600 if (obj1) {
11601 ecode2 = SWIG_AsVal_int(obj1, &val2);
11602 if (!SWIG_IsOK(ecode2)) {
11603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11604 }
11605 arg2 = static_cast< wxSashEdgePosition >(val2);
11606 }
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11614 return resultobj;
11615fail:
11616 return NULL;
11617}
11618
11619
11620SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11621 PyObject *resultobj = 0;
11622 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11623 wxSashEdgePosition arg2 ;
11624 void *argp1 = 0 ;
11625 int res1 = 0 ;
11626 int val2 ;
11627 int ecode2 = 0 ;
11628 PyObject * obj0 = 0 ;
11629 PyObject * obj1 = 0 ;
11630 char * kwnames[] = {
11631 (char *) "self",(char *) "edge", NULL
11632 };
11633
11634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11636 if (!SWIG_IsOK(res1)) {
11637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11638 }
11639 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11640 ecode2 = SWIG_AsVal_int(obj1, &val2);
11641 if (!SWIG_IsOK(ecode2)) {
11642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11643 }
11644 arg2 = static_cast< wxSashEdgePosition >(val2);
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 (arg1)->SetEdge(arg2);
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 }
11651 resultobj = SWIG_Py_Void();
11652 return resultobj;
11653fail:
11654 return NULL;
d55e5bfc
RD
11655}
11656
11657
554f62e9
RD
11658SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11659 PyObject *resultobj = 0;
11660 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11661 wxSashEdgePosition result;
11662 void *argp1 = 0 ;
11663 int res1 = 0 ;
11664 PyObject *swig_obj[1] ;
11665
11666 if (!args) SWIG_fail;
11667 swig_obj[0] = args;
11668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11669 if (!SWIG_IsOK(res1)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11671 }
11672 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11676 wxPyEndAllowThreads(__tstate);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
11679 resultobj = SWIG_From_int(static_cast< int >(result));
11680 return resultobj;
11681fail:
11682 return NULL;
11683}
11684
11685
11686SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11687 PyObject *resultobj = 0;
11688 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11689 wxRect *arg2 = 0 ;
11690 void *argp1 = 0 ;
11691 int res1 = 0 ;
11692 wxRect temp2 ;
11693 PyObject * obj0 = 0 ;
11694 PyObject * obj1 = 0 ;
11695 char * kwnames[] = {
11696 (char *) "self",(char *) "rect", NULL
11697 };
11698
11699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11701 if (!SWIG_IsOK(res1)) {
11702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11703 }
11704 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11705 {
11706 arg2 = &temp2;
11707 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11708 }
11709 {
11710 PyThreadState* __tstate = wxPyBeginAllowThreads();
11711 (arg1)->SetDragRect((wxRect const &)*arg2);
11712 wxPyEndAllowThreads(__tstate);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 resultobj = SWIG_Py_Void();
11716 return resultobj;
11717fail:
11718 return NULL;
d55e5bfc
RD
11719}
11720
11721
554f62e9
RD
11722SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11723 PyObject *resultobj = 0;
11724 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11725 wxRect result;
11726 void *argp1 = 0 ;
11727 int res1 = 0 ;
11728 PyObject *swig_obj[1] ;
11729
11730 if (!args) SWIG_fail;
11731 swig_obj[0] = args;
11732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11733 if (!SWIG_IsOK(res1)) {
11734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11735 }
11736 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = ((wxSashEvent const *)arg1)->GetDragRect();
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11744 return resultobj;
11745fail:
11746 return NULL;
11747}
11748
11749
11750SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11751 PyObject *resultobj = 0;
11752 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11753 wxSashDragStatus arg2 ;
11754 void *argp1 = 0 ;
11755 int res1 = 0 ;
11756 int val2 ;
11757 int ecode2 = 0 ;
11758 PyObject * obj0 = 0 ;
11759 PyObject * obj1 = 0 ;
11760 char * kwnames[] = {
11761 (char *) "self",(char *) "status", NULL
11762 };
11763
11764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11766 if (!SWIG_IsOK(res1)) {
11767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11768 }
11769 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11770 ecode2 = SWIG_AsVal_int(obj1, &val2);
11771 if (!SWIG_IsOK(ecode2)) {
11772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11773 }
11774 arg2 = static_cast< wxSashDragStatus >(val2);
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 (arg1)->SetDragStatus(arg2);
11778 wxPyEndAllowThreads(__tstate);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
11781 resultobj = SWIG_Py_Void();
11782 return resultobj;
11783fail:
11784 return NULL;
d55e5bfc
RD
11785}
11786
11787
554f62e9
RD
11788SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11789 PyObject *resultobj = 0;
11790 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11791 wxSashDragStatus result;
11792 void *argp1 = 0 ;
11793 int res1 = 0 ;
11794 PyObject *swig_obj[1] ;
11795
11796 if (!args) SWIG_fail;
11797 swig_obj[0] = args;
11798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11799 if (!SWIG_IsOK(res1)) {
11800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11801 }
11802 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 resultobj = SWIG_From_int(static_cast< int >(result));
11810 return resultobj;
11811fail:
11812 return NULL;
03837c5c
RD
11813}
11814
11815
554f62e9
RD
11816SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11817 PyObject *obj;
11818 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11819 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11820 return SWIG_Py_Void();
d55e5bfc
RD
11821}
11822
554f62e9
RD
11823SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11824 return SWIG_Python_InitShadowInstance(args);
11825}
d55e5bfc 11826
554f62e9
RD
11827SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj = 0;
11829 int arg1 = (int) 0 ;
11830 wxQueryLayoutInfoEvent *result = 0 ;
11831 int val1 ;
11832 int ecode1 = 0 ;
11833 PyObject * obj0 = 0 ;
11834 char * kwnames[] = {
11835 (char *) "id", NULL
11836 };
11837
11838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11839 if (obj0) {
11840 ecode1 = SWIG_AsVal_int(obj0, &val1);
11841 if (!SWIG_IsOK(ecode1)) {
11842 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11843 }
11844 arg1 = static_cast< int >(val1);
11845 }
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11849 wxPyEndAllowThreads(__tstate);
11850 if (PyErr_Occurred()) SWIG_fail;
11851 }
11852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11853 return resultobj;
11854fail:
11855 return NULL;
11856}
11857
11858
11859SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11860 PyObject *resultobj = 0;
11861 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11862 int arg2 ;
11863 void *argp1 = 0 ;
11864 int res1 = 0 ;
11865 int val2 ;
11866 int ecode2 = 0 ;
11867 PyObject * obj0 = 0 ;
11868 PyObject * obj1 = 0 ;
11869 char * kwnames[] = {
11870 (char *) "self",(char *) "length", NULL
11871 };
11872
11873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11875 if (!SWIG_IsOK(res1)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11877 }
11878 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11879 ecode2 = SWIG_AsVal_int(obj1, &val2);
11880 if (!SWIG_IsOK(ecode2)) {
11881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11882 }
11883 arg2 = static_cast< int >(val2);
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 (arg1)->SetRequestedLength(arg2);
11887 wxPyEndAllowThreads(__tstate);
11888 if (PyErr_Occurred()) SWIG_fail;
11889 }
11890 resultobj = SWIG_Py_Void();
11891 return resultobj;
11892fail:
11893 return NULL;
d55e5bfc
RD
11894}
11895
11896
554f62e9
RD
11897SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11898 PyObject *resultobj = 0;
11899 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11900 int result;
11901 void *argp1 = 0 ;
11902 int res1 = 0 ;
11903 PyObject *swig_obj[1] ;
11904
11905 if (!args) SWIG_fail;
11906 swig_obj[0] = args;
11907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11908 if (!SWIG_IsOK(res1)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11910 }
11911 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11915 wxPyEndAllowThreads(__tstate);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 resultobj = SWIG_From_int(static_cast< int >(result));
11919 return resultobj;
11920fail:
11921 return NULL;
11922}
11923
11924
11925SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11926 PyObject *resultobj = 0;
11927 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11928 int arg2 ;
11929 void *argp1 = 0 ;
11930 int res1 = 0 ;
11931 int val2 ;
11932 int ecode2 = 0 ;
11933 PyObject * obj0 = 0 ;
11934 PyObject * obj1 = 0 ;
11935 char * kwnames[] = {
11936 (char *) "self",(char *) "flags", NULL
11937 };
11938
11939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11941 if (!SWIG_IsOK(res1)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11943 }
11944 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11945 ecode2 = SWIG_AsVal_int(obj1, &val2);
11946 if (!SWIG_IsOK(ecode2)) {
11947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11948 }
11949 arg2 = static_cast< int >(val2);
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 (arg1)->SetFlags(arg2);
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = SWIG_Py_Void();
11957 return resultobj;
11958fail:
11959 return NULL;
d55e5bfc
RD
11960}
11961
11962
554f62e9
RD
11963SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11964 PyObject *resultobj = 0;
11965 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11966 int result;
11967 void *argp1 = 0 ;
11968 int res1 = 0 ;
11969 PyObject *swig_obj[1] ;
11970
11971 if (!args) SWIG_fail;
11972 swig_obj[0] = args;
11973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11974 if (!SWIG_IsOK(res1)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11976 }
11977 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 resultobj = SWIG_From_int(static_cast< int >(result));
11985 return resultobj;
11986fail:
11987 return NULL;
11988}
11989
11990
11991SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj = 0;
11993 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11994 wxSize *arg2 = 0 ;
11995 void *argp1 = 0 ;
11996 int res1 = 0 ;
11997 wxSize temp2 ;
11998 PyObject * obj0 = 0 ;
11999 PyObject * obj1 = 0 ;
12000 char * kwnames[] = {
12001 (char *) "self",(char *) "size", NULL
12002 };
12003
12004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12006 if (!SWIG_IsOK(res1)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12008 }
12009 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12010 {
12011 arg2 = &temp2;
12012 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12013 }
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 (arg1)->SetSize((wxSize const &)*arg2);
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 resultobj = SWIG_Py_Void();
12021 return resultobj;
12022fail:
12023 return NULL;
d55e5bfc
RD
12024}
12025
12026
554f62e9
RD
12027SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12028 PyObject *resultobj = 0;
12029 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12030 wxSize result;
12031 void *argp1 = 0 ;
12032 int res1 = 0 ;
12033 PyObject *swig_obj[1] ;
12034
12035 if (!args) SWIG_fail;
12036 swig_obj[0] = args;
12037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12038 if (!SWIG_IsOK(res1)) {
12039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12040 }
12041 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12042 {
12043 PyThreadState* __tstate = wxPyBeginAllowThreads();
12044 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12045 wxPyEndAllowThreads(__tstate);
12046 if (PyErr_Occurred()) SWIG_fail;
12047 }
12048 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12049 return resultobj;
12050fail:
12051 return NULL;
12052}
12053
12054
12055SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12056 PyObject *resultobj = 0;
12057 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12058 wxLayoutOrientation arg2 ;
12059 void *argp1 = 0 ;
12060 int res1 = 0 ;
12061 int val2 ;
12062 int ecode2 = 0 ;
12063 PyObject * obj0 = 0 ;
12064 PyObject * obj1 = 0 ;
12065 char * kwnames[] = {
12066 (char *) "self",(char *) "orient", NULL
12067 };
12068
12069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12071 if (!SWIG_IsOK(res1)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12073 }
12074 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12075 ecode2 = SWIG_AsVal_int(obj1, &val2);
12076 if (!SWIG_IsOK(ecode2)) {
12077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12078 }
12079 arg2 = static_cast< wxLayoutOrientation >(val2);
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 (arg1)->SetOrientation(arg2);
12083 wxPyEndAllowThreads(__tstate);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 resultobj = SWIG_Py_Void();
12087 return resultobj;
12088fail:
12089 return NULL;
f20a2e1f
RD
12090}
12091
12092
554f62e9
RD
12093SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12094 PyObject *resultobj = 0;
12095 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12096 wxLayoutOrientation result;
12097 void *argp1 = 0 ;
12098 int res1 = 0 ;
12099 PyObject *swig_obj[1] ;
12100
12101 if (!args) SWIG_fail;
12102 swig_obj[0] = args;
12103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12104 if (!SWIG_IsOK(res1)) {
12105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12106 }
12107 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
12114 resultobj = SWIG_From_int(static_cast< int >(result));
12115 return resultobj;
12116fail:
12117 return NULL;
12118}
12119
12120
12121SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12122 PyObject *resultobj = 0;
12123 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12124 wxLayoutAlignment arg2 ;
12125 void *argp1 = 0 ;
12126 int res1 = 0 ;
12127 int val2 ;
12128 int ecode2 = 0 ;
12129 PyObject * obj0 = 0 ;
12130 PyObject * obj1 = 0 ;
12131 char * kwnames[] = {
12132 (char *) "self",(char *) "align", NULL
12133 };
12134
12135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12137 if (!SWIG_IsOK(res1)) {
12138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12139 }
12140 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12141 ecode2 = SWIG_AsVal_int(obj1, &val2);
12142 if (!SWIG_IsOK(ecode2)) {
12143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12144 }
12145 arg2 = static_cast< wxLayoutAlignment >(val2);
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 (arg1)->SetAlignment(arg2);
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 resultobj = SWIG_Py_Void();
12153 return resultobj;
12154fail:
12155 return NULL;
d55e5bfc 12156}
554f62e9
RD
12157
12158
12159SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12160 PyObject *resultobj = 0;
12161 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12162 wxLayoutAlignment result;
12163 void *argp1 = 0 ;
12164 int res1 = 0 ;
12165 PyObject *swig_obj[1] ;
12166
12167 if (!args) SWIG_fail;
12168 swig_obj[0] = args;
12169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12170 if (!SWIG_IsOK(res1)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12172 }
12173 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12174 {
12175 PyThreadState* __tstate = wxPyBeginAllowThreads();
12176 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12177 wxPyEndAllowThreads(__tstate);
12178 if (PyErr_Occurred()) SWIG_fail;
12179 }
12180 resultobj = SWIG_From_int(static_cast< int >(result));
12181 return resultobj;
12182fail:
12183 return NULL;
d55e5bfc
RD
12184}
12185
12186
554f62e9
RD
12187SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12188 PyObject *obj;
12189 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12190 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12191 return SWIG_Py_Void();
d55e5bfc
RD
12192}
12193
554f62e9
RD
12194SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12195 return SWIG_Python_InitShadowInstance(args);
12196}
d55e5bfc 12197
554f62e9
RD
12198SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12199 PyObject *resultobj = 0;
12200 int arg1 = (int) 0 ;
12201 wxCalculateLayoutEvent *result = 0 ;
12202 int val1 ;
12203 int ecode1 = 0 ;
12204 PyObject * obj0 = 0 ;
12205 char * kwnames[] = {
12206 (char *) "id", NULL
12207 };
12208
12209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12210 if (obj0) {
12211 ecode1 = SWIG_AsVal_int(obj0, &val1);
12212 if (!SWIG_IsOK(ecode1)) {
12213 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12214 }
12215 arg1 = static_cast< int >(val1);
12216 }
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12224 return resultobj;
12225fail:
12226 return NULL;
12227}
12228
12229
12230SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12231 PyObject *resultobj = 0;
12232 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12233 int arg2 ;
12234 void *argp1 = 0 ;
12235 int res1 = 0 ;
12236 int val2 ;
12237 int ecode2 = 0 ;
12238 PyObject * obj0 = 0 ;
12239 PyObject * obj1 = 0 ;
12240 char * kwnames[] = {
12241 (char *) "self",(char *) "flags", NULL
12242 };
12243
12244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12246 if (!SWIG_IsOK(res1)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12248 }
12249 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12250 ecode2 = SWIG_AsVal_int(obj1, &val2);
12251 if (!SWIG_IsOK(ecode2)) {
12252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12253 }
12254 arg2 = static_cast< int >(val2);
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 (arg1)->SetFlags(arg2);
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 resultobj = SWIG_Py_Void();
12262 return resultobj;
12263fail:
12264 return NULL;
d55e5bfc
RD
12265}
12266
12267
554f62e9
RD
12268SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12269 PyObject *resultobj = 0;
12270 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12271 int result;
12272 void *argp1 = 0 ;
12273 int res1 = 0 ;
12274 PyObject *swig_obj[1] ;
12275
12276 if (!args) SWIG_fail;
12277 swig_obj[0] = args;
12278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12279 if (!SWIG_IsOK(res1)) {
12280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12281 }
12282 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 resultobj = SWIG_From_int(static_cast< int >(result));
12290 return resultobj;
12291fail:
12292 return NULL;
12293}
12294
12295
12296SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12297 PyObject *resultobj = 0;
12298 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12299 wxRect *arg2 = 0 ;
12300 void *argp1 = 0 ;
12301 int res1 = 0 ;
12302 wxRect temp2 ;
12303 PyObject * obj0 = 0 ;
12304 PyObject * obj1 = 0 ;
12305 char * kwnames[] = {
12306 (char *) "self",(char *) "rect", NULL
12307 };
12308
12309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12311 if (!SWIG_IsOK(res1)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12313 }
12314 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12315 {
12316 arg2 = &temp2;
12317 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12318 }
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 (arg1)->SetRect((wxRect const &)*arg2);
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 resultobj = SWIG_Py_Void();
12326 return resultobj;
12327fail:
12328 return NULL;
12329}
12330
12331
12332SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12333 PyObject *resultobj = 0;
12334 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12335 wxRect result;
12336 void *argp1 = 0 ;
12337 int res1 = 0 ;
12338 PyObject *swig_obj[1] ;
12339
12340 if (!args) SWIG_fail;
12341 swig_obj[0] = args;
12342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12343 if (!SWIG_IsOK(res1)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12345 }
12346 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12347 {
12348 PyThreadState* __tstate = wxPyBeginAllowThreads();
12349 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12350 wxPyEndAllowThreads(__tstate);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12354 return resultobj;
12355fail:
12356 return NULL;
12357}
12358
12359
12360SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12361 PyObject *obj;
12362 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12363 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12364 return SWIG_Py_Void();
12365}
12366
12367SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12368 return SWIG_Python_InitShadowInstance(args);
12369}
12370
12371SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj = 0;
12373 wxWindow *arg1 = (wxWindow *) 0 ;
12374 int arg2 = (int) -1 ;
12375 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12376 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12377 wxSize const &arg4_defvalue = wxDefaultSize ;
12378 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12379 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12380 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12381 wxString *arg6 = (wxString *) &arg6_defvalue ;
12382 wxSashLayoutWindow *result = 0 ;
12383 void *argp1 = 0 ;
12384 int res1 = 0 ;
12385 int val2 ;
12386 int ecode2 = 0 ;
12387 wxPoint temp3 ;
12388 wxSize temp4 ;
12389 long val5 ;
12390 int ecode5 = 0 ;
12391 bool temp6 = false ;
12392 PyObject * obj0 = 0 ;
12393 PyObject * obj1 = 0 ;
12394 PyObject * obj2 = 0 ;
12395 PyObject * obj3 = 0 ;
12396 PyObject * obj4 = 0 ;
12397 PyObject * obj5 = 0 ;
12398 char * kwnames[] = {
12399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12400 };
12401
12402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12404 if (!SWIG_IsOK(res1)) {
12405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12406 }
12407 arg1 = reinterpret_cast< wxWindow * >(argp1);
12408 if (obj1) {
12409 ecode2 = SWIG_AsVal_int(obj1, &val2);
12410 if (!SWIG_IsOK(ecode2)) {
12411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12412 }
12413 arg2 = static_cast< int >(val2);
12414 }
12415 if (obj2) {
d55e5bfc 12416 {
554f62e9
RD
12417 arg3 = &temp3;
12418 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12419 }
554f62e9
RD
12420 }
12421 if (obj3) {
d55e5bfc 12422 {
554f62e9
RD
12423 arg4 = &temp4;
12424 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12425 }
554f62e9
RD
12426 }
12427 if (obj4) {
12428 ecode5 = SWIG_AsVal_long(obj4, &val5);
12429 if (!SWIG_IsOK(ecode5)) {
12430 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12431 }
12432 arg5 = static_cast< long >(val5);
12433 }
12434 if (obj5) {
d55e5bfc 12435 {
554f62e9
RD
12436 arg6 = wxString_in_helper(obj5);
12437 if (arg6 == NULL) SWIG_fail;
12438 temp6 = true;
d55e5bfc 12439 }
554f62e9
RD
12440 }
12441 {
12442 if (!wxPyCheckForApp()) SWIG_fail;
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12445 wxPyEndAllowThreads(__tstate);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 }
12448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12449 {
12450 if (temp6)
12451 delete arg6;
12452 }
12453 return resultobj;
12454fail:
12455 {
12456 if (temp6)
12457 delete arg6;
12458 }
12459 return NULL;
d55e5bfc
RD
12460}
12461
12462
554f62e9
RD
12463SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12464 PyObject *resultobj = 0;
12465 wxSashLayoutWindow *result = 0 ;
12466
12467 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12468 {
12469 if (!wxPyCheckForApp()) SWIG_fail;
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12476 return resultobj;
12477fail:
12478 return NULL;
12479}
12480
12481
12482SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12483 PyObject *resultobj = 0;
12484 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12485 wxWindow *arg2 = (wxWindow *) 0 ;
12486 int arg3 = (int) -1 ;
12487 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12488 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12489 wxSize const &arg5_defvalue = wxDefaultSize ;
12490 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12491 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12492 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12493 wxString *arg7 = (wxString *) &arg7_defvalue ;
12494 bool result;
12495 void *argp1 = 0 ;
12496 int res1 = 0 ;
12497 void *argp2 = 0 ;
12498 int res2 = 0 ;
12499 int val3 ;
12500 int ecode3 = 0 ;
12501 wxPoint temp4 ;
12502 wxSize temp5 ;
12503 long val6 ;
12504 int ecode6 = 0 ;
12505 bool temp7 = false ;
12506 PyObject * obj0 = 0 ;
12507 PyObject * obj1 = 0 ;
12508 PyObject * obj2 = 0 ;
12509 PyObject * obj3 = 0 ;
12510 PyObject * obj4 = 0 ;
12511 PyObject * obj5 = 0 ;
12512 PyObject * obj6 = 0 ;
12513 char * kwnames[] = {
12514 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12515 };
12516
12517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12519 if (!SWIG_IsOK(res1)) {
12520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12521 }
12522 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12523 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12524 if (!SWIG_IsOK(res2)) {
12525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12526 }
12527 arg2 = reinterpret_cast< wxWindow * >(argp2);
12528 if (obj2) {
12529 ecode3 = SWIG_AsVal_int(obj2, &val3);
12530 if (!SWIG_IsOK(ecode3)) {
12531 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12532 }
12533 arg3 = static_cast< int >(val3);
12534 }
12535 if (obj3) {
d55e5bfc 12536 {
554f62e9
RD
12537 arg4 = &temp4;
12538 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12539 }
554f62e9
RD
12540 }
12541 if (obj4) {
d55e5bfc 12542 {
554f62e9
RD
12543 arg5 = &temp5;
12544 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12545 }
554f62e9
RD
12546 }
12547 if (obj5) {
12548 ecode6 = SWIG_AsVal_long(obj5, &val6);
12549 if (!SWIG_IsOK(ecode6)) {
12550 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12551 }
12552 arg6 = static_cast< long >(val6);
12553 }
12554 if (obj6) {
d55e5bfc 12555 {
554f62e9
RD
12556 arg7 = wxString_in_helper(obj6);
12557 if (arg7 == NULL) SWIG_fail;
12558 temp7 = true;
d55e5bfc 12559 }
554f62e9
RD
12560 }
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 {
12568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12569 }
12570 {
12571 if (temp7)
12572 delete arg7;
12573 }
12574 return resultobj;
12575fail:
12576 {
12577 if (temp7)
12578 delete arg7;
12579 }
12580 return NULL;
d55e5bfc
RD
12581}
12582
12583
554f62e9
RD
12584SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12585 PyObject *resultobj = 0;
12586 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12587 wxLayoutAlignment result;
12588 void *argp1 = 0 ;
12589 int res1 = 0 ;
12590 PyObject *swig_obj[1] ;
12591
12592 if (!args) SWIG_fail;
12593 swig_obj[0] = args;
12594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12595 if (!SWIG_IsOK(res1)) {
12596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12597 }
12598 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 resultobj = SWIG_From_int(static_cast< int >(result));
12606 return resultobj;
12607fail:
12608 return NULL;
d55e5bfc
RD
12609}
12610
12611
554f62e9
RD
12612SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12613 PyObject *resultobj = 0;
12614 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12615 wxLayoutOrientation result;
12616 void *argp1 = 0 ;
12617 int res1 = 0 ;
12618 PyObject *swig_obj[1] ;
12619
12620 if (!args) SWIG_fail;
12621 swig_obj[0] = args;
12622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12623 if (!SWIG_IsOK(res1)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12625 }
12626 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 resultobj = SWIG_From_int(static_cast< int >(result));
12634 return resultobj;
12635fail:
12636 return NULL;
12637}
12638
12639
12640SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj = 0;
12642 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12643 wxLayoutAlignment arg2 ;
12644 void *argp1 = 0 ;
12645 int res1 = 0 ;
12646 int val2 ;
12647 int ecode2 = 0 ;
12648 PyObject * obj0 = 0 ;
12649 PyObject * obj1 = 0 ;
12650 char * kwnames[] = {
12651 (char *) "self",(char *) "alignment", NULL
12652 };
12653
12654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12656 if (!SWIG_IsOK(res1)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12658 }
12659 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12660 ecode2 = SWIG_AsVal_int(obj1, &val2);
12661 if (!SWIG_IsOK(ecode2)) {
12662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12663 }
12664 arg2 = static_cast< wxLayoutAlignment >(val2);
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetAlignment(arg2);
12668 wxPyEndAllowThreads(__tstate);
12669 if (PyErr_Occurred()) SWIG_fail;
12670 }
12671 resultobj = SWIG_Py_Void();
12672 return resultobj;
12673fail:
12674 return NULL;
12675}
12676
12677
12678SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12679 PyObject *resultobj = 0;
12680 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12681 wxSize *arg2 = 0 ;
12682 void *argp1 = 0 ;
12683 int res1 = 0 ;
12684 wxSize temp2 ;
12685 PyObject * obj0 = 0 ;
12686 PyObject * obj1 = 0 ;
12687 char * kwnames[] = {
12688 (char *) "self",(char *) "size", NULL
12689 };
12690
12691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12693 if (!SWIG_IsOK(res1)) {
12694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12695 }
12696 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12697 {
12698 arg2 = &temp2;
12699 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12700 }
12701 {
12702 PyThreadState* __tstate = wxPyBeginAllowThreads();
12703 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12704 wxPyEndAllowThreads(__tstate);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
12707 resultobj = SWIG_Py_Void();
12708 return resultobj;
12709fail:
12710 return NULL;
12711}
12712
12713
12714SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12715 PyObject *resultobj = 0;
12716 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12717 wxLayoutOrientation arg2 ;
12718 void *argp1 = 0 ;
12719 int res1 = 0 ;
12720 int val2 ;
12721 int ecode2 = 0 ;
12722 PyObject * obj0 = 0 ;
12723 PyObject * obj1 = 0 ;
12724 char * kwnames[] = {
12725 (char *) "self",(char *) "orientation", NULL
12726 };
12727
12728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12730 if (!SWIG_IsOK(res1)) {
12731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12732 }
12733 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12734 ecode2 = SWIG_AsVal_int(obj1, &val2);
12735 if (!SWIG_IsOK(ecode2)) {
12736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12737 }
12738 arg2 = static_cast< wxLayoutOrientation >(val2);
12739 {
12740 PyThreadState* __tstate = wxPyBeginAllowThreads();
12741 (arg1)->SetOrientation(arg2);
12742 wxPyEndAllowThreads(__tstate);
12743 if (PyErr_Occurred()) SWIG_fail;
12744 }
12745 resultobj = SWIG_Py_Void();
12746 return resultobj;
12747fail:
12748 return NULL;
d55e5bfc
RD
12749}
12750
12751
554f62e9
RD
12752SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12753 PyObject *obj;
12754 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12755 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12756 return SWIG_Py_Void();
d55e5bfc
RD
12757}
12758
554f62e9
RD
12759SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12760 return SWIG_Python_InitShadowInstance(args);
12761}
d55e5bfc 12762
554f62e9
RD
12763SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12764 PyObject *resultobj = 0;
12765 wxLayoutAlgorithm *result = 0 ;
12766
12767 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12775 return resultobj;
12776fail:
12777 return NULL;
d55e5bfc
RD
12778}
12779
12780
554f62e9
RD
12781SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12782 PyObject *resultobj = 0;
12783 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12784 void *argp1 = 0 ;
12785 int res1 = 0 ;
12786 PyObject *swig_obj[1] ;
12787
12788 if (!args) SWIG_fail;
12789 swig_obj[0] = args;
12790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12791 if (!SWIG_IsOK(res1)) {
12792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12793 }
12794 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12795 {
12796 PyThreadState* __tstate = wxPyBeginAllowThreads();
12797 delete arg1;
d55e5bfc 12798
554f62e9
RD
12799 wxPyEndAllowThreads(__tstate);
12800 if (PyErr_Occurred()) SWIG_fail;
12801 }
12802 resultobj = SWIG_Py_Void();
12803 return resultobj;
12804fail:
12805 return NULL;
12806}
12807
12808
12809SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12810 PyObject *resultobj = 0;
12811 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12812 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12813 wxRect *arg3 = (wxRect *) NULL ;
12814 bool result;
12815 void *argp1 = 0 ;
12816 int res1 = 0 ;
12817 void *argp2 = 0 ;
12818 int res2 = 0 ;
12819 void *argp3 = 0 ;
12820 int res3 = 0 ;
12821 PyObject * obj0 = 0 ;
12822 PyObject * obj1 = 0 ;
12823 PyObject * obj2 = 0 ;
12824 char * kwnames[] = {
12825 (char *) "self",(char *) "frame",(char *) "rect", NULL
12826 };
12827
12828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12830 if (!SWIG_IsOK(res1)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12832 }
12833 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12834 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12835 if (!SWIG_IsOK(res2)) {
12836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12837 }
12838 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12839 if (obj2) {
12840 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12841 if (!SWIG_IsOK(res3)) {
12842 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
d55e5bfc 12843 }
554f62e9
RD
12844 arg3 = reinterpret_cast< wxRect * >(argp3);
12845 }
12846 {
12847 PyThreadState* __tstate = wxPyBeginAllowThreads();
12848 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 {
12853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12854 }
12855 return resultobj;
12856fail:
12857 return NULL;
12858}
12859
12860
12861SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12862 PyObject *resultobj = 0;
12863 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12864 wxFrame *arg2 = (wxFrame *) 0 ;
12865 wxWindow *arg3 = (wxWindow *) NULL ;
12866 bool result;
12867 void *argp1 = 0 ;
12868 int res1 = 0 ;
12869 void *argp2 = 0 ;
12870 int res2 = 0 ;
12871 void *argp3 = 0 ;
12872 int res3 = 0 ;
12873 PyObject * obj0 = 0 ;
12874 PyObject * obj1 = 0 ;
12875 PyObject * obj2 = 0 ;
12876 char * kwnames[] = {
12877 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12878 };
12879
12880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12882 if (!SWIG_IsOK(res1)) {
12883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12884 }
12885 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12886 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12887 if (!SWIG_IsOK(res2)) {
12888 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12889 }
12890 arg2 = reinterpret_cast< wxFrame * >(argp2);
12891 if (obj2) {
12892 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12893 if (!SWIG_IsOK(res3)) {
12894 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 12895 }
554f62e9
RD
12896 arg3 = reinterpret_cast< wxWindow * >(argp3);
12897 }
12898 {
12899 PyThreadState* __tstate = wxPyBeginAllowThreads();
12900 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12901 wxPyEndAllowThreads(__tstate);
12902 if (PyErr_Occurred()) SWIG_fail;
12903 }
12904 {
12905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12906 }
12907 return resultobj;
12908fail:
12909 return NULL;
12910}
12911
12912
12913SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12914 PyObject *resultobj = 0;
12915 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12916 wxWindow *arg2 = (wxWindow *) 0 ;
12917 wxWindow *arg3 = (wxWindow *) NULL ;
12918 bool result;
12919 void *argp1 = 0 ;
12920 int res1 = 0 ;
12921 void *argp2 = 0 ;
12922 int res2 = 0 ;
12923 void *argp3 = 0 ;
12924 int res3 = 0 ;
12925 PyObject * obj0 = 0 ;
12926 PyObject * obj1 = 0 ;
12927 PyObject * obj2 = 0 ;
12928 char * kwnames[] = {
12929 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12930 };
12931
12932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12934 if (!SWIG_IsOK(res1)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12936 }
12937 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12938 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12939 if (!SWIG_IsOK(res2)) {
12940 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12941 }
12942 arg2 = reinterpret_cast< wxWindow * >(argp2);
12943 if (obj2) {
12944 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12945 if (!SWIG_IsOK(res3)) {
12946 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 12947 }
554f62e9
RD
12948 arg3 = reinterpret_cast< wxWindow * >(argp3);
12949 }
12950 {
12951 PyThreadState* __tstate = wxPyBeginAllowThreads();
12952 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 {
12957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12958 }
12959 return resultobj;
12960fail:
12961 return NULL;
d55e5bfc
RD
12962}
12963
12964
554f62e9
RD
12965SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12966 PyObject *obj;
12967 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12968 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12969 return SWIG_Py_Void();
d55e5bfc
RD
12970}
12971
554f62e9
RD
12972SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12973 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12974}
12975
554f62e9
RD
12976SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12977 PyObject *resultobj = 0;
12978 wxWindow *arg1 = (wxWindow *) 0 ;
12979 int arg2 = (int) wxBORDER_NONE ;
12980 wxPopupWindow *result = 0 ;
12981 void *argp1 = 0 ;
12982 int res1 = 0 ;
12983 int val2 ;
12984 int ecode2 = 0 ;
12985 PyObject * obj0 = 0 ;
12986 PyObject * obj1 = 0 ;
12987 char * kwnames[] = {
12988 (char *) "parent",(char *) "flags", NULL
12989 };
12990
12991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12993 if (!SWIG_IsOK(res1)) {
12994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12995 }
12996 arg1 = reinterpret_cast< wxWindow * >(argp1);
12997 if (obj1) {
12998 ecode2 = SWIG_AsVal_int(obj1, &val2);
12999 if (!SWIG_IsOK(ecode2)) {
13000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13001 }
13002 arg2 = static_cast< int >(val2);
13003 }
13004 {
13005 if (!wxPyCheckForApp()) SWIG_fail;
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13012 return resultobj;
13013fail:
13014 return NULL;
d55e5bfc
RD
13015}
13016
13017
554f62e9
RD
13018SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13019 PyObject *resultobj = 0;
13020 wxPopupWindow *result = 0 ;
13021
13022 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13023 {
13024 if (!wxPyCheckForApp()) SWIG_fail;
13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
13026 result = (wxPopupWindow *)new wxPopupWindow();
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13031 return resultobj;
13032fail:
13033 return NULL;
13034}
13035
13036
13037SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13038 PyObject *resultobj = 0;
13039 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13040 wxWindow *arg2 = (wxWindow *) 0 ;
13041 int arg3 = (int) wxBORDER_NONE ;
13042 bool result;
13043 void *argp1 = 0 ;
13044 int res1 = 0 ;
13045 void *argp2 = 0 ;
13046 int res2 = 0 ;
13047 int val3 ;
13048 int ecode3 = 0 ;
13049 PyObject * obj0 = 0 ;
13050 PyObject * obj1 = 0 ;
13051 PyObject * obj2 = 0 ;
13052 char * kwnames[] = {
13053 (char *) "self",(char *) "parent",(char *) "flags", NULL
13054 };
13055
13056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13058 if (!SWIG_IsOK(res1)) {
13059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13060 }
13061 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13062 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13063 if (!SWIG_IsOK(res2)) {
13064 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13065 }
13066 arg2 = reinterpret_cast< wxWindow * >(argp2);
13067 if (obj2) {
13068 ecode3 = SWIG_AsVal_int(obj2, &val3);
13069 if (!SWIG_IsOK(ecode3)) {
13070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13071 }
13072 arg3 = static_cast< int >(val3);
13073 }
13074 {
13075 PyThreadState* __tstate = wxPyBeginAllowThreads();
13076 result = (bool)(arg1)->Create(arg2,arg3);
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 {
13081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13082 }
13083 return resultobj;
13084fail:
13085 return NULL;
13086}
13087
13088
13089SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13090 PyObject *resultobj = 0;
13091 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13092 wxPoint *arg2 = 0 ;
13093 wxSize *arg3 = 0 ;
13094 void *argp1 = 0 ;
13095 int res1 = 0 ;
13096 wxPoint temp2 ;
13097 wxSize temp3 ;
13098 PyObject * obj0 = 0 ;
13099 PyObject * obj1 = 0 ;
13100 PyObject * obj2 = 0 ;
13101 char * kwnames[] = {
13102 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13103 };
13104
13105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13107 if (!SWIG_IsOK(res1)) {
13108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13109 }
13110 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13111 {
13112 arg2 = &temp2;
13113 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13114 }
13115 {
13116 arg3 = &temp3;
13117 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13118 }
13119 {
13120 PyThreadState* __tstate = wxPyBeginAllowThreads();
13121 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 resultobj = SWIG_Py_Void();
13126 return resultobj;
13127fail:
13128 return NULL;
d55e5bfc
RD
13129}
13130
13131
554f62e9
RD
13132SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13133 PyObject *obj;
13134 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13135 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13136 return SWIG_Py_Void();
d55e5bfc
RD
13137}
13138
554f62e9
RD
13139SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13140 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13141}
13142
554f62e9
RD
13143SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13144 PyObject *resultobj = 0;
13145 wxWindow *arg1 = (wxWindow *) 0 ;
13146 int arg2 = (int) wxBORDER_NONE ;
13147 wxPyPopupTransientWindow *result = 0 ;
13148 void *argp1 = 0 ;
13149 int res1 = 0 ;
13150 int val2 ;
13151 int ecode2 = 0 ;
13152 PyObject * obj0 = 0 ;
13153 PyObject * obj1 = 0 ;
13154 char * kwnames[] = {
13155 (char *) "parent",(char *) "style", NULL
13156 };
13157
13158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13160 if (!SWIG_IsOK(res1)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13162 }
13163 arg1 = reinterpret_cast< wxWindow * >(argp1);
13164 if (obj1) {
13165 ecode2 = SWIG_AsVal_int(obj1, &val2);
13166 if (!SWIG_IsOK(ecode2)) {
13167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13168 }
13169 arg2 = static_cast< int >(val2);
13170 }
13171 {
13172 if (!wxPyCheckForApp()) SWIG_fail;
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13179 return resultobj;
13180fail:
13181 return NULL;
d55e5bfc
RD
13182}
13183
13184
554f62e9
RD
13185SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13186 PyObject *resultobj = 0;
13187 wxPyPopupTransientWindow *result = 0 ;
13188
13189 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13190 {
13191 if (!wxPyCheckForApp()) SWIG_fail;
13192 PyThreadState* __tstate = wxPyBeginAllowThreads();
13193 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13198 return resultobj;
13199fail:
13200 return NULL;
13201}
13202
13203
13204SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj = 0;
13206 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13207 PyObject *arg2 = (PyObject *) 0 ;
13208 PyObject *arg3 = (PyObject *) 0 ;
13209 void *argp1 = 0 ;
13210 int res1 = 0 ;
13211 PyObject * obj0 = 0 ;
13212 PyObject * obj1 = 0 ;
13213 PyObject * obj2 = 0 ;
13214 char * kwnames[] = {
13215 (char *) "self",(char *) "self",(char *) "_class", NULL
13216 };
13217
13218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13220 if (!SWIG_IsOK(res1)) {
13221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13222 }
13223 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13224 arg2 = obj1;
13225 arg3 = obj2;
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 (arg1)->_setCallbackInfo(arg2,arg3);
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 resultobj = SWIG_Py_Void();
13233 return resultobj;
13234fail:
13235 return NULL;
13236}
13237
13238
13239SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj = 0;
13241 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13242 wxWindow *arg2 = (wxWindow *) NULL ;
13243 void *argp1 = 0 ;
13244 int res1 = 0 ;
13245 void *argp2 = 0 ;
13246 int res2 = 0 ;
13247 PyObject * obj0 = 0 ;
13248 PyObject * obj1 = 0 ;
13249 char * kwnames[] = {
13250 (char *) "self",(char *) "focus", NULL
13251 };
13252
13253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13255 if (!SWIG_IsOK(res1)) {
13256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13257 }
13258 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13259 if (obj1) {
13260 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13261 if (!SWIG_IsOK(res2)) {
13262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
093d3ff1 13263 }
554f62e9
RD
13264 arg2 = reinterpret_cast< wxWindow * >(argp2);
13265 }
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 (arg1)->Popup(arg2);
13269 wxPyEndAllowThreads(__tstate);
13270 if (PyErr_Occurred()) SWIG_fail;
13271 }
13272 resultobj = SWIG_Py_Void();
13273 return resultobj;
13274fail:
13275 return NULL;
d55e5bfc
RD
13276}
13277
13278
554f62e9
RD
13279SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13280 PyObject *resultobj = 0;
13281 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13282 void *argp1 = 0 ;
13283 int res1 = 0 ;
13284 PyObject *swig_obj[1] ;
13285
13286 if (!args) SWIG_fail;
13287 swig_obj[0] = args;
13288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13289 if (!SWIG_IsOK(res1)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13291 }
13292 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13293 {
13294 PyThreadState* __tstate = wxPyBeginAllowThreads();
13295 (arg1)->Dismiss();
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 resultobj = SWIG_Py_Void();
13300 return resultobj;
13301fail:
13302 return NULL;
13303}
13304
13305
13306SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13307 PyObject *obj;
13308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13310 return SWIG_Py_Void();
13311}
13312
13313SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13314 return SWIG_Python_InitShadowInstance(args);
13315}
13316
13317SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13318 PyObject *resultobj = 0;
13319 wxWindow *arg1 = (wxWindow *) 0 ;
13320 wxString *arg2 = 0 ;
13321 int arg3 = (int) 100 ;
13322 wxRect *arg4 = (wxRect *) NULL ;
13323 wxTipWindow *result = 0 ;
13324 void *argp1 = 0 ;
13325 int res1 = 0 ;
13326 bool temp2 = false ;
13327 int val3 ;
13328 int ecode3 = 0 ;
13329 void *argp4 = 0 ;
13330 int res4 = 0 ;
13331 PyObject * obj0 = 0 ;
13332 PyObject * obj1 = 0 ;
13333 PyObject * obj2 = 0 ;
13334 PyObject * obj3 = 0 ;
13335 char * kwnames[] = {
13336 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13337 };
13338
13339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13341 if (!SWIG_IsOK(res1)) {
13342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13343 }
13344 arg1 = reinterpret_cast< wxWindow * >(argp1);
13345 {
13346 arg2 = wxString_in_helper(obj1);
13347 if (arg2 == NULL) SWIG_fail;
13348 temp2 = true;
13349 }
13350 if (obj2) {
13351 ecode3 = SWIG_AsVal_int(obj2, &val3);
13352 if (!SWIG_IsOK(ecode3)) {
13353 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13354 }
13355 arg3 = static_cast< int >(val3);
13356 }
13357 if (obj3) {
13358 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13359 if (!SWIG_IsOK(res4)) {
13360 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
093d3ff1 13361 }
554f62e9
RD
13362 arg4 = reinterpret_cast< wxRect * >(argp4);
13363 }
13364 {
13365 if (!wxPyCheckForApp()) SWIG_fail;
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13368 wxPyEndAllowThreads(__tstate);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13372 {
13373 if (temp2)
13374 delete arg2;
13375 }
13376 return resultobj;
13377fail:
13378 {
13379 if (temp2)
13380 delete arg2;
13381 }
13382 return NULL;
b519803b
RD
13383}
13384
13385
554f62e9
RD
13386SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13387 PyObject *resultobj = 0;
13388 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13389 wxRect *arg2 = 0 ;
13390 void *argp1 = 0 ;
13391 int res1 = 0 ;
13392 wxRect temp2 ;
13393 PyObject * obj0 = 0 ;
13394 PyObject * obj1 = 0 ;
13395 char * kwnames[] = {
13396 (char *) "self",(char *) "rectBound", NULL
13397 };
13398
13399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13401 if (!SWIG_IsOK(res1)) {
13402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13403 }
13404 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13405 {
13406 arg2 = &temp2;
13407 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13408 }
13409 {
13410 PyThreadState* __tstate = wxPyBeginAllowThreads();
13411 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 resultobj = SWIG_Py_Void();
13416 return resultobj;
13417fail:
13418 return NULL;
b519803b
RD
13419}
13420
13421
554f62e9
RD
13422SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13423 PyObject *resultobj = 0;
13424 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13425 void *argp1 = 0 ;
13426 int res1 = 0 ;
13427 PyObject *swig_obj[1] ;
13428
13429 if (!args) SWIG_fail;
13430 swig_obj[0] = args;
13431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13432 if (!SWIG_IsOK(res1)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13434 }
13435 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13436 {
13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
13438 (arg1)->Close();
13439 wxPyEndAllowThreads(__tstate);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 }
13442 resultobj = SWIG_Py_Void();
13443 return resultobj;
13444fail:
13445 return NULL;
13446}
13447
13448
13449SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13450 PyObject *obj;
13451 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13452 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13453 return SWIG_Py_Void();
13454}
13455
13456SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13457 return SWIG_Python_InitShadowInstance(args);
13458}
13459
13460SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj = 0;
13462 wxWindow *arg1 = (wxWindow *) 0 ;
13463 int arg2 = (int) wxID_ANY ;
13464 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13465 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13466 wxSize const &arg4_defvalue = wxDefaultSize ;
13467 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13468 long arg5 = (long) 0 ;
13469 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13470 wxString *arg6 = (wxString *) &arg6_defvalue ;
13471 wxPyVScrolledWindow *result = 0 ;
13472 void *argp1 = 0 ;
13473 int res1 = 0 ;
13474 int val2 ;
13475 int ecode2 = 0 ;
13476 wxPoint temp3 ;
13477 wxSize temp4 ;
13478 long val5 ;
13479 int ecode5 = 0 ;
13480 bool temp6 = false ;
13481 PyObject * obj0 = 0 ;
13482 PyObject * obj1 = 0 ;
13483 PyObject * obj2 = 0 ;
13484 PyObject * obj3 = 0 ;
13485 PyObject * obj4 = 0 ;
13486 PyObject * obj5 = 0 ;
13487 char * kwnames[] = {
13488 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13489 };
13490
13491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13493 if (!SWIG_IsOK(res1)) {
13494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13495 }
13496 arg1 = reinterpret_cast< wxWindow * >(argp1);
13497 if (obj1) {
13498 ecode2 = SWIG_AsVal_int(obj1, &val2);
13499 if (!SWIG_IsOK(ecode2)) {
13500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13501 }
13502 arg2 = static_cast< int >(val2);
13503 }
13504 if (obj2) {
093d3ff1 13505 {
554f62e9
RD
13506 arg3 = &temp3;
13507 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 13508 }
554f62e9
RD
13509 }
13510 if (obj3) {
d55e5bfc 13511 {
554f62e9
RD
13512 arg4 = &temp4;
13513 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13514 }
554f62e9
RD
13515 }
13516 if (obj4) {
13517 ecode5 = SWIG_AsVal_long(obj4, &val5);
13518 if (!SWIG_IsOK(ecode5)) {
13519 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13520 }
13521 arg5 = static_cast< long >(val5);
13522 }
13523 if (obj5) {
093d3ff1 13524 {
554f62e9
RD
13525 arg6 = wxString_in_helper(obj5);
13526 if (arg6 == NULL) SWIG_fail;
13527 temp6 = true;
093d3ff1 13528 }
554f62e9
RD
13529 }
13530 {
13531 if (!wxPyCheckForApp()) SWIG_fail;
13532 PyThreadState* __tstate = wxPyBeginAllowThreads();
13533 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13534 wxPyEndAllowThreads(__tstate);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13538 {
13539 if (temp6)
13540 delete arg6;
13541 }
13542 return resultobj;
13543fail:
13544 {
13545 if (temp6)
13546 delete arg6;
13547 }
13548 return NULL;
d55e5bfc
RD
13549}
13550
13551
554f62e9
RD
13552SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13553 PyObject *resultobj = 0;
13554 wxPyVScrolledWindow *result = 0 ;
13555
13556 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13557 {
13558 if (!wxPyCheckForApp()) SWIG_fail;
13559 PyThreadState* __tstate = wxPyBeginAllowThreads();
13560 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13565 return resultobj;
13566fail:
13567 return NULL;
13568}
13569
13570
13571SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13572 PyObject *resultobj = 0;
13573 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13574 PyObject *arg2 = (PyObject *) 0 ;
13575 PyObject *arg3 = (PyObject *) 0 ;
13576 void *argp1 = 0 ;
13577 int res1 = 0 ;
13578 PyObject * obj0 = 0 ;
13579 PyObject * obj1 = 0 ;
13580 PyObject * obj2 = 0 ;
13581 char * kwnames[] = {
13582 (char *) "self",(char *) "self",(char *) "_class", NULL
13583 };
13584
13585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13587 if (!SWIG_IsOK(res1)) {
13588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13589 }
13590 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13591 arg2 = obj1;
13592 arg3 = obj2;
13593 {
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 (arg1)->_setCallbackInfo(arg2,arg3);
13596 wxPyEndAllowThreads(__tstate);
13597 if (PyErr_Occurred()) SWIG_fail;
13598 }
13599 resultobj = SWIG_Py_Void();
13600 return resultobj;
13601fail:
13602 return NULL;
13603}
13604
13605
13606SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj = 0;
13608 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13609 wxWindow *arg2 = (wxWindow *) 0 ;
13610 int arg3 = (int) wxID_ANY ;
13611 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13612 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13613 wxSize const &arg5_defvalue = wxDefaultSize ;
13614 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13615 long arg6 = (long) 0 ;
13616 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13617 wxString *arg7 = (wxString *) &arg7_defvalue ;
13618 bool result;
13619 void *argp1 = 0 ;
13620 int res1 = 0 ;
13621 void *argp2 = 0 ;
13622 int res2 = 0 ;
13623 int val3 ;
13624 int ecode3 = 0 ;
13625 wxPoint temp4 ;
13626 wxSize temp5 ;
13627 long val6 ;
13628 int ecode6 = 0 ;
13629 bool temp7 = false ;
13630 PyObject * obj0 = 0 ;
13631 PyObject * obj1 = 0 ;
13632 PyObject * obj2 = 0 ;
13633 PyObject * obj3 = 0 ;
13634 PyObject * obj4 = 0 ;
13635 PyObject * obj5 = 0 ;
13636 PyObject * obj6 = 0 ;
13637 char * kwnames[] = {
13638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13639 };
13640
13641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13643 if (!SWIG_IsOK(res1)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13645 }
13646 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13647 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13648 if (!SWIG_IsOK(res2)) {
13649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13650 }
13651 arg2 = reinterpret_cast< wxWindow * >(argp2);
13652 if (obj2) {
13653 ecode3 = SWIG_AsVal_int(obj2, &val3);
13654 if (!SWIG_IsOK(ecode3)) {
13655 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13656 }
13657 arg3 = static_cast< int >(val3);
13658 }
13659 if (obj3) {
d55e5bfc 13660 {
554f62e9
RD
13661 arg4 = &temp4;
13662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13663 }
554f62e9
RD
13664 }
13665 if (obj4) {
d55e5bfc 13666 {
554f62e9
RD
13667 arg5 = &temp5;
13668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 13669 }
554f62e9
RD
13670 }
13671 if (obj5) {
13672 ecode6 = SWIG_AsVal_long(obj5, &val6);
13673 if (!SWIG_IsOK(ecode6)) {
13674 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13675 }
13676 arg6 = static_cast< long >(val6);
13677 }
13678 if (obj6) {
093d3ff1 13679 {
554f62e9
RD
13680 arg7 = wxString_in_helper(obj6);
13681 if (arg7 == NULL) SWIG_fail;
13682 temp7 = true;
093d3ff1 13683 }
554f62e9
RD
13684 }
13685 {
13686 PyThreadState* __tstate = wxPyBeginAllowThreads();
13687 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13688 wxPyEndAllowThreads(__tstate);
13689 if (PyErr_Occurred()) SWIG_fail;
13690 }
13691 {
13692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13693 }
13694 {
13695 if (temp7)
13696 delete arg7;
13697 }
13698 return resultobj;
13699fail:
13700 {
13701 if (temp7)
13702 delete arg7;
13703 }
13704 return NULL;
13705}
13706
13707
13708SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13709 PyObject *resultobj = 0;
13710 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13711 size_t arg2 ;
13712 void *argp1 = 0 ;
13713 int res1 = 0 ;
13714 size_t val2 ;
13715 int ecode2 = 0 ;
13716 PyObject * obj0 = 0 ;
13717 PyObject * obj1 = 0 ;
13718 char * kwnames[] = {
13719 (char *) "self",(char *) "count", NULL
13720 };
13721
13722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13724 if (!SWIG_IsOK(res1)) {
13725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13726 }
13727 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13728 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13729 if (!SWIG_IsOK(ecode2)) {
13730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13731 }
13732 arg2 = static_cast< size_t >(val2);
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 (arg1)->SetLineCount(arg2);
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 resultobj = SWIG_Py_Void();
13740 return resultobj;
13741fail:
13742 return NULL;
13743}
13744
13745
13746SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13747 PyObject *resultobj = 0;
13748 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13749 size_t arg2 ;
13750 bool result;
13751 void *argp1 = 0 ;
13752 int res1 = 0 ;
13753 size_t val2 ;
13754 int ecode2 = 0 ;
13755 PyObject * obj0 = 0 ;
13756 PyObject * obj1 = 0 ;
13757 char * kwnames[] = {
13758 (char *) "self",(char *) "line", NULL
13759 };
13760
13761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13763 if (!SWIG_IsOK(res1)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13765 }
13766 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13767 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13768 if (!SWIG_IsOK(ecode2)) {
13769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13770 }
13771 arg2 = static_cast< size_t >(val2);
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 result = (bool)(arg1)->ScrollToLine(arg2);
13775 wxPyEndAllowThreads(__tstate);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 }
13778 {
13779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13780 }
13781 return resultobj;
13782fail:
13783 return NULL;
13784}
13785
13786
13787SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13788 PyObject *resultobj = 0;
13789 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13790 size_t arg2 ;
13791 void *argp1 = 0 ;
13792 int res1 = 0 ;
13793 size_t val2 ;
13794 int ecode2 = 0 ;
13795 PyObject * obj0 = 0 ;
13796 PyObject * obj1 = 0 ;
13797 char * kwnames[] = {
13798 (char *) "self",(char *) "line", NULL
13799 };
13800
13801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13803 if (!SWIG_IsOK(res1)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13805 }
13806 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13807 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13808 if (!SWIG_IsOK(ecode2)) {
13809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13810 }
13811 arg2 = static_cast< size_t >(val2);
13812 {
13813 PyThreadState* __tstate = wxPyBeginAllowThreads();
13814 (arg1)->RefreshLine(arg2);
13815 wxPyEndAllowThreads(__tstate);
13816 if (PyErr_Occurred()) SWIG_fail;
13817 }
13818 resultobj = SWIG_Py_Void();
13819 return resultobj;
13820fail:
13821 return NULL;
13822}
13823
13824
13825SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13826 PyObject *resultobj = 0;
13827 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13828 size_t arg2 ;
13829 size_t arg3 ;
13830 void *argp1 = 0 ;
13831 int res1 = 0 ;
13832 size_t val2 ;
13833 int ecode2 = 0 ;
13834 size_t val3 ;
13835 int ecode3 = 0 ;
13836 PyObject * obj0 = 0 ;
13837 PyObject * obj1 = 0 ;
13838 PyObject * obj2 = 0 ;
13839 char * kwnames[] = {
f460c29d 13840 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
13841 };
13842
13843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13845 if (!SWIG_IsOK(res1)) {
13846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13847 }
13848 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13849 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13850 if (!SWIG_IsOK(ecode2)) {
13851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13852 }
13853 arg2 = static_cast< size_t >(val2);
13854 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13855 if (!SWIG_IsOK(ecode3)) {
13856 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13857 }
13858 arg3 = static_cast< size_t >(val3);
13859 {
13860 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 (arg1)->RefreshLines(arg2,arg3);
13862 wxPyEndAllowThreads(__tstate);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 resultobj = SWIG_Py_Void();
13866 return resultobj;
13867fail:
13868 return NULL;
13869}
13870
13871
13872SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj = 0;
13874 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13875 int arg2 ;
13876 int arg3 ;
13877 int result;
13878 void *argp1 = 0 ;
13879 int res1 = 0 ;
13880 int val2 ;
13881 int ecode2 = 0 ;
13882 int val3 ;
13883 int ecode3 = 0 ;
13884 PyObject * obj0 = 0 ;
13885 PyObject * obj1 = 0 ;
13886 PyObject * obj2 = 0 ;
13887 char * kwnames[] = {
13888 (char *) "self",(char *) "x",(char *) "y", NULL
13889 };
13890
13891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13893 if (!SWIG_IsOK(res1)) {
13894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13895 }
13896 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13897 ecode2 = SWIG_AsVal_int(obj1, &val2);
13898 if (!SWIG_IsOK(ecode2)) {
13899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13900 }
13901 arg2 = static_cast< int >(val2);
13902 ecode3 = SWIG_AsVal_int(obj2, &val3);
13903 if (!SWIG_IsOK(ecode3)) {
13904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13905 }
13906 arg3 = static_cast< int >(val3);
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 resultobj = SWIG_From_int(static_cast< int >(result));
13914 return resultobj;
13915fail:
13916 return NULL;
13917}
13918
13919
13920SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj = 0;
13922 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13923 wxPoint *arg2 = 0 ;
13924 int result;
13925 void *argp1 = 0 ;
13926 int res1 = 0 ;
13927 wxPoint temp2 ;
13928 PyObject * obj0 = 0 ;
13929 PyObject * obj1 = 0 ;
13930 char * kwnames[] = {
13931 (char *) "self",(char *) "pt", NULL
13932 };
13933
13934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13936 if (!SWIG_IsOK(res1)) {
13937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13938 }
13939 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13940 {
13941 arg2 = &temp2;
13942 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13943 }
13944 {
13945 PyThreadState* __tstate = wxPyBeginAllowThreads();
13946 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 resultobj = SWIG_From_int(static_cast< int >(result));
13951 return resultobj;
13952fail:
13953 return NULL;
f20a2e1f
RD
13954}
13955
13956
554f62e9
RD
13957SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13958 PyObject *resultobj = 0;
13959 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13960 void *argp1 = 0 ;
13961 int res1 = 0 ;
13962 PyObject *swig_obj[1] ;
13963
13964 if (!args) SWIG_fail;
13965 swig_obj[0] = args;
13966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13967 if (!SWIG_IsOK(res1)) {
13968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13969 }
13970 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 (arg1)->RefreshAll();
13974 wxPyEndAllowThreads(__tstate);
13975 if (PyErr_Occurred()) SWIG_fail;
13976 }
13977 resultobj = SWIG_Py_Void();
13978 return resultobj;
13979fail:
13980 return NULL;
d55e5bfc
RD
13981}
13982
13983
554f62e9
RD
13984SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13985 PyObject *resultobj = 0;
13986 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13987 size_t result;
13988 void *argp1 = 0 ;
13989 int res1 = 0 ;
13990 PyObject *swig_obj[1] ;
13991
13992 if (!args) SWIG_fail;
13993 swig_obj[0] = args;
13994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13995 if (!SWIG_IsOK(res1)) {
13996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13997 }
13998 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13999 {
14000 PyThreadState* __tstate = wxPyBeginAllowThreads();
14001 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14006 return resultobj;
14007fail:
14008 return NULL;
d55e5bfc
RD
14009}
14010
14011
554f62e9
RD
14012SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14013 PyObject *resultobj = 0;
14014 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14015 size_t result;
14016 void *argp1 = 0 ;
14017 int res1 = 0 ;
14018 PyObject *swig_obj[1] ;
14019
14020 if (!args) SWIG_fail;
14021 swig_obj[0] = args;
14022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14023 if (!SWIG_IsOK(res1)) {
14024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14025 }
14026 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14030 wxPyEndAllowThreads(__tstate);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14034 return resultobj;
14035fail:
14036 return NULL;
d55e5bfc
RD
14037}
14038
14039
554f62e9
RD
14040SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14041 PyObject *resultobj = 0;
14042 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14043 size_t result;
14044 void *argp1 = 0 ;
14045 int res1 = 0 ;
14046 PyObject *swig_obj[1] ;
14047
14048 if (!args) SWIG_fail;
14049 swig_obj[0] = args;
14050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14051 if (!SWIG_IsOK(res1)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14053 }
14054 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14055 {
14056 PyThreadState* __tstate = wxPyBeginAllowThreads();
14057 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14062 return resultobj;
14063fail:
14064 return NULL;
14065}
14066
14067
14068SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj = 0;
14070 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14071 size_t arg2 ;
14072 bool result;
14073 void *argp1 = 0 ;
14074 int res1 = 0 ;
14075 size_t val2 ;
14076 int ecode2 = 0 ;
14077 PyObject * obj0 = 0 ;
14078 PyObject * obj1 = 0 ;
14079 char * kwnames[] = {
14080 (char *) "self",(char *) "line", NULL
14081 };
14082
14083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14085 if (!SWIG_IsOK(res1)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14087 }
14088 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14089 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14090 if (!SWIG_IsOK(ecode2)) {
14091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14092 }
14093 arg2 = static_cast< size_t >(val2);
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
14096 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 {
14101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14102 }
14103 return resultobj;
14104fail:
14105 return NULL;
d55e5bfc
RD
14106}
14107
14108
554f62e9
RD
14109SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14110 PyObject *resultobj = 0;
14111 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14112 size_t result;
14113 void *argp1 = 0 ;
14114 int res1 = 0 ;
14115 PyObject *swig_obj[1] ;
14116
14117 if (!args) SWIG_fail;
14118 swig_obj[0] = args;
14119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14120 if (!SWIG_IsOK(res1)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14122 }
14123 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14124 {
14125 PyThreadState* __tstate = wxPyBeginAllowThreads();
14126 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14131 return resultobj;
14132fail:
14133 return NULL;
d55e5bfc
RD
14134}
14135
14136
554f62e9
RD
14137SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14138 PyObject *resultobj = 0;
14139 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14140 size_t result;
14141 void *argp1 = 0 ;
14142 int res1 = 0 ;
14143 PyObject *swig_obj[1] ;
14144
14145 if (!args) SWIG_fail;
14146 swig_obj[0] = args;
14147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14148 if (!SWIG_IsOK(res1)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14150 }
14151 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14152 {
14153 PyThreadState* __tstate = wxPyBeginAllowThreads();
14154 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14155 wxPyEndAllowThreads(__tstate);
14156 if (PyErr_Occurred()) SWIG_fail;
14157 }
14158 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14159 return resultobj;
14160fail:
14161 return NULL;
14162}
14163
14164
14165SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14166 PyObject *resultobj = 0;
14167 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14168 size_t arg2 ;
14169 bool arg3 = (bool) false ;
14170 size_t result;
14171 void *argp1 = 0 ;
14172 int res1 = 0 ;
14173 size_t val2 ;
14174 int ecode2 = 0 ;
14175 bool val3 ;
14176 int ecode3 = 0 ;
14177 PyObject * obj0 = 0 ;
14178 PyObject * obj1 = 0 ;
14179 PyObject * obj2 = 0 ;
14180 char * kwnames[] = {
14181 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14182 };
14183
14184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14186 if (!SWIG_IsOK(res1)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14188 }
14189 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14190 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14191 if (!SWIG_IsOK(ecode2)) {
14192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14193 }
14194 arg2 = static_cast< size_t >(val2);
14195 if (obj2) {
14196 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14197 if (!SWIG_IsOK(ecode3)) {
14198 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14199 }
14200 arg3 = static_cast< bool >(val3);
14201 }
14202 {
14203 PyThreadState* __tstate = wxPyBeginAllowThreads();
14204 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14209 return resultobj;
14210fail:
14211 return NULL;
14212}
14213
14214
14215SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14216 PyObject *resultobj = 0;
14217 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14218 size_t arg2 ;
14219 size_t arg3 ;
14220 int result;
14221 void *argp1 = 0 ;
14222 int res1 = 0 ;
14223 size_t val2 ;
14224 int ecode2 = 0 ;
14225 size_t val3 ;
14226 int ecode3 = 0 ;
14227 PyObject * obj0 = 0 ;
14228 PyObject * obj1 = 0 ;
14229 PyObject * obj2 = 0 ;
14230 char * kwnames[] = {
14231 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14232 };
14233
14234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14236 if (!SWIG_IsOK(res1)) {
14237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14238 }
14239 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14240 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14241 if (!SWIG_IsOK(ecode2)) {
14242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14243 }
14244 arg2 = static_cast< size_t >(val2);
14245 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14246 if (!SWIG_IsOK(ecode3)) {
14247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14248 }
14249 arg3 = static_cast< size_t >(val3);
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 resultobj = SWIG_From_int(static_cast< int >(result));
14257 return resultobj;
14258fail:
14259 return NULL;
d55e5bfc
RD
14260}
14261
14262
554f62e9
RD
14263SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14264 PyObject *obj;
14265 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14266 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14267 return SWIG_Py_Void();
d55e5bfc
RD
14268}
14269
554f62e9
RD
14270SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14271 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14272}
14273
554f62e9
RD
14274SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14275 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14276 return 1;
d55e5bfc
RD
14277}
14278
14279
554f62e9
RD
14280SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14281 PyObject *pyobj = 0;
14282
14283 {
d55e5bfc 14284#if wxUSE_UNICODE
554f62e9 14285 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14286#else
554f62e9 14287 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14288#endif
554f62e9
RD
14289 }
14290 return pyobj;
14291}
14292
14293
14294SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14295 PyObject *resultobj = 0;
14296 wxWindow *arg1 = (wxWindow *) 0 ;
14297 int arg2 = (int) wxID_ANY ;
14298 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14299 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14300 wxSize const &arg4_defvalue = wxDefaultSize ;
14301 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14302 long arg5 = (long) 0 ;
14303 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14304 wxString *arg6 = (wxString *) &arg6_defvalue ;
14305 wxPyVListBox *result = 0 ;
14306 void *argp1 = 0 ;
14307 int res1 = 0 ;
14308 int val2 ;
14309 int ecode2 = 0 ;
14310 wxPoint temp3 ;
14311 wxSize temp4 ;
14312 long val5 ;
14313 int ecode5 = 0 ;
14314 bool temp6 = false ;
14315 PyObject * obj0 = 0 ;
14316 PyObject * obj1 = 0 ;
14317 PyObject * obj2 = 0 ;
14318 PyObject * obj3 = 0 ;
14319 PyObject * obj4 = 0 ;
14320 PyObject * obj5 = 0 ;
14321 char * kwnames[] = {
14322 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14323 };
14324
14325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14327 if (!SWIG_IsOK(res1)) {
14328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14329 }
14330 arg1 = reinterpret_cast< wxWindow * >(argp1);
14331 if (obj1) {
14332 ecode2 = SWIG_AsVal_int(obj1, &val2);
14333 if (!SWIG_IsOK(ecode2)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14335 }
14336 arg2 = static_cast< int >(val2);
14337 }
14338 if (obj2) {
d55e5bfc 14339 {
554f62e9
RD
14340 arg3 = &temp3;
14341 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14342 }
554f62e9
RD
14343 }
14344 if (obj3) {
d55e5bfc 14345 {
554f62e9
RD
14346 arg4 = &temp4;
14347 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14348 }
554f62e9
RD
14349 }
14350 if (obj4) {
14351 ecode5 = SWIG_AsVal_long(obj4, &val5);
14352 if (!SWIG_IsOK(ecode5)) {
14353 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14354 }
14355 arg5 = static_cast< long >(val5);
14356 }
14357 if (obj5) {
d55e5bfc 14358 {
554f62e9
RD
14359 arg6 = wxString_in_helper(obj5);
14360 if (arg6 == NULL) SWIG_fail;
14361 temp6 = true;
14362 }
14363 }
14364 {
14365 if (!wxPyCheckForApp()) SWIG_fail;
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14368 wxPyEndAllowThreads(__tstate);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
14371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14372 {
14373 if (temp6)
14374 delete arg6;
14375 }
14376 return resultobj;
14377fail:
14378 {
14379 if (temp6)
14380 delete arg6;
14381 }
14382 return NULL;
d55e5bfc
RD
14383}
14384
14385
554f62e9
RD
14386SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14387 PyObject *resultobj = 0;
14388 wxPyVListBox *result = 0 ;
14389
14390 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14391 {
14392 if (!wxPyCheckForApp()) SWIG_fail;
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (wxPyVListBox *)new wxPyVListBox();
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14399 return resultobj;
14400fail:
14401 return NULL;
14402}
14403
14404
14405SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14406 PyObject *resultobj = 0;
14407 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14408 PyObject *arg2 = (PyObject *) 0 ;
14409 PyObject *arg3 = (PyObject *) 0 ;
14410 void *argp1 = 0 ;
14411 int res1 = 0 ;
14412 PyObject * obj0 = 0 ;
14413 PyObject * obj1 = 0 ;
14414 PyObject * obj2 = 0 ;
14415 char * kwnames[] = {
14416 (char *) "self",(char *) "self",(char *) "_class", NULL
14417 };
14418
14419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14421 if (!SWIG_IsOK(res1)) {
14422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14423 }
14424 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14425 arg2 = obj1;
14426 arg3 = obj2;
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 (arg1)->_setCallbackInfo(arg2,arg3);
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 resultobj = SWIG_Py_Void();
14434 return resultobj;
14435fail:
14436 return NULL;
14437}
14438
14439
14440SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj = 0;
14442 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14443 wxWindow *arg2 = (wxWindow *) 0 ;
14444 int arg3 = (int) wxID_ANY ;
14445 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14446 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14447 wxSize const &arg5_defvalue = wxDefaultSize ;
14448 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14449 long arg6 = (long) 0 ;
14450 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14451 wxString *arg7 = (wxString *) &arg7_defvalue ;
14452 bool result;
14453 void *argp1 = 0 ;
14454 int res1 = 0 ;
14455 void *argp2 = 0 ;
14456 int res2 = 0 ;
14457 int val3 ;
14458 int ecode3 = 0 ;
14459 wxPoint temp4 ;
14460 wxSize temp5 ;
14461 long val6 ;
14462 int ecode6 = 0 ;
14463 bool temp7 = false ;
14464 PyObject * obj0 = 0 ;
14465 PyObject * obj1 = 0 ;
14466 PyObject * obj2 = 0 ;
14467 PyObject * obj3 = 0 ;
14468 PyObject * obj4 = 0 ;
14469 PyObject * obj5 = 0 ;
14470 PyObject * obj6 = 0 ;
14471 char * kwnames[] = {
14472 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14473 };
14474
14475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14477 if (!SWIG_IsOK(res1)) {
14478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14479 }
14480 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14481 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14482 if (!SWIG_IsOK(res2)) {
14483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14484 }
14485 arg2 = reinterpret_cast< wxWindow * >(argp2);
14486 if (obj2) {
14487 ecode3 = SWIG_AsVal_int(obj2, &val3);
14488 if (!SWIG_IsOK(ecode3)) {
14489 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14490 }
14491 arg3 = static_cast< int >(val3);
14492 }
14493 if (obj3) {
d55e5bfc 14494 {
554f62e9
RD
14495 arg4 = &temp4;
14496 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14497 }
554f62e9
RD
14498 }
14499 if (obj4) {
d55e5bfc 14500 {
554f62e9
RD
14501 arg5 = &temp5;
14502 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14503 }
554f62e9
RD
14504 }
14505 if (obj5) {
14506 ecode6 = SWIG_AsVal_long(obj5, &val6);
14507 if (!SWIG_IsOK(ecode6)) {
14508 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14509 }
14510 arg6 = static_cast< long >(val6);
14511 }
14512 if (obj6) {
d55e5bfc 14513 {
554f62e9
RD
14514 arg7 = wxString_in_helper(obj6);
14515 if (arg7 == NULL) SWIG_fail;
14516 temp7 = true;
d55e5bfc 14517 }
554f62e9
RD
14518 }
14519 {
14520 PyThreadState* __tstate = wxPyBeginAllowThreads();
14521 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 {
14526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14527 }
14528 {
14529 if (temp7)
14530 delete arg7;
14531 }
14532 return resultobj;
14533fail:
14534 {
14535 if (temp7)
14536 delete arg7;
14537 }
14538 return NULL;
d55e5bfc
RD
14539}
14540
14541
554f62e9
RD
14542SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14543 PyObject *resultobj = 0;
14544 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14545 size_t result;
14546 void *argp1 = 0 ;
14547 int res1 = 0 ;
14548 PyObject *swig_obj[1] ;
14549
14550 if (!args) SWIG_fail;
14551 swig_obj[0] = args;
14552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14553 if (!SWIG_IsOK(res1)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14555 }
14556 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14557 {
14558 PyThreadState* __tstate = wxPyBeginAllowThreads();
14559 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14564 return resultobj;
14565fail:
14566 return NULL;
d55e5bfc
RD
14567}
14568
14569
554f62e9
RD
14570SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14571 PyObject *resultobj = 0;
14572 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14573 bool result;
14574 void *argp1 = 0 ;
14575 int res1 = 0 ;
14576 PyObject *swig_obj[1] ;
14577
14578 if (!args) SWIG_fail;
14579 swig_obj[0] = args;
14580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14581 if (!SWIG_IsOK(res1)) {
14582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14583 }
14584 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 {
14592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14593 }
14594 return resultobj;
14595fail:
14596 return NULL;
d55e5bfc
RD
14597}
14598
14599
554f62e9
RD
14600SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14601 PyObject *resultobj = 0;
14602 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14603 int result;
14604 void *argp1 = 0 ;
14605 int res1 = 0 ;
14606 PyObject *swig_obj[1] ;
14607
14608 if (!args) SWIG_fail;
14609 swig_obj[0] = args;
14610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14611 if (!SWIG_IsOK(res1)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14613 }
14614 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14615 {
14616 PyThreadState* __tstate = wxPyBeginAllowThreads();
14617 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 resultobj = SWIG_From_int(static_cast< int >(result));
14622 return resultobj;
14623fail:
14624 return NULL;
14625}
14626
14627
14628SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj = 0;
14630 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14631 size_t arg2 ;
14632 bool result;
14633 void *argp1 = 0 ;
14634 int res1 = 0 ;
14635 size_t val2 ;
14636 int ecode2 = 0 ;
14637 PyObject * obj0 = 0 ;
14638 PyObject * obj1 = 0 ;
14639 char * kwnames[] = {
14640 (char *) "self",(char *) "item", NULL
14641 };
14642
14643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14645 if (!SWIG_IsOK(res1)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14647 }
14648 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14649 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14650 if (!SWIG_IsOK(ecode2)) {
14651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14652 }
14653 arg2 = static_cast< size_t >(val2);
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14657 wxPyEndAllowThreads(__tstate);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 }
14660 {
14661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14662 }
14663 return resultobj;
14664fail:
14665 return NULL;
14666}
14667
14668
14669SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14670 PyObject *resultobj = 0;
14671 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14672 size_t arg2 ;
14673 bool result;
14674 void *argp1 = 0 ;
14675 int res1 = 0 ;
14676 size_t val2 ;
14677 int ecode2 = 0 ;
14678 PyObject * obj0 = 0 ;
14679 PyObject * obj1 = 0 ;
14680 char * kwnames[] = {
14681 (char *) "self",(char *) "item", NULL
14682 };
14683
14684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14686 if (!SWIG_IsOK(res1)) {
14687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14688 }
14689 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14690 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14691 if (!SWIG_IsOK(ecode2)) {
14692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14693 }
14694 arg2 = static_cast< size_t >(val2);
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 {
14702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14703 }
14704 return resultobj;
14705fail:
14706 return NULL;
d55e5bfc
RD
14707}
14708
14709
554f62e9
RD
14710SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14711 PyObject *resultobj = 0;
14712 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14713 size_t result;
14714 void *argp1 = 0 ;
14715 int res1 = 0 ;
14716 PyObject *swig_obj[1] ;
14717
14718 if (!args) SWIG_fail;
14719 swig_obj[0] = args;
14720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14721 if (!SWIG_IsOK(res1)) {
14722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14723 }
14724 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14725 {
14726 PyThreadState* __tstate = wxPyBeginAllowThreads();
14727 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14728 wxPyEndAllowThreads(__tstate);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14732 return resultobj;
14733fail:
14734 return NULL;
d55e5bfc
RD
14735}
14736
14737
554f62e9
RD
14738SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14739 PyObject *resultobj = 0;
14740 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14741 PyObject *result = 0 ;
14742 void *argp1 = 0 ;
14743 int res1 = 0 ;
14744 PyObject *swig_obj[1] ;
14745
14746 if (!args) SWIG_fail;
14747 swig_obj[0] = args;
14748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14749 if (!SWIG_IsOK(res1)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14751 }
14752 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14753 {
14754 PyThreadState* __tstate = wxPyBeginAllowThreads();
14755 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 resultobj = result;
14760 return resultobj;
14761fail:
14762 return NULL;
14763}
14764
14765
14766SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14767 PyObject *resultobj = 0;
14768 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14769 unsigned long arg2 ;
14770 PyObject *result = 0 ;
14771 void *argp1 = 0 ;
14772 int res1 = 0 ;
14773 unsigned long val2 ;
14774 int ecode2 = 0 ;
14775 PyObject * obj0 = 0 ;
14776 PyObject * obj1 = 0 ;
14777 char * kwnames[] = {
14778 (char *) "self",(char *) "cookie", NULL
14779 };
14780
14781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14783 if (!SWIG_IsOK(res1)) {
14784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14785 }
14786 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14787 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14788 if (!SWIG_IsOK(ecode2)) {
14789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14790 }
14791 arg2 = static_cast< unsigned long >(val2);
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 resultobj = result;
14799 return resultobj;
14800fail:
14801 return NULL;
d55e5bfc
RD
14802}
14803
14804
554f62e9
RD
14805SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14806 PyObject *resultobj = 0;
14807 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14808 wxPoint result;
14809 void *argp1 = 0 ;
14810 int res1 = 0 ;
14811 PyObject *swig_obj[1] ;
14812
14813 if (!args) SWIG_fail;
14814 swig_obj[0] = args;
14815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14816 if (!SWIG_IsOK(res1)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14818 }
14819 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = ((wxPyVListBox const *)arg1)->GetMargins();
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14827 return resultobj;
14828fail:
14829 return NULL;
d55e5bfc
RD
14830}
14831
14832
554f62e9
RD
14833SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14834 PyObject *resultobj = 0;
14835 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14836 wxColour *result = 0 ;
14837 void *argp1 = 0 ;
14838 int res1 = 0 ;
14839 PyObject *swig_obj[1] ;
14840
14841 if (!args) SWIG_fail;
14842 swig_obj[0] = args;
14843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14844 if (!SWIG_IsOK(res1)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14846 }
14847 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14848 {
14849 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14850 {
554f62e9
RD
14851 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14852 result = (wxColour *) &_result_ref;
093d3ff1 14853 }
554f62e9
RD
14854 wxPyEndAllowThreads(__tstate);
14855 if (PyErr_Occurred()) SWIG_fail;
14856 }
14857 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14858 return resultobj;
14859fail:
14860 return NULL;
14861}
14862
14863
14864SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj = 0;
14866 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14867 size_t arg2 ;
14868 void *argp1 = 0 ;
14869 int res1 = 0 ;
14870 size_t val2 ;
14871 int ecode2 = 0 ;
14872 PyObject * obj0 = 0 ;
14873 PyObject * obj1 = 0 ;
14874 char * kwnames[] = {
14875 (char *) "self",(char *) "count", NULL
14876 };
14877
14878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14880 if (!SWIG_IsOK(res1)) {
14881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14882 }
14883 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14884 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14885 if (!SWIG_IsOK(ecode2)) {
14886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14887 }
14888 arg2 = static_cast< size_t >(val2);
14889 {
14890 PyThreadState* __tstate = wxPyBeginAllowThreads();
14891 (arg1)->SetItemCount(arg2);
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
14895 resultobj = SWIG_Py_Void();
14896 return resultobj;
14897fail:
14898 return NULL;
d55e5bfc
RD
14899}
14900
14901
554f62e9
RD
14902SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14903 PyObject *resultobj = 0;
14904 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14905 void *argp1 = 0 ;
14906 int res1 = 0 ;
14907 PyObject *swig_obj[1] ;
14908
14909 if (!args) SWIG_fail;
14910 swig_obj[0] = args;
14911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14912 if (!SWIG_IsOK(res1)) {
14913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14914 }
14915 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 (arg1)->Clear();
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 resultobj = SWIG_Py_Void();
14923 return resultobj;
14924fail:
14925 return NULL;
14926}
14927
14928
14929SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj = 0;
14931 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14932 int arg2 ;
14933 void *argp1 = 0 ;
14934 int res1 = 0 ;
14935 int val2 ;
14936 int ecode2 = 0 ;
14937 PyObject * obj0 = 0 ;
14938 PyObject * obj1 = 0 ;
14939 char * kwnames[] = {
14940 (char *) "self",(char *) "selection", NULL
14941 };
14942
14943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14945 if (!SWIG_IsOK(res1)) {
14946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14947 }
14948 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14949 ecode2 = SWIG_AsVal_int(obj1, &val2);
14950 if (!SWIG_IsOK(ecode2)) {
14951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14952 }
14953 arg2 = static_cast< int >(val2);
14954 {
14955 PyThreadState* __tstate = wxPyBeginAllowThreads();
14956 (arg1)->SetSelection(arg2);
14957 wxPyEndAllowThreads(__tstate);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 }
14960 resultobj = SWIG_Py_Void();
14961 return resultobj;
14962fail:
14963 return NULL;
14964}
14965
14966
14967SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14968 PyObject *resultobj = 0;
14969 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14970 size_t arg2 ;
14971 bool arg3 = (bool) true ;
14972 bool result;
14973 void *argp1 = 0 ;
14974 int res1 = 0 ;
14975 size_t val2 ;
14976 int ecode2 = 0 ;
14977 bool val3 ;
14978 int ecode3 = 0 ;
14979 PyObject * obj0 = 0 ;
14980 PyObject * obj1 = 0 ;
14981 PyObject * obj2 = 0 ;
14982 char * kwnames[] = {
14983 (char *) "self",(char *) "item",(char *) "select", NULL
14984 };
14985
14986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14988 if (!SWIG_IsOK(res1)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14990 }
14991 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14992 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14993 if (!SWIG_IsOK(ecode2)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14995 }
14996 arg2 = static_cast< size_t >(val2);
14997 if (obj2) {
14998 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14999 if (!SWIG_IsOK(ecode3)) {
15000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15001 }
15002 arg3 = static_cast< bool >(val3);
15003 }
15004 {
15005 PyThreadState* __tstate = wxPyBeginAllowThreads();
15006 result = (bool)(arg1)->Select(arg2,arg3);
15007 wxPyEndAllowThreads(__tstate);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
15010 {
15011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15012 }
15013 return resultobj;
15014fail:
15015 return NULL;
15016}
15017
15018
15019SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15020 PyObject *resultobj = 0;
15021 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15022 size_t arg2 ;
15023 size_t arg3 ;
15024 bool result;
15025 void *argp1 = 0 ;
15026 int res1 = 0 ;
15027 size_t val2 ;
15028 int ecode2 = 0 ;
15029 size_t val3 ;
15030 int ecode3 = 0 ;
15031 PyObject * obj0 = 0 ;
15032 PyObject * obj1 = 0 ;
15033 PyObject * obj2 = 0 ;
15034 char * kwnames[] = {
f460c29d 15035 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
15036 };
15037
15038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15040 if (!SWIG_IsOK(res1)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15042 }
15043 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15044 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15045 if (!SWIG_IsOK(ecode2)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15047 }
15048 arg2 = static_cast< size_t >(val2);
15049 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15050 if (!SWIG_IsOK(ecode3)) {
15051 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15052 }
15053 arg3 = static_cast< size_t >(val3);
15054 {
15055 PyThreadState* __tstate = wxPyBeginAllowThreads();
15056 result = (bool)(arg1)->SelectRange(arg2,arg3);
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 {
15061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15062 }
15063 return resultobj;
15064fail:
15065 return NULL;
15066}
15067
15068
15069SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj = 0;
15071 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15072 size_t arg2 ;
15073 void *argp1 = 0 ;
15074 int res1 = 0 ;
15075 size_t val2 ;
15076 int ecode2 = 0 ;
15077 PyObject * obj0 = 0 ;
15078 PyObject * obj1 = 0 ;
15079 char * kwnames[] = {
15080 (char *) "self",(char *) "item", NULL
15081 };
15082
15083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15085 if (!SWIG_IsOK(res1)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15087 }
15088 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15089 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15090 if (!SWIG_IsOK(ecode2)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15092 }
15093 arg2 = static_cast< size_t >(val2);
15094 {
15095 PyThreadState* __tstate = wxPyBeginAllowThreads();
15096 (arg1)->Toggle(arg2);
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 resultobj = SWIG_Py_Void();
15101 return resultobj;
15102fail:
15103 return NULL;
d55e5bfc
RD
15104}
15105
15106
554f62e9
RD
15107SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15108 PyObject *resultobj = 0;
15109 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15110 bool result;
15111 void *argp1 = 0 ;
15112 int res1 = 0 ;
15113 PyObject *swig_obj[1] ;
15114
15115 if (!args) SWIG_fail;
15116 swig_obj[0] = args;
15117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15118 if (!SWIG_IsOK(res1)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15120 }
15121 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 result = (bool)(arg1)->SelectAll();
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 {
15129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15130 }
15131 return resultobj;
15132fail:
15133 return NULL;
d55e5bfc
RD
15134}
15135
15136
554f62e9
RD
15137SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15138 PyObject *resultobj = 0;
15139 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15140 bool result;
15141 void *argp1 = 0 ;
15142 int res1 = 0 ;
15143 PyObject *swig_obj[1] ;
15144
15145 if (!args) SWIG_fail;
15146 swig_obj[0] = args;
15147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15148 if (!SWIG_IsOK(res1)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15150 }
15151 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 result = (bool)(arg1)->DeselectAll();
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 {
15159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15160 }
15161 return resultobj;
15162fail:
15163 return NULL;
15164}
15165
15166
15167SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj = 0;
15169 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15170 wxPoint *arg2 = 0 ;
15171 void *argp1 = 0 ;
15172 int res1 = 0 ;
15173 wxPoint temp2 ;
15174 PyObject * obj0 = 0 ;
15175 PyObject * obj1 = 0 ;
15176 char * kwnames[] = {
15177 (char *) "self",(char *) "pt", NULL
15178 };
15179
15180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15182 if (!SWIG_IsOK(res1)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15184 }
15185 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15186 {
15187 arg2 = &temp2;
15188 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15189 }
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 (arg1)->SetMargins((wxPoint const &)*arg2);
15193 wxPyEndAllowThreads(__tstate);
15194 if (PyErr_Occurred()) SWIG_fail;
15195 }
15196 resultobj = SWIG_Py_Void();
15197 return resultobj;
15198fail:
15199 return NULL;
15200}
15201
15202
15203SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj = 0;
15205 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15206 int arg2 ;
15207 int arg3 ;
15208 void *argp1 = 0 ;
15209 int res1 = 0 ;
15210 int val2 ;
15211 int ecode2 = 0 ;
15212 int val3 ;
15213 int ecode3 = 0 ;
15214 PyObject * obj0 = 0 ;
15215 PyObject * obj1 = 0 ;
15216 PyObject * obj2 = 0 ;
15217 char * kwnames[] = {
15218 (char *) "self",(char *) "x",(char *) "y", NULL
15219 };
15220
15221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15223 if (!SWIG_IsOK(res1)) {
15224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15225 }
15226 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15227 ecode2 = SWIG_AsVal_int(obj1, &val2);
15228 if (!SWIG_IsOK(ecode2)) {
15229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15230 }
15231 arg2 = static_cast< int >(val2);
15232 ecode3 = SWIG_AsVal_int(obj2, &val3);
15233 if (!SWIG_IsOK(ecode3)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15235 }
15236 arg3 = static_cast< int >(val3);
15237 {
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 (arg1)->SetMargins(arg2,arg3);
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15243 resultobj = SWIG_Py_Void();
15244 return resultobj;
15245fail:
15246 return NULL;
15247}
15248
15249
15250SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15251 PyObject *resultobj = 0;
15252 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15253 wxColour *arg2 = 0 ;
15254 void *argp1 = 0 ;
15255 int res1 = 0 ;
15256 wxColour temp2 ;
15257 PyObject * obj0 = 0 ;
15258 PyObject * obj1 = 0 ;
15259 char * kwnames[] = {
15260 (char *) "self",(char *) "col", NULL
15261 };
15262
15263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15265 if (!SWIG_IsOK(res1)) {
15266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15267 }
15268 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15269 {
15270 arg2 = &temp2;
15271 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15272 }
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15276 wxPyEndAllowThreads(__tstate);
15277 if (PyErr_Occurred()) SWIG_fail;
15278 }
15279 resultobj = SWIG_Py_Void();
15280 return resultobj;
15281fail:
15282 return NULL;
15283}
15284
15285
1c71765a
RD
15286SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15287 PyObject *resultobj = 0;
15288 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15289 wxDC *arg2 = 0 ;
15290 wxRect *arg3 = 0 ;
15291 size_t arg4 ;
15292 void *argp1 = 0 ;
15293 int res1 = 0 ;
15294 void *argp2 = 0 ;
15295 int res2 = 0 ;
15296 wxRect temp3 ;
15297 size_t val4 ;
15298 int ecode4 = 0 ;
15299 PyObject * obj0 = 0 ;
15300 PyObject * obj1 = 0 ;
15301 PyObject * obj2 = 0 ;
15302 PyObject * obj3 = 0 ;
15303 char * kwnames[] = {
15304 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15305 };
15306
15307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15309 if (!SWIG_IsOK(res1)) {
15310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15311 }
15312 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15313 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15314 if (!SWIG_IsOK(res2)) {
15315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15316 }
15317 if (!argp2) {
15318 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15319 }
15320 arg2 = reinterpret_cast< wxDC * >(argp2);
15321 {
15322 arg3 = &temp3;
15323 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15324 }
15325 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15326 if (!SWIG_IsOK(ecode4)) {
15327 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15328 }
15329 arg4 = static_cast< size_t >(val4);
15330 {
15331 PyThreadState* __tstate = wxPyBeginAllowThreads();
15332 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 resultobj = SWIG_Py_Void();
15337 return resultobj;
15338fail:
15339 return NULL;
15340}
15341
15342
15343SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj = 0;
15345 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15346 wxDC *arg2 = 0 ;
15347 wxRect *arg3 = 0 ;
15348 size_t arg4 ;
15349 void *argp1 = 0 ;
15350 int res1 = 0 ;
15351 void *argp2 = 0 ;
15352 int res2 = 0 ;
15353 wxRect temp3 ;
15354 size_t val4 ;
15355 int ecode4 = 0 ;
15356 PyObject * obj0 = 0 ;
15357 PyObject * obj1 = 0 ;
15358 PyObject * obj2 = 0 ;
15359 PyObject * obj3 = 0 ;
15360 char * kwnames[] = {
15361 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15362 };
15363
15364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15366 if (!SWIG_IsOK(res1)) {
15367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15368 }
15369 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15370 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15371 if (!SWIG_IsOK(res2)) {
15372 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15373 }
15374 if (!argp2) {
15375 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15376 }
15377 arg2 = reinterpret_cast< wxDC * >(argp2);
15378 {
15379 arg3 = &temp3;
15380 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15381 }
15382 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15383 if (!SWIG_IsOK(ecode4)) {
15384 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15385 }
15386 arg4 = static_cast< size_t >(val4);
15387 {
15388 PyThreadState* __tstate = wxPyBeginAllowThreads();
15389 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 resultobj = SWIG_Py_Void();
15394 return resultobj;
15395fail:
15396 return NULL;
15397}
15398
15399
554f62e9
RD
15400SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15401 PyObject *obj;
15402 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15403 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15404 return SWIG_Py_Void();
15405}
15406
15407SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15408 return SWIG_Python_InitShadowInstance(args);
15409}
15410
15411SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15412 PyObject *resultobj = 0;
15413 wxWindow *arg1 = (wxWindow *) 0 ;
15414 int arg2 = (int) wxID_ANY ;
15415 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15416 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15417 wxSize const &arg4_defvalue = wxDefaultSize ;
15418 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15419 long arg5 = (long) 0 ;
15420 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15421 wxString *arg6 = (wxString *) &arg6_defvalue ;
15422 wxPyHtmlListBox *result = 0 ;
15423 void *argp1 = 0 ;
15424 int res1 = 0 ;
15425 int val2 ;
15426 int ecode2 = 0 ;
15427 wxPoint temp3 ;
15428 wxSize temp4 ;
15429 long val5 ;
15430 int ecode5 = 0 ;
15431 bool temp6 = false ;
15432 PyObject * obj0 = 0 ;
15433 PyObject * obj1 = 0 ;
15434 PyObject * obj2 = 0 ;
15435 PyObject * obj3 = 0 ;
15436 PyObject * obj4 = 0 ;
15437 PyObject * obj5 = 0 ;
15438 char * kwnames[] = {
15439 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15440 };
15441
15442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15444 if (!SWIG_IsOK(res1)) {
15445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15446 }
15447 arg1 = reinterpret_cast< wxWindow * >(argp1);
15448 if (obj1) {
15449 ecode2 = SWIG_AsVal_int(obj1, &val2);
15450 if (!SWIG_IsOK(ecode2)) {
15451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15452 }
15453 arg2 = static_cast< int >(val2);
15454 }
15455 if (obj2) {
093d3ff1 15456 {
554f62e9
RD
15457 arg3 = &temp3;
15458 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 15459 }
554f62e9
RD
15460 }
15461 if (obj3) {
d55e5bfc 15462 {
554f62e9
RD
15463 arg4 = &temp4;
15464 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15465 }
554f62e9
RD
15466 }
15467 if (obj4) {
15468 ecode5 = SWIG_AsVal_long(obj4, &val5);
15469 if (!SWIG_IsOK(ecode5)) {
15470 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15471 }
15472 arg5 = static_cast< long >(val5);
15473 }
15474 if (obj5) {
d55e5bfc 15475 {
554f62e9
RD
15476 arg6 = wxString_in_helper(obj5);
15477 if (arg6 == NULL) SWIG_fail;
15478 temp6 = true;
15479 }
15480 }
15481 {
15482 if (!wxPyCheckForApp()) SWIG_fail;
15483 PyThreadState* __tstate = wxPyBeginAllowThreads();
15484 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15485 wxPyEndAllowThreads(__tstate);
15486 if (PyErr_Occurred()) SWIG_fail;
15487 }
15488 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15489 {
15490 if (temp6)
15491 delete arg6;
15492 }
15493 return resultobj;
15494fail:
15495 {
15496 if (temp6)
15497 delete arg6;
15498 }
15499 return NULL;
d55e5bfc
RD
15500}
15501
15502
554f62e9
RD
15503SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15504 PyObject *resultobj = 0;
15505 wxPyHtmlListBox *result = 0 ;
15506
15507 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15508 {
15509 if (!wxPyCheckForApp()) SWIG_fail;
15510 PyThreadState* __tstate = wxPyBeginAllowThreads();
15511 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15516 return resultobj;
15517fail:
15518 return NULL;
15519}
15520
15521
15522SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj = 0;
15524 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15525 PyObject *arg2 = (PyObject *) 0 ;
15526 PyObject *arg3 = (PyObject *) 0 ;
15527 void *argp1 = 0 ;
15528 int res1 = 0 ;
15529 PyObject * obj0 = 0 ;
15530 PyObject * obj1 = 0 ;
15531 PyObject * obj2 = 0 ;
15532 char * kwnames[] = {
15533 (char *) "self",(char *) "self",(char *) "_class", NULL
15534 };
15535
15536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15538 if (!SWIG_IsOK(res1)) {
15539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15540 }
15541 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15542 arg2 = obj1;
15543 arg3 = obj2;
15544 {
15545 PyThreadState* __tstate = wxPyBeginAllowThreads();
15546 (arg1)->_setCallbackInfo(arg2,arg3);
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 resultobj = SWIG_Py_Void();
15551 return resultobj;
15552fail:
15553 return NULL;
15554}
15555
15556
15557SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15558 PyObject *resultobj = 0;
15559 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15560 wxWindow *arg2 = (wxWindow *) 0 ;
15561 int arg3 = (int) wxID_ANY ;
15562 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15563 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15564 wxSize const &arg5_defvalue = wxDefaultSize ;
15565 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15566 long arg6 = (long) 0 ;
15567 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15568 wxString *arg7 = (wxString *) &arg7_defvalue ;
15569 bool result;
15570 void *argp1 = 0 ;
15571 int res1 = 0 ;
15572 void *argp2 = 0 ;
15573 int res2 = 0 ;
15574 int val3 ;
15575 int ecode3 = 0 ;
15576 wxPoint temp4 ;
15577 wxSize temp5 ;
15578 long val6 ;
15579 int ecode6 = 0 ;
15580 bool temp7 = false ;
15581 PyObject * obj0 = 0 ;
15582 PyObject * obj1 = 0 ;
15583 PyObject * obj2 = 0 ;
15584 PyObject * obj3 = 0 ;
15585 PyObject * obj4 = 0 ;
15586 PyObject * obj5 = 0 ;
15587 PyObject * obj6 = 0 ;
15588 char * kwnames[] = {
15589 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15590 };
15591
15592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15594 if (!SWIG_IsOK(res1)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15596 }
15597 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15598 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15599 if (!SWIG_IsOK(res2)) {
15600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15601 }
15602 arg2 = reinterpret_cast< wxWindow * >(argp2);
15603 if (obj2) {
15604 ecode3 = SWIG_AsVal_int(obj2, &val3);
15605 if (!SWIG_IsOK(ecode3)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15607 }
15608 arg3 = static_cast< int >(val3);
15609 }
15610 if (obj3) {
093d3ff1 15611 {
554f62e9
RD
15612 arg4 = &temp4;
15613 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15614 }
554f62e9
RD
15615 }
15616 if (obj4) {
d55e5bfc 15617 {
554f62e9
RD
15618 arg5 = &temp5;
15619 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15620 }
554f62e9
RD
15621 }
15622 if (obj5) {
15623 ecode6 = SWIG_AsVal_long(obj5, &val6);
15624 if (!SWIG_IsOK(ecode6)) {
15625 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15626 }
15627 arg6 = static_cast< long >(val6);
15628 }
15629 if (obj6) {
093d3ff1 15630 {
554f62e9
RD
15631 arg7 = wxString_in_helper(obj6);
15632 if (arg7 == NULL) SWIG_fail;
15633 temp7 = true;
093d3ff1 15634 }
554f62e9
RD
15635 }
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 {
15643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15644 }
15645 {
15646 if (temp7)
15647 delete arg7;
15648 }
15649 return resultobj;
15650fail:
15651 {
15652 if (temp7)
15653 delete arg7;
15654 }
15655 return NULL;
15656}
15657
15658
15659SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15660 PyObject *resultobj = 0;
15661 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15662 size_t arg2 ;
15663 void *argp1 = 0 ;
15664 int res1 = 0 ;
15665 size_t val2 ;
15666 int ecode2 = 0 ;
15667 PyObject * obj0 = 0 ;
15668 PyObject * obj1 = 0 ;
15669 char * kwnames[] = {
15670 (char *) "self",(char *) "count", NULL
15671 };
15672
15673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15675 if (!SWIG_IsOK(res1)) {
15676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15677 }
15678 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15679 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15680 if (!SWIG_IsOK(ecode2)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15682 }
15683 arg2 = static_cast< size_t >(val2);
15684 {
15685 PyThreadState* __tstate = wxPyBeginAllowThreads();
15686 (arg1)->SetItemCount(arg2);
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 resultobj = SWIG_Py_Void();
15691 return resultobj;
15692fail:
15693 return NULL;
d55e5bfc
RD
15694}
15695
15696
554f62e9
RD
15697SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15698 PyObject *resultobj = 0;
15699 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15700 wxFileSystem *result = 0 ;
15701 void *argp1 = 0 ;
15702 int res1 = 0 ;
15703 PyObject *swig_obj[1] ;
15704
15705 if (!args) SWIG_fail;
15706 swig_obj[0] = args;
15707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15708 if (!SWIG_IsOK(res1)) {
15709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15710 }
15711 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15712 {
15713 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15714 {
554f62e9
RD
15715 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15716 result = (wxFileSystem *) &_result_ref;
093d3ff1 15717 }
554f62e9
RD
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15722 return resultobj;
15723fail:
15724 return NULL;
d55e5bfc
RD
15725}
15726
15727
e9d6f3a4
RD
15728SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj = 0;
15730 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15731 size_t arg2 ;
15732 wxHtmlLinkInfo *arg3 = 0 ;
15733 void *argp1 = 0 ;
15734 int res1 = 0 ;
15735 size_t val2 ;
15736 int ecode2 = 0 ;
15737 void *argp3 = 0 ;
15738 int res3 = 0 ;
15739 PyObject * obj0 = 0 ;
15740 PyObject * obj1 = 0 ;
15741 PyObject * obj2 = 0 ;
15742 char * kwnames[] = {
15743 (char *) "self",(char *) "n",(char *) "link", NULL
15744 };
15745
15746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15748 if (!SWIG_IsOK(res1)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15750 }
15751 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15752 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15753 if (!SWIG_IsOK(ecode2)) {
15754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15755 }
15756 arg2 = static_cast< size_t >(val2);
15757 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15758 if (!SWIG_IsOK(res3)) {
15759 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15760 }
15761 if (!argp3) {
15762 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15763 }
15764 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15765 {
15766 PyThreadState* __tstate = wxPyBeginAllowThreads();
15767 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15771 resultobj = SWIG_Py_Void();
15772 return resultobj;
15773fail:
15774 return NULL;
15775}
15776
15777
554f62e9
RD
15778SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15779 PyObject *obj;
15780 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15781 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15782 return SWIG_Py_Void();
d55e5bfc
RD
15783}
15784
554f62e9
RD
15785SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15786 return SWIG_Python_InitShadowInstance(args);
15787}
d55e5bfc 15788
554f62e9
RD
15789SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15790 PyObject *resultobj = 0;
15791 wxPyTaskBarIcon *result = 0 ;
15792
15793 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15794 {
15795 if (!wxPyCheckForApp()) SWIG_fail;
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15798 wxPyEndAllowThreads(__tstate);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 }
15801 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15802 return resultobj;
15803fail:
15804 return NULL;
d55e5bfc
RD
15805}
15806
15807
554f62e9
RD
15808SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15809 PyObject *resultobj = 0;
15810 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15811 void *argp1 = 0 ;
15812 int res1 = 0 ;
15813 PyObject *swig_obj[1] ;
15814
15815 if (!args) SWIG_fail;
15816 swig_obj[0] = args;
15817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15818 if (!SWIG_IsOK(res1)) {
15819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15820 }
15821 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15822 {
15823 PyThreadState* __tstate = wxPyBeginAllowThreads();
15824 delete arg1;
d55e5bfc 15825
554f62e9
RD
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 resultobj = SWIG_Py_Void();
15830 return resultobj;
15831fail:
15832 return NULL;
15833}
15834
15835
15836SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15837 PyObject *resultobj = 0;
15838 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15839 PyObject *arg2 = (PyObject *) 0 ;
15840 PyObject *arg3 = (PyObject *) 0 ;
15841 int arg4 ;
15842 void *argp1 = 0 ;
15843 int res1 = 0 ;
15844 int val4 ;
15845 int ecode4 = 0 ;
15846 PyObject * obj0 = 0 ;
15847 PyObject * obj1 = 0 ;
15848 PyObject * obj2 = 0 ;
15849 PyObject * obj3 = 0 ;
15850 char * kwnames[] = {
15851 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15852 };
15853
15854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15856 if (!SWIG_IsOK(res1)) {
15857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15858 }
15859 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15860 arg2 = obj1;
15861 arg3 = obj2;
15862 ecode4 = SWIG_AsVal_int(obj3, &val4);
15863 if (!SWIG_IsOK(ecode4)) {
15864 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15865 }
15866 arg4 = static_cast< int >(val4);
15867 {
15868 PyThreadState* __tstate = wxPyBeginAllowThreads();
15869 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15870 wxPyEndAllowThreads(__tstate);
15871 if (PyErr_Occurred()) SWIG_fail;
15872 }
15873 resultobj = SWIG_Py_Void();
15874 return resultobj;
15875fail:
15876 return NULL;
d55e5bfc
RD
15877}
15878
15879
554f62e9
RD
15880SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15881 PyObject *resultobj = 0;
15882 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15883 void *argp1 = 0 ;
15884 int res1 = 0 ;
15885 PyObject *swig_obj[1] ;
15886
15887 if (!args) SWIG_fail;
15888 swig_obj[0] = args;
15889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15890 if (!SWIG_IsOK(res1)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15892 }
15893 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15894 {
15895 PyThreadState* __tstate = wxPyBeginAllowThreads();
15896 wxPyTaskBarIcon_Destroy(arg1);
15897 wxPyEndAllowThreads(__tstate);
15898 if (PyErr_Occurred()) SWIG_fail;
15899 }
15900 resultobj = SWIG_Py_Void();
15901 return resultobj;
15902fail:
15903 return NULL;
d55e5bfc
RD
15904}
15905
15906
554f62e9
RD
15907SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15908 PyObject *resultobj = 0;
15909 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15910 bool result;
15911 void *argp1 = 0 ;
15912 int res1 = 0 ;
15913 PyObject *swig_obj[1] ;
15914
15915 if (!args) SWIG_fail;
15916 swig_obj[0] = args;
15917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15918 if (!SWIG_IsOK(res1)) {
15919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15920 }
15921 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 {
15929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15930 }
15931 return resultobj;
15932fail:
15933 return NULL;
d55e5bfc
RD
15934}
15935
15936
554f62e9
RD
15937SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15938 PyObject *resultobj = 0;
15939 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15940 bool result;
15941 void *argp1 = 0 ;
15942 int res1 = 0 ;
15943 PyObject *swig_obj[1] ;
15944
15945 if (!args) SWIG_fail;
15946 swig_obj[0] = args;
15947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15948 if (!SWIG_IsOK(res1)) {
15949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15950 }
15951 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 {
15959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15960 }
15961 return resultobj;
15962fail:
15963 return NULL;
15964}
15965
15966
15967SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15968 PyObject *resultobj = 0;
15969 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15970 wxIcon *arg2 = 0 ;
15971 wxString const &arg3_defvalue = wxPyEmptyString ;
15972 wxString *arg3 = (wxString *) &arg3_defvalue ;
15973 bool result;
15974 void *argp1 = 0 ;
15975 int res1 = 0 ;
15976 void *argp2 = 0 ;
15977 int res2 = 0 ;
15978 bool temp3 = false ;
15979 PyObject * obj0 = 0 ;
15980 PyObject * obj1 = 0 ;
15981 PyObject * obj2 = 0 ;
15982 char * kwnames[] = {
15983 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15984 };
15985
15986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15988 if (!SWIG_IsOK(res1)) {
15989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15990 }
15991 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15992 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15993 if (!SWIG_IsOK(res2)) {
15994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15995 }
15996 if (!argp2) {
15997 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15998 }
15999 arg2 = reinterpret_cast< wxIcon * >(argp2);
16000 if (obj2) {
093d3ff1 16001 {
554f62e9
RD
16002 arg3 = wxString_in_helper(obj2);
16003 if (arg3 == NULL) SWIG_fail;
16004 temp3 = true;
093d3ff1 16005 }
554f62e9
RD
16006 }
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 {
16014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16015 }
16016 {
16017 if (temp3)
16018 delete arg3;
16019 }
16020 return resultobj;
16021fail:
16022 {
16023 if (temp3)
16024 delete arg3;
16025 }
16026 return NULL;
d55e5bfc
RD
16027}
16028
16029
554f62e9
RD
16030SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16031 PyObject *resultobj = 0;
16032 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16033 bool result;
16034 void *argp1 = 0 ;
16035 int res1 = 0 ;
16036 PyObject *swig_obj[1] ;
16037
16038 if (!args) SWIG_fail;
16039 swig_obj[0] = args;
16040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16041 if (!SWIG_IsOK(res1)) {
16042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16043 }
16044 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16045 {
16046 PyThreadState* __tstate = wxPyBeginAllowThreads();
16047 result = (bool)(arg1)->RemoveIcon();
16048 wxPyEndAllowThreads(__tstate);
16049 if (PyErr_Occurred()) SWIG_fail;
16050 }
16051 {
16052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16053 }
16054 return resultobj;
16055fail:
16056 return NULL;
16057}
16058
16059
16060SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16061 PyObject *resultobj = 0;
16062 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16063 wxMenu *arg2 = (wxMenu *) 0 ;
16064 bool result;
16065 void *argp1 = 0 ;
16066 int res1 = 0 ;
16067 void *argp2 = 0 ;
16068 int res2 = 0 ;
16069 PyObject * obj0 = 0 ;
16070 PyObject * obj1 = 0 ;
16071 char * kwnames[] = {
16072 (char *) "self",(char *) "menu", NULL
16073 };
16074
16075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16077 if (!SWIG_IsOK(res1)) {
16078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16079 }
16080 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16081 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16082 if (!SWIG_IsOK(res2)) {
16083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16084 }
16085 arg2 = reinterpret_cast< wxMenu * >(argp2);
16086 {
16087 PyThreadState* __tstate = wxPyBeginAllowThreads();
16088 result = (bool)(arg1)->PopupMenu(arg2);
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 {
16093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16094 }
16095 return resultobj;
16096fail:
16097 return NULL;
d55e5bfc
RD
16098}
16099
16100
554f62e9
RD
16101SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16102 PyObject *obj;
16103 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16104 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16105 return SWIG_Py_Void();
d55e5bfc
RD
16106}
16107
554f62e9
RD
16108SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16109 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16110}
16111
554f62e9
RD
16112SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16113 PyObject *resultobj = 0;
16114 wxEventType arg1 ;
16115 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16116 wxTaskBarIconEvent *result = 0 ;
16117 int val1 ;
16118 int ecode1 = 0 ;
16119 void *argp2 = 0 ;
16120 int res2 = 0 ;
16121 PyObject * obj0 = 0 ;
16122 PyObject * obj1 = 0 ;
16123 char * kwnames[] = {
16124 (char *) "evtType",(char *) "tbIcon", NULL
16125 };
16126
16127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16128 ecode1 = SWIG_AsVal_int(obj0, &val1);
16129 if (!SWIG_IsOK(ecode1)) {
16130 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16131 }
16132 arg1 = static_cast< wxEventType >(val1);
16133 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16134 if (!SWIG_IsOK(res2)) {
16135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16136 }
16137 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16141 wxPyEndAllowThreads(__tstate);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 }
16144 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16145 return resultobj;
16146fail:
16147 return NULL;
d55e5bfc
RD
16148}
16149
16150
554f62e9
RD
16151SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16152 PyObject *obj;
16153 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16154 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16155 return SWIG_Py_Void();
d55e5bfc
RD
16156}
16157
554f62e9
RD
16158SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16159 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16160}
16161
554f62e9
RD
16162SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16163 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16164 return 1;
d55e5bfc
RD
16165}
16166
16167
554f62e9
RD
16168SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16169 PyObject *pyobj = 0;
16170
16171 {
16172#if wxUSE_UNICODE
16173 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16174#else
16175 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16176#endif
16177 }
16178 return pyobj;
d55e5bfc
RD
16179}
16180
16181
554f62e9
RD
16182SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16183 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16184 return 1;
d55e5bfc
RD
16185}
16186
16187
554f62e9
RD
16188SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16189 PyObject *pyobj = 0;
16190
16191 {
16192#if wxUSE_UNICODE
16193 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16194#else
16195 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16196#endif
16197 }
16198 return pyobj;
d55e5bfc
RD
16199}
16200
16201
554f62e9
RD
16202SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16203 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16204 return 1;
d55e5bfc
RD
16205}
16206
16207
554f62e9
RD
16208SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16209 PyObject *pyobj = 0;
16210
16211 {
16212#if wxUSE_UNICODE
16213 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16214#else
16215 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16216#endif
16217 }
16218 return pyobj;
d55e5bfc
RD
16219}
16220
16221
554f62e9
RD
16222SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16223 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16224 return 1;
d55e5bfc
RD
16225}
16226
16227
554f62e9
RD
16228SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16229 PyObject *pyobj = 0;
16230
16231 {
16232#if wxUSE_UNICODE
16233 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16234#else
16235 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16236#endif
16237 }
16238 return pyobj;
d55e5bfc
RD
16239}
16240
16241
554f62e9
RD
16242SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16243 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16244 return 1;
d55e5bfc
RD
16245}
16246
16247
554f62e9
RD
16248SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16249 PyObject *pyobj = 0;
16250
16251 {
16252#if wxUSE_UNICODE
16253 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16254#else
16255 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16256#endif
16257 }
16258 return pyobj;
d55e5bfc
RD
16259}
16260
16261
554f62e9
RD
16262SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16263 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16264 return 1;
d55e5bfc
RD
16265}
16266
16267
554f62e9
RD
16268SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16269 PyObject *pyobj = 0;
16270
16271 {
16272#if wxUSE_UNICODE
16273 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16274#else
16275 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16276#endif
16277 }
16278 return pyobj;
d55e5bfc
RD
16279}
16280
16281
554f62e9
RD
16282SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16283 PyObject *resultobj = 0;
16284 wxColourData *result = 0 ;
16285
16286 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16287 {
16288 PyThreadState* __tstate = wxPyBeginAllowThreads();
16289 result = (wxColourData *)new wxColourData();
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16294 return resultobj;
16295fail:
16296 return NULL;
d55e5bfc
RD
16297}
16298
16299
554f62e9
RD
16300SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16301 PyObject *resultobj = 0;
16302 wxColourData *arg1 = (wxColourData *) 0 ;
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, SWIG_POINTER_DISOWN | 0 );
16310 if (!SWIG_IsOK(res1)) {
16311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16312 }
16313 arg1 = reinterpret_cast< wxColourData * >(argp1);
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 delete arg1;
d55e5bfc 16317
554f62e9
RD
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 resultobj = SWIG_Py_Void();
16322 return resultobj;
16323fail:
16324 return NULL;
d55e5bfc
RD
16325}
16326
16327
554f62e9
RD
16328SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16329 PyObject *resultobj = 0;
16330 wxColourData *arg1 = (wxColourData *) 0 ;
16331 bool result;
16332 void *argp1 = 0 ;
16333 int res1 = 0 ;
16334 PyObject *swig_obj[1] ;
16335
16336 if (!args) SWIG_fail;
16337 swig_obj[0] = args;
16338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16339 if (!SWIG_IsOK(res1)) {
16340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16341 }
16342 arg1 = reinterpret_cast< wxColourData * >(argp1);
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 result = (bool)(arg1)->GetChooseFull();
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 {
16350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16351 }
16352 return resultobj;
16353fail:
16354 return NULL;
d55e5bfc
RD
16355}
16356
16357
554f62e9
RD
16358SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16359 PyObject *resultobj = 0;
16360 wxColourData *arg1 = (wxColourData *) 0 ;
16361 wxColour result;
16362 void *argp1 = 0 ;
16363 int res1 = 0 ;
16364 PyObject *swig_obj[1] ;
16365
16366 if (!args) SWIG_fail;
16367 swig_obj[0] = args;
16368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16369 if (!SWIG_IsOK(res1)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16371 }
16372 arg1 = reinterpret_cast< wxColourData * >(argp1);
16373 {
16374 PyThreadState* __tstate = wxPyBeginAllowThreads();
16375 result = (arg1)->GetColour();
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16380 return resultobj;
16381fail:
16382 return NULL;
16383}
16384
16385
16386SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj = 0;
16388 wxColourData *arg1 = (wxColourData *) 0 ;
16389 int arg2 ;
16390 wxColour result;
16391 void *argp1 = 0 ;
16392 int res1 = 0 ;
16393 int val2 ;
16394 int ecode2 = 0 ;
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
16397 char * kwnames[] = {
16398 (char *) "self",(char *) "i", NULL
16399 };
16400
16401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16403 if (!SWIG_IsOK(res1)) {
16404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16405 }
16406 arg1 = reinterpret_cast< wxColourData * >(argp1);
16407 ecode2 = SWIG_AsVal_int(obj1, &val2);
16408 if (!SWIG_IsOK(ecode2)) {
16409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16410 }
16411 arg2 = static_cast< int >(val2);
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 result = (arg1)->GetCustomColour(arg2);
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16419 return resultobj;
16420fail:
16421 return NULL;
16422}
16423
16424
16425SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj = 0;
16427 wxColourData *arg1 = (wxColourData *) 0 ;
16428 int arg2 ;
16429 void *argp1 = 0 ;
16430 int res1 = 0 ;
16431 int val2 ;
16432 int ecode2 = 0 ;
16433 PyObject * obj0 = 0 ;
16434 PyObject * obj1 = 0 ;
16435 char * kwnames[] = {
16436 (char *) "self",(char *) "flag", NULL
16437 };
16438
16439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16441 if (!SWIG_IsOK(res1)) {
16442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16443 }
16444 arg1 = reinterpret_cast< wxColourData * >(argp1);
16445 ecode2 = SWIG_AsVal_int(obj1, &val2);
16446 if (!SWIG_IsOK(ecode2)) {
16447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16448 }
16449 arg2 = static_cast< int >(val2);
16450 {
16451 PyThreadState* __tstate = wxPyBeginAllowThreads();
16452 (arg1)->SetChooseFull(arg2);
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 resultobj = SWIG_Py_Void();
16457 return resultobj;
16458fail:
16459 return NULL;
16460}
16461
16462
16463SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj = 0;
16465 wxColourData *arg1 = (wxColourData *) 0 ;
16466 wxColour *arg2 = 0 ;
16467 void *argp1 = 0 ;
16468 int res1 = 0 ;
16469 wxColour temp2 ;
16470 PyObject * obj0 = 0 ;
16471 PyObject * obj1 = 0 ;
16472 char * kwnames[] = {
16473 (char *) "self",(char *) "colour", NULL
16474 };
16475
16476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16478 if (!SWIG_IsOK(res1)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16480 }
16481 arg1 = reinterpret_cast< wxColourData * >(argp1);
16482 {
16483 arg2 = &temp2;
16484 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16485 }
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
16488 (arg1)->SetColour((wxColour const &)*arg2);
16489 wxPyEndAllowThreads(__tstate);
16490 if (PyErr_Occurred()) SWIG_fail;
16491 }
16492 resultobj = SWIG_Py_Void();
16493 return resultobj;
16494fail:
16495 return NULL;
16496}
16497
16498
16499SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj = 0;
16501 wxColourData *arg1 = (wxColourData *) 0 ;
16502 int arg2 ;
16503 wxColour *arg3 = 0 ;
16504 void *argp1 = 0 ;
16505 int res1 = 0 ;
16506 int val2 ;
16507 int ecode2 = 0 ;
16508 wxColour temp3 ;
16509 PyObject * obj0 = 0 ;
16510 PyObject * obj1 = 0 ;
16511 PyObject * obj2 = 0 ;
16512 char * kwnames[] = {
16513 (char *) "self",(char *) "i",(char *) "colour", NULL
16514 };
16515
16516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16518 if (!SWIG_IsOK(res1)) {
16519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16520 }
16521 arg1 = reinterpret_cast< wxColourData * >(argp1);
16522 ecode2 = SWIG_AsVal_int(obj1, &val2);
16523 if (!SWIG_IsOK(ecode2)) {
16524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16525 }
16526 arg2 = static_cast< int >(val2);
16527 {
16528 arg3 = &temp3;
16529 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16530 }
16531 {
16532 PyThreadState* __tstate = wxPyBeginAllowThreads();
16533 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16534 wxPyEndAllowThreads(__tstate);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 resultobj = SWIG_Py_Void();
16538 return resultobj;
16539fail:
16540 return NULL;
d55e5bfc
RD
16541}
16542
16543
554f62e9
RD
16544SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16545 PyObject *obj;
16546 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16547 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16548 return SWIG_Py_Void();
d55e5bfc
RD
16549}
16550
554f62e9
RD
16551SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16552 return SWIG_Python_InitShadowInstance(args);
16553}
d55e5bfc 16554
554f62e9
RD
16555SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16556 PyObject *resultobj = 0;
16557 wxWindow *arg1 = (wxWindow *) 0 ;
16558 wxColourData *arg2 = (wxColourData *) NULL ;
16559 wxColourDialog *result = 0 ;
16560 void *argp1 = 0 ;
16561 int res1 = 0 ;
16562 void *argp2 = 0 ;
16563 int res2 = 0 ;
16564 PyObject * obj0 = 0 ;
16565 PyObject * obj1 = 0 ;
16566 char * kwnames[] = {
16567 (char *) "parent",(char *) "data", NULL
16568 };
16569
16570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16572 if (!SWIG_IsOK(res1)) {
16573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16574 }
16575 arg1 = reinterpret_cast< wxWindow * >(argp1);
16576 if (obj1) {
16577 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16578 if (!SWIG_IsOK(res2)) {
16579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
d55e5bfc 16580 }
554f62e9
RD
16581 arg2 = reinterpret_cast< wxColourData * >(argp2);
16582 }
16583 {
16584 if (!wxPyCheckForApp()) SWIG_fail;
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16591 return resultobj;
16592fail:
16593 return NULL;
16594}
16595
16596
16597SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16598 PyObject *resultobj = 0;
16599 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16600 wxColourData *result = 0 ;
16601 void *argp1 = 0 ;
16602 int res1 = 0 ;
16603 PyObject *swig_obj[1] ;
16604
16605 if (!args) SWIG_fail;
16606 swig_obj[0] = args;
16607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16608 if (!SWIG_IsOK(res1)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16610 }
16611 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16612 {
16613 PyThreadState* __tstate = wxPyBeginAllowThreads();
16614 {
16615 wxColourData &_result_ref = (arg1)->GetColourData();
16616 result = (wxColourData *) &_result_ref;
d55e5bfc 16617 }
554f62e9
RD
16618 wxPyEndAllowThreads(__tstate);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16622 return resultobj;
16623fail:
16624 return NULL;
16625}
16626
16627
16628SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16629 PyObject *obj;
16630 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16631 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16632 return SWIG_Py_Void();
16633}
16634
16635SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16636 return SWIG_Python_InitShadowInstance(args);
16637}
16638
16639SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj = 0;
16641 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16642 wxColour const &arg2_defvalue = wxNullColour ;
16643 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16644 wxString const &arg3_defvalue = wxPyEmptyString ;
16645 wxString *arg3 = (wxString *) &arg3_defvalue ;
16646 wxColour result;
16647 void *argp1 = 0 ;
16648 int res1 = 0 ;
16649 wxColour temp2 ;
16650 bool temp3 = false ;
16651 PyObject * obj0 = 0 ;
16652 PyObject * obj1 = 0 ;
16653 PyObject * obj2 = 0 ;
16654 char * kwnames[] = {
16655 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16656 };
16657
16658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16659 if (obj0) {
16660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16661 if (!SWIG_IsOK(res1)) {
16662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 16663 }
554f62e9
RD
16664 arg1 = reinterpret_cast< wxWindow * >(argp1);
16665 }
16666 if (obj1) {
d55e5bfc 16667 {
554f62e9
RD
16668 arg2 = &temp2;
16669 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 16670 }
554f62e9
RD
16671 }
16672 if (obj2) {
d55e5bfc 16673 {
554f62e9
RD
16674 arg3 = wxString_in_helper(obj2);
16675 if (arg3 == NULL) SWIG_fail;
16676 temp3 = true;
d55e5bfc 16677 }
554f62e9
RD
16678 }
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16682 wxPyEndAllowThreads(__tstate);
16683 if (PyErr_Occurred()) SWIG_fail;
16684 }
16685 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16686 {
16687 if (temp3)
16688 delete arg3;
16689 }
16690 return resultobj;
16691fail:
16692 {
16693 if (temp3)
16694 delete arg3;
16695 }
16696 return NULL;
16697}
16698
16699
16700SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj = 0;
16702 wxWindow *arg1 = (wxWindow *) 0 ;
16703 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16704 wxString *arg2 = (wxString *) &arg2_defvalue ;
16705 wxString const &arg3_defvalue = wxPyEmptyString ;
16706 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 16707 long arg4 = (long) wxDD_DEFAULT_STYLE ;
554f62e9
RD
16708 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16709 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16710 wxSize const &arg6_defvalue = wxDefaultSize ;
16711 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16712 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16713 wxString *arg7 = (wxString *) &arg7_defvalue ;
16714 wxDirDialog *result = 0 ;
16715 void *argp1 = 0 ;
16716 int res1 = 0 ;
16717 bool temp2 = false ;
16718 bool temp3 = false ;
16719 long val4 ;
16720 int ecode4 = 0 ;
16721 wxPoint temp5 ;
16722 wxSize temp6 ;
16723 bool temp7 = false ;
16724 PyObject * obj0 = 0 ;
16725 PyObject * obj1 = 0 ;
16726 PyObject * obj2 = 0 ;
16727 PyObject * obj3 = 0 ;
16728 PyObject * obj4 = 0 ;
16729 PyObject * obj5 = 0 ;
16730 PyObject * obj6 = 0 ;
16731 char * kwnames[] = {
16732 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16733 };
16734
16735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16737 if (!SWIG_IsOK(res1)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16739 }
16740 arg1 = reinterpret_cast< wxWindow * >(argp1);
16741 if (obj1) {
d55e5bfc 16742 {
554f62e9
RD
16743 arg2 = wxString_in_helper(obj1);
16744 if (arg2 == NULL) SWIG_fail;
16745 temp2 = true;
d55e5bfc 16746 }
554f62e9
RD
16747 }
16748 if (obj2) {
d55e5bfc 16749 {
554f62e9
RD
16750 arg3 = wxString_in_helper(obj2);
16751 if (arg3 == NULL) SWIG_fail;
16752 temp3 = true;
d55e5bfc 16753 }
554f62e9
RD
16754 }
16755 if (obj3) {
16756 ecode4 = SWIG_AsVal_long(obj3, &val4);
16757 if (!SWIG_IsOK(ecode4)) {
16758 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16759 }
16760 arg4 = static_cast< long >(val4);
16761 }
16762 if (obj4) {
093d3ff1 16763 {
554f62e9
RD
16764 arg5 = &temp5;
16765 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 16766 }
554f62e9
RD
16767 }
16768 if (obj5) {
d55e5bfc 16769 {
554f62e9
RD
16770 arg6 = &temp6;
16771 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16772 }
554f62e9
RD
16773 }
16774 if (obj6) {
d55e5bfc 16775 {
554f62e9
RD
16776 arg7 = wxString_in_helper(obj6);
16777 if (arg7 == NULL) SWIG_fail;
16778 temp7 = true;
093d3ff1 16779 }
554f62e9
RD
16780 }
16781 {
16782 if (!wxPyCheckForApp()) SWIG_fail;
16783 PyThreadState* __tstate = wxPyBeginAllowThreads();
16784 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16789 {
16790 if (temp2)
16791 delete arg2;
16792 }
16793 {
16794 if (temp3)
16795 delete arg3;
16796 }
16797 {
16798 if (temp7)
16799 delete arg7;
16800 }
16801 return resultobj;
16802fail:
16803 {
16804 if (temp2)
16805 delete arg2;
16806 }
16807 {
16808 if (temp3)
16809 delete arg3;
16810 }
16811 {
16812 if (temp7)
16813 delete arg7;
16814 }
16815 return NULL;
d55e5bfc
RD
16816}
16817
16818
554f62e9
RD
16819SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16820 PyObject *resultobj = 0;
16821 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16822 wxString result;
16823 void *argp1 = 0 ;
16824 int res1 = 0 ;
16825 PyObject *swig_obj[1] ;
16826
16827 if (!args) SWIG_fail;
16828 swig_obj[0] = args;
16829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16830 if (!SWIG_IsOK(res1)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16832 }
16833 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16834 {
16835 PyThreadState* __tstate = wxPyBeginAllowThreads();
16836 result = (arg1)->GetPath();
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 {
16841#if wxUSE_UNICODE
16842 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16843#else
16844 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16845#endif
16846 }
16847 return resultobj;
16848fail:
16849 return NULL;
d55e5bfc
RD
16850}
16851
16852
554f62e9
RD
16853SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16854 PyObject *resultobj = 0;
16855 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16856 wxString result;
16857 void *argp1 = 0 ;
16858 int res1 = 0 ;
16859 PyObject *swig_obj[1] ;
16860
16861 if (!args) SWIG_fail;
16862 swig_obj[0] = args;
16863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16864 if (!SWIG_IsOK(res1)) {
16865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16866 }
16867 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 result = (arg1)->GetMessage();
16871 wxPyEndAllowThreads(__tstate);
16872 if (PyErr_Occurred()) SWIG_fail;
16873 }
16874 {
16875#if wxUSE_UNICODE
16876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16877#else
16878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16879#endif
16880 }
16881 return resultobj;
16882fail:
16883 return NULL;
d55e5bfc
RD
16884}
16885
16886
554f62e9
RD
16887SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16888 PyObject *resultobj = 0;
16889 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16890 wxString *arg2 = 0 ;
16891 void *argp1 = 0 ;
16892 int res1 = 0 ;
16893 bool temp2 = false ;
16894 PyObject * obj0 = 0 ;
16895 PyObject * obj1 = 0 ;
16896 char * kwnames[] = {
16897 (char *) "self",(char *) "message", NULL
16898 };
16899
16900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16902 if (!SWIG_IsOK(res1)) {
16903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16904 }
16905 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16906 {
16907 arg2 = wxString_in_helper(obj1);
16908 if (arg2 == NULL) SWIG_fail;
16909 temp2 = true;
16910 }
16911 {
16912 PyThreadState* __tstate = wxPyBeginAllowThreads();
16913 (arg1)->SetMessage((wxString const &)*arg2);
16914 wxPyEndAllowThreads(__tstate);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 resultobj = SWIG_Py_Void();
16918 {
16919 if (temp2)
16920 delete arg2;
16921 }
16922 return resultobj;
16923fail:
16924 {
16925 if (temp2)
16926 delete arg2;
16927 }
16928 return NULL;
d55e5bfc
RD
16929}
16930
16931
554f62e9
RD
16932SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj = 0;
16934 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16935 wxString *arg2 = 0 ;
16936 void *argp1 = 0 ;
16937 int res1 = 0 ;
16938 bool temp2 = false ;
16939 PyObject * obj0 = 0 ;
16940 PyObject * obj1 = 0 ;
16941 char * kwnames[] = {
16942 (char *) "self",(char *) "path", NULL
16943 };
16944
16945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16947 if (!SWIG_IsOK(res1)) {
16948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16949 }
16950 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16951 {
16952 arg2 = wxString_in_helper(obj1);
16953 if (arg2 == NULL) SWIG_fail;
16954 temp2 = true;
16955 }
16956 {
16957 PyThreadState* __tstate = wxPyBeginAllowThreads();
16958 (arg1)->SetPath((wxString const &)*arg2);
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 resultobj = SWIG_Py_Void();
16963 {
16964 if (temp2)
16965 delete arg2;
16966 }
16967 return resultobj;
16968fail:
16969 {
16970 if (temp2)
16971 delete arg2;
16972 }
16973 return NULL;
16974}
16975
16976
16977SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16978 PyObject *obj;
16979 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16980 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16981 return SWIG_Py_Void();
16982}
16983
16984SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16985 return SWIG_Python_InitShadowInstance(args);
16986}
16987
16988SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16989 PyObject *resultobj = 0;
16990 wxWindow *arg1 = (wxWindow *) 0 ;
16991 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16992 wxString *arg2 = (wxString *) &arg2_defvalue ;
16993 wxString const &arg3_defvalue = wxPyEmptyString ;
16994 wxString *arg3 = (wxString *) &arg3_defvalue ;
16995 wxString const &arg4_defvalue = wxPyEmptyString ;
16996 wxString *arg4 = (wxString *) &arg4_defvalue ;
16997 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16998 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 16999 long arg6 = (long) wxFD_DEFAULT_STYLE ;
554f62e9
RD
17000 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17001 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17002 wxFileDialog *result = 0 ;
17003 void *argp1 = 0 ;
17004 int res1 = 0 ;
17005 bool temp2 = false ;
17006 bool temp3 = false ;
17007 bool temp4 = false ;
17008 bool temp5 = false ;
17009 long val6 ;
17010 int ecode6 = 0 ;
17011 wxPoint temp7 ;
17012 PyObject * obj0 = 0 ;
17013 PyObject * obj1 = 0 ;
17014 PyObject * obj2 = 0 ;
17015 PyObject * obj3 = 0 ;
17016 PyObject * obj4 = 0 ;
17017 PyObject * obj5 = 0 ;
17018 PyObject * obj6 = 0 ;
17019 char * kwnames[] = {
17020 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17021 };
17022
17023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17025 if (!SWIG_IsOK(res1)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17027 }
17028 arg1 = reinterpret_cast< wxWindow * >(argp1);
17029 if (obj1) {
d55e5bfc 17030 {
554f62e9
RD
17031 arg2 = wxString_in_helper(obj1);
17032 if (arg2 == NULL) SWIG_fail;
17033 temp2 = true;
d55e5bfc 17034 }
554f62e9
RD
17035 }
17036 if (obj2) {
d55e5bfc 17037 {
554f62e9
RD
17038 arg3 = wxString_in_helper(obj2);
17039 if (arg3 == NULL) SWIG_fail;
17040 temp3 = true;
d55e5bfc 17041 }
554f62e9
RD
17042 }
17043 if (obj3) {
17044 {
17045 arg4 = wxString_in_helper(obj3);
17046 if (arg4 == NULL) SWIG_fail;
17047 temp4 = true;
d55e5bfc 17048 }
554f62e9
RD
17049 }
17050 if (obj4) {
d55e5bfc 17051 {
554f62e9
RD
17052 arg5 = wxString_in_helper(obj4);
17053 if (arg5 == NULL) SWIG_fail;
17054 temp5 = true;
d55e5bfc 17055 }
554f62e9
RD
17056 }
17057 if (obj5) {
17058 ecode6 = SWIG_AsVal_long(obj5, &val6);
17059 if (!SWIG_IsOK(ecode6)) {
17060 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17061 }
17062 arg6 = static_cast< long >(val6);
17063 }
17064 if (obj6) {
d55e5bfc 17065 {
554f62e9
RD
17066 arg7 = &temp7;
17067 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17068 }
554f62e9
RD
17069 }
17070 {
17071 if (!wxPyCheckForApp()) SWIG_fail;
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17078 {
17079 if (temp2)
17080 delete arg2;
17081 }
17082 {
17083 if (temp3)
17084 delete arg3;
17085 }
17086 {
17087 if (temp4)
17088 delete arg4;
17089 }
17090 {
17091 if (temp5)
17092 delete arg5;
17093 }
17094 return resultobj;
17095fail:
17096 {
17097 if (temp2)
17098 delete arg2;
17099 }
17100 {
17101 if (temp3)
17102 delete arg3;
17103 }
17104 {
17105 if (temp4)
17106 delete arg4;
17107 }
17108 {
17109 if (temp5)
17110 delete arg5;
17111 }
17112 return NULL;
d55e5bfc
RD
17113}
17114
17115
554f62e9
RD
17116SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17117 PyObject *resultobj = 0;
17118 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17119 wxString *arg2 = 0 ;
17120 void *argp1 = 0 ;
17121 int res1 = 0 ;
17122 bool temp2 = false ;
17123 PyObject * obj0 = 0 ;
17124 PyObject * obj1 = 0 ;
17125 char * kwnames[] = {
17126 (char *) "self",(char *) "message", NULL
17127 };
17128
17129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17131 if (!SWIG_IsOK(res1)) {
17132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17133 }
17134 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17135 {
17136 arg2 = wxString_in_helper(obj1);
17137 if (arg2 == NULL) SWIG_fail;
17138 temp2 = true;
17139 }
17140 {
17141 PyThreadState* __tstate = wxPyBeginAllowThreads();
17142 (arg1)->SetMessage((wxString const &)*arg2);
17143 wxPyEndAllowThreads(__tstate);
17144 if (PyErr_Occurred()) SWIG_fail;
17145 }
17146 resultobj = SWIG_Py_Void();
17147 {
17148 if (temp2)
17149 delete arg2;
17150 }
17151 return resultobj;
17152fail:
17153 {
17154 if (temp2)
17155 delete arg2;
17156 }
17157 return NULL;
d55e5bfc
RD
17158}
17159
17160
554f62e9
RD
17161SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17162 PyObject *resultobj = 0;
17163 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17164 wxString *arg2 = 0 ;
17165 void *argp1 = 0 ;
17166 int res1 = 0 ;
17167 bool temp2 = false ;
17168 PyObject * obj0 = 0 ;
17169 PyObject * obj1 = 0 ;
17170 char * kwnames[] = {
17171 (char *) "self",(char *) "path", NULL
17172 };
17173
17174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17176 if (!SWIG_IsOK(res1)) {
17177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17178 }
17179 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17180 {
17181 arg2 = wxString_in_helper(obj1);
17182 if (arg2 == NULL) SWIG_fail;
17183 temp2 = true;
17184 }
17185 {
17186 PyThreadState* __tstate = wxPyBeginAllowThreads();
17187 (arg1)->SetPath((wxString const &)*arg2);
17188 wxPyEndAllowThreads(__tstate);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 }
17191 resultobj = SWIG_Py_Void();
17192 {
17193 if (temp2)
17194 delete arg2;
17195 }
17196 return resultobj;
17197fail:
17198 {
17199 if (temp2)
17200 delete arg2;
17201 }
17202 return NULL;
d55e5bfc
RD
17203}
17204
17205
554f62e9
RD
17206SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj = 0;
17208 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17209 wxString *arg2 = 0 ;
17210 void *argp1 = 0 ;
17211 int res1 = 0 ;
17212 bool temp2 = false ;
17213 PyObject * obj0 = 0 ;
17214 PyObject * obj1 = 0 ;
17215 char * kwnames[] = {
17216 (char *) "self",(char *) "dir", NULL
17217 };
17218
17219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17221 if (!SWIG_IsOK(res1)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17223 }
17224 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17225 {
17226 arg2 = wxString_in_helper(obj1);
17227 if (arg2 == NULL) SWIG_fail;
17228 temp2 = true;
17229 }
17230 {
17231 PyThreadState* __tstate = wxPyBeginAllowThreads();
17232 (arg1)->SetDirectory((wxString const &)*arg2);
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 resultobj = SWIG_Py_Void();
17237 {
17238 if (temp2)
17239 delete arg2;
17240 }
17241 return resultobj;
17242fail:
17243 {
17244 if (temp2)
17245 delete arg2;
17246 }
17247 return NULL;
d55e5bfc
RD
17248}
17249
17250
554f62e9
RD
17251SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj = 0;
17253 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17254 wxString *arg2 = 0 ;
17255 void *argp1 = 0 ;
17256 int res1 = 0 ;
17257 bool temp2 = false ;
17258 PyObject * obj0 = 0 ;
17259 PyObject * obj1 = 0 ;
17260 char * kwnames[] = {
17261 (char *) "self",(char *) "name", NULL
17262 };
17263
17264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17266 if (!SWIG_IsOK(res1)) {
17267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17268 }
17269 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17270 {
17271 arg2 = wxString_in_helper(obj1);
17272 if (arg2 == NULL) SWIG_fail;
17273 temp2 = true;
17274 }
17275 {
17276 PyThreadState* __tstate = wxPyBeginAllowThreads();
17277 (arg1)->SetFilename((wxString const &)*arg2);
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 resultobj = SWIG_Py_Void();
17282 {
17283 if (temp2)
17284 delete arg2;
17285 }
17286 return resultobj;
17287fail:
17288 {
17289 if (temp2)
17290 delete arg2;
17291 }
17292 return NULL;
d55e5bfc
RD
17293}
17294
17295
554f62e9
RD
17296SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj = 0;
17298 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17299 wxString *arg2 = 0 ;
17300 void *argp1 = 0 ;
17301 int res1 = 0 ;
17302 bool temp2 = false ;
17303 PyObject * obj0 = 0 ;
17304 PyObject * obj1 = 0 ;
17305 char * kwnames[] = {
17306 (char *) "self",(char *) "wildCard", NULL
17307 };
17308
17309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17311 if (!SWIG_IsOK(res1)) {
17312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17313 }
17314 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17315 {
17316 arg2 = wxString_in_helper(obj1);
17317 if (arg2 == NULL) SWIG_fail;
17318 temp2 = true;
17319 }
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 (arg1)->SetWildcard((wxString const &)*arg2);
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 resultobj = SWIG_Py_Void();
17327 {
17328 if (temp2)
17329 delete arg2;
17330 }
17331 return resultobj;
17332fail:
17333 {
17334 if (temp2)
17335 delete arg2;
17336 }
17337 return NULL;
17338}
17339
17340
554f62e9
RD
17341SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj = 0;
17343 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17344 int arg2 ;
17345 void *argp1 = 0 ;
17346 int res1 = 0 ;
17347 int val2 ;
17348 int ecode2 = 0 ;
17349 PyObject * obj0 = 0 ;
17350 PyObject * obj1 = 0 ;
17351 char * kwnames[] = {
17352 (char *) "self",(char *) "filterIndex", NULL
17353 };
17354
17355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17357 if (!SWIG_IsOK(res1)) {
17358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17359 }
17360 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17361 ecode2 = SWIG_AsVal_int(obj1, &val2);
17362 if (!SWIG_IsOK(ecode2)) {
17363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17364 }
17365 arg2 = static_cast< int >(val2);
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 (arg1)->SetFilterIndex(arg2);
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
17372 resultobj = SWIG_Py_Void();
17373 return resultobj;
17374fail:
17375 return NULL;
d55e5bfc
RD
17376}
17377
17378
554f62e9
RD
17379SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17380 PyObject *resultobj = 0;
17381 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17382 wxString result;
17383 void *argp1 = 0 ;
17384 int res1 = 0 ;
17385 PyObject *swig_obj[1] ;
17386
17387 if (!args) SWIG_fail;
17388 swig_obj[0] = args;
17389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17390 if (!SWIG_IsOK(res1)) {
17391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17392 }
17393 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 result = ((wxFileDialog const *)arg1)->GetMessage();
17397 wxPyEndAllowThreads(__tstate);
17398 if (PyErr_Occurred()) SWIG_fail;
17399 }
17400 {
17401#if wxUSE_UNICODE
17402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17403#else
17404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17405#endif
17406 }
17407 return resultobj;
17408fail:
17409 return NULL;
d55e5bfc
RD
17410}
17411
17412
554f62e9
RD
17413SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17414 PyObject *resultobj = 0;
17415 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17416 wxString result;
17417 void *argp1 = 0 ;
17418 int res1 = 0 ;
17419 PyObject *swig_obj[1] ;
17420
17421 if (!args) SWIG_fail;
17422 swig_obj[0] = args;
17423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17424 if (!SWIG_IsOK(res1)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17426 }
17427 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = ((wxFileDialog const *)arg1)->GetPath();
17431 wxPyEndAllowThreads(__tstate);
17432 if (PyErr_Occurred()) SWIG_fail;
17433 }
17434 {
17435#if wxUSE_UNICODE
17436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17437#else
17438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17439#endif
17440 }
17441 return resultobj;
17442fail:
17443 return NULL;
d55e5bfc
RD
17444}
17445
17446
554f62e9
RD
17447SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17448 PyObject *resultobj = 0;
17449 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17450 wxString result;
17451 void *argp1 = 0 ;
17452 int res1 = 0 ;
17453 PyObject *swig_obj[1] ;
17454
17455 if (!args) SWIG_fail;
17456 swig_obj[0] = args;
17457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17458 if (!SWIG_IsOK(res1)) {
17459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17460 }
17461 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17462 {
17463 PyThreadState* __tstate = wxPyBeginAllowThreads();
17464 result = ((wxFileDialog const *)arg1)->GetDirectory();
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 {
17469#if wxUSE_UNICODE
17470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17471#else
17472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17473#endif
17474 }
17475 return resultobj;
17476fail:
17477 return NULL;
d55e5bfc
RD
17478}
17479
17480
554f62e9
RD
17481SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17482 PyObject *resultobj = 0;
17483 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17484 wxString result;
17485 void *argp1 = 0 ;
17486 int res1 = 0 ;
17487 PyObject *swig_obj[1] ;
17488
17489 if (!args) SWIG_fail;
17490 swig_obj[0] = args;
17491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17492 if (!SWIG_IsOK(res1)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17494 }
17495 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = ((wxFileDialog const *)arg1)->GetFilename();
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 {
17503#if wxUSE_UNICODE
17504 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17505#else
17506 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17507#endif
17508 }
17509 return resultobj;
17510fail:
17511 return NULL;
d55e5bfc
RD
17512}
17513
17514
554f62e9
RD
17515SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17516 PyObject *resultobj = 0;
17517 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17518 wxString result;
17519 void *argp1 = 0 ;
17520 int res1 = 0 ;
17521 PyObject *swig_obj[1] ;
17522
17523 if (!args) SWIG_fail;
17524 swig_obj[0] = args;
17525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17526 if (!SWIG_IsOK(res1)) {
17527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17528 }
17529 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17530 {
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 result = ((wxFileDialog const *)arg1)->GetWildcard();
17533 wxPyEndAllowThreads(__tstate);
17534 if (PyErr_Occurred()) SWIG_fail;
17535 }
17536 {
17537#if wxUSE_UNICODE
17538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17539#else
17540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17541#endif
17542 }
17543 return resultobj;
17544fail:
17545 return NULL;
d55e5bfc
RD
17546}
17547
17548
554f62e9
RD
17549SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17550 PyObject *resultobj = 0;
17551 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17552 int result;
17553 void *argp1 = 0 ;
17554 int res1 = 0 ;
17555 PyObject *swig_obj[1] ;
17556
17557 if (!args) SWIG_fail;
17558 swig_obj[0] = args;
17559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17560 if (!SWIG_IsOK(res1)) {
17561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17562 }
17563 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17564 {
17565 PyThreadState* __tstate = wxPyBeginAllowThreads();
17566 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 resultobj = SWIG_From_int(static_cast< int >(result));
17571 return resultobj;
17572fail:
17573 return NULL;
d55e5bfc
RD
17574}
17575
17576
554f62e9
RD
17577SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17578 PyObject *resultobj = 0;
17579 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17580 PyObject *result = 0 ;
17581 void *argp1 = 0 ;
17582 int res1 = 0 ;
17583 PyObject *swig_obj[1] ;
17584
17585 if (!args) SWIG_fail;
17586 swig_obj[0] = args;
17587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17588 if (!SWIG_IsOK(res1)) {
17589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17590 }
17591 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17592 {
17593 PyThreadState* __tstate = wxPyBeginAllowThreads();
17594 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17595 wxPyEndAllowThreads(__tstate);
17596 if (PyErr_Occurred()) SWIG_fail;
17597 }
17598 resultobj = result;
17599 return resultobj;
17600fail:
17601 return NULL;
d55e5bfc
RD
17602}
17603
17604
554f62e9
RD
17605SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17606 PyObject *resultobj = 0;
17607 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17608 PyObject *result = 0 ;
17609 void *argp1 = 0 ;
17610 int res1 = 0 ;
17611 PyObject *swig_obj[1] ;
17612
17613 if (!args) SWIG_fail;
17614 swig_obj[0] = args;
17615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17616 if (!SWIG_IsOK(res1)) {
17617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17618 }
17619 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17620 {
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 resultobj = result;
17627 return resultobj;
17628fail:
17629 return NULL;
17630}
17631
17632
17633SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17634 PyObject *obj;
17635 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17636 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17637 return SWIG_Py_Void();
17638}
17639
17640SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17641 return SWIG_Python_InitShadowInstance(args);
17642}
17643
17644SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj = 0;
17646 wxWindow *arg1 = (wxWindow *) 0 ;
17647 wxString *arg2 = 0 ;
17648 wxString *arg3 = 0 ;
17649 int arg4 = (int) 0 ;
17650 wxString *arg5 = (wxString *) NULL ;
17651 long arg6 = (long) wxCHOICEDLG_STYLE ;
17652 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17653 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17654 wxMultiChoiceDialog *result = 0 ;
17655 void *argp1 = 0 ;
17656 int res1 = 0 ;
17657 bool temp2 = false ;
17658 bool temp3 = false ;
17659 long val6 ;
17660 int ecode6 = 0 ;
17661 wxPoint temp7 ;
17662 PyObject * obj0 = 0 ;
17663 PyObject * obj1 = 0 ;
17664 PyObject * obj2 = 0 ;
17665 PyObject * obj3 = 0 ;
17666 PyObject * obj4 = 0 ;
17667 PyObject * obj5 = 0 ;
17668 char * kwnames[] = {
17669 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17670 };
17671
17672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17674 if (!SWIG_IsOK(res1)) {
17675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17676 }
17677 arg1 = reinterpret_cast< wxWindow * >(argp1);
17678 {
17679 arg2 = wxString_in_helper(obj1);
17680 if (arg2 == NULL) SWIG_fail;
17681 temp2 = true;
17682 }
17683 {
17684 arg3 = wxString_in_helper(obj2);
17685 if (arg3 == NULL) SWIG_fail;
17686 temp3 = true;
17687 }
17688 if (obj3) {
d55e5bfc 17689 {
554f62e9
RD
17690 arg4 = PyList_Size(obj3);
17691 arg5 = wxString_LIST_helper(obj3);
17692 if (arg5 == NULL) SWIG_fail;
d55e5bfc 17693 }
554f62e9
RD
17694 }
17695 if (obj4) {
17696 ecode6 = SWIG_AsVal_long(obj4, &val6);
17697 if (!SWIG_IsOK(ecode6)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17699 }
17700 arg6 = static_cast< long >(val6);
17701 }
17702 if (obj5) {
d55e5bfc 17703 {
554f62e9
RD
17704 arg7 = &temp7;
17705 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d55e5bfc 17706 }
554f62e9
RD
17707 }
17708 {
17709 if (!wxPyCheckForApp()) SWIG_fail;
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17716 {
17717 if (temp2)
17718 delete arg2;
17719 }
17720 {
17721 if (temp3)
17722 delete arg3;
17723 }
17724 {
17725 if (arg5) delete [] arg5;
17726 }
17727 return resultobj;
17728fail:
17729 {
17730 if (temp2)
17731 delete arg2;
17732 }
17733 {
17734 if (temp3)
17735 delete arg3;
17736 }
17737 {
17738 if (arg5) delete [] arg5;
17739 }
17740 return NULL;
d55e5bfc
RD
17741}
17742
17743
554f62e9
RD
17744SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17745 PyObject *resultobj = 0;
17746 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17747 wxArrayInt *arg2 = 0 ;
17748 void *argp1 = 0 ;
17749 int res1 = 0 ;
17750 bool temp2 = false ;
17751 PyObject * obj0 = 0 ;
17752 PyObject * obj1 = 0 ;
17753 char * kwnames[] = {
17754 (char *) "self",(char *) "selections", NULL
17755 };
17756
17757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17759 if (!SWIG_IsOK(res1)) {
17760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17761 }
17762 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17763 {
17764 if (! PySequence_Check(obj1)) {
17765 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17766 SWIG_fail;
17767 }
17768 arg2 = new wxArrayInt;
17769 temp2 = true;
17770 int i, len=PySequence_Length(obj1);
17771 for (i=0; i<len; i++) {
17772 PyObject* item = PySequence_GetItem(obj1, i);
17773 PyObject* number = PyNumber_Int(item);
17774 arg2->Add(PyInt_AS_LONG(number));
17775 Py_DECREF(item);
17776 Py_DECREF(number);
093d3ff1 17777 }
554f62e9
RD
17778 }
17779 {
17780 PyThreadState* __tstate = wxPyBeginAllowThreads();
17781 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 resultobj = SWIG_Py_Void();
17786 {
17787 if (temp2) delete arg2;
17788 }
17789 return resultobj;
17790fail:
17791 {
17792 if (temp2) delete arg2;
17793 }
17794 return NULL;
d55e5bfc
RD
17795}
17796
17797
554f62e9
RD
17798SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17799 PyObject *resultobj = 0;
17800 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17801 PyObject *result = 0 ;
17802 void *argp1 = 0 ;
17803 int res1 = 0 ;
17804 PyObject *swig_obj[1] ;
17805
17806 if (!args) SWIG_fail;
17807 swig_obj[0] = args;
17808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17809 if (!SWIG_IsOK(res1)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17811 }
17812 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17813 {
17814 PyThreadState* __tstate = wxPyBeginAllowThreads();
17815 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17816 wxPyEndAllowThreads(__tstate);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 resultobj = result;
17820 return resultobj;
17821fail:
17822 return NULL;
17823}
17824
17825
17826SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17827 PyObject *obj;
17828 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17829 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17830 return SWIG_Py_Void();
17831}
17832
17833SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17834 return SWIG_Python_InitShadowInstance(args);
17835}
17836
17837SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj = 0;
17839 wxWindow *arg1 = (wxWindow *) 0 ;
17840 wxString *arg2 = 0 ;
17841 wxString *arg3 = 0 ;
17842 int arg4 ;
17843 wxString *arg5 = (wxString *) 0 ;
17844 long arg6 = (long) wxCHOICEDLG_STYLE ;
17845 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17846 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17847 wxSingleChoiceDialog *result = 0 ;
17848 void *argp1 = 0 ;
17849 int res1 = 0 ;
17850 bool temp2 = false ;
17851 bool temp3 = false ;
17852 long val6 ;
17853 int ecode6 = 0 ;
17854 wxPoint temp7 ;
17855 PyObject * obj0 = 0 ;
17856 PyObject * obj1 = 0 ;
17857 PyObject * obj2 = 0 ;
17858 PyObject * obj3 = 0 ;
17859 PyObject * obj4 = 0 ;
17860 PyObject * obj5 = 0 ;
17861 char * kwnames[] = {
17862 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17863 };
17864
17865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17867 if (!SWIG_IsOK(res1)) {
17868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17869 }
17870 arg1 = reinterpret_cast< wxWindow * >(argp1);
17871 {
17872 arg2 = wxString_in_helper(obj1);
17873 if (arg2 == NULL) SWIG_fail;
17874 temp2 = true;
17875 }
17876 {
17877 arg3 = wxString_in_helper(obj2);
17878 if (arg3 == NULL) SWIG_fail;
17879 temp3 = true;
17880 }
17881 {
17882 arg4 = PyList_Size(obj3);
17883 arg5 = wxString_LIST_helper(obj3);
17884 if (arg5 == NULL) SWIG_fail;
17885 }
17886 if (obj4) {
17887 ecode6 = SWIG_AsVal_long(obj4, &val6);
17888 if (!SWIG_IsOK(ecode6)) {
17889 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17890 }
17891 arg6 = static_cast< long >(val6);
17892 }
17893 if (obj5) {
093d3ff1 17894 {
554f62e9
RD
17895 arg7 = &temp7;
17896 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
093d3ff1 17897 }
554f62e9
RD
17898 }
17899 {
17900 if (!wxPyCheckForApp()) SWIG_fail;
17901 PyThreadState* __tstate = wxPyBeginAllowThreads();
17902 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17903 wxPyEndAllowThreads(__tstate);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 }
17906 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17907 {
17908 if (temp2)
17909 delete arg2;
17910 }
17911 {
17912 if (temp3)
17913 delete arg3;
17914 }
17915 {
17916 if (arg5) delete [] arg5;
17917 }
17918 return resultobj;
17919fail:
17920 {
17921 if (temp2)
17922 delete arg2;
17923 }
17924 {
17925 if (temp3)
17926 delete arg3;
17927 }
17928 {
17929 if (arg5) delete [] arg5;
17930 }
17931 return NULL;
d55e5bfc
RD
17932}
17933
17934
554f62e9
RD
17935SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17936 PyObject *resultobj = 0;
17937 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17938 int result;
17939 void *argp1 = 0 ;
17940 int res1 = 0 ;
17941 PyObject *swig_obj[1] ;
17942
17943 if (!args) SWIG_fail;
17944 swig_obj[0] = args;
17945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17946 if (!SWIG_IsOK(res1)) {
17947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17948 }
17949 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 result = (int)(arg1)->GetSelection();
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
17956 resultobj = SWIG_From_int(static_cast< int >(result));
17957 return resultobj;
17958fail:
17959 return NULL;
d55e5bfc
RD
17960}
17961
17962
554f62e9
RD
17963SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17964 PyObject *resultobj = 0;
17965 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17966 wxString result;
17967 void *argp1 = 0 ;
17968 int res1 = 0 ;
17969 PyObject *swig_obj[1] ;
17970
17971 if (!args) SWIG_fail;
17972 swig_obj[0] = args;
17973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17974 if (!SWIG_IsOK(res1)) {
17975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17976 }
17977 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 result = (arg1)->GetStringSelection();
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
17984 {
17985#if wxUSE_UNICODE
17986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17987#else
17988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17989#endif
17990 }
17991 return resultobj;
17992fail:
17993 return NULL;
17994}
17995
17996
17997SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17998 PyObject *resultobj = 0;
17999 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18000 int arg2 ;
18001 void *argp1 = 0 ;
18002 int res1 = 0 ;
18003 int val2 ;
18004 int ecode2 = 0 ;
18005 PyObject * obj0 = 0 ;
18006 PyObject * obj1 = 0 ;
18007 char * kwnames[] = {
18008 (char *) "self",(char *) "sel", NULL
18009 };
18010
18011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18013 if (!SWIG_IsOK(res1)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18015 }
18016 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18017 ecode2 = SWIG_AsVal_int(obj1, &val2);
18018 if (!SWIG_IsOK(ecode2)) {
18019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18020 }
18021 arg2 = static_cast< int >(val2);
18022 {
18023 PyThreadState* __tstate = wxPyBeginAllowThreads();
18024 (arg1)->SetSelection(arg2);
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 resultobj = SWIG_Py_Void();
18029 return resultobj;
18030fail:
18031 return NULL;
18032}
18033
18034
18035SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18036 PyObject *obj;
18037 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18038 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18039 return SWIG_Py_Void();
18040}
18041
18042SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18043 return SWIG_Python_InitShadowInstance(args);
18044}
18045
18046SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18047 PyObject *resultobj = 0;
18048 wxWindow *arg1 = (wxWindow *) 0 ;
18049 wxString *arg2 = 0 ;
18050 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18051 wxString *arg3 = (wxString *) &arg3_defvalue ;
18052 wxString const &arg4_defvalue = wxPyEmptyString ;
18053 wxString *arg4 = (wxString *) &arg4_defvalue ;
18054 long arg5 = (long) wxTextEntryDialogStyle ;
18055 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18056 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18057 wxTextEntryDialog *result = 0 ;
18058 void *argp1 = 0 ;
18059 int res1 = 0 ;
18060 bool temp2 = false ;
18061 bool temp3 = false ;
18062 bool temp4 = false ;
18063 long val5 ;
18064 int ecode5 = 0 ;
18065 wxPoint temp6 ;
18066 PyObject * obj0 = 0 ;
18067 PyObject * obj1 = 0 ;
18068 PyObject * obj2 = 0 ;
18069 PyObject * obj3 = 0 ;
18070 PyObject * obj4 = 0 ;
18071 PyObject * obj5 = 0 ;
18072 char * kwnames[] = {
18073 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18074 };
18075
18076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18078 if (!SWIG_IsOK(res1)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18080 }
18081 arg1 = reinterpret_cast< wxWindow * >(argp1);
18082 {
18083 arg2 = wxString_in_helper(obj1);
18084 if (arg2 == NULL) SWIG_fail;
18085 temp2 = true;
18086 }
18087 if (obj2) {
093d3ff1 18088 {
554f62e9
RD
18089 arg3 = wxString_in_helper(obj2);
18090 if (arg3 == NULL) SWIG_fail;
18091 temp3 = true;
093d3ff1 18092 }
554f62e9
RD
18093 }
18094 if (obj3) {
d55e5bfc 18095 {
554f62e9
RD
18096 arg4 = wxString_in_helper(obj3);
18097 if (arg4 == NULL) SWIG_fail;
18098 temp4 = true;
d55e5bfc 18099 }
554f62e9
RD
18100 }
18101 if (obj4) {
18102 ecode5 = SWIG_AsVal_long(obj4, &val5);
18103 if (!SWIG_IsOK(ecode5)) {
18104 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18105 }
18106 arg5 = static_cast< long >(val5);
18107 }
18108 if (obj5) {
d55e5bfc 18109 {
554f62e9
RD
18110 arg6 = &temp6;
18111 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18112 }
554f62e9
RD
18113 }
18114 {
18115 if (!wxPyCheckForApp()) SWIG_fail;
18116 PyThreadState* __tstate = wxPyBeginAllowThreads();
18117 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18118 wxPyEndAllowThreads(__tstate);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 }
18121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18122 {
18123 if (temp2)
18124 delete arg2;
18125 }
18126 {
18127 if (temp3)
18128 delete arg3;
18129 }
18130 {
18131 if (temp4)
18132 delete arg4;
18133 }
18134 return resultobj;
18135fail:
18136 {
18137 if (temp2)
18138 delete arg2;
18139 }
18140 {
18141 if (temp3)
18142 delete arg3;
18143 }
18144 {
18145 if (temp4)
18146 delete arg4;
18147 }
18148 return NULL;
d55e5bfc
RD
18149}
18150
18151
554f62e9
RD
18152SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18153 PyObject *resultobj = 0;
18154 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18155 wxString result;
18156 void *argp1 = 0 ;
18157 int res1 = 0 ;
18158 PyObject *swig_obj[1] ;
18159
18160 if (!args) SWIG_fail;
18161 swig_obj[0] = args;
18162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18163 if (!SWIG_IsOK(res1)) {
18164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18165 }
18166 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18167 {
18168 PyThreadState* __tstate = wxPyBeginAllowThreads();
18169 result = (arg1)->GetValue();
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
18173 {
18174#if wxUSE_UNICODE
18175 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18176#else
18177 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18178#endif
18179 }
18180 return resultobj;
18181fail:
18182 return NULL;
18183}
18184
18185
18186SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18187 PyObject *resultobj = 0;
18188 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18189 wxString *arg2 = 0 ;
18190 void *argp1 = 0 ;
18191 int res1 = 0 ;
18192 bool temp2 = false ;
18193 PyObject * obj0 = 0 ;
18194 PyObject * obj1 = 0 ;
18195 char * kwnames[] = {
18196 (char *) "self",(char *) "value", NULL
18197 };
18198
18199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18201 if (!SWIG_IsOK(res1)) {
18202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18203 }
18204 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18205 {
18206 arg2 = wxString_in_helper(obj1);
18207 if (arg2 == NULL) SWIG_fail;
18208 temp2 = true;
18209 }
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 (arg1)->SetValue((wxString const &)*arg2);
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 resultobj = SWIG_Py_Void();
18217 {
18218 if (temp2)
18219 delete arg2;
18220 }
18221 return resultobj;
18222fail:
18223 {
18224 if (temp2)
18225 delete arg2;
18226 }
18227 return NULL;
d55e5bfc
RD
18228}
18229
18230
554f62e9
RD
18231SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18232 PyObject *obj;
18233 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18234 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18235 return SWIG_Py_Void();
d55e5bfc
RD
18236}
18237
554f62e9
RD
18238SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18239 return SWIG_Python_InitShadowInstance(args);
18240}
d55e5bfc 18241
554f62e9
RD
18242SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18243 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18244 return 1;
d55e5bfc
RD
18245}
18246
18247
554f62e9
RD
18248SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18249 PyObject *pyobj = 0;
18250
18251 {
18252#if wxUSE_UNICODE
18253 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18254#else
18255 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18256#endif
18257 }
18258 return pyobj;
18259}
18260
18261
18262SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18263 PyObject *resultobj = 0;
18264 wxWindow *arg1 = (wxWindow *) 0 ;
18265 wxString *arg2 = 0 ;
18266 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18267 wxString *arg3 = (wxString *) &arg3_defvalue ;
18268 wxString const &arg4_defvalue = wxPyEmptyString ;
18269 wxString *arg4 = (wxString *) &arg4_defvalue ;
18270 long arg5 = (long) wxTextEntryDialogStyle ;
18271 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18272 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18273 wxPasswordEntryDialog *result = 0 ;
18274 void *argp1 = 0 ;
18275 int res1 = 0 ;
18276 bool temp2 = false ;
18277 bool temp3 = false ;
18278 bool temp4 = false ;
18279 long val5 ;
18280 int ecode5 = 0 ;
18281 wxPoint temp6 ;
18282 PyObject * obj0 = 0 ;
18283 PyObject * obj1 = 0 ;
18284 PyObject * obj2 = 0 ;
18285 PyObject * obj3 = 0 ;
18286 PyObject * obj4 = 0 ;
18287 PyObject * obj5 = 0 ;
18288 char * kwnames[] = {
18289 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18290 };
18291
18292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18294 if (!SWIG_IsOK(res1)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18296 }
18297 arg1 = reinterpret_cast< wxWindow * >(argp1);
18298 {
18299 arg2 = wxString_in_helper(obj1);
18300 if (arg2 == NULL) SWIG_fail;
18301 temp2 = true;
18302 }
18303 if (obj2) {
d55e5bfc 18304 {
554f62e9
RD
18305 arg3 = wxString_in_helper(obj2);
18306 if (arg3 == NULL) SWIG_fail;
18307 temp3 = true;
d55e5bfc 18308 }
554f62e9
RD
18309 }
18310 if (obj3) {
d55e5bfc 18311 {
554f62e9
RD
18312 arg4 = wxString_in_helper(obj3);
18313 if (arg4 == NULL) SWIG_fail;
18314 temp4 = true;
d55e5bfc 18315 }
554f62e9
RD
18316 }
18317 if (obj4) {
18318 ecode5 = SWIG_AsVal_long(obj4, &val5);
18319 if (!SWIG_IsOK(ecode5)) {
18320 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18321 }
18322 arg5 = static_cast< long >(val5);
18323 }
18324 if (obj5) {
093d3ff1 18325 {
554f62e9
RD
18326 arg6 = &temp6;
18327 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 18328 }
554f62e9
RD
18329 }
18330 {
18331 PyThreadState* __tstate = wxPyBeginAllowThreads();
18332 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18337 {
18338 if (temp2)
18339 delete arg2;
18340 }
18341 {
18342 if (temp3)
18343 delete arg3;
18344 }
18345 {
18346 if (temp4)
18347 delete arg4;
18348 }
18349 return resultobj;
18350fail:
18351 {
18352 if (temp2)
18353 delete arg2;
18354 }
18355 {
18356 if (temp3)
18357 delete arg3;
18358 }
18359 {
18360 if (temp4)
18361 delete arg4;
18362 }
18363 return NULL;
d55e5bfc
RD
18364}
18365
18366
554f62e9
RD
18367SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18368 PyObject *obj;
18369 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18370 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18371 return SWIG_Py_Void();
d55e5bfc
RD
18372}
18373
554f62e9
RD
18374SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18375 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18376}
18377
554f62e9
RD
18378SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18379 PyObject *resultobj = 0;
18380 wxFontData *result = 0 ;
18381
18382 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 result = (wxFontData *)new wxFontData();
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18390 return resultobj;
18391fail:
18392 return NULL;
d55e5bfc
RD
18393}
18394
18395
554f62e9
RD
18396SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18397 PyObject *resultobj = 0;
18398 wxFontData *arg1 = (wxFontData *) 0 ;
18399 void *argp1 = 0 ;
18400 int res1 = 0 ;
18401 PyObject *swig_obj[1] ;
18402
18403 if (!args) SWIG_fail;
18404 swig_obj[0] = args;
18405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18406 if (!SWIG_IsOK(res1)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18408 }
18409 arg1 = reinterpret_cast< wxFontData * >(argp1);
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 delete arg1;
d55e5bfc 18413
554f62e9
RD
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
18417 resultobj = SWIG_Py_Void();
18418 return resultobj;
18419fail:
18420 return NULL;
18421}
18422
18423
18424SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18425 PyObject *resultobj = 0;
18426 wxFontData *arg1 = (wxFontData *) 0 ;
18427 bool arg2 ;
18428 void *argp1 = 0 ;
18429 int res1 = 0 ;
18430 bool val2 ;
18431 int ecode2 = 0 ;
18432 PyObject * obj0 = 0 ;
18433 PyObject * obj1 = 0 ;
18434 char * kwnames[] = {
18435 (char *) "self",(char *) "enable", NULL
18436 };
18437
18438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18440 if (!SWIG_IsOK(res1)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18442 }
18443 arg1 = reinterpret_cast< wxFontData * >(argp1);
18444 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18445 if (!SWIG_IsOK(ecode2)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18447 }
18448 arg2 = static_cast< bool >(val2);
18449 {
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 (arg1)->EnableEffects(arg2);
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 resultobj = SWIG_Py_Void();
18456 return resultobj;
18457fail:
18458 return NULL;
d55e5bfc
RD
18459}
18460
18461
554f62e9
RD
18462SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18463 PyObject *resultobj = 0;
18464 wxFontData *arg1 = (wxFontData *) 0 ;
18465 bool result;
18466 void *argp1 = 0 ;
18467 int res1 = 0 ;
18468 PyObject *swig_obj[1] ;
18469
18470 if (!args) SWIG_fail;
18471 swig_obj[0] = args;
18472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18473 if (!SWIG_IsOK(res1)) {
18474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18475 }
18476 arg1 = reinterpret_cast< wxFontData * >(argp1);
18477 {
18478 PyThreadState* __tstate = wxPyBeginAllowThreads();
18479 result = (bool)(arg1)->GetAllowSymbols();
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 {
18484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18485 }
18486 return resultobj;
18487fail:
18488 return NULL;
d55e5bfc
RD
18489}
18490
18491
554f62e9
RD
18492SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18493 PyObject *resultobj = 0;
18494 wxFontData *arg1 = (wxFontData *) 0 ;
18495 wxColour result;
18496 void *argp1 = 0 ;
18497 int res1 = 0 ;
18498 PyObject *swig_obj[1] ;
18499
18500 if (!args) SWIG_fail;
18501 swig_obj[0] = args;
18502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18503 if (!SWIG_IsOK(res1)) {
18504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18505 }
18506 arg1 = reinterpret_cast< wxFontData * >(argp1);
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 result = (arg1)->GetColour();
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18514 return resultobj;
18515fail:
18516 return NULL;
70b7a5fe
RD
18517}
18518
18519
554f62e9
RD
18520SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18521 PyObject *resultobj = 0;
18522 wxFontData *arg1 = (wxFontData *) 0 ;
18523 wxFont result;
18524 void *argp1 = 0 ;
18525 int res1 = 0 ;
18526 PyObject *swig_obj[1] ;
18527
18528 if (!args) SWIG_fail;
18529 swig_obj[0] = args;
18530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18531 if (!SWIG_IsOK(res1)) {
18532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18533 }
18534 arg1 = reinterpret_cast< wxFontData * >(argp1);
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 result = (arg1)->GetChosenFont();
18538 wxPyEndAllowThreads(__tstate);
18539 if (PyErr_Occurred()) SWIG_fail;
18540 }
18541 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18542 return resultobj;
18543fail:
18544 return NULL;
70b7a5fe
RD
18545}
18546
18547
554f62e9
RD
18548SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18549 PyObject *resultobj = 0;
18550 wxFontData *arg1 = (wxFontData *) 0 ;
18551 bool result;
18552 void *argp1 = 0 ;
18553 int res1 = 0 ;
18554 PyObject *swig_obj[1] ;
18555
18556 if (!args) SWIG_fail;
18557 swig_obj[0] = args;
18558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18559 if (!SWIG_IsOK(res1)) {
18560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18561 }
18562 arg1 = reinterpret_cast< wxFontData * >(argp1);
18563 {
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 result = (bool)(arg1)->GetEnableEffects();
18566 wxPyEndAllowThreads(__tstate);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 {
18570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18571 }
18572 return resultobj;
18573fail:
18574 return NULL;
d55e5bfc
RD
18575}
18576
18577
554f62e9
RD
18578SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18579 PyObject *resultobj = 0;
18580 wxFontData *arg1 = (wxFontData *) 0 ;
18581 wxFont result;
18582 void *argp1 = 0 ;
18583 int res1 = 0 ;
18584 PyObject *swig_obj[1] ;
18585
18586 if (!args) SWIG_fail;
18587 swig_obj[0] = args;
18588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18589 if (!SWIG_IsOK(res1)) {
18590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18591 }
18592 arg1 = reinterpret_cast< wxFontData * >(argp1);
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 result = (arg1)->GetInitialFont();
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18600 return resultobj;
18601fail:
18602 return NULL;
d55e5bfc
RD
18603}
18604
18605
554f62e9
RD
18606SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18607 PyObject *resultobj = 0;
18608 wxFontData *arg1 = (wxFontData *) 0 ;
18609 bool result;
18610 void *argp1 = 0 ;
18611 int res1 = 0 ;
18612 PyObject *swig_obj[1] ;
18613
18614 if (!args) SWIG_fail;
18615 swig_obj[0] = args;
18616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18617 if (!SWIG_IsOK(res1)) {
18618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18619 }
18620 arg1 = reinterpret_cast< wxFontData * >(argp1);
18621 {
18622 PyThreadState* __tstate = wxPyBeginAllowThreads();
18623 result = (bool)(arg1)->GetShowHelp();
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 {
18628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18629 }
18630 return resultobj;
18631fail:
18632 return NULL;
18633}
18634
18635
18636SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18637 PyObject *resultobj = 0;
18638 wxFontData *arg1 = (wxFontData *) 0 ;
18639 bool arg2 ;
18640 void *argp1 = 0 ;
18641 int res1 = 0 ;
18642 bool val2 ;
18643 int ecode2 = 0 ;
18644 PyObject * obj0 = 0 ;
18645 PyObject * obj1 = 0 ;
18646 char * kwnames[] = {
18647 (char *) "self",(char *) "allowSymbols", NULL
18648 };
18649
18650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18652 if (!SWIG_IsOK(res1)) {
18653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18654 }
18655 arg1 = reinterpret_cast< wxFontData * >(argp1);
18656 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18657 if (!SWIG_IsOK(ecode2)) {
18658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18659 }
18660 arg2 = static_cast< bool >(val2);
18661 {
18662 PyThreadState* __tstate = wxPyBeginAllowThreads();
18663 (arg1)->SetAllowSymbols(arg2);
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 resultobj = SWIG_Py_Void();
18668 return resultobj;
18669fail:
18670 return NULL;
18671}
18672
18673
18674SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj = 0;
18676 wxFontData *arg1 = (wxFontData *) 0 ;
18677 wxFont *arg2 = 0 ;
18678 void *argp1 = 0 ;
18679 int res1 = 0 ;
18680 void *argp2 = 0 ;
18681 int res2 = 0 ;
18682 PyObject * obj0 = 0 ;
18683 PyObject * obj1 = 0 ;
18684 char * kwnames[] = {
18685 (char *) "self",(char *) "font", NULL
18686 };
18687
18688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18690 if (!SWIG_IsOK(res1)) {
18691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18692 }
18693 arg1 = reinterpret_cast< wxFontData * >(argp1);
18694 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18695 if (!SWIG_IsOK(res2)) {
18696 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18697 }
18698 if (!argp2) {
18699 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18700 }
18701 arg2 = reinterpret_cast< wxFont * >(argp2);
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 (arg1)->SetChosenFont((wxFont const &)*arg2);
18705 wxPyEndAllowThreads(__tstate);
18706 if (PyErr_Occurred()) SWIG_fail;
18707 }
18708 resultobj = SWIG_Py_Void();
18709 return resultobj;
18710fail:
18711 return NULL;
18712}
18713
18714
18715SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18716 PyObject *resultobj = 0;
18717 wxFontData *arg1 = (wxFontData *) 0 ;
18718 wxColour *arg2 = 0 ;
18719 void *argp1 = 0 ;
18720 int res1 = 0 ;
18721 wxColour temp2 ;
18722 PyObject * obj0 = 0 ;
18723 PyObject * obj1 = 0 ;
18724 char * kwnames[] = {
18725 (char *) "self",(char *) "colour", NULL
18726 };
18727
18728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18730 if (!SWIG_IsOK(res1)) {
18731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18732 }
18733 arg1 = reinterpret_cast< wxFontData * >(argp1);
18734 {
18735 arg2 = &temp2;
18736 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18737 }
18738 {
18739 PyThreadState* __tstate = wxPyBeginAllowThreads();
18740 (arg1)->SetColour((wxColour const &)*arg2);
18741 wxPyEndAllowThreads(__tstate);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
18744 resultobj = SWIG_Py_Void();
18745 return resultobj;
18746fail:
18747 return NULL;
18748}
18749
18750
18751SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18752 PyObject *resultobj = 0;
18753 wxFontData *arg1 = (wxFontData *) 0 ;
18754 wxFont *arg2 = 0 ;
18755 void *argp1 = 0 ;
18756 int res1 = 0 ;
18757 void *argp2 = 0 ;
18758 int res2 = 0 ;
18759 PyObject * obj0 = 0 ;
18760 PyObject * obj1 = 0 ;
18761 char * kwnames[] = {
18762 (char *) "self",(char *) "font", NULL
18763 };
18764
18765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18767 if (!SWIG_IsOK(res1)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18769 }
18770 arg1 = reinterpret_cast< wxFontData * >(argp1);
18771 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18772 if (!SWIG_IsOK(res2)) {
18773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18774 }
18775 if (!argp2) {
18776 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18777 }
18778 arg2 = reinterpret_cast< wxFont * >(argp2);
18779 {
18780 PyThreadState* __tstate = wxPyBeginAllowThreads();
18781 (arg1)->SetInitialFont((wxFont const &)*arg2);
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 resultobj = SWIG_Py_Void();
18786 return resultobj;
18787fail:
18788 return NULL;
18789}
18790
18791
18792SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18793 PyObject *resultobj = 0;
18794 wxFontData *arg1 = (wxFontData *) 0 ;
18795 int arg2 ;
18796 int arg3 ;
18797 void *argp1 = 0 ;
18798 int res1 = 0 ;
18799 int val2 ;
18800 int ecode2 = 0 ;
18801 int val3 ;
18802 int ecode3 = 0 ;
18803 PyObject * obj0 = 0 ;
18804 PyObject * obj1 = 0 ;
18805 PyObject * obj2 = 0 ;
18806 char * kwnames[] = {
18807 (char *) "self",(char *) "min",(char *) "max", NULL
18808 };
18809
18810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18812 if (!SWIG_IsOK(res1)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18814 }
18815 arg1 = reinterpret_cast< wxFontData * >(argp1);
18816 ecode2 = SWIG_AsVal_int(obj1, &val2);
18817 if (!SWIG_IsOK(ecode2)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18819 }
18820 arg2 = static_cast< int >(val2);
18821 ecode3 = SWIG_AsVal_int(obj2, &val3);
18822 if (!SWIG_IsOK(ecode3)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18824 }
18825 arg3 = static_cast< int >(val3);
18826 {
18827 PyThreadState* __tstate = wxPyBeginAllowThreads();
18828 (arg1)->SetRange(arg2,arg3);
18829 wxPyEndAllowThreads(__tstate);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 }
18832 resultobj = SWIG_Py_Void();
18833 return resultobj;
18834fail:
18835 return NULL;
18836}
18837
18838
18839SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj = 0;
18841 wxFontData *arg1 = (wxFontData *) 0 ;
18842 bool arg2 ;
18843 void *argp1 = 0 ;
18844 int res1 = 0 ;
18845 bool val2 ;
18846 int ecode2 = 0 ;
18847 PyObject * obj0 = 0 ;
18848 PyObject * obj1 = 0 ;
18849 char * kwnames[] = {
18850 (char *) "self",(char *) "showHelp", NULL
18851 };
18852
18853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18855 if (!SWIG_IsOK(res1)) {
18856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18857 }
18858 arg1 = reinterpret_cast< wxFontData * >(argp1);
18859 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18860 if (!SWIG_IsOK(ecode2)) {
18861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18862 }
18863 arg2 = static_cast< bool >(val2);
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 (arg1)->SetShowHelp(arg2);
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 resultobj = SWIG_Py_Void();
18871 return resultobj;
18872fail:
18873 return NULL;
d55e5bfc
RD
18874}
18875
18876
554f62e9
RD
18877SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18878 PyObject *obj;
18879 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18880 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18881 return SWIG_Py_Void();
d55e5bfc
RD
18882}
18883
554f62e9
RD
18884SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18885 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18886}
18887
554f62e9
RD
18888SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18889 PyObject *resultobj = 0;
18890 wxWindow *arg1 = (wxWindow *) 0 ;
18891 wxFontData *arg2 = 0 ;
18892 wxFontDialog *result = 0 ;
18893 void *argp1 = 0 ;
18894 int res1 = 0 ;
18895 void *argp2 = 0 ;
18896 int res2 = 0 ;
18897 PyObject * obj0 = 0 ;
18898 PyObject * obj1 = 0 ;
18899 char * kwnames[] = {
18900 (char *) "parent",(char *) "data", NULL
18901 };
18902
18903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18905 if (!SWIG_IsOK(res1)) {
18906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18907 }
18908 arg1 = reinterpret_cast< wxWindow * >(argp1);
18909 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18910 if (!SWIG_IsOK(res2)) {
18911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18912 }
18913 if (!argp2) {
18914 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18915 }
18916 arg2 = reinterpret_cast< wxFontData * >(argp2);
18917 {
18918 if (!wxPyCheckForApp()) SWIG_fail;
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18925 return resultobj;
18926fail:
18927 return NULL;
d55e5bfc
RD
18928}
18929
18930
554f62e9
RD
18931SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18932 PyObject *resultobj = 0;
18933 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18934 wxFontData *result = 0 ;
18935 void *argp1 = 0 ;
18936 int res1 = 0 ;
18937 PyObject *swig_obj[1] ;
18938
18939 if (!args) SWIG_fail;
18940 swig_obj[0] = args;
18941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18942 if (!SWIG_IsOK(res1)) {
18943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18944 }
18945 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18946 {
18947 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 18948 {
554f62e9
RD
18949 wxFontData &_result_ref = (arg1)->GetFontData();
18950 result = (wxFontData *) &_result_ref;
d55e5bfc 18951 }
554f62e9
RD
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18956 return resultobj;
18957fail:
18958 return NULL;
18959}
18960
18961
18962SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18963 PyObject *obj;
18964 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18965 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18966 return SWIG_Py_Void();
18967}
18968
18969SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18970 return SWIG_Python_InitShadowInstance(args);
18971}
18972
18973SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj = 0;
18975 wxWindow *arg1 = (wxWindow *) NULL ;
18976 wxFont const &arg2_defvalue = wxNullFont ;
18977 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18978 wxString const &arg3_defvalue = wxPyEmptyString ;
18979 wxString *arg3 = (wxString *) &arg3_defvalue ;
18980 wxFont result;
18981 void *argp1 = 0 ;
18982 int res1 = 0 ;
18983 void *argp2 = 0 ;
18984 int res2 = 0 ;
18985 bool temp3 = false ;
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 PyObject * obj2 = 0 ;
18989 char * kwnames[] = {
18990 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18991 };
18992
18993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18994 if (obj0) {
18995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18996 if (!SWIG_IsOK(res1)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
093d3ff1 18998 }
554f62e9
RD
18999 arg1 = reinterpret_cast< wxWindow * >(argp1);
19000 }
19001 if (obj1) {
19002 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19003 if (!SWIG_IsOK(res2)) {
19004 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
093d3ff1 19005 }
554f62e9
RD
19006 if (!argp2) {
19007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19008 }
554f62e9
RD
19009 arg2 = reinterpret_cast< wxFont * >(argp2);
19010 }
19011 if (obj2) {
d55e5bfc 19012 {
554f62e9
RD
19013 arg3 = wxString_in_helper(obj2);
19014 if (arg3 == NULL) SWIG_fail;
19015 temp3 = true;
d55e5bfc 19016 }
554f62e9
RD
19017 }
19018 {
19019 PyThreadState* __tstate = wxPyBeginAllowThreads();
19020 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
19024 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19025 {
19026 if (temp3)
19027 delete arg3;
19028 }
19029 return resultobj;
19030fail:
19031 {
19032 if (temp3)
19033 delete arg3;
19034 }
19035 return NULL;
19036}
19037
19038
19039SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj = 0;
19041 wxWindow *arg1 = (wxWindow *) 0 ;
19042 wxString *arg2 = 0 ;
19043 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19044 wxString *arg3 = (wxString *) &arg3_defvalue ;
19045 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19046 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19047 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19048 wxMessageDialog *result = 0 ;
19049 void *argp1 = 0 ;
19050 int res1 = 0 ;
19051 bool temp2 = false ;
19052 bool temp3 = false ;
19053 long val4 ;
19054 int ecode4 = 0 ;
19055 wxPoint temp5 ;
19056 PyObject * obj0 = 0 ;
19057 PyObject * obj1 = 0 ;
19058 PyObject * obj2 = 0 ;
19059 PyObject * obj3 = 0 ;
19060 PyObject * obj4 = 0 ;
19061 char * kwnames[] = {
19062 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19063 };
19064
19065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19067 if (!SWIG_IsOK(res1)) {
19068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19069 }
19070 arg1 = reinterpret_cast< wxWindow * >(argp1);
19071 {
19072 arg2 = wxString_in_helper(obj1);
19073 if (arg2 == NULL) SWIG_fail;
19074 temp2 = true;
19075 }
19076 if (obj2) {
093d3ff1 19077 {
554f62e9
RD
19078 arg3 = wxString_in_helper(obj2);
19079 if (arg3 == NULL) SWIG_fail;
19080 temp3 = true;
093d3ff1 19081 }
554f62e9
RD
19082 }
19083 if (obj3) {
19084 ecode4 = SWIG_AsVal_long(obj3, &val4);
19085 if (!SWIG_IsOK(ecode4)) {
19086 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19087 }
19088 arg4 = static_cast< long >(val4);
19089 }
19090 if (obj4) {
d55e5bfc 19091 {
554f62e9
RD
19092 arg5 = &temp5;
19093 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19094 }
19095 }
19096 {
19097 if (!wxPyCheckForApp()) SWIG_fail;
19098 PyThreadState* __tstate = wxPyBeginAllowThreads();
19099 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19100 wxPyEndAllowThreads(__tstate);
19101 if (PyErr_Occurred()) SWIG_fail;
19102 }
19103 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19104 {
19105 if (temp2)
19106 delete arg2;
19107 }
19108 {
19109 if (temp3)
19110 delete arg3;
19111 }
19112 return resultobj;
19113fail:
19114 {
19115 if (temp2)
19116 delete arg2;
19117 }
19118 {
19119 if (temp3)
19120 delete arg3;
19121 }
19122 return NULL;
19123}
19124
19125
19126SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19127 PyObject *obj;
19128 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19129 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19130 return SWIG_Py_Void();
19131}
19132
19133SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19134 return SWIG_Python_InitShadowInstance(args);
19135}
19136
19137SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19138 PyObject *resultobj = 0;
19139 wxString *arg1 = 0 ;
19140 wxString *arg2 = 0 ;
19141 int arg3 = (int) 100 ;
19142 wxWindow *arg4 = (wxWindow *) NULL ;
19143 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19144 wxProgressDialog *result = 0 ;
19145 bool temp1 = false ;
19146 bool temp2 = false ;
19147 int val3 ;
19148 int ecode3 = 0 ;
19149 void *argp4 = 0 ;
19150 int res4 = 0 ;
19151 int val5 ;
19152 int ecode5 = 0 ;
19153 PyObject * obj0 = 0 ;
19154 PyObject * obj1 = 0 ;
19155 PyObject * obj2 = 0 ;
19156 PyObject * obj3 = 0 ;
19157 PyObject * obj4 = 0 ;
19158 char * kwnames[] = {
19159 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19160 };
19161
19162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19163 {
19164 arg1 = wxString_in_helper(obj0);
19165 if (arg1 == NULL) SWIG_fail;
19166 temp1 = true;
19167 }
19168 {
19169 arg2 = wxString_in_helper(obj1);
19170 if (arg2 == NULL) SWIG_fail;
19171 temp2 = true;
19172 }
19173 if (obj2) {
19174 ecode3 = SWIG_AsVal_int(obj2, &val3);
19175 if (!SWIG_IsOK(ecode3)) {
19176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19177 }
19178 arg3 = static_cast< int >(val3);
19179 }
19180 if (obj3) {
19181 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19182 if (!SWIG_IsOK(res4)) {
19183 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19184 }
554f62e9
RD
19185 arg4 = reinterpret_cast< wxWindow * >(argp4);
19186 }
19187 if (obj4) {
19188 ecode5 = SWIG_AsVal_int(obj4, &val5);
19189 if (!SWIG_IsOK(ecode5)) {
19190 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19191 }
19192 arg5 = static_cast< int >(val5);
19193 }
19194 {
19195 if (!wxPyCheckForApp()) SWIG_fail;
19196 PyThreadState* __tstate = wxPyBeginAllowThreads();
19197 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19202 {
19203 if (temp1)
19204 delete arg1;
19205 }
19206 {
19207 if (temp2)
19208 delete arg2;
19209 }
19210 return resultobj;
19211fail:
19212 {
19213 if (temp1)
19214 delete arg1;
19215 }
19216 {
19217 if (temp2)
19218 delete arg2;
19219 }
19220 return NULL;
19221}
19222
19223
19224SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19225 PyObject *resultobj = 0;
19226 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19227 int arg2 ;
19228 wxString const &arg3_defvalue = wxPyEmptyString ;
19229 wxString *arg3 = (wxString *) &arg3_defvalue ;
f460c29d 19230 bool *arg4 = (bool *) 0 ;
554f62e9
RD
19231 bool result;
19232 void *argp1 = 0 ;
19233 int res1 = 0 ;
19234 int val2 ;
19235 int ecode2 = 0 ;
19236 bool temp3 = false ;
f460c29d
RD
19237 bool temp4 ;
19238 int res4 = SWIG_TMPOBJ ;
554f62e9
RD
19239 PyObject * obj0 = 0 ;
19240 PyObject * obj1 = 0 ;
19241 PyObject * obj2 = 0 ;
19242 char * kwnames[] = {
19243 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19244 };
19245
f460c29d 19246 arg4 = &temp4;
554f62e9
RD
19247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19249 if (!SWIG_IsOK(res1)) {
19250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19251 }
19252 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19253 ecode2 = SWIG_AsVal_int(obj1, &val2);
19254 if (!SWIG_IsOK(ecode2)) {
19255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19256 }
19257 arg2 = static_cast< int >(val2);
19258 if (obj2) {
d55e5bfc 19259 {
554f62e9
RD
19260 arg3 = wxString_in_helper(obj2);
19261 if (arg3 == NULL) SWIG_fail;
19262 temp3 = true;
d55e5bfc 19263 }
554f62e9
RD
19264 }
19265 {
19266 PyThreadState* __tstate = wxPyBeginAllowThreads();
f460c29d 19267 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
554f62e9
RD
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 {
19272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19273 }
f460c29d
RD
19274 if (SWIG_IsTmpObj(res4)) {
19275 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19276 } else {
19277 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19278 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19279 }
554f62e9
RD
19280 {
19281 if (temp3)
19282 delete arg3;
19283 }
19284 return resultobj;
19285fail:
19286 {
19287 if (temp3)
19288 delete arg3;
19289 }
19290 return NULL;
d55e5bfc
RD
19291}
19292
19293
554f62e9
RD
19294SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19295 PyObject *resultobj = 0;
19296 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19297 void *argp1 = 0 ;
19298 int res1 = 0 ;
19299 PyObject *swig_obj[1] ;
19300
19301 if (!args) SWIG_fail;
19302 swig_obj[0] = args;
19303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19304 if (!SWIG_IsOK(res1)) {
19305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19306 }
19307 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 (arg1)->Resume();
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 resultobj = SWIG_Py_Void();
19315 return resultobj;
19316fail:
19317 return NULL;
d55e5bfc
RD
19318}
19319
19320
554f62e9
RD
19321SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19322 PyObject *obj;
19323 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19324 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19325 return SWIG_Py_Void();
d55e5bfc
RD
19326}
19327
554f62e9
RD
19328SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19329 return SWIG_Python_InitShadowInstance(args);
19330}
d55e5bfc 19331
554f62e9
RD
19332SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj = 0;
19334 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19335 int arg2 = (int) 0 ;
19336 wxFindDialogEvent *result = 0 ;
19337 int val1 ;
19338 int ecode1 = 0 ;
19339 int val2 ;
19340 int ecode2 = 0 ;
19341 PyObject * obj0 = 0 ;
19342 PyObject * obj1 = 0 ;
19343 char * kwnames[] = {
19344 (char *) "commandType",(char *) "id", NULL
19345 };
19346
19347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19348 if (obj0) {
19349 ecode1 = SWIG_AsVal_int(obj0, &val1);
19350 if (!SWIG_IsOK(ecode1)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19352 }
19353 arg1 = static_cast< wxEventType >(val1);
19354 }
19355 if (obj1) {
19356 ecode2 = SWIG_AsVal_int(obj1, &val2);
19357 if (!SWIG_IsOK(ecode2)) {
19358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19359 }
19360 arg2 = static_cast< int >(val2);
19361 }
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19365 wxPyEndAllowThreads(__tstate);
19366 if (PyErr_Occurred()) SWIG_fail;
19367 }
19368 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19369 return resultobj;
19370fail:
19371 return NULL;
d55e5bfc
RD
19372}
19373
19374
554f62e9
RD
19375SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19376 PyObject *resultobj = 0;
19377 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19378 int result;
19379 void *argp1 = 0 ;
19380 int res1 = 0 ;
19381 PyObject *swig_obj[1] ;
19382
19383 if (!args) SWIG_fail;
19384 swig_obj[0] = args;
19385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19386 if (!SWIG_IsOK(res1)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19388 }
19389 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 result = (int)(arg1)->GetFlags();
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 resultobj = SWIG_From_int(static_cast< int >(result));
19397 return resultobj;
19398fail:
19399 return NULL;
d55e5bfc
RD
19400}
19401
19402
554f62e9
RD
19403SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19404 PyObject *resultobj = 0;
19405 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19406 wxString *result = 0 ;
19407 void *argp1 = 0 ;
19408 int res1 = 0 ;
19409 PyObject *swig_obj[1] ;
19410
19411 if (!args) SWIG_fail;
19412 swig_obj[0] = args;
19413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19414 if (!SWIG_IsOK(res1)) {
19415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19416 }
19417 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19418 {
19419 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19420 {
554f62e9
RD
19421 wxString const &_result_ref = (arg1)->GetFindString();
19422 result = (wxString *) &_result_ref;
d55e5bfc 19423 }
554f62e9
RD
19424 wxPyEndAllowThreads(__tstate);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 }
19427 {
19428#if wxUSE_UNICODE
19429 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19430#else
19431 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19432#endif
19433 }
19434 return resultobj;
19435fail:
19436 return NULL;
d55e5bfc
RD
19437}
19438
19439
554f62e9
RD
19440SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19441 PyObject *resultobj = 0;
19442 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19443 wxString *result = 0 ;
19444 void *argp1 = 0 ;
19445 int res1 = 0 ;
19446 PyObject *swig_obj[1] ;
19447
19448 if (!args) SWIG_fail;
19449 swig_obj[0] = args;
19450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19451 if (!SWIG_IsOK(res1)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19453 }
19454 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19457 {
554f62e9
RD
19458 wxString const &_result_ref = (arg1)->GetReplaceString();
19459 result = (wxString *) &_result_ref;
093d3ff1 19460 }
554f62e9
RD
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 {
19465#if wxUSE_UNICODE
19466 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19467#else
19468 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19469#endif
19470 }
19471 return resultobj;
19472fail:
19473 return NULL;
d55e5bfc
RD
19474}
19475
19476
554f62e9
RD
19477SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19478 PyObject *resultobj = 0;
19479 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19480 wxFindReplaceDialog *result = 0 ;
19481 void *argp1 = 0 ;
19482 int res1 = 0 ;
19483 PyObject *swig_obj[1] ;
19484
19485 if (!args) SWIG_fail;
19486 swig_obj[0] = args;
19487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19488 if (!SWIG_IsOK(res1)) {
19489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19490 }
19491 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19492 {
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19495 wxPyEndAllowThreads(__tstate);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
19498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19499 return resultobj;
19500fail:
19501 return NULL;
19502}
19503
19504
19505SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19506 PyObject *resultobj = 0;
19507 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19508 int arg2 ;
19509 void *argp1 = 0 ;
19510 int res1 = 0 ;
19511 int val2 ;
19512 int ecode2 = 0 ;
19513 PyObject * obj0 = 0 ;
19514 PyObject * obj1 = 0 ;
19515 char * kwnames[] = {
19516 (char *) "self",(char *) "flags", NULL
19517 };
19518
19519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19521 if (!SWIG_IsOK(res1)) {
19522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19523 }
19524 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19525 ecode2 = SWIG_AsVal_int(obj1, &val2);
19526 if (!SWIG_IsOK(ecode2)) {
19527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19528 }
19529 arg2 = static_cast< int >(val2);
19530 {
19531 PyThreadState* __tstate = wxPyBeginAllowThreads();
19532 (arg1)->SetFlags(arg2);
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 resultobj = SWIG_Py_Void();
19537 return resultobj;
19538fail:
19539 return NULL;
19540}
19541
19542
19543SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19544 PyObject *resultobj = 0;
19545 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19546 wxString *arg2 = 0 ;
19547 void *argp1 = 0 ;
19548 int res1 = 0 ;
19549 bool temp2 = false ;
19550 PyObject * obj0 = 0 ;
19551 PyObject * obj1 = 0 ;
19552 char * kwnames[] = {
19553 (char *) "self",(char *) "str", NULL
19554 };
19555
19556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19558 if (!SWIG_IsOK(res1)) {
19559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19560 }
19561 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19562 {
19563 arg2 = wxString_in_helper(obj1);
19564 if (arg2 == NULL) SWIG_fail;
19565 temp2 = true;
19566 }
19567 {
19568 PyThreadState* __tstate = wxPyBeginAllowThreads();
19569 (arg1)->SetFindString((wxString const &)*arg2);
19570 wxPyEndAllowThreads(__tstate);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 resultobj = SWIG_Py_Void();
19574 {
19575 if (temp2)
19576 delete arg2;
19577 }
19578 return resultobj;
19579fail:
19580 {
19581 if (temp2)
19582 delete arg2;
19583 }
19584 return NULL;
d55e5bfc
RD
19585}
19586
19587
554f62e9
RD
19588SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj = 0;
19590 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19591 wxString *arg2 = 0 ;
19592 void *argp1 = 0 ;
19593 int res1 = 0 ;
19594 bool temp2 = false ;
19595 PyObject * obj0 = 0 ;
19596 PyObject * obj1 = 0 ;
19597 char * kwnames[] = {
19598 (char *) "self",(char *) "str", NULL
19599 };
19600
19601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19603 if (!SWIG_IsOK(res1)) {
19604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19605 }
19606 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19607 {
19608 arg2 = wxString_in_helper(obj1);
19609 if (arg2 == NULL) SWIG_fail;
19610 temp2 = true;
19611 }
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 (arg1)->SetReplaceString((wxString const &)*arg2);
19615 wxPyEndAllowThreads(__tstate);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 }
19618 resultobj = SWIG_Py_Void();
19619 {
19620 if (temp2)
19621 delete arg2;
19622 }
19623 return resultobj;
19624fail:
19625 {
19626 if (temp2)
19627 delete arg2;
19628 }
19629 return NULL;
d55e5bfc
RD
19630}
19631
19632
554f62e9
RD
19633SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19634 PyObject *obj;
19635 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19636 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19637 return SWIG_Py_Void();
d55e5bfc
RD
19638}
19639
554f62e9
RD
19640SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19641 return SWIG_Python_InitShadowInstance(args);
19642}
d55e5bfc 19643
554f62e9
RD
19644SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19645 PyObject *resultobj = 0;
19646 int arg1 = (int) 0 ;
19647 wxFindReplaceData *result = 0 ;
19648 int val1 ;
19649 int ecode1 = 0 ;
19650 PyObject * obj0 = 0 ;
19651 char * kwnames[] = {
19652 (char *) "flags", NULL
19653 };
19654
19655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19656 if (obj0) {
19657 ecode1 = SWIG_AsVal_int(obj0, &val1);
19658 if (!SWIG_IsOK(ecode1)) {
19659 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19660 }
19661 arg1 = static_cast< int >(val1);
19662 }
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19670 return resultobj;
19671fail:
19672 return NULL;
d55e5bfc
RD
19673}
19674
19675
554f62e9
RD
19676SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19677 PyObject *resultobj = 0;
19678 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19679 void *argp1 = 0 ;
19680 int res1 = 0 ;
19681 PyObject *swig_obj[1] ;
19682
19683 if (!args) SWIG_fail;
19684 swig_obj[0] = args;
19685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19686 if (!SWIG_IsOK(res1)) {
19687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19688 }
19689 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 delete arg1;
d55e5bfc 19693
554f62e9
RD
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
19697 resultobj = SWIG_Py_Void();
19698 return resultobj;
19699fail:
19700 return NULL;
d55e5bfc
RD
19701}
19702
19703
554f62e9
RD
19704SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19705 PyObject *resultobj = 0;
19706 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19707 wxString *result = 0 ;
19708 void *argp1 = 0 ;
19709 int res1 = 0 ;
19710 PyObject *swig_obj[1] ;
19711
19712 if (!args) SWIG_fail;
19713 swig_obj[0] = args;
19714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19715 if (!SWIG_IsOK(res1)) {
19716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19717 }
19718 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19719 {
19720 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19721 {
554f62e9
RD
19722 wxString const &_result_ref = (arg1)->GetFindString();
19723 result = (wxString *) &_result_ref;
d55e5bfc 19724 }
554f62e9
RD
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 {
19729#if wxUSE_UNICODE
19730 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19731#else
19732 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19733#endif
19734 }
19735 return resultobj;
19736fail:
19737 return NULL;
d55e5bfc
RD
19738}
19739
19740
554f62e9
RD
19741SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19742 PyObject *resultobj = 0;
19743 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19744 wxString *result = 0 ;
19745 void *argp1 = 0 ;
19746 int res1 = 0 ;
19747 PyObject *swig_obj[1] ;
19748
19749 if (!args) SWIG_fail;
19750 swig_obj[0] = args;
19751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19752 if (!SWIG_IsOK(res1)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19754 }
19755 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19758 {
554f62e9
RD
19759 wxString const &_result_ref = (arg1)->GetReplaceString();
19760 result = (wxString *) &_result_ref;
d55e5bfc 19761 }
554f62e9
RD
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 {
19766#if wxUSE_UNICODE
19767 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19768#else
19769 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19770#endif
19771 }
19772 return resultobj;
19773fail:
19774 return NULL;
d55e5bfc
RD
19775}
19776
19777
554f62e9
RD
19778SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19779 PyObject *resultobj = 0;
19780 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19781 int result;
19782 void *argp1 = 0 ;
19783 int res1 = 0 ;
19784 PyObject *swig_obj[1] ;
19785
19786 if (!args) SWIG_fail;
19787 swig_obj[0] = args;
19788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19789 if (!SWIG_IsOK(res1)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19791 }
19792 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19793 {
19794 PyThreadState* __tstate = wxPyBeginAllowThreads();
19795 result = (int)(arg1)->GetFlags();
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 resultobj = SWIG_From_int(static_cast< int >(result));
19800 return resultobj;
19801fail:
19802 return NULL;
19803}
19804
19805
19806SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj = 0;
19808 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19809 int arg2 ;
19810 void *argp1 = 0 ;
19811 int res1 = 0 ;
19812 int val2 ;
19813 int ecode2 = 0 ;
19814 PyObject * obj0 = 0 ;
19815 PyObject * obj1 = 0 ;
19816 char * kwnames[] = {
19817 (char *) "self",(char *) "flags", NULL
19818 };
19819
19820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19822 if (!SWIG_IsOK(res1)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19824 }
19825 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19826 ecode2 = SWIG_AsVal_int(obj1, &val2);
19827 if (!SWIG_IsOK(ecode2)) {
19828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19829 }
19830 arg2 = static_cast< int >(val2);
19831 {
19832 PyThreadState* __tstate = wxPyBeginAllowThreads();
19833 (arg1)->SetFlags(arg2);
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 resultobj = SWIG_Py_Void();
19838 return resultobj;
19839fail:
19840 return NULL;
19841}
19842
19843
19844SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj = 0;
19846 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19847 wxString *arg2 = 0 ;
19848 void *argp1 = 0 ;
19849 int res1 = 0 ;
19850 bool temp2 = false ;
19851 PyObject * obj0 = 0 ;
19852 PyObject * obj1 = 0 ;
19853 char * kwnames[] = {
19854 (char *) "self",(char *) "str", NULL
19855 };
19856
19857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19859 if (!SWIG_IsOK(res1)) {
19860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19861 }
19862 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19863 {
19864 arg2 = wxString_in_helper(obj1);
19865 if (arg2 == NULL) SWIG_fail;
19866 temp2 = true;
19867 }
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 (arg1)->SetFindString((wxString const &)*arg2);
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 resultobj = SWIG_Py_Void();
19875 {
19876 if (temp2)
19877 delete arg2;
19878 }
19879 return resultobj;
19880fail:
19881 {
19882 if (temp2)
19883 delete arg2;
19884 }
19885 return NULL;
d55e5bfc
RD
19886}
19887
19888
554f62e9
RD
19889SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj = 0;
19891 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19892 wxString *arg2 = 0 ;
19893 void *argp1 = 0 ;
19894 int res1 = 0 ;
19895 bool temp2 = false ;
19896 PyObject * obj0 = 0 ;
19897 PyObject * obj1 = 0 ;
19898 char * kwnames[] = {
19899 (char *) "self",(char *) "str", NULL
19900 };
19901
19902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19904 if (!SWIG_IsOK(res1)) {
19905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19906 }
19907 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19908 {
19909 arg2 = wxString_in_helper(obj1);
19910 if (arg2 == NULL) SWIG_fail;
19911 temp2 = true;
19912 }
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 (arg1)->SetReplaceString((wxString const &)*arg2);
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 resultobj = SWIG_Py_Void();
19920 {
19921 if (temp2)
19922 delete arg2;
19923 }
19924 return resultobj;
19925fail:
19926 {
19927 if (temp2)
19928 delete arg2;
19929 }
19930 return NULL;
19931}
19932
19933
19934SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19935 PyObject *obj;
19936 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19937 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19938 return SWIG_Py_Void();
19939}
19940
19941SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19942 return SWIG_Python_InitShadowInstance(args);
19943}
19944
19945SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19946 PyObject *resultobj = 0;
19947 wxWindow *arg1 = (wxWindow *) 0 ;
19948 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19949 wxString *arg3 = 0 ;
19950 int arg4 = (int) 0 ;
19951 wxFindReplaceDialog *result = 0 ;
19952 void *argp1 = 0 ;
19953 int res1 = 0 ;
19954 void *argp2 = 0 ;
19955 int res2 = 0 ;
19956 bool temp3 = false ;
19957 int val4 ;
19958 int ecode4 = 0 ;
19959 PyObject * obj0 = 0 ;
19960 PyObject * obj1 = 0 ;
19961 PyObject * obj2 = 0 ;
19962 PyObject * obj3 = 0 ;
19963 char * kwnames[] = {
19964 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19965 };
19966
19967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19969 if (!SWIG_IsOK(res1)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19971 }
19972 arg1 = reinterpret_cast< wxWindow * >(argp1);
19973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19974 if (!SWIG_IsOK(res2)) {
19975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19976 }
19977 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19978 {
19979 arg3 = wxString_in_helper(obj2);
19980 if (arg3 == NULL) SWIG_fail;
19981 temp3 = true;
19982 }
19983 if (obj3) {
19984 ecode4 = SWIG_AsVal_int(obj3, &val4);
19985 if (!SWIG_IsOK(ecode4)) {
19986 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19987 }
19988 arg4 = static_cast< int >(val4);
19989 }
19990 {
19991 if (!wxPyCheckForApp()) SWIG_fail;
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19994 wxPyEndAllowThreads(__tstate);
19995 if (PyErr_Occurred()) SWIG_fail;
19996 }
19997 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19998 {
19999 if (temp3)
20000 delete arg3;
20001 }
20002 return resultobj;
20003fail:
20004 {
20005 if (temp3)
20006 delete arg3;
20007 }
20008 return NULL;
d55e5bfc
RD
20009}
20010
20011
554f62e9
RD
20012SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20013 PyObject *resultobj = 0;
20014 wxFindReplaceDialog *result = 0 ;
20015
20016 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20017 {
20018 if (!wxPyCheckForApp()) SWIG_fail;
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20021 wxPyEndAllowThreads(__tstate);
20022 if (PyErr_Occurred()) SWIG_fail;
20023 }
20024 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20025 return resultobj;
20026fail:
20027 return NULL;
20028}
20029
20030
20031SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20032 PyObject *resultobj = 0;
20033 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20034 wxWindow *arg2 = (wxWindow *) 0 ;
20035 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20036 wxString *arg4 = 0 ;
20037 int arg5 = (int) 0 ;
20038 bool result;
20039 void *argp1 = 0 ;
20040 int res1 = 0 ;
20041 void *argp2 = 0 ;
20042 int res2 = 0 ;
20043 void *argp3 = 0 ;
20044 int res3 = 0 ;
20045 bool temp4 = false ;
20046 int val5 ;
20047 int ecode5 = 0 ;
20048 PyObject * obj0 = 0 ;
20049 PyObject * obj1 = 0 ;
20050 PyObject * obj2 = 0 ;
20051 PyObject * obj3 = 0 ;
20052 PyObject * obj4 = 0 ;
20053 char * kwnames[] = {
20054 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20055 };
20056
20057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20059 if (!SWIG_IsOK(res1)) {
20060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20061 }
20062 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20063 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20064 if (!SWIG_IsOK(res2)) {
20065 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20066 }
20067 arg2 = reinterpret_cast< wxWindow * >(argp2);
20068 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20069 if (!SWIG_IsOK(res3)) {
20070 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20071 }
20072 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20073 {
20074 arg4 = wxString_in_helper(obj3);
20075 if (arg4 == NULL) SWIG_fail;
20076 temp4 = true;
20077 }
20078 if (obj4) {
20079 ecode5 = SWIG_AsVal_int(obj4, &val5);
20080 if (!SWIG_IsOK(ecode5)) {
20081 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20082 }
20083 arg5 = static_cast< int >(val5);
20084 }
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 {
20092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20093 }
20094 {
20095 if (temp4)
20096 delete arg4;
20097 }
20098 return resultobj;
20099fail:
20100 {
20101 if (temp4)
20102 delete arg4;
20103 }
20104 return NULL;
d55e5bfc
RD
20105}
20106
20107
554f62e9
RD
20108SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20109 PyObject *resultobj = 0;
20110 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20111 wxFindReplaceData *result = 0 ;
20112 void *argp1 = 0 ;
20113 int res1 = 0 ;
20114 PyObject *swig_obj[1] ;
20115
20116 if (!args) SWIG_fail;
20117 swig_obj[0] = args;
20118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20119 if (!SWIG_IsOK(res1)) {
20120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20121 }
20122 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 result = (wxFindReplaceData *)(arg1)->GetData();
20126 wxPyEndAllowThreads(__tstate);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20130 return resultobj;
20131fail:
20132 return NULL;
20133}
20134
20135
20136SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20137 PyObject *resultobj = 0;
20138 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20139 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20140 void *argp1 = 0 ;
20141 int res1 = 0 ;
20142 void *argp2 = 0 ;
20143 int res2 = 0 ;
20144 PyObject * obj0 = 0 ;
20145 PyObject * obj1 = 0 ;
20146 char * kwnames[] = {
20147 (char *) "self",(char *) "data", NULL
20148 };
20149
20150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20152 if (!SWIG_IsOK(res1)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20154 }
20155 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20156 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20157 if (!SWIG_IsOK(res2)) {
20158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20159 }
20160 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 (arg1)->SetData(arg2);
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 resultobj = SWIG_Py_Void();
20168 return resultobj;
20169fail:
20170 return NULL;
20171}
20172
20173
20174SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20175 PyObject *obj;
20176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20177 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20178 return SWIG_Py_Void();
20179}
20180
20181SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20182 return SWIG_Python_InitShadowInstance(args);
20183}
20184
20185SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj = 0;
20187 wxWindow *arg1 = (wxWindow *) 0 ;
20188 int arg2 = (int) (int)-1 ;
20189 wxString const &arg3_defvalue = wxPyEmptyString ;
20190 wxString *arg3 = (wxString *) &arg3_defvalue ;
20191 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20192 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20193 wxSize const &arg5_defvalue = wxDefaultSize ;
20194 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20195 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20196 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20197 wxString *arg7 = (wxString *) &arg7_defvalue ;
20198 wxMDIParentFrame *result = 0 ;
20199 void *argp1 = 0 ;
20200 int res1 = 0 ;
20201 int val2 ;
20202 int ecode2 = 0 ;
20203 bool temp3 = false ;
20204 wxPoint temp4 ;
20205 wxSize temp5 ;
20206 long val6 ;
20207 int ecode6 = 0 ;
20208 bool temp7 = false ;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 PyObject * obj2 = 0 ;
20212 PyObject * obj3 = 0 ;
20213 PyObject * obj4 = 0 ;
20214 PyObject * obj5 = 0 ;
20215 PyObject * obj6 = 0 ;
20216 char * kwnames[] = {
20217 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20218 };
20219
20220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20222 if (!SWIG_IsOK(res1)) {
20223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20224 }
20225 arg1 = reinterpret_cast< wxWindow * >(argp1);
20226 if (obj1) {
20227 ecode2 = SWIG_AsVal_int(obj1, &val2);
20228 if (!SWIG_IsOK(ecode2)) {
20229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20230 }
20231 arg2 = static_cast< int >(val2);
20232 }
20233 if (obj2) {
d55e5bfc 20234 {
554f62e9
RD
20235 arg3 = wxString_in_helper(obj2);
20236 if (arg3 == NULL) SWIG_fail;
20237 temp3 = true;
d55e5bfc 20238 }
554f62e9
RD
20239 }
20240 if (obj3) {
d55e5bfc 20241 {
554f62e9
RD
20242 arg4 = &temp4;
20243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20244 }
554f62e9
RD
20245 }
20246 if (obj4) {
d55e5bfc 20247 {
554f62e9
RD
20248 arg5 = &temp5;
20249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20250 }
20251 }
20252 if (obj5) {
20253 ecode6 = SWIG_AsVal_long(obj5, &val6);
20254 if (!SWIG_IsOK(ecode6)) {
20255 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20256 }
20257 arg6 = static_cast< long >(val6);
20258 }
20259 if (obj6) {
d55e5bfc 20260 {
554f62e9
RD
20261 arg7 = wxString_in_helper(obj6);
20262 if (arg7 == NULL) SWIG_fail;
20263 temp7 = true;
20264 }
20265 }
20266 {
20267 if (!wxPyCheckForApp()) SWIG_fail;
20268 PyThreadState* __tstate = wxPyBeginAllowThreads();
20269 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20270 wxPyEndAllowThreads(__tstate);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 }
20273 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20274 {
20275 if (temp3)
20276 delete arg3;
20277 }
20278 {
20279 if (temp7)
20280 delete arg7;
20281 }
20282 return resultobj;
20283fail:
20284 {
20285 if (temp3)
20286 delete arg3;
20287 }
20288 {
20289 if (temp7)
20290 delete arg7;
20291 }
20292 return NULL;
d55e5bfc
RD
20293}
20294
20295
554f62e9
RD
20296SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20297 PyObject *resultobj = 0;
20298 wxMDIParentFrame *result = 0 ;
20299
20300 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20301 {
20302 if (!wxPyCheckForApp()) SWIG_fail;
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20309 return resultobj;
20310fail:
20311 return NULL;
20312}
20313
20314
20315SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20316 PyObject *resultobj = 0;
20317 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20318 wxWindow *arg2 = (wxWindow *) 0 ;
20319 int arg3 = (int) (int)-1 ;
20320 wxString const &arg4_defvalue = wxPyEmptyString ;
20321 wxString *arg4 = (wxString *) &arg4_defvalue ;
20322 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20323 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20324 wxSize const &arg6_defvalue = wxDefaultSize ;
20325 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20326 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20327 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20328 wxString *arg8 = (wxString *) &arg8_defvalue ;
20329 bool result;
20330 void *argp1 = 0 ;
20331 int res1 = 0 ;
20332 void *argp2 = 0 ;
20333 int res2 = 0 ;
20334 int val3 ;
20335 int ecode3 = 0 ;
20336 bool temp4 = false ;
20337 wxPoint temp5 ;
20338 wxSize temp6 ;
20339 long val7 ;
20340 int ecode7 = 0 ;
20341 bool temp8 = false ;
20342 PyObject * obj0 = 0 ;
20343 PyObject * obj1 = 0 ;
20344 PyObject * obj2 = 0 ;
20345 PyObject * obj3 = 0 ;
20346 PyObject * obj4 = 0 ;
20347 PyObject * obj5 = 0 ;
20348 PyObject * obj6 = 0 ;
20349 PyObject * obj7 = 0 ;
20350 char * kwnames[] = {
20351 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20352 };
20353
20354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20356 if (!SWIG_IsOK(res1)) {
20357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20358 }
20359 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20360 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20361 if (!SWIG_IsOK(res2)) {
20362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20363 }
20364 arg2 = reinterpret_cast< wxWindow * >(argp2);
20365 if (obj2) {
20366 ecode3 = SWIG_AsVal_int(obj2, &val3);
20367 if (!SWIG_IsOK(ecode3)) {
20368 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20369 }
20370 arg3 = static_cast< int >(val3);
20371 }
20372 if (obj3) {
d55e5bfc 20373 {
554f62e9
RD
20374 arg4 = wxString_in_helper(obj3);
20375 if (arg4 == NULL) SWIG_fail;
20376 temp4 = true;
d55e5bfc 20377 }
554f62e9
RD
20378 }
20379 if (obj4) {
d55e5bfc 20380 {
554f62e9
RD
20381 arg5 = &temp5;
20382 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20383 }
554f62e9
RD
20384 }
20385 if (obj5) {
d55e5bfc 20386 {
554f62e9
RD
20387 arg6 = &temp6;
20388 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 20389 }
554f62e9
RD
20390 }
20391 if (obj6) {
20392 ecode7 = SWIG_AsVal_long(obj6, &val7);
20393 if (!SWIG_IsOK(ecode7)) {
20394 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20395 }
20396 arg7 = static_cast< long >(val7);
20397 }
20398 if (obj7) {
d55e5bfc 20399 {
554f62e9
RD
20400 arg8 = wxString_in_helper(obj7);
20401 if (arg8 == NULL) SWIG_fail;
20402 temp8 = true;
d55e5bfc 20403 }
554f62e9
RD
20404 }
20405 {
20406 PyThreadState* __tstate = wxPyBeginAllowThreads();
20407 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 {
20412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20413 }
20414 {
20415 if (temp4)
20416 delete arg4;
20417 }
20418 {
20419 if (temp8)
20420 delete arg8;
20421 }
20422 return resultobj;
20423fail:
20424 {
20425 if (temp4)
20426 delete arg4;
20427 }
20428 {
20429 if (temp8)
20430 delete arg8;
20431 }
20432 return NULL;
d55e5bfc
RD
20433}
20434
20435
554f62e9
RD
20436SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20437 PyObject *resultobj = 0;
20438 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20439 void *argp1 = 0 ;
20440 int res1 = 0 ;
20441 PyObject *swig_obj[1] ;
20442
20443 if (!args) SWIG_fail;
20444 swig_obj[0] = args;
20445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20446 if (!SWIG_IsOK(res1)) {
20447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20448 }
20449 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20450 {
20451 PyThreadState* __tstate = wxPyBeginAllowThreads();
20452 (arg1)->ActivateNext();
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 resultobj = SWIG_Py_Void();
20457 return resultobj;
20458fail:
20459 return NULL;
d55e5bfc
RD
20460}
20461
20462
554f62e9
RD
20463SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20464 PyObject *resultobj = 0;
20465 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20466 void *argp1 = 0 ;
20467 int res1 = 0 ;
20468 PyObject *swig_obj[1] ;
20469
20470 if (!args) SWIG_fail;
20471 swig_obj[0] = args;
20472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20473 if (!SWIG_IsOK(res1)) {
20474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20475 }
20476 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20477 {
20478 PyThreadState* __tstate = wxPyBeginAllowThreads();
20479 (arg1)->ActivatePrevious();
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 resultobj = SWIG_Py_Void();
20484 return resultobj;
20485fail:
20486 return NULL;
d55e5bfc
RD
20487}
20488
20489
554f62e9
RD
20490SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20491 PyObject *resultobj = 0;
20492 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20493 void *argp1 = 0 ;
20494 int res1 = 0 ;
20495 PyObject *swig_obj[1] ;
20496
20497 if (!args) SWIG_fail;
20498 swig_obj[0] = args;
20499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20500 if (!SWIG_IsOK(res1)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20502 }
20503 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 (arg1)->ArrangeIcons();
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 resultobj = SWIG_Py_Void();
20511 return resultobj;
20512fail:
20513 return NULL;
7e08d4ef
RD
20514}
20515
20516
554f62e9
RD
20517SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20518 PyObject *resultobj = 0;
20519 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20520 void *argp1 = 0 ;
20521 int res1 = 0 ;
20522 PyObject *swig_obj[1] ;
20523
20524 if (!args) SWIG_fail;
20525 swig_obj[0] = args;
20526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20527 if (!SWIG_IsOK(res1)) {
20528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20529 }
20530 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 (arg1)->Cascade();
20534 wxPyEndAllowThreads(__tstate);
20535 if (PyErr_Occurred()) SWIG_fail;
20536 }
20537 resultobj = SWIG_Py_Void();
20538 return resultobj;
20539fail:
20540 return NULL;
d55e5bfc
RD
20541}
20542
20543
554f62e9
RD
20544SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20545 PyObject *resultobj = 0;
20546 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20547 wxMDIChildFrame *result = 0 ;
20548 void *argp1 = 0 ;
20549 int res1 = 0 ;
20550 PyObject *swig_obj[1] ;
20551
20552 if (!args) SWIG_fail;
20553 swig_obj[0] = args;
20554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20555 if (!SWIG_IsOK(res1)) {
20556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20557 }
20558 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 {
20566 resultobj = wxPyMake_wxObject(result, (bool)0);
20567 }
20568 return resultobj;
20569fail:
20570 return NULL;
d55e5bfc
RD
20571}
20572
20573
554f62e9
RD
20574SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20575 PyObject *resultobj = 0;
20576 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20577 wxMDIClientWindow *result = 0 ;
20578 void *argp1 = 0 ;
20579 int res1 = 0 ;
20580 PyObject *swig_obj[1] ;
20581
20582 if (!args) SWIG_fail;
20583 swig_obj[0] = args;
20584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20585 if (!SWIG_IsOK(res1)) {
20586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20587 }
20588 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20589 {
20590 PyThreadState* __tstate = wxPyBeginAllowThreads();
20591 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20592 wxPyEndAllowThreads(__tstate);
20593 if (PyErr_Occurred()) SWIG_fail;
20594 }
20595 {
20596 resultobj = wxPyMake_wxObject(result, (bool)0);
20597 }
20598 return resultobj;
20599fail:
20600 return NULL;
d55e5bfc
RD
20601}
20602
20603
554f62e9
RD
20604SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20605 PyObject *resultobj = 0;
20606 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20607 wxWindow *result = 0 ;
20608 void *argp1 = 0 ;
20609 int res1 = 0 ;
20610 PyObject *swig_obj[1] ;
20611
20612 if (!args) SWIG_fail;
20613 swig_obj[0] = args;
20614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20615 if (!SWIG_IsOK(res1)) {
20616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20617 }
20618 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 result = (wxWindow *)(arg1)->GetToolBar();
20622 wxPyEndAllowThreads(__tstate);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 }
20625 {
20626 resultobj = wxPyMake_wxObject(result, 0);
20627 }
20628 return resultobj;
20629fail:
20630 return NULL;
d55e5bfc
RD
20631}
20632
20633
554f62e9
RD
20634SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20635 PyObject *resultobj = 0;
20636 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20637 wxMenu *result = 0 ;
20638 void *argp1 = 0 ;
20639 int res1 = 0 ;
20640 PyObject *swig_obj[1] ;
20641
20642 if (!args) SWIG_fail;
20643 swig_obj[0] = args;
20644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20645 if (!SWIG_IsOK(res1)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20647 }
20648 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 result = (wxMenu *)(arg1)->GetWindowMenu();
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 {
20656 resultobj = wxPyMake_wxObject(result, 0);
20657 }
20658 return resultobj;
20659fail:
20660 return NULL;
20661}
20662
20663
20664SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20665 PyObject *resultobj = 0;
20666 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20667 wxMenu *arg2 = (wxMenu *) 0 ;
20668 void *argp1 = 0 ;
20669 int res1 = 0 ;
20670 void *argp2 = 0 ;
20671 int res2 = 0 ;
20672 PyObject * obj0 = 0 ;
20673 PyObject * obj1 = 0 ;
20674 char * kwnames[] = {
20675 (char *) "self",(char *) "menu", NULL
20676 };
20677
20678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
20679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20680 if (!SWIG_IsOK(res1)) {
20681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20682 }
20683 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20684 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
20685 if (!SWIG_IsOK(res2)) {
20686 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20687 }
20688 arg2 = reinterpret_cast< wxMenu * >(argp2);
20689 {
20690 PyThreadState* __tstate = wxPyBeginAllowThreads();
20691 (arg1)->SetWindowMenu(arg2);
20692 wxPyEndAllowThreads(__tstate);
20693 if (PyErr_Occurred()) SWIG_fail;
20694 }
20695 resultobj = SWIG_Py_Void();
20696 return resultobj;
20697fail:
20698 return NULL;
20699}
20700
20701
20702SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20703 PyObject *resultobj = 0;
20704 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20705 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20706 void *argp1 = 0 ;
20707 int res1 = 0 ;
20708 int val2 ;
20709 int ecode2 = 0 ;
20710 PyObject * obj0 = 0 ;
20711 PyObject * obj1 = 0 ;
20712 char * kwnames[] = {
20713 (char *) "self",(char *) "orient", NULL
20714 };
20715
20716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20718 if (!SWIG_IsOK(res1)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20720 }
20721 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20722 if (obj1) {
20723 ecode2 = SWIG_AsVal_int(obj1, &val2);
20724 if (!SWIG_IsOK(ecode2)) {
20725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20726 }
20727 arg2 = static_cast< wxOrientation >(val2);
20728 }
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 (arg1)->Tile(arg2);
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 resultobj = SWIG_Py_Void();
20736 return resultobj;
20737fail:
20738 return NULL;
20739}
20740
20741
20742SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20743 PyObject *obj;
20744 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20745 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20746 return SWIG_Py_Void();
20747}
20748
20749SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20750 return SWIG_Python_InitShadowInstance(args);
20751}
20752
20753SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20754 PyObject *resultobj = 0;
20755 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20756 int arg2 = (int) (int)-1 ;
20757 wxString const &arg3_defvalue = wxPyEmptyString ;
20758 wxString *arg3 = (wxString *) &arg3_defvalue ;
20759 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20760 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20761 wxSize const &arg5_defvalue = wxDefaultSize ;
20762 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20763 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20764 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20765 wxString *arg7 = (wxString *) &arg7_defvalue ;
20766 wxMDIChildFrame *result = 0 ;
20767 void *argp1 = 0 ;
20768 int res1 = 0 ;
20769 int val2 ;
20770 int ecode2 = 0 ;
20771 bool temp3 = false ;
20772 wxPoint temp4 ;
20773 wxSize temp5 ;
20774 long val6 ;
20775 int ecode6 = 0 ;
20776 bool temp7 = false ;
20777 PyObject * obj0 = 0 ;
20778 PyObject * obj1 = 0 ;
20779 PyObject * obj2 = 0 ;
20780 PyObject * obj3 = 0 ;
20781 PyObject * obj4 = 0 ;
20782 PyObject * obj5 = 0 ;
20783 PyObject * obj6 = 0 ;
20784 char * kwnames[] = {
20785 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20786 };
20787
20788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20790 if (!SWIG_IsOK(res1)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20792 }
20793 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20794 if (obj1) {
20795 ecode2 = SWIG_AsVal_int(obj1, &val2);
20796 if (!SWIG_IsOK(ecode2)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20798 }
20799 arg2 = static_cast< int >(val2);
20800 }
20801 if (obj2) {
d55e5bfc 20802 {
554f62e9
RD
20803 arg3 = wxString_in_helper(obj2);
20804 if (arg3 == NULL) SWIG_fail;
20805 temp3 = true;
d55e5bfc 20806 }
554f62e9
RD
20807 }
20808 if (obj3) {
d55e5bfc 20809 {
554f62e9
RD
20810 arg4 = &temp4;
20811 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20812 }
554f62e9
RD
20813 }
20814 if (obj4) {
d55e5bfc 20815 {
554f62e9
RD
20816 arg5 = &temp5;
20817 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20818 }
554f62e9
RD
20819 }
20820 if (obj5) {
20821 ecode6 = SWIG_AsVal_long(obj5, &val6);
20822 if (!SWIG_IsOK(ecode6)) {
20823 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20824 }
20825 arg6 = static_cast< long >(val6);
20826 }
20827 if (obj6) {
d55e5bfc 20828 {
554f62e9
RD
20829 arg7 = wxString_in_helper(obj6);
20830 if (arg7 == NULL) SWIG_fail;
20831 temp7 = true;
d55e5bfc 20832 }
554f62e9
RD
20833 }
20834 {
20835 if (!wxPyCheckForApp()) SWIG_fail;
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20842 {
20843 if (temp3)
20844 delete arg3;
20845 }
20846 {
20847 if (temp7)
20848 delete arg7;
20849 }
20850 return resultobj;
20851fail:
20852 {
20853 if (temp3)
20854 delete arg3;
20855 }
20856 {
20857 if (temp7)
20858 delete arg7;
20859 }
20860 return NULL;
d55e5bfc
RD
20861}
20862
20863
554f62e9
RD
20864SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20865 PyObject *resultobj = 0;
20866 wxMDIChildFrame *result = 0 ;
20867
20868 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20869 {
20870 if (!wxPyCheckForApp()) SWIG_fail;
20871 PyThreadState* __tstate = wxPyBeginAllowThreads();
20872 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20873 wxPyEndAllowThreads(__tstate);
20874 if (PyErr_Occurred()) SWIG_fail;
20875 }
20876 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20877 return resultobj;
20878fail:
20879 return NULL;
20880}
20881
20882
20883SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20884 PyObject *resultobj = 0;
20885 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20886 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20887 int arg3 = (int) (int)-1 ;
20888 wxString const &arg4_defvalue = wxPyEmptyString ;
20889 wxString *arg4 = (wxString *) &arg4_defvalue ;
20890 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20891 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20892 wxSize const &arg6_defvalue = wxDefaultSize ;
20893 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20894 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20895 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20896 wxString *arg8 = (wxString *) &arg8_defvalue ;
20897 bool result;
20898 void *argp1 = 0 ;
20899 int res1 = 0 ;
20900 void *argp2 = 0 ;
20901 int res2 = 0 ;
20902 int val3 ;
20903 int ecode3 = 0 ;
20904 bool temp4 = false ;
20905 wxPoint temp5 ;
20906 wxSize temp6 ;
20907 long val7 ;
20908 int ecode7 = 0 ;
20909 bool temp8 = false ;
20910 PyObject * obj0 = 0 ;
20911 PyObject * obj1 = 0 ;
20912 PyObject * obj2 = 0 ;
20913 PyObject * obj3 = 0 ;
20914 PyObject * obj4 = 0 ;
20915 PyObject * obj5 = 0 ;
20916 PyObject * obj6 = 0 ;
20917 PyObject * obj7 = 0 ;
20918 char * kwnames[] = {
20919 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20920 };
20921
20922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20924 if (!SWIG_IsOK(res1)) {
20925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20926 }
20927 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20928 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20929 if (!SWIG_IsOK(res2)) {
20930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20931 }
20932 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20933 if (obj2) {
20934 ecode3 = SWIG_AsVal_int(obj2, &val3);
20935 if (!SWIG_IsOK(ecode3)) {
20936 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20937 }
20938 arg3 = static_cast< int >(val3);
20939 }
20940 if (obj3) {
d55e5bfc 20941 {
554f62e9
RD
20942 arg4 = wxString_in_helper(obj3);
20943 if (arg4 == NULL) SWIG_fail;
20944 temp4 = true;
d55e5bfc 20945 }
554f62e9
RD
20946 }
20947 if (obj4) {
d55e5bfc 20948 {
554f62e9
RD
20949 arg5 = &temp5;
20950 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20951 }
554f62e9
RD
20952 }
20953 if (obj5) {
093d3ff1 20954 {
554f62e9
RD
20955 arg6 = &temp6;
20956 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 20957 }
554f62e9
RD
20958 }
20959 if (obj6) {
20960 ecode7 = SWIG_AsVal_long(obj6, &val7);
20961 if (!SWIG_IsOK(ecode7)) {
20962 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20963 }
20964 arg7 = static_cast< long >(val7);
20965 }
20966 if (obj7) {
d55e5bfc 20967 {
554f62e9
RD
20968 arg8 = wxString_in_helper(obj7);
20969 if (arg8 == NULL) SWIG_fail;
20970 temp8 = true;
d55e5bfc 20971 }
554f62e9
RD
20972 }
20973 {
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 {
20980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20981 }
20982 {
20983 if (temp4)
20984 delete arg4;
20985 }
20986 {
20987 if (temp8)
20988 delete arg8;
20989 }
20990 return resultobj;
20991fail:
20992 {
20993 if (temp4)
20994 delete arg4;
20995 }
20996 {
20997 if (temp8)
20998 delete arg8;
20999 }
21000 return NULL;
d55e5bfc
RD
21001}
21002
21003
554f62e9
RD
21004SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21005 PyObject *resultobj = 0;
21006 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21007 void *argp1 = 0 ;
21008 int res1 = 0 ;
21009 PyObject *swig_obj[1] ;
21010
21011 if (!args) SWIG_fail;
21012 swig_obj[0] = args;
21013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21014 if (!SWIG_IsOK(res1)) {
21015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21016 }
21017 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21018 {
21019 PyThreadState* __tstate = wxPyBeginAllowThreads();
21020 (arg1)->Activate();
21021 wxPyEndAllowThreads(__tstate);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 }
21024 resultobj = SWIG_Py_Void();
21025 return resultobj;
21026fail:
21027 return NULL;
d55e5bfc
RD
21028}
21029
21030
554f62e9
RD
21031SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21032 PyObject *obj;
21033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21034 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21035 return SWIG_Py_Void();
d55e5bfc
RD
21036}
21037
554f62e9
RD
21038SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21039 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21040}
21041
554f62e9
RD
21042SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21043 PyObject *resultobj = 0;
21044 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21045 long arg2 = (long) 0 ;
21046 wxMDIClientWindow *result = 0 ;
21047 void *argp1 = 0 ;
21048 int res1 = 0 ;
21049 long val2 ;
21050 int ecode2 = 0 ;
21051 PyObject * obj0 = 0 ;
21052 PyObject * obj1 = 0 ;
21053 char * kwnames[] = {
21054 (char *) "parent",(char *) "style", NULL
21055 };
21056
21057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21059 if (!SWIG_IsOK(res1)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21061 }
21062 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21063 if (obj1) {
21064 ecode2 = SWIG_AsVal_long(obj1, &val2);
21065 if (!SWIG_IsOK(ecode2)) {
21066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21067 }
21068 arg2 = static_cast< long >(val2);
21069 }
21070 {
21071 if (!wxPyCheckForApp()) SWIG_fail;
21072 PyThreadState* __tstate = wxPyBeginAllowThreads();
21073 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21074 wxPyEndAllowThreads(__tstate);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21078 return resultobj;
21079fail:
21080 return NULL;
d55e5bfc
RD
21081}
21082
21083
554f62e9
RD
21084SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21085 PyObject *resultobj = 0;
21086 wxMDIClientWindow *result = 0 ;
21087
21088 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21089 {
21090 if (!wxPyCheckForApp()) SWIG_fail;
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21097 return resultobj;
21098fail:
21099 return NULL;
21100}
21101
21102
21103SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21104 PyObject *resultobj = 0;
21105 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21106 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21107 long arg3 = (long) 0 ;
21108 bool result;
21109 void *argp1 = 0 ;
21110 int res1 = 0 ;
21111 void *argp2 = 0 ;
21112 int res2 = 0 ;
21113 long val3 ;
21114 int ecode3 = 0 ;
21115 PyObject * obj0 = 0 ;
21116 PyObject * obj1 = 0 ;
21117 PyObject * obj2 = 0 ;
21118 char * kwnames[] = {
21119 (char *) "self",(char *) "parent",(char *) "style", NULL
21120 };
21121
21122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21124 if (!SWIG_IsOK(res1)) {
21125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21126 }
21127 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21128 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21129 if (!SWIG_IsOK(res2)) {
21130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21131 }
21132 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21133 if (obj2) {
21134 ecode3 = SWIG_AsVal_long(obj2, &val3);
21135 if (!SWIG_IsOK(ecode3)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21137 }
21138 arg3 = static_cast< long >(val3);
21139 }
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 result = (bool)(arg1)->Create(arg2,arg3);
21143 wxPyEndAllowThreads(__tstate);
21144 if (PyErr_Occurred()) SWIG_fail;
21145 }
21146 {
21147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21148 }
21149 return resultobj;
21150fail:
21151 return NULL;
21152}
21153
21154
21155SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21156 PyObject *obj;
21157 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21158 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21159 return SWIG_Py_Void();
21160}
21161
21162SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21163 return SWIG_Python_InitShadowInstance(args);
21164}
21165
21166SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21167 PyObject *resultobj = 0;
21168 wxWindow *arg1 = (wxWindow *) 0 ;
21169 int arg2 = (int) (int)-1 ;
21170 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21171 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21172 wxSize const &arg4_defvalue = wxDefaultSize ;
21173 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21174 long arg5 = (long) 0 ;
21175 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21176 wxString *arg6 = (wxString *) &arg6_defvalue ;
21177 wxPyWindow *result = 0 ;
21178 void *argp1 = 0 ;
21179 int res1 = 0 ;
21180 int val2 ;
21181 int ecode2 = 0 ;
21182 wxPoint temp3 ;
21183 wxSize temp4 ;
21184 long val5 ;
21185 int ecode5 = 0 ;
21186 bool temp6 = false ;
21187 PyObject * obj0 = 0 ;
21188 PyObject * obj1 = 0 ;
21189 PyObject * obj2 = 0 ;
21190 PyObject * obj3 = 0 ;
21191 PyObject * obj4 = 0 ;
21192 PyObject * obj5 = 0 ;
21193 char * kwnames[] = {
21194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21195 };
21196
21197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21199 if (!SWIG_IsOK(res1)) {
21200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21201 }
21202 arg1 = reinterpret_cast< wxWindow * >(argp1);
21203 if (obj1) {
21204 ecode2 = SWIG_AsVal_int(obj1, &val2);
21205 if (!SWIG_IsOK(ecode2)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21207 }
21208 arg2 = static_cast< int >(val2);
21209 }
21210 if (obj2) {
d55e5bfc 21211 {
554f62e9
RD
21212 arg3 = &temp3;
21213 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21214 }
554f62e9
RD
21215 }
21216 if (obj3) {
d55e5bfc 21217 {
554f62e9
RD
21218 arg4 = &temp4;
21219 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21220 }
554f62e9
RD
21221 }
21222 if (obj4) {
21223 ecode5 = SWIG_AsVal_long(obj4, &val5);
21224 if (!SWIG_IsOK(ecode5)) {
21225 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21226 }
21227 arg5 = static_cast< long >(val5);
21228 }
21229 if (obj5) {
d55e5bfc 21230 {
554f62e9
RD
21231 arg6 = wxString_in_helper(obj5);
21232 if (arg6 == NULL) SWIG_fail;
21233 temp6 = true;
d55e5bfc 21234 }
554f62e9
RD
21235 }
21236 {
21237 if (!wxPyCheckForApp()) SWIG_fail;
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
21243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21244 {
21245 if (temp6)
21246 delete arg6;
21247 }
21248 return resultobj;
21249fail:
21250 {
21251 if (temp6)
21252 delete arg6;
21253 }
21254 return NULL;
d55e5bfc
RD
21255}
21256
21257
554f62e9
RD
21258SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21259 PyObject *resultobj = 0;
21260 wxPyWindow *result = 0 ;
21261
21262 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21263 {
21264 if (!wxPyCheckForApp()) SWIG_fail;
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 result = (wxPyWindow *)new wxPyWindow();
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21271 return resultobj;
21272fail:
21273 return NULL;
21274}
21275
21276
21277SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj = 0;
21279 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21280 PyObject *arg2 = (PyObject *) 0 ;
21281 PyObject *arg3 = (PyObject *) 0 ;
21282 void *argp1 = 0 ;
21283 int res1 = 0 ;
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 PyObject * obj2 = 0 ;
21287 char * kwnames[] = {
21288 (char *) "self",(char *) "self",(char *) "_class", NULL
21289 };
21290
21291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21293 if (!SWIG_IsOK(res1)) {
21294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21295 }
21296 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21297 arg2 = obj1;
21298 arg3 = obj2;
21299 {
21300 PyThreadState* __tstate = wxPyBeginAllowThreads();
21301 (arg1)->_setCallbackInfo(arg2,arg3);
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 resultobj = SWIG_Py_Void();
21306 return resultobj;
21307fail:
21308 return NULL;
21309}
21310
21311
21312SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj = 0;
21314 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21315 wxSize *arg2 = 0 ;
21316 void *argp1 = 0 ;
21317 int res1 = 0 ;
21318 wxSize temp2 ;
21319 PyObject * obj0 = 0 ;
21320 PyObject * obj1 = 0 ;
21321 char * kwnames[] = {
21322 (char *) "self",(char *) "size", NULL
21323 };
21324
21325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21327 if (!SWIG_IsOK(res1)) {
21328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21329 }
21330 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21331 {
21332 arg2 = &temp2;
21333 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21334 }
21335 {
21336 PyThreadState* __tstate = wxPyBeginAllowThreads();
21337 (arg1)->SetBestSize((wxSize const &)*arg2);
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 resultobj = SWIG_Py_Void();
21342 return resultobj;
21343fail:
21344 return NULL;
21345}
21346
21347
21348SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21349 PyObject *resultobj = 0;
21350 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21351 wxDC *arg2 = (wxDC *) 0 ;
21352 bool result;
21353 void *argp1 = 0 ;
21354 int res1 = 0 ;
21355 void *argp2 = 0 ;
21356 int res2 = 0 ;
21357 PyObject * obj0 = 0 ;
21358 PyObject * obj1 = 0 ;
21359 char * kwnames[] = {
21360 (char *) "self",(char *) "dc", NULL
21361 };
21362
21363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21365 if (!SWIG_IsOK(res1)) {
21366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21367 }
21368 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21369 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21370 if (!SWIG_IsOK(res2)) {
21371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21372 }
21373 arg2 = reinterpret_cast< wxDC * >(argp2);
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 result = (bool)(arg1)->DoEraseBackground(arg2);
21377 wxPyEndAllowThreads(__tstate);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 {
21381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21382 }
21383 return resultobj;
21384fail:
21385 return NULL;
21386}
21387
21388
21389SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21390 PyObject *resultobj = 0;
21391 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21392 int arg2 ;
21393 int arg3 ;
21394 int arg4 ;
21395 int arg5 ;
21396 void *argp1 = 0 ;
21397 int res1 = 0 ;
21398 int val2 ;
21399 int ecode2 = 0 ;
21400 int val3 ;
21401 int ecode3 = 0 ;
21402 int val4 ;
21403 int ecode4 = 0 ;
21404 int val5 ;
21405 int ecode5 = 0 ;
21406 PyObject * obj0 = 0 ;
21407 PyObject * obj1 = 0 ;
21408 PyObject * obj2 = 0 ;
21409 PyObject * obj3 = 0 ;
21410 PyObject * obj4 = 0 ;
21411 char * kwnames[] = {
21412 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21413 };
21414
21415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21417 if (!SWIG_IsOK(res1)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21419 }
21420 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21421 ecode2 = SWIG_AsVal_int(obj1, &val2);
21422 if (!SWIG_IsOK(ecode2)) {
21423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21424 }
21425 arg2 = static_cast< int >(val2);
21426 ecode3 = SWIG_AsVal_int(obj2, &val3);
21427 if (!SWIG_IsOK(ecode3)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21429 }
21430 arg3 = static_cast< int >(val3);
21431 ecode4 = SWIG_AsVal_int(obj3, &val4);
21432 if (!SWIG_IsOK(ecode4)) {
21433 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21434 }
21435 arg4 = static_cast< int >(val4);
21436 ecode5 = SWIG_AsVal_int(obj4, &val5);
21437 if (!SWIG_IsOK(ecode5)) {
21438 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21439 }
21440 arg5 = static_cast< int >(val5);
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21444 wxPyEndAllowThreads(__tstate);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 }
21447 resultobj = SWIG_Py_Void();
21448 return resultobj;
21449fail:
21450 return NULL;
21451}
21452
21453
21454SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21455 PyObject *resultobj = 0;
21456 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21457 int arg2 ;
21458 int arg3 ;
21459 int arg4 ;
21460 int arg5 ;
21461 int arg6 = (int) wxSIZE_AUTO ;
21462 void *argp1 = 0 ;
21463 int res1 = 0 ;
21464 int val2 ;
21465 int ecode2 = 0 ;
21466 int val3 ;
21467 int ecode3 = 0 ;
21468 int val4 ;
21469 int ecode4 = 0 ;
21470 int val5 ;
21471 int ecode5 = 0 ;
21472 int val6 ;
21473 int ecode6 = 0 ;
21474 PyObject * obj0 = 0 ;
21475 PyObject * obj1 = 0 ;
21476 PyObject * obj2 = 0 ;
21477 PyObject * obj3 = 0 ;
21478 PyObject * obj4 = 0 ;
21479 PyObject * obj5 = 0 ;
21480 char * kwnames[] = {
21481 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21482 };
21483
21484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21486 if (!SWIG_IsOK(res1)) {
21487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21488 }
21489 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21490 ecode2 = SWIG_AsVal_int(obj1, &val2);
21491 if (!SWIG_IsOK(ecode2)) {
21492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21493 }
21494 arg2 = static_cast< int >(val2);
21495 ecode3 = SWIG_AsVal_int(obj2, &val3);
21496 if (!SWIG_IsOK(ecode3)) {
21497 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21498 }
21499 arg3 = static_cast< int >(val3);
21500 ecode4 = SWIG_AsVal_int(obj3, &val4);
21501 if (!SWIG_IsOK(ecode4)) {
21502 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21503 }
21504 arg4 = static_cast< int >(val4);
21505 ecode5 = SWIG_AsVal_int(obj4, &val5);
21506 if (!SWIG_IsOK(ecode5)) {
21507 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21508 }
21509 arg5 = static_cast< int >(val5);
21510 if (obj5) {
21511 ecode6 = SWIG_AsVal_int(obj5, &val6);
21512 if (!SWIG_IsOK(ecode6)) {
21513 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21514 }
21515 arg6 = static_cast< int >(val6);
21516 }
21517 {
21518 PyThreadState* __tstate = wxPyBeginAllowThreads();
21519 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21520 wxPyEndAllowThreads(__tstate);
21521 if (PyErr_Occurred()) SWIG_fail;
21522 }
21523 resultobj = SWIG_Py_Void();
21524 return resultobj;
21525fail:
21526 return NULL;
21527}
21528
21529
21530SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21531 PyObject *resultobj = 0;
21532 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21533 int arg2 ;
21534 int arg3 ;
21535 void *argp1 = 0 ;
21536 int res1 = 0 ;
21537 int val2 ;
21538 int ecode2 = 0 ;
21539 int val3 ;
21540 int ecode3 = 0 ;
21541 PyObject * obj0 = 0 ;
21542 PyObject * obj1 = 0 ;
21543 PyObject * obj2 = 0 ;
21544 char * kwnames[] = {
21545 (char *) "self",(char *) "width",(char *) "height", NULL
21546 };
21547
21548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21550 if (!SWIG_IsOK(res1)) {
21551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21552 }
21553 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21554 ecode2 = SWIG_AsVal_int(obj1, &val2);
21555 if (!SWIG_IsOK(ecode2)) {
21556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21557 }
21558 arg2 = static_cast< int >(val2);
21559 ecode3 = SWIG_AsVal_int(obj2, &val3);
21560 if (!SWIG_IsOK(ecode3)) {
21561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21562 }
21563 arg3 = static_cast< int >(val3);
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 (arg1)->DoSetClientSize(arg2,arg3);
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 resultobj = SWIG_Py_Void();
21571 return resultobj;
21572fail:
21573 return NULL;
21574}
21575
21576
21577SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21578 PyObject *resultobj = 0;
21579 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21580 int arg2 ;
21581 int arg3 ;
21582 void *argp1 = 0 ;
21583 int res1 = 0 ;
21584 int val2 ;
21585 int ecode2 = 0 ;
21586 int val3 ;
21587 int ecode3 = 0 ;
21588 PyObject * obj0 = 0 ;
21589 PyObject * obj1 = 0 ;
21590 PyObject * obj2 = 0 ;
21591 char * kwnames[] = {
21592 (char *) "self",(char *) "x",(char *) "y", NULL
21593 };
21594
21595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21597 if (!SWIG_IsOK(res1)) {
21598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21599 }
21600 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21601 ecode2 = SWIG_AsVal_int(obj1, &val2);
21602 if (!SWIG_IsOK(ecode2)) {
21603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21604 }
21605 arg2 = static_cast< int >(val2);
21606 ecode3 = SWIG_AsVal_int(obj2, &val3);
21607 if (!SWIG_IsOK(ecode3)) {
21608 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21609 }
21610 arg3 = static_cast< int >(val3);
21611 {
21612 PyThreadState* __tstate = wxPyBeginAllowThreads();
21613 (arg1)->DoSetVirtualSize(arg2,arg3);
21614 wxPyEndAllowThreads(__tstate);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 }
21617 resultobj = SWIG_Py_Void();
21618 return resultobj;
21619fail:
21620 return NULL;
21621}
21622
21623
21624SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21625 PyObject *resultobj = 0;
21626 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21627 int *arg2 = (int *) 0 ;
21628 int *arg3 = (int *) 0 ;
21629 void *argp1 = 0 ;
21630 int res1 = 0 ;
21631 int temp2 ;
21632 int res2 = SWIG_TMPOBJ ;
21633 int temp3 ;
21634 int res3 = SWIG_TMPOBJ ;
21635 PyObject *swig_obj[1] ;
21636
21637 arg2 = &temp2;
21638 arg3 = &temp3;
21639 if (!args) SWIG_fail;
21640 swig_obj[0] = args;
21641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21642 if (!SWIG_IsOK(res1)) {
21643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21644 }
21645 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21649 wxPyEndAllowThreads(__tstate);
21650 if (PyErr_Occurred()) SWIG_fail;
21651 }
21652 resultobj = SWIG_Py_Void();
21653 if (SWIG_IsTmpObj(res2)) {
21654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21655 } else {
21656 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21658 }
21659 if (SWIG_IsTmpObj(res3)) {
21660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21661 } else {
21662 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21663 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21664 }
21665 return resultobj;
21666fail:
21667 return NULL;
21668}
21669
21670
21671SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21672 PyObject *resultobj = 0;
21673 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21674 int *arg2 = (int *) 0 ;
21675 int *arg3 = (int *) 0 ;
21676 void *argp1 = 0 ;
21677 int res1 = 0 ;
21678 int temp2 ;
21679 int res2 = SWIG_TMPOBJ ;
21680 int temp3 ;
21681 int res3 = SWIG_TMPOBJ ;
21682 PyObject *swig_obj[1] ;
21683
21684 arg2 = &temp2;
21685 arg3 = &temp3;
21686 if (!args) SWIG_fail;
21687 swig_obj[0] = args;
21688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21689 if (!SWIG_IsOK(res1)) {
21690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21691 }
21692 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21693 {
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 resultobj = SWIG_Py_Void();
21700 if (SWIG_IsTmpObj(res2)) {
21701 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21702 } else {
21703 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21704 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21705 }
21706 if (SWIG_IsTmpObj(res3)) {
21707 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21708 } else {
21709 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21710 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21711 }
21712 return resultobj;
21713fail:
21714 return NULL;
21715}
21716
21717
21718SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21719 PyObject *resultobj = 0;
21720 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21721 int *arg2 = (int *) 0 ;
21722 int *arg3 = (int *) 0 ;
21723 void *argp1 = 0 ;
21724 int res1 = 0 ;
21725 int temp2 ;
21726 int res2 = SWIG_TMPOBJ ;
21727 int temp3 ;
21728 int res3 = SWIG_TMPOBJ ;
21729 PyObject *swig_obj[1] ;
21730
21731 arg2 = &temp2;
21732 arg3 = &temp3;
21733 if (!args) SWIG_fail;
21734 swig_obj[0] = args;
21735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21736 if (!SWIG_IsOK(res1)) {
21737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21738 }
21739 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21740 {
21741 PyThreadState* __tstate = wxPyBeginAllowThreads();
21742 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 resultobj = SWIG_Py_Void();
21747 if (SWIG_IsTmpObj(res2)) {
21748 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21749 } else {
21750 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21751 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21752 }
21753 if (SWIG_IsTmpObj(res3)) {
21754 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21755 } else {
21756 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21757 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21758 }
21759 return resultobj;
21760fail:
21761 return NULL;
21762}
d55e5bfc 21763
554f62e9
RD
21764
21765SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21766 PyObject *resultobj = 0;
21767 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21768 wxSize result;
21769 void *argp1 = 0 ;
21770 int res1 = 0 ;
21771 PyObject *swig_obj[1] ;
21772
21773 if (!args) SWIG_fail;
21774 swig_obj[0] = args;
21775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21776 if (!SWIG_IsOK(res1)) {
21777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21778 }
21779 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21780 {
21781 PyThreadState* __tstate = wxPyBeginAllowThreads();
21782 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21787 return resultobj;
21788fail:
21789 return NULL;
d55e5bfc
RD
21790}
21791
21792
554f62e9
RD
21793SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(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_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21806 }
21807 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21808 {
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
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;
d55e5bfc
RD
21818}
21819
21820
554f62e9
RD
21821SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21822 PyObject *resultobj = 0;
21823 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21824 SwigValueWrapper<wxVisualAttributes > 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_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21834 }
21835 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21836 {
21837 PyThreadState* __tstate = wxPyBeginAllowThreads();
21838 result = (arg1)->GetDefaultAttributes();
21839 wxPyEndAllowThreads(__tstate);
21840 if (PyErr_Occurred()) SWIG_fail;
21841 }
21842 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21843 return resultobj;
21844fail:
21845 return NULL;
d55e5bfc
RD
21846}
21847
21848
554f62e9
RD
21849SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21850 PyObject *resultobj = 0;
21851 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21852 void *argp1 = 0 ;
21853 int res1 = 0 ;
21854 PyObject *swig_obj[1] ;
21855
21856 if (!args) SWIG_fail;
21857 swig_obj[0] = args;
21858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21859 if (!SWIG_IsOK(res1)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21861 }
21862 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 (arg1)->OnInternalIdle();
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 resultobj = SWIG_Py_Void();
21870 return resultobj;
21871fail:
21872 return NULL;
21873}
21874
21875
21876SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21877 PyObject *obj;
21878 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21879 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21880 return SWIG_Py_Void();
21881}
21882
21883SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21884 return SWIG_Python_InitShadowInstance(args);
21885}
21886
21887SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21888 PyObject *resultobj = 0;
21889 wxWindow *arg1 = (wxWindow *) 0 ;
21890 int arg2 = (int) (int)-1 ;
21891 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21892 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21893 wxSize const &arg4_defvalue = wxDefaultSize ;
21894 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21895 long arg5 = (long) 0 ;
21896 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21897 wxString *arg6 = (wxString *) &arg6_defvalue ;
21898 wxPyPanel *result = 0 ;
21899 void *argp1 = 0 ;
21900 int res1 = 0 ;
21901 int val2 ;
21902 int ecode2 = 0 ;
21903 wxPoint temp3 ;
21904 wxSize temp4 ;
21905 long val5 ;
21906 int ecode5 = 0 ;
21907 bool temp6 = false ;
21908 PyObject * obj0 = 0 ;
21909 PyObject * obj1 = 0 ;
21910 PyObject * obj2 = 0 ;
21911 PyObject * obj3 = 0 ;
21912 PyObject * obj4 = 0 ;
21913 PyObject * obj5 = 0 ;
21914 char * kwnames[] = {
21915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21916 };
21917
21918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21920 if (!SWIG_IsOK(res1)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21922 }
21923 arg1 = reinterpret_cast< wxWindow * >(argp1);
21924 if (obj1) {
21925 ecode2 = SWIG_AsVal_int(obj1, &val2);
21926 if (!SWIG_IsOK(ecode2)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21928 }
21929 arg2 = static_cast< int >(val2);
21930 }
21931 if (obj2) {
093d3ff1 21932 {
554f62e9
RD
21933 arg3 = &temp3;
21934 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 21935 }
554f62e9
RD
21936 }
21937 if (obj3) {
d55e5bfc 21938 {
554f62e9
RD
21939 arg4 = &temp4;
21940 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21941 }
554f62e9
RD
21942 }
21943 if (obj4) {
21944 ecode5 = SWIG_AsVal_long(obj4, &val5);
21945 if (!SWIG_IsOK(ecode5)) {
21946 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21947 }
21948 arg5 = static_cast< long >(val5);
21949 }
21950 if (obj5) {
d55e5bfc 21951 {
554f62e9
RD
21952 arg6 = wxString_in_helper(obj5);
21953 if (arg6 == NULL) SWIG_fail;
21954 temp6 = true;
d55e5bfc 21955 }
554f62e9
RD
21956 }
21957 {
21958 if (!wxPyCheckForApp()) SWIG_fail;
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21961 wxPyEndAllowThreads(__tstate);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
21964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21965 {
21966 if (temp6)
21967 delete arg6;
21968 }
21969 return resultobj;
21970fail:
21971 {
21972 if (temp6)
21973 delete arg6;
21974 }
21975 return NULL;
d55e5bfc
RD
21976}
21977
21978
554f62e9
RD
21979SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21980 PyObject *resultobj = 0;
21981 wxPyPanel *result = 0 ;
21982
21983 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21984 {
21985 if (!wxPyCheckForApp()) SWIG_fail;
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 result = (wxPyPanel *)new wxPyPanel();
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21992 return resultobj;
21993fail:
21994 return NULL;
21995}
21996
21997
21998SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21999 PyObject *resultobj = 0;
22000 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22001 PyObject *arg2 = (PyObject *) 0 ;
22002 PyObject *arg3 = (PyObject *) 0 ;
22003 void *argp1 = 0 ;
22004 int res1 = 0 ;
22005 PyObject * obj0 = 0 ;
22006 PyObject * obj1 = 0 ;
22007 PyObject * obj2 = 0 ;
22008 char * kwnames[] = {
22009 (char *) "self",(char *) "self",(char *) "_class", NULL
22010 };
22011
22012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22014 if (!SWIG_IsOK(res1)) {
22015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22016 }
22017 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22018 arg2 = obj1;
22019 arg3 = obj2;
22020 {
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 (arg1)->_setCallbackInfo(arg2,arg3);
22023 wxPyEndAllowThreads(__tstate);
22024 if (PyErr_Occurred()) SWIG_fail;
22025 }
22026 resultobj = SWIG_Py_Void();
22027 return resultobj;
22028fail:
22029 return NULL;
22030}
22031
22032
22033SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22034 PyObject *resultobj = 0;
22035 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22036 wxSize *arg2 = 0 ;
22037 void *argp1 = 0 ;
22038 int res1 = 0 ;
22039 wxSize temp2 ;
22040 PyObject * obj0 = 0 ;
22041 PyObject * obj1 = 0 ;
22042 char * kwnames[] = {
22043 (char *) "self",(char *) "size", NULL
22044 };
22045
22046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22048 if (!SWIG_IsOK(res1)) {
22049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22050 }
22051 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22052 {
22053 arg2 = &temp2;
22054 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22055 }
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 (arg1)->SetBestSize((wxSize const &)*arg2);
22059 wxPyEndAllowThreads(__tstate);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 }
22062 resultobj = SWIG_Py_Void();
22063 return resultobj;
22064fail:
22065 return NULL;
22066}
22067
22068
22069SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22070 PyObject *resultobj = 0;
22071 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22072 wxDC *arg2 = (wxDC *) 0 ;
22073 bool result;
22074 void *argp1 = 0 ;
22075 int res1 = 0 ;
22076 void *argp2 = 0 ;
22077 int res2 = 0 ;
22078 PyObject * obj0 = 0 ;
22079 PyObject * obj1 = 0 ;
22080 char * kwnames[] = {
22081 (char *) "self",(char *) "dc", NULL
22082 };
22083
22084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22086 if (!SWIG_IsOK(res1)) {
22087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22088 }
22089 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22090 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22091 if (!SWIG_IsOK(res2)) {
22092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22093 }
22094 arg2 = reinterpret_cast< wxDC * >(argp2);
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 result = (bool)(arg1)->DoEraseBackground(arg2);
22098 wxPyEndAllowThreads(__tstate);
22099 if (PyErr_Occurred()) SWIG_fail;
22100 }
22101 {
22102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22103 }
22104 return resultobj;
22105fail:
22106 return NULL;
22107}
22108
22109
22110SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22111 PyObject *resultobj = 0;
22112 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22113 int arg2 ;
22114 int arg3 ;
22115 int arg4 ;
22116 int arg5 ;
22117 void *argp1 = 0 ;
22118 int res1 = 0 ;
22119 int val2 ;
22120 int ecode2 = 0 ;
22121 int val3 ;
22122 int ecode3 = 0 ;
22123 int val4 ;
22124 int ecode4 = 0 ;
22125 int val5 ;
22126 int ecode5 = 0 ;
22127 PyObject * obj0 = 0 ;
22128 PyObject * obj1 = 0 ;
22129 PyObject * obj2 = 0 ;
22130 PyObject * obj3 = 0 ;
22131 PyObject * obj4 = 0 ;
22132 char * kwnames[] = {
22133 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22134 };
22135
22136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22138 if (!SWIG_IsOK(res1)) {
22139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22140 }
22141 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22142 ecode2 = SWIG_AsVal_int(obj1, &val2);
22143 if (!SWIG_IsOK(ecode2)) {
22144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22145 }
22146 arg2 = static_cast< int >(val2);
22147 ecode3 = SWIG_AsVal_int(obj2, &val3);
22148 if (!SWIG_IsOK(ecode3)) {
22149 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22150 }
22151 arg3 = static_cast< int >(val3);
22152 ecode4 = SWIG_AsVal_int(obj3, &val4);
22153 if (!SWIG_IsOK(ecode4)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22155 }
22156 arg4 = static_cast< int >(val4);
22157 ecode5 = SWIG_AsVal_int(obj4, &val5);
22158 if (!SWIG_IsOK(ecode5)) {
22159 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22160 }
22161 arg5 = static_cast< int >(val5);
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22165 wxPyEndAllowThreads(__tstate);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
22168 resultobj = SWIG_Py_Void();
22169 return resultobj;
22170fail:
22171 return NULL;
22172}
22173
22174
22175SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22176 PyObject *resultobj = 0;
22177 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22178 int arg2 ;
22179 int arg3 ;
22180 int arg4 ;
22181 int arg5 ;
22182 int arg6 = (int) wxSIZE_AUTO ;
22183 void *argp1 = 0 ;
22184 int res1 = 0 ;
22185 int val2 ;
22186 int ecode2 = 0 ;
22187 int val3 ;
22188 int ecode3 = 0 ;
22189 int val4 ;
22190 int ecode4 = 0 ;
22191 int val5 ;
22192 int ecode5 = 0 ;
22193 int val6 ;
22194 int ecode6 = 0 ;
22195 PyObject * obj0 = 0 ;
22196 PyObject * obj1 = 0 ;
22197 PyObject * obj2 = 0 ;
22198 PyObject * obj3 = 0 ;
22199 PyObject * obj4 = 0 ;
22200 PyObject * obj5 = 0 ;
22201 char * kwnames[] = {
22202 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22203 };
22204
22205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22207 if (!SWIG_IsOK(res1)) {
22208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22209 }
22210 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22211 ecode2 = SWIG_AsVal_int(obj1, &val2);
22212 if (!SWIG_IsOK(ecode2)) {
22213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22214 }
22215 arg2 = static_cast< int >(val2);
22216 ecode3 = SWIG_AsVal_int(obj2, &val3);
22217 if (!SWIG_IsOK(ecode3)) {
22218 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22219 }
22220 arg3 = static_cast< int >(val3);
22221 ecode4 = SWIG_AsVal_int(obj3, &val4);
22222 if (!SWIG_IsOK(ecode4)) {
22223 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22224 }
22225 arg4 = static_cast< int >(val4);
22226 ecode5 = SWIG_AsVal_int(obj4, &val5);
22227 if (!SWIG_IsOK(ecode5)) {
22228 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22229 }
22230 arg5 = static_cast< int >(val5);
22231 if (obj5) {
22232 ecode6 = SWIG_AsVal_int(obj5, &val6);
22233 if (!SWIG_IsOK(ecode6)) {
22234 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22235 }
22236 arg6 = static_cast< int >(val6);
22237 }
22238 {
22239 PyThreadState* __tstate = wxPyBeginAllowThreads();
22240 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22241 wxPyEndAllowThreads(__tstate);
22242 if (PyErr_Occurred()) SWIG_fail;
22243 }
22244 resultobj = SWIG_Py_Void();
22245 return resultobj;
22246fail:
22247 return NULL;
22248}
22249
22250
22251SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22252 PyObject *resultobj = 0;
22253 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22254 int arg2 ;
22255 int arg3 ;
22256 void *argp1 = 0 ;
22257 int res1 = 0 ;
22258 int val2 ;
22259 int ecode2 = 0 ;
22260 int val3 ;
22261 int ecode3 = 0 ;
22262 PyObject * obj0 = 0 ;
22263 PyObject * obj1 = 0 ;
22264 PyObject * obj2 = 0 ;
22265 char * kwnames[] = {
22266 (char *) "self",(char *) "width",(char *) "height", NULL
22267 };
22268
22269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22271 if (!SWIG_IsOK(res1)) {
22272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22273 }
22274 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22275 ecode2 = SWIG_AsVal_int(obj1, &val2);
22276 if (!SWIG_IsOK(ecode2)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22278 }
22279 arg2 = static_cast< int >(val2);
22280 ecode3 = SWIG_AsVal_int(obj2, &val3);
22281 if (!SWIG_IsOK(ecode3)) {
22282 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22283 }
22284 arg3 = static_cast< int >(val3);
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 (arg1)->DoSetClientSize(arg2,arg3);
22288 wxPyEndAllowThreads(__tstate);
22289 if (PyErr_Occurred()) SWIG_fail;
22290 }
22291 resultobj = SWIG_Py_Void();
22292 return resultobj;
22293fail:
22294 return NULL;
22295}
22296
22297
22298SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22299 PyObject *resultobj = 0;
22300 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22301 int arg2 ;
22302 int arg3 ;
22303 void *argp1 = 0 ;
22304 int res1 = 0 ;
22305 int val2 ;
22306 int ecode2 = 0 ;
22307 int val3 ;
22308 int ecode3 = 0 ;
22309 PyObject * obj0 = 0 ;
22310 PyObject * obj1 = 0 ;
22311 PyObject * obj2 = 0 ;
22312 char * kwnames[] = {
22313 (char *) "self",(char *) "x",(char *) "y", NULL
22314 };
22315
22316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22318 if (!SWIG_IsOK(res1)) {
22319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22320 }
22321 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22322 ecode2 = SWIG_AsVal_int(obj1, &val2);
22323 if (!SWIG_IsOK(ecode2)) {
22324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22325 }
22326 arg2 = static_cast< int >(val2);
22327 ecode3 = SWIG_AsVal_int(obj2, &val3);
22328 if (!SWIG_IsOK(ecode3)) {
22329 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22330 }
22331 arg3 = static_cast< int >(val3);
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 (arg1)->DoSetVirtualSize(arg2,arg3);
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 resultobj = SWIG_Py_Void();
22339 return resultobj;
22340fail:
22341 return NULL;
22342}
22343
22344
22345SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22346 PyObject *resultobj = 0;
22347 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22348 int *arg2 = (int *) 0 ;
22349 int *arg3 = (int *) 0 ;
22350 void *argp1 = 0 ;
22351 int res1 = 0 ;
22352 int temp2 ;
22353 int res2 = SWIG_TMPOBJ ;
22354 int temp3 ;
22355 int res3 = SWIG_TMPOBJ ;
22356 PyObject *swig_obj[1] ;
22357
22358 arg2 = &temp2;
22359 arg3 = &temp3;
22360 if (!args) SWIG_fail;
22361 swig_obj[0] = args;
22362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22363 if (!SWIG_IsOK(res1)) {
22364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22365 }
22366 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 resultobj = SWIG_Py_Void();
22374 if (SWIG_IsTmpObj(res2)) {
22375 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22376 } else {
22377 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22378 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22379 }
22380 if (SWIG_IsTmpObj(res3)) {
22381 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22382 } else {
22383 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22384 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22385 }
22386 return resultobj;
22387fail:
22388 return NULL;
22389}
22390
22391
22392SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22393 PyObject *resultobj = 0;
22394 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22395 int *arg2 = (int *) 0 ;
22396 int *arg3 = (int *) 0 ;
22397 void *argp1 = 0 ;
22398 int res1 = 0 ;
22399 int temp2 ;
22400 int res2 = SWIG_TMPOBJ ;
22401 int temp3 ;
22402 int res3 = SWIG_TMPOBJ ;
22403 PyObject *swig_obj[1] ;
22404
22405 arg2 = &temp2;
22406 arg3 = &temp3;
22407 if (!args) SWIG_fail;
22408 swig_obj[0] = args;
22409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22410 if (!SWIG_IsOK(res1)) {
22411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22412 }
22413 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22417 wxPyEndAllowThreads(__tstate);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 resultobj = SWIG_Py_Void();
22421 if (SWIG_IsTmpObj(res2)) {
22422 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22423 } else {
22424 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22425 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22426 }
22427 if (SWIG_IsTmpObj(res3)) {
22428 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22429 } else {
22430 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22431 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22432 }
22433 return resultobj;
22434fail:
22435 return NULL;
22436}
22437
22438
22439SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22440 PyObject *resultobj = 0;
22441 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22442 int *arg2 = (int *) 0 ;
22443 int *arg3 = (int *) 0 ;
22444 void *argp1 = 0 ;
22445 int res1 = 0 ;
22446 int temp2 ;
22447 int res2 = SWIG_TMPOBJ ;
22448 int temp3 ;
22449 int res3 = SWIG_TMPOBJ ;
22450 PyObject *swig_obj[1] ;
22451
22452 arg2 = &temp2;
22453 arg3 = &temp3;
22454 if (!args) SWIG_fail;
22455 swig_obj[0] = args;
22456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22457 if (!SWIG_IsOK(res1)) {
22458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22459 }
22460 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 resultobj = SWIG_Py_Void();
22468 if (SWIG_IsTmpObj(res2)) {
22469 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22470 } else {
22471 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22472 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22473 }
22474 if (SWIG_IsTmpObj(res3)) {
22475 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22476 } else {
22477 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22478 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22479 }
22480 return resultobj;
22481fail:
22482 return NULL;
d55e5bfc
RD
22483}
22484
22485
554f62e9
RD
22486SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22487 PyObject *resultobj = 0;
22488 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22489 wxSize result;
22490 void *argp1 = 0 ;
22491 int res1 = 0 ;
22492 PyObject *swig_obj[1] ;
22493
22494 if (!args) SWIG_fail;
22495 swig_obj[0] = args;
22496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22497 if (!SWIG_IsOK(res1)) {
22498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22499 }
22500 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22504 wxPyEndAllowThreads(__tstate);
22505 if (PyErr_Occurred()) SWIG_fail;
22506 }
22507 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22508 return resultobj;
22509fail:
22510 return NULL;
d55e5bfc
RD
22511}
22512
22513
554f62e9
RD
22514SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(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_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22527 }
22528 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22529 {
22530 PyThreadState* __tstate = wxPyBeginAllowThreads();
22531 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
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;
d55e5bfc
RD
22539}
22540
22541
554f62e9
RD
22542SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22543 PyObject *resultobj = 0;
22544 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22545 SwigValueWrapper<wxVisualAttributes > 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_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22555 }
22556 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 result = (arg1)->GetDefaultAttributes();
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22564 return resultobj;
22565fail:
22566 return NULL;
d55e5bfc
RD
22567}
22568
22569
554f62e9
RD
22570SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22571 PyObject *resultobj = 0;
22572 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22573 void *argp1 = 0 ;
22574 int res1 = 0 ;
22575 PyObject *swig_obj[1] ;
22576
22577 if (!args) SWIG_fail;
22578 swig_obj[0] = args;
22579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22580 if (!SWIG_IsOK(res1)) {
22581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22582 }
22583 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 (arg1)->OnInternalIdle();
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 resultobj = SWIG_Py_Void();
22591 return resultobj;
22592fail:
22593 return NULL;
22594}
22595
22596
22597SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22598 PyObject *obj;
22599 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22600 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22601 return SWIG_Py_Void();
22602}
22603
22604SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22605 return SWIG_Python_InitShadowInstance(args);
22606}
22607
22608SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22609 PyObject *resultobj = 0;
22610 wxWindow *arg1 = (wxWindow *) 0 ;
22611 int arg2 = (int) (int)-1 ;
22612 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22613 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22614 wxSize const &arg4_defvalue = wxDefaultSize ;
22615 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22616 long arg5 = (long) 0 ;
22617 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22618 wxString *arg6 = (wxString *) &arg6_defvalue ;
22619 wxPyScrolledWindow *result = 0 ;
22620 void *argp1 = 0 ;
22621 int res1 = 0 ;
22622 int val2 ;
22623 int ecode2 = 0 ;
22624 wxPoint temp3 ;
22625 wxSize temp4 ;
22626 long val5 ;
22627 int ecode5 = 0 ;
22628 bool temp6 = false ;
22629 PyObject * obj0 = 0 ;
22630 PyObject * obj1 = 0 ;
22631 PyObject * obj2 = 0 ;
22632 PyObject * obj3 = 0 ;
22633 PyObject * obj4 = 0 ;
22634 PyObject * obj5 = 0 ;
22635 char * kwnames[] = {
22636 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22637 };
22638
22639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22641 if (!SWIG_IsOK(res1)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22643 }
22644 arg1 = reinterpret_cast< wxWindow * >(argp1);
22645 if (obj1) {
22646 ecode2 = SWIG_AsVal_int(obj1, &val2);
22647 if (!SWIG_IsOK(ecode2)) {
22648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22649 }
22650 arg2 = static_cast< int >(val2);
22651 }
22652 if (obj2) {
d55e5bfc 22653 {
554f62e9
RD
22654 arg3 = &temp3;
22655 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7449af73 22656 }
554f62e9
RD
22657 }
22658 if (obj3) {
7449af73 22659 {
554f62e9
RD
22660 arg4 = &temp4;
22661 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7449af73 22662 }
554f62e9
RD
22663 }
22664 if (obj4) {
22665 ecode5 = SWIG_AsVal_long(obj4, &val5);
22666 if (!SWIG_IsOK(ecode5)) {
22667 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22668 }
22669 arg5 = static_cast< long >(val5);
22670 }
22671 if (obj5) {
7449af73 22672 {
554f62e9
RD
22673 arg6 = wxString_in_helper(obj5);
22674 if (arg6 == NULL) SWIG_fail;
22675 temp6 = true;
7449af73 22676 }
554f62e9
RD
22677 }
22678 {
22679 if (!wxPyCheckForApp()) SWIG_fail;
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22686 {
22687 if (temp6)
22688 delete arg6;
22689 }
22690 return resultobj;
22691fail:
22692 {
22693 if (temp6)
22694 delete arg6;
22695 }
22696 return NULL;
7449af73
RD
22697}
22698
22699
554f62e9
RD
22700SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22701 PyObject *resultobj = 0;
22702 wxPyScrolledWindow *result = 0 ;
22703
22704 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22705 {
22706 if (!wxPyCheckForApp()) SWIG_fail;
22707 PyThreadState* __tstate = wxPyBeginAllowThreads();
22708 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22713 return resultobj;
22714fail:
22715 return NULL;
22716}
22717
22718
22719SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj = 0;
22721 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22722 PyObject *arg2 = (PyObject *) 0 ;
22723 PyObject *arg3 = (PyObject *) 0 ;
22724 void *argp1 = 0 ;
22725 int res1 = 0 ;
22726 PyObject * obj0 = 0 ;
22727 PyObject * obj1 = 0 ;
22728 PyObject * obj2 = 0 ;
22729 char * kwnames[] = {
22730 (char *) "self",(char *) "self",(char *) "_class", NULL
22731 };
22732
22733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22735 if (!SWIG_IsOK(res1)) {
22736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22737 }
22738 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22739 arg2 = obj1;
22740 arg3 = obj2;
22741 {
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 (arg1)->_setCallbackInfo(arg2,arg3);
22744 wxPyEndAllowThreads(__tstate);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 resultobj = SWIG_Py_Void();
22748 return resultobj;
22749fail:
22750 return NULL;
22751}
22752
22753
22754SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22755 PyObject *resultobj = 0;
22756 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22757 wxSize *arg2 = 0 ;
22758 void *argp1 = 0 ;
22759 int res1 = 0 ;
22760 wxSize temp2 ;
22761 PyObject * obj0 = 0 ;
22762 PyObject * obj1 = 0 ;
22763 char * kwnames[] = {
22764 (char *) "self",(char *) "size", NULL
22765 };
22766
22767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22769 if (!SWIG_IsOK(res1)) {
22770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22771 }
22772 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22773 {
22774 arg2 = &temp2;
22775 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22776 }
22777 {
22778 PyThreadState* __tstate = wxPyBeginAllowThreads();
22779 (arg1)->SetBestSize((wxSize const &)*arg2);
22780 wxPyEndAllowThreads(__tstate);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 }
22783 resultobj = SWIG_Py_Void();
22784 return resultobj;
22785fail:
22786 return NULL;
22787}
22788
22789
22790SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22791 PyObject *resultobj = 0;
22792 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22793 wxDC *arg2 = (wxDC *) 0 ;
22794 bool result;
22795 void *argp1 = 0 ;
22796 int res1 = 0 ;
22797 void *argp2 = 0 ;
22798 int res2 = 0 ;
22799 PyObject * obj0 = 0 ;
22800 PyObject * obj1 = 0 ;
22801 char * kwnames[] = {
22802 (char *) "self",(char *) "dc", NULL
22803 };
22804
22805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22807 if (!SWIG_IsOK(res1)) {
22808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22809 }
22810 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22811 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22812 if (!SWIG_IsOK(res2)) {
22813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22814 }
22815 arg2 = reinterpret_cast< wxDC * >(argp2);
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 result = (bool)(arg1)->DoEraseBackground(arg2);
22819 wxPyEndAllowThreads(__tstate);
22820 if (PyErr_Occurred()) SWIG_fail;
22821 }
22822 {
22823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22824 }
22825 return resultobj;
22826fail:
22827 return NULL;
22828}
22829
22830
22831SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22832 PyObject *resultobj = 0;
22833 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22834 int arg2 ;
22835 int arg3 ;
22836 int arg4 ;
22837 int arg5 ;
22838 void *argp1 = 0 ;
22839 int res1 = 0 ;
22840 int val2 ;
22841 int ecode2 = 0 ;
22842 int val3 ;
22843 int ecode3 = 0 ;
22844 int val4 ;
22845 int ecode4 = 0 ;
22846 int val5 ;
22847 int ecode5 = 0 ;
22848 PyObject * obj0 = 0 ;
22849 PyObject * obj1 = 0 ;
22850 PyObject * obj2 = 0 ;
22851 PyObject * obj3 = 0 ;
22852 PyObject * obj4 = 0 ;
22853 char * kwnames[] = {
22854 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22855 };
22856
22857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22859 if (!SWIG_IsOK(res1)) {
22860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22861 }
22862 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22863 ecode2 = SWIG_AsVal_int(obj1, &val2);
22864 if (!SWIG_IsOK(ecode2)) {
22865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22866 }
22867 arg2 = static_cast< int >(val2);
22868 ecode3 = SWIG_AsVal_int(obj2, &val3);
22869 if (!SWIG_IsOK(ecode3)) {
22870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22871 }
22872 arg3 = static_cast< int >(val3);
22873 ecode4 = SWIG_AsVal_int(obj3, &val4);
22874 if (!SWIG_IsOK(ecode4)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22876 }
22877 arg4 = static_cast< int >(val4);
22878 ecode5 = SWIG_AsVal_int(obj4, &val5);
22879 if (!SWIG_IsOK(ecode5)) {
22880 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22881 }
22882 arg5 = static_cast< int >(val5);
22883 {
22884 PyThreadState* __tstate = wxPyBeginAllowThreads();
22885 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22886 wxPyEndAllowThreads(__tstate);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 }
22889 resultobj = SWIG_Py_Void();
22890 return resultobj;
22891fail:
22892 return NULL;
22893}
22894
22895
22896SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22897 PyObject *resultobj = 0;
22898 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22899 int arg2 ;
22900 int arg3 ;
22901 int arg4 ;
22902 int arg5 ;
22903 int arg6 = (int) wxSIZE_AUTO ;
22904 void *argp1 = 0 ;
22905 int res1 = 0 ;
22906 int val2 ;
22907 int ecode2 = 0 ;
22908 int val3 ;
22909 int ecode3 = 0 ;
22910 int val4 ;
22911 int ecode4 = 0 ;
22912 int val5 ;
22913 int ecode5 = 0 ;
22914 int val6 ;
22915 int ecode6 = 0 ;
22916 PyObject * obj0 = 0 ;
22917 PyObject * obj1 = 0 ;
22918 PyObject * obj2 = 0 ;
22919 PyObject * obj3 = 0 ;
22920 PyObject * obj4 = 0 ;
22921 PyObject * obj5 = 0 ;
22922 char * kwnames[] = {
22923 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22924 };
22925
22926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22928 if (!SWIG_IsOK(res1)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22930 }
22931 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22932 ecode2 = SWIG_AsVal_int(obj1, &val2);
22933 if (!SWIG_IsOK(ecode2)) {
22934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22935 }
22936 arg2 = static_cast< int >(val2);
22937 ecode3 = SWIG_AsVal_int(obj2, &val3);
22938 if (!SWIG_IsOK(ecode3)) {
22939 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22940 }
22941 arg3 = static_cast< int >(val3);
22942 ecode4 = SWIG_AsVal_int(obj3, &val4);
22943 if (!SWIG_IsOK(ecode4)) {
22944 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22945 }
22946 arg4 = static_cast< int >(val4);
22947 ecode5 = SWIG_AsVal_int(obj4, &val5);
22948 if (!SWIG_IsOK(ecode5)) {
22949 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22950 }
22951 arg5 = static_cast< int >(val5);
22952 if (obj5) {
22953 ecode6 = SWIG_AsVal_int(obj5, &val6);
22954 if (!SWIG_IsOK(ecode6)) {
22955 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22956 }
22957 arg6 = static_cast< int >(val6);
22958 }
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
22965 resultobj = SWIG_Py_Void();
22966 return resultobj;
22967fail:
22968 return NULL;
22969}
22970
22971
22972SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22973 PyObject *resultobj = 0;
22974 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22975 int arg2 ;
22976 int arg3 ;
22977 void *argp1 = 0 ;
22978 int res1 = 0 ;
22979 int val2 ;
22980 int ecode2 = 0 ;
22981 int val3 ;
22982 int ecode3 = 0 ;
22983 PyObject * obj0 = 0 ;
22984 PyObject * obj1 = 0 ;
22985 PyObject * obj2 = 0 ;
22986 char * kwnames[] = {
22987 (char *) "self",(char *) "width",(char *) "height", NULL
22988 };
22989
22990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22992 if (!SWIG_IsOK(res1)) {
22993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22994 }
22995 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22996 ecode2 = SWIG_AsVal_int(obj1, &val2);
22997 if (!SWIG_IsOK(ecode2)) {
22998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22999 }
23000 arg2 = static_cast< int >(val2);
23001 ecode3 = SWIG_AsVal_int(obj2, &val3);
23002 if (!SWIG_IsOK(ecode3)) {
23003 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23004 }
23005 arg3 = static_cast< int >(val3);
23006 {
23007 PyThreadState* __tstate = wxPyBeginAllowThreads();
23008 (arg1)->DoSetClientSize(arg2,arg3);
23009 wxPyEndAllowThreads(__tstate);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 }
23012 resultobj = SWIG_Py_Void();
23013 return resultobj;
23014fail:
23015 return NULL;
23016}
23017
23018
23019SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23020 PyObject *resultobj = 0;
23021 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23022 int arg2 ;
23023 int arg3 ;
23024 void *argp1 = 0 ;
23025 int res1 = 0 ;
23026 int val2 ;
23027 int ecode2 = 0 ;
23028 int val3 ;
23029 int ecode3 = 0 ;
23030 PyObject * obj0 = 0 ;
23031 PyObject * obj1 = 0 ;
23032 PyObject * obj2 = 0 ;
23033 char * kwnames[] = {
23034 (char *) "self",(char *) "x",(char *) "y", NULL
23035 };
23036
23037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23039 if (!SWIG_IsOK(res1)) {
23040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23041 }
23042 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23043 ecode2 = SWIG_AsVal_int(obj1, &val2);
23044 if (!SWIG_IsOK(ecode2)) {
23045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23046 }
23047 arg2 = static_cast< int >(val2);
23048 ecode3 = SWIG_AsVal_int(obj2, &val3);
23049 if (!SWIG_IsOK(ecode3)) {
23050 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23051 }
23052 arg3 = static_cast< int >(val3);
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 (arg1)->DoSetVirtualSize(arg2,arg3);
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 resultobj = SWIG_Py_Void();
23060 return resultobj;
23061fail:
23062 return NULL;
23063}
23064
23065
23066SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23067 PyObject *resultobj = 0;
23068 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23069 int *arg2 = (int *) 0 ;
23070 int *arg3 = (int *) 0 ;
23071 void *argp1 = 0 ;
23072 int res1 = 0 ;
23073 int temp2 ;
23074 int res2 = SWIG_TMPOBJ ;
23075 int temp3 ;
23076 int res3 = SWIG_TMPOBJ ;
23077 PyObject *swig_obj[1] ;
23078
23079 arg2 = &temp2;
23080 arg3 = &temp3;
23081 if (!args) SWIG_fail;
23082 swig_obj[0] = args;
23083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23084 if (!SWIG_IsOK(res1)) {
23085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23086 }
23087 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23088 {
23089 PyThreadState* __tstate = wxPyBeginAllowThreads();
23090 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23091 wxPyEndAllowThreads(__tstate);
23092 if (PyErr_Occurred()) SWIG_fail;
23093 }
23094 resultobj = SWIG_Py_Void();
23095 if (SWIG_IsTmpObj(res2)) {
23096 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23097 } else {
23098 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23099 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23100 }
23101 if (SWIG_IsTmpObj(res3)) {
23102 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23103 } else {
23104 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23105 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23106 }
23107 return resultobj;
23108fail:
23109 return NULL;
23110}
23111
23112
23113SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23114 PyObject *resultobj = 0;
23115 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23116 int *arg2 = (int *) 0 ;
23117 int *arg3 = (int *) 0 ;
23118 void *argp1 = 0 ;
23119 int res1 = 0 ;
23120 int temp2 ;
23121 int res2 = SWIG_TMPOBJ ;
23122 int temp3 ;
23123 int res3 = SWIG_TMPOBJ ;
23124 PyObject *swig_obj[1] ;
23125
23126 arg2 = &temp2;
23127 arg3 = &temp3;
23128 if (!args) SWIG_fail;
23129 swig_obj[0] = args;
23130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23131 if (!SWIG_IsOK(res1)) {
23132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23133 }
23134 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23135 {
23136 PyThreadState* __tstate = wxPyBeginAllowThreads();
23137 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 resultobj = SWIG_Py_Void();
23142 if (SWIG_IsTmpObj(res2)) {
23143 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23144 } else {
23145 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23146 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23147 }
23148 if (SWIG_IsTmpObj(res3)) {
23149 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23150 } else {
23151 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23152 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23153 }
23154 return resultobj;
23155fail:
23156 return NULL;
23157}
23158
23159
23160SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23161 PyObject *resultobj = 0;
23162 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23163 int *arg2 = (int *) 0 ;
23164 int *arg3 = (int *) 0 ;
23165 void *argp1 = 0 ;
23166 int res1 = 0 ;
23167 int temp2 ;
23168 int res2 = SWIG_TMPOBJ ;
23169 int temp3 ;
23170 int res3 = SWIG_TMPOBJ ;
23171 PyObject *swig_obj[1] ;
23172
23173 arg2 = &temp2;
23174 arg3 = &temp3;
23175 if (!args) SWIG_fail;
23176 swig_obj[0] = args;
23177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23178 if (!SWIG_IsOK(res1)) {
23179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23180 }
23181 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23182 {
23183 PyThreadState* __tstate = wxPyBeginAllowThreads();
23184 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 resultobj = SWIG_Py_Void();
23189 if (SWIG_IsTmpObj(res2)) {
23190 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23191 } else {
23192 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23193 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23194 }
23195 if (SWIG_IsTmpObj(res3)) {
23196 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23197 } else {
23198 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23199 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23200 }
23201 return resultobj;
23202fail:
23203 return NULL;
d55e5bfc
RD
23204}
23205
23206
554f62e9
RD
23207SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23208 PyObject *resultobj = 0;
23209 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23210 wxSize result;
23211 void *argp1 = 0 ;
23212 int res1 = 0 ;
23213 PyObject *swig_obj[1] ;
23214
23215 if (!args) SWIG_fail;
23216 swig_obj[0] = args;
23217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23218 if (!SWIG_IsOK(res1)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23220 }
23221 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23222 {
23223 PyThreadState* __tstate = wxPyBeginAllowThreads();
23224 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23225 wxPyEndAllowThreads(__tstate);
23226 if (PyErr_Occurred()) SWIG_fail;
23227 }
23228 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23229 return resultobj;
23230fail:
23231 return NULL;
d55e5bfc
RD
23232}
23233
23234
554f62e9
RD
23235SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(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_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23248 }
23249 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
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;
d55e5bfc
RD
23260}
23261
23262
554f62e9
RD
23263SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23264 PyObject *resultobj = 0;
23265 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23266 SwigValueWrapper<wxVisualAttributes > 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_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23276 }
23277 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23278 {
23279 PyThreadState* __tstate = wxPyBeginAllowThreads();
23280 result = (arg1)->GetDefaultAttributes();
23281 wxPyEndAllowThreads(__tstate);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 }
23284 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23285 return resultobj;
23286fail:
23287 return NULL;
d55e5bfc
RD
23288}
23289
23290
554f62e9
RD
23291SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23292 PyObject *resultobj = 0;
23293 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23294 void *argp1 = 0 ;
23295 int res1 = 0 ;
23296 PyObject *swig_obj[1] ;
23297
23298 if (!args) SWIG_fail;
23299 swig_obj[0] = args;
23300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23301 if (!SWIG_IsOK(res1)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23303 }
23304 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 (arg1)->OnInternalIdle();
23308 wxPyEndAllowThreads(__tstate);
23309 if (PyErr_Occurred()) SWIG_fail;
23310 }
23311 resultobj = SWIG_Py_Void();
23312 return resultobj;
23313fail:
23314 return NULL;
d55e5bfc
RD
23315}
23316
23317
554f62e9
RD
23318SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23319 PyObject *obj;
23320 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23321 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23322 return SWIG_Py_Void();
d55e5bfc
RD
23323}
23324
554f62e9
RD
23325SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23326 return SWIG_Python_InitShadowInstance(args);
23327}
d55e5bfc 23328
554f62e9
RD
23329SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23330 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23331 return 1;
d55e5bfc
RD
23332}
23333
23334
554f62e9
RD
23335SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23336 PyObject *pyobj = 0;
23337
23338 {
23339#if wxUSE_UNICODE
23340 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23341#else
23342 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23343#endif
23344 }
23345 return pyobj;
d55e5bfc
RD
23346}
23347
23348
554f62e9
RD
23349SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23350 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23351 return 1;
d55e5bfc
RD
23352}
23353
23354
554f62e9
RD
23355SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23356 PyObject *pyobj = 0;
23357
23358 {
23359#if wxUSE_UNICODE
23360 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23361#else
23362 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23363#endif
23364 }
23365 return pyobj;
d55e5bfc
RD
23366}
23367
23368
554f62e9
RD
23369SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23370 PyObject *resultobj = 0;
23371 wxPrintData *result = 0 ;
23372
23373 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 result = (wxPrintData *)new wxPrintData();
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23381 return resultobj;
23382fail:
23383 return NULL;
d55e5bfc
RD
23384}
23385
23386
554f62e9
RD
23387SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23388 PyObject *resultobj = 0;
23389 wxPrintData *arg1 = 0 ;
23390 wxPrintData *result = 0 ;
23391 void *argp1 = 0 ;
23392 int res1 = 0 ;
23393
23394 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23396 if (!SWIG_IsOK(res1)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23398 }
23399 if (!argp1) {
23400 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23401 }
23402 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23406 wxPyEndAllowThreads(__tstate);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 }
23409 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23410 return resultobj;
23411fail:
23412 return NULL;
d55e5bfc
RD
23413}
23414
23415
554f62e9
RD
23416SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23417 int argc;
23418 PyObject *argv[2];
23419
23420 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23421 --argc;
23422 if (argc == 0) {
23423 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23424 }
23425 if (argc == 1) {
23426 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23427 }
23428
23429fail:
23430 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23431 return NULL;
d55e5bfc
RD
23432}
23433
23434
554f62e9
RD
23435SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23436 PyObject *resultobj = 0;
23437 wxPrintData *arg1 = (wxPrintData *) 0 ;
23438 void *argp1 = 0 ;
23439 int res1 = 0 ;
23440 PyObject *swig_obj[1] ;
23441
23442 if (!args) SWIG_fail;
23443 swig_obj[0] = args;
23444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23445 if (!SWIG_IsOK(res1)) {
23446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23447 }
23448 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 delete arg1;
d55e5bfc 23452
554f62e9
RD
23453 wxPyEndAllowThreads(__tstate);
23454 if (PyErr_Occurred()) SWIG_fail;
23455 }
23456 resultobj = SWIG_Py_Void();
23457 return resultobj;
23458fail:
23459 return NULL;
d55e5bfc
RD
23460}
23461
23462
554f62e9
RD
23463SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23464 PyObject *resultobj = 0;
23465 wxPrintData *arg1 = (wxPrintData *) 0 ;
23466 int result;
23467 void *argp1 = 0 ;
23468 int res1 = 0 ;
23469 PyObject *swig_obj[1] ;
23470
23471 if (!args) SWIG_fail;
23472 swig_obj[0] = args;
23473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23474 if (!SWIG_IsOK(res1)) {
23475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23476 }
23477 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23478 {
23479 PyThreadState* __tstate = wxPyBeginAllowThreads();
23480 result = (int)(arg1)->GetNoCopies();
23481 wxPyEndAllowThreads(__tstate);
23482 if (PyErr_Occurred()) SWIG_fail;
23483 }
23484 resultobj = SWIG_From_int(static_cast< int >(result));
23485 return resultobj;
23486fail:
23487 return NULL;
d55e5bfc
RD
23488}
23489
23490
554f62e9
RD
23491SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23492 PyObject *resultobj = 0;
23493 wxPrintData *arg1 = (wxPrintData *) 0 ;
23494 bool 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_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23504 }
23505 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 result = (bool)(arg1)->GetCollate();
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 {
23513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23514 }
23515 return resultobj;
23516fail:
23517 return NULL;
d55e5bfc
RD
23518}
23519
23520
554f62e9
RD
23521SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23522 PyObject *resultobj = 0;
23523 wxPrintData *arg1 = (wxPrintData *) 0 ;
23524 int result;
23525 void *argp1 = 0 ;
23526 int res1 = 0 ;
23527 PyObject *swig_obj[1] ;
23528
23529 if (!args) SWIG_fail;
23530 swig_obj[0] = args;
23531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23532 if (!SWIG_IsOK(res1)) {
23533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23534 }
23535 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 result = (int)(arg1)->GetOrientation();
23539 wxPyEndAllowThreads(__tstate);
23540 if (PyErr_Occurred()) SWIG_fail;
23541 }
23542 resultobj = SWIG_From_int(static_cast< int >(result));
23543 return resultobj;
23544fail:
23545 return NULL;
d55e5bfc
RD
23546}
23547
23548
554f62e9
RD
23549SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23550 PyObject *resultobj = 0;
23551 wxPrintData *arg1 = (wxPrintData *) 0 ;
23552 bool 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_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23562 }
23563 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 result = (bool)(arg1)->Ok();
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 {
23571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23572 }
23573 return resultobj;
23574fail:
23575 return NULL;
d55e5bfc
RD
23576}
23577
23578
554f62e9
RD
23579SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23580 PyObject *resultobj = 0;
23581 wxPrintData *arg1 = (wxPrintData *) 0 ;
23582 wxString *result = 0 ;
23583 void *argp1 = 0 ;
23584 int res1 = 0 ;
23585 PyObject *swig_obj[1] ;
23586
23587 if (!args) SWIG_fail;
23588 swig_obj[0] = args;
23589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23590 if (!SWIG_IsOK(res1)) {
23591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23592 }
23593 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23594 {
23595 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23596 {
554f62e9
RD
23597 wxString const &_result_ref = (arg1)->GetPrinterName();
23598 result = (wxString *) &_result_ref;
d55e5bfc 23599 }
554f62e9
RD
23600 wxPyEndAllowThreads(__tstate);
23601 if (PyErr_Occurred()) SWIG_fail;
23602 }
23603 {
d55e5bfc 23604#if wxUSE_UNICODE
554f62e9 23605 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 23606#else
554f62e9 23607 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 23608#endif
554f62e9
RD
23609 }
23610 return resultobj;
23611fail:
23612 return NULL;
d55e5bfc
RD
23613}
23614
23615
554f62e9
RD
23616SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23617 PyObject *resultobj = 0;
23618 wxPrintData *arg1 = (wxPrintData *) 0 ;
23619 bool result;
23620 void *argp1 = 0 ;
23621 int res1 = 0 ;
23622 PyObject *swig_obj[1] ;
23623
23624 if (!args) SWIG_fail;
23625 swig_obj[0] = args;
23626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23627 if (!SWIG_IsOK(res1)) {
23628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23629 }
23630 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23631 {
23632 PyThreadState* __tstate = wxPyBeginAllowThreads();
23633 result = (bool)(arg1)->GetColour();
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 {
23638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23639 }
23640 return resultobj;
23641fail:
23642 return NULL;
d55e5bfc
RD
23643}
23644
23645
554f62e9
RD
23646SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23647 PyObject *resultobj = 0;
23648 wxPrintData *arg1 = (wxPrintData *) 0 ;
23649 wxDuplexMode result;
23650 void *argp1 = 0 ;
23651 int res1 = 0 ;
23652 PyObject *swig_obj[1] ;
23653
23654 if (!args) SWIG_fail;
23655 swig_obj[0] = args;
23656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23657 if (!SWIG_IsOK(res1)) {
23658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23659 }
23660 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23661 {
23662 PyThreadState* __tstate = wxPyBeginAllowThreads();
23663 result = (wxDuplexMode)(arg1)->GetDuplex();
23664 wxPyEndAllowThreads(__tstate);
23665 if (PyErr_Occurred()) SWIG_fail;
23666 }
23667 resultobj = SWIG_From_int(static_cast< int >(result));
23668 return resultobj;
23669fail:
23670 return NULL;
d55e5bfc
RD
23671}
23672
23673
554f62e9
RD
23674SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23675 PyObject *resultobj = 0;
23676 wxPrintData *arg1 = (wxPrintData *) 0 ;
23677 wxPaperSize 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_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23687 }
23688 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23689 {
23690 PyThreadState* __tstate = wxPyBeginAllowThreads();
23691 result = (wxPaperSize)(arg1)->GetPaperId();
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;
d55e5bfc
RD
23699}
23700
23701
554f62e9
RD
23702SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23703 PyObject *resultobj = 0;
23704 wxPrintData *arg1 = (wxPrintData *) 0 ;
23705 wxSize *result = 0 ;
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_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23715 }
23716 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23717 {
23718 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23719 {
554f62e9
RD
23720 wxSize const &_result_ref = (arg1)->GetPaperSize();
23721 result = (wxSize *) &_result_ref;
d55e5bfc 23722 }
554f62e9
RD
23723 wxPyEndAllowThreads(__tstate);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 }
23726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23727 return resultobj;
23728fail:
23729 return NULL;
d55e5bfc
RD
23730}
23731
23732
554f62e9
RD
23733SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23734 PyObject *resultobj = 0;
23735 wxPrintData *arg1 = (wxPrintData *) 0 ;
23736 int result;
23737 void *argp1 = 0 ;
23738 int res1 = 0 ;
23739 PyObject *swig_obj[1] ;
23740
23741 if (!args) SWIG_fail;
23742 swig_obj[0] = args;
23743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23744 if (!SWIG_IsOK(res1)) {
23745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23746 }
23747 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 result = (int)(arg1)->GetQuality();
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 resultobj = SWIG_From_int(static_cast< int >(result));
23755 return resultobj;
23756fail:
23757 return NULL;
d55e5bfc
RD
23758}
23759
23760
554f62e9
RD
23761SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23762 PyObject *resultobj = 0;
23763 wxPrintData *arg1 = (wxPrintData *) 0 ;
23764 wxPrintBin 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_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23774 }
23775 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 result = (wxPrintBin)(arg1)->GetBin();
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;
d55e5bfc
RD
23786}
23787
23788
554f62e9
RD
23789SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23790 PyObject *resultobj = 0;
23791 wxPrintData *arg1 = (wxPrintData *) 0 ;
23792 wxPrintMode 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_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23802 }
23803 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
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;
23814}
23815
23816
23817SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23818 PyObject *resultobj = 0;
23819 wxPrintData *arg1 = (wxPrintData *) 0 ;
23820 int arg2 ;
23821 void *argp1 = 0 ;
23822 int res1 = 0 ;
23823 int val2 ;
23824 int ecode2 = 0 ;
23825 PyObject * obj0 = 0 ;
23826 PyObject * obj1 = 0 ;
23827 char * kwnames[] = {
23828 (char *) "self",(char *) "v", NULL
23829 };
23830
23831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23833 if (!SWIG_IsOK(res1)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23835 }
23836 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23837 ecode2 = SWIG_AsVal_int(obj1, &val2);
23838 if (!SWIG_IsOK(ecode2)) {
23839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23840 }
23841 arg2 = static_cast< int >(val2);
23842 {
23843 PyThreadState* __tstate = wxPyBeginAllowThreads();
23844 (arg1)->SetNoCopies(arg2);
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
23848 resultobj = SWIG_Py_Void();
23849 return resultobj;
23850fail:
23851 return NULL;
23852}
23853
23854
23855SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23856 PyObject *resultobj = 0;
23857 wxPrintData *arg1 = (wxPrintData *) 0 ;
23858 bool arg2 ;
23859 void *argp1 = 0 ;
23860 int res1 = 0 ;
23861 bool val2 ;
23862 int ecode2 = 0 ;
23863 PyObject * obj0 = 0 ;
23864 PyObject * obj1 = 0 ;
23865 char * kwnames[] = {
23866 (char *) "self",(char *) "flag", NULL
23867 };
23868
23869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23871 if (!SWIG_IsOK(res1)) {
23872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23873 }
23874 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23875 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23876 if (!SWIG_IsOK(ecode2)) {
23877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23878 }
23879 arg2 = static_cast< bool >(val2);
23880 {
23881 PyThreadState* __tstate = wxPyBeginAllowThreads();
23882 (arg1)->SetCollate(arg2);
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 resultobj = SWIG_Py_Void();
23887 return resultobj;
23888fail:
23889 return NULL;
23890}
23891
23892
23893SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23894 PyObject *resultobj = 0;
23895 wxPrintData *arg1 = (wxPrintData *) 0 ;
23896 int arg2 ;
23897 void *argp1 = 0 ;
23898 int res1 = 0 ;
23899 int val2 ;
23900 int ecode2 = 0 ;
23901 PyObject * obj0 = 0 ;
23902 PyObject * obj1 = 0 ;
23903 char * kwnames[] = {
23904 (char *) "self",(char *) "orient", NULL
23905 };
23906
23907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23909 if (!SWIG_IsOK(res1)) {
23910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23911 }
23912 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23913 ecode2 = SWIG_AsVal_int(obj1, &val2);
23914 if (!SWIG_IsOK(ecode2)) {
23915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23916 }
23917 arg2 = static_cast< int >(val2);
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 (arg1)->SetOrientation(arg2);
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 resultobj = SWIG_Py_Void();
23925 return resultobj;
23926fail:
23927 return NULL;
23928}
23929
23930
23931SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj = 0;
23933 wxPrintData *arg1 = (wxPrintData *) 0 ;
23934 wxString *arg2 = 0 ;
23935 void *argp1 = 0 ;
23936 int res1 = 0 ;
23937 bool temp2 = false ;
23938 PyObject * obj0 = 0 ;
23939 PyObject * obj1 = 0 ;
23940 char * kwnames[] = {
23941 (char *) "self",(char *) "name", NULL
23942 };
23943
23944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23946 if (!SWIG_IsOK(res1)) {
23947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23948 }
23949 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23950 {
23951 arg2 = wxString_in_helper(obj1);
23952 if (arg2 == NULL) SWIG_fail;
23953 temp2 = true;
23954 }
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 (arg1)->SetPrinterName((wxString const &)*arg2);
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 resultobj = SWIG_Py_Void();
23962 {
23963 if (temp2)
23964 delete arg2;
23965 }
23966 return resultobj;
23967fail:
23968 {
23969 if (temp2)
23970 delete arg2;
23971 }
23972 return NULL;
23973}
23974
23975
23976SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23977 PyObject *resultobj = 0;
23978 wxPrintData *arg1 = (wxPrintData *) 0 ;
23979 bool arg2 ;
23980 void *argp1 = 0 ;
23981 int res1 = 0 ;
23982 bool val2 ;
23983 int ecode2 = 0 ;
23984 PyObject * obj0 = 0 ;
23985 PyObject * obj1 = 0 ;
23986 char * kwnames[] = {
23987 (char *) "self",(char *) "colour", NULL
23988 };
23989
23990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23992 if (!SWIG_IsOK(res1)) {
23993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23994 }
23995 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23996 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23997 if (!SWIG_IsOK(ecode2)) {
23998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23999 }
24000 arg2 = static_cast< bool >(val2);
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 (arg1)->SetColour(arg2);
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 resultobj = SWIG_Py_Void();
24008 return resultobj;
24009fail:
24010 return NULL;
24011}
24012
24013
24014SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24015 PyObject *resultobj = 0;
24016 wxPrintData *arg1 = (wxPrintData *) 0 ;
24017 wxDuplexMode arg2 ;
24018 void *argp1 = 0 ;
24019 int res1 = 0 ;
24020 int val2 ;
24021 int ecode2 = 0 ;
24022 PyObject * obj0 = 0 ;
24023 PyObject * obj1 = 0 ;
24024 char * kwnames[] = {
24025 (char *) "self",(char *) "duplex", NULL
24026 };
24027
24028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24030 if (!SWIG_IsOK(res1)) {
24031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24032 }
24033 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24034 ecode2 = SWIG_AsVal_int(obj1, &val2);
24035 if (!SWIG_IsOK(ecode2)) {
24036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24037 }
24038 arg2 = static_cast< wxDuplexMode >(val2);
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 (arg1)->SetDuplex(arg2);
24042 wxPyEndAllowThreads(__tstate);
24043 if (PyErr_Occurred()) SWIG_fail;
24044 }
24045 resultobj = SWIG_Py_Void();
24046 return resultobj;
24047fail:
24048 return NULL;
24049}
24050
24051
24052SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24053 PyObject *resultobj = 0;
24054 wxPrintData *arg1 = (wxPrintData *) 0 ;
24055 wxPaperSize arg2 ;
24056 void *argp1 = 0 ;
24057 int res1 = 0 ;
24058 int val2 ;
24059 int ecode2 = 0 ;
24060 PyObject * obj0 = 0 ;
24061 PyObject * obj1 = 0 ;
24062 char * kwnames[] = {
24063 (char *) "self",(char *) "sizeId", NULL
24064 };
24065
24066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24068 if (!SWIG_IsOK(res1)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24070 }
24071 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24072 ecode2 = SWIG_AsVal_int(obj1, &val2);
24073 if (!SWIG_IsOK(ecode2)) {
24074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24075 }
24076 arg2 = static_cast< wxPaperSize >(val2);
24077 {
24078 PyThreadState* __tstate = wxPyBeginAllowThreads();
24079 (arg1)->SetPaperId(arg2);
24080 wxPyEndAllowThreads(__tstate);
24081 if (PyErr_Occurred()) SWIG_fail;
24082 }
24083 resultobj = SWIG_Py_Void();
24084 return resultobj;
24085fail:
24086 return NULL;
24087}
24088
24089
24090SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24091 PyObject *resultobj = 0;
24092 wxPrintData *arg1 = (wxPrintData *) 0 ;
24093 wxSize *arg2 = 0 ;
24094 void *argp1 = 0 ;
24095 int res1 = 0 ;
24096 wxSize temp2 ;
24097 PyObject * obj0 = 0 ;
24098 PyObject * obj1 = 0 ;
24099 char * kwnames[] = {
24100 (char *) "self",(char *) "sz", NULL
24101 };
24102
24103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24105 if (!SWIG_IsOK(res1)) {
24106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24107 }
24108 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24109 {
24110 arg2 = &temp2;
24111 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24112 }
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 (arg1)->SetPaperSize((wxSize const &)*arg2);
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 resultobj = SWIG_Py_Void();
24120 return resultobj;
24121fail:
24122 return NULL;
24123}
24124
24125
24126SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24127 PyObject *resultobj = 0;
24128 wxPrintData *arg1 = (wxPrintData *) 0 ;
24129 int arg2 ;
24130 void *argp1 = 0 ;
24131 int res1 = 0 ;
24132 int val2 ;
24133 int ecode2 = 0 ;
24134 PyObject * obj0 = 0 ;
24135 PyObject * obj1 = 0 ;
24136 char * kwnames[] = {
24137 (char *) "self",(char *) "quality", NULL
24138 };
24139
24140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24142 if (!SWIG_IsOK(res1)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24144 }
24145 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24146 ecode2 = SWIG_AsVal_int(obj1, &val2);
24147 if (!SWIG_IsOK(ecode2)) {
24148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24149 }
24150 arg2 = static_cast< int >(val2);
24151 {
24152 PyThreadState* __tstate = wxPyBeginAllowThreads();
24153 (arg1)->SetQuality(arg2);
24154 wxPyEndAllowThreads(__tstate);
24155 if (PyErr_Occurred()) SWIG_fail;
24156 }
24157 resultobj = SWIG_Py_Void();
24158 return resultobj;
24159fail:
24160 return NULL;
24161}
24162
24163
24164SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24165 PyObject *resultobj = 0;
24166 wxPrintData *arg1 = (wxPrintData *) 0 ;
24167 wxPrintBin arg2 ;
24168 void *argp1 = 0 ;
24169 int res1 = 0 ;
24170 int val2 ;
24171 int ecode2 = 0 ;
24172 PyObject * obj0 = 0 ;
24173 PyObject * obj1 = 0 ;
24174 char * kwnames[] = {
24175 (char *) "self",(char *) "bin", NULL
24176 };
24177
24178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24180 if (!SWIG_IsOK(res1)) {
24181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24182 }
24183 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24184 ecode2 = SWIG_AsVal_int(obj1, &val2);
24185 if (!SWIG_IsOK(ecode2)) {
24186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24187 }
24188 arg2 = static_cast< wxPrintBin >(val2);
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 (arg1)->SetBin(arg2);
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 resultobj = SWIG_Py_Void();
24196 return resultobj;
24197fail:
24198 return NULL;
24199}
24200
24201
24202SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24203 PyObject *resultobj = 0;
24204 wxPrintData *arg1 = (wxPrintData *) 0 ;
24205 wxPrintMode arg2 ;
24206 void *argp1 = 0 ;
24207 int res1 = 0 ;
24208 int val2 ;
24209 int ecode2 = 0 ;
24210 PyObject * obj0 = 0 ;
24211 PyObject * obj1 = 0 ;
24212 char * kwnames[] = {
24213 (char *) "self",(char *) "printMode", NULL
24214 };
24215
24216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24218 if (!SWIG_IsOK(res1)) {
24219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24220 }
24221 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24222 ecode2 = SWIG_AsVal_int(obj1, &val2);
24223 if (!SWIG_IsOK(ecode2)) {
24224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24225 }
24226 arg2 = static_cast< wxPrintMode >(val2);
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 (arg1)->SetPrintMode(arg2);
24230 wxPyEndAllowThreads(__tstate);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
24233 resultobj = SWIG_Py_Void();
24234 return resultobj;
24235fail:
24236 return NULL;
d55e5bfc
RD
24237}
24238
24239
554f62e9
RD
24240SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24241 PyObject *resultobj = 0;
24242 wxPrintData *arg1 = (wxPrintData *) 0 ;
24243 wxString result;
24244 void *argp1 = 0 ;
24245 int res1 = 0 ;
24246 PyObject *swig_obj[1] ;
24247
24248 if (!args) SWIG_fail;
24249 swig_obj[0] = args;
24250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24251 if (!SWIG_IsOK(res1)) {
24252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24253 }
24254 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24255 {
24256 PyThreadState* __tstate = wxPyBeginAllowThreads();
24257 result = ((wxPrintData const *)arg1)->GetFilename();
24258 wxPyEndAllowThreads(__tstate);
24259 if (PyErr_Occurred()) SWIG_fail;
24260 }
24261 {
d55e5bfc 24262#if wxUSE_UNICODE
554f62e9 24263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 24264#else
554f62e9 24265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 24266#endif
554f62e9
RD
24267 }
24268 return resultobj;
24269fail:
24270 return NULL;
24271}
24272
24273
24274SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24275 PyObject *resultobj = 0;
24276 wxPrintData *arg1 = (wxPrintData *) 0 ;
24277 wxString *arg2 = 0 ;
24278 void *argp1 = 0 ;
24279 int res1 = 0 ;
24280 bool temp2 = false ;
24281 PyObject * obj0 = 0 ;
24282 PyObject * obj1 = 0 ;
24283 char * kwnames[] = {
24284 (char *) "self",(char *) "filename", NULL
24285 };
24286
24287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24289 if (!SWIG_IsOK(res1)) {
24290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24291 }
24292 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24293 {
24294 arg2 = wxString_in_helper(obj1);
24295 if (arg2 == NULL) SWIG_fail;
24296 temp2 = true;
24297 }
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 (arg1)->SetFilename((wxString const &)*arg2);
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 resultobj = SWIG_Py_Void();
24305 {
24306 if (temp2)
24307 delete arg2;
24308 }
24309 return resultobj;
24310fail:
24311 {
24312 if (temp2)
24313 delete arg2;
24314 }
24315 return NULL;
d55e5bfc
RD
24316}
24317
24318
554f62e9
RD
24319SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24320 PyObject *resultobj = 0;
24321 wxPrintData *arg1 = (wxPrintData *) 0 ;
24322 PyObject *result = 0 ;
24323 void *argp1 = 0 ;
24324 int res1 = 0 ;
24325 PyObject *swig_obj[1] ;
24326
24327 if (!args) SWIG_fail;
24328 swig_obj[0] = args;
24329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24330 if (!SWIG_IsOK(res1)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24332 }
24333 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24334 {
24335 PyThreadState* __tstate = wxPyBeginAllowThreads();
24336 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24337 wxPyEndAllowThreads(__tstate);
24338 if (PyErr_Occurred()) SWIG_fail;
24339 }
24340 resultobj = result;
24341 return resultobj;
24342fail:
24343 return NULL;
24344}
24345
24346
24347SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24348 PyObject *resultobj = 0;
24349 wxPrintData *arg1 = (wxPrintData *) 0 ;
24350 PyObject *arg2 = (PyObject *) 0 ;
24351 void *argp1 = 0 ;
24352 int res1 = 0 ;
24353 PyObject * obj0 = 0 ;
24354 PyObject * obj1 = 0 ;
24355 char * kwnames[] = {
24356 (char *) "self",(char *) "data", NULL
24357 };
24358
24359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24361 if (!SWIG_IsOK(res1)) {
24362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24363 }
24364 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24365 arg2 = obj1;
24366 {
24367 PyThreadState* __tstate = wxPyBeginAllowThreads();
24368 wxPrintData_SetPrivData(arg1,arg2);
24369 wxPyEndAllowThreads(__tstate);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
24372 resultobj = SWIG_Py_Void();
24373 return resultobj;
24374fail:
24375 return NULL;
d55e5bfc
RD
24376}
24377
24378
554f62e9
RD
24379SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24380 PyObject *obj;
24381 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24382 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24383 return SWIG_Py_Void();
c1cb24a4
RD
24384}
24385
554f62e9
RD
24386SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24387 return SWIG_Python_InitShadowInstance(args);
c1cb24a4
RD
24388}
24389
554f62e9
RD
24390SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24391 PyObject *resultobj = 0;
24392 wxPageSetupDialogData *result = 0 ;
24393
24394 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24395 {
24396 PyThreadState* __tstate = wxPyBeginAllowThreads();
24397 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24398 wxPyEndAllowThreads(__tstate);
24399 if (PyErr_Occurred()) SWIG_fail;
24400 }
24401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24402 return resultobj;
24403fail:
24404 return NULL;
d55e5bfc
RD
24405}
24406
24407
554f62e9
RD
24408SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24409 PyObject *resultobj = 0;
24410 wxPageSetupDialogData *arg1 = 0 ;
24411 wxPageSetupDialogData *result = 0 ;
24412 void *argp1 = 0 ;
24413 int res1 = 0 ;
24414
24415 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24417 if (!SWIG_IsOK(res1)) {
24418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24419 }
24420 if (!argp1) {
24421 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24422 }
24423 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24424 {
24425 PyThreadState* __tstate = wxPyBeginAllowThreads();
24426 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24427 wxPyEndAllowThreads(__tstate);
24428 if (PyErr_Occurred()) SWIG_fail;
24429 }
24430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24431 return resultobj;
24432fail:
24433 return NULL;
d55e5bfc
RD
24434}
24435
24436
554f62e9
RD
24437SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24438 PyObject *resultobj = 0;
24439 wxPrintData *arg1 = 0 ;
24440 wxPageSetupDialogData *result = 0 ;
24441 void *argp1 = 0 ;
24442 int res1 = 0 ;
24443
24444 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24446 if (!SWIG_IsOK(res1)) {
24447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24448 }
24449 if (!argp1) {
24450 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24451 }
24452 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24460 return resultobj;
24461fail:
24462 return NULL;
d55e5bfc
RD
24463}
24464
24465
554f62e9
RD
24466SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24467 int argc;
24468 PyObject *argv[2];
24469
24470 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24471 --argc;
24472 if (argc == 0) {
24473 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24474 }
24475 if (argc == 1) {
24476 int _v = 0;
d55e5bfc 24477 {
554f62e9
RD
24478 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24479 _v = SWIG_CheckState(res);
d55e5bfc 24480 }
554f62e9
RD
24481 if (!_v) goto check_2;
24482 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24483 }
24484check_2:
24485
24486 if (argc == 1) {
24487 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24488 }
24489
24490fail:
24491 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24492 return NULL;
d55e5bfc
RD
24493}
24494
24495
554f62e9
RD
24496SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24497 PyObject *resultobj = 0;
24498 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24499 void *argp1 = 0 ;
24500 int res1 = 0 ;
24501 PyObject *swig_obj[1] ;
24502
24503 if (!args) SWIG_fail;
24504 swig_obj[0] = args;
24505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24506 if (!SWIG_IsOK(res1)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24508 }
24509 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 delete arg1;
d55e5bfc 24513
554f62e9
RD
24514 wxPyEndAllowThreads(__tstate);
24515 if (PyErr_Occurred()) SWIG_fail;
24516 }
24517 resultobj = SWIG_Py_Void();
24518 return resultobj;
24519fail:
24520 return NULL;
24521}
24522
24523
24524SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24525 PyObject *resultobj = 0;
24526 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24527 bool arg2 ;
24528 void *argp1 = 0 ;
24529 int res1 = 0 ;
24530 bool val2 ;
24531 int ecode2 = 0 ;
24532 PyObject * obj0 = 0 ;
24533 PyObject * obj1 = 0 ;
24534 char * kwnames[] = {
24535 (char *) "self",(char *) "flag", NULL
24536 };
24537
24538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24540 if (!SWIG_IsOK(res1)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24542 }
24543 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24544 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24545 if (!SWIG_IsOK(ecode2)) {
24546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24547 }
24548 arg2 = static_cast< bool >(val2);
24549 {
24550 PyThreadState* __tstate = wxPyBeginAllowThreads();
24551 (arg1)->EnableHelp(arg2);
24552 wxPyEndAllowThreads(__tstate);
24553 if (PyErr_Occurred()) SWIG_fail;
24554 }
24555 resultobj = SWIG_Py_Void();
24556 return resultobj;
24557fail:
24558 return NULL;
24559}
24560
24561
24562SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24563 PyObject *resultobj = 0;
24564 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24565 bool arg2 ;
24566 void *argp1 = 0 ;
24567 int res1 = 0 ;
24568 bool val2 ;
24569 int ecode2 = 0 ;
24570 PyObject * obj0 = 0 ;
24571 PyObject * obj1 = 0 ;
24572 char * kwnames[] = {
24573 (char *) "self",(char *) "flag", NULL
24574 };
24575
24576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24578 if (!SWIG_IsOK(res1)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24580 }
24581 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24582 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24583 if (!SWIG_IsOK(ecode2)) {
24584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24585 }
24586 arg2 = static_cast< bool >(val2);
24587 {
24588 PyThreadState* __tstate = wxPyBeginAllowThreads();
24589 (arg1)->EnableMargins(arg2);
24590 wxPyEndAllowThreads(__tstate);
24591 if (PyErr_Occurred()) SWIG_fail;
24592 }
24593 resultobj = SWIG_Py_Void();
24594 return resultobj;
24595fail:
24596 return NULL;
24597}
24598
24599
24600SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24601 PyObject *resultobj = 0;
24602 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24603 bool arg2 ;
24604 void *argp1 = 0 ;
24605 int res1 = 0 ;
24606 bool val2 ;
24607 int ecode2 = 0 ;
24608 PyObject * obj0 = 0 ;
24609 PyObject * obj1 = 0 ;
24610 char * kwnames[] = {
24611 (char *) "self",(char *) "flag", NULL
24612 };
24613
24614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24616 if (!SWIG_IsOK(res1)) {
24617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24618 }
24619 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24620 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24621 if (!SWIG_IsOK(ecode2)) {
24622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24623 }
24624 arg2 = static_cast< bool >(val2);
24625 {
24626 PyThreadState* __tstate = wxPyBeginAllowThreads();
24627 (arg1)->EnableOrientation(arg2);
24628 wxPyEndAllowThreads(__tstate);
24629 if (PyErr_Occurred()) SWIG_fail;
24630 }
24631 resultobj = SWIG_Py_Void();
24632 return resultobj;
24633fail:
24634 return NULL;
24635}
24636
24637
24638SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24639 PyObject *resultobj = 0;
24640 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24641 bool arg2 ;
24642 void *argp1 = 0 ;
24643 int res1 = 0 ;
24644 bool val2 ;
24645 int ecode2 = 0 ;
24646 PyObject * obj0 = 0 ;
24647 PyObject * obj1 = 0 ;
24648 char * kwnames[] = {
24649 (char *) "self",(char *) "flag", NULL
24650 };
24651
24652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24654 if (!SWIG_IsOK(res1)) {
24655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24656 }
24657 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24658 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24659 if (!SWIG_IsOK(ecode2)) {
24660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24661 }
24662 arg2 = static_cast< bool >(val2);
24663 {
24664 PyThreadState* __tstate = wxPyBeginAllowThreads();
24665 (arg1)->EnablePaper(arg2);
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 resultobj = SWIG_Py_Void();
24670 return resultobj;
24671fail:
24672 return NULL;
24673}
24674
24675
24676SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24677 PyObject *resultobj = 0;
24678 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24679 bool arg2 ;
24680 void *argp1 = 0 ;
24681 int res1 = 0 ;
24682 bool val2 ;
24683 int ecode2 = 0 ;
24684 PyObject * obj0 = 0 ;
24685 PyObject * obj1 = 0 ;
24686 char * kwnames[] = {
24687 (char *) "self",(char *) "flag", NULL
24688 };
24689
24690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24692 if (!SWIG_IsOK(res1)) {
24693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24694 }
24695 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24696 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24697 if (!SWIG_IsOK(ecode2)) {
24698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24699 }
24700 arg2 = static_cast< bool >(val2);
24701 {
24702 PyThreadState* __tstate = wxPyBeginAllowThreads();
24703 (arg1)->EnablePrinter(arg2);
24704 wxPyEndAllowThreads(__tstate);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
24707 resultobj = SWIG_Py_Void();
24708 return resultobj;
24709fail:
24710 return NULL;
d55e5bfc
RD
24711}
24712
24713
554f62e9
RD
24714SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24715 PyObject *resultobj = 0;
24716 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24717 bool result;
24718 void *argp1 = 0 ;
24719 int res1 = 0 ;
24720 PyObject *swig_obj[1] ;
24721
24722 if (!args) SWIG_fail;
24723 swig_obj[0] = args;
24724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24725 if (!SWIG_IsOK(res1)) {
24726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24727 }
24728 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 result = (bool)(arg1)->GetDefaultMinMargins();
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 {
24736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24737 }
24738 return resultobj;
24739fail:
24740 return NULL;
d55e5bfc
RD
24741}
24742
24743
554f62e9
RD
24744SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24745 PyObject *resultobj = 0;
24746 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24747 bool result;
24748 void *argp1 = 0 ;
24749 int res1 = 0 ;
24750 PyObject *swig_obj[1] ;
24751
24752 if (!args) SWIG_fail;
24753 swig_obj[0] = args;
24754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24755 if (!SWIG_IsOK(res1)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24757 }
24758 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24759 {
24760 PyThreadState* __tstate = wxPyBeginAllowThreads();
24761 result = (bool)(arg1)->GetEnableMargins();
24762 wxPyEndAllowThreads(__tstate);
24763 if (PyErr_Occurred()) SWIG_fail;
24764 }
24765 {
24766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24767 }
24768 return resultobj;
24769fail:
24770 return NULL;
d55e5bfc
RD
24771}
24772
24773
554f62e9
RD
24774SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24775 PyObject *resultobj = 0;
24776 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24777 bool result;
24778 void *argp1 = 0 ;
24779 int res1 = 0 ;
24780 PyObject *swig_obj[1] ;
24781
24782 if (!args) SWIG_fail;
24783 swig_obj[0] = args;
24784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24785 if (!SWIG_IsOK(res1)) {
24786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24787 }
24788 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 result = (bool)(arg1)->GetEnableOrientation();
24792 wxPyEndAllowThreads(__tstate);
24793 if (PyErr_Occurred()) SWIG_fail;
24794 }
24795 {
24796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24797 }
24798 return resultobj;
24799fail:
24800 return NULL;
d55e5bfc
RD
24801}
24802
24803
554f62e9
RD
24804SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24805 PyObject *resultobj = 0;
24806 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24807 bool result;
24808 void *argp1 = 0 ;
24809 int res1 = 0 ;
24810 PyObject *swig_obj[1] ;
24811
24812 if (!args) SWIG_fail;
24813 swig_obj[0] = args;
24814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24815 if (!SWIG_IsOK(res1)) {
24816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24817 }
24818 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24819 {
24820 PyThreadState* __tstate = wxPyBeginAllowThreads();
24821 result = (bool)(arg1)->GetEnablePaper();
24822 wxPyEndAllowThreads(__tstate);
24823 if (PyErr_Occurred()) SWIG_fail;
24824 }
24825 {
24826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24827 }
24828 return resultobj;
24829fail:
24830 return NULL;
d55e5bfc
RD
24831}
24832
24833
554f62e9
RD
24834SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24835 PyObject *resultobj = 0;
24836 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24837 bool result;
24838 void *argp1 = 0 ;
24839 int res1 = 0 ;
24840 PyObject *swig_obj[1] ;
24841
24842 if (!args) SWIG_fail;
24843 swig_obj[0] = args;
24844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24845 if (!SWIG_IsOK(res1)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24847 }
24848 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24849 {
24850 PyThreadState* __tstate = wxPyBeginAllowThreads();
24851 result = (bool)(arg1)->GetEnablePrinter();
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 {
24856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24857 }
24858 return resultobj;
24859fail:
24860 return NULL;
d55e5bfc
RD
24861}
24862
24863
554f62e9
RD
24864SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24865 PyObject *resultobj = 0;
24866 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24867 bool result;
24868 void *argp1 = 0 ;
24869 int res1 = 0 ;
24870 PyObject *swig_obj[1] ;
24871
24872 if (!args) SWIG_fail;
24873 swig_obj[0] = args;
24874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24875 if (!SWIG_IsOK(res1)) {
24876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24877 }
24878 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 result = (bool)(arg1)->GetEnableHelp();
24882 wxPyEndAllowThreads(__tstate);
24883 if (PyErr_Occurred()) SWIG_fail;
24884 }
24885 {
24886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24887 }
24888 return resultobj;
24889fail:
24890 return NULL;
d55e5bfc
RD
24891}
24892
24893
554f62e9
RD
24894SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24895 PyObject *resultobj = 0;
24896 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24897 bool result;
24898 void *argp1 = 0 ;
24899 int res1 = 0 ;
24900 PyObject *swig_obj[1] ;
24901
24902 if (!args) SWIG_fail;
24903 swig_obj[0] = args;
24904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24905 if (!SWIG_IsOK(res1)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24907 }
24908 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 result = (bool)(arg1)->GetDefaultInfo();
24912 wxPyEndAllowThreads(__tstate);
24913 if (PyErr_Occurred()) SWIG_fail;
24914 }
24915 {
24916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24917 }
24918 return resultobj;
24919fail:
24920 return NULL;
d55e5bfc
RD
24921}
24922
24923
554f62e9
RD
24924SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24925 PyObject *resultobj = 0;
24926 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24927 wxPoint result;
24928 void *argp1 = 0 ;
24929 int res1 = 0 ;
24930 PyObject *swig_obj[1] ;
24931
24932 if (!args) SWIG_fail;
24933 swig_obj[0] = args;
24934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24935 if (!SWIG_IsOK(res1)) {
24936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24937 }
24938 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24939 {
24940 PyThreadState* __tstate = wxPyBeginAllowThreads();
24941 result = (arg1)->GetMarginTopLeft();
24942 wxPyEndAllowThreads(__tstate);
24943 if (PyErr_Occurred()) SWIG_fail;
24944 }
24945 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24946 return resultobj;
24947fail:
24948 return NULL;
d55e5bfc
RD
24949}
24950
24951
554f62e9
RD
24952SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(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_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24965 }
24966 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24967 {
24968 PyThreadState* __tstate = wxPyBeginAllowThreads();
24969 result = (arg1)->GetMarginBottomRight();
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;
d55e5bfc
RD
24977}
24978
24979
554f62e9
RD
24980SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(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_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24993 }
24994 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 result = (arg1)->GetMinMarginTopLeft();
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;
d55e5bfc
RD
25005}
25006
25007
554f62e9
RD
25008SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(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_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25021 }
25022 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25023 {
25024 PyThreadState* __tstate = wxPyBeginAllowThreads();
25025 result = (arg1)->GetMinMarginBottomRight();
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;
d55e5bfc
RD
25033}
25034
25035
554f62e9
RD
25036SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25037 PyObject *resultobj = 0;
25038 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25039 wxPaperSize 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_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25049 }
25050 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25051 {
25052 PyThreadState* __tstate = wxPyBeginAllowThreads();
25053 result = (wxPaperSize)(arg1)->GetPaperId();
25054 wxPyEndAllowThreads(__tstate);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 resultobj = SWIG_From_int(static_cast< int >(result));
25058 return resultobj;
25059fail:
25060 return NULL;
d55e5bfc
RD
25061}
25062
25063
554f62e9
RD
25064SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25065 PyObject *resultobj = 0;
25066 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25067 wxSize 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_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25077 }
25078 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 result = (arg1)->GetPaperSize();
25082 wxPyEndAllowThreads(__tstate);
25083 if (PyErr_Occurred()) SWIG_fail;
25084 }
25085 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25086 return resultobj;
25087fail:
25088 return NULL;
7449af73
RD
25089}
25090
25091
554f62e9
RD
25092SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25093 PyObject *resultobj = 0;
25094 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25095 wxPrintData *result = 0 ;
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_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25105 }
25106 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25107 {
25108 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25109 {
554f62e9
RD
25110 wxPrintData &_result_ref = (arg1)->GetPrintData();
25111 result = (wxPrintData *) &_result_ref;
d55e5bfc 25112 }
554f62e9
RD
25113 wxPyEndAllowThreads(__tstate);
25114 if (PyErr_Occurred()) SWIG_fail;
25115 }
25116 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25117 return resultobj;
25118fail:
25119 return NULL;
d55e5bfc
RD
25120}
25121
25122
554f62e9
RD
25123SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25124 PyObject *resultobj = 0;
25125 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25126 bool result;
25127 void *argp1 = 0 ;
25128 int res1 = 0 ;
25129 PyObject *swig_obj[1] ;
25130
25131 if (!args) SWIG_fail;
25132 swig_obj[0] = args;
25133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25134 if (!SWIG_IsOK(res1)) {
25135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25136 }
25137 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25138 {
25139 PyThreadState* __tstate = wxPyBeginAllowThreads();
25140 result = (bool)(arg1)->Ok();
25141 wxPyEndAllowThreads(__tstate);
25142 if (PyErr_Occurred()) SWIG_fail;
25143 }
25144 {
25145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25146 }
25147 return resultobj;
25148fail:
25149 return NULL;
25150}
25151
25152
25153SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25154 PyObject *resultobj = 0;
25155 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25156 bool arg2 ;
25157 void *argp1 = 0 ;
25158 int res1 = 0 ;
25159 bool val2 ;
25160 int ecode2 = 0 ;
25161 PyObject * obj0 = 0 ;
25162 PyObject * obj1 = 0 ;
25163 char * kwnames[] = {
25164 (char *) "self",(char *) "flag", NULL
25165 };
25166
25167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25169 if (!SWIG_IsOK(res1)) {
25170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25171 }
25172 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25173 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25174 if (!SWIG_IsOK(ecode2)) {
25175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25176 }
25177 arg2 = static_cast< bool >(val2);
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 (arg1)->SetDefaultInfo(arg2);
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
25184 resultobj = SWIG_Py_Void();
25185 return resultobj;
25186fail:
25187 return NULL;
25188}
25189
25190
25191SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25192 PyObject *resultobj = 0;
25193 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25194 bool arg2 ;
25195 void *argp1 = 0 ;
25196 int res1 = 0 ;
25197 bool val2 ;
25198 int ecode2 = 0 ;
25199 PyObject * obj0 = 0 ;
25200 PyObject * obj1 = 0 ;
25201 char * kwnames[] = {
25202 (char *) "self",(char *) "flag", NULL
25203 };
25204
25205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25207 if (!SWIG_IsOK(res1)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25209 }
25210 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25211 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25212 if (!SWIG_IsOK(ecode2)) {
25213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25214 }
25215 arg2 = static_cast< bool >(val2);
25216 {
25217 PyThreadState* __tstate = wxPyBeginAllowThreads();
25218 (arg1)->SetDefaultMinMargins(arg2);
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 resultobj = SWIG_Py_Void();
25223 return resultobj;
25224fail:
25225 return NULL;
25226}
25227
25228
25229SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25230 PyObject *resultobj = 0;
25231 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25232 wxPoint *arg2 = 0 ;
25233 void *argp1 = 0 ;
25234 int res1 = 0 ;
25235 wxPoint temp2 ;
25236 PyObject * obj0 = 0 ;
25237 PyObject * obj1 = 0 ;
25238 char * kwnames[] = {
25239 (char *) "self",(char *) "pt", NULL
25240 };
25241
25242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25244 if (!SWIG_IsOK(res1)) {
25245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25246 }
25247 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25248 {
25249 arg2 = &temp2;
25250 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25251 }
25252 {
25253 PyThreadState* __tstate = wxPyBeginAllowThreads();
25254 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25255 wxPyEndAllowThreads(__tstate);
25256 if (PyErr_Occurred()) SWIG_fail;
25257 }
25258 resultobj = SWIG_Py_Void();
25259 return resultobj;
25260fail:
25261 return NULL;
25262}
25263
25264
25265SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25266 PyObject *resultobj = 0;
25267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25268 wxPoint *arg2 = 0 ;
25269 void *argp1 = 0 ;
25270 int res1 = 0 ;
25271 wxPoint temp2 ;
25272 PyObject * obj0 = 0 ;
25273 PyObject * obj1 = 0 ;
25274 char * kwnames[] = {
25275 (char *) "self",(char *) "pt", NULL
25276 };
25277
25278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25280 if (!SWIG_IsOK(res1)) {
25281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25282 }
25283 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25284 {
25285 arg2 = &temp2;
25286 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25287 }
25288 {
25289 PyThreadState* __tstate = wxPyBeginAllowThreads();
25290 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25291 wxPyEndAllowThreads(__tstate);
25292 if (PyErr_Occurred()) SWIG_fail;
25293 }
25294 resultobj = SWIG_Py_Void();
25295 return resultobj;
25296fail:
25297 return NULL;
25298}
25299
25300
25301SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25302 PyObject *resultobj = 0;
25303 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25304 wxPoint *arg2 = 0 ;
25305 void *argp1 = 0 ;
25306 int res1 = 0 ;
25307 wxPoint temp2 ;
25308 PyObject * obj0 = 0 ;
25309 PyObject * obj1 = 0 ;
25310 char * kwnames[] = {
25311 (char *) "self",(char *) "pt", NULL
25312 };
25313
25314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25316 if (!SWIG_IsOK(res1)) {
25317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25318 }
25319 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25320 {
25321 arg2 = &temp2;
25322 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25323 }
25324 {
25325 PyThreadState* __tstate = wxPyBeginAllowThreads();
25326 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25327 wxPyEndAllowThreads(__tstate);
25328 if (PyErr_Occurred()) SWIG_fail;
25329 }
25330 resultobj = SWIG_Py_Void();
25331 return resultobj;
25332fail:
25333 return NULL;
25334}
25335
25336
25337SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25338 PyObject *resultobj = 0;
25339 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25340 wxPoint *arg2 = 0 ;
25341 void *argp1 = 0 ;
25342 int res1 = 0 ;
25343 wxPoint temp2 ;
25344 PyObject * obj0 = 0 ;
25345 PyObject * obj1 = 0 ;
25346 char * kwnames[] = {
25347 (char *) "self",(char *) "pt", NULL
25348 };
25349
25350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25352 if (!SWIG_IsOK(res1)) {
25353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25354 }
25355 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25356 {
25357 arg2 = &temp2;
25358 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25359 }
25360 {
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25363 wxPyEndAllowThreads(__tstate);
25364 if (PyErr_Occurred()) SWIG_fail;
25365 }
25366 resultobj = SWIG_Py_Void();
25367 return resultobj;
25368fail:
25369 return NULL;
25370}
25371
25372
25373SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25374 PyObject *resultobj = 0;
25375 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25376 wxPaperSize arg2 ;
25377 void *argp1 = 0 ;
25378 int res1 = 0 ;
25379 int val2 ;
25380 int ecode2 = 0 ;
25381 PyObject * obj0 = 0 ;
25382 PyObject * obj1 = 0 ;
25383 char * kwnames[] = {
25384 (char *) "self",(char *) "id", NULL
25385 };
25386
25387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25389 if (!SWIG_IsOK(res1)) {
25390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25391 }
25392 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25393 ecode2 = SWIG_AsVal_int(obj1, &val2);
25394 if (!SWIG_IsOK(ecode2)) {
25395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25396 }
25397 arg2 = static_cast< wxPaperSize >(val2);
25398 {
25399 PyThreadState* __tstate = wxPyBeginAllowThreads();
25400 (arg1)->SetPaperId(arg2);
25401 wxPyEndAllowThreads(__tstate);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
25404 resultobj = SWIG_Py_Void();
25405 return resultobj;
25406fail:
25407 return NULL;
25408}
25409
25410
25411SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25412 PyObject *resultobj = 0;
25413 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25414 wxSize *arg2 = 0 ;
25415 void *argp1 = 0 ;
25416 int res1 = 0 ;
25417 wxSize temp2 ;
25418 PyObject * obj0 = 0 ;
25419 PyObject * obj1 = 0 ;
25420 char * kwnames[] = {
25421 (char *) "self",(char *) "size", NULL
25422 };
25423
25424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25426 if (!SWIG_IsOK(res1)) {
25427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25428 }
25429 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25430 {
25431 arg2 = &temp2;
25432 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25433 }
25434 {
25435 PyThreadState* __tstate = wxPyBeginAllowThreads();
25436 (arg1)->SetPaperSize((wxSize const &)*arg2);
25437 wxPyEndAllowThreads(__tstate);
25438 if (PyErr_Occurred()) SWIG_fail;
25439 }
25440 resultobj = SWIG_Py_Void();
25441 return resultobj;
25442fail:
25443 return NULL;
25444}
25445
25446
25447SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25448 PyObject *resultobj = 0;
25449 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25450 wxPrintData *arg2 = 0 ;
25451 void *argp1 = 0 ;
25452 int res1 = 0 ;
25453 void *argp2 = 0 ;
25454 int res2 = 0 ;
25455 PyObject * obj0 = 0 ;
25456 PyObject * obj1 = 0 ;
25457 char * kwnames[] = {
25458 (char *) "self",(char *) "printData", NULL
25459 };
25460
25461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25463 if (!SWIG_IsOK(res1)) {
25464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25465 }
25466 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25467 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25468 if (!SWIG_IsOK(res2)) {
25469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25470 }
25471 if (!argp2) {
25472 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25473 }
25474 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 resultobj = SWIG_Py_Void();
25482 return resultobj;
25483fail:
25484 return NULL;
d55e5bfc
RD
25485}
25486
25487
554f62e9
RD
25488SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25489 PyObject *resultobj = 0;
25490 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25491 void *argp1 = 0 ;
25492 int res1 = 0 ;
25493 PyObject *swig_obj[1] ;
25494
25495 if (!args) SWIG_fail;
25496 swig_obj[0] = args;
25497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25498 if (!SWIG_IsOK(res1)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25500 }
25501 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25502 {
25503 PyThreadState* __tstate = wxPyBeginAllowThreads();
25504 (arg1)->CalculateIdFromPaperSize();
25505 wxPyEndAllowThreads(__tstate);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 resultobj = SWIG_Py_Void();
25509 return resultobj;
25510fail:
25511 return NULL;
d55e5bfc
RD
25512}
25513
25514
554f62e9
RD
25515SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25516 PyObject *resultobj = 0;
25517 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25518 void *argp1 = 0 ;
25519 int res1 = 0 ;
25520 PyObject *swig_obj[1] ;
25521
25522 if (!args) SWIG_fail;
25523 swig_obj[0] = args;
25524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25525 if (!SWIG_IsOK(res1)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25527 }
25528 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25529 {
25530 PyThreadState* __tstate = wxPyBeginAllowThreads();
25531 (arg1)->CalculatePaperSizeFromId();
25532 wxPyEndAllowThreads(__tstate);
25533 if (PyErr_Occurred()) SWIG_fail;
25534 }
25535 resultobj = SWIG_Py_Void();
25536 return resultobj;
25537fail:
25538 return NULL;
d55e5bfc
RD
25539}
25540
25541
554f62e9
RD
25542SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25543 PyObject *obj;
25544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25546 return SWIG_Py_Void();
d55e5bfc
RD
25547}
25548
554f62e9
RD
25549SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25550 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25551}
25552
554f62e9
RD
25553SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25554 PyObject *resultobj = 0;
25555 wxWindow *arg1 = (wxWindow *) 0 ;
25556 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25557 wxPageSetupDialog *result = 0 ;
25558 void *argp1 = 0 ;
25559 int res1 = 0 ;
25560 void *argp2 = 0 ;
25561 int res2 = 0 ;
25562 PyObject * obj0 = 0 ;
25563 PyObject * obj1 = 0 ;
25564 char * kwnames[] = {
25565 (char *) "parent",(char *) "data", NULL
25566 };
25567
25568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25570 if (!SWIG_IsOK(res1)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25572 }
25573 arg1 = reinterpret_cast< wxWindow * >(argp1);
25574 if (obj1) {
25575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25576 if (!SWIG_IsOK(res2)) {
25577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
d55e5bfc 25578 }
554f62e9
RD
25579 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25580 }
25581 {
25582 if (!wxPyCheckForApp()) SWIG_fail;
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25585 wxPyEndAllowThreads(__tstate);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 }
25588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25589 return resultobj;
25590fail:
25591 return NULL;
d55e5bfc
RD
25592}
25593
25594
f05326ba
RD
25595SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25596 PyObject *resultobj = 0;
25597 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25598 void *argp1 = 0 ;
25599 int res1 = 0 ;
25600 PyObject *swig_obj[1] ;
25601
25602 if (!args) SWIG_fail;
25603 swig_obj[0] = args;
25604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25605 if (!SWIG_IsOK(res1)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25607 }
25608 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25609 {
25610 PyThreadState* __tstate = wxPyBeginAllowThreads();
25611 delete arg1;
25612
25613 wxPyEndAllowThreads(__tstate);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 resultobj = SWIG_Py_Void();
25617 return resultobj;
25618fail:
25619 return NULL;
25620}
25621
25622
554f62e9
RD
25623SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25624 PyObject *resultobj = 0;
25625 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25626 wxPageSetupDialogData *result = 0 ;
25627 void *argp1 = 0 ;
25628 int res1 = 0 ;
25629 PyObject *swig_obj[1] ;
25630
25631 if (!args) SWIG_fail;
25632 swig_obj[0] = args;
25633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25634 if (!SWIG_IsOK(res1)) {
25635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25636 }
25637 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25638 {
25639 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25640 {
554f62e9
RD
25641 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25642 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 25643 }
554f62e9
RD
25644 wxPyEndAllowThreads(__tstate);
25645 if (PyErr_Occurred()) SWIG_fail;
25646 }
25647 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25648 return resultobj;
25649fail:
25650 return NULL;
d55e5bfc
RD
25651}
25652
25653
554f62e9
RD
25654SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25655 PyObject *resultobj = 0;
25656 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25657 wxPageSetupDialogData *result = 0 ;
25658 void *argp1 = 0 ;
25659 int res1 = 0 ;
25660 PyObject *swig_obj[1] ;
25661
25662 if (!args) SWIG_fail;
25663 swig_obj[0] = args;
25664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25665 if (!SWIG_IsOK(res1)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25667 }
25668 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25669 {
25670 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 25671 {
554f62e9
RD
25672 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25673 result = (wxPageSetupDialogData *) &_result_ref;
093d3ff1 25674 }
554f62e9
RD
25675 wxPyEndAllowThreads(__tstate);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 }
25678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25679 return resultobj;
25680fail:
25681 return NULL;
d55e5bfc
RD
25682}
25683
25684
554f62e9
RD
25685SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25686 PyObject *resultobj = 0;
25687 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25688 int result;
25689 void *argp1 = 0 ;
25690 int res1 = 0 ;
25691 PyObject *swig_obj[1] ;
25692
25693 if (!args) SWIG_fail;
25694 swig_obj[0] = args;
25695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25696 if (!SWIG_IsOK(res1)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25698 }
25699 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25700 {
25701 PyThreadState* __tstate = wxPyBeginAllowThreads();
25702 result = (int)(arg1)->ShowModal();
25703 wxPyEndAllowThreads(__tstate);
25704 if (PyErr_Occurred()) SWIG_fail;
25705 }
25706 resultobj = SWIG_From_int(static_cast< int >(result));
25707 return resultobj;
25708fail:
25709 return NULL;
d55e5bfc
RD
25710}
25711
25712
554f62e9
RD
25713SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25714 PyObject *obj;
25715 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25716 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25717 return SWIG_Py_Void();
d55e5bfc
RD
25718}
25719
554f62e9
RD
25720SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25721 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 25722}
554f62e9
RD
25723
25724SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25725 PyObject *resultobj = 0;
25726 wxPrintDialogData *result = 0 ;
25727
25728 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25729 {
25730 PyThreadState* __tstate = wxPyBeginAllowThreads();
25731 result = (wxPrintDialogData *)new wxPrintDialogData();
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
25735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25736 return resultobj;
25737fail:
25738 return NULL;
d55e5bfc
RD
25739}
25740
25741
554f62e9
RD
25742SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25743 PyObject *resultobj = 0;
25744 wxPrintData *arg1 = 0 ;
25745 wxPrintDialogData *result = 0 ;
25746 void *argp1 = 0 ;
25747 int res1 = 0 ;
25748
25749 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25751 if (!SWIG_IsOK(res1)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25753 }
25754 if (!argp1) {
25755 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25756 }
25757 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25758 {
25759 PyThreadState* __tstate = wxPyBeginAllowThreads();
25760 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25765 return resultobj;
25766fail:
25767 return NULL;
d55e5bfc
RD
25768}
25769
25770
554f62e9
RD
25771SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25772 PyObject *resultobj = 0;
25773 wxPrintDialogData *arg1 = 0 ;
25774 wxPrintDialogData *result = 0 ;
25775 void *argp1 = 0 ;
25776 int res1 = 0 ;
25777
25778 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25780 if (!SWIG_IsOK(res1)) {
25781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25782 }
25783 if (!argp1) {
25784 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25785 }
25786 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25787 {
25788 PyThreadState* __tstate = wxPyBeginAllowThreads();
25789 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25790 wxPyEndAllowThreads(__tstate);
25791 if (PyErr_Occurred()) SWIG_fail;
25792 }
25793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25794 return resultobj;
25795fail:
25796 return NULL;
d55e5bfc
RD
25797}
25798
25799
554f62e9
RD
25800SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25801 int argc;
25802 PyObject *argv[2];
25803
25804 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25805 --argc;
25806 if (argc == 0) {
25807 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25808 }
25809 if (argc == 1) {
25810 int _v = 0;
d55e5bfc 25811 {
554f62e9
RD
25812 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25813 _v = SWIG_CheckState(res);
d55e5bfc 25814 }
554f62e9
RD
25815 if (!_v) goto check_2;
25816 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25817 }
25818check_2:
25819
25820 if (argc == 1) {
25821 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25822 }
25823
25824fail:
25825 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25826 return NULL;
d55e5bfc
RD
25827}
25828
25829
554f62e9
RD
25830SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25831 PyObject *resultobj = 0;
25832 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25833 void *argp1 = 0 ;
25834 int res1 = 0 ;
25835 PyObject *swig_obj[1] ;
25836
25837 if (!args) SWIG_fail;
25838 swig_obj[0] = args;
25839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25840 if (!SWIG_IsOK(res1)) {
25841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25842 }
25843 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25844 {
25845 PyThreadState* __tstate = wxPyBeginAllowThreads();
25846 delete arg1;
d55e5bfc 25847
554f62e9
RD
25848 wxPyEndAllowThreads(__tstate);
25849 if (PyErr_Occurred()) SWIG_fail;
25850 }
25851 resultobj = SWIG_Py_Void();
25852 return resultobj;
25853fail:
25854 return NULL;
d55e5bfc
RD
25855}
25856
25857
554f62e9
RD
25858SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25859 PyObject *resultobj = 0;
25860 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25861 int result;
25862 void *argp1 = 0 ;
25863 int res1 = 0 ;
25864 PyObject *swig_obj[1] ;
25865
25866 if (!args) SWIG_fail;
25867 swig_obj[0] = args;
25868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25869 if (!SWIG_IsOK(res1)) {
25870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25871 }
25872 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25873 {
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25876 wxPyEndAllowThreads(__tstate);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 }
25879 resultobj = SWIG_From_int(static_cast< int >(result));
25880 return resultobj;
25881fail:
25882 return NULL;
d55e5bfc
RD
25883}
25884
25885
554f62e9
RD
25886SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(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_GetToPage" "', 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)->GetToPage();
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;
d55e5bfc
RD
25911}
25912
25913
554f62e9
RD
25914SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(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_GetMinPage" "', 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)->GetMinPage();
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;
d55e5bfc
RD
25939}
25940
25941
554f62e9
RD
25942SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(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_GetMaxPage" "', 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)->GetMaxPage();
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;
d55e5bfc
RD
25967}
25968
25969
554f62e9
RD
25970SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(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_GetNoCopies" "', 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)->GetNoCopies();
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;
d55e5bfc
RD
25995}
25996
25997
554f62e9
RD
25998SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25999 PyObject *resultobj = 0;
26000 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26001 bool 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_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26011 }
26012 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26013 {
26014 PyThreadState* __tstate = wxPyBeginAllowThreads();
26015 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26016 wxPyEndAllowThreads(__tstate);
26017 if (PyErr_Occurred()) SWIG_fail;
26018 }
26019 {
26020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26021 }
26022 return resultobj;
26023fail:
26024 return NULL;
d55e5bfc
RD
26025}
26026
26027
554f62e9
RD
26028SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26029 PyObject *resultobj = 0;
26030 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26031 bool result;
26032 void *argp1 = 0 ;
26033 int res1 = 0 ;
26034 PyObject *swig_obj[1] ;
26035
26036 if (!args) SWIG_fail;
26037 swig_obj[0] = args;
26038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26039 if (!SWIG_IsOK(res1)) {
26040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26041 }
26042 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26043 {
26044 PyThreadState* __tstate = wxPyBeginAllowThreads();
26045 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26046 wxPyEndAllowThreads(__tstate);
26047 if (PyErr_Occurred()) SWIG_fail;
26048 }
26049 {
26050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26051 }
26052 return resultobj;
26053fail:
26054 return NULL;
d55e5bfc
RD
26055}
26056
26057
554f62e9
RD
26058SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26059 PyObject *resultobj = 0;
26060 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26061 bool result;
26062 void *argp1 = 0 ;
26063 int res1 = 0 ;
26064 PyObject *swig_obj[1] ;
26065
26066 if (!args) SWIG_fail;
26067 swig_obj[0] = args;
26068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26069 if (!SWIG_IsOK(res1)) {
26070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26071 }
26072 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26073 {
26074 PyThreadState* __tstate = wxPyBeginAllowThreads();
26075 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26076 wxPyEndAllowThreads(__tstate);
26077 if (PyErr_Occurred()) SWIG_fail;
26078 }
26079 {
26080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26081 }
26082 return resultobj;
26083fail:
26084 return NULL;
d55e5bfc
RD
26085}
26086
26087
554f62e9
RD
26088SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26089 PyObject *resultobj = 0;
26090 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26091 bool result;
26092 void *argp1 = 0 ;
26093 int res1 = 0 ;
26094 PyObject *swig_obj[1] ;
26095
26096 if (!args) SWIG_fail;
26097 swig_obj[0] = args;
26098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26099 if (!SWIG_IsOK(res1)) {
26100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26101 }
26102 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26103 {
26104 PyThreadState* __tstate = wxPyBeginAllowThreads();
26105 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26106 wxPyEndAllowThreads(__tstate);
26107 if (PyErr_Occurred()) SWIG_fail;
26108 }
26109 {
26110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26111 }
26112 return resultobj;
26113fail:
26114 return NULL;
26115}
26116
26117
26118SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26119 PyObject *resultobj = 0;
26120 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26121 int arg2 ;
26122 void *argp1 = 0 ;
26123 int res1 = 0 ;
26124 int val2 ;
26125 int ecode2 = 0 ;
26126 PyObject * obj0 = 0 ;
26127 PyObject * obj1 = 0 ;
26128 char * kwnames[] = {
26129 (char *) "self",(char *) "v", NULL
26130 };
26131
26132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26134 if (!SWIG_IsOK(res1)) {
26135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26136 }
26137 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26138 ecode2 = SWIG_AsVal_int(obj1, &val2);
26139 if (!SWIG_IsOK(ecode2)) {
26140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26141 }
26142 arg2 = static_cast< int >(val2);
26143 {
26144 PyThreadState* __tstate = wxPyBeginAllowThreads();
26145 (arg1)->SetFromPage(arg2);
26146 wxPyEndAllowThreads(__tstate);
26147 if (PyErr_Occurred()) SWIG_fail;
26148 }
26149 resultobj = SWIG_Py_Void();
26150 return resultobj;
26151fail:
26152 return NULL;
26153}
26154
26155
26156SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26157 PyObject *resultobj = 0;
26158 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26159 int arg2 ;
26160 void *argp1 = 0 ;
26161 int res1 = 0 ;
26162 int val2 ;
26163 int ecode2 = 0 ;
26164 PyObject * obj0 = 0 ;
26165 PyObject * obj1 = 0 ;
26166 char * kwnames[] = {
26167 (char *) "self",(char *) "v", NULL
26168 };
26169
26170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26172 if (!SWIG_IsOK(res1)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26174 }
26175 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26176 ecode2 = SWIG_AsVal_int(obj1, &val2);
26177 if (!SWIG_IsOK(ecode2)) {
26178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26179 }
26180 arg2 = static_cast< int >(val2);
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 (arg1)->SetToPage(arg2);
26184 wxPyEndAllowThreads(__tstate);
26185 if (PyErr_Occurred()) SWIG_fail;
26186 }
26187 resultobj = SWIG_Py_Void();
26188 return resultobj;
26189fail:
26190 return NULL;
26191}
26192
26193
26194SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26195 PyObject *resultobj = 0;
26196 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26197 int arg2 ;
26198 void *argp1 = 0 ;
26199 int res1 = 0 ;
26200 int val2 ;
26201 int ecode2 = 0 ;
26202 PyObject * obj0 = 0 ;
26203 PyObject * obj1 = 0 ;
26204 char * kwnames[] = {
26205 (char *) "self",(char *) "v", NULL
26206 };
26207
26208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26210 if (!SWIG_IsOK(res1)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26212 }
26213 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26214 ecode2 = SWIG_AsVal_int(obj1, &val2);
26215 if (!SWIG_IsOK(ecode2)) {
26216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26217 }
26218 arg2 = static_cast< int >(val2);
26219 {
26220 PyThreadState* __tstate = wxPyBeginAllowThreads();
26221 (arg1)->SetMinPage(arg2);
26222 wxPyEndAllowThreads(__tstate);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 resultobj = SWIG_Py_Void();
26226 return resultobj;
26227fail:
26228 return NULL;
26229}
26230
26231
26232SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26233 PyObject *resultobj = 0;
26234 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26235 int arg2 ;
26236 void *argp1 = 0 ;
26237 int res1 = 0 ;
26238 int val2 ;
26239 int ecode2 = 0 ;
26240 PyObject * obj0 = 0 ;
26241 PyObject * obj1 = 0 ;
26242 char * kwnames[] = {
26243 (char *) "self",(char *) "v", NULL
26244 };
26245
26246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26248 if (!SWIG_IsOK(res1)) {
26249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26250 }
26251 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26252 ecode2 = SWIG_AsVal_int(obj1, &val2);
26253 if (!SWIG_IsOK(ecode2)) {
26254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26255 }
26256 arg2 = static_cast< int >(val2);
26257 {
26258 PyThreadState* __tstate = wxPyBeginAllowThreads();
26259 (arg1)->SetMaxPage(arg2);
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 resultobj = SWIG_Py_Void();
26264 return resultobj;
26265fail:
26266 return NULL;
26267}
26268
26269
26270SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26271 PyObject *resultobj = 0;
26272 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26273 int arg2 ;
26274 void *argp1 = 0 ;
26275 int res1 = 0 ;
26276 int val2 ;
26277 int ecode2 = 0 ;
26278 PyObject * obj0 = 0 ;
26279 PyObject * obj1 = 0 ;
26280 char * kwnames[] = {
26281 (char *) "self",(char *) "v", NULL
26282 };
26283
26284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26286 if (!SWIG_IsOK(res1)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26288 }
26289 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26290 ecode2 = SWIG_AsVal_int(obj1, &val2);
26291 if (!SWIG_IsOK(ecode2)) {
26292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26293 }
26294 arg2 = static_cast< int >(val2);
26295 {
26296 PyThreadState* __tstate = wxPyBeginAllowThreads();
26297 (arg1)->SetNoCopies(arg2);
26298 wxPyEndAllowThreads(__tstate);
26299 if (PyErr_Occurred()) SWIG_fail;
26300 }
26301 resultobj = SWIG_Py_Void();
26302 return resultobj;
26303fail:
26304 return NULL;
26305}
26306
26307
26308SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26309 PyObject *resultobj = 0;
26310 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26311 bool arg2 ;
26312 void *argp1 = 0 ;
26313 int res1 = 0 ;
26314 bool val2 ;
26315 int ecode2 = 0 ;
26316 PyObject * obj0 = 0 ;
26317 PyObject * obj1 = 0 ;
26318 char * kwnames[] = {
26319 (char *) "self",(char *) "flag", NULL
26320 };
26321
26322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26324 if (!SWIG_IsOK(res1)) {
26325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26326 }
26327 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26328 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26329 if (!SWIG_IsOK(ecode2)) {
26330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26331 }
26332 arg2 = static_cast< bool >(val2);
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
26335 (arg1)->SetAllPages(arg2);
26336 wxPyEndAllowThreads(__tstate);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
26339 resultobj = SWIG_Py_Void();
26340 return resultobj;
26341fail:
26342 return NULL;
26343}
26344
26345
26346SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26347 PyObject *resultobj = 0;
26348 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26349 bool arg2 ;
26350 void *argp1 = 0 ;
26351 int res1 = 0 ;
26352 bool val2 ;
26353 int ecode2 = 0 ;
26354 PyObject * obj0 = 0 ;
26355 PyObject * obj1 = 0 ;
26356 char * kwnames[] = {
26357 (char *) "self",(char *) "flag", NULL
26358 };
26359
26360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26362 if (!SWIG_IsOK(res1)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26364 }
26365 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26366 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26367 if (!SWIG_IsOK(ecode2)) {
26368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26369 }
26370 arg2 = static_cast< bool >(val2);
26371 {
26372 PyThreadState* __tstate = wxPyBeginAllowThreads();
26373 (arg1)->SetSelection(arg2);
26374 wxPyEndAllowThreads(__tstate);
26375 if (PyErr_Occurred()) SWIG_fail;
26376 }
26377 resultobj = SWIG_Py_Void();
26378 return resultobj;
26379fail:
26380 return NULL;
26381}
26382
26383
26384SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26385 PyObject *resultobj = 0;
26386 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26387 bool arg2 ;
26388 void *argp1 = 0 ;
26389 int res1 = 0 ;
26390 bool val2 ;
26391 int ecode2 = 0 ;
26392 PyObject * obj0 = 0 ;
26393 PyObject * obj1 = 0 ;
26394 char * kwnames[] = {
26395 (char *) "self",(char *) "flag", NULL
26396 };
26397
26398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26400 if (!SWIG_IsOK(res1)) {
26401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26402 }
26403 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26404 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26405 if (!SWIG_IsOK(ecode2)) {
26406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26407 }
26408 arg2 = static_cast< bool >(val2);
26409 {
26410 PyThreadState* __tstate = wxPyBeginAllowThreads();
26411 (arg1)->SetCollate(arg2);
26412 wxPyEndAllowThreads(__tstate);
26413 if (PyErr_Occurred()) SWIG_fail;
26414 }
26415 resultobj = SWIG_Py_Void();
26416 return resultobj;
26417fail:
26418 return NULL;
26419}
26420
26421
26422SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26423 PyObject *resultobj = 0;
26424 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26425 bool arg2 ;
26426 void *argp1 = 0 ;
26427 int res1 = 0 ;
26428 bool val2 ;
26429 int ecode2 = 0 ;
26430 PyObject * obj0 = 0 ;
26431 PyObject * obj1 = 0 ;
26432 char * kwnames[] = {
26433 (char *) "self",(char *) "flag", NULL
26434 };
26435
26436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26438 if (!SWIG_IsOK(res1)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26440 }
26441 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26442 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26443 if (!SWIG_IsOK(ecode2)) {
26444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26445 }
26446 arg2 = static_cast< bool >(val2);
26447 {
26448 PyThreadState* __tstate = wxPyBeginAllowThreads();
26449 (arg1)->SetPrintToFile(arg2);
26450 wxPyEndAllowThreads(__tstate);
26451 if (PyErr_Occurred()) SWIG_fail;
26452 }
26453 resultobj = SWIG_Py_Void();
26454 return resultobj;
26455fail:
26456 return NULL;
26457}
26458
26459
26460SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26461 PyObject *resultobj = 0;
26462 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26463 bool arg2 ;
26464 void *argp1 = 0 ;
26465 int res1 = 0 ;
26466 bool val2 ;
26467 int ecode2 = 0 ;
26468 PyObject * obj0 = 0 ;
26469 PyObject * obj1 = 0 ;
26470 char * kwnames[] = {
26471 (char *) "self",(char *) "flag", NULL
26472 };
26473
26474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26476 if (!SWIG_IsOK(res1)) {
26477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26478 }
26479 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26480 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26481 if (!SWIG_IsOK(ecode2)) {
26482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26483 }
26484 arg2 = static_cast< bool >(val2);
26485 {
26486 PyThreadState* __tstate = wxPyBeginAllowThreads();
26487 (arg1)->EnablePrintToFile(arg2);
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
26491 resultobj = SWIG_Py_Void();
26492 return resultobj;
26493fail:
26494 return NULL;
26495}
26496
26497
26498SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26499 PyObject *resultobj = 0;
26500 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26501 bool arg2 ;
26502 void *argp1 = 0 ;
26503 int res1 = 0 ;
26504 bool val2 ;
26505 int ecode2 = 0 ;
26506 PyObject * obj0 = 0 ;
26507 PyObject * obj1 = 0 ;
26508 char * kwnames[] = {
26509 (char *) "self",(char *) "flag", NULL
26510 };
26511
26512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26514 if (!SWIG_IsOK(res1)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26516 }
26517 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26518 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26519 if (!SWIG_IsOK(ecode2)) {
26520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26521 }
26522 arg2 = static_cast< bool >(val2);
26523 {
26524 PyThreadState* __tstate = wxPyBeginAllowThreads();
26525 (arg1)->EnableSelection(arg2);
26526 wxPyEndAllowThreads(__tstate);
26527 if (PyErr_Occurred()) SWIG_fail;
26528 }
26529 resultobj = SWIG_Py_Void();
26530 return resultobj;
26531fail:
26532 return NULL;
26533}
26534
26535
26536SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26537 PyObject *resultobj = 0;
26538 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26539 bool arg2 ;
26540 void *argp1 = 0 ;
26541 int res1 = 0 ;
26542 bool val2 ;
26543 int ecode2 = 0 ;
26544 PyObject * obj0 = 0 ;
26545 PyObject * obj1 = 0 ;
26546 char * kwnames[] = {
26547 (char *) "self",(char *) "flag", NULL
26548 };
26549
26550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26552 if (!SWIG_IsOK(res1)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26554 }
26555 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26556 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26557 if (!SWIG_IsOK(ecode2)) {
26558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26559 }
26560 arg2 = static_cast< bool >(val2);
26561 {
26562 PyThreadState* __tstate = wxPyBeginAllowThreads();
26563 (arg1)->EnablePageNumbers(arg2);
26564 wxPyEndAllowThreads(__tstate);
26565 if (PyErr_Occurred()) SWIG_fail;
26566 }
26567 resultobj = SWIG_Py_Void();
26568 return resultobj;
26569fail:
26570 return NULL;
26571}
26572
26573
26574SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26575 PyObject *resultobj = 0;
26576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26577 bool arg2 ;
26578 void *argp1 = 0 ;
26579 int res1 = 0 ;
26580 bool val2 ;
26581 int ecode2 = 0 ;
26582 PyObject * obj0 = 0 ;
26583 PyObject * obj1 = 0 ;
26584 char * kwnames[] = {
26585 (char *) "self",(char *) "flag", NULL
26586 };
26587
26588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26590 if (!SWIG_IsOK(res1)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26592 }
26593 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26594 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26595 if (!SWIG_IsOK(ecode2)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26597 }
26598 arg2 = static_cast< bool >(val2);
26599 {
26600 PyThreadState* __tstate = wxPyBeginAllowThreads();
26601 (arg1)->EnableHelp(arg2);
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 resultobj = SWIG_Py_Void();
26606 return resultobj;
26607fail:
26608 return NULL;
d55e5bfc
RD
26609}
26610
26611
554f62e9
RD
26612SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26613 PyObject *resultobj = 0;
26614 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26615 bool result;
26616 void *argp1 = 0 ;
26617 int res1 = 0 ;
26618 PyObject *swig_obj[1] ;
26619
26620 if (!args) SWIG_fail;
26621 swig_obj[0] = args;
26622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26623 if (!SWIG_IsOK(res1)) {
26624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26625 }
26626 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26627 {
26628 PyThreadState* __tstate = wxPyBeginAllowThreads();
26629 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26630 wxPyEndAllowThreads(__tstate);
26631 if (PyErr_Occurred()) SWIG_fail;
26632 }
26633 {
26634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26635 }
26636 return resultobj;
26637fail:
26638 return NULL;
d55e5bfc
RD
26639}
26640
26641
554f62e9
RD
26642SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26643 PyObject *resultobj = 0;
26644 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26645 bool result;
26646 void *argp1 = 0 ;
26647 int res1 = 0 ;
26648 PyObject *swig_obj[1] ;
26649
26650 if (!args) SWIG_fail;
26651 swig_obj[0] = args;
26652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26653 if (!SWIG_IsOK(res1)) {
26654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26655 }
26656 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26657 {
26658 PyThreadState* __tstate = wxPyBeginAllowThreads();
26659 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26660 wxPyEndAllowThreads(__tstate);
26661 if (PyErr_Occurred()) SWIG_fail;
26662 }
26663 {
26664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26665 }
26666 return resultobj;
26667fail:
26668 return NULL;
d55e5bfc
RD
26669}
26670
26671
554f62e9
RD
26672SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26673 PyObject *resultobj = 0;
26674 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26675 bool result;
26676 void *argp1 = 0 ;
26677 int res1 = 0 ;
26678 PyObject *swig_obj[1] ;
26679
26680 if (!args) SWIG_fail;
26681 swig_obj[0] = args;
26682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26683 if (!SWIG_IsOK(res1)) {
26684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26685 }
26686 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26687 {
26688 PyThreadState* __tstate = wxPyBeginAllowThreads();
26689 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26690 wxPyEndAllowThreads(__tstate);
26691 if (PyErr_Occurred()) SWIG_fail;
26692 }
26693 {
26694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26695 }
26696 return resultobj;
26697fail:
26698 return NULL;
d55e5bfc
RD
26699}
26700
26701
554f62e9
RD
26702SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26703 PyObject *resultobj = 0;
26704 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26705 bool result;
26706 void *argp1 = 0 ;
26707 int res1 = 0 ;
26708 PyObject *swig_obj[1] ;
26709
26710 if (!args) SWIG_fail;
26711 swig_obj[0] = args;
26712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26713 if (!SWIG_IsOK(res1)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26715 }
26716 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26717 {
26718 PyThreadState* __tstate = wxPyBeginAllowThreads();
26719 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26720 wxPyEndAllowThreads(__tstate);
26721 if (PyErr_Occurred()) SWIG_fail;
26722 }
26723 {
26724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26725 }
26726 return resultobj;
26727fail:
26728 return NULL;
d55e5bfc
RD
26729}
26730
26731
554f62e9
RD
26732SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26733 PyObject *resultobj = 0;
26734 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26735 bool result;
26736 void *argp1 = 0 ;
26737 int res1 = 0 ;
26738 PyObject *swig_obj[1] ;
26739
26740 if (!args) SWIG_fail;
26741 swig_obj[0] = args;
26742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26743 if (!SWIG_IsOK(res1)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26745 }
26746 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26747 {
26748 PyThreadState* __tstate = wxPyBeginAllowThreads();
26749 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26750 wxPyEndAllowThreads(__tstate);
26751 if (PyErr_Occurred()) SWIG_fail;
26752 }
26753 {
26754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26755 }
26756 return resultobj;
26757fail:
26758 return NULL;
d55e5bfc
RD
26759}
26760
26761
554f62e9
RD
26762SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26763 PyObject *resultobj = 0;
26764 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26765 wxPrintData *result = 0 ;
26766 void *argp1 = 0 ;
26767 int res1 = 0 ;
26768 PyObject *swig_obj[1] ;
26769
26770 if (!args) SWIG_fail;
26771 swig_obj[0] = args;
26772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26773 if (!SWIG_IsOK(res1)) {
26774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26775 }
26776 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26777 {
26778 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26779 {
554f62e9
RD
26780 wxPrintData &_result_ref = (arg1)->GetPrintData();
26781 result = (wxPrintData *) &_result_ref;
26782 }
26783 wxPyEndAllowThreads(__tstate);
26784 if (PyErr_Occurred()) SWIG_fail;
26785 }
26786 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26787 return resultobj;
26788fail:
26789 return NULL;
26790}
26791
26792
26793SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26794 PyObject *resultobj = 0;
26795 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26796 wxPrintData *arg2 = 0 ;
26797 void *argp1 = 0 ;
26798 int res1 = 0 ;
26799 void *argp2 = 0 ;
26800 int res2 = 0 ;
26801 PyObject * obj0 = 0 ;
26802 PyObject * obj1 = 0 ;
26803 char * kwnames[] = {
26804 (char *) "self",(char *) "printData", NULL
26805 };
26806
26807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26809 if (!SWIG_IsOK(res1)) {
26810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26811 }
26812 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26813 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26814 if (!SWIG_IsOK(res2)) {
26815 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26816 }
26817 if (!argp2) {
26818 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26819 }
26820 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26821 {
26822 PyThreadState* __tstate = wxPyBeginAllowThreads();
26823 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 resultobj = SWIG_Py_Void();
26828 return resultobj;
26829fail:
26830 return NULL;
d55e5bfc
RD
26831}
26832
26833
554f62e9
RD
26834SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26835 PyObject *obj;
26836 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26837 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26838 return SWIG_Py_Void();
d55e5bfc
RD
26839}
26840
554f62e9
RD
26841SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26842 return SWIG_Python_InitShadowInstance(args);
26843}
d55e5bfc 26844
554f62e9
RD
26845SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26846 PyObject *resultobj = 0;
26847 wxWindow *arg1 = (wxWindow *) 0 ;
26848 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26849 wxPrintDialog *result = 0 ;
26850 void *argp1 = 0 ;
26851 int res1 = 0 ;
26852 void *argp2 = 0 ;
26853 int res2 = 0 ;
26854 PyObject * obj0 = 0 ;
26855 PyObject * obj1 = 0 ;
26856 char * kwnames[] = {
26857 (char *) "parent",(char *) "data", NULL
26858 };
26859
26860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26862 if (!SWIG_IsOK(res1)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26864 }
26865 arg1 = reinterpret_cast< wxWindow * >(argp1);
26866 if (obj1) {
26867 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26868 if (!SWIG_IsOK(res2)) {
26869 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 26870 }
554f62e9
RD
26871 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26872 }
26873 {
26874 if (!wxPyCheckForApp()) SWIG_fail;
26875 PyThreadState* __tstate = wxPyBeginAllowThreads();
26876 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26877 wxPyEndAllowThreads(__tstate);
26878 if (PyErr_Occurred()) SWIG_fail;
26879 }
26880 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26881 return resultobj;
26882fail:
26883 return NULL;
d55e5bfc
RD
26884}
26885
26886
f05326ba
RD
26887SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26888 PyObject *resultobj = 0;
26889 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26890 void *argp1 = 0 ;
26891 int res1 = 0 ;
26892 PyObject *swig_obj[1] ;
26893
26894 if (!args) SWIG_fail;
26895 swig_obj[0] = args;
26896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26897 if (!SWIG_IsOK(res1)) {
26898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26899 }
26900 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26901 {
26902 PyThreadState* __tstate = wxPyBeginAllowThreads();
26903 delete arg1;
26904
26905 wxPyEndAllowThreads(__tstate);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
26908 resultobj = SWIG_Py_Void();
26909 return resultobj;
26910fail:
26911 return NULL;
26912}
26913
26914
554f62e9
RD
26915SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26916 PyObject *resultobj = 0;
26917 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26918 int result;
26919 void *argp1 = 0 ;
26920 int res1 = 0 ;
26921 PyObject *swig_obj[1] ;
26922
26923 if (!args) SWIG_fail;
26924 swig_obj[0] = args;
26925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26926 if (!SWIG_IsOK(res1)) {
26927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26928 }
26929 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26930 {
26931 PyThreadState* __tstate = wxPyBeginAllowThreads();
26932 result = (int)(arg1)->ShowModal();
26933 wxPyEndAllowThreads(__tstate);
26934 if (PyErr_Occurred()) SWIG_fail;
26935 }
26936 resultobj = SWIG_From_int(static_cast< int >(result));
26937 return resultobj;
26938fail:
26939 return NULL;
d55e5bfc
RD
26940}
26941
26942
554f62e9
RD
26943SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26944 PyObject *resultobj = 0;
26945 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26946 wxPrintDialogData *result = 0 ;
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_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26956 }
26957 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26960 {
554f62e9
RD
26961 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26962 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 26963 }
554f62e9
RD
26964 wxPyEndAllowThreads(__tstate);
26965 if (PyErr_Occurred()) SWIG_fail;
26966 }
26967 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26968 return resultobj;
26969fail:
26970 return NULL;
26971}
26972
26973
26974SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26975 PyObject *resultobj = 0;
26976 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26977 wxPrintData *result = 0 ;
26978 void *argp1 = 0 ;
26979 int res1 = 0 ;
26980 PyObject *swig_obj[1] ;
26981
26982 if (!args) SWIG_fail;
26983 swig_obj[0] = args;
26984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26985 if (!SWIG_IsOK(res1)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26987 }
26988 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26989 {
26990 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26991 {
554f62e9
RD
26992 wxPrintData &_result_ref = (arg1)->GetPrintData();
26993 result = (wxPrintData *) &_result_ref;
d55e5bfc 26994 }
554f62e9
RD
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26999 return resultobj;
27000fail:
27001 return NULL;
d55e5bfc
RD
27002}
27003
27004
554f62e9
RD
27005SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27006 PyObject *resultobj = 0;
27007 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27008 wxDC *result = 0 ;
27009 void *argp1 = 0 ;
27010 int res1 = 0 ;
27011 PyObject *swig_obj[1] ;
27012
27013 if (!args) SWIG_fail;
27014 swig_obj[0] = args;
27015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27016 if (!SWIG_IsOK(res1)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27018 }
27019 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
27022 result = (wxDC *)(arg1)->GetPrintDC();
27023 wxPyEndAllowThreads(__tstate);
27024 if (PyErr_Occurred()) SWIG_fail;
27025 }
27026 {
27027 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27028 }
27029 return resultobj;
27030fail:
27031 return NULL;
d55e5bfc
RD
27032}
27033
27034
554f62e9
RD
27035SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27036 PyObject *obj;
27037 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27038 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27039 return SWIG_Py_Void();
d55e5bfc
RD
27040}
27041
554f62e9
RD
27042SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27043 return SWIG_Python_InitShadowInstance(args);
27044}
d55e5bfc 27045
554f62e9
RD
27046SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27047 PyObject *resultobj = 0;
27048 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27049 wxPrinter *result = 0 ;
27050 void *argp1 = 0 ;
27051 int res1 = 0 ;
27052 PyObject * obj0 = 0 ;
27053 char * kwnames[] = {
27054 (char *) "data", NULL
27055 };
27056
27057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27058 if (obj0) {
27059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27060 if (!SWIG_IsOK(res1)) {
27061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
396fb509 27062 }
554f62e9
RD
27063 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27064 }
27065 {
27066 if (!wxPyCheckForApp()) SWIG_fail;
27067 PyThreadState* __tstate = wxPyBeginAllowThreads();
27068 result = (wxPrinter *)new wxPrinter(arg1);
27069 wxPyEndAllowThreads(__tstate);
27070 if (PyErr_Occurred()) SWIG_fail;
27071 }
27072 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27073 return resultobj;
27074fail:
27075 return NULL;
d55e5bfc
RD
27076}
27077
27078
554f62e9
RD
27079SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27080 PyObject *resultobj = 0;
27081 wxPrinter *arg1 = (wxPrinter *) 0 ;
27082 void *argp1 = 0 ;
27083 int res1 = 0 ;
27084 PyObject *swig_obj[1] ;
27085
27086 if (!args) SWIG_fail;
27087 swig_obj[0] = args;
27088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27089 if (!SWIG_IsOK(res1)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27091 }
27092 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27093 {
27094 PyThreadState* __tstate = wxPyBeginAllowThreads();
27095 delete arg1;
d55e5bfc 27096
554f62e9
RD
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 resultobj = SWIG_Py_Void();
27101 return resultobj;
27102fail:
27103 return NULL;
27104}
27105
27106
27107SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27108 PyObject *resultobj = 0;
27109 wxPrinter *arg1 = (wxPrinter *) 0 ;
27110 wxWindow *arg2 = (wxWindow *) 0 ;
27111 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27112 wxWindow *result = 0 ;
27113 void *argp1 = 0 ;
27114 int res1 = 0 ;
27115 void *argp2 = 0 ;
27116 int res2 = 0 ;
27117 void *argp3 = 0 ;
27118 int res3 = 0 ;
27119 PyObject * obj0 = 0 ;
27120 PyObject * obj1 = 0 ;
27121 PyObject * obj2 = 0 ;
27122 char * kwnames[] = {
27123 (char *) "self",(char *) "parent",(char *) "printout", NULL
27124 };
27125
27126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27128 if (!SWIG_IsOK(res1)) {
27129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27130 }
27131 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27132 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27133 if (!SWIG_IsOK(res2)) {
27134 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27135 }
27136 arg2 = reinterpret_cast< wxWindow * >(argp2);
27137 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27138 if (!SWIG_IsOK(res3)) {
27139 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27140 }
27141 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27142 {
27143 PyThreadState* __tstate = wxPyBeginAllowThreads();
27144 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27145 wxPyEndAllowThreads(__tstate);
27146 if (PyErr_Occurred()) SWIG_fail;
27147 }
27148 {
27149 resultobj = wxPyMake_wxObject(result, 0);
27150 }
27151 return resultobj;
27152fail:
27153 return NULL;
27154}
27155
27156
27157SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27158 PyObject *resultobj = 0;
27159 wxPrinter *arg1 = (wxPrinter *) 0 ;
27160 wxWindow *arg2 = (wxWindow *) 0 ;
27161 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27162 wxString *arg4 = 0 ;
27163 void *argp1 = 0 ;
27164 int res1 = 0 ;
27165 void *argp2 = 0 ;
27166 int res2 = 0 ;
27167 void *argp3 = 0 ;
27168 int res3 = 0 ;
27169 bool temp4 = false ;
27170 PyObject * obj0 = 0 ;
27171 PyObject * obj1 = 0 ;
27172 PyObject * obj2 = 0 ;
27173 PyObject * obj3 = 0 ;
27174 char * kwnames[] = {
27175 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27176 };
27177
27178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27180 if (!SWIG_IsOK(res1)) {
27181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27182 }
27183 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27185 if (!SWIG_IsOK(res2)) {
27186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27187 }
27188 arg2 = reinterpret_cast< wxWindow * >(argp2);
27189 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27190 if (!SWIG_IsOK(res3)) {
27191 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27192 }
27193 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27194 {
27195 arg4 = wxString_in_helper(obj3);
27196 if (arg4 == NULL) SWIG_fail;
27197 temp4 = true;
27198 }
27199 {
27200 PyThreadState* __tstate = wxPyBeginAllowThreads();
27201 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27202 wxPyEndAllowThreads(__tstate);
27203 if (PyErr_Occurred()) SWIG_fail;
27204 }
27205 resultobj = SWIG_Py_Void();
27206 {
27207 if (temp4)
27208 delete arg4;
27209 }
27210 return resultobj;
27211fail:
27212 {
27213 if (temp4)
27214 delete arg4;
27215 }
27216 return NULL;
27217}
27218
27219
27220SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27221 PyObject *resultobj = 0;
27222 wxPrinter *arg1 = (wxPrinter *) 0 ;
27223 wxWindow *arg2 = (wxWindow *) 0 ;
27224 bool result;
27225 void *argp1 = 0 ;
27226 int res1 = 0 ;
27227 void *argp2 = 0 ;
27228 int res2 = 0 ;
27229 PyObject * obj0 = 0 ;
27230 PyObject * obj1 = 0 ;
27231 char * kwnames[] = {
27232 (char *) "self",(char *) "parent", NULL
27233 };
27234
27235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27237 if (!SWIG_IsOK(res1)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27239 }
27240 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27241 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27242 if (!SWIG_IsOK(res2)) {
27243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27244 }
27245 arg2 = reinterpret_cast< wxWindow * >(argp2);
27246 {
27247 PyThreadState* __tstate = wxPyBeginAllowThreads();
27248 result = (bool)(arg1)->Setup(arg2);
27249 wxPyEndAllowThreads(__tstate);
27250 if (PyErr_Occurred()) SWIG_fail;
27251 }
27252 {
27253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27254 }
27255 return resultobj;
27256fail:
27257 return NULL;
27258}
27259
27260
27261SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27262 PyObject *resultobj = 0;
27263 wxPrinter *arg1 = (wxPrinter *) 0 ;
27264 wxWindow *arg2 = (wxWindow *) 0 ;
27265 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27266 bool arg4 = (bool) true ;
27267 bool result;
27268 void *argp1 = 0 ;
27269 int res1 = 0 ;
27270 void *argp2 = 0 ;
27271 int res2 = 0 ;
27272 void *argp3 = 0 ;
27273 int res3 = 0 ;
27274 bool val4 ;
27275 int ecode4 = 0 ;
27276 PyObject * obj0 = 0 ;
27277 PyObject * obj1 = 0 ;
27278 PyObject * obj2 = 0 ;
27279 PyObject * obj3 = 0 ;
27280 char * kwnames[] = {
27281 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27282 };
27283
27284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27286 if (!SWIG_IsOK(res1)) {
27287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27288 }
27289 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27290 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27291 if (!SWIG_IsOK(res2)) {
27292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27293 }
27294 arg2 = reinterpret_cast< wxWindow * >(argp2);
27295 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27296 if (!SWIG_IsOK(res3)) {
27297 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27298 }
27299 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27300 if (obj3) {
27301 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27302 if (!SWIG_IsOK(ecode4)) {
27303 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27304 }
27305 arg4 = static_cast< bool >(val4);
27306 }
27307 {
27308 PyThreadState* __tstate = wxPyBeginAllowThreads();
27309 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27310 wxPyEndAllowThreads(__tstate);
27311 if (PyErr_Occurred()) SWIG_fail;
27312 }
27313 {
27314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27315 }
27316 return resultobj;
27317fail:
27318 return NULL;
27319}
27320
27321
27322SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27323 PyObject *resultobj = 0;
27324 wxPrinter *arg1 = (wxPrinter *) 0 ;
27325 wxWindow *arg2 = (wxWindow *) 0 ;
27326 wxDC *result = 0 ;
27327 void *argp1 = 0 ;
27328 int res1 = 0 ;
27329 void *argp2 = 0 ;
27330 int res2 = 0 ;
27331 PyObject * obj0 = 0 ;
27332 PyObject * obj1 = 0 ;
27333 char * kwnames[] = {
27334 (char *) "self",(char *) "parent", NULL
27335 };
27336
27337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27339 if (!SWIG_IsOK(res1)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27341 }
27342 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27343 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27344 if (!SWIG_IsOK(res2)) {
27345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27346 }
27347 arg2 = reinterpret_cast< wxWindow * >(argp2);
27348 {
27349 PyThreadState* __tstate = wxPyBeginAllowThreads();
27350 result = (wxDC *)(arg1)->PrintDialog(arg2);
27351 wxPyEndAllowThreads(__tstate);
27352 if (PyErr_Occurred()) SWIG_fail;
27353 }
27354 {
27355 resultobj = wxPyMake_wxObject(result, (bool)0);
27356 }
27357 return resultobj;
27358fail:
27359 return NULL;
d55e5bfc
RD
27360}
27361
27362
554f62e9
RD
27363SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27364 PyObject *resultobj = 0;
27365 wxPrinter *arg1 = (wxPrinter *) 0 ;
27366 wxPrintDialogData *result = 0 ;
27367 void *argp1 = 0 ;
27368 int res1 = 0 ;
27369 PyObject *swig_obj[1] ;
27370
27371 if (!args) SWIG_fail;
27372 swig_obj[0] = args;
27373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27374 if (!SWIG_IsOK(res1)) {
27375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27376 }
27377 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27378 {
27379 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27380 {
554f62e9
RD
27381 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27382 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27383 }
554f62e9
RD
27384 wxPyEndAllowThreads(__tstate);
27385 if (PyErr_Occurred()) SWIG_fail;
27386 }
27387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27388 return resultobj;
27389fail:
27390 return NULL;
d55e5bfc
RD
27391}
27392
27393
554f62e9
RD
27394SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27395 PyObject *resultobj = 0;
27396 wxPrinter *arg1 = (wxPrinter *) 0 ;
27397 bool result;
27398 void *argp1 = 0 ;
27399 int res1 = 0 ;
27400 PyObject *swig_obj[1] ;
27401
27402 if (!args) SWIG_fail;
27403 swig_obj[0] = args;
27404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27405 if (!SWIG_IsOK(res1)) {
27406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27407 }
27408 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27409 {
27410 PyThreadState* __tstate = wxPyBeginAllowThreads();
27411 result = (bool)(arg1)->GetAbort();
27412 wxPyEndAllowThreads(__tstate);
27413 if (PyErr_Occurred()) SWIG_fail;
27414 }
27415 {
27416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27417 }
27418 return resultobj;
27419fail:
27420 return NULL;
d55e5bfc
RD
27421}
27422
27423
554f62e9
RD
27424SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27425 PyObject *resultobj = 0;
27426 wxPrinterError result;
27427
27428 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27429 {
27430 PyThreadState* __tstate = wxPyBeginAllowThreads();
27431 result = (wxPrinterError)wxPrinter::GetLastError();
27432 wxPyEndAllowThreads(__tstate);
27433 if (PyErr_Occurred()) SWIG_fail;
27434 }
27435 resultobj = SWIG_From_int(static_cast< int >(result));
27436 return resultobj;
27437fail:
27438 return NULL;
d55e5bfc
RD
27439}
27440
27441
554f62e9
RD
27442SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27443 PyObject *obj;
27444 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27445 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27446 return SWIG_Py_Void();
d55e5bfc
RD
27447}
27448
554f62e9
RD
27449SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27450 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27451}
27452
554f62e9
RD
27453SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27454 PyObject *resultobj = 0;
27455 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27456 wxString *arg1 = (wxString *) &arg1_defvalue ;
27457 wxPyPrintout *result = 0 ;
27458 bool temp1 = false ;
27459 PyObject * obj0 = 0 ;
27460 char * kwnames[] = {
27461 (char *) "title", NULL
27462 };
27463
27464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27465 if (obj0) {
d55e5bfc 27466 {
554f62e9
RD
27467 arg1 = wxString_in_helper(obj0);
27468 if (arg1 == NULL) SWIG_fail;
27469 temp1 = true;
27470 }
27471 }
27472 {
27473 if (!wxPyCheckForApp()) SWIG_fail;
27474 PyThreadState* __tstate = wxPyBeginAllowThreads();
27475 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27476 wxPyEndAllowThreads(__tstate);
27477 if (PyErr_Occurred()) SWIG_fail;
27478 }
27479 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27480 {
27481 if (temp1)
27482 delete arg1;
27483 }
27484 return resultobj;
27485fail:
27486 {
27487 if (temp1)
27488 delete arg1;
27489 }
27490 return NULL;
d55e5bfc
RD
27491}
27492
27493
554f62e9
RD
27494SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27495 PyObject *resultobj = 0;
27496 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27497 void *argp1 = 0 ;
27498 int res1 = 0 ;
27499 PyObject *swig_obj[1] ;
27500
27501 if (!args) SWIG_fail;
27502 swig_obj[0] = args;
27503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27504 if (!SWIG_IsOK(res1)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27506 }
27507 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 delete arg1;
d55e5bfc 27511
554f62e9
RD
27512 wxPyEndAllowThreads(__tstate);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 resultobj = SWIG_Py_Void();
27516 return resultobj;
27517fail:
27518 return NULL;
27519}
27520
27521
27522SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27523 PyObject *resultobj = 0;
27524 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27525 PyObject *arg2 = (PyObject *) 0 ;
27526 PyObject *arg3 = (PyObject *) 0 ;
27527 void *argp1 = 0 ;
27528 int res1 = 0 ;
27529 PyObject * obj0 = 0 ;
27530 PyObject * obj1 = 0 ;
27531 PyObject * obj2 = 0 ;
27532 char * kwnames[] = {
27533 (char *) "self",(char *) "self",(char *) "_class", NULL
27534 };
27535
27536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27538 if (!SWIG_IsOK(res1)) {
27539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27540 }
27541 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27542 arg2 = obj1;
27543 arg3 = obj2;
27544 {
27545 PyThreadState* __tstate = wxPyBeginAllowThreads();
27546 (arg1)->_setCallbackInfo(arg2,arg3);
27547 wxPyEndAllowThreads(__tstate);
27548 if (PyErr_Occurred()) SWIG_fail;
27549 }
27550 resultobj = SWIG_Py_Void();
27551 return resultobj;
27552fail:
27553 return NULL;
d55e5bfc
RD
27554}
27555
27556
554f62e9
RD
27557SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27558 PyObject *resultobj = 0;
27559 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27560 wxString result;
27561 void *argp1 = 0 ;
27562 int res1 = 0 ;
27563 PyObject *swig_obj[1] ;
27564
27565 if (!args) SWIG_fail;
27566 swig_obj[0] = args;
27567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27568 if (!SWIG_IsOK(res1)) {
27569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27570 }
27571 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27572 {
27573 PyThreadState* __tstate = wxPyBeginAllowThreads();
27574 result = ((wxPyPrintout const *)arg1)->GetTitle();
27575 wxPyEndAllowThreads(__tstate);
27576 if (PyErr_Occurred()) SWIG_fail;
27577 }
27578 {
27579#if wxUSE_UNICODE
27580 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27581#else
27582 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27583#endif
27584 }
27585 return resultobj;
27586fail:
27587 return NULL;
d55e5bfc
RD
27588}
27589
27590
554f62e9
RD
27591SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27592 PyObject *resultobj = 0;
27593 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27594 wxDC *result = 0 ;
27595 void *argp1 = 0 ;
27596 int res1 = 0 ;
27597 PyObject *swig_obj[1] ;
27598
27599 if (!args) SWIG_fail;
27600 swig_obj[0] = args;
27601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27602 if (!SWIG_IsOK(res1)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27604 }
27605 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27606 {
27607 PyThreadState* __tstate = wxPyBeginAllowThreads();
27608 result = (wxDC *)(arg1)->GetDC();
27609 wxPyEndAllowThreads(__tstate);
27610 if (PyErr_Occurred()) SWIG_fail;
27611 }
27612 {
27613 resultobj = wxPyMake_wxObject(result, (bool)0);
27614 }
27615 return resultobj;
27616fail:
27617 return NULL;
27618}
27619
27620
27621SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27622 PyObject *resultobj = 0;
27623 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27624 wxDC *arg2 = (wxDC *) 0 ;
27625 void *argp1 = 0 ;
27626 int res1 = 0 ;
27627 void *argp2 = 0 ;
27628 int res2 = 0 ;
27629 PyObject * obj0 = 0 ;
27630 PyObject * obj1 = 0 ;
27631 char * kwnames[] = {
27632 (char *) "self",(char *) "dc", NULL
27633 };
27634
27635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27637 if (!SWIG_IsOK(res1)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27639 }
27640 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27641 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27642 if (!SWIG_IsOK(res2)) {
27643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27644 }
27645 arg2 = reinterpret_cast< wxDC * >(argp2);
27646 {
27647 PyThreadState* __tstate = wxPyBeginAllowThreads();
27648 (arg1)->SetDC(arg2);
27649 wxPyEndAllowThreads(__tstate);
27650 if (PyErr_Occurred()) SWIG_fail;
27651 }
27652 resultobj = SWIG_Py_Void();
27653 return resultobj;
27654fail:
27655 return NULL;
27656}
27657
27658
27659SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27660 PyObject *resultobj = 0;
27661 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27662 int arg2 ;
27663 int arg3 ;
27664 void *argp1 = 0 ;
27665 int res1 = 0 ;
27666 int val2 ;
27667 int ecode2 = 0 ;
27668 int val3 ;
27669 int ecode3 = 0 ;
27670 PyObject * obj0 = 0 ;
27671 PyObject * obj1 = 0 ;
27672 PyObject * obj2 = 0 ;
27673 char * kwnames[] = {
27674 (char *) "self",(char *) "w",(char *) "h", NULL
27675 };
27676
27677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27679 if (!SWIG_IsOK(res1)) {
27680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27681 }
27682 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27683 ecode2 = SWIG_AsVal_int(obj1, &val2);
27684 if (!SWIG_IsOK(ecode2)) {
27685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27686 }
27687 arg2 = static_cast< int >(val2);
27688 ecode3 = SWIG_AsVal_int(obj2, &val3);
27689 if (!SWIG_IsOK(ecode3)) {
27690 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27691 }
27692 arg3 = static_cast< int >(val3);
27693 {
27694 PyThreadState* __tstate = wxPyBeginAllowThreads();
27695 (arg1)->SetPageSizePixels(arg2,arg3);
27696 wxPyEndAllowThreads(__tstate);
27697 if (PyErr_Occurred()) SWIG_fail;
27698 }
27699 resultobj = SWIG_Py_Void();
27700 return resultobj;
27701fail:
27702 return NULL;
27703}
27704
27705
27706SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27707 PyObject *resultobj = 0;
27708 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27709 int *arg2 = (int *) 0 ;
27710 int *arg3 = (int *) 0 ;
27711 void *argp1 = 0 ;
27712 int res1 = 0 ;
27713 int temp2 ;
27714 int res2 = SWIG_TMPOBJ ;
27715 int temp3 ;
27716 int res3 = SWIG_TMPOBJ ;
27717 PyObject *swig_obj[1] ;
27718
27719 arg2 = &temp2;
27720 arg3 = &temp3;
27721 if (!args) SWIG_fail;
27722 swig_obj[0] = args;
27723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27724 if (!SWIG_IsOK(res1)) {
27725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27726 }
27727 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27728 {
27729 PyThreadState* __tstate = wxPyBeginAllowThreads();
27730 (arg1)->GetPageSizePixels(arg2,arg3);
27731 wxPyEndAllowThreads(__tstate);
27732 if (PyErr_Occurred()) SWIG_fail;
27733 }
27734 resultobj = SWIG_Py_Void();
27735 if (SWIG_IsTmpObj(res2)) {
27736 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27737 } else {
27738 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27740 }
27741 if (SWIG_IsTmpObj(res3)) {
27742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27743 } else {
27744 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27745 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27746 }
27747 return resultobj;
27748fail:
27749 return NULL;
27750}
27751
27752
27753SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27754 PyObject *resultobj = 0;
27755 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27756 int arg2 ;
27757 int arg3 ;
27758 void *argp1 = 0 ;
27759 int res1 = 0 ;
27760 int val2 ;
27761 int ecode2 = 0 ;
27762 int val3 ;
27763 int ecode3 = 0 ;
27764 PyObject * obj0 = 0 ;
27765 PyObject * obj1 = 0 ;
27766 PyObject * obj2 = 0 ;
27767 char * kwnames[] = {
27768 (char *) "self",(char *) "w",(char *) "h", NULL
27769 };
27770
27771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27773 if (!SWIG_IsOK(res1)) {
27774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27775 }
27776 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27777 ecode2 = SWIG_AsVal_int(obj1, &val2);
27778 if (!SWIG_IsOK(ecode2)) {
27779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27780 }
27781 arg2 = static_cast< int >(val2);
27782 ecode3 = SWIG_AsVal_int(obj2, &val3);
27783 if (!SWIG_IsOK(ecode3)) {
27784 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27785 }
27786 arg3 = static_cast< int >(val3);
27787 {
27788 PyThreadState* __tstate = wxPyBeginAllowThreads();
27789 (arg1)->SetPageSizeMM(arg2,arg3);
27790 wxPyEndAllowThreads(__tstate);
27791 if (PyErr_Occurred()) SWIG_fail;
27792 }
27793 resultobj = SWIG_Py_Void();
27794 return resultobj;
27795fail:
27796 return NULL;
27797}
27798
27799
27800SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27801 PyObject *resultobj = 0;
27802 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27803 int *arg2 = (int *) 0 ;
27804 int *arg3 = (int *) 0 ;
27805 void *argp1 = 0 ;
27806 int res1 = 0 ;
27807 int temp2 ;
27808 int res2 = SWIG_TMPOBJ ;
27809 int temp3 ;
27810 int res3 = SWIG_TMPOBJ ;
27811 PyObject *swig_obj[1] ;
27812
27813 arg2 = &temp2;
27814 arg3 = &temp3;
27815 if (!args) SWIG_fail;
27816 swig_obj[0] = args;
27817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27818 if (!SWIG_IsOK(res1)) {
27819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27820 }
27821 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27822 {
27823 PyThreadState* __tstate = wxPyBeginAllowThreads();
27824 (arg1)->GetPageSizeMM(arg2,arg3);
27825 wxPyEndAllowThreads(__tstate);
27826 if (PyErr_Occurred()) SWIG_fail;
27827 }
27828 resultobj = SWIG_Py_Void();
27829 if (SWIG_IsTmpObj(res2)) {
27830 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27831 } else {
27832 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27833 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27834 }
27835 if (SWIG_IsTmpObj(res3)) {
27836 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27837 } else {
27838 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27839 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27840 }
27841 return resultobj;
27842fail:
27843 return NULL;
27844}
27845
27846
27847SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27848 PyObject *resultobj = 0;
27849 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27850 int arg2 ;
27851 int arg3 ;
27852 void *argp1 = 0 ;
27853 int res1 = 0 ;
27854 int val2 ;
27855 int ecode2 = 0 ;
27856 int val3 ;
27857 int ecode3 = 0 ;
27858 PyObject * obj0 = 0 ;
27859 PyObject * obj1 = 0 ;
27860 PyObject * obj2 = 0 ;
27861 char * kwnames[] = {
27862 (char *) "self",(char *) "x",(char *) "y", NULL
27863 };
27864
27865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27867 if (!SWIG_IsOK(res1)) {
27868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27869 }
27870 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27871 ecode2 = SWIG_AsVal_int(obj1, &val2);
27872 if (!SWIG_IsOK(ecode2)) {
27873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27874 }
27875 arg2 = static_cast< int >(val2);
27876 ecode3 = SWIG_AsVal_int(obj2, &val3);
27877 if (!SWIG_IsOK(ecode3)) {
27878 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27879 }
27880 arg3 = static_cast< int >(val3);
27881 {
27882 PyThreadState* __tstate = wxPyBeginAllowThreads();
27883 (arg1)->SetPPIScreen(arg2,arg3);
27884 wxPyEndAllowThreads(__tstate);
27885 if (PyErr_Occurred()) SWIG_fail;
27886 }
27887 resultobj = SWIG_Py_Void();
27888 return resultobj;
27889fail:
27890 return NULL;
27891}
27892
27893
27894SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27895 PyObject *resultobj = 0;
27896 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27897 int *arg2 = (int *) 0 ;
27898 int *arg3 = (int *) 0 ;
27899 void *argp1 = 0 ;
27900 int res1 = 0 ;
27901 int temp2 ;
27902 int res2 = SWIG_TMPOBJ ;
27903 int temp3 ;
27904 int res3 = SWIG_TMPOBJ ;
27905 PyObject *swig_obj[1] ;
27906
27907 arg2 = &temp2;
27908 arg3 = &temp3;
27909 if (!args) SWIG_fail;
27910 swig_obj[0] = args;
27911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27912 if (!SWIG_IsOK(res1)) {
27913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27914 }
27915 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27916 {
27917 PyThreadState* __tstate = wxPyBeginAllowThreads();
27918 (arg1)->GetPPIScreen(arg2,arg3);
27919 wxPyEndAllowThreads(__tstate);
27920 if (PyErr_Occurred()) SWIG_fail;
27921 }
27922 resultobj = SWIG_Py_Void();
27923 if (SWIG_IsTmpObj(res2)) {
27924 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27925 } else {
27926 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27927 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27928 }
27929 if (SWIG_IsTmpObj(res3)) {
27930 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27931 } else {
27932 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27933 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27934 }
27935 return resultobj;
27936fail:
27937 return NULL;
27938}
27939
27940
27941SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27942 PyObject *resultobj = 0;
27943 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27944 int arg2 ;
27945 int arg3 ;
27946 void *argp1 = 0 ;
27947 int res1 = 0 ;
27948 int val2 ;
27949 int ecode2 = 0 ;
27950 int val3 ;
27951 int ecode3 = 0 ;
27952 PyObject * obj0 = 0 ;
27953 PyObject * obj1 = 0 ;
27954 PyObject * obj2 = 0 ;
27955 char * kwnames[] = {
27956 (char *) "self",(char *) "x",(char *) "y", NULL
27957 };
27958
27959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27961 if (!SWIG_IsOK(res1)) {
27962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27963 }
27964 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27965 ecode2 = SWIG_AsVal_int(obj1, &val2);
27966 if (!SWIG_IsOK(ecode2)) {
27967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27968 }
27969 arg2 = static_cast< int >(val2);
27970 ecode3 = SWIG_AsVal_int(obj2, &val3);
27971 if (!SWIG_IsOK(ecode3)) {
27972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27973 }
27974 arg3 = static_cast< int >(val3);
27975 {
27976 PyThreadState* __tstate = wxPyBeginAllowThreads();
27977 (arg1)->SetPPIPrinter(arg2,arg3);
27978 wxPyEndAllowThreads(__tstate);
27979 if (PyErr_Occurred()) SWIG_fail;
27980 }
27981 resultobj = SWIG_Py_Void();
27982 return resultobj;
27983fail:
27984 return NULL;
27985}
27986
27987
27988SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27989 PyObject *resultobj = 0;
27990 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27991 int *arg2 = (int *) 0 ;
27992 int *arg3 = (int *) 0 ;
27993 void *argp1 = 0 ;
27994 int res1 = 0 ;
27995 int temp2 ;
27996 int res2 = SWIG_TMPOBJ ;
27997 int temp3 ;
27998 int res3 = SWIG_TMPOBJ ;
27999 PyObject *swig_obj[1] ;
28000
28001 arg2 = &temp2;
28002 arg3 = &temp3;
28003 if (!args) SWIG_fail;
28004 swig_obj[0] = args;
28005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28006 if (!SWIG_IsOK(res1)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28008 }
28009 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28010 {
28011 PyThreadState* __tstate = wxPyBeginAllowThreads();
28012 (arg1)->GetPPIPrinter(arg2,arg3);
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
28016 resultobj = SWIG_Py_Void();
28017 if (SWIG_IsTmpObj(res2)) {
28018 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28019 } else {
28020 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28021 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28022 }
28023 if (SWIG_IsTmpObj(res3)) {
28024 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28025 } else {
28026 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28027 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28028 }
28029 return resultobj;
28030fail:
28031 return NULL;
d55e5bfc
RD
28032}
28033
28034
554f62e9
RD
28035SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28036 PyObject *resultobj = 0;
28037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28038 bool result;
28039 void *argp1 = 0 ;
28040 int res1 = 0 ;
28041 PyObject *swig_obj[1] ;
28042
28043 if (!args) SWIG_fail;
28044 swig_obj[0] = args;
28045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28046 if (!SWIG_IsOK(res1)) {
28047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28048 }
28049 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28050 {
28051 PyThreadState* __tstate = wxPyBeginAllowThreads();
28052 result = (bool)(arg1)->IsPreview();
28053 wxPyEndAllowThreads(__tstate);
28054 if (PyErr_Occurred()) SWIG_fail;
28055 }
28056 {
28057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28058 }
28059 return resultobj;
28060fail:
28061 return NULL;
28062}
28063
28064
28065SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28066 PyObject *resultobj = 0;
28067 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28068 bool arg2 ;
28069 void *argp1 = 0 ;
28070 int res1 = 0 ;
28071 bool val2 ;
28072 int ecode2 = 0 ;
28073 PyObject * obj0 = 0 ;
28074 PyObject * obj1 = 0 ;
28075 char * kwnames[] = {
28076 (char *) "self",(char *) "p", NULL
28077 };
28078
28079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28081 if (!SWIG_IsOK(res1)) {
28082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28083 }
28084 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28085 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28086 if (!SWIG_IsOK(ecode2)) {
28087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28088 }
28089 arg2 = static_cast< bool >(val2);
28090 {
28091 PyThreadState* __tstate = wxPyBeginAllowThreads();
28092 (arg1)->SetIsPreview(arg2);
28093 wxPyEndAllowThreads(__tstate);
28094 if (PyErr_Occurred()) SWIG_fail;
28095 }
28096 resultobj = SWIG_Py_Void();
28097 return resultobj;
28098fail:
28099 return NULL;
28100}
28101
28102
28103SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28104 PyObject *resultobj = 0;
28105 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28106 int arg2 ;
28107 int arg3 ;
28108 bool result;
28109 void *argp1 = 0 ;
28110 int res1 = 0 ;
28111 int val2 ;
28112 int ecode2 = 0 ;
28113 int val3 ;
28114 int ecode3 = 0 ;
28115 PyObject * obj0 = 0 ;
28116 PyObject * obj1 = 0 ;
28117 PyObject * obj2 = 0 ;
28118 char * kwnames[] = {
28119 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28120 };
28121
28122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28124 if (!SWIG_IsOK(res1)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28126 }
28127 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28128 ecode2 = SWIG_AsVal_int(obj1, &val2);
28129 if (!SWIG_IsOK(ecode2)) {
28130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28131 }
28132 arg2 = static_cast< int >(val2);
28133 ecode3 = SWIG_AsVal_int(obj2, &val3);
28134 if (!SWIG_IsOK(ecode3)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28136 }
28137 arg3 = static_cast< int >(val3);
28138 {
28139 PyThreadState* __tstate = wxPyBeginAllowThreads();
28140 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28141 wxPyEndAllowThreads(__tstate);
28142 if (PyErr_Occurred()) SWIG_fail;
28143 }
28144 {
28145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28146 }
28147 return resultobj;
28148fail:
28149 return NULL;
d55e5bfc
RD
28150}
28151
28152
554f62e9
RD
28153SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28154 PyObject *resultobj = 0;
28155 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28156 void *argp1 = 0 ;
28157 int res1 = 0 ;
28158 PyObject *swig_obj[1] ;
28159
28160 if (!args) SWIG_fail;
28161 swig_obj[0] = args;
28162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28163 if (!SWIG_IsOK(res1)) {
28164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28165 }
28166 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28167 {
28168 PyThreadState* __tstate = wxPyBeginAllowThreads();
28169 (arg1)->OnEndDocument();
28170 wxPyEndAllowThreads(__tstate);
28171 if (PyErr_Occurred()) SWIG_fail;
28172 }
28173 resultobj = SWIG_Py_Void();
28174 return resultobj;
28175fail:
28176 return NULL;
caef1a4d
RD
28177}
28178
28179
554f62e9
RD
28180SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28181 PyObject *resultobj = 0;
28182 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28183 void *argp1 = 0 ;
28184 int res1 = 0 ;
28185 PyObject *swig_obj[1] ;
28186
28187 if (!args) SWIG_fail;
28188 swig_obj[0] = args;
28189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28190 if (!SWIG_IsOK(res1)) {
28191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28192 }
28193 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28194 {
28195 PyThreadState* __tstate = wxPyBeginAllowThreads();
28196 (arg1)->OnBeginPrinting();
28197 wxPyEndAllowThreads(__tstate);
28198 if (PyErr_Occurred()) SWIG_fail;
28199 }
28200 resultobj = SWIG_Py_Void();
28201 return resultobj;
28202fail:
28203 return NULL;
60d5fcc1
RD
28204}
28205
28206
554f62e9
RD
28207SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28208 PyObject *resultobj = 0;
28209 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28210 void *argp1 = 0 ;
28211 int res1 = 0 ;
28212 PyObject *swig_obj[1] ;
28213
28214 if (!args) SWIG_fail;
28215 swig_obj[0] = args;
28216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28217 if (!SWIG_IsOK(res1)) {
28218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28219 }
28220 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28221 {
28222 PyThreadState* __tstate = wxPyBeginAllowThreads();
28223 (arg1)->OnEndPrinting();
28224 wxPyEndAllowThreads(__tstate);
28225 if (PyErr_Occurred()) SWIG_fail;
28226 }
28227 resultobj = SWIG_Py_Void();
28228 return resultobj;
28229fail:
28230 return NULL;
d55e5bfc
RD
28231}
28232
28233
554f62e9
RD
28234SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28235 PyObject *resultobj = 0;
28236 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28237 void *argp1 = 0 ;
28238 int res1 = 0 ;
28239 PyObject *swig_obj[1] ;
28240
28241 if (!args) SWIG_fail;
28242 swig_obj[0] = args;
28243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28244 if (!SWIG_IsOK(res1)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28246 }
28247 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28248 {
28249 PyThreadState* __tstate = wxPyBeginAllowThreads();
28250 (arg1)->OnPreparePrinting();
28251 wxPyEndAllowThreads(__tstate);
28252 if (PyErr_Occurred()) SWIG_fail;
28253 }
28254 resultobj = SWIG_Py_Void();
28255 return resultobj;
28256fail:
28257 return NULL;
28258}
28259
28260
28261SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28262 PyObject *resultobj = 0;
28263 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28264 int arg2 ;
28265 bool result;
28266 void *argp1 = 0 ;
28267 int res1 = 0 ;
28268 int val2 ;
28269 int ecode2 = 0 ;
28270 PyObject * obj0 = 0 ;
28271 PyObject * obj1 = 0 ;
28272 char * kwnames[] = {
28273 (char *) "self",(char *) "page", NULL
28274 };
28275
28276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28278 if (!SWIG_IsOK(res1)) {
28279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28280 }
28281 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28282 ecode2 = SWIG_AsVal_int(obj1, &val2);
28283 if (!SWIG_IsOK(ecode2)) {
28284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28285 }
28286 arg2 = static_cast< int >(val2);
28287 {
28288 PyThreadState* __tstate = wxPyBeginAllowThreads();
28289 result = (bool)(arg1)->HasPage(arg2);
28290 wxPyEndAllowThreads(__tstate);
28291 if (PyErr_Occurred()) SWIG_fail;
28292 }
28293 {
28294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28295 }
28296 return resultobj;
28297fail:
28298 return NULL;
28299}
28300
28301
28302SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28303 PyObject *resultobj = 0;
28304 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28305 int *arg2 = (int *) 0 ;
28306 int *arg3 = (int *) 0 ;
28307 int *arg4 = (int *) 0 ;
28308 int *arg5 = (int *) 0 ;
28309 void *argp1 = 0 ;
28310 int res1 = 0 ;
28311 int temp2 ;
28312 int res2 = SWIG_TMPOBJ ;
28313 int temp3 ;
28314 int res3 = SWIG_TMPOBJ ;
28315 int temp4 ;
28316 int res4 = SWIG_TMPOBJ ;
28317 int temp5 ;
28318 int res5 = SWIG_TMPOBJ ;
28319 PyObject *swig_obj[1] ;
28320
28321 arg2 = &temp2;
28322 arg3 = &temp3;
28323 arg4 = &temp4;
28324 arg5 = &temp5;
28325 if (!args) SWIG_fail;
28326 swig_obj[0] = args;
28327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28328 if (!SWIG_IsOK(res1)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28330 }
28331 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28332 {
28333 PyThreadState* __tstate = wxPyBeginAllowThreads();
28334 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28335 wxPyEndAllowThreads(__tstate);
28336 if (PyErr_Occurred()) SWIG_fail;
28337 }
28338 resultobj = SWIG_Py_Void();
28339 if (SWIG_IsTmpObj(res2)) {
28340 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28341 } else {
28342 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28343 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28344 }
28345 if (SWIG_IsTmpObj(res3)) {
28346 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28347 } else {
28348 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28349 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28350 }
28351 if (SWIG_IsTmpObj(res4)) {
28352 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28353 } else {
28354 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28355 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28356 }
28357 if (SWIG_IsTmpObj(res5)) {
28358 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28359 } else {
28360 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28361 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28362 }
28363 return resultobj;
28364fail:
28365 return NULL;
28366}
28367
28368
28369SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28370 PyObject *obj;
28371 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28372 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28373 return SWIG_Py_Void();
28374}
28375
28376SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28377 return SWIG_Python_InitShadowInstance(args);
28378}
28379
28380SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28381 PyObject *resultobj = 0;
28382 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28383 wxWindow *arg2 = (wxWindow *) 0 ;
28384 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28385 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28386 wxSize const &arg4_defvalue = wxDefaultSize ;
28387 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28388 long arg5 = (long) 0 ;
28389 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28390 wxString *arg6 = (wxString *) &arg6_defvalue ;
28391 wxPreviewCanvas *result = 0 ;
28392 void *argp1 = 0 ;
28393 int res1 = 0 ;
28394 void *argp2 = 0 ;
28395 int res2 = 0 ;
28396 wxPoint temp3 ;
28397 wxSize temp4 ;
28398 long val5 ;
28399 int ecode5 = 0 ;
28400 bool temp6 = false ;
28401 PyObject * obj0 = 0 ;
28402 PyObject * obj1 = 0 ;
28403 PyObject * obj2 = 0 ;
28404 PyObject * obj3 = 0 ;
28405 PyObject * obj4 = 0 ;
28406 PyObject * obj5 = 0 ;
28407 char * kwnames[] = {
28408 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28409 };
28410
28411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28413 if (!SWIG_IsOK(res1)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28415 }
28416 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28417 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28418 if (!SWIG_IsOK(res2)) {
28419 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28420 }
28421 arg2 = reinterpret_cast< wxWindow * >(argp2);
28422 if (obj2) {
093d3ff1 28423 {
554f62e9
RD
28424 arg3 = &temp3;
28425 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 28426 }
554f62e9
RD
28427 }
28428 if (obj3) {
093d3ff1 28429 {
554f62e9
RD
28430 arg4 = &temp4;
28431 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 28432 }
554f62e9
RD
28433 }
28434 if (obj4) {
28435 ecode5 = SWIG_AsVal_long(obj4, &val5);
28436 if (!SWIG_IsOK(ecode5)) {
28437 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28438 }
28439 arg5 = static_cast< long >(val5);
28440 }
28441 if (obj5) {
093d3ff1 28442 {
554f62e9
RD
28443 arg6 = wxString_in_helper(obj5);
28444 if (arg6 == NULL) SWIG_fail;
28445 temp6 = true;
093d3ff1 28446 }
554f62e9
RD
28447 }
28448 {
28449 if (!wxPyCheckForApp()) SWIG_fail;
28450 PyThreadState* __tstate = wxPyBeginAllowThreads();
28451 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28452 wxPyEndAllowThreads(__tstate);
28453 if (PyErr_Occurred()) SWIG_fail;
28454 }
28455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28456 {
28457 if (temp6)
28458 delete arg6;
28459 }
28460 return resultobj;
28461fail:
28462 {
28463 if (temp6)
28464 delete arg6;
28465 }
28466 return NULL;
28467}
28468
28469
28470SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28471 PyObject *obj;
28472 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28474 return SWIG_Py_Void();
28475}
28476
28477SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28478 return SWIG_Python_InitShadowInstance(args);
28479}
28480
28481SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28482 PyObject *resultobj = 0;
28483 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28484 wxFrame *arg2 = (wxFrame *) 0 ;
28485 wxString *arg3 = 0 ;
28486 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28487 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28488 wxSize const &arg5_defvalue = wxDefaultSize ;
28489 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28490 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28491 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28492 wxString *arg7 = (wxString *) &arg7_defvalue ;
28493 wxPreviewFrame *result = 0 ;
28494 int res1 = 0 ;
28495 void *argp2 = 0 ;
28496 int res2 = 0 ;
28497 bool temp3 = false ;
28498 wxPoint temp4 ;
28499 wxSize temp5 ;
28500 long val6 ;
28501 int ecode6 = 0 ;
28502 bool temp7 = false ;
28503 PyObject * obj0 = 0 ;
28504 PyObject * obj1 = 0 ;
28505 PyObject * obj2 = 0 ;
28506 PyObject * obj3 = 0 ;
28507 PyObject * obj4 = 0 ;
28508 PyObject * obj5 = 0 ;
28509 PyObject * obj6 = 0 ;
28510 char * kwnames[] = {
28511 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28512 };
28513
28514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28515 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28516 if (!SWIG_IsOK(res1)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28518 }
28519 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28520 if (!SWIG_IsOK(res2)) {
28521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28522 }
28523 arg2 = reinterpret_cast< wxFrame * >(argp2);
28524 {
28525 arg3 = wxString_in_helper(obj2);
28526 if (arg3 == NULL) SWIG_fail;
28527 temp3 = true;
28528 }
28529 if (obj3) {
093d3ff1 28530 {
554f62e9
RD
28531 arg4 = &temp4;
28532 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28533 }
554f62e9
RD
28534 }
28535 if (obj4) {
d55e5bfc 28536 {
554f62e9
RD
28537 arg5 = &temp5;
28538 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 28539 }
554f62e9
RD
28540 }
28541 if (obj5) {
28542 ecode6 = SWIG_AsVal_long(obj5, &val6);
28543 if (!SWIG_IsOK(ecode6)) {
28544 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28545 }
28546 arg6 = static_cast< long >(val6);
28547 }
28548 if (obj6) {
093d3ff1 28549 {
554f62e9
RD
28550 arg7 = wxString_in_helper(obj6);
28551 if (arg7 == NULL) SWIG_fail;
28552 temp7 = true;
093d3ff1 28553 }
554f62e9
RD
28554 }
28555 {
28556 if (!wxPyCheckForApp()) SWIG_fail;
28557 PyThreadState* __tstate = wxPyBeginAllowThreads();
28558 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28559 wxPyEndAllowThreads(__tstate);
28560 if (PyErr_Occurred()) SWIG_fail;
28561 }
28562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28563 {
28564 if (temp3)
28565 delete arg3;
28566 }
28567 {
28568 if (temp7)
28569 delete arg7;
28570 }
28571 return resultobj;
28572fail:
28573 {
28574 if (temp3)
28575 delete arg3;
28576 }
28577 {
28578 if (temp7)
28579 delete arg7;
28580 }
28581 return NULL;
d55e5bfc
RD
28582}
28583
28584
554f62e9
RD
28585SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28586 PyObject *resultobj = 0;
28587 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28588 void *argp1 = 0 ;
28589 int res1 = 0 ;
28590 PyObject *swig_obj[1] ;
28591
28592 if (!args) SWIG_fail;
28593 swig_obj[0] = args;
28594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28595 if (!SWIG_IsOK(res1)) {
28596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28597 }
28598 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28599 {
28600 PyThreadState* __tstate = wxPyBeginAllowThreads();
28601 (arg1)->Initialize();
28602 wxPyEndAllowThreads(__tstate);
28603 if (PyErr_Occurred()) SWIG_fail;
28604 }
28605 resultobj = SWIG_Py_Void();
28606 return resultobj;
28607fail:
28608 return NULL;
d55e5bfc
RD
28609}
28610
28611
554f62e9
RD
28612SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28613 PyObject *resultobj = 0;
28614 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28615 void *argp1 = 0 ;
28616 int res1 = 0 ;
28617 PyObject *swig_obj[1] ;
28618
28619 if (!args) SWIG_fail;
28620 swig_obj[0] = args;
28621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28622 if (!SWIG_IsOK(res1)) {
28623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28624 }
28625 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28626 {
28627 PyThreadState* __tstate = wxPyBeginAllowThreads();
28628 (arg1)->CreateControlBar();
28629 wxPyEndAllowThreads(__tstate);
28630 if (PyErr_Occurred()) SWIG_fail;
28631 }
28632 resultobj = SWIG_Py_Void();
28633 return resultobj;
28634fail:
28635 return NULL;
d55e5bfc
RD
28636}
28637
28638
554f62e9
RD
28639SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28640 PyObject *resultobj = 0;
28641 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28642 void *argp1 = 0 ;
28643 int res1 = 0 ;
28644 PyObject *swig_obj[1] ;
28645
28646 if (!args) SWIG_fail;
28647 swig_obj[0] = args;
28648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28649 if (!SWIG_IsOK(res1)) {
28650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28651 }
28652 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28653 {
28654 PyThreadState* __tstate = wxPyBeginAllowThreads();
28655 (arg1)->CreateCanvas();
28656 wxPyEndAllowThreads(__tstate);
28657 if (PyErr_Occurred()) SWIG_fail;
28658 }
28659 resultobj = SWIG_Py_Void();
28660 return resultobj;
28661fail:
28662 return NULL;
d55e5bfc
RD
28663}
28664
28665
554f62e9
RD
28666SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28667 PyObject *resultobj = 0;
28668 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28669 wxPreviewControlBar *result = 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_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28679 }
28680 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28681 {
28682 PyThreadState* __tstate = wxPyBeginAllowThreads();
28683 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28684 wxPyEndAllowThreads(__tstate);
28685 if (PyErr_Occurred()) SWIG_fail;
28686 }
28687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28688 return resultobj;
28689fail:
28690 return NULL;
28691}
28692
28693
28694SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28695 PyObject *obj;
28696 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28697 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28698 return SWIG_Py_Void();
28699}
28700
28701SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28702 return SWIG_Python_InitShadowInstance(args);
28703}
28704
28705SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28706 PyObject *resultobj = 0;
28707 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28708 long arg2 ;
28709 wxWindow *arg3 = (wxWindow *) 0 ;
28710 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28711 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28712 wxSize const &arg5_defvalue = wxDefaultSize ;
28713 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28714 long arg6 = (long) wxTAB_TRAVERSAL ;
28715 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28716 wxString *arg7 = (wxString *) &arg7_defvalue ;
28717 wxPreviewControlBar *result = 0 ;
28718 void *argp1 = 0 ;
28719 int res1 = 0 ;
28720 long val2 ;
28721 int ecode2 = 0 ;
28722 void *argp3 = 0 ;
28723 int res3 = 0 ;
28724 wxPoint temp4 ;
28725 wxSize temp5 ;
28726 long val6 ;
28727 int ecode6 = 0 ;
28728 bool temp7 = false ;
28729 PyObject * obj0 = 0 ;
28730 PyObject * obj1 = 0 ;
28731 PyObject * obj2 = 0 ;
28732 PyObject * obj3 = 0 ;
28733 PyObject * obj4 = 0 ;
28734 PyObject * obj5 = 0 ;
28735 PyObject * obj6 = 0 ;
28736 char * kwnames[] = {
28737 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28738 };
28739
28740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28742 if (!SWIG_IsOK(res1)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28744 }
28745 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28746 ecode2 = SWIG_AsVal_long(obj1, &val2);
28747 if (!SWIG_IsOK(ecode2)) {
28748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28749 }
28750 arg2 = static_cast< long >(val2);
28751 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28752 if (!SWIG_IsOK(res3)) {
28753 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28754 }
28755 arg3 = reinterpret_cast< wxWindow * >(argp3);
28756 if (obj3) {
d55e5bfc 28757 {
554f62e9
RD
28758 arg4 = &temp4;
28759 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28760 }
28761 }
28762 if (obj4) {
d55e5bfc 28763 {
554f62e9
RD
28764 arg5 = &temp5;
28765 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 28766 }
554f62e9
RD
28767 }
28768 if (obj5) {
28769 ecode6 = SWIG_AsVal_long(obj5, &val6);
28770 if (!SWIG_IsOK(ecode6)) {
28771 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28772 }
28773 arg6 = static_cast< long >(val6);
28774 }
28775 if (obj6) {
d55e5bfc 28776 {
554f62e9
RD
28777 arg7 = wxString_in_helper(obj6);
28778 if (arg7 == NULL) SWIG_fail;
28779 temp7 = true;
d55e5bfc 28780 }
554f62e9
RD
28781 }
28782 {
28783 if (!wxPyCheckForApp()) SWIG_fail;
28784 PyThreadState* __tstate = wxPyBeginAllowThreads();
28785 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28786 wxPyEndAllowThreads(__tstate);
28787 if (PyErr_Occurred()) SWIG_fail;
28788 }
28789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28790 {
28791 if (temp7)
28792 delete arg7;
28793 }
28794 return resultobj;
28795fail:
28796 {
28797 if (temp7)
28798 delete arg7;
28799 }
28800 return NULL;
d55e5bfc
RD
28801}
28802
28803
554f62e9
RD
28804SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28805 PyObject *resultobj = 0;
28806 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28807 int result;
28808 void *argp1 = 0 ;
28809 int res1 = 0 ;
28810 PyObject *swig_obj[1] ;
28811
28812 if (!args) SWIG_fail;
28813 swig_obj[0] = args;
28814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28815 if (!SWIG_IsOK(res1)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28817 }
28818 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28819 {
28820 PyThreadState* __tstate = wxPyBeginAllowThreads();
28821 result = (int)(arg1)->GetZoomControl();
28822 wxPyEndAllowThreads(__tstate);
28823 if (PyErr_Occurred()) SWIG_fail;
28824 }
28825 resultobj = SWIG_From_int(static_cast< int >(result));
28826 return resultobj;
28827fail:
28828 return NULL;
28829}
28830
28831
28832SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28833 PyObject *resultobj = 0;
28834 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28835 int arg2 ;
28836 void *argp1 = 0 ;
28837 int res1 = 0 ;
28838 int val2 ;
28839 int ecode2 = 0 ;
28840 PyObject * obj0 = 0 ;
28841 PyObject * obj1 = 0 ;
28842 char * kwnames[] = {
28843 (char *) "self",(char *) "zoom", NULL
28844 };
28845
28846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28848 if (!SWIG_IsOK(res1)) {
28849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28850 }
28851 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28852 ecode2 = SWIG_AsVal_int(obj1, &val2);
28853 if (!SWIG_IsOK(ecode2)) {
28854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28855 }
28856 arg2 = static_cast< int >(val2);
28857 {
28858 PyThreadState* __tstate = wxPyBeginAllowThreads();
28859 (arg1)->SetZoomControl(arg2);
28860 wxPyEndAllowThreads(__tstate);
28861 if (PyErr_Occurred()) SWIG_fail;
28862 }
28863 resultobj = SWIG_Py_Void();
28864 return resultobj;
28865fail:
28866 return NULL;
d55e5bfc
RD
28867}
28868
28869
554f62e9
RD
28870SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28871 PyObject *resultobj = 0;
28872 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28873 wxPrintPreview *result = 0 ;
28874 void *argp1 = 0 ;
28875 int res1 = 0 ;
28876 PyObject *swig_obj[1] ;
28877
28878 if (!args) SWIG_fail;
28879 swig_obj[0] = args;
28880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28881 if (!SWIG_IsOK(res1)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28883 }
28884 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28885 {
28886 PyThreadState* __tstate = wxPyBeginAllowThreads();
28887 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28888 wxPyEndAllowThreads(__tstate);
28889 if (PyErr_Occurred()) SWIG_fail;
28890 }
28891 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28892 return resultobj;
28893fail:
28894 return NULL;
d55e5bfc
RD
28895}
28896
28897
554f62e9
RD
28898SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28899 PyObject *resultobj = 0;
28900 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28901 void *argp1 = 0 ;
28902 int res1 = 0 ;
28903 PyObject *swig_obj[1] ;
28904
28905 if (!args) SWIG_fail;
28906 swig_obj[0] = args;
28907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28908 if (!SWIG_IsOK(res1)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28910 }
28911 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28912 {
28913 PyThreadState* __tstate = wxPyBeginAllowThreads();
28914 (arg1)->OnNext();
28915 wxPyEndAllowThreads(__tstate);
28916 if (PyErr_Occurred()) SWIG_fail;
28917 }
28918 resultobj = SWIG_Py_Void();
28919 return resultobj;
28920fail:
28921 return NULL;
d55e5bfc
RD
28922}
28923
28924
554f62e9
RD
28925SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28926 PyObject *resultobj = 0;
28927 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28928 void *argp1 = 0 ;
28929 int res1 = 0 ;
28930 PyObject *swig_obj[1] ;
28931
28932 if (!args) SWIG_fail;
28933 swig_obj[0] = args;
28934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28935 if (!SWIG_IsOK(res1)) {
28936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28937 }
28938 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28939 {
28940 PyThreadState* __tstate = wxPyBeginAllowThreads();
28941 (arg1)->OnPrevious();
28942 wxPyEndAllowThreads(__tstate);
28943 if (PyErr_Occurred()) SWIG_fail;
28944 }
28945 resultobj = SWIG_Py_Void();
28946 return resultobj;
28947fail:
28948 return NULL;
d55e5bfc
RD
28949}
28950
28951
554f62e9
RD
28952SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28953 PyObject *resultobj = 0;
28954 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28955 void *argp1 = 0 ;
28956 int res1 = 0 ;
28957 PyObject *swig_obj[1] ;
28958
28959 if (!args) SWIG_fail;
28960 swig_obj[0] = args;
28961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28962 if (!SWIG_IsOK(res1)) {
28963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28964 }
28965 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28966 {
28967 PyThreadState* __tstate = wxPyBeginAllowThreads();
28968 (arg1)->OnFirst();
28969 wxPyEndAllowThreads(__tstate);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 }
28972 resultobj = SWIG_Py_Void();
28973 return resultobj;
28974fail:
28975 return NULL;
d55e5bfc
RD
28976}
28977
28978
554f62e9
RD
28979SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28980 PyObject *resultobj = 0;
28981 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28982 void *argp1 = 0 ;
28983 int res1 = 0 ;
28984 PyObject *swig_obj[1] ;
28985
28986 if (!args) SWIG_fail;
28987 swig_obj[0] = args;
28988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28989 if (!SWIG_IsOK(res1)) {
28990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28991 }
28992 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28993 {
28994 PyThreadState* __tstate = wxPyBeginAllowThreads();
28995 (arg1)->OnLast();
28996 wxPyEndAllowThreads(__tstate);
28997 if (PyErr_Occurred()) SWIG_fail;
28998 }
28999 resultobj = SWIG_Py_Void();
29000 return resultobj;
29001fail:
29002 return NULL;
d55e5bfc
RD
29003}
29004
29005
554f62e9
RD
29006SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29007 PyObject *resultobj = 0;
29008 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29009 void *argp1 = 0 ;
29010 int res1 = 0 ;
29011 PyObject *swig_obj[1] ;
29012
29013 if (!args) SWIG_fail;
29014 swig_obj[0] = args;
29015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29016 if (!SWIG_IsOK(res1)) {
29017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29018 }
29019 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29020 {
29021 PyThreadState* __tstate = wxPyBeginAllowThreads();
29022 (arg1)->OnGoto();
29023 wxPyEndAllowThreads(__tstate);
29024 if (PyErr_Occurred()) SWIG_fail;
29025 }
29026 resultobj = SWIG_Py_Void();
29027 return resultobj;
29028fail:
29029 return NULL;
d55e5bfc
RD
29030}
29031
29032
554f62e9
RD
29033SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29034 PyObject *obj;
29035 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29037 return SWIG_Py_Void();
d55e5bfc
RD
29038}
29039
554f62e9
RD
29040SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29041 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
29042}
29043
554f62e9
RD
29044SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29045 PyObject *resultobj = 0;
29046 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29047 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29048 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29049 wxPrintPreview *result = 0 ;
29050 int res1 = 0 ;
29051 int res2 = 0 ;
29052 void *argp3 = 0 ;
29053 int res3 = 0 ;
29054
29055 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29056 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29057 if (!SWIG_IsOK(res1)) {
29058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29059 }
29060 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29061 if (!SWIG_IsOK(res2)) {
29062 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29063 }
29064 if (swig_obj[2]) {
29065 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29066 if (!SWIG_IsOK(res3)) {
29067 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29068 }
29069 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29070 }
29071 {
29072 if (!wxPyCheckForApp()) SWIG_fail;
29073 PyThreadState* __tstate = wxPyBeginAllowThreads();
29074 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29075 wxPyEndAllowThreads(__tstate);
29076 if (PyErr_Occurred()) SWIG_fail;
29077 }
29078 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29079 return resultobj;
29080fail:
29081 return NULL;
29082}
29083
29084
29085SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29086 PyObject *resultobj = 0;
29087 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29088 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29089 wxPrintData *arg3 = (wxPrintData *) 0 ;
29090 wxPrintPreview *result = 0 ;
29091 int res1 = 0 ;
29092 int res2 = 0 ;
29093 void *argp3 = 0 ;
29094 int res3 = 0 ;
29095
29096 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29097 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29098 if (!SWIG_IsOK(res1)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29100 }
29101 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29102 if (!SWIG_IsOK(res2)) {
29103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29104 }
29105 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29106 if (!SWIG_IsOK(res3)) {
29107 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29108 }
29109 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29110 {
29111 if (!wxPyCheckForApp()) SWIG_fail;
29112 PyThreadState* __tstate = wxPyBeginAllowThreads();
29113 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29114 wxPyEndAllowThreads(__tstate);
29115 if (PyErr_Occurred()) SWIG_fail;
29116 }
29117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29118 return resultobj;
29119fail:
29120 return NULL;
d55e5bfc
RD
29121}
29122
29123
554f62e9
RD
29124SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29125 int argc;
29126 PyObject *argv[4];
29127
29128 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29129 --argc;
29130 if ((argc >= 2) && (argc <= 3)) {
29131 int _v = 0;
29132 if (argc > 2) {
29133 {
29134 void *vptr = 0;
29135 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29136 _v = SWIG_CheckState(res);
29137 }
29138 if (!_v) goto check_1;
d55e5bfc 29139 }
554f62e9
RD
29140 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29141 }
29142check_1:
29143
29144 if (argc == 3) {
29145 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29146 }
29147
29148fail:
29149 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29150 return NULL;
d55e5bfc
RD
29151}
29152
29153
554f62e9
RD
29154SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29155 PyObject *resultobj = 0;
29156 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29157 void *argp1 = 0 ;
29158 int res1 = 0 ;
29159 PyObject *swig_obj[1] ;
29160
29161 if (!args) SWIG_fail;
29162 swig_obj[0] = args;
29163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29164 if (!SWIG_IsOK(res1)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29166 }
29167 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29168 {
29169 PyThreadState* __tstate = wxPyBeginAllowThreads();
29170 delete arg1;
caef1a4d 29171
554f62e9
RD
29172 wxPyEndAllowThreads(__tstate);
29173 if (PyErr_Occurred()) SWIG_fail;
29174 }
29175 resultobj = SWIG_Py_Void();
29176 return resultobj;
29177fail:
29178 return NULL;
29179}
29180
29181
29182SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29183 PyObject *resultobj = 0;
29184 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29185 int arg2 ;
29186 bool result;
29187 void *argp1 = 0 ;
29188 int res1 = 0 ;
29189 int val2 ;
29190 int ecode2 = 0 ;
29191 PyObject * obj0 = 0 ;
29192 PyObject * obj1 = 0 ;
29193 char * kwnames[] = {
29194 (char *) "self",(char *) "pageNum", NULL
29195 };
29196
29197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29199 if (!SWIG_IsOK(res1)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29201 }
29202 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29203 ecode2 = SWIG_AsVal_int(obj1, &val2);
29204 if (!SWIG_IsOK(ecode2)) {
29205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29206 }
29207 arg2 = static_cast< int >(val2);
29208 {
29209 PyThreadState* __tstate = wxPyBeginAllowThreads();
29210 result = (bool)(arg1)->SetCurrentPage(arg2);
29211 wxPyEndAllowThreads(__tstate);
29212 if (PyErr_Occurred()) SWIG_fail;
29213 }
29214 {
29215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29216 }
29217 return resultobj;
29218fail:
29219 return NULL;
caef1a4d
RD
29220}
29221
29222
554f62e9
RD
29223SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29224 PyObject *resultobj = 0;
29225 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29226 int result;
29227 void *argp1 = 0 ;
29228 int res1 = 0 ;
29229 PyObject *swig_obj[1] ;
29230
29231 if (!args) SWIG_fail;
29232 swig_obj[0] = args;
29233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29234 if (!SWIG_IsOK(res1)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29236 }
29237 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29238 {
29239 PyThreadState* __tstate = wxPyBeginAllowThreads();
29240 result = (int)(arg1)->GetCurrentPage();
29241 wxPyEndAllowThreads(__tstate);
29242 if (PyErr_Occurred()) SWIG_fail;
29243 }
29244 resultobj = SWIG_From_int(static_cast< int >(result));
29245 return resultobj;
29246fail:
29247 return NULL;
29248}
29249
29250
29251SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29252 PyObject *resultobj = 0;
29253 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29254 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29255 void *argp1 = 0 ;
29256 int res1 = 0 ;
29257 int res2 = 0 ;
29258 PyObject * obj0 = 0 ;
29259 PyObject * obj1 = 0 ;
29260 char * kwnames[] = {
29261 (char *) "self",(char *) "printout", NULL
29262 };
29263
29264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29266 if (!SWIG_IsOK(res1)) {
29267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29268 }
29269 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29270 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29271 if (!SWIG_IsOK(res2)) {
29272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29273 }
29274 {
29275 PyThreadState* __tstate = wxPyBeginAllowThreads();
29276 (arg1)->SetPrintout(arg2);
29277 wxPyEndAllowThreads(__tstate);
29278 if (PyErr_Occurred()) SWIG_fail;
29279 }
29280 resultobj = SWIG_Py_Void();
29281 return resultobj;
29282fail:
29283 return NULL;
8d38bd1d
RD
29284}
29285
29286
554f62e9
RD
29287SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29288 PyObject *resultobj = 0;
29289 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29290 wxPyPrintout *result = 0 ;
29291 void *argp1 = 0 ;
29292 int res1 = 0 ;
29293 PyObject *swig_obj[1] ;
29294
29295 if (!args) SWIG_fail;
29296 swig_obj[0] = args;
29297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29298 if (!SWIG_IsOK(res1)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29300 }
29301 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29302 {
29303 PyThreadState* __tstate = wxPyBeginAllowThreads();
29304 result = (wxPyPrintout *)(arg1)->GetPrintout();
29305 wxPyEndAllowThreads(__tstate);
29306 if (PyErr_Occurred()) SWIG_fail;
29307 }
29308 {
29309 resultobj = wxPyMake_wxObject(result, 0);
29310 }
29311 return resultobj;
29312fail:
29313 return NULL;
d55e5bfc
RD
29314}
29315
29316
554f62e9
RD
29317SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29318 PyObject *resultobj = 0;
29319 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29320 wxPyPrintout *result = 0 ;
29321 void *argp1 = 0 ;
29322 int res1 = 0 ;
29323 PyObject *swig_obj[1] ;
29324
29325 if (!args) SWIG_fail;
29326 swig_obj[0] = args;
29327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29328 if (!SWIG_IsOK(res1)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29330 }
29331 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29332 {
29333 PyThreadState* __tstate = wxPyBeginAllowThreads();
29334 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29335 wxPyEndAllowThreads(__tstate);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 }
29338 {
29339 resultobj = wxPyMake_wxObject(result, 0);
29340 }
29341 return resultobj;
29342fail:
29343 return NULL;
29344}
29345
29346
29347SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29348 PyObject *resultobj = 0;
29349 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29350 wxFrame *arg2 = (wxFrame *) 0 ;
29351 void *argp1 = 0 ;
29352 int res1 = 0 ;
29353 void *argp2 = 0 ;
29354 int res2 = 0 ;
29355 PyObject * obj0 = 0 ;
29356 PyObject * obj1 = 0 ;
29357 char * kwnames[] = {
29358 (char *) "self",(char *) "frame", NULL
29359 };
29360
29361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29363 if (!SWIG_IsOK(res1)) {
29364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29365 }
29366 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29367 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29368 if (!SWIG_IsOK(res2)) {
29369 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29370 }
29371 arg2 = reinterpret_cast< wxFrame * >(argp2);
29372 {
29373 PyThreadState* __tstate = wxPyBeginAllowThreads();
29374 (arg1)->SetFrame(arg2);
29375 wxPyEndAllowThreads(__tstate);
29376 if (PyErr_Occurred()) SWIG_fail;
29377 }
29378 resultobj = SWIG_Py_Void();
29379 return resultobj;
29380fail:
29381 return NULL;
29382}
29383
29384
29385SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29386 PyObject *resultobj = 0;
29387 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29388 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29389 void *argp1 = 0 ;
29390 int res1 = 0 ;
29391 void *argp2 = 0 ;
29392 int res2 = 0 ;
29393 PyObject * obj0 = 0 ;
29394 PyObject * obj1 = 0 ;
29395 char * kwnames[] = {
29396 (char *) "self",(char *) "canvas", NULL
29397 };
29398
29399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29401 if (!SWIG_IsOK(res1)) {
29402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29403 }
29404 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29405 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29406 if (!SWIG_IsOK(res2)) {
29407 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29408 }
29409 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29410 {
29411 PyThreadState* __tstate = wxPyBeginAllowThreads();
29412 (arg1)->SetCanvas(arg2);
29413 wxPyEndAllowThreads(__tstate);
29414 if (PyErr_Occurred()) SWIG_fail;
29415 }
29416 resultobj = SWIG_Py_Void();
29417 return resultobj;
29418fail:
29419 return NULL;
d55e5bfc
RD
29420}
29421
29422
554f62e9
RD
29423SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29424 PyObject *resultobj = 0;
29425 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29426 wxFrame *result = 0 ;
29427 void *argp1 = 0 ;
29428 int res1 = 0 ;
29429 PyObject *swig_obj[1] ;
29430
29431 if (!args) SWIG_fail;
29432 swig_obj[0] = args;
29433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29434 if (!SWIG_IsOK(res1)) {
29435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29436 }
29437 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29438 {
29439 PyThreadState* __tstate = wxPyBeginAllowThreads();
29440 result = (wxFrame *)(arg1)->GetFrame();
29441 wxPyEndAllowThreads(__tstate);
29442 if (PyErr_Occurred()) SWIG_fail;
29443 }
29444 {
29445 resultobj = wxPyMake_wxObject(result, 0);
29446 }
29447 return resultobj;
29448fail:
29449 return NULL;
d55e5bfc
RD
29450}
29451
29452
554f62e9
RD
29453SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29454 PyObject *resultobj = 0;
29455 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29456 wxPreviewCanvas *result = 0 ;
29457 void *argp1 = 0 ;
29458 int res1 = 0 ;
29459 PyObject *swig_obj[1] ;
29460
29461 if (!args) SWIG_fail;
29462 swig_obj[0] = args;
29463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29464 if (!SWIG_IsOK(res1)) {
29465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29466 }
29467 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29468 {
29469 PyThreadState* __tstate = wxPyBeginAllowThreads();
29470 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29471 wxPyEndAllowThreads(__tstate);
29472 if (PyErr_Occurred()) SWIG_fail;
29473 }
29474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29475 return resultobj;
29476fail:
29477 return NULL;
29478}
29479
29480
29481SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29482 PyObject *resultobj = 0;
29483 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29484 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29485 wxDC *arg3 = 0 ;
29486 bool result;
29487 void *argp1 = 0 ;
29488 int res1 = 0 ;
29489 void *argp2 = 0 ;
29490 int res2 = 0 ;
29491 void *argp3 = 0 ;
29492 int res3 = 0 ;
29493 PyObject * obj0 = 0 ;
29494 PyObject * obj1 = 0 ;
29495 PyObject * obj2 = 0 ;
29496 char * kwnames[] = {
29497 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29498 };
29499
29500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29502 if (!SWIG_IsOK(res1)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29504 }
29505 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29506 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29507 if (!SWIG_IsOK(res2)) {
29508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29509 }
29510 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29511 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29512 if (!SWIG_IsOK(res3)) {
29513 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29514 }
29515 if (!argp3) {
29516 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29517 }
29518 arg3 = reinterpret_cast< wxDC * >(argp3);
29519 {
29520 PyThreadState* __tstate = wxPyBeginAllowThreads();
29521 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29522 wxPyEndAllowThreads(__tstate);
29523 if (PyErr_Occurred()) SWIG_fail;
29524 }
29525 {
29526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29527 }
29528 return resultobj;
29529fail:
29530 return NULL;
29531}
29532
29533
29534SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29535 PyObject *resultobj = 0;
29536 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29537 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29538 wxDC *arg3 = 0 ;
29539 bool result;
29540 void *argp1 = 0 ;
29541 int res1 = 0 ;
29542 void *argp2 = 0 ;
29543 int res2 = 0 ;
29544 void *argp3 = 0 ;
29545 int res3 = 0 ;
29546 PyObject * obj0 = 0 ;
29547 PyObject * obj1 = 0 ;
29548 PyObject * obj2 = 0 ;
29549 char * kwnames[] = {
29550 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29551 };
29552
29553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29555 if (!SWIG_IsOK(res1)) {
29556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29557 }
29558 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29559 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29560 if (!SWIG_IsOK(res2)) {
29561 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29562 }
29563 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29564 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29565 if (!SWIG_IsOK(res3)) {
29566 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29567 }
29568 if (!argp3) {
29569 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29570 }
29571 arg3 = reinterpret_cast< wxDC * >(argp3);
29572 {
29573 PyThreadState* __tstate = wxPyBeginAllowThreads();
29574 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29575 wxPyEndAllowThreads(__tstate);
29576 if (PyErr_Occurred()) SWIG_fail;
29577 }
29578 {
29579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29580 }
29581 return resultobj;
29582fail:
29583 return NULL;
29584}
29585
29586
29587SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29588 PyObject *resultobj = 0;
29589 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29590 int arg2 ;
29591 bool result;
29592 void *argp1 = 0 ;
29593 int res1 = 0 ;
29594 int val2 ;
29595 int ecode2 = 0 ;
29596 PyObject * obj0 = 0 ;
29597 PyObject * obj1 = 0 ;
29598 char * kwnames[] = {
29599 (char *) "self",(char *) "pageNum", NULL
29600 };
29601
29602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29604 if (!SWIG_IsOK(res1)) {
29605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29606 }
29607 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29608 ecode2 = SWIG_AsVal_int(obj1, &val2);
29609 if (!SWIG_IsOK(ecode2)) {
29610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29611 }
29612 arg2 = static_cast< int >(val2);
29613 {
29614 PyThreadState* __tstate = wxPyBeginAllowThreads();
29615 result = (bool)(arg1)->RenderPage(arg2);
29616 wxPyEndAllowThreads(__tstate);
29617 if (PyErr_Occurred()) SWIG_fail;
29618 }
29619 {
29620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29621 }
29622 return resultobj;
29623fail:
29624 return NULL;
29625}
29626
29627
29628SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29629 PyObject *resultobj = 0;
29630 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29631 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29632 void *argp1 = 0 ;
29633 int res1 = 0 ;
29634 void *argp2 = 0 ;
29635 int res2 = 0 ;
29636 PyObject * obj0 = 0 ;
29637 PyObject * obj1 = 0 ;
29638 char * kwnames[] = {
29639 (char *) "self",(char *) "canvas", NULL
29640 };
29641
29642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29644 if (!SWIG_IsOK(res1)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29646 }
29647 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29648 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29649 if (!SWIG_IsOK(res2)) {
29650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29651 }
29652 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29653 {
29654 PyThreadState* __tstate = wxPyBeginAllowThreads();
29655 (arg1)->AdjustScrollbars(arg2);
29656 wxPyEndAllowThreads(__tstate);
29657 if (PyErr_Occurred()) SWIG_fail;
29658 }
29659 resultobj = SWIG_Py_Void();
29660 return resultobj;
29661fail:
29662 return NULL;
caef1a4d
RD
29663}
29664
29665
554f62e9
RD
29666SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29667 PyObject *resultobj = 0;
29668 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29669 wxPrintDialogData *result = 0 ;
29670 void *argp1 = 0 ;
29671 int res1 = 0 ;
29672 PyObject *swig_obj[1] ;
29673
29674 if (!args) SWIG_fail;
29675 swig_obj[0] = args;
29676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29677 if (!SWIG_IsOK(res1)) {
29678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29679 }
29680 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29681 {
29682 PyThreadState* __tstate = wxPyBeginAllowThreads();
60d5fcc1 29683 {
554f62e9
RD
29684 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29685 result = (wxPrintDialogData *) &_result_ref;
60d5fcc1 29686 }
554f62e9
RD
29687 wxPyEndAllowThreads(__tstate);
29688 if (PyErr_Occurred()) SWIG_fail;
29689 }
29690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29691 return resultobj;
29692fail:
29693 return NULL;
29694}
29695
29696
29697SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29698 PyObject *resultobj = 0;
29699 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29700 int arg2 ;
29701 void *argp1 = 0 ;
29702 int res1 = 0 ;
29703 int val2 ;
29704 int ecode2 = 0 ;
29705 PyObject * obj0 = 0 ;
29706 PyObject * obj1 = 0 ;
29707 char * kwnames[] = {
29708 (char *) "self",(char *) "percent", NULL
29709 };
29710
29711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29713 if (!SWIG_IsOK(res1)) {
29714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29715 }
29716 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29717 ecode2 = SWIG_AsVal_int(obj1, &val2);
29718 if (!SWIG_IsOK(ecode2)) {
29719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29720 }
29721 arg2 = static_cast< int >(val2);
29722 {
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 (arg1)->SetZoom(arg2);
29725 wxPyEndAllowThreads(__tstate);
29726 if (PyErr_Occurred()) SWIG_fail;
29727 }
29728 resultobj = SWIG_Py_Void();
29729 return resultobj;
29730fail:
29731 return NULL;
60d5fcc1
RD
29732}
29733
29734
554f62e9
RD
29735SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29736 PyObject *resultobj = 0;
29737 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29738 int result;
29739 void *argp1 = 0 ;
29740 int res1 = 0 ;
29741 PyObject *swig_obj[1] ;
29742
29743 if (!args) SWIG_fail;
29744 swig_obj[0] = args;
29745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29746 if (!SWIG_IsOK(res1)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29748 }
29749 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29750 {
29751 PyThreadState* __tstate = wxPyBeginAllowThreads();
29752 result = (int)(arg1)->GetZoom();
29753 wxPyEndAllowThreads(__tstate);
29754 if (PyErr_Occurred()) SWIG_fail;
29755 }
29756 resultobj = SWIG_From_int(static_cast< int >(result));
29757 return resultobj;
29758fail:
29759 return NULL;
d55e5bfc
RD
29760}
29761
29762
554f62e9
RD
29763SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(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_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29776 }
29777 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29778 {
29779 PyThreadState* __tstate = wxPyBeginAllowThreads();
29780 result = (int)(arg1)->GetMaxPage();
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;
d55e5bfc
RD
29788}
29789
29790
554f62e9
RD
29791SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(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_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29804 }
29805 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29806 {
29807 PyThreadState* __tstate = wxPyBeginAllowThreads();
29808 result = (int)(arg1)->GetMinPage();
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;
d55e5bfc
RD
29816}
29817
29818
554f62e9
RD
29819SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29820 PyObject *resultobj = 0;
29821 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29822 bool 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_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29832 }
29833 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29834 {
29835 PyThreadState* __tstate = wxPyBeginAllowThreads();
29836 result = (bool)(arg1)->Ok();
29837 wxPyEndAllowThreads(__tstate);
29838 if (PyErr_Occurred()) SWIG_fail;
29839 }
29840 {
29841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29842 }
29843 return resultobj;
29844fail:
29845 return NULL;
29846}
29847
29848
29849SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29850 PyObject *resultobj = 0;
29851 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29852 bool arg2 ;
29853 void *argp1 = 0 ;
29854 int res1 = 0 ;
29855 bool val2 ;
29856 int ecode2 = 0 ;
29857 PyObject * obj0 = 0 ;
29858 PyObject * obj1 = 0 ;
29859 char * kwnames[] = {
29860 (char *) "self",(char *) "ok", NULL
29861 };
29862
29863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29865 if (!SWIG_IsOK(res1)) {
29866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29867 }
29868 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29869 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29870 if (!SWIG_IsOK(ecode2)) {
29871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29872 }
29873 arg2 = static_cast< bool >(val2);
29874 {
29875 PyThreadState* __tstate = wxPyBeginAllowThreads();
29876 (arg1)->SetOk(arg2);
29877 wxPyEndAllowThreads(__tstate);
29878 if (PyErr_Occurred()) SWIG_fail;
29879 }
29880 resultobj = SWIG_Py_Void();
29881 return resultobj;
29882fail:
29883 return NULL;
29884}
29885
29886
29887SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29888 PyObject *resultobj = 0;
29889 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29890 bool arg2 ;
29891 bool result;
29892 void *argp1 = 0 ;
29893 int res1 = 0 ;
29894 bool val2 ;
29895 int ecode2 = 0 ;
29896 PyObject * obj0 = 0 ;
29897 PyObject * obj1 = 0 ;
29898 char * kwnames[] = {
29899 (char *) "self",(char *) "interactive", NULL
29900 };
29901
29902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29904 if (!SWIG_IsOK(res1)) {
29905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29906 }
29907 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29908 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29909 if (!SWIG_IsOK(ecode2)) {
29910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29911 }
29912 arg2 = static_cast< bool >(val2);
29913 {
29914 PyThreadState* __tstate = wxPyBeginAllowThreads();
29915 result = (bool)(arg1)->Print(arg2);
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
29919 {
29920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29921 }
29922 return resultobj;
29923fail:
29924 return NULL;
d55e5bfc
RD
29925}
29926
29927
554f62e9
RD
29928SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29929 PyObject *resultobj = 0;
29930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29931 void *argp1 = 0 ;
29932 int res1 = 0 ;
29933 PyObject *swig_obj[1] ;
29934
29935 if (!args) SWIG_fail;
29936 swig_obj[0] = args;
29937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29938 if (!SWIG_IsOK(res1)) {
29939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29940 }
29941 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29942 {
29943 PyThreadState* __tstate = wxPyBeginAllowThreads();
29944 (arg1)->DetermineScaling();
29945 wxPyEndAllowThreads(__tstate);
29946 if (PyErr_Occurred()) SWIG_fail;
29947 }
29948 resultobj = SWIG_Py_Void();
29949 return resultobj;
29950fail:
29951 return NULL;
d55e5bfc
RD
29952}
29953
29954
554f62e9
RD
29955SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29956 PyObject *obj;
29957 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29958 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29959 return SWIG_Py_Void();
d55e5bfc
RD
29960}
29961
554f62e9
RD
29962SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29963 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
29964}
29965
554f62e9
RD
29966SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29967 PyObject *resultobj = 0;
29968 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29969 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29970 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29971 wxPyPrintPreview *result = 0 ;
29972 int res1 = 0 ;
29973 int res2 = 0 ;
29974 void *argp3 = 0 ;
29975 int res3 = 0 ;
29976
29977 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29978 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29979 if (!SWIG_IsOK(res1)) {
29980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29981 }
29982 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29983 if (!SWIG_IsOK(res2)) {
29984 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29985 }
29986 if (swig_obj[2]) {
29987 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29988 if (!SWIG_IsOK(res3)) {
29989 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
d55e5bfc 29990 }
554f62e9
RD
29991 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29992 }
29993 {
29994 if (!wxPyCheckForApp()) SWIG_fail;
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30001 return resultobj;
30002fail:
30003 return NULL;
30004}
30005
30006
30007SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30008 PyObject *resultobj = 0;
30009 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30010 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30011 wxPrintData *arg3 = (wxPrintData *) 0 ;
30012 wxPyPrintPreview *result = 0 ;
30013 int res1 = 0 ;
30014 int res2 = 0 ;
30015 void *argp3 = 0 ;
30016 int res3 = 0 ;
30017
30018 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30019 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30020 if (!SWIG_IsOK(res1)) {
30021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30022 }
30023 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30024 if (!SWIG_IsOK(res2)) {
30025 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30026 }
30027 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30028 if (!SWIG_IsOK(res3)) {
30029 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30030 }
30031 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30032 {
30033 if (!wxPyCheckForApp()) SWIG_fail;
30034 PyThreadState* __tstate = wxPyBeginAllowThreads();
30035 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30036 wxPyEndAllowThreads(__tstate);
30037 if (PyErr_Occurred()) SWIG_fail;
30038 }
30039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30040 return resultobj;
30041fail:
30042 return NULL;
d55e5bfc
RD
30043}
30044
30045
554f62e9
RD
30046SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30047 int argc;
30048 PyObject *argv[4];
30049
30050 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30051 --argc;
30052 if ((argc >= 2) && (argc <= 3)) {
30053 int _v = 0;
30054 if (argc > 2) {
30055 {
30056 void *vptr = 0;
30057 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30058 _v = SWIG_CheckState(res);
30059 }
30060 if (!_v) goto check_1;
d55e5bfc 30061 }
554f62e9
RD
30062 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30063 }
30064check_1:
30065
30066 if (argc == 3) {
30067 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30068 }
30069
30070fail:
30071 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30072 return NULL;
30073}
30074
30075
30076SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30077 PyObject *resultobj = 0;
30078 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30079 PyObject *arg2 = (PyObject *) 0 ;
30080 PyObject *arg3 = (PyObject *) 0 ;
30081 void *argp1 = 0 ;
30082 int res1 = 0 ;
30083 PyObject * obj0 = 0 ;
30084 PyObject * obj1 = 0 ;
30085 PyObject * obj2 = 0 ;
30086 char * kwnames[] = {
30087 (char *) "self",(char *) "self",(char *) "_class", NULL
30088 };
30089
30090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30092 if (!SWIG_IsOK(res1)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30094 }
30095 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30096 arg2 = obj1;
30097 arg3 = obj2;
30098 {
30099 PyThreadState* __tstate = wxPyBeginAllowThreads();
30100 (arg1)->_setCallbackInfo(arg2,arg3);
30101 wxPyEndAllowThreads(__tstate);
30102 if (PyErr_Occurred()) SWIG_fail;
30103 }
30104 resultobj = SWIG_Py_Void();
30105 return resultobj;
30106fail:
30107 return NULL;
30108}
30109
30110
30111SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30112 PyObject *obj;
30113 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30115 return SWIG_Py_Void();
30116}
30117
30118SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30119 return SWIG_Python_InitShadowInstance(args);
30120}
30121
30122SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30123 PyObject *resultobj = 0;
30124 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30125 wxFrame *arg2 = (wxFrame *) 0 ;
30126 wxString *arg3 = 0 ;
30127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30129 wxSize const &arg5_defvalue = wxDefaultSize ;
30130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30131 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30132 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30133 wxString *arg7 = (wxString *) &arg7_defvalue ;
30134 wxPyPreviewFrame *result = 0 ;
30135 void *argp1 = 0 ;
30136 int res1 = 0 ;
30137 void *argp2 = 0 ;
30138 int res2 = 0 ;
30139 bool temp3 = false ;
30140 wxPoint temp4 ;
30141 wxSize temp5 ;
30142 long val6 ;
30143 int ecode6 = 0 ;
30144 bool temp7 = false ;
30145 PyObject * obj0 = 0 ;
30146 PyObject * obj1 = 0 ;
30147 PyObject * obj2 = 0 ;
30148 PyObject * obj3 = 0 ;
30149 PyObject * obj4 = 0 ;
30150 PyObject * obj5 = 0 ;
30151 PyObject * obj6 = 0 ;
30152 char * kwnames[] = {
30153 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30154 };
30155
30156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30158 if (!SWIG_IsOK(res1)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30160 }
30161 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30162 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30163 if (!SWIG_IsOK(res2)) {
30164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30165 }
30166 arg2 = reinterpret_cast< wxFrame * >(argp2);
30167 {
30168 arg3 = wxString_in_helper(obj2);
30169 if (arg3 == NULL) SWIG_fail;
30170 temp3 = true;
30171 }
30172 if (obj3) {
d55e5bfc 30173 {
554f62e9
RD
30174 arg4 = &temp4;
30175 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 30176 }
554f62e9
RD
30177 }
30178 if (obj4) {
d55e5bfc 30179 {
554f62e9
RD
30180 arg5 = &temp5;
30181 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30182 }
554f62e9
RD
30183 }
30184 if (obj5) {
30185 ecode6 = SWIG_AsVal_long(obj5, &val6);
30186 if (!SWIG_IsOK(ecode6)) {
30187 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30188 }
30189 arg6 = static_cast< long >(val6);
30190 }
30191 if (obj6) {
d55e5bfc 30192 {
554f62e9
RD
30193 arg7 = wxString_in_helper(obj6);
30194 if (arg7 == NULL) SWIG_fail;
30195 temp7 = true;
d55e5bfc 30196 }
554f62e9
RD
30197 }
30198 {
30199 if (!wxPyCheckForApp()) SWIG_fail;
30200 PyThreadState* __tstate = wxPyBeginAllowThreads();
30201 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30202 wxPyEndAllowThreads(__tstate);
30203 if (PyErr_Occurred()) SWIG_fail;
30204 }
30205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30206 {
30207 if (temp3)
30208 delete arg3;
30209 }
30210 {
30211 if (temp7)
30212 delete arg7;
30213 }
30214 return resultobj;
30215fail:
30216 {
30217 if (temp3)
30218 delete arg3;
30219 }
30220 {
30221 if (temp7)
30222 delete arg7;
30223 }
30224 return NULL;
30225}
30226
30227
30228SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30229 PyObject *resultobj = 0;
30230 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30231 PyObject *arg2 = (PyObject *) 0 ;
30232 PyObject *arg3 = (PyObject *) 0 ;
30233 void *argp1 = 0 ;
30234 int res1 = 0 ;
30235 PyObject * obj0 = 0 ;
30236 PyObject * obj1 = 0 ;
30237 PyObject * obj2 = 0 ;
30238 char * kwnames[] = {
30239 (char *) "self",(char *) "self",(char *) "_class", NULL
30240 };
30241
30242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30244 if (!SWIG_IsOK(res1)) {
30245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30246 }
30247 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30248 arg2 = obj1;
30249 arg3 = obj2;
30250 {
30251 PyThreadState* __tstate = wxPyBeginAllowThreads();
30252 (arg1)->_setCallbackInfo(arg2,arg3);
30253 wxPyEndAllowThreads(__tstate);
30254 if (PyErr_Occurred()) SWIG_fail;
30255 }
30256 resultobj = SWIG_Py_Void();
30257 return resultobj;
30258fail:
30259 return NULL;
30260}
30261
30262
30263SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30264 PyObject *resultobj = 0;
30265 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30266 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30267 void *argp1 = 0 ;
30268 int res1 = 0 ;
30269 void *argp2 = 0 ;
30270 int res2 = 0 ;
30271 PyObject * obj0 = 0 ;
30272 PyObject * obj1 = 0 ;
30273 char * kwnames[] = {
30274 (char *) "self",(char *) "canvas", NULL
30275 };
30276
30277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30279 if (!SWIG_IsOK(res1)) {
30280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30281 }
30282 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30283 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30284 if (!SWIG_IsOK(res2)) {
30285 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30286 }
30287 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30288 {
30289 PyThreadState* __tstate = wxPyBeginAllowThreads();
30290 (arg1)->SetPreviewCanvas(arg2);
30291 wxPyEndAllowThreads(__tstate);
30292 if (PyErr_Occurred()) SWIG_fail;
30293 }
30294 resultobj = SWIG_Py_Void();
30295 return resultobj;
30296fail:
30297 return NULL;
30298}
30299
30300
30301SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30302 PyObject *resultobj = 0;
30303 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30304 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30305 void *argp1 = 0 ;
30306 int res1 = 0 ;
30307 void *argp2 = 0 ;
30308 int res2 = 0 ;
30309 PyObject * obj0 = 0 ;
30310 PyObject * obj1 = 0 ;
30311 char * kwnames[] = {
30312 (char *) "self",(char *) "bar", NULL
30313 };
30314
30315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30317 if (!SWIG_IsOK(res1)) {
30318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30319 }
30320 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30321 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30322 if (!SWIG_IsOK(res2)) {
30323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30324 }
30325 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 (arg1)->SetControlBar(arg2);
30329 wxPyEndAllowThreads(__tstate);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
30332 resultobj = SWIG_Py_Void();
30333 return resultobj;
30334fail:
30335 return NULL;
d55e5bfc
RD
30336}
30337
30338
554f62e9
RD
30339SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30340 PyObject *resultobj = 0;
30341 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30342 void *argp1 = 0 ;
30343 int res1 = 0 ;
30344 PyObject *swig_obj[1] ;
30345
30346 if (!args) SWIG_fail;
30347 swig_obj[0] = args;
30348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30349 if (!SWIG_IsOK(res1)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30351 }
30352 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30353 {
30354 PyThreadState* __tstate = wxPyBeginAllowThreads();
30355 (arg1)->Initialize();
30356 wxPyEndAllowThreads(__tstate);
30357 if (PyErr_Occurred()) SWIG_fail;
30358 }
30359 resultobj = SWIG_Py_Void();
30360 return resultobj;
30361fail:
30362 return NULL;
d55e5bfc
RD
30363}
30364
30365
554f62e9
RD
30366SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30367 PyObject *resultobj = 0;
30368 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30369 void *argp1 = 0 ;
30370 int res1 = 0 ;
30371 PyObject *swig_obj[1] ;
30372
30373 if (!args) SWIG_fail;
30374 swig_obj[0] = args;
30375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30376 if (!SWIG_IsOK(res1)) {
30377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30378 }
30379 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30380 {
30381 PyThreadState* __tstate = wxPyBeginAllowThreads();
30382 (arg1)->CreateCanvas();
30383 wxPyEndAllowThreads(__tstate);
30384 if (PyErr_Occurred()) SWIG_fail;
30385 }
30386 resultobj = SWIG_Py_Void();
30387 return resultobj;
30388fail:
30389 return NULL;
caef1a4d
RD
30390}
30391
30392
554f62e9
RD
30393SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30394 PyObject *resultobj = 0;
30395 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30396 void *argp1 = 0 ;
30397 int res1 = 0 ;
30398 PyObject *swig_obj[1] ;
30399
30400 if (!args) SWIG_fail;
30401 swig_obj[0] = args;
30402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30403 if (!SWIG_IsOK(res1)) {
30404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30405 }
30406 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30407 {
30408 PyThreadState* __tstate = wxPyBeginAllowThreads();
30409 (arg1)->CreateControlBar();
30410 wxPyEndAllowThreads(__tstate);
30411 if (PyErr_Occurred()) SWIG_fail;
30412 }
30413 resultobj = SWIG_Py_Void();
30414 return resultobj;
30415fail:
30416 return NULL;
30417}
30418
30419
30420SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30421 PyObject *obj;
30422 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30423 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30424 return SWIG_Py_Void();
30425}
30426
30427SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30428 return SWIG_Python_InitShadowInstance(args);
30429}
30430
30431SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30432 PyObject *resultobj = 0;
30433 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30434 long arg2 ;
30435 wxWindow *arg3 = (wxWindow *) 0 ;
30436 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30437 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30438 wxSize const &arg5_defvalue = wxDefaultSize ;
30439 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30440 long arg6 = (long) 0 ;
30441 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30442 wxString *arg7 = (wxString *) &arg7_defvalue ;
30443 wxPyPreviewControlBar *result = 0 ;
30444 void *argp1 = 0 ;
30445 int res1 = 0 ;
30446 long val2 ;
30447 int ecode2 = 0 ;
30448 void *argp3 = 0 ;
30449 int res3 = 0 ;
30450 wxPoint temp4 ;
30451 wxSize temp5 ;
30452 long val6 ;
30453 int ecode6 = 0 ;
30454 bool temp7 = false ;
30455 PyObject * obj0 = 0 ;
30456 PyObject * obj1 = 0 ;
30457 PyObject * obj2 = 0 ;
30458 PyObject * obj3 = 0 ;
30459 PyObject * obj4 = 0 ;
30460 PyObject * obj5 = 0 ;
30461 PyObject * obj6 = 0 ;
30462 char * kwnames[] = {
30463 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30464 };
30465
30466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30468 if (!SWIG_IsOK(res1)) {
30469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30470 }
30471 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30472 ecode2 = SWIG_AsVal_long(obj1, &val2);
30473 if (!SWIG_IsOK(ecode2)) {
30474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30475 }
30476 arg2 = static_cast< long >(val2);
30477 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30478 if (!SWIG_IsOK(res3)) {
30479 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30480 }
30481 arg3 = reinterpret_cast< wxWindow * >(argp3);
30482 if (obj3) {
8d38bd1d 30483 {
554f62e9
RD
30484 arg4 = &temp4;
30485 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 30486 }
554f62e9
RD
30487 }
30488 if (obj4) {
d55e5bfc 30489 {
554f62e9
RD
30490 arg5 = &temp5;
30491 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30492 }
554f62e9
RD
30493 }
30494 if (obj5) {
30495 ecode6 = SWIG_AsVal_long(obj5, &val6);
30496 if (!SWIG_IsOK(ecode6)) {
30497 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30498 }
30499 arg6 = static_cast< long >(val6);
30500 }
30501 if (obj6) {
d55e5bfc 30502 {
554f62e9
RD
30503 arg7 = wxString_in_helper(obj6);
30504 if (arg7 == NULL) SWIG_fail;
30505 temp7 = true;
d55e5bfc 30506 }
554f62e9
RD
30507 }
30508 {
30509 if (!wxPyCheckForApp()) SWIG_fail;
30510 PyThreadState* __tstate = wxPyBeginAllowThreads();
30511 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30512 wxPyEndAllowThreads(__tstate);
30513 if (PyErr_Occurred()) SWIG_fail;
30514 }
30515 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30516 {
30517 if (temp7)
30518 delete arg7;
30519 }
30520 return resultobj;
30521fail:
30522 {
30523 if (temp7)
30524 delete arg7;
30525 }
30526 return NULL;
30527}
30528
30529
30530SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30531 PyObject *resultobj = 0;
30532 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30533 PyObject *arg2 = (PyObject *) 0 ;
30534 PyObject *arg3 = (PyObject *) 0 ;
30535 void *argp1 = 0 ;
30536 int res1 = 0 ;
30537 PyObject * obj0 = 0 ;
30538 PyObject * obj1 = 0 ;
30539 PyObject * obj2 = 0 ;
30540 char * kwnames[] = {
30541 (char *) "self",(char *) "self",(char *) "_class", NULL
30542 };
30543
30544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30546 if (!SWIG_IsOK(res1)) {
30547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30548 }
30549 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30550 arg2 = obj1;
30551 arg3 = obj2;
30552 {
30553 PyThreadState* __tstate = wxPyBeginAllowThreads();
30554 (arg1)->_setCallbackInfo(arg2,arg3);
30555 wxPyEndAllowThreads(__tstate);
30556 if (PyErr_Occurred()) SWIG_fail;
30557 }
30558 resultobj = SWIG_Py_Void();
30559 return resultobj;
30560fail:
30561 return NULL;
30562}
30563
30564
30565SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30566 PyObject *resultobj = 0;
30567 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30568 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30569 void *argp1 = 0 ;
30570 int res1 = 0 ;
30571 void *argp2 = 0 ;
30572 int res2 = 0 ;
30573 PyObject * obj0 = 0 ;
30574 PyObject * obj1 = 0 ;
30575 char * kwnames[] = {
30576 (char *) "self",(char *) "preview", NULL
30577 };
30578
30579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30581 if (!SWIG_IsOK(res1)) {
30582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30583 }
30584 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30585 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30586 if (!SWIG_IsOK(res2)) {
30587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30588 }
30589 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30590 {
30591 PyThreadState* __tstate = wxPyBeginAllowThreads();
30592 (arg1)->SetPrintPreview(arg2);
30593 wxPyEndAllowThreads(__tstate);
30594 if (PyErr_Occurred()) SWIG_fail;
30595 }
30596 resultobj = SWIG_Py_Void();
30597 return resultobj;
30598fail:
30599 return NULL;
d55e5bfc
RD
30600}
30601
30602
554f62e9
RD
30603SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30604 PyObject *resultobj = 0;
30605 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30606 void *argp1 = 0 ;
30607 int res1 = 0 ;
30608 PyObject *swig_obj[1] ;
30609
30610 if (!args) SWIG_fail;
30611 swig_obj[0] = args;
30612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30613 if (!SWIG_IsOK(res1)) {
30614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30615 }
30616 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30617 {
30618 PyThreadState* __tstate = wxPyBeginAllowThreads();
30619 (arg1)->CreateButtons();
30620 wxPyEndAllowThreads(__tstate);
30621 if (PyErr_Occurred()) SWIG_fail;
30622 }
30623 resultobj = SWIG_Py_Void();
30624 return resultobj;
30625fail:
30626 return NULL;
30627}
30628
30629
30630SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30631 PyObject *resultobj = 0;
30632 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30633 int arg2 ;
30634 void *argp1 = 0 ;
30635 int res1 = 0 ;
30636 int val2 ;
30637 int ecode2 = 0 ;
30638 PyObject * obj0 = 0 ;
30639 PyObject * obj1 = 0 ;
30640 char * kwnames[] = {
30641 (char *) "self",(char *) "zoom", NULL
30642 };
30643
30644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30646 if (!SWIG_IsOK(res1)) {
30647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30648 }
30649 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30650 ecode2 = SWIG_AsVal_int(obj1, &val2);
30651 if (!SWIG_IsOK(ecode2)) {
30652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30653 }
30654 arg2 = static_cast< int >(val2);
30655 {
30656 PyThreadState* __tstate = wxPyBeginAllowThreads();
30657 (arg1)->SetZoomControl(arg2);
30658 wxPyEndAllowThreads(__tstate);
30659 if (PyErr_Occurred()) SWIG_fail;
30660 }
30661 resultobj = SWIG_Py_Void();
30662 return resultobj;
30663fail:
30664 return NULL;
caef1a4d
RD
30665}
30666
30667
554f62e9
RD
30668SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30669 PyObject *obj;
30670 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30671 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30672 return SWIG_Py_Void();
60d5fcc1
RD
30673}
30674
554f62e9
RD
30675SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30676 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
30677}
30678
d55e5bfc 30679static PyMethodDef SwigMethods[] = {
093d3ff1 30680 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30681 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
093d3ff1 30682 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30683 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
093d3ff1
RD
30684 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30685 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
554f62e9 30686 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
093d3ff1 30687 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30688 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
30689 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30691 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30692 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30693 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30694 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30695 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
093d3ff1 30696 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30697 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
093d3ff1 30698 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30699 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30700 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
093d3ff1
RD
30701 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30702 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
554f62e9 30703 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
093d3ff1
RD
30704 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30705 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30706 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
093d3ff1 30707 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30708 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
093d3ff1
RD
30709 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30710 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30711 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30712 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30713 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30714 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
093d3ff1 30715 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30716 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
f460c29d 30717 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
554f62e9
RD
30718 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30719 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
093d3ff1
RD
30720 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30722 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30723 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
093d3ff1 30724 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30725 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
093d3ff1
RD
30726 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30728 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
093d3ff1 30729 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30730 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 30731 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
30732 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30733 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30734 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
093d3ff1 30735 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30736 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
093d3ff1 30737 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30738 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
093d3ff1
RD
30739 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30741 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
093d3ff1
RD
30742 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30743 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30745 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30748 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
093d3ff1 30749 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30750 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
093d3ff1
RD
30751 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30752 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30754 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
554f62e9 30756 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
093d3ff1 30757 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30758 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
093d3ff1
RD
30759 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30760 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30761 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 30762 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30763 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 30764 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30765 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
093d3ff1
RD
30766 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30767 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 30768 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30769 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30770 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
093d3ff1
RD
30771 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
554f62e9 30774 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
093d3ff1 30775 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30776 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
093d3ff1
RD
30777 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30778 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
554f62e9 30779 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30780 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30782 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
093d3ff1 30783 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30784 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30785 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30786 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30787 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30788 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
093d3ff1 30789 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
554f62e9 30790 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
093d3ff1 30791 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30792 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
093d3ff1
RD
30793 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30794 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30795 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
093d3ff1
RD
30796 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30797 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30798 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30800 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30804 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30805 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
093d3ff1
RD
30806 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
554f62e9 30808 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
093d3ff1 30809 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30810 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
093d3ff1 30811 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30812 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30813 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
093d3ff1 30814 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30815 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
093d3ff1
RD
30816 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30818 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30819 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30821 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30822 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
093d3ff1
RD
30823 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30825 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30826 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
093d3ff1 30827 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30828 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
093d3ff1 30829 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30830 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
093d3ff1 30831 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30832 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
093d3ff1 30833 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30834 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
093d3ff1 30835 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30836 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
093d3ff1
RD
30837 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30838 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30839 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30840 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30842 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30843 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30844 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30845 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
093d3ff1 30846 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30847 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 30848 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30849 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
093d3ff1
RD
30850 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30851 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30857 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
093d3ff1 30858 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30859 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
093d3ff1
RD
30860 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30862 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30863 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
093d3ff1
RD
30864 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30866 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30867 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
093d3ff1 30868 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30869 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
093d3ff1 30870 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30871 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30872 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30874 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
093d3ff1 30875 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30876 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
093d3ff1 30877 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30878 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
093d3ff1 30879 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30880 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30881 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30883 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
093d3ff1 30884 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30885 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
093d3ff1 30886 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30887 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
093d3ff1 30888 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30889 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
093d3ff1 30890 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30891 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
093d3ff1 30892 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30893 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30894 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30896 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
093d3ff1 30897 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30898 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
093d3ff1 30899 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30900 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 30901 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30902 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
093d3ff1 30903 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30904 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30905 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
093d3ff1
RD
30906 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30907 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30908 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
554f62e9
RD
30910 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30911 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30912 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
093d3ff1
RD
30913 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
554f62e9 30917 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
093d3ff1 30918 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30919 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
093d3ff1
RD
30920 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30921 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30923 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30924 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30925 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
093d3ff1
RD
30926 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30928 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
093d3ff1 30929 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30930 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30931 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30932 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30933 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
093d3ff1 30934 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30935 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30936 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30937 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
30938 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30939 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
30942 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30946 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30947 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30948 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30949 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
70b7a5fe 30950 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30951 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30952 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30953 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 30955 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30956 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30957 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30958 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
093d3ff1
RD
30959 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30961 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30962 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30963 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
093d3ff1
RD
30964 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30965 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30966 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30967 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
093d3ff1 30968 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30969 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30970 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
093d3ff1 30971 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30972 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
093d3ff1
RD
30973 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30974 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30975 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30977 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30978 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
093d3ff1
RD
30979 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
30982 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 30984 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
554f62e9 30985 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
093d3ff1 30986 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30987 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
093d3ff1
RD
30988 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 30990 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30991 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 30992 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 30993 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
554f62e9
RD
30994 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30995 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30996 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
093d3ff1 30997 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30998 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30999 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31000 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
093d3ff1 31001 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31002 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
093d3ff1
RD
31003 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
554f62e9 31005 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31006 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31008 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31009 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31010 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31011 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31012 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
093d3ff1
RD
31013 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
554f62e9 31018 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
093d3ff1 31019 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31020 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
093d3ff1 31021 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31022 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
7449af73 31023 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31024 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31025 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31026 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
093d3ff1
RD
31027 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31030 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31031 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31032 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31037 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31038 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31039 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31040 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31041 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31042 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
554f62e9
RD
31043 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31044 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31045 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
093d3ff1 31046 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31047 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31048 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31050 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
093d3ff1 31051 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31052 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31053 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31054 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31055 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
093d3ff1
RD
31056 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31058 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31059 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31060 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
093d3ff1
RD
31061 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31063 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31064 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31066 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31067 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31068 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
093d3ff1 31069 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31070 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31071 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31072 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31073 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31074 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31075 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
093d3ff1
RD
31076 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31077 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31080 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
554f62e9 31083 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
093d3ff1 31084 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31085 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
093d3ff1 31086 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31087 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
7449af73 31088 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31089 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31091 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31092 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31094 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
093d3ff1 31095 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31096 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31097 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31098 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31099 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31100 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31101 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
093d3ff1
RD
31102 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31106 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31107 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31108 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31109 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31110 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31111 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
093d3ff1
RD
31112 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
554f62e9 31116 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
093d3ff1 31117 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31118 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
093d3ff1 31119 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31120 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
093d3ff1
RD
31121 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31123 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31124 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31125 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
093d3ff1 31126 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31127 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31128 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31129 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31130 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31131 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31132 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31133 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31134 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
093d3ff1 31135 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31136 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31138 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31139 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31140 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
093d3ff1 31141 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31142 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
093d3ff1 31143 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31144 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31145 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31146 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
093d3ff1
RD
31147 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31148 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31149 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31150 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31151 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
093d3ff1
RD
31152 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31154 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31155 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31159 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31160 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31161 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31162 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31163 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31164 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31165 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31166 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31167 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31168 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31169 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
093d3ff1
RD
31170 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31172 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31173 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31177 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31178 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31179 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31180 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31181 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31182 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31183 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
093d3ff1 31184 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
554f62e9 31185 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
093d3ff1 31186 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31187 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31188 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31190 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31191 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31195 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31196 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31197 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31198 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31199 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31200 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31201 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31202 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31203 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31204 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
554f62e9
RD
31205 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31206 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31207 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31208 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31209 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31210 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31211 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31212 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31213 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31214 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31215 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31216 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31217 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
093d3ff1
RD
31218 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31219 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31221 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31222 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31223 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31224 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31225 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31227 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31228 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31229 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
093d3ff1 31230 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31231 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
b9d6a5f3 31232 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31233 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
554f62e9 31234 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
093d3ff1 31235 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
554f62e9 31236 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
093d3ff1
RD
31237 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31238 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31239 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31240 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31241 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31242 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31243 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31244 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31245 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31246 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31247 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31248 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31249 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31250 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31251 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31252 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31253 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31254 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31255 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31256 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
093d3ff1
RD
31257 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31263 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31266 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31267 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
093d3ff1 31268 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 31269 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31270 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 31271 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
554f62e9
RD
31272 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31273 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31274 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
093d3ff1 31275 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31276 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31277 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
554f62e9
RD
31278 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31279 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31280 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31281 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31282 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31283 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31284 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31285 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31286 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31287 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
093d3ff1
RD
31288 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31289 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31292 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31294 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31295 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31296 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31301 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31302 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31303 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31304 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31305 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31306 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
093d3ff1
RD
31307 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31308 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 31309 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31310 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 31311 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
554f62e9
RD
31312 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31313 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31314 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31315 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
093d3ff1 31316 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31317 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31318 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31319 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
093d3ff1
RD
31320 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31321 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31322 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31325 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31326 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31327 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
093d3ff1 31328 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
554f62e9 31329 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
093d3ff1 31330 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31331 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
093d3ff1 31332 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31333 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31334 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
093d3ff1
RD
31335 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31337 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
093d3ff1 31338 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31339 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
093d3ff1 31340 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31341 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
093d3ff1 31342 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31343 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31344 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
093d3ff1 31345 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 31346 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31347 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31348 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31349 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31350 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
b06b3e70 31351 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31352 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
093d3ff1 31353 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
554f62e9 31354 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31355 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
554f62e9 31357 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
093d3ff1 31358 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31359 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31360 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31361 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31362 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
093d3ff1 31363 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31364 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31365 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31366 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
093d3ff1 31367 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31368 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31369 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31370 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31371 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31372 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31373 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
093d3ff1 31374 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 31375 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
093d3ff1 31376 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
554f62e9 31377 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
093d3ff1 31378 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31379 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
093d3ff1 31380 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31381 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31382 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
093d3ff1
RD
31383 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31384 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31385 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31386 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
093d3ff1
RD
31387 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31391 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
093d3ff1 31392 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31393 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31394 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31395 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31396 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
093d3ff1
RD
31397 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31398 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31399 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
093d3ff1 31400 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 31401 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31402 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31403 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31404 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 31405 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31406 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31409 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31410 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31411 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31412 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
093d3ff1 31413 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31414 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31415 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31416 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31418 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
b06b3e70 31419 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31420 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 31421 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c32bde28 31422 { NULL, NULL, 0, NULL }
d55e5bfc
RD
31423};
31424
31425
31426/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31427
31428static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31429 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31430}
31431static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31432 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31433}
31434static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31435 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31436}
31437static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31438 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31439}
31440static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31441 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31442}
31443static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31444 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31445}
31446static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31447 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31448}
31449static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31450 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31451}
31452static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31453 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31454}
31455static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31456 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31457}
31458static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31459 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31460}
d55e5bfc
RD
31461static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31462 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31463}
2131d850
RD
31464static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31465 return (void *)((wxEvent *) ((wxPyEvent *) x));
31466}
d55e5bfc
RD
31467static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31468 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31469}
31470static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31471 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31472}
31473static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31474 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31475}
31476static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31477 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31478}
31479static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31480 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31481}
31482static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31483 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31484}
31485static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31486 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31487}
31488static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31489 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31490}
31491static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31492 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31493}
53aa7709
RD
31494static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31495 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31496}
2131d850
RD
31497static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31498 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31499}
d55e5bfc
RD
31500static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31501 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31502}
31503static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31504 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31505}
31506static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31507 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31508}
31509static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31510 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31511}
31512static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31513 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31514}
31515static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31516 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31517}
31518static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31519 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31520}
31521static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31522 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31523}
31524static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31525 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31526}
31527static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31528 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31529}
31530static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31531 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31532}
31533static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31534 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31535}
31536static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31537 return (void *)((wxEvent *) ((wxShowEvent *) x));
31538}
31539static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31540 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31541}
31542static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31543 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31544}
31545static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31546 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31547}
31548static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31549 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31550}
31551static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31552 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31553}
31554static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31555 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31556}
31557static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31558 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31559}
31560static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31561 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31562}
c1cb24a4
RD
31563static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31564 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31565}
d55e5bfc
RD
31566static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31567 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31568}
31569static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31570 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31571}
31572static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31573 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31574}
31575static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31576 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31577}
31578static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31579 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31580}
31581static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31582 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31583}
31584static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31585 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31586}
c1cb24a4
RD
31587static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31588 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31589}
d55e5bfc
RD
31590static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31591 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31592}
31593static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31594 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31595}
31596static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31597 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31598}
31599static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31600 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31601}
31602static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31603 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31604}
31605static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31606 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31607}
31608static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31609 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31610}
31611static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31612 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31613}
31614static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31615 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31616}
31617static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31618 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31619}
31620static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31621 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31622}
31623static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31624 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31625}
31626static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31627 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31628}
31629static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31630 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31631}
31632static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31633 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31634}
31635static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31636 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31637}
31638static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31639 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31640}
31641static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31642 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31643}
31644static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31645 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31646}
31647static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31648 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31649}
31650static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31651 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31652}
31653static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31654 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31655}
31656static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31657 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31658}
31659static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31660 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31661}
31662static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31663 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31664}
31665static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31666 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31667}
31668static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31669 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31670}
31671static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31672 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31673}
31674static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31675 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31676}
31677static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31678 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31679}
31680static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31681 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31682}
31683static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31684 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31685}
31686static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31687 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31688}
31689static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31690 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31691}
5e483524
RD
31692static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31693 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
31694}
31695static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31696 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31697}
d55e5bfc
RD
31698static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31699 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31700}
31701static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31702 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31703}
31704static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31705 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31706}
c1cb24a4
RD
31707static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31708 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31709}
d55e5bfc
RD
31710static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31711 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31712}
31713static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31714 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31715}
31716static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31717 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31718}
31719static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31720 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31721}
31722static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31723 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31724}
31725static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31726 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31727}
31728static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31729 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31730}
31731static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31732 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31733}
31734static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31735 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31736}
31737static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31738 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31739}
31740static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31741 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31742}
31743static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31745}
31746static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31748}
31749static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31750 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31751}
31752static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31753 return (void *)((wxObject *) ((wxSizerItem *) x));
31754}
31755static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31756 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31757}
31758static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31759 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31760}
31761static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31762 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31763}
31764static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31765 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31766}
31767static void *_p_wxSizerTo_p_wxObject(void *x) {
31768 return (void *)((wxObject *) ((wxSizer *) x));
31769}
31770static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31771 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31772}
31773static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31774 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31775}
31776static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31778}
31779static void *_p_wxEventTo_p_wxObject(void *x) {
31780 return (void *)((wxObject *) ((wxEvent *) x));
31781}
31782static void *_p_wxFontDataTo_p_wxObject(void *x) {
31783 return (void *)((wxObject *) ((wxFontData *) x));
31784}
31785static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31786 return (void *)((wxObject *) ((wxPrintData *) x));
31787}
31788static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31789 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31790}
31791static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31792 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31793}
31794static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31795 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31796}
31797static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31798 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31799}
5e483524
RD
31800static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31801 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
31802}
31803static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31805}
2131d850
RD
31806static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31807 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31808}
d55e5bfc
RD
31809static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31810 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31811}
31812static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31813 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31814}
31815static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31816 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31817}
31818static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31819 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31820}
31821static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31822 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31823}
31824static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31825 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31826}
31827static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31829}
31830static void *_p_wxControlTo_p_wxObject(void *x) {
31831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31832}
31833static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31834 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31835}
31836static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31837 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31838}
31839static void *_p_wxFSFileTo_p_wxObject(void *x) {
31840 return (void *)((wxObject *) ((wxFSFile *) x));
31841}
31842static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31843 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31844}
31845static void *_p_wxPySizerTo_p_wxObject(void *x) {
31846 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31847}
31848static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31850}
31851static void *_p_wxColourDataTo_p_wxObject(void *x) {
31852 return (void *)((wxObject *) ((wxColourData *) x));
31853}
31854static void *_p_wxPyEventTo_p_wxObject(void *x) {
31855 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31856}
31857static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31858 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31859}
31860static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31862}
31863static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31865}
31866static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31868}
31869static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31871}
31872static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31874}
31875static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31877}
c1cb24a4
RD
31878static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31880}
d55e5bfc
RD
31881static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31883}
31884static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31886}
31887static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31889}
31890static void *_p_wxShowEventTo_p_wxObject(void *x) {
31891 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31892}
31893static void *_p_wxPrinterTo_p_wxObject(void *x) {
31894 return (void *)((wxObject *) ((wxPrinter *) x));
31895}
31896static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31897 return (void *)((wxObject *) ((wxMenuItem *) x));
31898}
53aa7709
RD
31899static void *_p_wxDateEventTo_p_wxObject(void *x) {
31900 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31901}
d55e5bfc
RD
31902static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31903 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31904}
31905static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31906 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31907}
31908static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31909 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31910}
31911static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31912 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31913}
31914static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31915 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31916}
31917static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31918 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31919}
31920static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31921 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31922}
31923static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31924 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31925}
d55e5bfc
RD
31926static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31927 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31928}
31929static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31930 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31931}
31932static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31933 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31934}
31935static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31936 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31937}
31938static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31939 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31940}
31941static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31942 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31943}
31944static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31945 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31946}
31947static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31948 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31949}
31950static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31951 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31952}
9d7dfdff
RD
31953static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31954 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31955}
d55e5bfc
RD
31956static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31957 return (void *)((wxObject *) ((wxImageHandler *) x));
31958}
9d7dfdff
RD
31959static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31960 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31961}
d55e5bfc
RD
31962static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31963 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31964}
31965static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31966 return (void *)((wxObject *) ((wxEvtHandler *) x));
31967}
31968static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31969 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31970}
31971static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31973}
31974static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31976}
62d32a5f
RD
31977static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31978 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31979}
d55e5bfc
RD
31980static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31981 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31982}
31983static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31985}
31986static void *_p_wxImageTo_p_wxObject(void *x) {
31987 return (void *)((wxObject *) ((wxImage *) x));
31988}
31989static void *_p_wxFrameTo_p_wxObject(void *x) {
31990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31991}
31992static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31993 return (void *)((wxObject *) ((wxPyPrintout *) x));
31994}
31995static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31996 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31997}
31998static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31999 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32000}
32001static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32003}
32004static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32006}
32007static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32008 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32009}
32010static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32011 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32012}
32013static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32014 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32015}
32016static void *_p_wxWindowTo_p_wxObject(void *x) {
32017 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32018}
32019static void *_p_wxMenuTo_p_wxObject(void *x) {
32020 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32021}
32022static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32024}
32025static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32027}
32028static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32030}
32031static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32033}
32034static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32036}
32037static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32039}
32040static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32042}
32043static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32045}
32046static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32048}
32049static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32051}
32052static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32054}
32055static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32057}
32058static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32060}
32061static void *_p_wxSashEventTo_p_wxObject(void *x) {
32062 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32063}
32064static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32065 return (void *)((wxObject *) ((wxPrintPreview *) x));
32066}
32067static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32068 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32069}
32070static void *_p_wxPanelTo_p_wxObject(void *x) {
32071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32072}
32073static void *_p_wxDialogTo_p_wxObject(void *x) {
32074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32075}
32076static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32078}
32079static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32081}
32082static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32084}
32085static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 32086 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
32087}
32088static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 32089 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
32090}
32091static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32092 return (void *)((wxObject *) ((wxFileSystem *) x));
32093}
32094static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32095 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32096}
32097static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32098 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32099}
32100static void *_p_wxPyAppTo_p_wxObject(void *x) {
32101 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32102}
32103static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32104 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32105}
32106static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32107 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32108}
32109static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32110 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32111}
32112static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32113 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32114}
32115static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32116 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32117}
32118static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32120}
32121static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32123}
32124static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32125 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32126}
32127static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32128 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32129}
32130static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32131 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32132}
32133static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32135}
32136static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32137 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32138}
32139static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32140 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32141}
32142static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32143 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32144}
32145static void *_p_wxValidatorTo_p_wxObject(void *x) {
32146 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32147}
32148static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32149 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32150}
32151static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32152 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32153}
32154static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32155 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32156}
32157static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32158 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32159}
32160static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32161 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32162}
32163static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32164 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32165}
32166static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32167 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32168}
32169static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32170 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32171}
32172static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32173 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32174}
32175static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32176 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32177}
32178static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32179 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32180}
32181static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32182 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32183}
d55e5bfc
RD
32184static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32185 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32186}
32187static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32188 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32189}
32190static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32191 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32192}
d55e5bfc
RD
32193static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32194 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32195}
32196static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32197 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32198}
c1cb24a4
RD
32199static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32200 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32201}
d55e5bfc
RD
32202static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32203 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32204}
32205static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32206 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32207}
32208static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32209 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32210}
32211static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32212 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32213}
c1cb24a4
RD
32214static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32215 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32216}
d55e5bfc
RD
32217static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32218 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32219}
32220static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32221 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32222}
32223static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32224 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32225}
32226static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32227 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32228}
32229static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32230 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32231}
32232static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32233 return (void *)((wxWindow *) ((wxMenuBar *) x));
32234}
32235static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32236 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32237}
32238static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32240}
32241static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32243}
c1cb24a4
RD
32244static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32246}
d55e5bfc
RD
32247static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32248 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32249}
32250static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32251 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32252}
32253static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32254 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32255}
32256static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32257 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32258}
32259static void *_p_wxPanelTo_p_wxWindow(void *x) {
32260 return (void *)((wxWindow *) ((wxPanel *) x));
32261}
32262static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32263 return (void *)((wxWindow *) ((wxStatusBar *) x));
32264}
d55e5bfc
RD
32265static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32266 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32267}
32268static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32269 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32270}
32271static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32272 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32273}
32274static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32275 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32276}
32277static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32278 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32279}
32280static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32281 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32282}
32283static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32284 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32285}
32286static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32287 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32288}
32289static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32290 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32291}
32292static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32293 return (void *)((wxWindow *) ((wxSashWindow *) x));
32294}
c1cb24a4
RD
32295static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32296 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32297}
d55e5bfc
RD
32298static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32299 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32300}
32301static void *_p_wxControlTo_p_wxWindow(void *x) {
32302 return (void *)((wxWindow *) ((wxControl *) x));
32303}
32304static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32305 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32306}
32307static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32308 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32309}
32310static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32311 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32312}
32313static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32314 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32315}
32316static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32317 return (void *)((wxWindow *) ((wxPyWindow *) x));
32318}
32319static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32320 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32321}
32322static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32323 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32324}
32325static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32326 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32327}
32328static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32329 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32330}
32331static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32332 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32333}
32334static void *_p_wxFrameTo_p_wxWindow(void *x) {
32335 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32336}
32337static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32338 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32339}
32340static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32341 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32342}
32343static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32344 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32345}
32346static void *_p_wxDialogTo_p_wxWindow(void *x) {
32347 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32348}
d55e5bfc
RD
32349static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32350 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32351}
32352static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32353 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32354}
32355static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32356 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32357}
32358static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32359 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32360}
32361static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32362 return (void *)((wxDialog *) ((wxColourDialog *) x));
32363}
32364static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32365 return (void *)((wxDialog *) ((wxDirDialog *) x));
32366}
32367static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32368 return (void *)((wxDialog *) ((wxFontDialog *) x));
32369}
d55e5bfc
RD
32370static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32371 return (void *)((wxDialog *) ((wxFileDialog *) x));
32372}
32373static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32374 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32375}
32376static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32377 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32378}
32379static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32380 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32381}
c1cb24a4
RD
32382static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32383 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32384}
d55e5bfc
RD
32385static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32386 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32387}
32388static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32389 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32390}
32391static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32392 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32393}
32394static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32395 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32396}
32397static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32398 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32399}
32400static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32401 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32402}
32403static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32404 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32405}
32406static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32407 return (void *)((wxPanel *) ((wxPyPanel *) x));
32408}
32409static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32410 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32411}
32412static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32413 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32414}
32415static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32416 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32417}
32418static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32419 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32420}
32421static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32422 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32423}
32424static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32425 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32426}
53aa7709
RD
32427static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32428 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32429}
d55e5bfc
RD
32430static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32431 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32432}
2131d850
RD
32433static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32434 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32435}
d55e5bfc
RD
32436static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32437 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32438}
32439static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32440 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32441}
32442static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32443 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32444}
32445static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32446 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32447}
32448static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32449 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32450}
32451static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32452 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32453}
32454static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32455 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32456}
32457static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32458 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32459}
f460c29d 32460static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
554f62e9
RD
32461static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32462static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
32463static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32464static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32465static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32466static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32467static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32468static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32469static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32470static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32471static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32472static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32473static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
32474static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32475static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9 32476static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
32477static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32478static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32479static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
554f62e9
RD
32480static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32481static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32482static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
554f62e9
RD
32483static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32484static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32485static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32486static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32487static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32488static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32489static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32490static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32491static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32492static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32493static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32494static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32495static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32496static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32497static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32498static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32499static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32500static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32501static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32502static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32503static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32504static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32505static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32506static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32507static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32508static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32509static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32510static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32511static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32512static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32513static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32514static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32515static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32516static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32517static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32518static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32519static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32520static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32521static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32522static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32523static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32524static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32525static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32526static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32527static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 32528static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
554f62e9
RD
32529static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32530static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32531static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32532static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32533static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32534static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32535static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32536static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32537static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32538static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32539static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32540static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32541static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32542static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32543static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32544static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32545static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32546static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32547static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32548static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32549static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32550static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32551static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32552static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32553static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32554static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
32555static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32556static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32557static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32558static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32559static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32560static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32561static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32562static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32563static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32564static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
2131d850 32565static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
32566static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32567static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32568static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32569static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32570static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32571static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32572static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32573static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32574static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32575static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32576static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32577static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32578static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32579static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32580static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32581static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32582static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32583static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32584static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32585static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32586static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32587static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32588static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32589static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32590static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32591static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32592static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32593static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32594static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32595static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32596static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32597static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32598static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32599static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32600static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32601static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32602static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32603static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32604static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32605static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32606static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32607static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32608static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32609static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32610static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32611static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32612static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32613static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32614static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32615static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32616static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32617static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32618static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32619static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32620static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32621static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32622static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
7449af73
RD
32623
32624static swig_type_info *swig_type_initial[] = {
f460c29d 32625 &_swigt__p_bool,
7449af73
RD
32626 &_swigt__p_char,
32627 &_swigt__p_form_ops_t,
32628 &_swigt__p_int,
32629 &_swigt__p_unsigned_char,
32630 &_swigt__p_unsigned_int,
32631 &_swigt__p_unsigned_long,
32632 &_swigt__p_wxANIHandler,
32633 &_swigt__p_wxAcceleratorTable,
32634 &_swigt__p_wxActivateEvent,
32635 &_swigt__p_wxArrayInt,
32636 &_swigt__p_wxBMPHandler,
32637 &_swigt__p_wxBitmap,
32638 &_swigt__p_wxBoxSizer,
32639 &_swigt__p_wxCURHandler,
32640 &_swigt__p_wxCalculateLayoutEvent,
32641 &_swigt__p_wxChildFocusEvent,
2131d850 32642 &_swigt__p_wxClipboardTextEvent,
7449af73
RD
32643 &_swigt__p_wxCloseEvent,
32644 &_swigt__p_wxColour,
32645 &_swigt__p_wxColourData,
32646 &_swigt__p_wxColourDialog,
32647 &_swigt__p_wxCommandEvent,
32648 &_swigt__p_wxContextMenuEvent,
32649 &_swigt__p_wxControl,
32650 &_swigt__p_wxControlWithItems,
32651 &_swigt__p_wxDC,
32652 &_swigt__p_wxDateEvent,
32653 &_swigt__p_wxDialog,
32654 &_swigt__p_wxDirDialog,
32655 &_swigt__p_wxDisplayChangedEvent,
32656 &_swigt__p_wxDropFilesEvent,
32657 &_swigt__p_wxDuplexMode,
32658 &_swigt__p_wxEraseEvent,
32659 &_swigt__p_wxEvent,
32660 &_swigt__p_wxEvtHandler,
32661 &_swigt__p_wxFSFile,
32662 &_swigt__p_wxFileDialog,
32663 &_swigt__p_wxFileSystem,
32664 &_swigt__p_wxFindDialogEvent,
32665 &_swigt__p_wxFindReplaceData,
32666 &_swigt__p_wxFindReplaceDialog,
32667 &_swigt__p_wxFlexGridSizer,
32668 &_swigt__p_wxFocusEvent,
32669 &_swigt__p_wxFont,
32670 &_swigt__p_wxFontData,
32671 &_swigt__p_wxFontDialog,
32672 &_swigt__p_wxFrame,
32673 &_swigt__p_wxGBSizerItem,
32674 &_swigt__p_wxGIFHandler,
32675 &_swigt__p_wxGridBagSizer,
32676 &_swigt__p_wxGridSizer,
e9d6f3a4 32677 &_swigt__p_wxHtmlLinkInfo,
7449af73
RD
32678 &_swigt__p_wxICOHandler,
32679 &_swigt__p_wxIcon,
32680 &_swigt__p_wxIconBundle,
32681 &_swigt__p_wxIconizeEvent,
32682 &_swigt__p_wxIdleEvent,
32683 &_swigt__p_wxImage,
32684 &_swigt__p_wxImageHandler,
32685 &_swigt__p_wxIndividualLayoutConstraint,
32686 &_swigt__p_wxInitDialogEvent,
32687 &_swigt__p_wxJPEGHandler,
32688 &_swigt__p_wxKeyEvent,
32689 &_swigt__p_wxLayoutAlgorithm,
32690 &_swigt__p_wxLayoutConstraints,
32691 &_swigt__p_wxMDIChildFrame,
32692 &_swigt__p_wxMDIClientWindow,
32693 &_swigt__p_wxMDIParentFrame,
32694 &_swigt__p_wxMaximizeEvent,
32695 &_swigt__p_wxMenu,
32696 &_swigt__p_wxMenuBar,
32697 &_swigt__p_wxMenuEvent,
32698 &_swigt__p_wxMenuItem,
32699 &_swigt__p_wxMessageDialog,
32700 &_swigt__p_wxMiniFrame,
32701 &_swigt__p_wxMouseCaptureChangedEvent,
32702 &_swigt__p_wxMouseEvent,
32703 &_swigt__p_wxMoveEvent,
32704 &_swigt__p_wxMultiChoiceDialog,
32705 &_swigt__p_wxNavigationKeyEvent,
32706 &_swigt__p_wxNcPaintEvent,
32707 &_swigt__p_wxNotifyEvent,
32708 &_swigt__p_wxObject,
32709 &_swigt__p_wxPCXHandler,
32710 &_swigt__p_wxPNGHandler,
32711 &_swigt__p_wxPNMHandler,
32712 &_swigt__p_wxPageSetupDialog,
32713 &_swigt__p_wxPageSetupDialogData,
32714 &_swigt__p_wxPaintEvent,
32715 &_swigt__p_wxPaletteChangedEvent,
32716 &_swigt__p_wxPanel,
32717 &_swigt__p_wxPaperSize,
32718 &_swigt__p_wxPasswordEntryDialog,
32719 &_swigt__p_wxPoint,
32720 &_swigt__p_wxPopupWindow,
32721 &_swigt__p_wxPreviewCanvas,
32722 &_swigt__p_wxPreviewControlBar,
32723 &_swigt__p_wxPreviewFrame,
32724 &_swigt__p_wxPrintData,
32725 &_swigt__p_wxPrintDialog,
32726 &_swigt__p_wxPrintDialogData,
32727 &_swigt__p_wxPrintPreview,
32728 &_swigt__p_wxPrinter,
32729 &_swigt__p_wxProgressDialog,
32730 &_swigt__p_wxPyApp,
32731 &_swigt__p_wxPyCommandEvent,
32732 &_swigt__p_wxPyEvent,
32733 &_swigt__p_wxPyHtmlListBox,
32734 &_swigt__p_wxPyImageHandler,
32735 &_swigt__p_wxPyPanel,
32736 &_swigt__p_wxPyPopupTransientWindow,
32737 &_swigt__p_wxPyPreviewControlBar,
32738 &_swigt__p_wxPyPreviewFrame,
32739 &_swigt__p_wxPyPrintPreview,
32740 &_swigt__p_wxPyPrintout,
32741 &_swigt__p_wxPyScrolledWindow,
32742 &_swigt__p_wxPySizer,
32743 &_swigt__p_wxPyTaskBarIcon,
32744 &_swigt__p_wxPyVListBox,
32745 &_swigt__p_wxPyVScrolledWindow,
32746 &_swigt__p_wxPyValidator,
32747 &_swigt__p_wxPyWindow,
32748 &_swigt__p_wxQueryLayoutInfoEvent,
32749 &_swigt__p_wxQueryNewPaletteEvent,
32750 &_swigt__p_wxRect,
32751 &_swigt__p_wxRegion,
32752 &_swigt__p_wxSashEvent,
32753 &_swigt__p_wxSashLayoutWindow,
32754 &_swigt__p_wxSashWindow,
32755 &_swigt__p_wxScrollEvent,
32756 &_swigt__p_wxScrollWinEvent,
32757 &_swigt__p_wxScrolledWindow,
32758 &_swigt__p_wxSetCursorEvent,
32759 &_swigt__p_wxShowEvent,
32760 &_swigt__p_wxSingleChoiceDialog,
32761 &_swigt__p_wxSize,
32762 &_swigt__p_wxSizeEvent,
32763 &_swigt__p_wxSizer,
32764 &_swigt__p_wxSizerItem,
32765 &_swigt__p_wxSplashScreen,
32766 &_swigt__p_wxSplashScreenWindow,
32767 &_swigt__p_wxSplitterEvent,
32768 &_swigt__p_wxSplitterWindow,
32769 &_swigt__p_wxStaticBoxSizer,
32770 &_swigt__p_wxStatusBar,
32771 &_swigt__p_wxStdDialogButtonSizer,
32772 &_swigt__p_wxString,
32773 &_swigt__p_wxSysColourChangedEvent,
32774 &_swigt__p_wxTIFFHandler,
32775 &_swigt__p_wxTaskBarIcon,
32776 &_swigt__p_wxTaskBarIconEvent,
32777 &_swigt__p_wxTextEntryDialog,
32778 &_swigt__p_wxTipWindow,
32779 &_swigt__p_wxToolBar,
32780 &_swigt__p_wxTopLevelWindow,
32781 &_swigt__p_wxUpdateUIEvent,
32782 &_swigt__p_wxValidator,
32783 &_swigt__p_wxVisualAttributes,
32784 &_swigt__p_wxWindow,
32785 &_swigt__p_wxWindowCreateEvent,
32786 &_swigt__p_wxWindowDestroyEvent,
32787 &_swigt__p_wxXPMHandler,
7449af73
RD
32788};
32789
f460c29d 32790static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32791static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32792static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32793static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32794static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32795static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32796static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32797static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32798static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32799static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32800static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32801static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32802static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32803static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32804static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73 32805static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32806static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32807static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32808static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32809static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32810static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32811static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32812static 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}};
7449af73
RD
32813static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32814static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32815static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32816static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32817static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32818static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32819static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32820static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32821static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32822static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32823static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32824static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32825static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32826static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32827static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32828static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32829static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32830static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32831static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32832static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32833static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32834static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32835static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32836static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32837static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32838static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32839static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32840static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32841static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32842static 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}};
7449af73
RD
32843static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32844static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32845static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32846static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32847static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32848static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32849static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32850static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32851static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32852static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32853static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32854static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32855static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32856static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32857static 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 32858static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32859static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32860static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32861static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32862static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32863static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32864static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32865static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32866static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32867static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32868static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32869static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32870static 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}};
32871static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32872static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32873static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32874static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32875static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32876static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32877static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32878static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32879static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32880static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32881static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32882static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32883static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32884static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32885static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32886static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32887static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32888static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32889static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32890static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32891static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32892static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32893static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32894static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32895static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32896static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32897static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32898static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32899static 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_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_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
7449af73
RD
32900static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32901static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32902static 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}};
32903static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32904static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32905static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32906static 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}};
32907static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32908static 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}};
32909static 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}};
32910static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32911static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32912static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32913static 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}};
32914static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32915static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32916static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32917static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32918static 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}};
32919static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32920static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32921static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32922static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32923static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32924static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32925static 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}};
32926static 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}};
32927static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32928static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32929static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32930static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32931static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32932static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32933static 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}};
32934static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32935static 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}};
32936static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32937static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32938static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32939static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32940static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32941static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32942static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32943static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32944static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32945static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32946static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32947static 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}};
32948static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32949static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32950static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32951static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32952static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32953
32954static swig_cast_info *swig_cast_initial[] = {
f460c29d 32955 _swigc__p_bool,
7449af73
RD
32956 _swigc__p_char,
32957 _swigc__p_form_ops_t,
32958 _swigc__p_int,
32959 _swigc__p_unsigned_char,
32960 _swigc__p_unsigned_int,
32961 _swigc__p_unsigned_long,
32962 _swigc__p_wxANIHandler,
32963 _swigc__p_wxAcceleratorTable,
32964 _swigc__p_wxActivateEvent,
32965 _swigc__p_wxArrayInt,
32966 _swigc__p_wxBMPHandler,
32967 _swigc__p_wxBitmap,
32968 _swigc__p_wxBoxSizer,
32969 _swigc__p_wxCURHandler,
32970 _swigc__p_wxCalculateLayoutEvent,
32971 _swigc__p_wxChildFocusEvent,
2131d850 32972 _swigc__p_wxClipboardTextEvent,
7449af73
RD
32973 _swigc__p_wxCloseEvent,
32974 _swigc__p_wxColour,
32975 _swigc__p_wxColourData,
32976 _swigc__p_wxColourDialog,
32977 _swigc__p_wxCommandEvent,
32978 _swigc__p_wxContextMenuEvent,
32979 _swigc__p_wxControl,
32980 _swigc__p_wxControlWithItems,
32981 _swigc__p_wxDC,
32982 _swigc__p_wxDateEvent,
32983 _swigc__p_wxDialog,
32984 _swigc__p_wxDirDialog,
32985 _swigc__p_wxDisplayChangedEvent,
32986 _swigc__p_wxDropFilesEvent,
32987 _swigc__p_wxDuplexMode,
32988 _swigc__p_wxEraseEvent,
32989 _swigc__p_wxEvent,
32990 _swigc__p_wxEvtHandler,
32991 _swigc__p_wxFSFile,
32992 _swigc__p_wxFileDialog,
32993 _swigc__p_wxFileSystem,
32994 _swigc__p_wxFindDialogEvent,
32995 _swigc__p_wxFindReplaceData,
32996 _swigc__p_wxFindReplaceDialog,
32997 _swigc__p_wxFlexGridSizer,
32998 _swigc__p_wxFocusEvent,
32999 _swigc__p_wxFont,
33000 _swigc__p_wxFontData,
33001 _swigc__p_wxFontDialog,
33002 _swigc__p_wxFrame,
33003 _swigc__p_wxGBSizerItem,
33004 _swigc__p_wxGIFHandler,
33005 _swigc__p_wxGridBagSizer,
33006 _swigc__p_wxGridSizer,
e9d6f3a4 33007 _swigc__p_wxHtmlLinkInfo,
7449af73
RD
33008 _swigc__p_wxICOHandler,
33009 _swigc__p_wxIcon,
33010 _swigc__p_wxIconBundle,
33011 _swigc__p_wxIconizeEvent,
33012 _swigc__p_wxIdleEvent,
33013 _swigc__p_wxImage,
33014 _swigc__p_wxImageHandler,
33015 _swigc__p_wxIndividualLayoutConstraint,
33016 _swigc__p_wxInitDialogEvent,
33017 _swigc__p_wxJPEGHandler,
33018 _swigc__p_wxKeyEvent,
33019 _swigc__p_wxLayoutAlgorithm,
33020 _swigc__p_wxLayoutConstraints,
33021 _swigc__p_wxMDIChildFrame,
33022 _swigc__p_wxMDIClientWindow,
33023 _swigc__p_wxMDIParentFrame,
33024 _swigc__p_wxMaximizeEvent,
33025 _swigc__p_wxMenu,
33026 _swigc__p_wxMenuBar,
33027 _swigc__p_wxMenuEvent,
33028 _swigc__p_wxMenuItem,
33029 _swigc__p_wxMessageDialog,
33030 _swigc__p_wxMiniFrame,
33031 _swigc__p_wxMouseCaptureChangedEvent,
33032 _swigc__p_wxMouseEvent,
33033 _swigc__p_wxMoveEvent,
33034 _swigc__p_wxMultiChoiceDialog,
33035 _swigc__p_wxNavigationKeyEvent,
33036 _swigc__p_wxNcPaintEvent,
33037 _swigc__p_wxNotifyEvent,
33038 _swigc__p_wxObject,
33039 _swigc__p_wxPCXHandler,
33040 _swigc__p_wxPNGHandler,
33041 _swigc__p_wxPNMHandler,
33042 _swigc__p_wxPageSetupDialog,
33043 _swigc__p_wxPageSetupDialogData,
33044 _swigc__p_wxPaintEvent,
33045 _swigc__p_wxPaletteChangedEvent,
33046 _swigc__p_wxPanel,
33047 _swigc__p_wxPaperSize,
33048 _swigc__p_wxPasswordEntryDialog,
33049 _swigc__p_wxPoint,
33050 _swigc__p_wxPopupWindow,
33051 _swigc__p_wxPreviewCanvas,
33052 _swigc__p_wxPreviewControlBar,
33053 _swigc__p_wxPreviewFrame,
33054 _swigc__p_wxPrintData,
33055 _swigc__p_wxPrintDialog,
33056 _swigc__p_wxPrintDialogData,
33057 _swigc__p_wxPrintPreview,
33058 _swigc__p_wxPrinter,
33059 _swigc__p_wxProgressDialog,
33060 _swigc__p_wxPyApp,
33061 _swigc__p_wxPyCommandEvent,
33062 _swigc__p_wxPyEvent,
33063 _swigc__p_wxPyHtmlListBox,
33064 _swigc__p_wxPyImageHandler,
33065 _swigc__p_wxPyPanel,
33066 _swigc__p_wxPyPopupTransientWindow,
33067 _swigc__p_wxPyPreviewControlBar,
33068 _swigc__p_wxPyPreviewFrame,
33069 _swigc__p_wxPyPrintPreview,
33070 _swigc__p_wxPyPrintout,
33071 _swigc__p_wxPyScrolledWindow,
33072 _swigc__p_wxPySizer,
33073 _swigc__p_wxPyTaskBarIcon,
33074 _swigc__p_wxPyVListBox,
33075 _swigc__p_wxPyVScrolledWindow,
33076 _swigc__p_wxPyValidator,
33077 _swigc__p_wxPyWindow,
33078 _swigc__p_wxQueryLayoutInfoEvent,
33079 _swigc__p_wxQueryNewPaletteEvent,
33080 _swigc__p_wxRect,
33081 _swigc__p_wxRegion,
33082 _swigc__p_wxSashEvent,
33083 _swigc__p_wxSashLayoutWindow,
33084 _swigc__p_wxSashWindow,
33085 _swigc__p_wxScrollEvent,
33086 _swigc__p_wxScrollWinEvent,
33087 _swigc__p_wxScrolledWindow,
33088 _swigc__p_wxSetCursorEvent,
33089 _swigc__p_wxShowEvent,
33090 _swigc__p_wxSingleChoiceDialog,
33091 _swigc__p_wxSize,
554f62e9
RD
33092 _swigc__p_wxSizeEvent,
33093 _swigc__p_wxSizer,
33094 _swigc__p_wxSizerItem,
33095 _swigc__p_wxSplashScreen,
33096 _swigc__p_wxSplashScreenWindow,
33097 _swigc__p_wxSplitterEvent,
33098 _swigc__p_wxSplitterWindow,
33099 _swigc__p_wxStaticBoxSizer,
33100 _swigc__p_wxStatusBar,
33101 _swigc__p_wxStdDialogButtonSizer,
33102 _swigc__p_wxString,
33103 _swigc__p_wxSysColourChangedEvent,
33104 _swigc__p_wxTIFFHandler,
33105 _swigc__p_wxTaskBarIcon,
33106 _swigc__p_wxTaskBarIconEvent,
33107 _swigc__p_wxTextEntryDialog,
33108 _swigc__p_wxTipWindow,
33109 _swigc__p_wxToolBar,
33110 _swigc__p_wxTopLevelWindow,
33111 _swigc__p_wxUpdateUIEvent,
33112 _swigc__p_wxValidator,
33113 _swigc__p_wxVisualAttributes,
33114 _swigc__p_wxWindow,
33115 _swigc__p_wxWindowCreateEvent,
33116 _swigc__p_wxWindowDestroyEvent,
33117 _swigc__p_wxXPMHandler,
33118};
33119
33120
33121/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33122
33123static swig_const_info swig_const_table[] = {
33124{0, 0, 0, 0.0, 0, 0}};
33125
093d3ff1
RD
33126#ifdef __cplusplus
33127}
33128#endif
554f62e9
RD
33129/* -----------------------------------------------------------------------------
33130 * Type initialization:
33131 * This problem is tough by the requirement that no dynamic
33132 * memory is used. Also, since swig_type_info structures store pointers to
33133 * swig_cast_info structures and swig_cast_info structures store pointers back
33134 * to swig_type_info structures, we need some lookup code at initialization.
33135 * The idea is that swig generates all the structures that are needed.
33136 * The runtime then collects these partially filled structures.
33137 * The SWIG_InitializeModule function takes these initial arrays out of
33138 * swig_module, and does all the lookup, filling in the swig_module.types
33139 * array with the correct data and linking the correct swig_cast_info
33140 * structures together.
33141 *
33142 * The generated swig_type_info structures are assigned staticly to an initial
33143 * array. We just loop though that array, and handle each type individually.
33144 * First we lookup if this type has been already loaded, and if so, use the
33145 * loaded structure instead of the generated one. Then we have to fill in the
33146 * cast linked list. The cast data is initially stored in something like a
33147 * two-dimensional array. Each row corresponds to a type (there are the same
33148 * number of rows as there are in the swig_type_initial array). Each entry in
33149 * a column is one of the swig_cast_info structures for that type.
33150 * The cast_initial array is actually an array of arrays, because each row has
33151 * a variable number of columns. So to actually build the cast linked list,
33152 * we find the array of casts associated with the type, and loop through it
33153 * adding the casts to the list. The one last trick we need to do is making
33154 * sure the type pointer in the swig_cast_info struct is correct.
33155 *
33156 * First off, we lookup the cast->type name to see if it is already loaded.
33157 * There are three cases to handle:
33158 * 1) If the cast->type has already been loaded AND the type we are adding
33159 * casting info to has not been loaded (it is in this module), THEN we
33160 * replace the cast->type pointer with the type pointer that has already
33161 * been loaded.
33162 * 2) If BOTH types (the one we are adding casting info to, and the
33163 * cast->type) are loaded, THEN the cast info has already been loaded by
33164 * the previous module so we just ignore it.
33165 * 3) Finally, if cast->type has not already been loaded, then we add that
33166 * swig_cast_info to the linked list (because the cast->type) pointer will
33167 * be correct.
33168 * ----------------------------------------------------------------------------- */
093d3ff1 33169
093d3ff1 33170#ifdef __cplusplus
554f62e9
RD
33171extern "C" {
33172#if 0
33173} /* c-mode */
33174#endif
33175#endif
33176
33177#if 0
33178#define SWIGRUNTIME_DEBUG
33179#endif
33180
33181SWIGRUNTIME void
33182SWIG_InitializeModule(void *clientdata) {
33183 size_t i;
33184 swig_module_info *module_head;
33185 static int init_run = 0;
33186
33187 clientdata = clientdata;
33188
33189 if (init_run) return;
33190 init_run = 1;
33191
33192 /* Initialize the swig_module */
33193 swig_module.type_initial = swig_type_initial;
33194 swig_module.cast_initial = swig_cast_initial;
33195
33196 /* Try and load any already created modules */
33197 module_head = SWIG_GetModule(clientdata);
33198 if (module_head) {
33199 swig_module.next = module_head->next;
33200 module_head->next = &swig_module;
33201 } else {
33202 /* This is the first module loaded */
33203 swig_module.next = &swig_module;
33204 SWIG_SetModule(clientdata, &swig_module);
33205 }
33206
33207 /* Now work on filling in swig_module.types */
33208#ifdef SWIGRUNTIME_DEBUG
33209 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33210#endif
33211 for (i = 0; i < swig_module.size; ++i) {
33212 swig_type_info *type = 0;
33213 swig_type_info *ret;
33214 swig_cast_info *cast;
d55e5bfc 33215
554f62e9
RD
33216#ifdef SWIGRUNTIME_DEBUG
33217 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33218#endif
d55e5bfc 33219
554f62e9
RD
33220 /* if there is another module already loaded */
33221 if (swig_module.next != &swig_module) {
33222 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 33223 }
554f62e9
RD
33224 if (type) {
33225 /* Overwrite clientdata field */
33226#ifdef SWIGRUNTIME_DEBUG
33227 printf("SWIG_InitializeModule: found type %s\n", type->name);
33228#endif
33229 if (swig_module.type_initial[i]->clientdata) {
33230 type->clientdata = swig_module.type_initial[i]->clientdata;
33231#ifdef SWIGRUNTIME_DEBUG
33232 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33233#endif
33234 }
33235 } else {
33236 type = swig_module.type_initial[i];
093d3ff1 33237 }
554f62e9
RD
33238
33239 /* Insert casting types */
33240 cast = swig_module.cast_initial[i];
33241 while (cast->type) {
33242 /* Don't need to add information already in the list */
33243 ret = 0;
33244#ifdef SWIGRUNTIME_DEBUG
33245 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33246#endif
33247 if (swig_module.next != &swig_module) {
33248 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33249#ifdef SWIGRUNTIME_DEBUG
33250 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33251#endif
33252 }
33253 if (ret) {
33254 if (type == swig_module.type_initial[i]) {
33255#ifdef SWIGRUNTIME_DEBUG
33256 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33257#endif
33258 cast->type = ret;
33259 ret = 0;
33260 } else {
33261 /* Check for casting already in the list */
33262 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33263#ifdef SWIGRUNTIME_DEBUG
33264 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33265#endif
33266 if (!ocast) ret = 0;
33267 }
33268 }
33269
33270 if (!ret) {
33271#ifdef SWIGRUNTIME_DEBUG
33272 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33273#endif
33274 if (type->cast) {
33275 type->cast->prev = cast;
33276 cast->next = type->cast;
33277 }
33278 type->cast = cast;
33279 }
33280 cast++;
093d3ff1 33281 }
554f62e9
RD
33282 /* Set entry in modules->types array equal to the type */
33283 swig_module.types[i] = type;
33284 }
33285 swig_module.types[i] = 0;
33286
33287#ifdef SWIGRUNTIME_DEBUG
33288 printf("**** SWIG_InitializeModule: Cast List ******\n");
33289 for (i = 0; i < swig_module.size; ++i) {
33290 int j = 0;
33291 swig_cast_info *cast = swig_module.cast_initial[i];
33292 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33293 while (cast->type) {
33294 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33295 cast++;
33296 ++j;
33297 }
33298 printf("---- Total casts: %d\n",j);
33299 }
33300 printf("**** SWIG_InitializeModule: Cast List ******\n");
33301#endif
33302}
33303
33304/* This function will propagate the clientdata field of type to
33305* any new swig_type_info structures that have been added into the list
33306* of equivalent types. It is like calling
33307* SWIG_TypeClientData(type, clientdata) a second time.
33308*/
33309SWIGRUNTIME void
33310SWIG_PropagateClientData(void) {
33311 size_t i;
33312 swig_cast_info *equiv;
33313 static int init_run = 0;
33314
33315 if (init_run) return;
33316 init_run = 1;
33317
33318 for (i = 0; i < swig_module.size; i++) {
33319 if (swig_module.types[i]->clientdata) {
33320 equiv = swig_module.types[i]->cast;
33321 while (equiv) {
33322 if (!equiv->converter) {
33323 if (equiv->type && !equiv->type->clientdata)
33324 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33325 }
33326 equiv = equiv->next;
33327 }
093d3ff1 33328 }
554f62e9
RD
33329 }
33330}
33331
33332#ifdef __cplusplus
33333#if 0
33334{
33335 /* c-mode */
33336#endif
33337}
33338#endif
33339
33340
33341
33342#ifdef __cplusplus
33343extern "C" {
33344#endif
33345
33346 /* Python-specific SWIG API */
33347#define SWIG_newvarlink() SWIG_Python_newvarlink()
33348#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33349#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33350
33351 /* -----------------------------------------------------------------------------
33352 * global variable support code.
33353 * ----------------------------------------------------------------------------- */
33354
33355 typedef struct swig_globalvar {
33356 char *name; /* Name of global variable */
33357 PyObject *(*get_attr)(void); /* Return the current value */
33358 int (*set_attr)(PyObject *); /* Set the value */
33359 struct swig_globalvar *next;
33360 } swig_globalvar;
33361
33362 typedef struct swig_varlinkobject {
33363 PyObject_HEAD
33364 swig_globalvar *vars;
33365 } swig_varlinkobject;
33366
33367 SWIGINTERN PyObject *
33368 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33369 return PyString_FromString("<Swig global variables>");
33370 }
33371
33372 SWIGINTERN PyObject *
33373 swig_varlink_str(swig_varlinkobject *v) {
33374 PyObject *str = PyString_FromString("(");
33375 swig_globalvar *var;
33376 for (var = v->vars; var; var=var->next) {
33377 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33378 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33379 }
33380 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33381 return str;
33382 }
33383
33384 SWIGINTERN int
33385 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33386 PyObject *str = swig_varlink_str(v);
33387 fprintf(fp,"Swig global variables ");
33388 fprintf(fp,"%s\n", PyString_AsString(str));
33389 Py_DECREF(str);
33390 return 0;
33391 }
33392
33393 SWIGINTERN void
33394 swig_varlink_dealloc(swig_varlinkobject *v) {
33395 swig_globalvar *var = v->vars;
33396 while (var) {
33397 swig_globalvar *n = var->next;
33398 free(var->name);
33399 free(var);
33400 var = n;
093d3ff1 33401 }
554f62e9
RD
33402 }
33403
33404 SWIGINTERN PyObject *
33405 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33406 PyObject *res = NULL;
33407 swig_globalvar *var = v->vars;
33408 while (var) {
33409 if (strcmp(var->name,n) == 0) {
33410 res = (*var->get_attr)();
33411 break;
33412 }
33413 var = var->next;
093d3ff1 33414 }
554f62e9
RD
33415 if (res == NULL && !PyErr_Occurred()) {
33416 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33417 }
554f62e9
RD
33418 return res;
33419 }
33420
33421 SWIGINTERN int
33422 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33423 int res = 1;
33424 swig_globalvar *var = v->vars;
33425 while (var) {
33426 if (strcmp(var->name,n) == 0) {
33427 res = (*var->set_attr)(p);
33428 break;
33429 }
33430 var = var->next;
093d3ff1 33431 }
554f62e9
RD
33432 if (res == 1 && !PyErr_Occurred()) {
33433 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33434 }
554f62e9
RD
33435 return res;
33436 }
33437
33438 SWIGINTERN PyTypeObject*
33439 swig_varlink_type(void) {
33440 static char varlink__doc__[] = "Swig var link object";
33441 static PyTypeObject varlink_type;
33442 static int type_init = 0;
33443 if (!type_init) {
33444 const PyTypeObject tmp
33445 = {
33446 PyObject_HEAD_INIT(NULL)
33447 0, /* Number of items in variable part (ob_size) */
33448 (char *)"swigvarlink", /* Type name (tp_name) */
33449 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33450 0, /* Itemsize (tp_itemsize) */
33451 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33452 (printfunc) swig_varlink_print, /* Print (tp_print) */
33453 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33454 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33455 0, /* tp_compare */
33456 (reprfunc) swig_varlink_repr, /* tp_repr */
33457 0, /* tp_as_number */
33458 0, /* tp_as_sequence */
33459 0, /* tp_as_mapping */
33460 0, /* tp_hash */
33461 0, /* tp_call */
33462 (reprfunc)swig_varlink_str, /* tp_str */
33463 0, /* tp_getattro */
33464 0, /* tp_setattro */
33465 0, /* tp_as_buffer */
33466 0, /* tp_flags */
33467 varlink__doc__, /* tp_doc */
33468 0, /* tp_traverse */
33469 0, /* tp_clear */
33470 0, /* tp_richcompare */
33471 0, /* tp_weaklistoffset */
33472#if PY_VERSION_HEX >= 0x02020000
33473 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33474#endif
33475#if PY_VERSION_HEX >= 0x02030000
33476 0, /* tp_del */
33477#endif
33478#ifdef COUNT_ALLOCS
33479 0,0,0,0 /* tp_alloc -> tp_next */
33480#endif
33481 };
33482 varlink_type = tmp;
33483 varlink_type.ob_type = &PyType_Type;
33484 type_init = 1;
093d3ff1 33485 }
554f62e9
RD
33486 return &varlink_type;
33487 }
33488
33489 /* Create a variable linking object for use later */
33490 SWIGINTERN PyObject *
33491 SWIG_Python_newvarlink(void) {
33492 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33493 if (result) {
33494 result->vars = 0;
33495 }
33496 return ((PyObject*) result);
33497 }
33498
33499 SWIGINTERN void
33500 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33501 swig_varlinkobject *v = (swig_varlinkobject *) p;
33502 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33503 if (gv) {
33504 size_t size = strlen(name)+1;
33505 gv->name = (char *)malloc(size);
33506 if (gv->name) {
33507 strncpy(gv->name,name,size);
33508 gv->get_attr = get_attr;
33509 gv->set_attr = set_attr;
33510 gv->next = v->vars;
33511 }
093d3ff1 33512 }
554f62e9
RD
33513 v->vars = gv;
33514 }
33515
33516 SWIGINTERN PyObject *
33517 SWIG_globals() {
33518 static PyObject *_SWIG_globals = 0;
33519 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33520 return _SWIG_globals;
33521 }
33522
33523 /* -----------------------------------------------------------------------------
33524 * constants/methods manipulation
33525 * ----------------------------------------------------------------------------- */
33526
33527 /* Install Constants */
33528 SWIGINTERN void
33529 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33530 PyObject *obj = 0;
33531 size_t i;
33532 for (i = 0; constants[i].type; ++i) {
33533 switch(constants[i].type) {
33534 case SWIG_PY_POINTER:
33535 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33536 break;
33537 case SWIG_PY_BINARY:
33538 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33539 break;
33540 default:
33541 obj = 0;
33542 break;
33543 }
33544 if (obj) {
33545 PyDict_SetItemString(d, constants[i].name, obj);
33546 Py_DECREF(obj);
33547 }
093d3ff1 33548 }
554f62e9
RD
33549 }
33550
33551 /* -----------------------------------------------------------------------------*/
33552 /* Fix SwigMethods to carry the callback ptrs when needed */
33553 /* -----------------------------------------------------------------------------*/
33554
33555 SWIGINTERN void
33556 SWIG_Python_FixMethods(PyMethodDef *methods,
33557 swig_const_info *const_table,
33558 swig_type_info **types,
33559 swig_type_info **types_initial) {
33560 size_t i;
33561 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 33562 const char *c = methods[i].ml_doc;
554f62e9
RD
33563 if (c && (c = strstr(c, "swig_ptr: "))) {
33564 int j;
33565 swig_const_info *ci = 0;
453fb36b 33566 const char *name = c + 10;
554f62e9
RD
33567 for (j = 0; const_table[j].type; ++j) {
33568 if (strncmp(const_table[j].name, name,
33569 strlen(const_table[j].name)) == 0) {
33570 ci = &(const_table[j]);
33571 break;
33572 }
33573 }
33574 if (ci) {
33575 size_t shift = (ci->ptype) - types;
33576 swig_type_info *ty = types_initial[shift];
33577 size_t ldoc = (c - methods[i].ml_doc);
33578 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33579 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33580 if (ndoc) {
33581 char *buff = ndoc;
33582 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33583 if (ptr) {
33584 strncpy(buff, methods[i].ml_doc, ldoc);
33585 buff += ldoc;
33586 strncpy(buff, "swig_ptr: ", 10);
33587 buff += 10;
33588 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33589 methods[i].ml_doc = ndoc;
33590 }
33591 }
33592 }
33593 }
093d3ff1 33594 }
554f62e9
RD
33595 }
33596
33597#ifdef __cplusplus
33598}
33599#endif
33600
33601/* -----------------------------------------------------------------------------*
33602 * Partial Init method
33603 * -----------------------------------------------------------------------------*/
33604
33605#ifdef __cplusplus
33606extern "C"
33607#endif
33608SWIGEXPORT void SWIG_init(void) {
33609 PyObject *m, *d;
33610
33611 /* Fix SwigMethods to carry the callback ptrs when needed */
33612 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33613
33614 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33615 d = PyModule_GetDict(m);
33616
33617 SWIG_InitializeModule(0);
33618 SWIG_InstallConstants(d,swig_const_table);
33619
33620
33621 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33622 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33623 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33624 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33625 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33626 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33627 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33628 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33629 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33630 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33631 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33632 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33633 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33634 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33635 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33636 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33637 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33638 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33639 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33640 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33641 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33642 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33643 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33644 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33645 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33646 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33647 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33648 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33649 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33650 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33651 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33652 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33653 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33654 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33655 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33656 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33657 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33658 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33659 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33660 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33661 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33662 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33663 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33664 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33665 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33666 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33667 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33668 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33669 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33670 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33671 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33672 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33673 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33674 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33675 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33676 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33677 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33678 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33679 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33680 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33681 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33682 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33683 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33684 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33685 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33686 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33687 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33688 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33689 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33690 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33691 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33692 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33693 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33694 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33695 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33696 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33697 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33698 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33699 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33700 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33701 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33702 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33703 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33704 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33705 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33706 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33707 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33708 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33709 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33710 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33711 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33712 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33713 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33714 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33715 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33716 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33717 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33718 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33719 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33720 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33721 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33722 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33723
33724 // Map renamed classes back to their common name for OOR
33725 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33726 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33727 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33728
33729 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33730 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33731 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33732 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33733 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33734 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33735 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33736 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33737 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33738 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33739 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33740 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33741 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
33742 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33743 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33744 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33745 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33746 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33747 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33748 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33749 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33750 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 33751 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
33752 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33753 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33754 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33755 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33756 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33757 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33758 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
554f62e9
RD
33759 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33760 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33761 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33762 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33763 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33764 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33765 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33766 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33767 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33768 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33769 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33770 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33771 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33772 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33773 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33774 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33775 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33776 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33777 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33778 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33779 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33780 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33781 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33782 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33783 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33784 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33785 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33786 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33787 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33788 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33789 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33790 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33791 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33792 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33793 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33794 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33795 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33796 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33797 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33798 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33799 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33800 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33801 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33802 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33803 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33804 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33805 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33806 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33807 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33808 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33809 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33810 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33811 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33812 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33813 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33814 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33815 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33816 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33817 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33818 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33819 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33820 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33821 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33822 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33823 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33824
33825 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33826
d55e5bfc
RD
33827}
33828