]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
mention wxTB_RIGHT patch
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
1bd55598 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
1bd55598 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);
36ed4f51 27};
d55e5bfc
RD
28#endif
29
1bd55598 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
1bd55598 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
1bd55598
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
36ed4f51 46#endif
d55e5bfc 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
1bd55598
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
1bd55598
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
1bd55598
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
1bd55598
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
1bd55598
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
d55e5bfc 127
1bd55598 128/* Python.h has to appear first */
36ed4f51 129#include <Python.h>
d55e5bfc 130
1bd55598 131/* -----------------------------------------------------------------------------
36ed4f51 132 * swigrun.swg
d55e5bfc 133 *
1bd55598
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 137
36ed4f51
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
36ed4f51
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
32fe5131 159
36ed4f51 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
36ed4f51 162#endif
32fe5131 163
36ed4f51 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
1bd55598
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
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
32fe5131 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
1bd55598 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
36ed4f51
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;
1bd55598 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
36ed4f51
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
36ed4f51
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
36ed4f51 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
36ed4f51 400 }
32fe5131 401 return equiv;
36ed4f51
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
36ed4f51
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
36ed4f51 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
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. */
1bd55598 481 if (!type) return NULL;
36ed4f51
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
36ed4f51
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
36ed4f51
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
36ed4f51 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
1bd55598
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
36ed4f51 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
36ed4f51 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
36ed4f51
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
36ed4f51 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
36ed4f51
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
32fe5131 619 register const unsigned char *eu = u + sz;
36ed4f51 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
1bd55598 622 register unsigned char uu;
36ed4f51
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
36ed4f51
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
36ed4f51
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
1bd55598
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
1bd55598
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
36ed4f51 764#endif
1bd55598
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
c370783e 799
36ed4f51 800/* -----------------------------------------------------------------------------
1bd55598 801 * error manipulation
36ed4f51 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
1bd55598
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
1bd55598
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
36ed4f51 935#endif
d55e5bfc 936
1bd55598
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
36ed4f51 940
1bd55598
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
36ed4f51
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 951
36ed4f51 952/* Constant Types */
36ed4f51
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
1bd55598
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
36ed4f51 964} swig_const_info;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
1bd55598
RD
967#if 0
968{ /* cc-mode */
969#endif
36ed4f51
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
1bd55598
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 *
36ed4f51
RD
978 * pyrun.swg
979 *
1bd55598
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
36ed4f51 983 *
1bd55598 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
36ed4f51 986/* Common SWIG API */
d55e5bfc 987
4f89b6b7
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
1bd55598
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
d55e5bfc 1000
1bd55598
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1004
1bd55598
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1008
1bd55598
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1012
1bd55598
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1016
d55e5bfc 1017
1bd55598 1018/* Runtime API */
d55e5bfc 1019
1bd55598
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1023
1bd55598
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
32fe5131 1029
d55e5bfc 1030
1bd55598 1031/* Runtime API implementation */
d55e5bfc 1032
1bd55598 1033/* Error manipulation */
d55e5bfc 1034
1bd55598
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
c370783e 1041}
d55e5bfc 1042
1bd55598
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1048}
1049
1bd55598 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
1bd55598 1052/* Set a constant value */
d55e5bfc 1053
1bd55598
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
c370783e 1058}
d55e5bfc 1059
1bd55598 1060/* Append a value to the result obj */
d55e5bfc 1061
1bd55598
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
36ed4f51 1088 } else {
1bd55598
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c370783e 1100 }
1bd55598
RD
1101 return result;
1102#endif
c370783e
RD
1103}
1104
1bd55598 1105/* Unpack the argument tuple */
d55e5bfc 1106
1bd55598
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
36ed4f51
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
36ed4f51 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
1613#endif
1614 };
1615
1bd55598 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
36ed4f51 1618 if (!type_init) {
1bd55598
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
36ed4f51 1632#endif
1bd55598
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
36ed4f51 1651#if PY_VERSION_HEX >= 0x02020000
1bd55598
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
36ed4f51
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
1bd55598 1674 0, /* tp_del */
36ed4f51
RD
1675#endif
1676#ifdef COUNT_ALLOCS
1bd55598 1677 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1678#endif
1bd55598 1679 };
32fe5131 1680 pyswigobject_type = tmp;
1bd55598 1681 pyswigobject_type.ob_type = &PyType_Type;
36ed4f51
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
36ed4f51
RD
1685}
1686
1687SWIGRUNTIME PyObject *
1bd55598 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c370783e 1689{
1bd55598
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
32fe5131 1696 }
1bd55598 1697 return (PyObject *)sobj;
36ed4f51 1698}
d55e5bfc 1699
36ed4f51
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
d55e5bfc 1703
36ed4f51
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1bd55598 1707 swig_type_info *ty;
36ed4f51
RD
1708 size_t size;
1709} PySwigPacked;
c370783e 1710
36ed4f51 1711SWIGRUNTIME int
1bd55598 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
d55e5bfc 1713{
36ed4f51
RD
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1bd55598 1720 fputs(v->ty->name,fp);
36ed4f51
RD
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1bd55598 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
36ed4f51 1731 } else {
1bd55598 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
36ed4f51 1733 }
d55e5bfc
RD
1734}
1735
36ed4f51
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1bd55598 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
36ed4f51 1742 } else {
1bd55598 1743 return PyString_FromString(v->ty->name);
36ed4f51
RD
1744 }
1745}
d55e5bfc 1746
36ed4f51
RD
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 1749{
1bd55598
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c370783e
RD
1754}
1755
1bd55598 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
d55e5bfc 1757
36ed4f51 1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
1bd55598
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
36ed4f51
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
1bd55598 1837 0, /* tp_del */
36ed4f51
RD
1838#endif
1839#ifdef COUNT_ALLOCS
1bd55598 1840 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1841#endif
1bd55598 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
1bd55598 1844 pyswigpacked_type.ob_type = &PyType_Type;
36ed4f51
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
36ed4f51 1848}
d55e5bfc 1849
36ed4f51 1850SWIGRUNTIME PyObject *
1bd55598 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
36ed4f51 1852{
1bd55598
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
36ed4f51 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1bd55598
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
36ed4f51 1865 }
1bd55598 1866 return (PyObject *) sobj;
36ed4f51 1867}
d55e5bfc 1868
1bd55598 1869SWIGRUNTIME swig_type_info *
36ed4f51
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
1bd55598
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
36ed4f51 1880}
d55e5bfc 1881
36ed4f51 1882/* -----------------------------------------------------------------------------
1bd55598 1883 * pointers/data manipulation
36ed4f51 1884 * ----------------------------------------------------------------------------- */
d55e5bfc 1885
1bd55598
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
d55e5bfc 1891
1bd55598
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
d55e5bfc 1898
1bd55598 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d55e5bfc 1900
1bd55598
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
36ed4f51 1903{
1bd55598
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
36ed4f51 1926 } else {
1bd55598
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
36ed4f51 1929 }
36ed4f51 1930 }
1bd55598
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
36ed4f51
RD
1947 }
1948}
d55e5bfc 1949
1bd55598
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
36ed4f51 1961 }
1bd55598 1962 return 0;
36ed4f51 1963}
d55e5bfc 1964
1bd55598
RD
1965/* Convert a pointer value */
1966
36ed4f51 1967SWIGRUNTIME int
1bd55598
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
36ed4f51 1992 } else {
1bd55598
RD
1993 if (ptr) *ptr = vptr;
1994 break;
36ed4f51 1995 }
36ed4f51 1996 }
1bd55598
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
36ed4f51
RD
2042 }
2043}
d55e5bfc 2044
1bd55598
RD
2045/* Convert a function ptr value */
2046
36ed4f51 2047SWIGRUNTIME int
1bd55598
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
36ed4f51 2051 } else {
1bd55598
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
4f89b6b7 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1bd55598
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
36ed4f51
RD
2069 }
2070}
d55e5bfc 2071
1bd55598 2072/* Convert a packed value value */
d55e5bfc 2073
36ed4f51 2074SWIGRUNTIME int
1bd55598
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
36ed4f51 2084 }
1bd55598
RD
2085 return SWIG_OK;
2086}
d55e5bfc 2087
1bd55598
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
d55e5bfc 2091
1bd55598
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
d55e5bfc 2096
1bd55598
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
36ed4f51 2115 }
1bd55598
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
36ed4f51 2120 }
1bd55598
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
36ed4f51 2126 }
1bd55598
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
36ed4f51 2140 }
1bd55598
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
36ed4f51 2147 }
1bd55598
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
36ed4f51 2158}
d55e5bfc 2159
1bd55598
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
36ed4f51 2175#endif
1bd55598
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
d55e5bfc 2180
1bd55598
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
36ed4f51 2191 } else {
1bd55598 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
36ed4f51 2193 }
1bd55598 2194 return SWIG_Py_Void();
36ed4f51 2195 }
1bd55598
RD
2196}
2197
2198/* Create a new pointer object */
36ed4f51 2199
36ed4f51 2200SWIGRUNTIME PyObject *
1bd55598 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
36ed4f51 2202 if (!ptr) {
1bd55598
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
36ed4f51 2213 }
36ed4f51 2214 }
1bd55598 2215 return robj;
36ed4f51 2216 }
36ed4f51
RD
2217}
2218
1bd55598
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
36ed4f51 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1bd55598 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
36ed4f51
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
36ed4f51
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
36ed4f51 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
36ed4f51
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
1bd55598 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
1bd55598 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
1bd55598 2268 return SWIG_ERROR;
32fe5131
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
1bd55598 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
1bd55598 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
1bd55598 2281 return SWIG_OK;
36ed4f51 2282}
32fe5131 2283#endif
36ed4f51 2284
1bd55598
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
32fe5131
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
1bd55598 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1bd55598
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
36ed4f51 2314
1bd55598
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
36ed4f51 2320}
36ed4f51 2321
1bd55598
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2131d850
RD
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
2477#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478#define SWIGTYPE_p_wxBitmap swig_types[12]
2479#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485#define SWIGTYPE_p_wxColour swig_types[19]
2486#define SWIGTYPE_p_wxColourData swig_types[20]
2487#define SWIGTYPE_p_wxColourDialog swig_types[21]
2488#define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489#define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490#define SWIGTYPE_p_wxControl swig_types[24]
2491#define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492#define SWIGTYPE_p_wxDC swig_types[26]
2493#define SWIGTYPE_p_wxDateEvent swig_types[27]
2494#define SWIGTYPE_p_wxDialog swig_types[28]
2495#define SWIGTYPE_p_wxDirDialog swig_types[29]
2496#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498#define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499#define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500#define SWIGTYPE_p_wxEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502#define SWIGTYPE_p_wxFSFile swig_types[36]
2503#define SWIGTYPE_p_wxFileDialog swig_types[37]
2504#define SWIGTYPE_p_wxFileSystem swig_types[38]
2505#define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506#define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507#define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509#define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510#define SWIGTYPE_p_wxFont swig_types[44]
2511#define SWIGTYPE_p_wxFontData swig_types[45]
2512#define SWIGTYPE_p_wxFontDialog swig_types[46]
2513#define SWIGTYPE_p_wxFrame swig_types[47]
2514#define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515#define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517#define SWIGTYPE_p_wxGridSizer swig_types[51]
2518#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519#define SWIGTYPE_p_wxICOHandler swig_types[53]
2520#define SWIGTYPE_p_wxIcon swig_types[54]
2521#define SWIGTYPE_p_wxIconBundle swig_types[55]
2522#define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523#define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524#define SWIGTYPE_p_wxImage swig_types[58]
2525#define SWIGTYPE_p_wxImageHandler swig_types[59]
2526#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528#define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529#define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531#define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532#define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533#define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534#define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535#define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536#define SWIGTYPE_p_wxMenu swig_types[70]
2537#define SWIGTYPE_p_wxMenuBar swig_types[71]
2538#define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539#define SWIGTYPE_p_wxMenuItem swig_types[73]
2540#define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541#define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
34e0a3bb
RD
2543#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544#define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545#define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548#define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549#define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550#define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551#define SWIGTYPE_p_wxObject swig_types[85]
2552#define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553#define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554#define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555#define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556#define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557#define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559#define SWIGTYPE_p_wxPanel swig_types[93]
2560#define SWIGTYPE_p_wxPaperSize swig_types[94]
2561#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562#define SWIGTYPE_p_wxPoint swig_types[96]
2563#define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564#define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565#define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566#define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567#define SWIGTYPE_p_wxPrintData swig_types[101]
2568#define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569#define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570#define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571#define SWIGTYPE_p_wxPrinter swig_types[105]
2572#define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573#define SWIGTYPE_p_wxPyApp swig_types[107]
2574#define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575#define SWIGTYPE_p_wxPyEvent swig_types[109]
2576#define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577#define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578#define SWIGTYPE_p_wxPyPanel swig_types[112]
2579#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581#define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582#define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583#define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584#define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585#define SWIGTYPE_p_wxPySizer swig_types[119]
2586#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587#define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589#define SWIGTYPE_p_wxPyValidator swig_types[123]
2590#define SWIGTYPE_p_wxPyWindow swig_types[124]
2591#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593#define SWIGTYPE_p_wxRect swig_types[127]
2594#define SWIGTYPE_p_wxRegion swig_types[128]
2595#define SWIGTYPE_p_wxSashEvent swig_types[129]
2596#define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597#define SWIGTYPE_p_wxSashWindow swig_types[131]
2598#define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599#define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600#define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601#define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602#define SWIGTYPE_p_wxShowEvent swig_types[136]
2603#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604#define SWIGTYPE_p_wxSize swig_types[138]
2605#define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606#define SWIGTYPE_p_wxSizer swig_types[140]
2607#define SWIGTYPE_p_wxSizerItem swig_types[141]
2608#define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609#define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610#define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611#define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612#define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613#define SWIGTYPE_p_wxStatusBar swig_types[147]
2614#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615#define SWIGTYPE_p_wxString swig_types[149]
2616#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617#define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618#define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620#define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621#define SWIGTYPE_p_wxTipWindow swig_types[155]
2622#define SWIGTYPE_p_wxToolBar swig_types[156]
2623#define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624#define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625#define SWIGTYPE_p_wxValidator swig_types[159]
2626#define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627#define SWIGTYPE_p_wxWindow swig_types[161]
2628#define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630#define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631static swig_type_info *swig_types[166];
2632static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
32fe5131
RD
2633#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2635
2636/* -------- TYPES TABLE (END) -------- */
2637
1bd55598
RD
2638#if (PY_VERSION_HEX <= 0x02000000)
2639# if !defined(SWIG_PYTHON_CLASSIC)
2640# error "This python version requires to use swig with the '-classic' option"
2641# endif
2642#endif
2643#if (PY_VERSION_HEX <= 0x02020000)
2644# error "This python version requires to use swig with the '-nomodern' option"
2645#endif
2646#if (PY_VERSION_HEX <= 0x02020000)
2647# error "This python version requires to use swig with the '-nomodernargs' option"
2648#endif
2649#ifndef METH_O
2650# error "This python version requires to use swig with the '-nofastunpack' option"
2651#endif
36ed4f51
RD
2652
2653/*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656#define SWIG_init init_windows_
2657
2658#define SWIG_name "_windows_"
2659
1bd55598 2660#define SWIGVERSION 0x010329
36ed4f51 2661
36ed4f51 2662
1bd55598
RD
2663#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
36ed4f51
RD
2665
2666
1bd55598 2667#include <stdexcept>
36ed4f51
RD
2668
2669
1bd55598
RD
2670namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
36ed4f51 2674
1bd55598
RD
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
36ed4f51 2679
1bd55598
RD
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
36ed4f51 2683 }
1bd55598
RD
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
36ed4f51 2688 }
1bd55598
RD
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
36ed4f51
RD
2713}
2714
2715
1bd55598
RD
2716namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
36ed4f51 2725 }
1bd55598 2726 };
36ed4f51 2727}
36ed4f51
RD
2728
2729
1bd55598
RD
2730#include "wx/wxPython/wxPython.h"
2731#include "wx/wxPython/pyclasses.h"
2732
36ed4f51 2733
1bd55598
RD
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
36ed4f51 2736
36ed4f51 2737
1bd55598
RD
2738
2739#include <limits.h>
2740#ifndef LLONG_MIN
2741# define LLONG_MIN LONG_LONG_MIN
2742#endif
2743#ifndef LLONG_MAX
2744# define LLONG_MAX LONG_LONG_MAX
2745#endif
2746#ifndef ULLONG_MAX
2747# define ULLONG_MAX ULONG_LONG_MAX
2748#endif
2749
2750
2751SWIGINTERN int
2752SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51 2753{
1bd55598
RD
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
36ed4f51
RD
2759}
2760
1bd55598
RD
2761
2762SWIGINTERN int
2763SWIG_AsVal_int (PyObject * obj, int *val)
36ed4f51 2764{
1bd55598
RD
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
36ed4f51
RD
2775}
2776
2777
2778SWIGINTERN int
1bd55598 2779SWIG_AsVal_bool (PyObject *obj, bool *val)
36ed4f51
RD
2780{
2781 if (obj == Py_True) {
2782 if (val) *val = true;
1bd55598
RD
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
36ed4f51 2785 if (val) *val = false;
1bd55598 2786 return SWIG_OK;
36ed4f51 2787 } else {
1bd55598
RD
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
36ed4f51 2792 }
36ed4f51
RD
2793}
2794
2795
1bd55598 2796 #define SWIG_From_long PyInt_FromLong
36ed4f51
RD
2797
2798
1bd55598
RD
2799SWIGINTERNINLINE PyObject *
2800SWIG_From_int (int value)
2801{
2802 return SWIG_From_long (value);
2803}
36ed4f51
RD
2804
2805
2806SWIGINTERN int
1bd55598 2807SWIG_AsVal_double (PyObject *obj, double* val)
36ed4f51
RD
2808{
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
1bd55598 2811 return SWIG_OK;
36ed4f51 2812 }
1bd55598 2813 return SWIG_TypeError;
36ed4f51
RD
2814}
2815
2816
1bd55598 2817 #define SWIG_From_double PyFloat_FromDouble
36ed4f51
RD
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1bd55598
RD
2823SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2824 int style = self->GetExtraStyle();
2825 if ( on )
2826 style |= wxFRAME_EX_METAL;
2827 else
2828 style &= ~wxFRAME_EX_METAL;
2829 self->SetExtraStyle(style);
2830 }
10044bf1 2831
36ed4f51 2832
1bd55598 2833SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
36ed4f51
RD
2834 wxRect r;
2835 self->GetFieldRect(i, r);
2836 return r;
2837 }
2838 static const wxString wxPySplitterNameStr(wxT("splitter"));
2839 static const wxString wxPySashNameStr(wxT("sashWindow"));
2840 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2841
2842#include <wx/popupwin.h>
2843
2844
2845class wxPopupWindow : public wxWindow {
2846public:
2847 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2848 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2849};
2850
2851class wxPyPopupTransientWindow : public wxPopupWindow
2852{
2853public:
2854 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2855 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2856};
2857
2858
2859#include <wx/tipwin.h>
2860
1bd55598 2861SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
36ed4f51
RD
2862 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2863 }
2864
2865#include <wx/tipwin.h>
2866
2867
2868#include <wx/vscroll.h>
2869
2870
2871class wxPyVScrolledWindow : public wxVScrolledWindow
2872{
32fe5131 2873 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
36ed4f51
RD
2874public:
2875 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2876
2877 wxPyVScrolledWindow(wxWindow *parent,
2878 wxWindowID id = wxID_ANY,
2879 const wxPoint& pos = wxDefaultPosition,
2880 const wxSize& size = wxDefaultSize,
2881 long style = 0,
2882 const wxString& name = wxPyPanelNameStr)
2883 : wxVScrolledWindow(parent, id, pos, size, style, name)
2884 {}
2885
2886 // Overridable virtuals
2887
2888 // this function must be overridden in the derived class and it should
2889 // return the height of the given line in pixels
2890 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2891
2892
2893 // this function doesn't have to be overridden but it may be useful to do
2894 // it if calculating the lines heights is a relatively expensive operation
2895 // as it gives the user code a possibility to calculate several of them at
2896 // once
2897 //
2898 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2899 // shouldn't rely on the latter being called for all lines in the interval
2900 // specified here. It is also possible that OnGetLineHeight() will be
2901 // called for the lines outside of this interval, so this is really just a
2902 // hint, not a promise.
2903 //
2904 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2905 // usual
2906 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2907
2908
2909 // when the number of lines changes, we try to estimate the total height
2910 // of all lines which is a rather expensive operation in terms of lines
2911 // access, so if the user code may estimate the average height
2912 // better/faster than we do, it should override this function to implement
2913 // its own logic
2914 //
2915 // this function should return the best guess for the total height it may
2916 // make
2917 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2918
2919
2920 // Also expose some other interesting protected methods
2921
2922
2923 // find the index of the line we need to show at the top of the window such
2924 // that the last (fully or partially) visible line is the given one
2925 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2926 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2927
2928 // get the total height of the lines between lineMin (inclusive) and
2929 // lineMax (exclusive)
2930 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2931 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2932
2131d850
RD
2933 // update the thumb size shown by the scrollbar
2934 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2935
2936 // remove the scrollbar completely because we don't need it
2937 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
36ed4f51
RD
2938
2939 PYPRIVATE;
2940};
2941
2942IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc
RD
2943
2944IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2945IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2946IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2947
2948
fc46b7f3
RD
2949SWIGINTERN int
2950SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2951{
2952 long v = 0;
2953 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2954 return SWIG_TypeError;
2955 }
2956 else if (val)
2957 *val = (unsigned long)v;
2958 return SWIG_OK;
2959}
2960
2961
32fe5131 2962SWIGINTERNINLINE int
1bd55598 2963SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c370783e 2964{
1bd55598
RD
2965 unsigned long v;
2966 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2967 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2968 return res;
d55e5bfc
RD
2969}
2970
2971
32fe5131 2972SWIGINTERNINLINE PyObject*
1bd55598 2973SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2974{
2975 return (value > LONG_MAX) ?
1bd55598
RD
2976 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2977}
2978
2979
2980SWIGINTERNINLINE PyObject *
2981SWIG_From_size_t (size_t value)
2982{
2983 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2984}
2985
2986
2987#include <wx/vlbox.h>
2988
2989 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2990
2991class wxPyVListBox : public wxVListBox
2992{
32fe5131 2993 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2994public:
2995 wxPyVListBox() : wxVListBox() {}
2996
2997 wxPyVListBox(wxWindow *parent,
2998 wxWindowID id = wxID_ANY,
2999 const wxPoint& pos = wxDefaultPosition,
3000 const wxSize& size = wxDefaultSize,
3001 long style = 0,
3002 const wxString& name = wxPyVListBoxNameStr)
3003 : wxVListBox(parent, id, pos, size, style, name)
3004 {}
3005
3006 // Overridable virtuals
3007
3008 // the derived class must implement this function to actually draw the item
3009 // with the given index on the provided DC
3010 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3012
3013
3014 // the derived class must implement this method to return the height of the
3015 // specified item
3016 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3017 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3018
3019
3020 // this method may be used to draw separators between the lines; note that
3021 // the rectangle may be modified, typically to deflate it a bit before
3022 // passing to OnDrawItem()
3023 //
3024 // the base class version doesn't do anything
3025 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3026 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3027
3028
3029 // this method is used to draw the items background and, maybe, a border
3030 // around it
3031 //
3032 // the base class version implements a reasonable default behaviour which
3033 // consists in drawing the selected item with the standard background
3034 // colour and drawing a border around the item if it is either selected or
3035 // current
3036 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3037 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3038
3039
3040 PYPRIVATE;
3041};
3042
3043IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3044
3045IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3046IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3047IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3048IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3049
3050
1bd55598 3051SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3052 unsigned long cookie = 0;
3053 int selected = self->GetFirstSelected(cookie);
5a446332 3054 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3055 PyObject* tup = PyTuple_New(2);
3056 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3057 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3058 wxPyEndBlockThreads(blocked);
3059 return tup;
3060 }
1bd55598 3061SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3062 int selected = self->GetNextSelected(cookie);
5a446332 3063 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3064 PyObject* tup = PyTuple_New(2);
3065 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3066 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3067 wxPyEndBlockThreads(blocked);
3068 return tup;
3069 }
d55e5bfc
RD
3070
3071#include <wx/htmllbox.h>
3072
3073
3074class wxPyHtmlListBox : public wxHtmlListBox
3075{
32fe5131 3076 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3077public:
3078 wxPyHtmlListBox() : wxHtmlListBox() {}
3079
3080 wxPyHtmlListBox(wxWindow *parent,
3081 wxWindowID id = wxID_ANY,
3082 const wxPoint& pos = wxDefaultPosition,
3083 const wxSize& size = wxDefaultSize,
3084 long style = 0,
3085 const wxString& name = wxPyVListBoxNameStr)
3086 : wxHtmlListBox(parent, id, pos, size, style, name)
3087 {}
3088
3089 // Overridable virtuals
3090
3091 // this method must be implemented in the derived class and should return
3092 // the body (i.e. without <html>) of the HTML for the given item
3093 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3094
3095 // this function may be overridden to decorate HTML returned by OnGetItem()
3096 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3097
1c71765a
RD
3098 // These are from wxVListBox
3099 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3100 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3101
d55e5bfc
RD
3102// TODO:
3103// // this method allows to customize the selection appearance: it may be used
3104// // to specify the colour of the text which normally has the given colour
3105// // colFg when it is inside the selection
3106// //
3107// // by default, the original colour is not used at all and all text has the
3108// // same (default for this system) colour inside selection
3109// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3110
3111// // this is the same as GetSelectedTextColour() but allows to customize the
3112// // background colour -- this is even more rarely used as you can change it
3113// // globally using SetSelectionBackground()
3114// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3115
e9d6f3a4
RD
3116
3117 // This method may be overriden to handle clicking on a link in
3118 // the listbox. By default, clicking links is ignored.
3119 virtual void OnLinkClicked(size_t n,
3120 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3121
3122 PYPRIVATE;
3123};
3124
3125
3126IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3127
3128IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3129IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3130IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3131IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3132
3133
e9d6f3a4
RD
3134void wxPyHtmlListBox::OnLinkClicked(size_t n,
3135 const wxHtmlLinkInfo& link) {
3136 bool found;
3137 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3138 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3139 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3140 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3141 Py_DECREF(obj);
3142 }
3143 wxPyEndBlockThreads(blocked);
3144 if (! found)
3145 wxPyHtmlListBox::OnLinkClicked(n, link);
3146}
3147
3148
d55e5bfc
RD
3149
3150
3151
b411df4a
RD
3152#ifndef wxHAS_TASK_BAR_ICON
3153// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3154
3155class wxTaskBarIcon : public wxEvtHandler
3156{
3157public:
3158 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3159};
09c21d3b 3160
d55e5bfc
RD
3161
3162class wxTaskBarIconEvent : public wxEvent
3163{
3164public:
3165 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3166 { wxPyRaiseNotImplemented(); }
3167 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
3168 bool IsOk() const { return false; }
3169 bool IsIconInstalled() const { return false; }
3170 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3171 bool RemoveIcon() { return false; }
3172 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3173};
3174
3175enum {
3176 wxEVT_TASKBAR_MOVE = 0,
3177 wxEVT_TASKBAR_LEFT_DOWN = 0,
3178 wxEVT_TASKBAR_LEFT_UP = 0,
3179 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3180 wxEVT_TASKBAR_RIGHT_UP = 0,
3181 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3182 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3183};
09c21d3b
RD
3184
3185
3186#else
5e483524
RD
3187// Otherwise make a class that can virtualize CreatePopupMenu
3188class wxPyTaskBarIcon : public wxTaskBarIcon
3189{
32fe5131 3190 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3191public:
3192 wxPyTaskBarIcon() : wxTaskBarIcon()
3193 {}
09c21d3b 3194
5e483524
RD
3195 wxMenu* CreatePopupMenu() {
3196 wxMenu *rval = NULL;
3197 bool found;
5a446332 3198 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3199 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3200 PyObject* ro;
3201 wxMenu* ptr;
3202 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3203 if (ro) {
3204 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3205 rval = ptr;
3206 Py_DECREF(ro);
3207 }
3208 }
3209 wxPyEndBlockThreads(blocked);
3210 if (! found)
3211 rval = wxTaskBarIcon::CreatePopupMenu();
3212 return rval;
3213 }
d55e5bfc 3214
5e483524
RD
3215 PYPRIVATE;
3216};
d55e5bfc 3217
5e483524 3218IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 3219
5e483524
RD
3220#endif
3221
1bd55598 3222SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
3223 self->RemoveIcon();
3224 delete self;
d55e5bfc
RD
3225 }
3226 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3227 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3228 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3229 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3230 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3231 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3232
3233// for compatibility only
3234#define wxHIDE_READONLY 0
3235
1bd55598 3236SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3237 wxArrayString arr;
3238 self->GetFilenames(arr);
3239 return wxArrayString2PyList_helper(arr);
3240 }
1bd55598 3241SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3242 wxArrayString arr;
3243 self->GetPaths(arr);
3244 return wxArrayString2PyList_helper(arr);
3245 }
1bd55598 3246SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3247 return wxArrayInt2PyList_helper(self->GetSelections());
3248 }
1bd55598 3249SWIGINTERN 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
3250 return new wxSingleChoiceDialog(parent, message, caption,
3251 choices, choices_array, NULL, style, pos);
3252 }
070c48b4 3253 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3254
2131d850
RD
3255SWIGINTERNINLINE PyObject*
3256 SWIG_From_bool (bool value)
3257{
3258 return PyBool_FromLong(value ? 1 : 0);
3259}
3260
3261
d55e5bfc
RD
3262#include <wx/mdi.h>
3263
3264 // C++ version of Python aware wxWindow
3265class wxPyWindow : public wxWindow
3266{
3267 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3268public:
3269 wxPyWindow() : wxWindow() {}
3270 wxPyWindow(wxWindow* parent, const wxWindowID id,
3271 const wxPoint& pos = wxDefaultPosition,
3272 const wxSize& size = wxDefaultSize,
3273 long style = 0,
3274 const wxString& name = wxPyPanelNameStr)
3275 : wxWindow(parent, id, pos, size, style, name) {}
3276
a5ee0656 3277 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 3278
976dbff5
RD
3279 bool DoEraseBackground(wxDC* dc) {
3280#ifdef __WXMSW__
3281 return wxWindow::DoEraseBackground(dc->GetHDC());
3282#else
3283 dc->SetBackground(wxBrush(GetBackgroundColour()));
3284 dc->Clear();
3285 return true;
3286#endif
3287 }
3288
d55e5bfc
RD
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3293
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3297
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3300
3301 DEC_PYCALLBACK__(InitDialog);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3304 DEC_PYCALLBACK_BOOL_(Validate);
3305
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3309
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3312
a5ee0656 3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3315
51b83b37
RD
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3317
8d38bd1d
RD
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3319
d55e5bfc
RD
3320 PYPRIVATE;
3321};
3322
3323IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3324
3325IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3326IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3327IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3328IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3329
3330IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3331IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3332IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3333
3334IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3335IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3336
3337IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3338IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3339IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3340IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3341
3342IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3343IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3344IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3345
3346IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3347IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3348
a5ee0656 3349IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
a5ee0656 3350IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3351
3352IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3353
8d38bd1d
RD
3354IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3355
d55e5bfc
RD
3356 // C++ version of Python aware wxPanel
3357class wxPyPanel : public wxPanel
3358{
3359 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3360public:
3361 wxPyPanel() : wxPanel() {}
3362 wxPyPanel(wxWindow* parent, const wxWindowID id,
3363 const wxPoint& pos = wxDefaultPosition,
3364 const wxSize& size = wxDefaultSize,
3365 long style = 0,
3366 const wxString& name = wxPyPanelNameStr)
3367 : wxPanel(parent, id, pos, size, style, name) {}
3368
a5ee0656 3369 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
976dbff5
RD
3370 bool DoEraseBackground(wxDC* dc) {
3371#ifdef __WXMSW__
3372 return wxWindow::DoEraseBackground(dc->GetHDC());
3373#else
3374 dc->SetBackground(wxBrush(GetBackgroundColour()));
3375 dc->Clear();
3376 return true;
3377#endif
3378 }
a5ee0656 3379
d55e5bfc
RD
3380
3381 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3382 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3385
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3389
3390 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3391 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3392
3393 DEC_PYCALLBACK__(InitDialog);
3394 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3395 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3396 DEC_PYCALLBACK_BOOL_(Validate);
3397
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3400 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3401
3402 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3404
a5ee0656 3405 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3406 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3407
51b83b37
RD
3408 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3409
8d38bd1d
RD
3410 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3411
d55e5bfc
RD
3412 PYPRIVATE;
3413};
3414
3415IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3416
3417IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3418IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3419IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3420IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3421
3422IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3423IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3424IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3425
3426IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3427IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3428
3429IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3430IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3431IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3432IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3433
3434IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3435IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3436IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3437
3438IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3439IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3440
a5ee0656 3441IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
a5ee0656 3442IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3443
51b83b37
RD
3444IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3445
8d38bd1d
RD
3446IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3447
d55e5bfc
RD
3448 // C++ version of Python aware wxScrolledWindow
3449class wxPyScrolledWindow : public wxScrolledWindow
3450{
3451 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3452public:
3453 wxPyScrolledWindow() : wxScrolledWindow() {}
3454 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3455 const wxPoint& pos = wxDefaultPosition,
3456 const wxSize& size = wxDefaultSize,
3457 long style = 0,
3458 const wxString& name = wxPyPanelNameStr)
3459 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3460
a5ee0656 3461 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
976dbff5
RD
3462 bool DoEraseBackground(wxDC* dc) {
3463#ifdef __WXMSW__
3464 return wxWindow::DoEraseBackground(dc->GetHDC());
3465#else
3466 dc->SetBackground(wxBrush(GetBackgroundColour()));
3467 dc->Clear();
3468 return true;
3469#endif
3470 }
d55e5bfc
RD
3471
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3476
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3480
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3483
3484 DEC_PYCALLBACK__(InitDialog);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3487 DEC_PYCALLBACK_BOOL_(Validate);
3488
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3492
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3495
a5ee0656 3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3498
51b83b37
RD
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3500
8d38bd1d
RD
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3502
d55e5bfc
RD
3503 PYPRIVATE;
3504};
3505
3506IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3507
3508IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3509IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3510IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3511IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3512
3513IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3514IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3515IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3516
3517IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3518IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3519
3520IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3521IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3522IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3523IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3524
3525IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3526IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3527IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3528
3529IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3530IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3531
a5ee0656 3532IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
a5ee0656
RD
3533IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3534
51b83b37 3535IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3536
8d38bd1d
RD
3537IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3538
d55e5bfc
RD
3539
3540#include "wx/wxPython/printfw.h"
3541
3542
3543 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1bd55598 3545SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
7fbf8399 3546 PyObject* data;
5a446332 3547 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3548 data = PyString_FromStringAndSize(self->GetPrivData(),
3549 self->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked);
3551 return data;
3552 }
1bd55598 3553SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
7fbf8399
RD
3554 if (! PyString_Check(data)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3556 "Expected string object"));
3557 return /* NULL */ ;
3558 }
3559
5a446332 3560 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3561 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3562 wxPyEndBlockThreads(blocked);
3563 }
d55e5bfc
RD
3564
3565
070c48b4 3566IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3567
3568// Since this one would be tough and ugly to do with the Macros...
3569void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 3570 bool hadErr = false;
d55e5bfc
RD
3571 bool found;
3572
5a446332 3573 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3574 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3575 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3576 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3577 PyObject* val;
3578
3579 val = PyTuple_GetItem(result, 0);
3580 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 3581 else hadErr = true;
d55e5bfc
RD
3582
3583 val = PyTuple_GetItem(result, 1);
3584 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 3585 else hadErr = true;
d55e5bfc
RD
3586
3587 val = PyTuple_GetItem(result, 2);
3588 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 3589 else hadErr = true;
d55e5bfc
RD
3590
3591 val = PyTuple_GetItem(result, 3);
3592 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 3593 else hadErr = true;
d55e5bfc
RD
3594 }
3595 else
b411df4a 3596 hadErr = true;
d55e5bfc
RD
3597
3598 if (hadErr) {
3599 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3600 PyErr_Print();
3601 }
3602 Py_DECREF(result);
3603 }
3604 wxPyEndBlockThreads(blocked);
3605 if (! found)
3606 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3607}
3608
d55e5bfc
RD
3609
3610
3611IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3612IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3613IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3614IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3615IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3616IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3617IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3618
3619
3620
3621
3622
b411df4a 3623#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
7f7aa166 3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3625
3626
b411df4a
RD
3627#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3629 bool rval=false; \
3630 bool found; \
32fe5131 3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
b411df4a
RD
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3636 Py_DECREF(win); \
3637 Py_DECREF(dc); \
3638 } \
3639 wxPyEndBlockThreads(blocked); \
3640 if (! found) \
3641 rval = PCLASS::CBNAME(a, b); \
3642 return rval; \
7f7aa166 3643 }
d55e5bfc
RD
3644
3645
3646
3647
3648class wxPyPrintPreview : public wxPrintPreview
3649{
3650 DECLARE_CLASS(wxPyPrintPreview)
3651public:
3652 wxPyPrintPreview(wxPyPrintout* printout,
3653 wxPyPrintout* printoutForPrinting,
3654 wxPrintDialogData* data=NULL)
3655 : wxPrintPreview(printout, printoutForPrinting, data)
3656 {}
3657 wxPyPrintPreview(wxPyPrintout* printout,
3658 wxPyPrintout* printoutForPrinting,
32fe5131 3659 wxPrintData* data)
d55e5bfc
RD
3660 : wxPrintPreview(printout, printoutForPrinting, data)
3661 {}
3662
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling);
3670
3671 PYPRIVATE;
3672};
3673
3674// Stupid renamed classes... Fix this in 2.5...
3675#if defined(__WXMSW__)
3676IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3677#elif defined(__WXMAC__)
3678IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3679#else
3680IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3681#endif
3682
3683IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3684IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3685IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3686IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3687IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3688IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3689IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3690
3691
3692class wxPyPreviewFrame : public wxPreviewFrame
3693{
32fe5131 3694 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3695public:
3696 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3697 const wxString& title,
3698 const wxPoint& pos = wxDefaultPosition,
3699 const wxSize& size = wxDefaultSize,
3700 long style = wxDEFAULT_FRAME_STYLE,
3701 const wxString& name = wxPyFrameNameStr)
3702 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3703 {}
3704
3705 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3706 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3707
3708 DEC_PYCALLBACK_VOID_(Initialize);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar);
3711
3712 PYPRIVATE;
3713};
3714
3715IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3716
3717IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3718IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3719IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3720
3721
3722class wxPyPreviewControlBar : public wxPreviewControlBar
3723{
32fe5131 3724 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3725public:
3726 wxPyPreviewControlBar(wxPrintPreview *preview,
3727 long buttons,
3728 wxWindow *parent,
3729 const wxPoint& pos = wxDefaultPosition,
3730 const wxSize& size = wxDefaultSize,
3731 long style = 0,
3732 const wxString& name = wxPyPanelNameStr)
3733 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3734 {}
3735
3736 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3737
3738 DEC_PYCALLBACK_VOID_(CreateButtons);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3740
3741 PYPRIVATE;
3742};
3743
3744IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3745IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3746IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3747
3748#ifdef __cplusplus
3749extern "C" {
3750#endif
1bd55598
RD
3751SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj = 0;
3753 wxWindow *arg1 = (wxWindow *) 0 ;
3754 int arg2 = (int) (int)-1 ;
3755 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3756 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3757 wxSize const &arg4_defvalue = wxDefaultSize ;
3758 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3759 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3760 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3761 wxString *arg6 = (wxString *) &arg6_defvalue ;
3762 wxPanel *result = 0 ;
3763 void *argp1 = 0 ;
3764 int res1 = 0 ;
3765 int val2 ;
3766 int ecode2 = 0 ;
3767 wxPoint temp3 ;
3768 wxSize temp4 ;
3769 long val5 ;
3770 int ecode5 = 0 ;
3771 bool temp6 = false ;
3772 PyObject * obj0 = 0 ;
3773 PyObject * obj1 = 0 ;
3774 PyObject * obj2 = 0 ;
3775 PyObject * obj3 = 0 ;
3776 PyObject * obj4 = 0 ;
3777 PyObject * obj5 = 0 ;
3778 char * kwnames[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3780 };
3781
3782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3784 if (!SWIG_IsOK(res1)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 }
3787 arg1 = reinterpret_cast< wxWindow * >(argp1);
3788 if (obj1) {
3789 ecode2 = SWIG_AsVal_int(obj1, &val2);
3790 if (!SWIG_IsOK(ecode2)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 }
3793 arg2 = static_cast< int >(val2);
3794 }
3795 if (obj2) {
d55e5bfc 3796 {
1bd55598
RD
3797 arg3 = &temp3;
3798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3799 }
1bd55598
RD
3800 }
3801 if (obj3) {
d55e5bfc 3802 {
1bd55598
RD
3803 arg4 = &temp4;
3804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3805 }
1bd55598
RD
3806 }
3807 if (obj4) {
3808 ecode5 = SWIG_AsVal_long(obj4, &val5);
3809 if (!SWIG_IsOK(ecode5)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 }
3812 arg5 = static_cast< long >(val5);
3813 }
3814 if (obj5) {
d55e5bfc 3815 {
1bd55598
RD
3816 arg6 = wxString_in_helper(obj5);
3817 if (arg6 == NULL) SWIG_fail;
3818 temp6 = true;
3819 }
3820 }
3821 {
3822 if (!wxPyCheckForApp()) SWIG_fail;
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3829 {
3830 if (temp6)
3831 delete arg6;
3832 }
3833 return resultobj;
3834fail:
3835 {
3836 if (temp6)
3837 delete arg6;
3838 }
3839 return NULL;
d55e5bfc
RD
3840}
3841
3842
1bd55598
RD
3843SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3844 PyObject *resultobj = 0;
3845 wxPanel *result = 0 ;
3846
3847 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3848 {
3849 if (!wxPyCheckForApp()) SWIG_fail;
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (wxPanel *)new wxPanel();
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3856 return resultobj;
3857fail:
3858 return NULL;
3859}
3860
3861
3862SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj = 0;
3864 wxPanel *arg1 = (wxPanel *) 0 ;
3865 wxWindow *arg2 = (wxWindow *) 0 ;
3866 int arg3 = (int) (int)-1 ;
3867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3869 wxSize const &arg5_defvalue = wxDefaultSize ;
3870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3871 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3872 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3873 wxString *arg7 = (wxString *) &arg7_defvalue ;
3874 bool result;
3875 void *argp1 = 0 ;
3876 int res1 = 0 ;
3877 void *argp2 = 0 ;
3878 int res2 = 0 ;
3879 int val3 ;
3880 int ecode3 = 0 ;
3881 wxPoint temp4 ;
3882 wxSize temp5 ;
3883 long val6 ;
3884 int ecode6 = 0 ;
3885 bool temp7 = false ;
3886 PyObject * obj0 = 0 ;
3887 PyObject * obj1 = 0 ;
3888 PyObject * obj2 = 0 ;
3889 PyObject * obj3 = 0 ;
3890 PyObject * obj4 = 0 ;
3891 PyObject * obj5 = 0 ;
3892 PyObject * obj6 = 0 ;
3893 char * kwnames[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 };
3896
3897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3899 if (!SWIG_IsOK(res1)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 }
3902 arg1 = reinterpret_cast< wxPanel * >(argp1);
3903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3904 if (!SWIG_IsOK(res2)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 }
3907 arg2 = reinterpret_cast< wxWindow * >(argp2);
3908 if (obj2) {
3909 ecode3 = SWIG_AsVal_int(obj2, &val3);
3910 if (!SWIG_IsOK(ecode3)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 }
3913 arg3 = static_cast< int >(val3);
3914 }
3915 if (obj3) {
d55e5bfc 3916 {
1bd55598
RD
3917 arg4 = &temp4;
3918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3919 }
1bd55598
RD
3920 }
3921 if (obj4) {
d55e5bfc 3922 {
1bd55598
RD
3923 arg5 = &temp5;
3924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3925 }
1bd55598
RD
3926 }
3927 if (obj5) {
3928 ecode6 = SWIG_AsVal_long(obj5, &val6);
3929 if (!SWIG_IsOK(ecode6)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 }
3932 arg6 = static_cast< long >(val6);
3933 }
3934 if (obj6) {
d55e5bfc 3935 {
1bd55598
RD
3936 arg7 = wxString_in_helper(obj6);
3937 if (arg7 == NULL) SWIG_fail;
3938 temp7 = true;
d55e5bfc 3939 }
1bd55598
RD
3940 }
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 {
3948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3949 }
3950 {
3951 if (temp7)
3952 delete arg7;
3953 }
3954 return resultobj;
3955fail:
3956 {
3957 if (temp7)
3958 delete arg7;
3959 }
3960 return NULL;
5cbf236d
RD
3961}
3962
3963
1bd55598
RD
3964SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3965 PyObject *resultobj = 0;
3966 wxPanel *arg1 = (wxPanel *) 0 ;
3967 void *argp1 = 0 ;
3968 int res1 = 0 ;
3969 PyObject *swig_obj[1] ;
3970
3971 if (!args) SWIG_fail;
3972 swig_obj[0] = args;
3973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3974 if (!SWIG_IsOK(res1)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 }
3977 arg1 = reinterpret_cast< wxPanel * >(argp1);
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = SWIG_Py_Void();
3985 return resultobj;
3986fail:
3987 return NULL;
3988}
3989
3990
3991SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj = 0;
3993 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3994 SwigValueWrapper<wxVisualAttributes > result;
3995 int val1 ;
3996 int ecode1 = 0 ;
3997 PyObject * obj0 = 0 ;
3998 char * kwnames[] = {
3999 (char *) "variant", NULL
4000 };
4001
4002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4003 if (obj0) {
4004 ecode1 = SWIG_AsVal_int(obj0, &val1);
4005 if (!SWIG_IsOK(ecode1)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 }
4008 arg1 = static_cast< wxWindowVariant >(val1);
4009 }
4010 {
4011 if (!wxPyCheckForApp()) SWIG_fail;
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = wxPanel::GetClassDefaultAttributes(arg1);
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4018 return resultobj;
4019fail:
4020 return NULL;
4021}
4022
4023
4024SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4025 PyObject *obj;
4026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4028 return SWIG_Py_Void();
4029}
4030
4031SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4032 return SWIG_Python_InitShadowInstance(args);
4033}
4034
4035SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj = 0;
4037 wxWindow *arg1 = (wxWindow *) 0 ;
4038 int arg2 = (int) (int)-1 ;
4039 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4040 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4041 wxSize const &arg4_defvalue = wxDefaultSize ;
4042 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4043 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4044 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4045 wxString *arg6 = (wxString *) &arg6_defvalue ;
4046 wxScrolledWindow *result = 0 ;
4047 void *argp1 = 0 ;
4048 int res1 = 0 ;
4049 int val2 ;
4050 int ecode2 = 0 ;
4051 wxPoint temp3 ;
4052 wxSize temp4 ;
4053 long val5 ;
4054 int ecode5 = 0 ;
4055 bool temp6 = false ;
4056 PyObject * obj0 = 0 ;
4057 PyObject * obj1 = 0 ;
4058 PyObject * obj2 = 0 ;
4059 PyObject * obj3 = 0 ;
4060 PyObject * obj4 = 0 ;
4061 PyObject * obj5 = 0 ;
4062 char * kwnames[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4064 };
4065
4066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4068 if (!SWIG_IsOK(res1)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 }
4071 arg1 = reinterpret_cast< wxWindow * >(argp1);
4072 if (obj1) {
4073 ecode2 = SWIG_AsVal_int(obj1, &val2);
4074 if (!SWIG_IsOK(ecode2)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 }
4077 arg2 = static_cast< int >(val2);
4078 }
4079 if (obj2) {
5cbf236d 4080 {
1bd55598
RD
4081 arg3 = &temp3;
4082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4083 }
1bd55598
RD
4084 }
4085 if (obj3) {
f20a2e1f 4086 {
1bd55598
RD
4087 arg4 = &temp4;
4088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4089 }
1bd55598
RD
4090 }
4091 if (obj4) {
4092 ecode5 = SWIG_AsVal_long(obj4, &val5);
4093 if (!SWIG_IsOK(ecode5)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 }
4096 arg5 = static_cast< long >(val5);
4097 }
4098 if (obj5) {
f20a2e1f 4099 {
1bd55598
RD
4100 arg6 = wxString_in_helper(obj5);
4101 if (arg6 == NULL) SWIG_fail;
4102 temp6 = true;
f20a2e1f 4103 }
1bd55598
RD
4104 }
4105 {
4106 if (!wxPyCheckForApp()) SWIG_fail;
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4113 {
4114 if (temp6)
4115 delete arg6;
4116 }
4117 return resultobj;
4118fail:
4119 {
4120 if (temp6)
4121 delete arg6;
4122 }
4123 return NULL;
f20a2e1f
RD
4124}
4125
4126
1bd55598
RD
4127SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4128 PyObject *resultobj = 0;
4129 wxScrolledWindow *result = 0 ;
4130
4131 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4132 {
4133 if (!wxPyCheckForApp()) SWIG_fail;
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 result = (wxScrolledWindow *)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4140 return resultobj;
4141fail:
4142 return NULL;
4143}
4144
4145
4146SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj = 0;
4148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4149 wxWindow *arg2 = (wxWindow *) 0 ;
4150 int arg3 = (int) (int)-1 ;
4151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4153 wxSize const &arg5_defvalue = wxDefaultSize ;
4154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4155 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4156 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4157 wxString *arg7 = (wxString *) &arg7_defvalue ;
4158 bool result;
4159 void *argp1 = 0 ;
4160 int res1 = 0 ;
4161 void *argp2 = 0 ;
4162 int res2 = 0 ;
4163 int val3 ;
4164 int ecode3 = 0 ;
4165 wxPoint temp4 ;
4166 wxSize temp5 ;
4167 long val6 ;
4168 int ecode6 = 0 ;
4169 bool temp7 = false ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj2 = 0 ;
4173 PyObject * obj3 = 0 ;
4174 PyObject * obj4 = 0 ;
4175 PyObject * obj5 = 0 ;
4176 PyObject * obj6 = 0 ;
4177 char * kwnames[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4179 };
4180
4181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4183 if (!SWIG_IsOK(res1)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 }
4186 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4188 if (!SWIG_IsOK(res2)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 }
4191 arg2 = reinterpret_cast< wxWindow * >(argp2);
4192 if (obj2) {
4193 ecode3 = SWIG_AsVal_int(obj2, &val3);
4194 if (!SWIG_IsOK(ecode3)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 }
4197 arg3 = static_cast< int >(val3);
4198 }
4199 if (obj3) {
d55e5bfc 4200 {
1bd55598
RD
4201 arg4 = &temp4;
4202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4203 }
1bd55598
RD
4204 }
4205 if (obj4) {
d55e5bfc 4206 {
1bd55598
RD
4207 arg5 = &temp5;
4208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4209 }
1bd55598
RD
4210 }
4211 if (obj5) {
4212 ecode6 = SWIG_AsVal_long(obj5, &val6);
4213 if (!SWIG_IsOK(ecode6)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 }
4216 arg6 = static_cast< long >(val6);
4217 }
4218 if (obj6) {
d55e5bfc 4219 {
1bd55598
RD
4220 arg7 = wxString_in_helper(obj6);
4221 if (arg7 == NULL) SWIG_fail;
4222 temp7 = true;
4223 }
4224 }
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 {
4232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4233 }
4234 {
4235 if (temp7)
4236 delete arg7;
4237 }
4238 return resultobj;
4239fail:
4240 {
4241 if (temp7)
4242 delete arg7;
4243 }
4244 return NULL;
4245}
4246
4247
4248SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj = 0;
4250 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4251 int arg2 ;
4252 int arg3 ;
4253 int arg4 ;
4254 int arg5 ;
4255 int arg6 = (int) 0 ;
4256 int arg7 = (int) 0 ;
4257 bool arg8 = (bool) false ;
4258 void *argp1 = 0 ;
4259 int res1 = 0 ;
4260 int val2 ;
4261 int ecode2 = 0 ;
4262 int val3 ;
4263 int ecode3 = 0 ;
4264 int val4 ;
4265 int ecode4 = 0 ;
4266 int val5 ;
4267 int ecode5 = 0 ;
4268 int val6 ;
4269 int ecode6 = 0 ;
4270 int val7 ;
4271 int ecode7 = 0 ;
4272 bool val8 ;
4273 int ecode8 = 0 ;
4274 PyObject * obj0 = 0 ;
4275 PyObject * obj1 = 0 ;
4276 PyObject * obj2 = 0 ;
4277 PyObject * obj3 = 0 ;
4278 PyObject * obj4 = 0 ;
4279 PyObject * obj5 = 0 ;
4280 PyObject * obj6 = 0 ;
4281 PyObject * obj7 = 0 ;
4282 char * kwnames[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4284 };
4285
4286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4288 if (!SWIG_IsOK(res1)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 }
4291 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4292 ecode2 = SWIG_AsVal_int(obj1, &val2);
4293 if (!SWIG_IsOK(ecode2)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 }
4296 arg2 = static_cast< int >(val2);
4297 ecode3 = SWIG_AsVal_int(obj2, &val3);
4298 if (!SWIG_IsOK(ecode3)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 }
4301 arg3 = static_cast< int >(val3);
4302 ecode4 = SWIG_AsVal_int(obj3, &val4);
4303 if (!SWIG_IsOK(ecode4)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 }
4306 arg4 = static_cast< int >(val4);
4307 ecode5 = SWIG_AsVal_int(obj4, &val5);
4308 if (!SWIG_IsOK(ecode5)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 }
4311 arg5 = static_cast< int >(val5);
4312 if (obj5) {
4313 ecode6 = SWIG_AsVal_int(obj5, &val6);
4314 if (!SWIG_IsOK(ecode6)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 }
4317 arg6 = static_cast< int >(val6);
4318 }
4319 if (obj6) {
4320 ecode7 = SWIG_AsVal_int(obj6, &val7);
4321 if (!SWIG_IsOK(ecode7)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 }
4324 arg7 = static_cast< int >(val7);
4325 }
4326 if (obj7) {
4327 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4328 if (!SWIG_IsOK(ecode8)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 }
4331 arg8 = static_cast< bool >(val8);
4332 }
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = SWIG_Py_Void();
4340 return resultobj;
4341fail:
4342 return NULL;
4343}
4344
4345
4346SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj = 0;
4348 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4349 int arg2 ;
4350 int arg3 ;
4351 void *argp1 = 0 ;
4352 int res1 = 0 ;
4353 int val2 ;
4354 int ecode2 = 0 ;
4355 int val3 ;
4356 int ecode3 = 0 ;
4357 PyObject * obj0 = 0 ;
4358 PyObject * obj1 = 0 ;
4359 PyObject * obj2 = 0 ;
4360 char * kwnames[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4362 };
4363
4364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4366 if (!SWIG_IsOK(res1)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 }
4369 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4370 ecode2 = SWIG_AsVal_int(obj1, &val2);
4371 if (!SWIG_IsOK(ecode2)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 }
4374 arg2 = static_cast< int >(val2);
4375 ecode3 = SWIG_AsVal_int(obj2, &val3);
4376 if (!SWIG_IsOK(ecode3)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 }
4379 arg3 = static_cast< int >(val3);
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->Scroll(arg2,arg3);
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 resultobj = SWIG_Py_Void();
4387 return resultobj;
4388fail:
4389 return NULL;
4390}
4391
4392
4393SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj = 0;
4395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4396 int arg2 ;
4397 int result;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 int val2 ;
4401 int ecode2 = 0 ;
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 char * kwnames[] = {
4405 (char *) "self",(char *) "orient", NULL
4406 };
4407
4408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4410 if (!SWIG_IsOK(res1)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 }
4413 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4414 ecode2 = SWIG_AsVal_int(obj1, &val2);
4415 if (!SWIG_IsOK(ecode2)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 }
4418 arg2 = static_cast< int >(val2);
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_From_int(static_cast< int >(result));
4426 return resultobj;
4427fail:
4428 return NULL;
4429}
4430
4431
4432SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj = 0;
4434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4435 int arg2 ;
4436 int arg3 ;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 int val2 ;
4440 int ecode2 = 0 ;
4441 int val3 ;
4442 int ecode3 = 0 ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 PyObject * obj2 = 0 ;
4446 char * kwnames[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4448 };
4449
4450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4452 if (!SWIG_IsOK(res1)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 }
4455 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4456 ecode2 = SWIG_AsVal_int(obj1, &val2);
4457 if (!SWIG_IsOK(ecode2)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4459 }
4460 arg2 = static_cast< int >(val2);
4461 ecode3 = SWIG_AsVal_int(obj2, &val3);
4462 if (!SWIG_IsOK(ecode3)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 }
4465 arg3 = static_cast< int >(val3);
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->SetScrollPageSize(arg2,arg3);
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 resultobj = SWIG_Py_Void();
4473 return resultobj;
4474fail:
4475 return NULL;
4476}
4477
4478
4479SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj = 0;
4481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4482 int arg2 ;
4483 int arg3 ;
4484 void *argp1 = 0 ;
4485 int res1 = 0 ;
4486 int val2 ;
4487 int ecode2 = 0 ;
4488 int val3 ;
4489 int ecode3 = 0 ;
4490 PyObject * obj0 = 0 ;
4491 PyObject * obj1 = 0 ;
4492 PyObject * obj2 = 0 ;
4493 char * kwnames[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4495 };
4496
4497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4499 if (!SWIG_IsOK(res1)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 }
4502 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4503 ecode2 = SWIG_AsVal_int(obj1, &val2);
4504 if (!SWIG_IsOK(ecode2)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 }
4507 arg2 = static_cast< int >(val2);
4508 ecode3 = SWIG_AsVal_int(obj2, &val3);
4509 if (!SWIG_IsOK(ecode3)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 }
4512 arg3 = static_cast< int >(val3);
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 (arg1)->SetScrollRate(arg2,arg3);
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = SWIG_Py_Void();
4520 return resultobj;
4521fail:
4522 return NULL;
4523}
4524
4525
4526SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4527 PyObject *resultobj = 0;
4528 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4529 int *arg2 = (int *) 0 ;
4530 int *arg3 = (int *) 0 ;
4531 void *argp1 = 0 ;
4532 int res1 = 0 ;
4533 int temp2 ;
4534 int res2 = SWIG_TMPOBJ ;
4535 int temp3 ;
4536 int res3 = SWIG_TMPOBJ ;
4537 PyObject *swig_obj[1] ;
4538
4539 arg2 = &temp2;
4540 arg3 = &temp3;
4541 if (!args) SWIG_fail;
4542 swig_obj[0] = args;
4543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4544 if (!SWIG_IsOK(res1)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 }
4547 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 resultobj = SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2)) {
4556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4557 } else {
4558 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4560 }
4561 if (SWIG_IsTmpObj(res3)) {
4562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4563 } else {
4564 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4566 }
4567 return resultobj;
4568fail:
4569 return NULL;
4570}
4571
4572
4573SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj = 0;
4575 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4576 bool arg2 ;
4577 bool arg3 ;
4578 void *argp1 = 0 ;
4579 int res1 = 0 ;
4580 bool val2 ;
4581 int ecode2 = 0 ;
4582 bool val3 ;
4583 int ecode3 = 0 ;
4584 PyObject * obj0 = 0 ;
4585 PyObject * obj1 = 0 ;
4586 PyObject * obj2 = 0 ;
4587 char * kwnames[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4589 };
4590
4591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4593 if (!SWIG_IsOK(res1)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 }
4596 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4597 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4598 if (!SWIG_IsOK(ecode2)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 }
4601 arg2 = static_cast< bool >(val2);
4602 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4603 if (!SWIG_IsOK(ecode3)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 }
4606 arg3 = static_cast< bool >(val3);
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 (arg1)->EnableScrolling(arg2,arg3);
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 resultobj = SWIG_Py_Void();
4614 return resultobj;
4615fail:
4616 return NULL;
4617}
4618
4619
4620SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4621 PyObject *resultobj = 0;
4622 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4623 int *arg2 = (int *) 0 ;
4624 int *arg3 = (int *) 0 ;
4625 void *argp1 = 0 ;
4626 int res1 = 0 ;
4627 int temp2 ;
4628 int res2 = SWIG_TMPOBJ ;
4629 int temp3 ;
4630 int res3 = SWIG_TMPOBJ ;
4631 PyObject *swig_obj[1] ;
4632
4633 arg2 = &temp2;
4634 arg3 = &temp3;
4635 if (!args) SWIG_fail;
4636 swig_obj[0] = args;
4637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4638 if (!SWIG_IsOK(res1)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 }
4641 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 resultobj = SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2)) {
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4651 } else {
4652 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4654 }
4655 if (SWIG_IsTmpObj(res3)) {
4656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4657 } else {
4658 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4660 }
4661 return resultobj;
4662fail:
4663 return NULL;
4664}
4665
4666
4667SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj = 0;
4669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4670 double arg2 ;
4671 double arg3 ;
4672 void *argp1 = 0 ;
4673 int res1 = 0 ;
4674 double val2 ;
4675 int ecode2 = 0 ;
4676 double val3 ;
4677 int ecode3 = 0 ;
4678 PyObject * obj0 = 0 ;
4679 PyObject * obj1 = 0 ;
4680 PyObject * obj2 = 0 ;
4681 char * kwnames[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4683 };
4684
4685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4687 if (!SWIG_IsOK(res1)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 }
4690 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4691 ecode2 = SWIG_AsVal_double(obj1, &val2);
4692 if (!SWIG_IsOK(ecode2)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 }
4695 arg2 = static_cast< double >(val2);
4696 ecode3 = SWIG_AsVal_double(obj2, &val3);
4697 if (!SWIG_IsOK(ecode3)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 }
4700 arg3 = static_cast< double >(val3);
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 (arg1)->SetScale(arg2,arg3);
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 resultobj = SWIG_Py_Void();
4708 return resultobj;
4709fail:
4710 return NULL;
d55e5bfc
RD
4711}
4712
4713
1bd55598
RD
4714SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4715 PyObject *resultobj = 0;
4716 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4717 double result;
4718 void *argp1 = 0 ;
4719 int res1 = 0 ;
4720 PyObject *swig_obj[1] ;
4721
4722 if (!args) SWIG_fail;
4723 swig_obj[0] = args;
4724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4725 if (!SWIG_IsOK(res1)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 }
4728 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
4731 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 resultobj = SWIG_From_double(static_cast< double >(result));
4736 return resultobj;
4737fail:
4738 return NULL;
d55e5bfc
RD
4739}
4740
4741
1bd55598
RD
4742SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4743 PyObject *resultobj = 0;
4744 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4745 double result;
4746 void *argp1 = 0 ;
4747 int res1 = 0 ;
4748 PyObject *swig_obj[1] ;
4749
4750 if (!args) SWIG_fail;
4751 swig_obj[0] = args;
4752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4753 if (!SWIG_IsOK(res1)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 }
4756 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_From_double(static_cast< double >(result));
4764 return resultobj;
4765fail:
4766 return NULL;
d55e5bfc
RD
4767}
4768
4769
1bd55598
RD
4770SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4771 PyObject *resultobj = 0;
4772 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4773 wxPoint *arg2 = 0 ;
4774 wxPoint result;
4775 void *argp1 = 0 ;
4776 int res1 = 0 ;
4777 wxPoint temp2 ;
4778
4779 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4781 if (!SWIG_IsOK(res1)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 }
4784 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4785 {
4786 arg2 = &temp2;
4787 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4788 }
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4796 return resultobj;
4797fail:
4798 return NULL;
4799}
4800
4801
4802SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4803 PyObject *resultobj = 0;
4804 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4805 int arg2 ;
4806 int arg3 ;
4807 int *arg4 = (int *) 0 ;
4808 int *arg5 = (int *) 0 ;
4809 void *argp1 = 0 ;
4810 int res1 = 0 ;
4811 int val2 ;
4812 int ecode2 = 0 ;
4813 int val3 ;
4814 int ecode3 = 0 ;
4815 int temp4 ;
4816 int res4 = SWIG_TMPOBJ ;
4817 int temp5 ;
4818 int res5 = SWIG_TMPOBJ ;
4819
4820 arg4 = &temp4;
4821 arg5 = &temp5;
4822 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4824 if (!SWIG_IsOK(res1)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 }
4827 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4828 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4829 if (!SWIG_IsOK(ecode2)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 }
4832 arg2 = static_cast< int >(val2);
4833 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4834 if (!SWIG_IsOK(ecode3)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 }
4837 arg3 = static_cast< int >(val3);
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 resultobj = SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4)) {
4846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4847 } else {
4848 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4850 }
4851 if (SWIG_IsTmpObj(res5)) {
4852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4853 } else {
4854 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4856 }
4857 return resultobj;
4858fail:
4859 return NULL;
d55e5bfc
RD
4860}
4861
4862
1bd55598
RD
4863SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4864 int argc;
4865 PyObject *argv[4];
4866
4867 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4868 --argc;
4869 if (argc == 2) {
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4871 }
4872 if (argc == 3) {
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4874 }
4875
4876fail:
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4878 return NULL;
d55e5bfc
RD
4879}
4880
4881
1bd55598
RD
4882SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4883 PyObject *resultobj = 0;
4884 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4885 wxPoint *arg2 = 0 ;
4886 wxPoint result;
4887 void *argp1 = 0 ;
4888 int res1 = 0 ;
4889 wxPoint temp2 ;
4890
4891 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4893 if (!SWIG_IsOK(res1)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 }
4896 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4897 {
4898 arg2 = &temp2;
4899 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4900 }
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4908 return resultobj;
4909fail:
4910 return NULL;
4911}
4912
4913
4914SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4915 PyObject *resultobj = 0;
4916 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4917 int arg2 ;
4918 int arg3 ;
4919 int *arg4 = (int *) 0 ;
4920 int *arg5 = (int *) 0 ;
4921 void *argp1 = 0 ;
4922 int res1 = 0 ;
4923 int val2 ;
4924 int ecode2 = 0 ;
4925 int val3 ;
4926 int ecode3 = 0 ;
4927 int temp4 ;
4928 int res4 = SWIG_TMPOBJ ;
4929 int temp5 ;
4930 int res5 = SWIG_TMPOBJ ;
4931
4932 arg4 = &temp4;
4933 arg5 = &temp5;
4934 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4936 if (!SWIG_IsOK(res1)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 }
4939 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4940 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4941 if (!SWIG_IsOK(ecode2)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 }
4944 arg2 = static_cast< int >(val2);
4945 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4946 if (!SWIG_IsOK(ecode3)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 }
4949 arg3 = static_cast< int >(val3);
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 resultobj = SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4)) {
4958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4959 } else {
4960 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4962 }
4963 if (SWIG_IsTmpObj(res5)) {
4964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4965 } else {
4966 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4968 }
4969 return resultobj;
4970fail:
4971 return NULL;
d55e5bfc
RD
4972}
4973
4974
1bd55598
RD
4975SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4976 int argc;
4977 PyObject *argv[4];
4978
4979 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4980 --argc;
4981 if (argc == 2) {
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4983 }
4984 if (argc == 3) {
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4986 }
4987
4988fail:
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4990 return NULL;
d55e5bfc
RD
4991}
4992
4993
1bd55598
RD
4994SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4995 PyObject *resultobj = 0;
4996 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4997 void *argp1 = 0 ;
4998 int res1 = 0 ;
4999 PyObject *swig_obj[1] ;
5000
5001 if (!args) SWIG_fail;
5002 swig_obj[0] = args;
5003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5004 if (!SWIG_IsOK(res1)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 }
5007 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 (arg1)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = SWIG_Py_Void();
5015 return resultobj;
5016fail:
5017 return NULL;
5018}
5019
5020
5021SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj = 0;
5023 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5024 wxScrollWinEvent *arg2 = 0 ;
5025 int result;
5026 void *argp1 = 0 ;
5027 int res1 = 0 ;
5028 void *argp2 = 0 ;
5029 int res2 = 0 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 char * kwnames[] = {
5033 (char *) "self",(char *) "event", NULL
5034 };
5035
5036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5038 if (!SWIG_IsOK(res1)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 }
5041 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5042 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5043 if (!SWIG_IsOK(res2)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 }
5046 if (!argp2) {
5047 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 }
5049 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 result = (int)(arg1)->CalcScrollInc(*arg2);
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 resultobj = SWIG_From_int(static_cast< int >(result));
5057 return resultobj;
5058fail:
5059 return NULL;
5060}
5061
5062
5063SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj = 0;
5065 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5066 wxWindow *arg2 = (wxWindow *) 0 ;
5067 void *argp1 = 0 ;
5068 int res1 = 0 ;
5069 void *argp2 = 0 ;
5070 int res2 = 0 ;
5071 PyObject * obj0 = 0 ;
5072 PyObject * obj1 = 0 ;
5073 char * kwnames[] = {
5074 (char *) "self",(char *) "target", NULL
5075 };
5076
5077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5079 if (!SWIG_IsOK(res1)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 }
5082 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5084 if (!SWIG_IsOK(res2)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 }
5087 arg2 = reinterpret_cast< wxWindow * >(argp2);
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 (arg1)->SetTargetWindow(arg2);
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 resultobj = SWIG_Py_Void();
5095 return resultobj;
5096fail:
5097 return NULL;
d55e5bfc
RD
5098}
5099
5100
1bd55598
RD
5101SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5102 PyObject *resultobj = 0;
5103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5104 wxWindow *result = 0 ;
5105 void *argp1 = 0 ;
5106 int res1 = 0 ;
5107 PyObject *swig_obj[1] ;
5108
5109 if (!args) SWIG_fail;
5110 swig_obj[0] = args;
5111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5112 if (!SWIG_IsOK(res1)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 }
5115 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 {
5123 resultobj = wxPyMake_wxObject(result, 0);
5124 }
5125 return resultobj;
5126fail:
5127 return NULL;
5128}
5129
5130
5131SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj = 0;
5133 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5134 wxRect *arg2 = 0 ;
5135 void *argp1 = 0 ;
5136 int res1 = 0 ;
5137 wxRect temp2 ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
5140 char * kwnames[] = {
5141 (char *) "self",(char *) "rect", NULL
5142 };
5143
5144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5146 if (!SWIG_IsOK(res1)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5148 }
5149 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5150 {
5151 arg2 = &temp2;
5152 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5153 }
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 (arg1)->SetTargetRect((wxRect const &)*arg2);
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 resultobj = SWIG_Py_Void();
5161 return resultobj;
5162fail:
5163 return NULL;
d55e5bfc
RD
5164}
5165
5166
1bd55598
RD
5167SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5168 PyObject *resultobj = 0;
5169 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5170 wxRect result;
5171 void *argp1 = 0 ;
5172 int res1 = 0 ;
5173 PyObject *swig_obj[1] ;
5174
5175 if (!args) SWIG_fail;
5176 swig_obj[0] = args;
5177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5178 if (!SWIG_IsOK(res1)) {
5179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5180 }
5181 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5182 {
5183 PyThreadState* __tstate = wxPyBeginAllowThreads();
5184 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5185 wxPyEndAllowThreads(__tstate);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5189 return resultobj;
5190fail:
5191 return NULL;
5192}
5193
5194
5195SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5196 PyObject *resultobj = 0;
5197 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5198 wxDC *arg2 = 0 ;
5199 void *argp1 = 0 ;
5200 int res1 = 0 ;
5201 void *argp2 = 0 ;
5202 int res2 = 0 ;
5203 PyObject * obj0 = 0 ;
5204 PyObject * obj1 = 0 ;
5205 char * kwnames[] = {
5206 (char *) "self",(char *) "dc", NULL
5207 };
5208
5209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5211 if (!SWIG_IsOK(res1)) {
5212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5213 }
5214 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5215 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5216 if (!SWIG_IsOK(res2)) {
5217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5218 }
5219 if (!argp2) {
5220 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5221 }
5222 arg2 = reinterpret_cast< wxDC * >(argp2);
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 (arg1)->DoPrepareDC(*arg2);
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 resultobj = SWIG_Py_Void();
5230 return resultobj;
5231fail:
5232 return NULL;
5233}
5234
5235
5236SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj = 0;
5238 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5239 SwigValueWrapper<wxVisualAttributes > result;
5240 int val1 ;
5241 int ecode1 = 0 ;
5242 PyObject * obj0 = 0 ;
5243 char * kwnames[] = {
5244 (char *) "variant", NULL
5245 };
5246
5247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5248 if (obj0) {
5249 ecode1 = SWIG_AsVal_int(obj0, &val1);
5250 if (!SWIG_IsOK(ecode1)) {
5251 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5252 }
5253 arg1 = static_cast< wxWindowVariant >(val1);
5254 }
5255 {
5256 if (!wxPyCheckForApp()) SWIG_fail;
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5259 wxPyEndAllowThreads(__tstate);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 }
5262 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5263 return resultobj;
5264fail:
5265 return NULL;
d55e5bfc
RD
5266}
5267
5268
1bd55598
RD
5269SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5270 PyObject *obj;
5271 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5272 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5273 return SWIG_Py_Void();
d55e5bfc
RD
5274}
5275
1bd55598
RD
5276SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5277 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
5278}
5279
1bd55598
RD
5280SWIGINTERN int FrameNameStr_set(PyObject *) {
5281 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5282 return 1;
d55e5bfc
RD
5283}
5284
5285
1bd55598
RD
5286SWIGINTERN PyObject *FrameNameStr_get(void) {
5287 PyObject *pyobj = 0;
5288
5289 {
5290#if wxUSE_UNICODE
5291 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5292#else
5293 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5294#endif
5295 }
5296 return pyobj;
d55e5bfc
RD
5297}
5298
5299
1bd55598
RD
5300SWIGINTERN int DialogNameStr_set(PyObject *) {
5301 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5302 return 1;
d55e5bfc
RD
5303}
5304
5305
1bd55598
RD
5306SWIGINTERN PyObject *DialogNameStr_get(void) {
5307 PyObject *pyobj = 0;
5308
5309 {
5310#if wxUSE_UNICODE
5311 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5312#else
5313 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5314#endif
5315 }
5316 return pyobj;
d55e5bfc
RD
5317}
5318
5319
1bd55598
RD
5320SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5321 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5322 return 1;
d55e5bfc
RD
5323}
5324
5325
1bd55598
RD
5326SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5327 PyObject *pyobj = 0;
5328
5329 {
5330#if wxUSE_UNICODE
5331 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5332#else
5333 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5334#endif
5335 }
5336 return pyobj;
d55e5bfc
RD
5337}
5338
5339
1bd55598
RD
5340SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5341 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5342 return 1;
d55e5bfc
RD
5343}
5344
5345
1bd55598
RD
5346SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5347 PyObject *pyobj = 0;
5348
5349 {
5350#if wxUSE_UNICODE
5351 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5352#else
5353 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5354#endif
5355 }
5356 return pyobj;
5357}
5358
5359
5360SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj = 0;
5362 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5363 bool arg2 = (bool) true ;
5364 void *argp1 = 0 ;
5365 int res1 = 0 ;
5366 bool val2 ;
5367 int ecode2 = 0 ;
5368 PyObject * obj0 = 0 ;
5369 PyObject * obj1 = 0 ;
5370 char * kwnames[] = {
5371 (char *) "self",(char *) "maximize", NULL
5372 };
5373
5374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5376 if (!SWIG_IsOK(res1)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5378 }
5379 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5380 if (obj1) {
5381 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5382 if (!SWIG_IsOK(ecode2)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5384 }
5385 arg2 = static_cast< bool >(val2);
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 (arg1)->Maximize(arg2);
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 resultobj = SWIG_Py_Void();
5394 return resultobj;
5395fail:
5396 return NULL;
d55e5bfc
RD
5397}
5398
5399
1bd55598
RD
5400SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5401 PyObject *resultobj = 0;
5402 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5403 void *argp1 = 0 ;
5404 int res1 = 0 ;
5405 PyObject *swig_obj[1] ;
5406
5407 if (!args) SWIG_fail;
5408 swig_obj[0] = args;
5409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5410 if (!SWIG_IsOK(res1)) {
5411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5412 }
5413 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5414 {
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
5416 (arg1)->Restore();
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 resultobj = SWIG_Py_Void();
5421 return resultobj;
5422fail:
5423 return NULL;
5424}
5425
5426
5427SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5428 PyObject *resultobj = 0;
5429 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5430 bool arg2 = (bool) true ;
5431 void *argp1 = 0 ;
5432 int res1 = 0 ;
5433 bool val2 ;
5434 int ecode2 = 0 ;
5435 PyObject * obj0 = 0 ;
5436 PyObject * obj1 = 0 ;
5437 char * kwnames[] = {
5438 (char *) "self",(char *) "iconize", NULL
5439 };
5440
5441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5443 if (!SWIG_IsOK(res1)) {
5444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5445 }
5446 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5447 if (obj1) {
5448 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5449 if (!SWIG_IsOK(ecode2)) {
5450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5451 }
5452 arg2 = static_cast< bool >(val2);
5453 }
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->Iconize(arg2);
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 resultobj = SWIG_Py_Void();
5461 return resultobj;
5462fail:
5463 return NULL;
d55e5bfc
RD
5464}
5465
5466
1bd55598
RD
5467SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5468 PyObject *resultobj = 0;
5469 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5470 bool result;
5471 void *argp1 = 0 ;
5472 int res1 = 0 ;
5473 PyObject *swig_obj[1] ;
5474
5475 if (!args) SWIG_fail;
5476 swig_obj[0] = args;
5477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5478 if (!SWIG_IsOK(res1)) {
5479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5480 }
5481 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 {
5489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5490 }
5491 return resultobj;
5492fail:
5493 return NULL;
d55e5bfc
RD
5494}
5495
5496
2131d850
RD
5497SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5498 PyObject *resultobj = 0;
5499 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5500 bool result;
5501 void *argp1 = 0 ;
5502 int res1 = 0 ;
5503 PyObject *swig_obj[1] ;
5504
5505 if (!args) SWIG_fail;
5506 swig_obj[0] = args;
5507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5508 if (!SWIG_IsOK(res1)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5510 }
5511 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 {
5519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5520 }
5521 return resultobj;
5522fail:
5523 return NULL;
5524}
5525
5526
1bd55598
RD
5527SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5528 PyObject *resultobj = 0;
5529 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5530 bool result;
5531 void *argp1 = 0 ;
5532 int res1 = 0 ;
5533 PyObject *swig_obj[1] ;
5534
5535 if (!args) SWIG_fail;
5536 swig_obj[0] = args;
5537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5538 if (!SWIG_IsOK(res1)) {
5539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5540 }
5541 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 {
5549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5550 }
5551 return resultobj;
5552fail:
5553 return NULL;
f5b96ee1
RD
5554}
5555
5556
1bd55598
RD
5557SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5558 PyObject *resultobj = 0;
5559 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5560 wxIcon result;
5561 void *argp1 = 0 ;
5562 int res1 = 0 ;
5563 PyObject *swig_obj[1] ;
5564
5565 if (!args) SWIG_fail;
5566 swig_obj[0] = args;
5567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5568 if (!SWIG_IsOK(res1)) {
5569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5570 }
5571 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5579 return resultobj;
5580fail:
5581 return NULL;
5582}
5583
5584
5585SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj = 0;
5587 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5588 wxIcon *arg2 = 0 ;
5589 void *argp1 = 0 ;
5590 int res1 = 0 ;
5591 void *argp2 = 0 ;
5592 int res2 = 0 ;
5593 PyObject * obj0 = 0 ;
5594 PyObject * obj1 = 0 ;
5595 char * kwnames[] = {
5596 (char *) "self",(char *) "icon", NULL
5597 };
5598
5599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5601 if (!SWIG_IsOK(res1)) {
5602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5603 }
5604 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5605 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5606 if (!SWIG_IsOK(res2)) {
5607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5608 }
5609 if (!argp2) {
5610 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5611 }
5612 arg2 = reinterpret_cast< wxIcon * >(argp2);
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 (arg1)->SetIcon((wxIcon const &)*arg2);
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 resultobj = SWIG_Py_Void();
5620 return resultobj;
5621fail:
5622 return NULL;
5623}
5624
5625
5626SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj = 0;
5628 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5629 wxIconBundle *arg2 = 0 ;
5630 void *argp1 = 0 ;
5631 int res1 = 0 ;
5632 void *argp2 = 0 ;
5633 int res2 = 0 ;
5634 PyObject * obj0 = 0 ;
5635 PyObject * obj1 = 0 ;
5636 char * kwnames[] = {
5637 (char *) "self",(char *) "icons", NULL
5638 };
5639
5640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5642 if (!SWIG_IsOK(res1)) {
5643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5644 }
5645 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5646 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5647 if (!SWIG_IsOK(res2)) {
5648 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5649 }
5650 if (!argp2) {
5651 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5652 }
5653 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5654 {
5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
5656 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 resultobj = SWIG_Py_Void();
5661 return resultobj;
5662fail:
5663 return NULL;
5664}
5665
5666
5667SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj = 0;
5669 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5670 bool arg2 ;
5671 long arg3 = (long) wxFULLSCREEN_ALL ;
5672 bool result;
5673 void *argp1 = 0 ;
5674 int res1 = 0 ;
5675 bool val2 ;
5676 int ecode2 = 0 ;
5677 long val3 ;
5678 int ecode3 = 0 ;
5679 PyObject * obj0 = 0 ;
5680 PyObject * obj1 = 0 ;
5681 PyObject * obj2 = 0 ;
5682 char * kwnames[] = {
5683 (char *) "self",(char *) "show",(char *) "style", NULL
5684 };
5685
5686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5688 if (!SWIG_IsOK(res1)) {
5689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5690 }
5691 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5692 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5693 if (!SWIG_IsOK(ecode2)) {
5694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5695 }
5696 arg2 = static_cast< bool >(val2);
5697 if (obj2) {
5698 ecode3 = SWIG_AsVal_long(obj2, &val3);
5699 if (!SWIG_IsOK(ecode3)) {
5700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5701 }
5702 arg3 = static_cast< long >(val3);
5703 }
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 {
5711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5712 }
5713 return resultobj;
5714fail:
5715 return NULL;
f20a2e1f
RD
5716}
5717
5718
1bd55598
RD
5719SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5720 PyObject *resultobj = 0;
5721 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5722 bool result;
5723 void *argp1 = 0 ;
5724 int res1 = 0 ;
5725 PyObject *swig_obj[1] ;
5726
5727 if (!args) SWIG_fail;
5728 swig_obj[0] = args;
5729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5730 if (!SWIG_IsOK(res1)) {
5731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5732 }
5733 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 {
5741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5742 }
5743 return resultobj;
5744fail:
5745 return NULL;
5746}
5747
5748
5749SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5750 PyObject *resultobj = 0;
5751 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5752 wxString *arg2 = 0 ;
5753 void *argp1 = 0 ;
5754 int res1 = 0 ;
5755 bool temp2 = false ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char * kwnames[] = {
5759 (char *) "self",(char *) "title", NULL
5760 };
5761
5762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5764 if (!SWIG_IsOK(res1)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5766 }
5767 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5768 {
5769 arg2 = wxString_in_helper(obj1);
5770 if (arg2 == NULL) SWIG_fail;
5771 temp2 = true;
5772 }
5773 {
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 (arg1)->SetTitle((wxString const &)*arg2);
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 resultobj = SWIG_Py_Void();
5780 {
5781 if (temp2)
5782 delete arg2;
5783 }
5784 return resultobj;
5785fail:
5786 {
5787 if (temp2)
5788 delete arg2;
5789 }
5790 return NULL;
d55e5bfc
RD
5791}
5792
5793
1bd55598
RD
5794SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5795 PyObject *resultobj = 0;
5796 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5797 wxString result;
5798 void *argp1 = 0 ;
5799 int res1 = 0 ;
5800 PyObject *swig_obj[1] ;
5801
5802 if (!args) SWIG_fail;
5803 swig_obj[0] = args;
5804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5805 if (!SWIG_IsOK(res1)) {
5806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5807 }
5808 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 {
d55e5bfc 5816#if wxUSE_UNICODE
1bd55598 5817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5818#else
1bd55598 5819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5820#endif
1bd55598
RD
5821 }
5822 return resultobj;
5823fail:
5824 return NULL;
5825}
5826
5827
70d7cb34
RD
5828SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj = 0;
5830 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5831 bool arg2 ;
5832 bool result;
5833 void *argp1 = 0 ;
5834 int res1 = 0 ;
5835 bool val2 ;
5836 int ecode2 = 0 ;
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 char * kwnames[] = {
5840 (char *) "self",(char *) "enable", NULL
5841 };
5842
5843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5845 if (!SWIG_IsOK(res1)) {
5846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5847 }
5848 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5849 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5850 if (!SWIG_IsOK(ecode2)) {
5851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5852 }
5853 arg2 = static_cast< bool >(val2);
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
5856 result = (bool)(arg1)->EnableCloseButton(arg2);
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 {
5861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5862 }
5863 return resultobj;
5864fail:
5865 return NULL;
5866}
5867
5868
1bd55598
RD
5869SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj = 0;
5871 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5872 wxRegion *arg2 = 0 ;
5873 bool result;
5874 void *argp1 = 0 ;
5875 int res1 = 0 ;
5876 void *argp2 = 0 ;
5877 int res2 = 0 ;
5878 PyObject * obj0 = 0 ;
5879 PyObject * obj1 = 0 ;
5880 char * kwnames[] = {
5881 (char *) "self",(char *) "region", NULL
5882 };
5883
5884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5886 if (!SWIG_IsOK(res1)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5888 }
5889 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5890 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5891 if (!SWIG_IsOK(res2)) {
5892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5893 }
5894 if (!argp2) {
5895 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5896 }
5897 arg2 = reinterpret_cast< wxRegion * >(argp2);
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 {
5905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5906 }
5907 return resultobj;
5908fail:
5909 return NULL;
5910}
5911
5912
5913SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj = 0;
5915 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5916 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5917 void *argp1 = 0 ;
5918 int res1 = 0 ;
5919 int val2 ;
5920 int ecode2 = 0 ;
5921 PyObject * obj0 = 0 ;
5922 PyObject * obj1 = 0 ;
5923 char * kwnames[] = {
5924 (char *) "self",(char *) "flags", NULL
5925 };
5926
5927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5929 if (!SWIG_IsOK(res1)) {
5930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5931 }
5932 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5933 if (obj1) {
5934 ecode2 = SWIG_AsVal_int(obj1, &val2);
5935 if (!SWIG_IsOK(ecode2)) {
5936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5937 }
5938 arg2 = static_cast< int >(val2);
5939 }
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 (arg1)->RequestUserAttention(arg2);
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 resultobj = SWIG_Py_Void();
5947 return resultobj;
5948fail:
5949 return NULL;
d55e5bfc
RD
5950}
5951
5952
1bd55598
RD
5953SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5954 PyObject *resultobj = 0;
5955 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5956 bool result;
5957 void *argp1 = 0 ;
5958 int res1 = 0 ;
5959 PyObject *swig_obj[1] ;
5960
5961 if (!args) SWIG_fail;
5962 swig_obj[0] = args;
5963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5964 if (!SWIG_IsOK(res1)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5966 }
5967 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 result = (bool)(arg1)->IsActive();
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 {
5975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5976 }
5977 return resultobj;
5978fail:
5979 return NULL;
5980}
5981
5982
5983SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj = 0;
5985 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5986 bool arg2 ;
5987 void *argp1 = 0 ;
5988 int res1 = 0 ;
5989 bool val2 ;
5990 int ecode2 = 0 ;
5991 PyObject * obj0 = 0 ;
5992 PyObject * obj1 = 0 ;
5993 char * kwnames[] = {
5994 (char *) "self",(char *) "on", NULL
5995 };
5996
5997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5999 if (!SWIG_IsOK(res1)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6001 }
6002 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6003 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6004 if (!SWIG_IsOK(ecode2)) {
6005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6006 }
6007 arg2 = static_cast< bool >(val2);
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 resultobj = SWIG_Py_Void();
6015 return resultobj;
6016fail:
6017 return NULL;
d55e5bfc
RD
6018}
6019
6020
1bd55598
RD
6021SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6022 PyObject *resultobj = 0;
6023 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6024 bool result;
6025 void *argp1 = 0 ;
6026 int res1 = 0 ;
6027 PyObject *swig_obj[1] ;
6028
6029 if (!args) SWIG_fail;
6030 swig_obj[0] = args;
6031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6032 if (!SWIG_IsOK(res1)) {
6033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6034 }
6035 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
6043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6044 }
6045 return resultobj;
6046fail:
6047 return NULL;
6048}
6049
6050
6051SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6052 PyObject *resultobj = 0;
6053 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6054 int arg2 = (int) wxBOTH ;
6055 void *argp1 = 0 ;
6056 int res1 = 0 ;
6057 int val2 ;
6058 int ecode2 = 0 ;
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
6061 char * kwnames[] = {
6062 (char *) "self",(char *) "dir", NULL
6063 };
6064
6065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6067 if (!SWIG_IsOK(res1)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6069 }
6070 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6071 if (obj1) {
6072 ecode2 = SWIG_AsVal_int(obj1, &val2);
6073 if (!SWIG_IsOK(ecode2)) {
6074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6075 }
6076 arg2 = static_cast< int >(val2);
6077 }
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 (arg1)->CenterOnScreen(arg2);
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 resultobj = SWIG_Py_Void();
6085 return resultobj;
6086fail:
6087 return NULL;
6088}
6089
6090
1eeb270e
RD
6091SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6092 PyObject *resultobj = 0;
6093 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6094 wxWindow *result = 0 ;
6095 void *argp1 = 0 ;
6096 int res1 = 0 ;
6097 PyObject *swig_obj[1] ;
6098
6099 if (!args) SWIG_fail;
6100 swig_obj[0] = args;
6101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6102 if (!SWIG_IsOK(res1)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6104 }
6105 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 {
6113 resultobj = wxPyMake_wxObject(result, 0);
6114 }
6115 return resultobj;
6116fail:
6117 return NULL;
6118}
6119
6120
6121SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj = 0;
6123 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6124 wxWindow *arg2 = (wxWindow *) 0 ;
6125 wxWindow *result = 0 ;
6126 void *argp1 = 0 ;
6127 int res1 = 0 ;
6128 void *argp2 = 0 ;
6129 int res2 = 0 ;
6130 PyObject * obj0 = 0 ;
6131 PyObject * obj1 = 0 ;
6132 char * kwnames[] = {
6133 (char *) "self",(char *) "child", NULL
6134 };
6135
6136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6138 if (!SWIG_IsOK(res1)) {
6139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6140 }
6141 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6143 if (!SWIG_IsOK(res2)) {
6144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6145 }
6146 arg2 = reinterpret_cast< wxWindow * >(argp2);
6147 {
6148 PyThreadState* __tstate = wxPyBeginAllowThreads();
6149 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 {
6154 resultobj = wxPyMake_wxObject(result, 0);
6155 }
6156 return resultobj;
6157fail:
6158 return NULL;
6159}
6160
6161
6162SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6163 PyObject *resultobj = 0;
6164 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6165 wxWindow *arg2 = (wxWindow *) 0 ;
6166 void *argp1 = 0 ;
6167 int res1 = 0 ;
6168 void *argp2 = 0 ;
6169 int res2 = 0 ;
6170 PyObject * obj0 = 0 ;
6171 PyObject * obj1 = 0 ;
6172 char * kwnames[] = {
6173 (char *) "self",(char *) "win", NULL
6174 };
6175
6176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6178 if (!SWIG_IsOK(res1)) {
6179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6180 }
6181 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6182 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6183 if (!SWIG_IsOK(res2)) {
6184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6185 }
6186 arg2 = reinterpret_cast< wxWindow * >(argp2);
6187 {
6188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6189 (arg1)->SetTmpDefaultItem(arg2);
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
6193 resultobj = SWIG_Py_Void();
6194 return resultobj;
6195fail:
6196 return NULL;
6197}
6198
6199
6200SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6201 PyObject *resultobj = 0;
6202 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6203 wxWindow *result = 0 ;
6204 void *argp1 = 0 ;
6205 int res1 = 0 ;
6206 PyObject *swig_obj[1] ;
6207
6208 if (!args) SWIG_fail;
6209 swig_obj[0] = args;
6210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6211 if (!SWIG_IsOK(res1)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6213 }
6214 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 {
6222 resultobj = wxPyMake_wxObject(result, 0);
6223 }
6224 return resultobj;
6225fail:
6226 return NULL;
6227}
6228
6229
1bd55598
RD
6230SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6231 PyObject *obj;
6232 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6233 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6234 return SWIG_Py_Void();
6235}
6236
6237SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6238 PyObject *resultobj = 0;
6239 wxWindow *arg1 = (wxWindow *) 0 ;
6240 int arg2 = (int) (int)-1 ;
6241 wxString const &arg3_defvalue = wxPyEmptyString ;
6242 wxString *arg3 = (wxString *) &arg3_defvalue ;
6243 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6244 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6245 wxSize const &arg5_defvalue = wxDefaultSize ;
6246 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6247 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6248 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6249 wxString *arg7 = (wxString *) &arg7_defvalue ;
6250 wxFrame *result = 0 ;
6251 void *argp1 = 0 ;
6252 int res1 = 0 ;
6253 int val2 ;
6254 int ecode2 = 0 ;
6255 bool temp3 = false ;
6256 wxPoint temp4 ;
6257 wxSize temp5 ;
6258 long val6 ;
6259 int ecode6 = 0 ;
6260 bool temp7 = false ;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6263 PyObject * obj2 = 0 ;
6264 PyObject * obj3 = 0 ;
6265 PyObject * obj4 = 0 ;
6266 PyObject * obj5 = 0 ;
6267 PyObject * obj6 = 0 ;
6268 char * kwnames[] = {
6269 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6270 };
6271
6272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6274 if (!SWIG_IsOK(res1)) {
6275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6276 }
6277 arg1 = reinterpret_cast< wxWindow * >(argp1);
6278 if (obj1) {
6279 ecode2 = SWIG_AsVal_int(obj1, &val2);
6280 if (!SWIG_IsOK(ecode2)) {
6281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6282 }
6283 arg2 = static_cast< int >(val2);
6284 }
6285 if (obj2) {
d55e5bfc 6286 {
1bd55598
RD
6287 arg3 = wxString_in_helper(obj2);
6288 if (arg3 == NULL) SWIG_fail;
6289 temp3 = true;
d55e5bfc 6290 }
1bd55598
RD
6291 }
6292 if (obj3) {
d55e5bfc 6293 {
1bd55598
RD
6294 arg4 = &temp4;
6295 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 6296 }
1bd55598
RD
6297 }
6298 if (obj4) {
d55e5bfc 6299 {
1bd55598
RD
6300 arg5 = &temp5;
6301 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6302 }
1bd55598
RD
6303 }
6304 if (obj5) {
6305 ecode6 = SWIG_AsVal_long(obj5, &val6);
6306 if (!SWIG_IsOK(ecode6)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6308 }
6309 arg6 = static_cast< long >(val6);
6310 }
6311 if (obj6) {
d55e5bfc 6312 {
1bd55598
RD
6313 arg7 = wxString_in_helper(obj6);
6314 if (arg7 == NULL) SWIG_fail;
6315 temp7 = true;
6316 }
6317 }
6318 {
6319 if (!wxPyCheckForApp()) SWIG_fail;
6320 PyThreadState* __tstate = wxPyBeginAllowThreads();
6321 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6326 {
6327 if (temp3)
6328 delete arg3;
6329 }
6330 {
6331 if (temp7)
6332 delete arg7;
6333 }
6334 return resultobj;
6335fail:
6336 {
6337 if (temp3)
6338 delete arg3;
6339 }
6340 {
6341 if (temp7)
6342 delete arg7;
6343 }
6344 return NULL;
d55e5bfc
RD
6345}
6346
6347
1bd55598
RD
6348SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6349 PyObject *resultobj = 0;
6350 wxFrame *result = 0 ;
6351
6352 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6353 {
6354 if (!wxPyCheckForApp()) SWIG_fail;
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 result = (wxFrame *)new wxFrame();
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6361 return resultobj;
6362fail:
6363 return NULL;
6364}
6365
6366
6367SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj = 0;
6369 wxFrame *arg1 = (wxFrame *) 0 ;
6370 wxWindow *arg2 = (wxWindow *) 0 ;
6371 int arg3 = (int) (int)-1 ;
6372 wxString const &arg4_defvalue = wxPyEmptyString ;
6373 wxString *arg4 = (wxString *) &arg4_defvalue ;
6374 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6375 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6376 wxSize const &arg6_defvalue = wxDefaultSize ;
6377 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6378 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6379 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6380 wxString *arg8 = (wxString *) &arg8_defvalue ;
6381 bool result;
6382 void *argp1 = 0 ;
6383 int res1 = 0 ;
6384 void *argp2 = 0 ;
6385 int res2 = 0 ;
6386 int val3 ;
6387 int ecode3 = 0 ;
6388 bool temp4 = false ;
6389 wxPoint temp5 ;
6390 wxSize temp6 ;
6391 long val7 ;
6392 int ecode7 = 0 ;
6393 bool temp8 = false ;
6394 PyObject * obj0 = 0 ;
6395 PyObject * obj1 = 0 ;
6396 PyObject * obj2 = 0 ;
6397 PyObject * obj3 = 0 ;
6398 PyObject * obj4 = 0 ;
6399 PyObject * obj5 = 0 ;
6400 PyObject * obj6 = 0 ;
6401 PyObject * obj7 = 0 ;
6402 char * kwnames[] = {
6403 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6404 };
6405
6406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6408 if (!SWIG_IsOK(res1)) {
6409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6410 }
6411 arg1 = reinterpret_cast< wxFrame * >(argp1);
6412 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6413 if (!SWIG_IsOK(res2)) {
6414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6415 }
6416 arg2 = reinterpret_cast< wxWindow * >(argp2);
6417 if (obj2) {
6418 ecode3 = SWIG_AsVal_int(obj2, &val3);
6419 if (!SWIG_IsOK(ecode3)) {
6420 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6421 }
6422 arg3 = static_cast< int >(val3);
6423 }
6424 if (obj3) {
d55e5bfc 6425 {
1bd55598
RD
6426 arg4 = wxString_in_helper(obj3);
6427 if (arg4 == NULL) SWIG_fail;
6428 temp4 = true;
d55e5bfc 6429 }
1bd55598
RD
6430 }
6431 if (obj4) {
d55e5bfc 6432 {
1bd55598
RD
6433 arg5 = &temp5;
6434 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6435 }
6436 }
6437 if (obj5) {
d55e5bfc 6438 {
1bd55598
RD
6439 arg6 = &temp6;
6440 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6441 }
1bd55598
RD
6442 }
6443 if (obj6) {
6444 ecode7 = SWIG_AsVal_long(obj6, &val7);
6445 if (!SWIG_IsOK(ecode7)) {
6446 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6447 }
6448 arg7 = static_cast< long >(val7);
6449 }
6450 if (obj7) {
d55e5bfc 6451 {
1bd55598
RD
6452 arg8 = wxString_in_helper(obj7);
6453 if (arg8 == NULL) SWIG_fail;
6454 temp8 = true;
d55e5bfc 6455 }
1bd55598
RD
6456 }
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 {
6464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6465 }
6466 {
6467 if (temp4)
6468 delete arg4;
6469 }
6470 {
6471 if (temp8)
6472 delete arg8;
6473 }
6474 return resultobj;
6475fail:
6476 {
6477 if (temp4)
6478 delete arg4;
6479 }
6480 {
6481 if (temp8)
6482 delete arg8;
6483 }
6484 return NULL;
d55e5bfc
RD
6485}
6486
6487
1bd55598
RD
6488SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6489 PyObject *resultobj = 0;
6490 wxFrame *arg1 = (wxFrame *) 0 ;
6491 void *argp1 = 0 ;
6492 int res1 = 0 ;
6493 PyObject *swig_obj[1] ;
6494
6495 if (!args) SWIG_fail;
6496 swig_obj[0] = args;
6497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6498 if (!SWIG_IsOK(res1)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6500 }
6501 arg1 = reinterpret_cast< wxFrame * >(argp1);
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 (arg1)->SendSizeEvent();
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 resultobj = SWIG_Py_Void();
6509 return resultobj;
6510fail:
6511 return NULL;
6512}
6513
6514
6515SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj = 0;
6517 wxFrame *arg1 = (wxFrame *) 0 ;
6518 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6519 void *argp1 = 0 ;
6520 int res1 = 0 ;
6521 void *argp2 = 0 ;
6522 int res2 = 0 ;
6523 PyObject * obj0 = 0 ;
6524 PyObject * obj1 = 0 ;
6525 char * kwnames[] = {
6526 (char *) "self",(char *) "menubar", NULL
6527 };
6528
6529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6531 if (!SWIG_IsOK(res1)) {
6532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6533 }
6534 arg1 = reinterpret_cast< wxFrame * >(argp1);
6535 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6536 if (!SWIG_IsOK(res2)) {
6537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6538 }
6539 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 (arg1)->SetMenuBar(arg2);
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 resultobj = SWIG_Py_Void();
6547 return resultobj;
6548fail:
6549 return NULL;
d55e5bfc
RD
6550}
6551
6552
1bd55598
RD
6553SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6554 PyObject *resultobj = 0;
6555 wxFrame *arg1 = (wxFrame *) 0 ;
6556 wxMenuBar *result = 0 ;
6557 void *argp1 = 0 ;
6558 int res1 = 0 ;
6559 PyObject *swig_obj[1] ;
6560
6561 if (!args) SWIG_fail;
6562 swig_obj[0] = args;
6563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6564 if (!SWIG_IsOK(res1)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6566 }
6567 arg1 = reinterpret_cast< wxFrame * >(argp1);
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 {
6575 resultobj = wxPyMake_wxObject(result, 0);
6576 }
6577 return resultobj;
6578fail:
6579 return NULL;
6580}
6581
6582
6583SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6584 PyObject *resultobj = 0;
6585 wxFrame *arg1 = (wxFrame *) 0 ;
6586 int arg2 ;
6587 bool result;
6588 void *argp1 = 0 ;
6589 int res1 = 0 ;
6590 int val2 ;
6591 int ecode2 = 0 ;
6592 PyObject * obj0 = 0 ;
6593 PyObject * obj1 = 0 ;
6594 char * kwnames[] = {
6595 (char *) "self",(char *) "winid", NULL
6596 };
6597
6598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6600 if (!SWIG_IsOK(res1)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6602 }
6603 arg1 = reinterpret_cast< wxFrame * >(argp1);
6604 ecode2 = SWIG_AsVal_int(obj1, &val2);
6605 if (!SWIG_IsOK(ecode2)) {
6606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6607 }
6608 arg2 = static_cast< int >(val2);
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 result = (bool)(arg1)->ProcessCommand(arg2);
6612 wxPyEndAllowThreads(__tstate);
6613 if (PyErr_Occurred()) SWIG_fail;
6614 }
6615 {
6616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6617 }
6618 return resultobj;
6619fail:
6620 return NULL;
6621}
6622
6623
6624SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6625 PyObject *resultobj = 0;
6626 wxFrame *arg1 = (wxFrame *) 0 ;
6627 int arg2 = (int) 1 ;
6628 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6629 int arg4 = (int) 0 ;
6630 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6631 wxString *arg5 = (wxString *) &arg5_defvalue ;
6632 wxStatusBar *result = 0 ;
6633 void *argp1 = 0 ;
6634 int res1 = 0 ;
6635 int val2 ;
6636 int ecode2 = 0 ;
6637 long val3 ;
6638 int ecode3 = 0 ;
6639 int val4 ;
6640 int ecode4 = 0 ;
6641 bool temp5 = false ;
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
6644 PyObject * obj2 = 0 ;
6645 PyObject * obj3 = 0 ;
6646 PyObject * obj4 = 0 ;
6647 char * kwnames[] = {
6648 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6649 };
6650
6651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6653 if (!SWIG_IsOK(res1)) {
6654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6655 }
6656 arg1 = reinterpret_cast< wxFrame * >(argp1);
6657 if (obj1) {
6658 ecode2 = SWIG_AsVal_int(obj1, &val2);
6659 if (!SWIG_IsOK(ecode2)) {
6660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6661 }
6662 arg2 = static_cast< int >(val2);
6663 }
6664 if (obj2) {
6665 ecode3 = SWIG_AsVal_long(obj2, &val3);
6666 if (!SWIG_IsOK(ecode3)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6668 }
6669 arg3 = static_cast< long >(val3);
6670 }
6671 if (obj3) {
6672 ecode4 = SWIG_AsVal_int(obj3, &val4);
6673 if (!SWIG_IsOK(ecode4)) {
6674 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6675 }
6676 arg4 = static_cast< int >(val4);
6677 }
6678 if (obj4) {
d55e5bfc 6679 {
1bd55598
RD
6680 arg5 = wxString_in_helper(obj4);
6681 if (arg5 == NULL) SWIG_fail;
6682 temp5 = true;
d55e5bfc 6683 }
1bd55598
RD
6684 }
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 {
6692 resultobj = wxPyMake_wxObject(result, (bool)0);
6693 }
6694 {
6695 if (temp5)
6696 delete arg5;
6697 }
6698 return resultobj;
6699fail:
6700 {
6701 if (temp5)
6702 delete arg5;
6703 }
6704 return NULL;
d55e5bfc
RD
6705}
6706
6707
1bd55598
RD
6708SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6709 PyObject *resultobj = 0;
6710 wxFrame *arg1 = (wxFrame *) 0 ;
6711 wxStatusBar *result = 0 ;
6712 void *argp1 = 0 ;
6713 int res1 = 0 ;
6714 PyObject *swig_obj[1] ;
6715
6716 if (!args) SWIG_fail;
6717 swig_obj[0] = args;
6718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6719 if (!SWIG_IsOK(res1)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6721 }
6722 arg1 = reinterpret_cast< wxFrame * >(argp1);
6723 {
6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
6725 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 {
6730 resultobj = wxPyMake_wxObject(result, (bool)0);
6731 }
6732 return resultobj;
6733fail:
6734 return NULL;
6735}
6736
6737
6738SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj = 0;
6740 wxFrame *arg1 = (wxFrame *) 0 ;
6741 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6742 void *argp1 = 0 ;
6743 int res1 = 0 ;
6744 void *argp2 = 0 ;
6745 int res2 = 0 ;
6746 PyObject * obj0 = 0 ;
6747 PyObject * obj1 = 0 ;
6748 char * kwnames[] = {
6749 (char *) "self",(char *) "statBar", NULL
6750 };
6751
6752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6754 if (!SWIG_IsOK(res1)) {
6755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6756 }
6757 arg1 = reinterpret_cast< wxFrame * >(argp1);
6758 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6759 if (!SWIG_IsOK(res2)) {
6760 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6761 }
6762 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 (arg1)->SetStatusBar(arg2);
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 resultobj = SWIG_Py_Void();
6770 return resultobj;
6771fail:
6772 return NULL;
6773}
6774
6775
6776SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj = 0;
6778 wxFrame *arg1 = (wxFrame *) 0 ;
6779 wxString *arg2 = 0 ;
6780 int arg3 = (int) 0 ;
6781 void *argp1 = 0 ;
6782 int res1 = 0 ;
6783 bool temp2 = false ;
6784 int val3 ;
6785 int ecode3 = 0 ;
6786 PyObject * obj0 = 0 ;
6787 PyObject * obj1 = 0 ;
6788 PyObject * obj2 = 0 ;
6789 char * kwnames[] = {
6790 (char *) "self",(char *) "text",(char *) "number", NULL
6791 };
6792
6793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6795 if (!SWIG_IsOK(res1)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6797 }
6798 arg1 = reinterpret_cast< wxFrame * >(argp1);
6799 {
6800 arg2 = wxString_in_helper(obj1);
6801 if (arg2 == NULL) SWIG_fail;
6802 temp2 = true;
6803 }
6804 if (obj2) {
6805 ecode3 = SWIG_AsVal_int(obj2, &val3);
6806 if (!SWIG_IsOK(ecode3)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6808 }
6809 arg3 = static_cast< int >(val3);
6810 }
6811 {
6812 PyThreadState* __tstate = wxPyBeginAllowThreads();
6813 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6814 wxPyEndAllowThreads(__tstate);
6815 if (PyErr_Occurred()) SWIG_fail;
6816 }
6817 resultobj = SWIG_Py_Void();
6818 {
6819 if (temp2)
6820 delete arg2;
6821 }
6822 return resultobj;
6823fail:
6824 {
6825 if (temp2)
6826 delete arg2;
6827 }
6828 return NULL;
d55e5bfc
RD
6829}
6830
6831
1bd55598
RD
6832SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj = 0;
6834 wxFrame *arg1 = (wxFrame *) 0 ;
6835 int arg2 ;
6836 int *arg3 = (int *) 0 ;
6837 void *argp1 = 0 ;
6838 int res1 = 0 ;
6839 PyObject * obj0 = 0 ;
6840 PyObject * obj1 = 0 ;
6841 char * kwnames[] = {
6842 (char *) "self",(char *) "widths", NULL
6843 };
6844
6845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6847 if (!SWIG_IsOK(res1)) {
6848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6849 }
6850 arg1 = reinterpret_cast< wxFrame * >(argp1);
6851 {
6852 arg2 = PyList_Size(obj1);
6853 arg3 = int_LIST_helper(obj1);
6854 if (arg3 == NULL) SWIG_fail;
6855 }
6856 {
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 resultobj = SWIG_Py_Void();
6863 {
6864 if (arg3) delete [] arg3;
6865 }
6866 return resultobj;
6867fail:
6868 {
6869 if (arg3) delete [] arg3;
6870 }
6871 return NULL;
6872}
6873
6874
6875SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6876 PyObject *resultobj = 0;
6877 wxFrame *arg1 = (wxFrame *) 0 ;
6878 wxString *arg2 = 0 ;
6879 int arg3 = (int) 0 ;
6880 void *argp1 = 0 ;
6881 int res1 = 0 ;
6882 bool temp2 = false ;
6883 int val3 ;
6884 int ecode3 = 0 ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 PyObject * obj2 = 0 ;
6888 char * kwnames[] = {
6889 (char *) "self",(char *) "text",(char *) "number", NULL
6890 };
6891
6892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6894 if (!SWIG_IsOK(res1)) {
6895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6896 }
6897 arg1 = reinterpret_cast< wxFrame * >(argp1);
6898 {
6899 arg2 = wxString_in_helper(obj1);
6900 if (arg2 == NULL) SWIG_fail;
6901 temp2 = true;
6902 }
6903 if (obj2) {
6904 ecode3 = SWIG_AsVal_int(obj2, &val3);
6905 if (!SWIG_IsOK(ecode3)) {
6906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6907 }
6908 arg3 = static_cast< int >(val3);
6909 }
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 }
6916 resultobj = SWIG_Py_Void();
6917 {
6918 if (temp2)
6919 delete arg2;
6920 }
6921 return resultobj;
6922fail:
6923 {
6924 if (temp2)
6925 delete arg2;
6926 }
6927 return NULL;
6928}
6929
6930
6931SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6932 PyObject *resultobj = 0;
6933 wxFrame *arg1 = (wxFrame *) 0 ;
6934 int arg2 = (int) 0 ;
6935 void *argp1 = 0 ;
6936 int res1 = 0 ;
6937 int val2 ;
6938 int ecode2 = 0 ;
6939 PyObject * obj0 = 0 ;
6940 PyObject * obj1 = 0 ;
6941 char * kwnames[] = {
6942 (char *) "self",(char *) "number", NULL
6943 };
6944
6945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6947 if (!SWIG_IsOK(res1)) {
6948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6949 }
6950 arg1 = reinterpret_cast< wxFrame * >(argp1);
6951 if (obj1) {
6952 ecode2 = SWIG_AsVal_int(obj1, &val2);
6953 if (!SWIG_IsOK(ecode2)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6955 }
6956 arg2 = static_cast< int >(val2);
6957 }
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 (arg1)->PopStatusText(arg2);
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 resultobj = SWIG_Py_Void();
6965 return resultobj;
6966fail:
6967 return NULL;
6968}
6969
6970
6971SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj = 0;
6973 wxFrame *arg1 = (wxFrame *) 0 ;
6974 int arg2 ;
6975 void *argp1 = 0 ;
6976 int res1 = 0 ;
6977 int val2 ;
6978 int ecode2 = 0 ;
6979 PyObject * obj0 = 0 ;
6980 PyObject * obj1 = 0 ;
6981 char * kwnames[] = {
6982 (char *) "self",(char *) "n", NULL
6983 };
6984
6985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6987 if (!SWIG_IsOK(res1)) {
6988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6989 }
6990 arg1 = reinterpret_cast< wxFrame * >(argp1);
6991 ecode2 = SWIG_AsVal_int(obj1, &val2);
6992 if (!SWIG_IsOK(ecode2)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6994 }
6995 arg2 = static_cast< int >(val2);
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->SetStatusBarPane(arg2);
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 resultobj = SWIG_Py_Void();
7003 return resultobj;
7004fail:
7005 return NULL;
d55e5bfc
RD
7006}
7007
7008
1bd55598
RD
7009SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7010 PyObject *resultobj = 0;
7011 wxFrame *arg1 = (wxFrame *) 0 ;
7012 int result;
7013 void *argp1 = 0 ;
7014 int res1 = 0 ;
7015 PyObject *swig_obj[1] ;
7016
7017 if (!args) SWIG_fail;
7018 swig_obj[0] = args;
7019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7020 if (!SWIG_IsOK(res1)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7022 }
7023 arg1 = reinterpret_cast< wxFrame * >(argp1);
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 resultobj = SWIG_From_int(static_cast< int >(result));
7031 return resultobj;
7032fail:
7033 return NULL;
7034}
7035
7036
7037SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj = 0;
7039 wxFrame *arg1 = (wxFrame *) 0 ;
7040 long arg2 = (long) -1 ;
7041 int arg3 = (int) -1 ;
7042 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7043 wxString *arg4 = (wxString *) &arg4_defvalue ;
7044 wxToolBar *result = 0 ;
7045 void *argp1 = 0 ;
7046 int res1 = 0 ;
7047 long val2 ;
7048 int ecode2 = 0 ;
7049 int val3 ;
7050 int ecode3 = 0 ;
7051 bool temp4 = false ;
7052 PyObject * obj0 = 0 ;
7053 PyObject * obj1 = 0 ;
7054 PyObject * obj2 = 0 ;
7055 PyObject * obj3 = 0 ;
7056 char * kwnames[] = {
7057 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7058 };
7059
7060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7062 if (!SWIG_IsOK(res1)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7064 }
7065 arg1 = reinterpret_cast< wxFrame * >(argp1);
7066 if (obj1) {
7067 ecode2 = SWIG_AsVal_long(obj1, &val2);
7068 if (!SWIG_IsOK(ecode2)) {
7069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7070 }
7071 arg2 = static_cast< long >(val2);
7072 }
7073 if (obj2) {
7074 ecode3 = SWIG_AsVal_int(obj2, &val3);
7075 if (!SWIG_IsOK(ecode3)) {
7076 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7077 }
7078 arg3 = static_cast< int >(val3);
7079 }
7080 if (obj3) {
d55e5bfc 7081 {
1bd55598
RD
7082 arg4 = wxString_in_helper(obj3);
7083 if (arg4 == NULL) SWIG_fail;
7084 temp4 = true;
d55e5bfc 7085 }
1bd55598
RD
7086 }
7087 {
7088 PyThreadState* __tstate = wxPyBeginAllowThreads();
7089 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7090 wxPyEndAllowThreads(__tstate);
7091 if (PyErr_Occurred()) SWIG_fail;
7092 }
7093 {
7094 resultobj = wxPyMake_wxObject(result, (bool)0);
7095 }
7096 {
7097 if (temp4)
7098 delete arg4;
7099 }
7100 return resultobj;
7101fail:
7102 {
7103 if (temp4)
7104 delete arg4;
7105 }
7106 return NULL;
d55e5bfc
RD
7107}
7108
7109
1bd55598
RD
7110SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7111 PyObject *resultobj = 0;
7112 wxFrame *arg1 = (wxFrame *) 0 ;
7113 wxToolBar *result = 0 ;
7114 void *argp1 = 0 ;
7115 int res1 = 0 ;
7116 PyObject *swig_obj[1] ;
7117
7118 if (!args) SWIG_fail;
7119 swig_obj[0] = args;
7120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7121 if (!SWIG_IsOK(res1)) {
7122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7123 }
7124 arg1 = reinterpret_cast< wxFrame * >(argp1);
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7128 wxPyEndAllowThreads(__tstate);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 {
7132 resultobj = wxPyMake_wxObject(result, (bool)0);
7133 }
7134 return resultobj;
7135fail:
7136 return NULL;
7137}
7138
7139
7140SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7141 PyObject *resultobj = 0;
7142 wxFrame *arg1 = (wxFrame *) 0 ;
7143 wxToolBar *arg2 = (wxToolBar *) 0 ;
7144 void *argp1 = 0 ;
7145 int res1 = 0 ;
7146 void *argp2 = 0 ;
7147 int res2 = 0 ;
7148 PyObject * obj0 = 0 ;
7149 PyObject * obj1 = 0 ;
7150 char * kwnames[] = {
7151 (char *) "self",(char *) "toolbar", NULL
7152 };
7153
7154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7156 if (!SWIG_IsOK(res1)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7158 }
7159 arg1 = reinterpret_cast< wxFrame * >(argp1);
7160 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7161 if (!SWIG_IsOK(res2)) {
7162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7163 }
7164 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 (arg1)->SetToolBar(arg2);
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 resultobj = SWIG_Py_Void();
7172 return resultobj;
7173fail:
7174 return NULL;
7175}
7176
7177
7178SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj = 0;
7180 wxFrame *arg1 = (wxFrame *) 0 ;
7181 wxString *arg2 = 0 ;
7182 bool arg3 ;
7183 void *argp1 = 0 ;
7184 int res1 = 0 ;
7185 bool temp2 = false ;
7186 bool val3 ;
7187 int ecode3 = 0 ;
7188 PyObject * obj0 = 0 ;
7189 PyObject * obj1 = 0 ;
7190 PyObject * obj2 = 0 ;
7191 char * kwnames[] = {
7192 (char *) "self",(char *) "text",(char *) "show", NULL
7193 };
7194
7195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7197 if (!SWIG_IsOK(res1)) {
7198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7199 }
7200 arg1 = reinterpret_cast< wxFrame * >(argp1);
7201 {
7202 arg2 = wxString_in_helper(obj1);
7203 if (arg2 == NULL) SWIG_fail;
7204 temp2 = true;
7205 }
7206 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7207 if (!SWIG_IsOK(ecode3)) {
7208 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7209 }
7210 arg3 = static_cast< bool >(val3);
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 resultobj = SWIG_Py_Void();
7218 {
7219 if (temp2)
7220 delete arg2;
7221 }
7222 return resultobj;
7223fail:
7224 {
7225 if (temp2)
7226 delete arg2;
7227 }
7228 return NULL;
7229}
7230
7231
7232SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj = 0;
7234 wxFrame *arg1 = (wxFrame *) 0 ;
7235 wxMenu *arg2 = (wxMenu *) NULL ;
7236 void *argp1 = 0 ;
7237 int res1 = 0 ;
7238 void *argp2 = 0 ;
7239 int res2 = 0 ;
7240 PyObject * obj0 = 0 ;
7241 PyObject * obj1 = 0 ;
7242 char * kwnames[] = {
7243 (char *) "self",(char *) "menu", NULL
7244 };
7245
7246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7248 if (!SWIG_IsOK(res1)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7250 }
7251 arg1 = reinterpret_cast< wxFrame * >(argp1);
7252 if (obj1) {
7253 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7254 if (!SWIG_IsOK(res2)) {
7255 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7256 }
1bd55598
RD
7257 arg2 = reinterpret_cast< wxMenu * >(argp2);
7258 }
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 (arg1)->DoMenuUpdates(arg2);
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 resultobj = SWIG_Py_Void();
7266 return resultobj;
7267fail:
7268 return NULL;
7269}
7270
7271
7272SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7273 PyObject *resultobj = 0;
7274 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7275 SwigValueWrapper<wxVisualAttributes > result;
7276 int val1 ;
7277 int ecode1 = 0 ;
7278 PyObject * obj0 = 0 ;
7279 char * kwnames[] = {
7280 (char *) "variant", NULL
7281 };
7282
7283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7284 if (obj0) {
7285 ecode1 = SWIG_AsVal_int(obj0, &val1);
7286 if (!SWIG_IsOK(ecode1)) {
7287 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7288 }
7289 arg1 = static_cast< wxWindowVariant >(val1);
7290 }
7291 {
7292 if (!wxPyCheckForApp()) SWIG_fail;
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 result = wxFrame::GetClassDefaultAttributes(arg1);
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7299 return resultobj;
7300fail:
7301 return NULL;
7302}
7303
7304
7305SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7306 PyObject *obj;
7307 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7308 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7309 return SWIG_Py_Void();
7310}
7311
7312SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7313 return SWIG_Python_InitShadowInstance(args);
7314}
7315
7316SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj = 0;
7318 wxWindow *arg1 = (wxWindow *) 0 ;
7319 int arg2 = (int) (int)-1 ;
7320 wxString const &arg3_defvalue = wxPyEmptyString ;
7321 wxString *arg3 = (wxString *) &arg3_defvalue ;
7322 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7323 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7324 wxSize const &arg5_defvalue = wxDefaultSize ;
7325 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7326 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7327 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7328 wxString *arg7 = (wxString *) &arg7_defvalue ;
7329 wxDialog *result = 0 ;
7330 void *argp1 = 0 ;
7331 int res1 = 0 ;
7332 int val2 ;
7333 int ecode2 = 0 ;
7334 bool temp3 = false ;
7335 wxPoint temp4 ;
7336 wxSize temp5 ;
7337 long val6 ;
7338 int ecode6 = 0 ;
7339 bool temp7 = false ;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 PyObject * obj2 = 0 ;
7343 PyObject * obj3 = 0 ;
7344 PyObject * obj4 = 0 ;
7345 PyObject * obj5 = 0 ;
7346 PyObject * obj6 = 0 ;
7347 char * kwnames[] = {
7348 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7349 };
7350
7351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7353 if (!SWIG_IsOK(res1)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7355 }
7356 arg1 = reinterpret_cast< wxWindow * >(argp1);
7357 if (obj1) {
7358 ecode2 = SWIG_AsVal_int(obj1, &val2);
7359 if (!SWIG_IsOK(ecode2)) {
7360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7361 }
7362 arg2 = static_cast< int >(val2);
7363 }
7364 if (obj2) {
d55e5bfc 7365 {
1bd55598
RD
7366 arg3 = wxString_in_helper(obj2);
7367 if (arg3 == NULL) SWIG_fail;
7368 temp3 = true;
d55e5bfc 7369 }
1bd55598
RD
7370 }
7371 if (obj3) {
d55e5bfc 7372 {
1bd55598
RD
7373 arg4 = &temp4;
7374 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7375 }
1bd55598
RD
7376 }
7377 if (obj4) {
d55e5bfc 7378 {
1bd55598
RD
7379 arg5 = &temp5;
7380 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7381 }
1bd55598
RD
7382 }
7383 if (obj5) {
7384 ecode6 = SWIG_AsVal_long(obj5, &val6);
7385 if (!SWIG_IsOK(ecode6)) {
7386 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7387 }
7388 arg6 = static_cast< long >(val6);
7389 }
7390 if (obj6) {
d55e5bfc 7391 {
1bd55598
RD
7392 arg7 = wxString_in_helper(obj6);
7393 if (arg7 == NULL) SWIG_fail;
7394 temp7 = true;
d55e5bfc 7395 }
1bd55598
RD
7396 }
7397 {
7398 if (!wxPyCheckForApp()) SWIG_fail;
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7405 {
7406 if (temp3)
7407 delete arg3;
7408 }
7409 {
7410 if (temp7)
7411 delete arg7;
7412 }
7413 return resultobj;
7414fail:
7415 {
7416 if (temp3)
7417 delete arg3;
7418 }
7419 {
7420 if (temp7)
7421 delete arg7;
7422 }
7423 return NULL;
d55e5bfc
RD
7424}
7425
7426
1bd55598
RD
7427SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7428 PyObject *resultobj = 0;
7429 wxDialog *result = 0 ;
7430
7431 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7432 {
7433 if (!wxPyCheckForApp()) SWIG_fail;
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 result = (wxDialog *)new wxDialog();
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7440 return resultobj;
7441fail:
7442 return NULL;
7443}
7444
7445
7446SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7447 PyObject *resultobj = 0;
7448 wxDialog *arg1 = (wxDialog *) 0 ;
7449 wxWindow *arg2 = (wxWindow *) 0 ;
7450 int arg3 = (int) (int)-1 ;
7451 wxString const &arg4_defvalue = wxPyEmptyString ;
7452 wxString *arg4 = (wxString *) &arg4_defvalue ;
7453 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7454 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7455 wxSize const &arg6_defvalue = wxDefaultSize ;
7456 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7457 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7458 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7459 wxString *arg8 = (wxString *) &arg8_defvalue ;
7460 bool result;
7461 void *argp1 = 0 ;
7462 int res1 = 0 ;
7463 void *argp2 = 0 ;
7464 int res2 = 0 ;
7465 int val3 ;
7466 int ecode3 = 0 ;
7467 bool temp4 = false ;
7468 wxPoint temp5 ;
7469 wxSize temp6 ;
7470 long val7 ;
7471 int ecode7 = 0 ;
7472 bool temp8 = false ;
7473 PyObject * obj0 = 0 ;
7474 PyObject * obj1 = 0 ;
7475 PyObject * obj2 = 0 ;
7476 PyObject * obj3 = 0 ;
7477 PyObject * obj4 = 0 ;
7478 PyObject * obj5 = 0 ;
7479 PyObject * obj6 = 0 ;
7480 PyObject * obj7 = 0 ;
7481 char * kwnames[] = {
7482 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7483 };
7484
7485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7487 if (!SWIG_IsOK(res1)) {
7488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7489 }
7490 arg1 = reinterpret_cast< wxDialog * >(argp1);
7491 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7492 if (!SWIG_IsOK(res2)) {
7493 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7494 }
7495 arg2 = reinterpret_cast< wxWindow * >(argp2);
7496 if (obj2) {
7497 ecode3 = SWIG_AsVal_int(obj2, &val3);
7498 if (!SWIG_IsOK(ecode3)) {
7499 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7500 }
7501 arg3 = static_cast< int >(val3);
7502 }
7503 if (obj3) {
d55e5bfc 7504 {
1bd55598
RD
7505 arg4 = wxString_in_helper(obj3);
7506 if (arg4 == NULL) SWIG_fail;
7507 temp4 = true;
d55e5bfc 7508 }
1bd55598
RD
7509 }
7510 if (obj4) {
36ed4f51 7511 {
1bd55598
RD
7512 arg5 = &temp5;
7513 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7514 }
1bd55598
RD
7515 }
7516 if (obj5) {
d55e5bfc 7517 {
1bd55598
RD
7518 arg6 = &temp6;
7519 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7520 }
1bd55598
RD
7521 }
7522 if (obj6) {
7523 ecode7 = SWIG_AsVal_long(obj6, &val7);
7524 if (!SWIG_IsOK(ecode7)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7526 }
7527 arg7 = static_cast< long >(val7);
7528 }
7529 if (obj7) {
d55e5bfc 7530 {
1bd55598
RD
7531 arg8 = wxString_in_helper(obj7);
7532 if (arg8 == NULL) SWIG_fail;
7533 temp8 = true;
d55e5bfc 7534 }
1bd55598
RD
7535 }
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 {
7543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7544 }
7545 {
7546 if (temp4)
7547 delete arg4;
7548 }
7549 {
7550 if (temp8)
7551 delete arg8;
7552 }
7553 return resultobj;
7554fail:
7555 {
7556 if (temp4)
7557 delete arg4;
7558 }
7559 {
7560 if (temp8)
7561 delete arg8;
7562 }
7563 return NULL;
7564}
7565
7566
7567SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj = 0;
7569 wxDialog *arg1 = (wxDialog *) 0 ;
7570 int arg2 ;
7571 void *argp1 = 0 ;
7572 int res1 = 0 ;
7573 int val2 ;
7574 int ecode2 = 0 ;
7575 PyObject * obj0 = 0 ;
7576 PyObject * obj1 = 0 ;
7577 char * kwnames[] = {
7578 (char *) "self",(char *) "returnCode", NULL
7579 };
7580
7581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7583 if (!SWIG_IsOK(res1)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7585 }
7586 arg1 = reinterpret_cast< wxDialog * >(argp1);
7587 ecode2 = SWIG_AsVal_int(obj1, &val2);
7588 if (!SWIG_IsOK(ecode2)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7590 }
7591 arg2 = static_cast< int >(val2);
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 (arg1)->SetReturnCode(arg2);
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 resultobj = SWIG_Py_Void();
7599 return resultobj;
7600fail:
7601 return NULL;
c370783e
RD
7602}
7603
7604
1bd55598
RD
7605SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7606 PyObject *resultobj = 0;
7607 wxDialog *arg1 = (wxDialog *) 0 ;
7608 int result;
7609 void *argp1 = 0 ;
7610 int res1 = 0 ;
7611 PyObject *swig_obj[1] ;
7612
7613 if (!args) SWIG_fail;
7614 swig_obj[0] = args;
7615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7616 if (!SWIG_IsOK(res1)) {
7617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7618 }
7619 arg1 = reinterpret_cast< wxDialog * >(argp1);
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 resultobj = SWIG_From_int(static_cast< int >(result));
7627 return resultobj;
7628fail:
7629 return NULL;
7630}
7631
7632
7633SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7634 PyObject *resultobj = 0;
7635 wxDialog *arg1 = (wxDialog *) 0 ;
7636 int arg2 ;
7637 void *argp1 = 0 ;
7638 int res1 = 0 ;
7639 int val2 ;
7640 int ecode2 = 0 ;
7641 PyObject * obj0 = 0 ;
7642 PyObject * obj1 = 0 ;
7643 char * kwnames[] = {
7644 (char *) "self",(char *) "affirmativeId", NULL
7645 };
7646
7647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7649 if (!SWIG_IsOK(res1)) {
7650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7651 }
7652 arg1 = reinterpret_cast< wxDialog * >(argp1);
7653 ecode2 = SWIG_AsVal_int(obj1, &val2);
7654 if (!SWIG_IsOK(ecode2)) {
7655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7656 }
7657 arg2 = static_cast< int >(val2);
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 (arg1)->SetAffirmativeId(arg2);
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) SWIG_fail;
7663 }
7664 resultobj = SWIG_Py_Void();
7665 return resultobj;
7666fail:
7667 return NULL;
5e483524
RD
7668}
7669
7670
1bd55598
RD
7671SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7672 PyObject *resultobj = 0;
7673 wxDialog *arg1 = (wxDialog *) 0 ;
7674 int result;
7675 void *argp1 = 0 ;
7676 int res1 = 0 ;
7677 PyObject *swig_obj[1] ;
7678
7679 if (!args) SWIG_fail;
7680 swig_obj[0] = args;
7681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7682 if (!SWIG_IsOK(res1)) {
7683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7684 }
7685 arg1 = reinterpret_cast< wxDialog * >(argp1);
7686 {
7687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7688 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 resultobj = SWIG_From_int(static_cast< int >(result));
7693 return resultobj;
7694fail:
7695 return NULL;
7696}
7697
7698
7699SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7700 PyObject *resultobj = 0;
7701 wxDialog *arg1 = (wxDialog *) 0 ;
7702 int arg2 ;
7703 void *argp1 = 0 ;
7704 int res1 = 0 ;
7705 int val2 ;
7706 int ecode2 = 0 ;
7707 PyObject * obj0 = 0 ;
7708 PyObject * obj1 = 0 ;
7709 char * kwnames[] = {
7710 (char *) "self",(char *) "escapeId", NULL
7711 };
7712
7713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7715 if (!SWIG_IsOK(res1)) {
7716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7717 }
7718 arg1 = reinterpret_cast< wxDialog * >(argp1);
7719 ecode2 = SWIG_AsVal_int(obj1, &val2);
7720 if (!SWIG_IsOK(ecode2)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7722 }
7723 arg2 = static_cast< int >(val2);
7724 {
7725 PyThreadState* __tstate = wxPyBeginAllowThreads();
7726 (arg1)->SetEscapeId(arg2);
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 resultobj = SWIG_Py_Void();
7731 return resultobj;
7732fail:
7733 return NULL;
d55e5bfc
RD
7734}
7735
7736
1bd55598
RD
7737SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7738 PyObject *resultobj = 0;
7739 wxDialog *arg1 = (wxDialog *) 0 ;
7740 int result;
7741 void *argp1 = 0 ;
7742 int res1 = 0 ;
7743 PyObject *swig_obj[1] ;
7744
7745 if (!args) SWIG_fail;
7746 swig_obj[0] = args;
7747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7748 if (!SWIG_IsOK(res1)) {
7749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7750 }
7751 arg1 = reinterpret_cast< wxDialog * >(argp1);
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 resultobj = SWIG_From_int(static_cast< int >(result));
7759 return resultobj;
7760fail:
7761 return NULL;
7762}
7763
7764
7765SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj = 0;
7767 wxDialog *arg1 = (wxDialog *) 0 ;
7768 wxString *arg2 = 0 ;
7769 wxSizer *result = 0 ;
7770 void *argp1 = 0 ;
7771 int res1 = 0 ;
7772 bool temp2 = false ;
7773 PyObject * obj0 = 0 ;
7774 PyObject * obj1 = 0 ;
7775 char * kwnames[] = {
7776 (char *) "self",(char *) "message", NULL
7777 };
7778
7779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7781 if (!SWIG_IsOK(res1)) {
7782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7783 }
7784 arg1 = reinterpret_cast< wxDialog * >(argp1);
7785 {
7786 arg2 = wxString_in_helper(obj1);
7787 if (arg2 == NULL) SWIG_fail;
7788 temp2 = true;
7789 }
7790 {
7791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7792 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 {
7797 resultobj = wxPyMake_wxObject(result, (bool)0);
7798 }
7799 {
7800 if (temp2)
7801 delete arg2;
7802 }
7803 return resultobj;
7804fail:
7805 {
7806 if (temp2)
7807 delete arg2;
7808 }
7809 return NULL;
7810}
7811
7812
b39fe951 7813SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598
RD
7814 PyObject *resultobj = 0;
7815 wxDialog *arg1 = (wxDialog *) 0 ;
7816 long arg2 ;
1bd55598
RD
7817 wxSizer *result = 0 ;
7818 void *argp1 = 0 ;
7819 int res1 = 0 ;
7820 long val2 ;
7821 int ecode2 = 0 ;
1bd55598
RD
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
1bd55598 7824 char * kwnames[] = {
b39fe951 7825 (char *) "self",(char *) "flags", NULL
1bd55598
RD
7826 };
7827
b39fe951 7828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
1bd55598
RD
7829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7830 if (!SWIG_IsOK(res1)) {
b39fe951 7831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
1bd55598
RD
7832 }
7833 arg1 = reinterpret_cast< wxDialog * >(argp1);
7834 ecode2 = SWIG_AsVal_long(obj1, &val2);
7835 if (!SWIG_IsOK(ecode2)) {
b39fe951 7836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
1bd55598
RD
7837 }
7838 arg2 = static_cast< long >(val2);
b39fe951
RD
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
1bd55598 7844 }
b39fe951
RD
7845 {
7846 resultobj = wxPyMake_wxObject(result, (bool)0);
1bd55598 7847 }
b39fe951
RD
7848 return resultobj;
7849fail:
7850 return NULL;
7851}
7852
7853
7854SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj = 0;
7856 wxDialog *arg1 = (wxDialog *) 0 ;
7857 long arg2 ;
7858 wxSizer *result = 0 ;
7859 void *argp1 = 0 ;
7860 int res1 = 0 ;
7861 long val2 ;
7862 int ecode2 = 0 ;
7863 PyObject * obj0 = 0 ;
7864 PyObject * obj1 = 0 ;
7865 char * kwnames[] = {
7866 (char *) "self",(char *) "flags", NULL
7867 };
7868
7869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7871 if (!SWIG_IsOK(res1)) {
7872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7873 }
7874 arg1 = reinterpret_cast< wxDialog * >(argp1);
7875 ecode2 = SWIG_AsVal_long(obj1, &val2);
7876 if (!SWIG_IsOK(ecode2)) {
7877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7878 }
7879 arg2 = static_cast< long >(val2);
1bd55598
RD
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 7882 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
1bd55598
RD
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 {
7887 resultobj = wxPyMake_wxObject(result, (bool)0);
7888 }
7889 return resultobj;
7890fail:
7891 return NULL;
7892}
7893
7894
7895SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj = 0;
7897 wxDialog *arg1 = (wxDialog *) 0 ;
7898 long arg2 ;
7899 wxStdDialogButtonSizer *result = 0 ;
7900 void *argp1 = 0 ;
7901 int res1 = 0 ;
7902 long val2 ;
7903 int ecode2 = 0 ;
7904 PyObject * obj0 = 0 ;
7905 PyObject * obj1 = 0 ;
7906 char * kwnames[] = {
7907 (char *) "self",(char *) "flags", NULL
7908 };
7909
7910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7912 if (!SWIG_IsOK(res1)) {
7913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7914 }
7915 arg1 = reinterpret_cast< wxDialog * >(argp1);
7916 ecode2 = SWIG_AsVal_long(obj1, &val2);
7917 if (!SWIG_IsOK(ecode2)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7919 }
7920 arg2 = static_cast< long >(val2);
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7928 return resultobj;
7929fail:
7930 return NULL;
d55e5bfc
RD
7931}
7932
7933
1bd55598
RD
7934SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7935 PyObject *resultobj = 0;
7936 wxDialog *arg1 = (wxDialog *) 0 ;
7937 bool result;
7938 void *argp1 = 0 ;
7939 int res1 = 0 ;
7940 PyObject *swig_obj[1] ;
7941
7942 if (!args) SWIG_fail;
7943 swig_obj[0] = args;
7944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7945 if (!SWIG_IsOK(res1)) {
7946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7947 }
7948 arg1 = reinterpret_cast< wxDialog * >(argp1);
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (bool)((wxDialog const *)arg1)->IsModal();
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 {
7956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7957 }
7958 return resultobj;
7959fail:
7960 return NULL;
b1fcee84
RD
7961}
7962
7963
1bd55598
RD
7964SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7965 PyObject *resultobj = 0;
7966 wxDialog *arg1 = (wxDialog *) 0 ;
7967 int result;
7968 void *argp1 = 0 ;
7969 int res1 = 0 ;
7970 PyObject *swig_obj[1] ;
7971
7972 if (!args) SWIG_fail;
7973 swig_obj[0] = args;
7974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7975 if (!SWIG_IsOK(res1)) {
7976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7977 }
7978 arg1 = reinterpret_cast< wxDialog * >(argp1);
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 result = (int)(arg1)->ShowModal();
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 resultobj = SWIG_From_int(static_cast< int >(result));
7986 return resultobj;
7987fail:
7988 return NULL;
7989}
7990
7991
7992SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7993 PyObject *resultobj = 0;
7994 wxDialog *arg1 = (wxDialog *) 0 ;
7995 int arg2 ;
7996 void *argp1 = 0 ;
7997 int res1 = 0 ;
7998 int val2 ;
7999 int ecode2 = 0 ;
8000 PyObject * obj0 = 0 ;
8001 PyObject * obj1 = 0 ;
8002 char * kwnames[] = {
8003 (char *) "self",(char *) "retCode", NULL
8004 };
8005
8006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8008 if (!SWIG_IsOK(res1)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8010 }
8011 arg1 = reinterpret_cast< wxDialog * >(argp1);
8012 ecode2 = SWIG_AsVal_int(obj1, &val2);
8013 if (!SWIG_IsOK(ecode2)) {
8014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8015 }
8016 arg2 = static_cast< int >(val2);
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 (arg1)->EndModal(arg2);
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 resultobj = SWIG_Py_Void();
8024 return resultobj;
8025fail:
8026 return NULL;
8027}
8028
8029
8030SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj = 0;
8032 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8033 SwigValueWrapper<wxVisualAttributes > result;
8034 int val1 ;
8035 int ecode1 = 0 ;
8036 PyObject * obj0 = 0 ;
8037 char * kwnames[] = {
8038 (char *) "variant", NULL
8039 };
8040
8041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8042 if (obj0) {
8043 ecode1 = SWIG_AsVal_int(obj0, &val1);
8044 if (!SWIG_IsOK(ecode1)) {
8045 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8046 }
8047 arg1 = static_cast< wxWindowVariant >(val1);
8048 }
8049 {
8050 if (!wxPyCheckForApp()) SWIG_fail;
8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
8052 result = wxDialog::GetClassDefaultAttributes(arg1);
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8057 return resultobj;
8058fail:
8059 return NULL;
8060}
8061
8062
8063SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8064 PyObject *obj;
8065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8066 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8067 return SWIG_Py_Void();
8068}
8069
8070SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8071 return SWIG_Python_InitShadowInstance(args);
8072}
8073
8074SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8075 PyObject *resultobj = 0;
8076 wxWindow *arg1 = (wxWindow *) 0 ;
8077 int arg2 = (int) (int)-1 ;
8078 wxString const &arg3_defvalue = wxPyEmptyString ;
8079 wxString *arg3 = (wxString *) &arg3_defvalue ;
8080 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8081 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8082 wxSize const &arg5_defvalue = wxDefaultSize ;
8083 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8084 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8085 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8086 wxString *arg7 = (wxString *) &arg7_defvalue ;
8087 wxMiniFrame *result = 0 ;
8088 void *argp1 = 0 ;
8089 int res1 = 0 ;
8090 int val2 ;
8091 int ecode2 = 0 ;
8092 bool temp3 = false ;
8093 wxPoint temp4 ;
8094 wxSize temp5 ;
8095 long val6 ;
8096 int ecode6 = 0 ;
8097 bool temp7 = false ;
8098 PyObject * obj0 = 0 ;
8099 PyObject * obj1 = 0 ;
8100 PyObject * obj2 = 0 ;
8101 PyObject * obj3 = 0 ;
8102 PyObject * obj4 = 0 ;
8103 PyObject * obj5 = 0 ;
8104 PyObject * obj6 = 0 ;
8105 char * kwnames[] = {
8106 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8107 };
8108
8109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8111 if (!SWIG_IsOK(res1)) {
8112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8113 }
8114 arg1 = reinterpret_cast< wxWindow * >(argp1);
8115 if (obj1) {
8116 ecode2 = SWIG_AsVal_int(obj1, &val2);
8117 if (!SWIG_IsOK(ecode2)) {
8118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8119 }
8120 arg2 = static_cast< int >(val2);
8121 }
8122 if (obj2) {
d55e5bfc 8123 {
1bd55598
RD
8124 arg3 = wxString_in_helper(obj2);
8125 if (arg3 == NULL) SWIG_fail;
8126 temp3 = true;
d55e5bfc 8127 }
1bd55598
RD
8128 }
8129 if (obj3) {
d55e5bfc 8130 {
1bd55598
RD
8131 arg4 = &temp4;
8132 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8133 }
1bd55598
RD
8134 }
8135 if (obj4) {
d55e5bfc 8136 {
1bd55598
RD
8137 arg5 = &temp5;
8138 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8139 }
1bd55598
RD
8140 }
8141 if (obj5) {
8142 ecode6 = SWIG_AsVal_long(obj5, &val6);
8143 if (!SWIG_IsOK(ecode6)) {
8144 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8145 }
8146 arg6 = static_cast< long >(val6);
8147 }
8148 if (obj6) {
d55e5bfc 8149 {
1bd55598
RD
8150 arg7 = wxString_in_helper(obj6);
8151 if (arg7 == NULL) SWIG_fail;
8152 temp7 = true;
d55e5bfc 8153 }
1bd55598
RD
8154 }
8155 {
8156 if (!wxPyCheckForApp()) SWIG_fail;
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8163 {
8164 if (temp3)
8165 delete arg3;
8166 }
8167 {
8168 if (temp7)
8169 delete arg7;
8170 }
8171 return resultobj;
8172fail:
8173 {
8174 if (temp3)
8175 delete arg3;
8176 }
8177 {
8178 if (temp7)
8179 delete arg7;
8180 }
8181 return NULL;
d55e5bfc
RD
8182}
8183
8184
1bd55598
RD
8185SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8186 PyObject *resultobj = 0;
8187 wxMiniFrame *result = 0 ;
8188
8189 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8190 {
8191 if (!wxPyCheckForApp()) SWIG_fail;
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 result = (wxMiniFrame *)new wxMiniFrame();
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8198 return resultobj;
8199fail:
8200 return NULL;
8201}
8202
8203
8204SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj = 0;
8206 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8207 wxWindow *arg2 = (wxWindow *) 0 ;
8208 int arg3 = (int) (int)-1 ;
8209 wxString const &arg4_defvalue = wxPyEmptyString ;
8210 wxString *arg4 = (wxString *) &arg4_defvalue ;
8211 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8212 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8213 wxSize const &arg6_defvalue = wxDefaultSize ;
8214 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8215 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8216 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8217 wxString *arg8 = (wxString *) &arg8_defvalue ;
8218 bool result;
8219 void *argp1 = 0 ;
8220 int res1 = 0 ;
8221 void *argp2 = 0 ;
8222 int res2 = 0 ;
8223 int val3 ;
8224 int ecode3 = 0 ;
8225 bool temp4 = false ;
8226 wxPoint temp5 ;
8227 wxSize temp6 ;
8228 long val7 ;
8229 int ecode7 = 0 ;
8230 bool temp8 = false ;
8231 PyObject * obj0 = 0 ;
8232 PyObject * obj1 = 0 ;
8233 PyObject * obj2 = 0 ;
8234 PyObject * obj3 = 0 ;
8235 PyObject * obj4 = 0 ;
8236 PyObject * obj5 = 0 ;
8237 PyObject * obj6 = 0 ;
8238 PyObject * obj7 = 0 ;
8239 char * kwnames[] = {
8240 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8241 };
8242
8243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8245 if (!SWIG_IsOK(res1)) {
8246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8247 }
8248 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8249 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8250 if (!SWIG_IsOK(res2)) {
8251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8252 }
8253 arg2 = reinterpret_cast< wxWindow * >(argp2);
8254 if (obj2) {
8255 ecode3 = SWIG_AsVal_int(obj2, &val3);
8256 if (!SWIG_IsOK(ecode3)) {
8257 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8258 }
8259 arg3 = static_cast< int >(val3);
8260 }
8261 if (obj3) {
d55e5bfc 8262 {
1bd55598
RD
8263 arg4 = wxString_in_helper(obj3);
8264 if (arg4 == NULL) SWIG_fail;
8265 temp4 = true;
d55e5bfc 8266 }
1bd55598
RD
8267 }
8268 if (obj4) {
d55e5bfc 8269 {
1bd55598
RD
8270 arg5 = &temp5;
8271 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8272 }
1bd55598
RD
8273 }
8274 if (obj5) {
d55e5bfc 8275 {
1bd55598
RD
8276 arg6 = &temp6;
8277 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8278 }
1bd55598
RD
8279 }
8280 if (obj6) {
8281 ecode7 = SWIG_AsVal_long(obj6, &val7);
8282 if (!SWIG_IsOK(ecode7)) {
8283 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8284 }
8285 arg7 = static_cast< long >(val7);
8286 }
8287 if (obj7) {
d55e5bfc 8288 {
1bd55598
RD
8289 arg8 = wxString_in_helper(obj7);
8290 if (arg8 == NULL) SWIG_fail;
8291 temp8 = true;
d55e5bfc 8292 }
1bd55598
RD
8293 }
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8296 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 {
8301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8302 }
8303 {
8304 if (temp4)
8305 delete arg4;
8306 }
8307 {
8308 if (temp8)
8309 delete arg8;
8310 }
8311 return resultobj;
8312fail:
8313 {
8314 if (temp4)
8315 delete arg4;
8316 }
8317 {
8318 if (temp8)
8319 delete arg8;
8320 }
8321 return NULL;
8322}
8323
8324
8325SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8326 PyObject *obj;
8327 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8328 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8329 return SWIG_Py_Void();
8330}
8331
8332SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8333 return SWIG_Python_InitShadowInstance(args);
8334}
8335
8336SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8337 PyObject *resultobj = 0;
8338 wxBitmap *arg1 = 0 ;
8339 wxWindow *arg2 = (wxWindow *) 0 ;
8340 int arg3 ;
8341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8343 wxSize const &arg5_defvalue = wxDefaultSize ;
8344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8345 long arg6 = (long) wxNO_BORDER ;
8346 wxSplashScreenWindow *result = 0 ;
8347 void *argp1 = 0 ;
8348 int res1 = 0 ;
8349 void *argp2 = 0 ;
8350 int res2 = 0 ;
8351 int val3 ;
8352 int ecode3 = 0 ;
8353 wxPoint temp4 ;
8354 wxSize temp5 ;
8355 long val6 ;
8356 int ecode6 = 0 ;
8357 PyObject * obj0 = 0 ;
8358 PyObject * obj1 = 0 ;
8359 PyObject * obj2 = 0 ;
8360 PyObject * obj3 = 0 ;
8361 PyObject * obj4 = 0 ;
8362 PyObject * obj5 = 0 ;
8363 char * kwnames[] = {
8364 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8365 };
8366
8367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8368 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8369 if (!SWIG_IsOK(res1)) {
8370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8371 }
8372 if (!argp1) {
8373 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8374 }
8375 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8376 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8377 if (!SWIG_IsOK(res2)) {
8378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8379 }
8380 arg2 = reinterpret_cast< wxWindow * >(argp2);
8381 ecode3 = SWIG_AsVal_int(obj2, &val3);
8382 if (!SWIG_IsOK(ecode3)) {
8383 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8384 }
8385 arg3 = static_cast< int >(val3);
8386 if (obj3) {
d55e5bfc 8387 {
1bd55598
RD
8388 arg4 = &temp4;
8389 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8390 }
1bd55598
RD
8391 }
8392 if (obj4) {
d55e5bfc 8393 {
1bd55598
RD
8394 arg5 = &temp5;
8395 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8396 }
1bd55598
RD
8397 }
8398 if (obj5) {
8399 ecode6 = SWIG_AsVal_long(obj5, &val6);
8400 if (!SWIG_IsOK(ecode6)) {
8401 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8402 }
8403 arg6 = static_cast< long >(val6);
8404 }
8405 {
8406 if (!wxPyCheckForApp()) SWIG_fail;
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8413 return resultobj;
8414fail:
8415 return NULL;
8416}
8417
8418
8419SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8420 PyObject *resultobj = 0;
8421 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8422 wxBitmap *arg2 = 0 ;
8423 void *argp1 = 0 ;
8424 int res1 = 0 ;
8425 void *argp2 = 0 ;
8426 int res2 = 0 ;
8427 PyObject * obj0 = 0 ;
8428 PyObject * obj1 = 0 ;
8429 char * kwnames[] = {
8430 (char *) "self",(char *) "bitmap", NULL
8431 };
8432
8433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8435 if (!SWIG_IsOK(res1)) {
8436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8437 }
8438 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8439 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8440 if (!SWIG_IsOK(res2)) {
8441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8442 }
8443 if (!argp2) {
8444 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8445 }
8446 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8447 {
8448 PyThreadState* __tstate = wxPyBeginAllowThreads();
8449 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 resultobj = SWIG_Py_Void();
8454 return resultobj;
8455fail:
8456 return NULL;
d55e5bfc
RD
8457}
8458
8459
1bd55598
RD
8460SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8461 PyObject *resultobj = 0;
8462 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8463 wxBitmap *result = 0 ;
8464 void *argp1 = 0 ;
8465 int res1 = 0 ;
8466 PyObject *swig_obj[1] ;
8467
8468 if (!args) SWIG_fail;
8469 swig_obj[0] = args;
8470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8471 if (!SWIG_IsOK(res1)) {
8472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8473 }
8474 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 {
8478 wxBitmap &_result_ref = (arg1)->GetBitmap();
8479 result = (wxBitmap *) &_result_ref;
8480 }
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 {
8485 wxBitmap* resultptr = new wxBitmap(*result);
8486 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8487 }
8488 return resultobj;
8489fail:
8490 return NULL;
8491}
8492
8493
8494SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8495 PyObject *obj;
8496 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8497 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8498 return SWIG_Py_Void();
8499}
8500
8501SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8502 return SWIG_Python_InitShadowInstance(args);
8503}
8504
8505SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj = 0;
8507 wxBitmap *arg1 = 0 ;
8508 long arg2 ;
8509 int arg3 ;
8510 wxWindow *arg4 = (wxWindow *) 0 ;
8511 int arg5 = (int) -1 ;
8512 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8513 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8514 wxSize const &arg7_defvalue = wxDefaultSize ;
8515 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8516 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8517 wxSplashScreen *result = 0 ;
8518 void *argp1 = 0 ;
8519 int res1 = 0 ;
8520 long val2 ;
8521 int ecode2 = 0 ;
8522 int val3 ;
8523 int ecode3 = 0 ;
8524 void *argp4 = 0 ;
8525 int res4 = 0 ;
8526 int val5 ;
8527 int ecode5 = 0 ;
8528 wxPoint temp6 ;
8529 wxSize temp7 ;
8530 long val8 ;
8531 int ecode8 = 0 ;
8532 PyObject * obj0 = 0 ;
8533 PyObject * obj1 = 0 ;
8534 PyObject * obj2 = 0 ;
8535 PyObject * obj3 = 0 ;
8536 PyObject * obj4 = 0 ;
8537 PyObject * obj5 = 0 ;
8538 PyObject * obj6 = 0 ;
8539 PyObject * obj7 = 0 ;
8540 char * kwnames[] = {
8541 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8542 };
8543
8544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8545 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8546 if (!SWIG_IsOK(res1)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8548 }
8549 if (!argp1) {
8550 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8551 }
8552 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8553 ecode2 = SWIG_AsVal_long(obj1, &val2);
8554 if (!SWIG_IsOK(ecode2)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8556 }
8557 arg2 = static_cast< long >(val2);
8558 ecode3 = SWIG_AsVal_int(obj2, &val3);
8559 if (!SWIG_IsOK(ecode3)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8561 }
8562 arg3 = static_cast< int >(val3);
8563 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8564 if (!SWIG_IsOK(res4)) {
8565 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8566 }
8567 arg4 = reinterpret_cast< wxWindow * >(argp4);
8568 if (obj4) {
8569 ecode5 = SWIG_AsVal_int(obj4, &val5);
8570 if (!SWIG_IsOK(ecode5)) {
8571 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8572 }
8573 arg5 = static_cast< int >(val5);
8574 }
8575 if (obj5) {
d55e5bfc 8576 {
1bd55598
RD
8577 arg6 = &temp6;
8578 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8579 }
1bd55598
RD
8580 }
8581 if (obj6) {
d55e5bfc 8582 {
1bd55598
RD
8583 arg7 = &temp7;
8584 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8585 }
1bd55598
RD
8586 }
8587 if (obj7) {
8588 ecode8 = SWIG_AsVal_long(obj7, &val8);
8589 if (!SWIG_IsOK(ecode8)) {
8590 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8591 }
8592 arg8 = static_cast< long >(val8);
8593 }
8594 {
8595 if (!wxPyCheckForApp()) SWIG_fail;
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8602 return resultobj;
8603fail:
8604 return NULL;
d55e5bfc
RD
8605}
8606
8607
1bd55598
RD
8608SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8609 PyObject *resultobj = 0;
8610 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8611 long result;
8612 void *argp1 = 0 ;
8613 int res1 = 0 ;
8614 PyObject *swig_obj[1] ;
8615
8616 if (!args) SWIG_fail;
8617 swig_obj[0] = args;
8618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8619 if (!SWIG_IsOK(res1)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8621 }
8622 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 resultobj = SWIG_From_long(static_cast< long >(result));
8630 return resultobj;
8631fail:
8632 return NULL;
d55e5bfc
RD
8633}
8634
8635
1bd55598
RD
8636SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8637 PyObject *resultobj = 0;
8638 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8639 wxSplashScreenWindow *result = 0 ;
8640 void *argp1 = 0 ;
8641 int res1 = 0 ;
8642 PyObject *swig_obj[1] ;
8643
8644 if (!args) SWIG_fail;
8645 swig_obj[0] = args;
8646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8647 if (!SWIG_IsOK(res1)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8649 }
8650 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8658 return resultobj;
8659fail:
8660 return NULL;
d55e5bfc
RD
8661}
8662
8663
1bd55598
RD
8664SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8665 PyObject *resultobj = 0;
8666 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8667 int result;
8668 void *argp1 = 0 ;
8669 int res1 = 0 ;
8670 PyObject *swig_obj[1] ;
8671
8672 if (!args) SWIG_fail;
8673 swig_obj[0] = args;
8674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8675 if (!SWIG_IsOK(res1)) {
8676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8677 }
8678 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8682 wxPyEndAllowThreads(__tstate);
8683 if (PyErr_Occurred()) SWIG_fail;
8684 }
8685 resultobj = SWIG_From_int(static_cast< int >(result));
8686 return resultobj;
8687fail:
8688 return NULL;
8689}
8690
8691
8692SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8693 PyObject *obj;
8694 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8695 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8696 return SWIG_Py_Void();
8697}
8698
8699SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8700 return SWIG_Python_InitShadowInstance(args);
8701}
8702
8703SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj = 0;
8705 wxWindow *arg1 = (wxWindow *) 0 ;
8706 int arg2 = (int) -1 ;
8707 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8708 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8709 wxString *arg4 = (wxString *) &arg4_defvalue ;
8710 wxStatusBar *result = 0 ;
8711 void *argp1 = 0 ;
8712 int res1 = 0 ;
8713 int val2 ;
8714 int ecode2 = 0 ;
8715 long val3 ;
8716 int ecode3 = 0 ;
8717 bool temp4 = false ;
8718 PyObject * obj0 = 0 ;
8719 PyObject * obj1 = 0 ;
8720 PyObject * obj2 = 0 ;
8721 PyObject * obj3 = 0 ;
8722 char * kwnames[] = {
8723 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8724 };
8725
8726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8728 if (!SWIG_IsOK(res1)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8730 }
8731 arg1 = reinterpret_cast< wxWindow * >(argp1);
8732 if (obj1) {
8733 ecode2 = SWIG_AsVal_int(obj1, &val2);
8734 if (!SWIG_IsOK(ecode2)) {
8735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8736 }
8737 arg2 = static_cast< int >(val2);
8738 }
8739 if (obj2) {
8740 ecode3 = SWIG_AsVal_long(obj2, &val3);
8741 if (!SWIG_IsOK(ecode3)) {
8742 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8743 }
8744 arg3 = static_cast< long >(val3);
8745 }
8746 if (obj3) {
d55e5bfc 8747 {
1bd55598
RD
8748 arg4 = wxString_in_helper(obj3);
8749 if (arg4 == NULL) SWIG_fail;
8750 temp4 = true;
d55e5bfc 8751 }
1bd55598
RD
8752 }
8753 {
8754 if (!wxPyCheckForApp()) SWIG_fail;
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8761 {
8762 if (temp4)
8763 delete arg4;
8764 }
8765 return resultobj;
8766fail:
8767 {
8768 if (temp4)
8769 delete arg4;
8770 }
8771 return NULL;
d55e5bfc
RD
8772}
8773
8774
1bd55598
RD
8775SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8776 PyObject *resultobj = 0;
8777 wxStatusBar *result = 0 ;
8778
8779 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8780 {
8781 if (!wxPyCheckForApp()) SWIG_fail;
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 result = (wxStatusBar *)new wxStatusBar();
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8788 return resultobj;
8789fail:
8790 return NULL;
8791}
8792
8793
8794SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj = 0;
8796 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8797 wxWindow *arg2 = (wxWindow *) 0 ;
8798 int arg3 = (int) -1 ;
8799 long arg4 = (long) wxST_SIZEGRIP ;
8800 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8801 wxString *arg5 = (wxString *) &arg5_defvalue ;
8802 bool result;
8803 void *argp1 = 0 ;
8804 int res1 = 0 ;
8805 void *argp2 = 0 ;
8806 int res2 = 0 ;
8807 int val3 ;
8808 int ecode3 = 0 ;
8809 long val4 ;
8810 int ecode4 = 0 ;
8811 bool temp5 = false ;
8812 PyObject * obj0 = 0 ;
8813 PyObject * obj1 = 0 ;
8814 PyObject * obj2 = 0 ;
8815 PyObject * obj3 = 0 ;
8816 PyObject * obj4 = 0 ;
8817 char * kwnames[] = {
8818 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8819 };
8820
8821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8823 if (!SWIG_IsOK(res1)) {
8824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8825 }
8826 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8827 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8828 if (!SWIG_IsOK(res2)) {
8829 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8830 }
8831 arg2 = reinterpret_cast< wxWindow * >(argp2);
8832 if (obj2) {
8833 ecode3 = SWIG_AsVal_int(obj2, &val3);
8834 if (!SWIG_IsOK(ecode3)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8836 }
8837 arg3 = static_cast< int >(val3);
8838 }
8839 if (obj3) {
8840 ecode4 = SWIG_AsVal_long(obj3, &val4);
8841 if (!SWIG_IsOK(ecode4)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8843 }
8844 arg4 = static_cast< long >(val4);
8845 }
8846 if (obj4) {
d55e5bfc 8847 {
1bd55598
RD
8848 arg5 = wxString_in_helper(obj4);
8849 if (arg5 == NULL) SWIG_fail;
8850 temp5 = true;
d55e5bfc 8851 }
1bd55598
RD
8852 }
8853 {
8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
8855 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 {
8860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8861 }
8862 {
8863 if (temp5)
8864 delete arg5;
8865 }
8866 return resultobj;
8867fail:
8868 {
8869 if (temp5)
8870 delete arg5;
8871 }
8872 return NULL;
8873}
8874
8875
8876SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8877 PyObject *resultobj = 0;
8878 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8879 int arg2 = (int) 1 ;
8880 void *argp1 = 0 ;
8881 int res1 = 0 ;
8882 int val2 ;
8883 int ecode2 = 0 ;
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj1 = 0 ;
8886 char * kwnames[] = {
8887 (char *) "self",(char *) "number", NULL
8888 };
8889
8890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8892 if (!SWIG_IsOK(res1)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8894 }
8895 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8896 if (obj1) {
8897 ecode2 = SWIG_AsVal_int(obj1, &val2);
8898 if (!SWIG_IsOK(ecode2)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8900 }
8901 arg2 = static_cast< int >(val2);
8902 }
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 (arg1)->SetFieldsCount(arg2);
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 resultobj = SWIG_Py_Void();
8910 return resultobj;
8911fail:
8912 return NULL;
d55e5bfc
RD
8913}
8914
8915
1bd55598
RD
8916SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8917 PyObject *resultobj = 0;
8918 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8919 int result;
8920 void *argp1 = 0 ;
8921 int res1 = 0 ;
8922 PyObject *swig_obj[1] ;
8923
8924 if (!args) SWIG_fail;
8925 swig_obj[0] = args;
8926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8927 if (!SWIG_IsOK(res1)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8929 }
8930 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 resultobj = SWIG_From_int(static_cast< int >(result));
8938 return resultobj;
8939fail:
8940 return NULL;
8941}
8942
8943
8944SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj = 0;
8946 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8947 wxString *arg2 = 0 ;
8948 int arg3 = (int) 0 ;
8949 void *argp1 = 0 ;
8950 int res1 = 0 ;
8951 bool temp2 = false ;
8952 int val3 ;
8953 int ecode3 = 0 ;
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 PyObject * obj2 = 0 ;
8957 char * kwnames[] = {
8958 (char *) "self",(char *) "text",(char *) "number", NULL
8959 };
8960
8961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8963 if (!SWIG_IsOK(res1)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8965 }
8966 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8967 {
8968 arg2 = wxString_in_helper(obj1);
8969 if (arg2 == NULL) SWIG_fail;
8970 temp2 = true;
8971 }
8972 if (obj2) {
8973 ecode3 = SWIG_AsVal_int(obj2, &val3);
8974 if (!SWIG_IsOK(ecode3)) {
8975 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8976 }
8977 arg3 = static_cast< int >(val3);
8978 }
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 resultobj = SWIG_Py_Void();
8986 {
8987 if (temp2)
8988 delete arg2;
8989 }
8990 return resultobj;
8991fail:
8992 {
8993 if (temp2)
8994 delete arg2;
8995 }
8996 return NULL;
8997}
8998
8999
9000SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj = 0;
9002 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9003 int arg2 = (int) 0 ;
9004 wxString result;
9005 void *argp1 = 0 ;
9006 int res1 = 0 ;
9007 int val2 ;
9008 int ecode2 = 0 ;
9009 PyObject * obj0 = 0 ;
9010 PyObject * obj1 = 0 ;
9011 char * kwnames[] = {
9012 (char *) "self",(char *) "number", NULL
9013 };
9014
9015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9017 if (!SWIG_IsOK(res1)) {
9018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9019 }
9020 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9021 if (obj1) {
9022 ecode2 = SWIG_AsVal_int(obj1, &val2);
9023 if (!SWIG_IsOK(ecode2)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9025 }
9026 arg2 = static_cast< int >(val2);
9027 }
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 {
9035#if wxUSE_UNICODE
9036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9037#else
9038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9039#endif
9040 }
9041 return resultobj;
9042fail:
9043 return NULL;
9044}
9045
9046
9047SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj = 0;
9049 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9050 wxString *arg2 = 0 ;
9051 int arg3 = (int) 0 ;
9052 void *argp1 = 0 ;
9053 int res1 = 0 ;
9054 bool temp2 = false ;
9055 int val3 ;
9056 int ecode3 = 0 ;
9057 PyObject * obj0 = 0 ;
9058 PyObject * obj1 = 0 ;
9059 PyObject * obj2 = 0 ;
9060 char * kwnames[] = {
9061 (char *) "self",(char *) "text",(char *) "number", NULL
9062 };
9063
9064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9066 if (!SWIG_IsOK(res1)) {
9067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9068 }
9069 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9070 {
9071 arg2 = wxString_in_helper(obj1);
9072 if (arg2 == NULL) SWIG_fail;
9073 temp2 = true;
9074 }
9075 if (obj2) {
9076 ecode3 = SWIG_AsVal_int(obj2, &val3);
9077 if (!SWIG_IsOK(ecode3)) {
9078 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9079 }
9080 arg3 = static_cast< int >(val3);
9081 }
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 resultobj = SWIG_Py_Void();
9089 {
9090 if (temp2)
9091 delete arg2;
9092 }
9093 return resultobj;
9094fail:
9095 {
9096 if (temp2)
9097 delete arg2;
9098 }
9099 return NULL;
9100}
9101
9102
9103SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9104 PyObject *resultobj = 0;
9105 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9106 int arg2 = (int) 0 ;
9107 void *argp1 = 0 ;
9108 int res1 = 0 ;
9109 int val2 ;
9110 int ecode2 = 0 ;
9111 PyObject * obj0 = 0 ;
9112 PyObject * obj1 = 0 ;
9113 char * kwnames[] = {
9114 (char *) "self",(char *) "number", NULL
9115 };
9116
9117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9119 if (!SWIG_IsOK(res1)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9121 }
9122 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9123 if (obj1) {
9124 ecode2 = SWIG_AsVal_int(obj1, &val2);
9125 if (!SWIG_IsOK(ecode2)) {
9126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9127 }
9128 arg2 = static_cast< int >(val2);
9129 }
9130 {
9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
9132 (arg1)->PopStatusText(arg2);
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 resultobj = SWIG_Py_Void();
9137 return resultobj;
9138fail:
9139 return NULL;
9140}
9141
9142
9143SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj = 0;
9145 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9146 int arg2 ;
9147 int *arg3 = (int *) 0 ;
9148 void *argp1 = 0 ;
9149 int res1 = 0 ;
9150 PyObject * obj0 = 0 ;
9151 PyObject * obj1 = 0 ;
9152 char * kwnames[] = {
9153 (char *) "self",(char *) "widths", NULL
9154 };
9155
9156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9158 if (!SWIG_IsOK(res1)) {
9159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9160 }
9161 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9162 {
9163 arg2 = PyList_Size(obj1);
9164 arg3 = int_LIST_helper(obj1);
9165 if (arg3 == NULL) SWIG_fail;
9166 }
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 resultobj = SWIG_Py_Void();
9174 {
9175 if (arg3) delete [] arg3;
9176 }
9177 return resultobj;
9178fail:
9179 {
9180 if (arg3) delete [] arg3;
9181 }
9182 return NULL;
d55e5bfc
RD
9183}
9184
9185
1bd55598
RD
9186SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj = 0;
9188 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9189 int arg2 ;
9190 int *arg3 = (int *) 0 ;
9191 void *argp1 = 0 ;
9192 int res1 = 0 ;
9193 PyObject * obj0 = 0 ;
9194 PyObject * obj1 = 0 ;
9195 char * kwnames[] = {
9196 (char *) "self",(char *) "styles", NULL
9197 };
9198
9199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9201 if (!SWIG_IsOK(res1)) {
9202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9203 }
9204 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9205 {
9206 arg2 = PyList_Size(obj1);
9207 arg3 = int_LIST_helper(obj1);
9208 if (arg3 == NULL) SWIG_fail;
9209 }
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 resultobj = SWIG_Py_Void();
9217 {
9218 if (arg3) delete [] arg3;
9219 }
9220 return resultobj;
9221fail:
9222 {
9223 if (arg3) delete [] arg3;
9224 }
9225 return NULL;
9226}
9227
9228
9229SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj = 0;
9231 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9232 int arg2 ;
9233 wxRect result;
9234 void *argp1 = 0 ;
9235 int res1 = 0 ;
9236 int val2 ;
9237 int ecode2 = 0 ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 char * kwnames[] = {
9241 (char *) "self",(char *) "i", NULL
9242 };
9243
9244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9246 if (!SWIG_IsOK(res1)) {
9247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9248 }
9249 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9250 ecode2 = SWIG_AsVal_int(obj1, &val2);
9251 if (!SWIG_IsOK(ecode2)) {
9252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9253 }
9254 arg2 = static_cast< int >(val2);
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 result = wxStatusBar_GetFieldRect(arg1,arg2);
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9262 return resultobj;
9263fail:
9264 return NULL;
9265}
9266
9267
9268SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9269 PyObject *resultobj = 0;
9270 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9271 int arg2 ;
9272 void *argp1 = 0 ;
9273 int res1 = 0 ;
9274 int val2 ;
9275 int ecode2 = 0 ;
9276 PyObject * obj0 = 0 ;
9277 PyObject * obj1 = 0 ;
9278 char * kwnames[] = {
9279 (char *) "self",(char *) "height", NULL
9280 };
9281
9282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9284 if (!SWIG_IsOK(res1)) {
9285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9286 }
9287 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9288 ecode2 = SWIG_AsVal_int(obj1, &val2);
9289 if (!SWIG_IsOK(ecode2)) {
9290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9291 }
9292 arg2 = static_cast< int >(val2);
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 (arg1)->SetMinHeight(arg2);
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 resultobj = SWIG_Py_Void();
9300 return resultobj;
9301fail:
9302 return NULL;
d55e5bfc
RD
9303}
9304
9305
1bd55598
RD
9306SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9307 PyObject *resultobj = 0;
9308 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9309 int result;
9310 void *argp1 = 0 ;
9311 int res1 = 0 ;
9312 PyObject *swig_obj[1] ;
9313
9314 if (!args) SWIG_fail;
9315 swig_obj[0] = args;
9316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9317 if (!SWIG_IsOK(res1)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9319 }
9320 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 resultobj = SWIG_From_int(static_cast< int >(result));
9328 return resultobj;
9329fail:
9330 return NULL;
d55e5bfc
RD
9331}
9332
9333
1bd55598
RD
9334SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9335 PyObject *resultobj = 0;
9336 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9337 int result;
9338 void *argp1 = 0 ;
9339 int res1 = 0 ;
9340 PyObject *swig_obj[1] ;
9341
9342 if (!args) SWIG_fail;
9343 swig_obj[0] = args;
9344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9345 if (!SWIG_IsOK(res1)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9347 }
9348 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 resultobj = SWIG_From_int(static_cast< int >(result));
9356 return resultobj;
9357fail:
9358 return NULL;
9359}
9360
9361
9362SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj = 0;
9364 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9365 SwigValueWrapper<wxVisualAttributes > result;
9366 int val1 ;
9367 int ecode1 = 0 ;
9368 PyObject * obj0 = 0 ;
9369 char * kwnames[] = {
9370 (char *) "variant", NULL
9371 };
9372
9373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9374 if (obj0) {
9375 ecode1 = SWIG_AsVal_int(obj0, &val1);
9376 if (!SWIG_IsOK(ecode1)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9378 }
9379 arg1 = static_cast< wxWindowVariant >(val1);
9380 }
9381 {
9382 if (!wxPyCheckForApp()) SWIG_fail;
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9389 return resultobj;
9390fail:
9391 return NULL;
d55e5bfc
RD
9392}
9393
9394
1bd55598
RD
9395SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9396 PyObject *obj;
9397 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9398 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9399 return SWIG_Py_Void();
d55e5bfc
RD
9400}
9401
1bd55598
RD
9402SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9403 return SWIG_Python_InitShadowInstance(args);
9404}
d55e5bfc 9405
1bd55598
RD
9406SWIGINTERN int SplitterNameStr_set(PyObject *) {
9407 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9408 return 1;
d55e5bfc
RD
9409}
9410
9411
1bd55598
RD
9412SWIGINTERN PyObject *SplitterNameStr_get(void) {
9413 PyObject *pyobj = 0;
9414
9415 {
9416#if wxUSE_UNICODE
9417 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9418#else
9419 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9420#endif
9421 }
9422 return pyobj;
9423}
9424
9425
9426SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj = 0;
9428 wxWindow *arg1 = (wxWindow *) 0 ;
9429 int arg2 = (int) -1 ;
9430 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9431 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9432 wxSize const &arg4_defvalue = wxDefaultSize ;
9433 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9434 long arg5 = (long) wxSP_3D ;
9435 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9436 wxString *arg6 = (wxString *) &arg6_defvalue ;
9437 wxSplitterWindow *result = 0 ;
9438 void *argp1 = 0 ;
9439 int res1 = 0 ;
9440 int val2 ;
9441 int ecode2 = 0 ;
9442 wxPoint temp3 ;
9443 wxSize temp4 ;
9444 long val5 ;
9445 int ecode5 = 0 ;
9446 bool temp6 = false ;
9447 PyObject * obj0 = 0 ;
9448 PyObject * obj1 = 0 ;
9449 PyObject * obj2 = 0 ;
9450 PyObject * obj3 = 0 ;
9451 PyObject * obj4 = 0 ;
9452 PyObject * obj5 = 0 ;
9453 char * kwnames[] = {
9454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9455 };
9456
9457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9459 if (!SWIG_IsOK(res1)) {
9460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9461 }
9462 arg1 = reinterpret_cast< wxWindow * >(argp1);
9463 if (obj1) {
9464 ecode2 = SWIG_AsVal_int(obj1, &val2);
9465 if (!SWIG_IsOK(ecode2)) {
9466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9467 }
9468 arg2 = static_cast< int >(val2);
9469 }
9470 if (obj2) {
36ed4f51 9471 {
1bd55598
RD
9472 arg3 = &temp3;
9473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 9474 }
1bd55598
RD
9475 }
9476 if (obj3) {
d55e5bfc 9477 {
1bd55598
RD
9478 arg4 = &temp4;
9479 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9480 }
1bd55598
RD
9481 }
9482 if (obj4) {
9483 ecode5 = SWIG_AsVal_long(obj4, &val5);
9484 if (!SWIG_IsOK(ecode5)) {
9485 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9486 }
9487 arg5 = static_cast< long >(val5);
9488 }
9489 if (obj5) {
36ed4f51 9490 {
1bd55598
RD
9491 arg6 = wxString_in_helper(obj5);
9492 if (arg6 == NULL) SWIG_fail;
9493 temp6 = true;
36ed4f51 9494 }
1bd55598
RD
9495 }
9496 {
9497 if (!wxPyCheckForApp()) SWIG_fail;
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9504 {
9505 if (temp6)
9506 delete arg6;
9507 }
9508 return resultobj;
9509fail:
9510 {
9511 if (temp6)
9512 delete arg6;
9513 }
9514 return NULL;
d55e5bfc
RD
9515}
9516
9517
1bd55598
RD
9518SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9519 PyObject *resultobj = 0;
9520 wxSplitterWindow *result = 0 ;
9521
9522 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9523 {
9524 if (!wxPyCheckForApp()) SWIG_fail;
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 result = (wxSplitterWindow *)new wxSplitterWindow();
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
9530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9531 return resultobj;
9532fail:
9533 return NULL;
9534}
9535
9536
9537SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9538 PyObject *resultobj = 0;
9539 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9540 wxWindow *arg2 = (wxWindow *) 0 ;
9541 int arg3 = (int) -1 ;
9542 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9543 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9544 wxSize const &arg5_defvalue = wxDefaultSize ;
9545 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9546 long arg6 = (long) wxSP_3D ;
9547 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9548 wxString *arg7 = (wxString *) &arg7_defvalue ;
9549 bool result;
9550 void *argp1 = 0 ;
9551 int res1 = 0 ;
9552 void *argp2 = 0 ;
9553 int res2 = 0 ;
9554 int val3 ;
9555 int ecode3 = 0 ;
9556 wxPoint temp4 ;
9557 wxSize temp5 ;
9558 long val6 ;
9559 int ecode6 = 0 ;
9560 bool temp7 = false ;
9561 PyObject * obj0 = 0 ;
9562 PyObject * obj1 = 0 ;
9563 PyObject * obj2 = 0 ;
9564 PyObject * obj3 = 0 ;
9565 PyObject * obj4 = 0 ;
9566 PyObject * obj5 = 0 ;
9567 PyObject * obj6 = 0 ;
9568 char * kwnames[] = {
9569 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9570 };
9571
9572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9574 if (!SWIG_IsOK(res1)) {
9575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9576 }
9577 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9578 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9579 if (!SWIG_IsOK(res2)) {
9580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9581 }
9582 arg2 = reinterpret_cast< wxWindow * >(argp2);
9583 if (obj2) {
9584 ecode3 = SWIG_AsVal_int(obj2, &val3);
9585 if (!SWIG_IsOK(ecode3)) {
9586 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9587 }
9588 arg3 = static_cast< int >(val3);
9589 }
9590 if (obj3) {
d55e5bfc 9591 {
1bd55598
RD
9592 arg4 = &temp4;
9593 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9594 }
1bd55598
RD
9595 }
9596 if (obj4) {
d55e5bfc 9597 {
1bd55598
RD
9598 arg5 = &temp5;
9599 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9600 }
1bd55598
RD
9601 }
9602 if (obj5) {
9603 ecode6 = SWIG_AsVal_long(obj5, &val6);
9604 if (!SWIG_IsOK(ecode6)) {
9605 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9606 }
9607 arg6 = static_cast< long >(val6);
9608 }
9609 if (obj6) {
d55e5bfc 9610 {
1bd55598
RD
9611 arg7 = wxString_in_helper(obj6);
9612 if (arg7 == NULL) SWIG_fail;
9613 temp7 = true;
d55e5bfc 9614 }
1bd55598
RD
9615 }
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 {
9623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9624 }
9625 {
9626 if (temp7)
9627 delete arg7;
9628 }
9629 return resultobj;
9630fail:
9631 {
9632 if (temp7)
9633 delete arg7;
9634 }
9635 return NULL;
d55e5bfc
RD
9636}
9637
9638
1bd55598
RD
9639SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9640 PyObject *resultobj = 0;
9641 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9642 wxWindow *result = 0 ;
9643 void *argp1 = 0 ;
9644 int res1 = 0 ;
9645 PyObject *swig_obj[1] ;
9646
9647 if (!args) SWIG_fail;
9648 swig_obj[0] = args;
9649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9650 if (!SWIG_IsOK(res1)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9652 }
9653 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 {
9661 resultobj = wxPyMake_wxObject(result, 0);
9662 }
9663 return resultobj;
9664fail:
9665 return NULL;
d55e5bfc
RD
9666}
9667
9668
1bd55598
RD
9669SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9670 PyObject *resultobj = 0;
9671 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9672 wxWindow *result = 0 ;
9673 void *argp1 = 0 ;
9674 int res1 = 0 ;
9675 PyObject *swig_obj[1] ;
9676
9677 if (!args) SWIG_fail;
9678 swig_obj[0] = args;
9679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9680 if (!SWIG_IsOK(res1)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9682 }
9683 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) SWIG_fail;
9689 }
9690 {
9691 resultobj = wxPyMake_wxObject(result, 0);
9692 }
9693 return resultobj;
9694fail:
9695 return NULL;
9696}
9697
9698
9699SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9700 PyObject *resultobj = 0;
9701 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9702 int arg2 ;
9703 void *argp1 = 0 ;
9704 int res1 = 0 ;
9705 int val2 ;
9706 int ecode2 = 0 ;
9707 PyObject * obj0 = 0 ;
9708 PyObject * obj1 = 0 ;
9709 char * kwnames[] = {
9710 (char *) "self",(char *) "mode", NULL
9711 };
9712
9713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9715 if (!SWIG_IsOK(res1)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9717 }
9718 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9719 ecode2 = SWIG_AsVal_int(obj1, &val2);
9720 if (!SWIG_IsOK(ecode2)) {
9721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9722 }
9723 arg2 = static_cast< int >(val2);
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 (arg1)->SetSplitMode(arg2);
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 }
9730 resultobj = SWIG_Py_Void();
9731 return resultobj;
9732fail:
9733 return NULL;
d55e5bfc
RD
9734}
9735
9736
1bd55598
RD
9737SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9738 PyObject *resultobj = 0;
9739 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9740 wxSplitMode result;
9741 void *argp1 = 0 ;
9742 int res1 = 0 ;
9743 PyObject *swig_obj[1] ;
9744
9745 if (!args) SWIG_fail;
9746 swig_obj[0] = args;
9747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9748 if (!SWIG_IsOK(res1)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9750 }
9751 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 resultobj = SWIG_From_int(static_cast< int >(result));
9759 return resultobj;
9760fail:
9761 return NULL;
9762}
9763
9764
9765SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj = 0;
9767 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9768 wxWindow *arg2 = (wxWindow *) 0 ;
9769 void *argp1 = 0 ;
9770 int res1 = 0 ;
9771 void *argp2 = 0 ;
9772 int res2 = 0 ;
9773 PyObject * obj0 = 0 ;
9774 PyObject * obj1 = 0 ;
9775 char * kwnames[] = {
9776 (char *) "self",(char *) "window", NULL
9777 };
9778
9779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9781 if (!SWIG_IsOK(res1)) {
9782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9783 }
9784 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9785 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9786 if (!SWIG_IsOK(res2)) {
9787 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9788 }
9789 arg2 = reinterpret_cast< wxWindow * >(argp2);
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 (arg1)->Initialize(arg2);
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 resultobj = SWIG_Py_Void();
9797 return resultobj;
9798fail:
9799 return NULL;
9800}
9801
9802
9803SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj = 0;
9805 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9806 wxWindow *arg2 = (wxWindow *) 0 ;
9807 wxWindow *arg3 = (wxWindow *) 0 ;
9808 int arg4 = (int) 0 ;
9809 bool result;
9810 void *argp1 = 0 ;
9811 int res1 = 0 ;
9812 void *argp2 = 0 ;
9813 int res2 = 0 ;
9814 void *argp3 = 0 ;
9815 int res3 = 0 ;
9816 int val4 ;
9817 int ecode4 = 0 ;
9818 PyObject * obj0 = 0 ;
9819 PyObject * obj1 = 0 ;
9820 PyObject * obj2 = 0 ;
9821 PyObject * obj3 = 0 ;
9822 char * kwnames[] = {
9823 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9824 };
9825
9826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9828 if (!SWIG_IsOK(res1)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9830 }
9831 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9832 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9833 if (!SWIG_IsOK(res2)) {
9834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9835 }
9836 arg2 = reinterpret_cast< wxWindow * >(argp2);
9837 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9838 if (!SWIG_IsOK(res3)) {
9839 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9840 }
9841 arg3 = reinterpret_cast< wxWindow * >(argp3);
9842 if (obj3) {
9843 ecode4 = SWIG_AsVal_int(obj3, &val4);
9844 if (!SWIG_IsOK(ecode4)) {
9845 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9846 }
9847 arg4 = static_cast< int >(val4);
9848 }
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 {
9856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9857 }
9858 return resultobj;
9859fail:
9860 return NULL;
9861}
9862
9863
9864SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj = 0;
9866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9867 wxWindow *arg2 = (wxWindow *) 0 ;
9868 wxWindow *arg3 = (wxWindow *) 0 ;
9869 int arg4 = (int) 0 ;
9870 bool result;
9871 void *argp1 = 0 ;
9872 int res1 = 0 ;
9873 void *argp2 = 0 ;
9874 int res2 = 0 ;
9875 void *argp3 = 0 ;
9876 int res3 = 0 ;
9877 int val4 ;
9878 int ecode4 = 0 ;
9879 PyObject * obj0 = 0 ;
9880 PyObject * obj1 = 0 ;
9881 PyObject * obj2 = 0 ;
9882 PyObject * obj3 = 0 ;
9883 char * kwnames[] = {
9884 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9885 };
9886
9887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9889 if (!SWIG_IsOK(res1)) {
9890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9891 }
9892 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9893 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9894 if (!SWIG_IsOK(res2)) {
9895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9896 }
9897 arg2 = reinterpret_cast< wxWindow * >(argp2);
9898 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9899 if (!SWIG_IsOK(res3)) {
9900 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9901 }
9902 arg3 = reinterpret_cast< wxWindow * >(argp3);
9903 if (obj3) {
9904 ecode4 = SWIG_AsVal_int(obj3, &val4);
9905 if (!SWIG_IsOK(ecode4)) {
9906 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9907 }
9908 arg4 = static_cast< int >(val4);
9909 }
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 {
9917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9918 }
9919 return resultobj;
9920fail:
9921 return NULL;
9922}
9923
9924
9925SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj = 0;
9927 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9928 wxWindow *arg2 = (wxWindow *) NULL ;
9929 bool result;
9930 void *argp1 = 0 ;
9931 int res1 = 0 ;
9932 void *argp2 = 0 ;
9933 int res2 = 0 ;
9934 PyObject * obj0 = 0 ;
9935 PyObject * obj1 = 0 ;
9936 char * kwnames[] = {
9937 (char *) "self",(char *) "toRemove", NULL
9938 };
9939
9940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9942 if (!SWIG_IsOK(res1)) {
9943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9944 }
9945 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9946 if (obj1) {
9947 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9948 if (!SWIG_IsOK(res2)) {
9949 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
f20a2e1f 9950 }
1bd55598
RD
9951 arg2 = reinterpret_cast< wxWindow * >(argp2);
9952 }
9953 {
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
9955 result = (bool)(arg1)->Unsplit(arg2);
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 {
9960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9961 }
9962 return resultobj;
9963fail:
9964 return NULL;
9965}
9966
9967
9968SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9969 PyObject *resultobj = 0;
9970 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9971 wxWindow *arg2 = (wxWindow *) 0 ;
9972 wxWindow *arg3 = (wxWindow *) 0 ;
9973 bool result;
9974 void *argp1 = 0 ;
9975 int res1 = 0 ;
9976 void *argp2 = 0 ;
9977 int res2 = 0 ;
9978 void *argp3 = 0 ;
9979 int res3 = 0 ;
9980 PyObject * obj0 = 0 ;
9981 PyObject * obj1 = 0 ;
9982 PyObject * obj2 = 0 ;
9983 char * kwnames[] = {
9984 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9985 };
9986
9987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9989 if (!SWIG_IsOK(res1)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9991 }
9992 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9993 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9994 if (!SWIG_IsOK(res2)) {
9995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9996 }
9997 arg2 = reinterpret_cast< wxWindow * >(argp2);
9998 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9999 if (!SWIG_IsOK(res3)) {
10000 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10001 }
10002 arg3 = reinterpret_cast< wxWindow * >(argp3);
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 {
10010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10011 }
10012 return resultobj;
10013fail:
10014 return NULL;
f20a2e1f
RD
10015}
10016
10017
1bd55598
RD
10018SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10019 PyObject *resultobj = 0;
10020 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10021 void *argp1 = 0 ;
10022 int res1 = 0 ;
10023 PyObject *swig_obj[1] ;
10024
10025 if (!args) SWIG_fail;
10026 swig_obj[0] = args;
10027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10028 if (!SWIG_IsOK(res1)) {
10029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 }
10031 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 (arg1)->UpdateSize();
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 resultobj = SWIG_Py_Void();
10039 return resultobj;
10040fail:
10041 return NULL;
d55e5bfc
RD
10042}
10043
10044
1bd55598
RD
10045SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10046 PyObject *resultobj = 0;
10047 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10048 bool result;
10049 void *argp1 = 0 ;
10050 int res1 = 0 ;
10051 PyObject *swig_obj[1] ;
10052
10053 if (!args) SWIG_fail;
10054 swig_obj[0] = args;
10055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10056 if (!SWIG_IsOK(res1)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10058 }
10059 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 {
10067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10068 }
10069 return resultobj;
10070fail:
10071 return NULL;
10072}
10073
10074
10075SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj = 0;
10077 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10078 int arg2 ;
10079 void *argp1 = 0 ;
10080 int res1 = 0 ;
10081 int val2 ;
10082 int ecode2 = 0 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char * kwnames[] = {
10086 (char *) "self",(char *) "width", NULL
10087 };
10088
10089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10091 if (!SWIG_IsOK(res1)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10093 }
10094 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10095 ecode2 = SWIG_AsVal_int(obj1, &val2);
10096 if (!SWIG_IsOK(ecode2)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10098 }
10099 arg2 = static_cast< int >(val2);
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 (arg1)->SetSashSize(arg2);
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_Py_Void();
10107 return resultobj;
10108fail:
10109 return NULL;
10110}
10111
10112
10113SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj = 0;
10115 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10116 int arg2 ;
10117 void *argp1 = 0 ;
10118 int res1 = 0 ;
10119 int val2 ;
10120 int ecode2 = 0 ;
10121 PyObject * obj0 = 0 ;
10122 PyObject * obj1 = 0 ;
10123 char * kwnames[] = {
10124 (char *) "self",(char *) "width", NULL
10125 };
10126
10127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10129 if (!SWIG_IsOK(res1)) {
10130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10131 }
10132 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10133 ecode2 = SWIG_AsVal_int(obj1, &val2);
10134 if (!SWIG_IsOK(ecode2)) {
10135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10136 }
10137 arg2 = static_cast< int >(val2);
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 (arg1)->SetBorderSize(arg2);
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 resultobj = SWIG_Py_Void();
10145 return resultobj;
10146fail:
10147 return NULL;
d55e5bfc
RD
10148}
10149
10150
1bd55598
RD
10151SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10152 PyObject *resultobj = 0;
10153 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10154 int result;
10155 void *argp1 = 0 ;
10156 int res1 = 0 ;
10157 PyObject *swig_obj[1] ;
10158
10159 if (!args) SWIG_fail;
10160 swig_obj[0] = args;
10161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10162 if (!SWIG_IsOK(res1)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10164 }
10165 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = SWIG_From_int(static_cast< int >(result));
10173 return resultobj;
10174fail:
10175 return NULL;
d55e5bfc
RD
10176}
10177
10178
1bd55598
RD
10179SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10180 PyObject *resultobj = 0;
10181 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10182 int result;
10183 void *argp1 = 0 ;
10184 int res1 = 0 ;
10185 PyObject *swig_obj[1] ;
10186
10187 if (!args) SWIG_fail;
10188 swig_obj[0] = args;
10189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10190 if (!SWIG_IsOK(res1)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10192 }
10193 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 resultobj = SWIG_From_int(static_cast< int >(result));
10201 return resultobj;
10202fail:
10203 return NULL;
10204}
10205
10206
10207SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj = 0;
10209 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10210 int arg2 ;
10211 bool arg3 = (bool) true ;
10212 void *argp1 = 0 ;
10213 int res1 = 0 ;
10214 int val2 ;
10215 int ecode2 = 0 ;
10216 bool val3 ;
10217 int ecode3 = 0 ;
10218 PyObject * obj0 = 0 ;
10219 PyObject * obj1 = 0 ;
10220 PyObject * obj2 = 0 ;
10221 char * kwnames[] = {
10222 (char *) "self",(char *) "position",(char *) "redraw", NULL
10223 };
10224
10225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10227 if (!SWIG_IsOK(res1)) {
10228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10229 }
10230 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10231 ecode2 = SWIG_AsVal_int(obj1, &val2);
10232 if (!SWIG_IsOK(ecode2)) {
10233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10234 }
10235 arg2 = static_cast< int >(val2);
10236 if (obj2) {
10237 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10238 if (!SWIG_IsOK(ecode3)) {
10239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10240 }
10241 arg3 = static_cast< bool >(val3);
10242 }
10243 {
10244 PyThreadState* __tstate = wxPyBeginAllowThreads();
10245 (arg1)->SetSashPosition(arg2,arg3);
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 resultobj = SWIG_Py_Void();
10250 return resultobj;
10251fail:
10252 return NULL;
d55e5bfc
RD
10253}
10254
10255
1bd55598
RD
10256SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10257 PyObject *resultobj = 0;
10258 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10259 int result;
10260 void *argp1 = 0 ;
10261 int res1 = 0 ;
10262 PyObject *swig_obj[1] ;
10263
10264 if (!args) SWIG_fail;
10265 swig_obj[0] = args;
10266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10267 if (!SWIG_IsOK(res1)) {
10268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10269 }
10270 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 resultobj = SWIG_From_int(static_cast< int >(result));
10278 return resultobj;
10279fail:
10280 return NULL;
10281}
10282
10283
10284SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10285 PyObject *resultobj = 0;
10286 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10287 double arg2 ;
10288 void *argp1 = 0 ;
10289 int res1 = 0 ;
10290 double val2 ;
10291 int ecode2 = 0 ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 char * kwnames[] = {
10295 (char *) "self",(char *) "gravity", NULL
10296 };
10297
10298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10300 if (!SWIG_IsOK(res1)) {
10301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10302 }
10303 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10304 ecode2 = SWIG_AsVal_double(obj1, &val2);
10305 if (!SWIG_IsOK(ecode2)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10307 }
10308 arg2 = static_cast< double >(val2);
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 (arg1)->SetSashGravity(arg2);
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 resultobj = SWIG_Py_Void();
10316 return resultobj;
10317fail:
10318 return NULL;
d55e5bfc
RD
10319}
10320
10321
1bd55598
RD
10322SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10323 PyObject *resultobj = 0;
10324 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10325 double result;
10326 void *argp1 = 0 ;
10327 int res1 = 0 ;
10328 PyObject *swig_obj[1] ;
10329
10330 if (!args) SWIG_fail;
10331 swig_obj[0] = args;
10332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10333 if (!SWIG_IsOK(res1)) {
10334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10335 }
10336 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 resultobj = SWIG_From_double(static_cast< double >(result));
10344 return resultobj;
10345fail:
10346 return NULL;
10347}
10348
10349
10350SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj = 0;
10352 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10353 int arg2 ;
10354 void *argp1 = 0 ;
10355 int res1 = 0 ;
10356 int val2 ;
10357 int ecode2 = 0 ;
10358 PyObject * obj0 = 0 ;
10359 PyObject * obj1 = 0 ;
10360 char * kwnames[] = {
10361 (char *) "self",(char *) "min", NULL
10362 };
10363
10364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10366 if (!SWIG_IsOK(res1)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10368 }
10369 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10370 ecode2 = SWIG_AsVal_int(obj1, &val2);
10371 if (!SWIG_IsOK(ecode2)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10373 }
10374 arg2 = static_cast< int >(val2);
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 (arg1)->SetMinimumPaneSize(arg2);
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 resultobj = SWIG_Py_Void();
10382 return resultobj;
10383fail:
10384 return NULL;
b1fcee84
RD
10385}
10386
10387
1bd55598
RD
10388SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10389 PyObject *resultobj = 0;
10390 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10391 int result;
10392 void *argp1 = 0 ;
10393 int res1 = 0 ;
10394 PyObject *swig_obj[1] ;
10395
10396 if (!args) SWIG_fail;
10397 swig_obj[0] = args;
10398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10399 if (!SWIG_IsOK(res1)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10401 }
10402 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 resultobj = SWIG_From_int(static_cast< int >(result));
10410 return resultobj;
10411fail:
10412 return NULL;
10413}
10414
10415
10416SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10417 PyObject *resultobj = 0;
10418 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10419 int arg2 ;
10420 int arg3 ;
10421 int arg4 = (int) 5 ;
10422 bool result;
10423 void *argp1 = 0 ;
10424 int res1 = 0 ;
10425 int val2 ;
10426 int ecode2 = 0 ;
10427 int val3 ;
10428 int ecode3 = 0 ;
10429 int val4 ;
10430 int ecode4 = 0 ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 PyObject * obj2 = 0 ;
10434 PyObject * obj3 = 0 ;
10435 char * kwnames[] = {
10436 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10437 };
10438
10439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10441 if (!SWIG_IsOK(res1)) {
10442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10443 }
10444 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10445 ecode2 = SWIG_AsVal_int(obj1, &val2);
10446 if (!SWIG_IsOK(ecode2)) {
10447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10448 }
10449 arg2 = static_cast< int >(val2);
10450 ecode3 = SWIG_AsVal_int(obj2, &val3);
10451 if (!SWIG_IsOK(ecode3)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10453 }
10454 arg3 = static_cast< int >(val3);
10455 if (obj3) {
10456 ecode4 = SWIG_AsVal_int(obj3, &val4);
10457 if (!SWIG_IsOK(ecode4)) {
10458 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10459 }
10460 arg4 = static_cast< int >(val4);
10461 }
10462 {
10463 PyThreadState* __tstate = wxPyBeginAllowThreads();
10464 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 {
10469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10470 }
10471 return resultobj;
10472fail:
10473 return NULL;
b1fcee84
RD
10474}
10475
10476
1bd55598
RD
10477SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10478 PyObject *resultobj = 0;
10479 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10480 void *argp1 = 0 ;
10481 int res1 = 0 ;
10482 PyObject *swig_obj[1] ;
10483
10484 if (!args) SWIG_fail;
10485 swig_obj[0] = args;
10486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10487 if (!SWIG_IsOK(res1)) {
10488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10489 }
10490 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 (arg1)->SizeWindows();
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 resultobj = SWIG_Py_Void();
10498 return resultobj;
10499fail:
10500 return NULL;
10501}
10502
10503
10504SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10505 PyObject *resultobj = 0;
10506 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10507 bool arg2 ;
10508 void *argp1 = 0 ;
10509 int res1 = 0 ;
10510 bool val2 ;
10511 int ecode2 = 0 ;
10512 PyObject * obj0 = 0 ;
10513 PyObject * obj1 = 0 ;
10514 char * kwnames[] = {
10515 (char *) "self",(char *) "needUpdating", NULL
10516 };
10517
10518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10520 if (!SWIG_IsOK(res1)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10522 }
10523 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10524 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10525 if (!SWIG_IsOK(ecode2)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10527 }
10528 arg2 = static_cast< bool >(val2);
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 (arg1)->SetNeedUpdating(arg2);
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 resultobj = SWIG_Py_Void();
10536 return resultobj;
10537fail:
10538 return NULL;
b1fcee84
RD
10539}
10540
10541
1bd55598
RD
10542SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10543 PyObject *resultobj = 0;
10544 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10545 bool result;
10546 void *argp1 = 0 ;
10547 int res1 = 0 ;
10548 PyObject *swig_obj[1] ;
10549
10550 if (!args) SWIG_fail;
10551 swig_obj[0] = args;
10552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10553 if (!SWIG_IsOK(res1)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10555 }
10556 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 {
10564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10565 }
10566 return resultobj;
10567fail:
10568 return NULL;
b1fcee84
RD
10569}
10570
10571
1bd55598
RD
10572SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj = 0;
10574 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10575 SwigValueWrapper<wxVisualAttributes > result;
10576 int val1 ;
10577 int ecode1 = 0 ;
10578 PyObject * obj0 = 0 ;
10579 char * kwnames[] = {
10580 (char *) "variant", NULL
10581 };
10582
10583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10584 if (obj0) {
10585 ecode1 = SWIG_AsVal_int(obj0, &val1);
10586 if (!SWIG_IsOK(ecode1)) {
10587 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10588 }
10589 arg1 = static_cast< wxWindowVariant >(val1);
10590 }
10591 {
10592 if (!wxPyCheckForApp()) SWIG_fail;
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10595 wxPyEndAllowThreads(__tstate);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10599 return resultobj;
10600fail:
10601 return NULL;
d55e5bfc
RD
10602}
10603
10604
1bd55598
RD
10605SWIGINTERN PyObject *SplitterWindow_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_wxSplitterWindow, SWIG_NewClientData(obj));
10609 return SWIG_Py_Void();
d55e5bfc
RD
10610}
10611
1bd55598
RD
10612SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10613 return SWIG_Python_InitShadowInstance(args);
62d32a5f
RD
10614}
10615
1bd55598
RD
10616SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10617 PyObject *resultobj = 0;
10618 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10619 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10620 wxSplitterEvent *result = 0 ;
10621 int val1 ;
10622 int ecode1 = 0 ;
10623 void *argp2 = 0 ;
10624 int res2 = 0 ;
10625 PyObject * obj0 = 0 ;
10626 PyObject * obj1 = 0 ;
10627 char * kwnames[] = {
10628 (char *) "type",(char *) "splitter", NULL
10629 };
10630
10631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10632 if (obj0) {
10633 ecode1 = SWIG_AsVal_int(obj0, &val1);
10634 if (!SWIG_IsOK(ecode1)) {
10635 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10636 }
10637 arg1 = static_cast< wxEventType >(val1);
10638 }
10639 if (obj1) {
10640 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10641 if (!SWIG_IsOK(res2)) {
10642 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
d55e5bfc 10643 }
1bd55598
RD
10644 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10645 }
10646 {
10647 PyThreadState* __tstate = wxPyBeginAllowThreads();
10648 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10653 return resultobj;
10654fail:
10655 return NULL;
10656}
10657
10658
10659SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj = 0;
10661 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10662 int arg2 ;
10663 void *argp1 = 0 ;
10664 int res1 = 0 ;
10665 int val2 ;
10666 int ecode2 = 0 ;
10667 PyObject * obj0 = 0 ;
10668 PyObject * obj1 = 0 ;
10669 char * kwnames[] = {
10670 (char *) "self",(char *) "pos", NULL
10671 };
10672
10673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10675 if (!SWIG_IsOK(res1)) {
10676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10677 }
10678 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10679 ecode2 = SWIG_AsVal_int(obj1, &val2);
10680 if (!SWIG_IsOK(ecode2)) {
10681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10682 }
10683 arg2 = static_cast< int >(val2);
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 (arg1)->SetSashPosition(arg2);
10687 wxPyEndAllowThreads(__tstate);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 resultobj = SWIG_Py_Void();
10691 return resultobj;
10692fail:
10693 return NULL;
d55e5bfc
RD
10694}
10695
10696
1bd55598
RD
10697SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10698 PyObject *resultobj = 0;
10699 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10700 int result;
10701 void *argp1 = 0 ;
10702 int res1 = 0 ;
10703 PyObject *swig_obj[1] ;
10704
10705 if (!args) SWIG_fail;
10706 swig_obj[0] = args;
10707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10708 if (!SWIG_IsOK(res1)) {
10709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10710 }
10711 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = SWIG_From_int(static_cast< int >(result));
10719 return resultobj;
10720fail:
10721 return NULL;
d55e5bfc
RD
10722}
10723
10724
1bd55598
RD
10725SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10726 PyObject *resultobj = 0;
10727 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10728 wxWindow *result = 0 ;
10729 void *argp1 = 0 ;
10730 int res1 = 0 ;
10731 PyObject *swig_obj[1] ;
10732
10733 if (!args) SWIG_fail;
10734 swig_obj[0] = args;
10735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10736 if (!SWIG_IsOK(res1)) {
10737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10738 }
10739 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 {
10747 resultobj = wxPyMake_wxObject(result, 0);
10748 }
10749 return resultobj;
10750fail:
10751 return NULL;
d55e5bfc
RD
10752}
10753
10754
1bd55598
RD
10755SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10756 PyObject *resultobj = 0;
10757 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10758 int result;
10759 void *argp1 = 0 ;
10760 int res1 = 0 ;
10761 PyObject *swig_obj[1] ;
10762
10763 if (!args) SWIG_fail;
10764 swig_obj[0] = args;
10765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10766 if (!SWIG_IsOK(res1)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10768 }
10769 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 resultobj = SWIG_From_int(static_cast< int >(result));
10777 return resultobj;
10778fail:
10779 return NULL;
f20a2e1f
RD
10780}
10781
10782
1bd55598
RD
10783SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10784 PyObject *resultobj = 0;
10785 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10786 int result;
10787 void *argp1 = 0 ;
10788 int res1 = 0 ;
10789 PyObject *swig_obj[1] ;
10790
10791 if (!args) SWIG_fail;
10792 swig_obj[0] = args;
10793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10794 if (!SWIG_IsOK(res1)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10796 }
10797 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 }
10804 resultobj = SWIG_From_int(static_cast< int >(result));
10805 return resultobj;
10806fail:
10807 return NULL;
d55e5bfc
RD
10808}
10809
10810
1bd55598
RD
10811SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10812 PyObject *obj;
10813 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10814 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10815 return SWIG_Py_Void();
d55e5bfc
RD
10816}
10817
1bd55598
RD
10818SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10819 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10820}
10821
1bd55598
RD
10822SWIGINTERN int SashNameStr_set(PyObject *) {
10823 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10824 return 1;
d55e5bfc
RD
10825}
10826
10827
1bd55598
RD
10828SWIGINTERN PyObject *SashNameStr_get(void) {
10829 PyObject *pyobj = 0;
10830
10831 {
10832#if wxUSE_UNICODE
10833 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10834#else
10835 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10836#endif
10837 }
10838 return pyobj;
d55e5bfc
RD
10839}
10840
10841
1bd55598
RD
10842SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10843 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10844 return 1;
d55e5bfc
RD
10845}
10846
10847
1bd55598
RD
10848SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10849 PyObject *pyobj = 0;
10850
10851 {
10852#if wxUSE_UNICODE
10853 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10854#else
10855 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10856#endif
10857 }
10858 return pyobj;
10859}
10860
10861
10862SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj = 0;
10864 wxWindow *arg1 = (wxWindow *) 0 ;
10865 int arg2 = (int) -1 ;
10866 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10867 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10868 wxSize const &arg4_defvalue = wxDefaultSize ;
10869 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10870 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10871 wxString const &arg6_defvalue = wxPySashNameStr ;
10872 wxString *arg6 = (wxString *) &arg6_defvalue ;
10873 wxSashWindow *result = 0 ;
10874 void *argp1 = 0 ;
10875 int res1 = 0 ;
10876 int val2 ;
10877 int ecode2 = 0 ;
10878 wxPoint temp3 ;
10879 wxSize temp4 ;
10880 long val5 ;
10881 int ecode5 = 0 ;
10882 bool temp6 = false ;
10883 PyObject * obj0 = 0 ;
10884 PyObject * obj1 = 0 ;
10885 PyObject * obj2 = 0 ;
10886 PyObject * obj3 = 0 ;
10887 PyObject * obj4 = 0 ;
10888 PyObject * obj5 = 0 ;
10889 char * kwnames[] = {
10890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10891 };
10892
10893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10895 if (!SWIG_IsOK(res1)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10897 }
10898 arg1 = reinterpret_cast< wxWindow * >(argp1);
10899 if (obj1) {
10900 ecode2 = SWIG_AsVal_int(obj1, &val2);
10901 if (!SWIG_IsOK(ecode2)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10903 }
10904 arg2 = static_cast< int >(val2);
10905 }
10906 if (obj2) {
36ed4f51 10907 {
1bd55598
RD
10908 arg3 = &temp3;
10909 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 10910 }
1bd55598
RD
10911 }
10912 if (obj3) {
36ed4f51 10913 {
1bd55598
RD
10914 arg4 = &temp4;
10915 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 10916 }
1bd55598
RD
10917 }
10918 if (obj4) {
10919 ecode5 = SWIG_AsVal_long(obj4, &val5);
10920 if (!SWIG_IsOK(ecode5)) {
10921 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10922 }
10923 arg5 = static_cast< long >(val5);
10924 }
10925 if (obj5) {
36ed4f51 10926 {
1bd55598
RD
10927 arg6 = wxString_in_helper(obj5);
10928 if (arg6 == NULL) SWIG_fail;
10929 temp6 = true;
d55e5bfc 10930 }
1bd55598
RD
10931 }
10932 {
10933 if (!wxPyCheckForApp()) SWIG_fail;
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
10939 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10940 {
10941 if (temp6)
10942 delete arg6;
10943 }
10944 return resultobj;
10945fail:
10946 {
10947 if (temp6)
10948 delete arg6;
10949 }
10950 return NULL;
d55e5bfc
RD
10951}
10952
10953
1bd55598
RD
10954SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10955 PyObject *resultobj = 0;
10956 wxSashWindow *result = 0 ;
10957
10958 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10959 {
10960 if (!wxPyCheckForApp()) SWIG_fail;
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 result = (wxSashWindow *)new wxSashWindow();
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10967 return resultobj;
10968fail:
10969 return NULL;
10970}
10971
10972
10973SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj = 0;
10975 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10976 wxWindow *arg2 = (wxWindow *) 0 ;
10977 int arg3 = (int) -1 ;
10978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10980 wxSize const &arg5_defvalue = wxDefaultSize ;
10981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10982 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10983 wxString const &arg7_defvalue = wxPySashNameStr ;
10984 wxString *arg7 = (wxString *) &arg7_defvalue ;
10985 bool result;
10986 void *argp1 = 0 ;
10987 int res1 = 0 ;
10988 void *argp2 = 0 ;
10989 int res2 = 0 ;
10990 int val3 ;
10991 int ecode3 = 0 ;
10992 wxPoint temp4 ;
10993 wxSize temp5 ;
10994 long val6 ;
10995 int ecode6 = 0 ;
10996 bool temp7 = false ;
10997 PyObject * obj0 = 0 ;
10998 PyObject * obj1 = 0 ;
10999 PyObject * obj2 = 0 ;
11000 PyObject * obj3 = 0 ;
11001 PyObject * obj4 = 0 ;
11002 PyObject * obj5 = 0 ;
11003 PyObject * obj6 = 0 ;
11004 char * kwnames[] = {
11005 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11006 };
11007
11008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11010 if (!SWIG_IsOK(res1)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11012 }
11013 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11014 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11015 if (!SWIG_IsOK(res2)) {
11016 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11017 }
11018 arg2 = reinterpret_cast< wxWindow * >(argp2);
11019 if (obj2) {
11020 ecode3 = SWIG_AsVal_int(obj2, &val3);
11021 if (!SWIG_IsOK(ecode3)) {
11022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11023 }
11024 arg3 = static_cast< int >(val3);
11025 }
11026 if (obj3) {
d55e5bfc 11027 {
1bd55598
RD
11028 arg4 = &temp4;
11029 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11030 }
1bd55598
RD
11031 }
11032 if (obj4) {
36ed4f51 11033 {
1bd55598
RD
11034 arg5 = &temp5;
11035 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 11036 }
1bd55598
RD
11037 }
11038 if (obj5) {
11039 ecode6 = SWIG_AsVal_long(obj5, &val6);
11040 if (!SWIG_IsOK(ecode6)) {
11041 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11042 }
11043 arg6 = static_cast< long >(val6);
11044 }
11045 if (obj6) {
d55e5bfc 11046 {
1bd55598
RD
11047 arg7 = wxString_in_helper(obj6);
11048 if (arg7 == NULL) SWIG_fail;
11049 temp7 = true;
36ed4f51 11050 }
1bd55598
RD
11051 }
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 {
11059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11060 }
11061 {
11062 if (temp7)
11063 delete arg7;
11064 }
11065 return resultobj;
11066fail:
11067 {
11068 if (temp7)
11069 delete arg7;
11070 }
11071 return NULL;
11072}
11073
11074
11075SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj = 0;
11077 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11078 wxSashEdgePosition arg2 ;
11079 bool arg3 ;
11080 void *argp1 = 0 ;
11081 int res1 = 0 ;
11082 int val2 ;
11083 int ecode2 = 0 ;
11084 bool val3 ;
11085 int ecode3 = 0 ;
11086 PyObject * obj0 = 0 ;
11087 PyObject * obj1 = 0 ;
11088 PyObject * obj2 = 0 ;
11089 char * kwnames[] = {
11090 (char *) "self",(char *) "edge",(char *) "sash", NULL
11091 };
11092
11093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11095 if (!SWIG_IsOK(res1)) {
11096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11097 }
11098 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11099 ecode2 = SWIG_AsVal_int(obj1, &val2);
11100 if (!SWIG_IsOK(ecode2)) {
11101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11102 }
11103 arg2 = static_cast< wxSashEdgePosition >(val2);
11104 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11105 if (!SWIG_IsOK(ecode3)) {
11106 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11107 }
11108 arg3 = static_cast< bool >(val3);
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 (arg1)->SetSashVisible(arg2,arg3);
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 resultobj = SWIG_Py_Void();
11116 return resultobj;
11117fail:
11118 return NULL;
11119}
11120
11121
11122SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11123 PyObject *resultobj = 0;
11124 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11125 wxSashEdgePosition arg2 ;
11126 bool result;
11127 void *argp1 = 0 ;
11128 int res1 = 0 ;
11129 int val2 ;
11130 int ecode2 = 0 ;
11131 PyObject * obj0 = 0 ;
11132 PyObject * obj1 = 0 ;
11133 char * kwnames[] = {
11134 (char *) "self",(char *) "edge", NULL
11135 };
11136
11137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11139 if (!SWIG_IsOK(res1)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11141 }
11142 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11143 ecode2 = SWIG_AsVal_int(obj1, &val2);
11144 if (!SWIG_IsOK(ecode2)) {
11145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11146 }
11147 arg2 = static_cast< wxSashEdgePosition >(val2);
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 {
11155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11156 }
11157 return resultobj;
11158fail:
11159 return NULL;
11160}
11161
11162
11163SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11164 PyObject *resultobj = 0;
11165 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11166 wxSashEdgePosition arg2 ;
11167 bool arg3 ;
11168 void *argp1 = 0 ;
11169 int res1 = 0 ;
11170 int val2 ;
11171 int ecode2 = 0 ;
11172 bool val3 ;
11173 int ecode3 = 0 ;
11174 PyObject * obj0 = 0 ;
11175 PyObject * obj1 = 0 ;
11176 PyObject * obj2 = 0 ;
11177 char * kwnames[] = {
11178 (char *) "self",(char *) "edge",(char *) "border", NULL
11179 };
11180
11181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11183 if (!SWIG_IsOK(res1)) {
11184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11185 }
11186 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11187 ecode2 = SWIG_AsVal_int(obj1, &val2);
11188 if (!SWIG_IsOK(ecode2)) {
11189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11190 }
11191 arg2 = static_cast< wxSashEdgePosition >(val2);
11192 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11193 if (!SWIG_IsOK(ecode3)) {
11194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11195 }
11196 arg3 = static_cast< bool >(val3);
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 (arg1)->SetSashBorder(arg2,arg3);
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 resultobj = SWIG_Py_Void();
11204 return resultobj;
11205fail:
11206 return NULL;
11207}
11208
11209
11210SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11211 PyObject *resultobj = 0;
11212 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11213 wxSashEdgePosition arg2 ;
11214 bool result;
11215 void *argp1 = 0 ;
11216 int res1 = 0 ;
11217 int val2 ;
11218 int ecode2 = 0 ;
11219 PyObject * obj0 = 0 ;
11220 PyObject * obj1 = 0 ;
11221 char * kwnames[] = {
11222 (char *) "self",(char *) "edge", NULL
11223 };
11224
11225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11227 if (!SWIG_IsOK(res1)) {
11228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11229 }
11230 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11231 ecode2 = SWIG_AsVal_int(obj1, &val2);
11232 if (!SWIG_IsOK(ecode2)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11234 }
11235 arg2 = static_cast< wxSashEdgePosition >(val2);
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 {
11243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11244 }
11245 return resultobj;
11246fail:
11247 return NULL;
11248}
11249
11250
11251SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj = 0;
11253 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11254 wxSashEdgePosition arg2 ;
11255 int result;
11256 void *argp1 = 0 ;
11257 int res1 = 0 ;
11258 int val2 ;
11259 int ecode2 = 0 ;
11260 PyObject * obj0 = 0 ;
11261 PyObject * obj1 = 0 ;
11262 char * kwnames[] = {
11263 (char *) "self",(char *) "edge", NULL
11264 };
11265
11266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11268 if (!SWIG_IsOK(res1)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11270 }
11271 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11272 ecode2 = SWIG_AsVal_int(obj1, &val2);
11273 if (!SWIG_IsOK(ecode2)) {
11274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11275 }
11276 arg2 = static_cast< wxSashEdgePosition >(val2);
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 resultobj = SWIG_From_int(static_cast< int >(result));
11284 return resultobj;
11285fail:
11286 return NULL;
11287}
11288
11289
11290SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj = 0;
11292 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11293 int arg2 ;
11294 void *argp1 = 0 ;
11295 int res1 = 0 ;
11296 int val2 ;
11297 int ecode2 = 0 ;
11298 PyObject * obj0 = 0 ;
11299 PyObject * obj1 = 0 ;
11300 char * kwnames[] = {
11301 (char *) "self",(char *) "width", NULL
11302 };
11303
11304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11306 if (!SWIG_IsOK(res1)) {
11307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11308 }
11309 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11310 ecode2 = SWIG_AsVal_int(obj1, &val2);
11311 if (!SWIG_IsOK(ecode2)) {
11312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11313 }
11314 arg2 = static_cast< int >(val2);
11315 {
11316 PyThreadState* __tstate = wxPyBeginAllowThreads();
11317 (arg1)->SetDefaultBorderSize(arg2);
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 resultobj = SWIG_Py_Void();
11322 return resultobj;
11323fail:
11324 return NULL;
d55e5bfc
RD
11325}
11326
11327
1bd55598
RD
11328SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11329 PyObject *resultobj = 0;
11330 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11331 int result;
11332 void *argp1 = 0 ;
11333 int res1 = 0 ;
11334 PyObject *swig_obj[1] ;
11335
11336 if (!args) SWIG_fail;
11337 swig_obj[0] = args;
11338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11339 if (!SWIG_IsOK(res1)) {
11340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11341 }
11342 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 resultobj = SWIG_From_int(static_cast< int >(result));
11350 return resultobj;
11351fail:
11352 return NULL;
11353}
11354
11355
11356SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj = 0;
11358 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11359 int arg2 ;
11360 void *argp1 = 0 ;
11361 int res1 = 0 ;
11362 int val2 ;
11363 int ecode2 = 0 ;
11364 PyObject * obj0 = 0 ;
11365 PyObject * obj1 = 0 ;
11366 char * kwnames[] = {
11367 (char *) "self",(char *) "width", NULL
11368 };
11369
11370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11372 if (!SWIG_IsOK(res1)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11374 }
11375 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11376 ecode2 = SWIG_AsVal_int(obj1, &val2);
11377 if (!SWIG_IsOK(ecode2)) {
11378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11379 }
11380 arg2 = static_cast< int >(val2);
11381 {
11382 PyThreadState* __tstate = wxPyBeginAllowThreads();
11383 (arg1)->SetExtraBorderSize(arg2);
11384 wxPyEndAllowThreads(__tstate);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 resultobj = SWIG_Py_Void();
11388 return resultobj;
11389fail:
11390 return NULL;
d55e5bfc
RD
11391}
11392
11393
1bd55598
RD
11394SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11395 PyObject *resultobj = 0;
11396 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11397 int result;
11398 void *argp1 = 0 ;
11399 int res1 = 0 ;
11400 PyObject *swig_obj[1] ;
11401
11402 if (!args) SWIG_fail;
11403 swig_obj[0] = args;
11404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11405 if (!SWIG_IsOK(res1)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11407 }
11408 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11412 wxPyEndAllowThreads(__tstate);
11413 if (PyErr_Occurred()) SWIG_fail;
11414 }
11415 resultobj = SWIG_From_int(static_cast< int >(result));
11416 return resultobj;
11417fail:
11418 return NULL;
11419}
11420
11421
11422SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11423 PyObject *resultobj = 0;
11424 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11425 int arg2 ;
11426 void *argp1 = 0 ;
11427 int res1 = 0 ;
11428 int val2 ;
11429 int ecode2 = 0 ;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 char * kwnames[] = {
11433 (char *) "self",(char *) "min", NULL
11434 };
11435
11436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11438 if (!SWIG_IsOK(res1)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11440 }
11441 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11442 ecode2 = SWIG_AsVal_int(obj1, &val2);
11443 if (!SWIG_IsOK(ecode2)) {
11444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11445 }
11446 arg2 = static_cast< int >(val2);
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 (arg1)->SetMinimumSizeX(arg2);
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 resultobj = SWIG_Py_Void();
11454 return resultobj;
11455fail:
11456 return NULL;
11457}
11458
11459
11460SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj = 0;
11462 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11463 int arg2 ;
11464 void *argp1 = 0 ;
11465 int res1 = 0 ;
11466 int val2 ;
11467 int ecode2 = 0 ;
11468 PyObject * obj0 = 0 ;
11469 PyObject * obj1 = 0 ;
11470 char * kwnames[] = {
11471 (char *) "self",(char *) "min", NULL
11472 };
11473
11474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11476 if (!SWIG_IsOK(res1)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11478 }
11479 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11480 ecode2 = SWIG_AsVal_int(obj1, &val2);
11481 if (!SWIG_IsOK(ecode2)) {
11482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11483 }
11484 arg2 = static_cast< int >(val2);
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->SetMinimumSizeY(arg2);
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 resultobj = SWIG_Py_Void();
11492 return resultobj;
11493fail:
11494 return NULL;
d55e5bfc
RD
11495}
11496
11497
1bd55598
RD
11498SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11499 PyObject *resultobj = 0;
11500 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11501 int result;
11502 void *argp1 = 0 ;
11503 int res1 = 0 ;
11504 PyObject *swig_obj[1] ;
11505
11506 if (!args) SWIG_fail;
11507 swig_obj[0] = args;
11508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11509 if (!SWIG_IsOK(res1)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11511 }
11512 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11513 {
11514 PyThreadState* __tstate = wxPyBeginAllowThreads();
11515 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11516 wxPyEndAllowThreads(__tstate);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
11519 resultobj = SWIG_From_int(static_cast< int >(result));
11520 return resultobj;
11521fail:
11522 return NULL;
d55e5bfc
RD
11523}
11524
11525
1bd55598
RD
11526SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11527 PyObject *resultobj = 0;
11528 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11529 int result;
11530 void *argp1 = 0 ;
11531 int res1 = 0 ;
11532 PyObject *swig_obj[1] ;
11533
11534 if (!args) SWIG_fail;
11535 swig_obj[0] = args;
11536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11537 if (!SWIG_IsOK(res1)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11539 }
11540 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11544 wxPyEndAllowThreads(__tstate);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 }
11547 resultobj = SWIG_From_int(static_cast< int >(result));
11548 return resultobj;
11549fail:
11550 return NULL;
11551}
11552
11553
11554SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11555 PyObject *resultobj = 0;
11556 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11557 int arg2 ;
11558 void *argp1 = 0 ;
11559 int res1 = 0 ;
11560 int val2 ;
11561 int ecode2 = 0 ;
11562 PyObject * obj0 = 0 ;
11563 PyObject * obj1 = 0 ;
11564 char * kwnames[] = {
11565 (char *) "self",(char *) "max", NULL
11566 };
11567
11568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11570 if (!SWIG_IsOK(res1)) {
11571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11572 }
11573 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11574 ecode2 = SWIG_AsVal_int(obj1, &val2);
11575 if (!SWIG_IsOK(ecode2)) {
11576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11577 }
11578 arg2 = static_cast< int >(val2);
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 (arg1)->SetMaximumSizeX(arg2);
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
11585 resultobj = SWIG_Py_Void();
11586 return resultobj;
11587fail:
11588 return NULL;
11589}
11590
11591
11592SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11593 PyObject *resultobj = 0;
11594 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11595 int arg2 ;
11596 void *argp1 = 0 ;
11597 int res1 = 0 ;
11598 int val2 ;
11599 int ecode2 = 0 ;
11600 PyObject * obj0 = 0 ;
11601 PyObject * obj1 = 0 ;
11602 char * kwnames[] = {
11603 (char *) "self",(char *) "max", NULL
11604 };
11605
11606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11608 if (!SWIG_IsOK(res1)) {
11609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11610 }
11611 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11612 ecode2 = SWIG_AsVal_int(obj1, &val2);
11613 if (!SWIG_IsOK(ecode2)) {
11614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11615 }
11616 arg2 = static_cast< int >(val2);
11617 {
11618 PyThreadState* __tstate = wxPyBeginAllowThreads();
11619 (arg1)->SetMaximumSizeY(arg2);
11620 wxPyEndAllowThreads(__tstate);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 }
11623 resultobj = SWIG_Py_Void();
11624 return resultobj;
11625fail:
11626 return NULL;
d55e5bfc
RD
11627}
11628
11629
1bd55598
RD
11630SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11631 PyObject *resultobj = 0;
11632 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11633 int result;
11634 void *argp1 = 0 ;
11635 int res1 = 0 ;
11636 PyObject *swig_obj[1] ;
11637
11638 if (!args) SWIG_fail;
11639 swig_obj[0] = args;
11640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11641 if (!SWIG_IsOK(res1)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11643 }
11644 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 }
11651 resultobj = SWIG_From_int(static_cast< int >(result));
11652 return resultobj;
11653fail:
11654 return NULL;
d55e5bfc
RD
11655}
11656
11657
1bd55598
RD
11658SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11659 PyObject *resultobj = 0;
11660 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11661 int 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_wxSashWindow, 0 | 0 );
11669 if (!SWIG_IsOK(res1)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11671 }
11672 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
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_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11687 PyObject *resultobj = 0;
11688 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11689 int arg2 ;
11690 int arg3 ;
11691 int arg4 = (int) 2 ;
11692 wxSashEdgePosition result;
11693 void *argp1 = 0 ;
11694 int res1 = 0 ;
11695 int val2 ;
11696 int ecode2 = 0 ;
11697 int val3 ;
11698 int ecode3 = 0 ;
11699 int val4 ;
11700 int ecode4 = 0 ;
11701 PyObject * obj0 = 0 ;
11702 PyObject * obj1 = 0 ;
11703 PyObject * obj2 = 0 ;
11704 PyObject * obj3 = 0 ;
11705 char * kwnames[] = {
11706 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11707 };
11708
11709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11711 if (!SWIG_IsOK(res1)) {
11712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11713 }
11714 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11715 ecode2 = SWIG_AsVal_int(obj1, &val2);
11716 if (!SWIG_IsOK(ecode2)) {
11717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11718 }
11719 arg2 = static_cast< int >(val2);
11720 ecode3 = SWIG_AsVal_int(obj2, &val3);
11721 if (!SWIG_IsOK(ecode3)) {
11722 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11723 }
11724 arg3 = static_cast< int >(val3);
11725 if (obj3) {
11726 ecode4 = SWIG_AsVal_int(obj3, &val4);
11727 if (!SWIG_IsOK(ecode4)) {
11728 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11729 }
11730 arg4 = static_cast< int >(val4);
11731 }
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 resultobj = SWIG_From_int(static_cast< int >(result));
11739 return resultobj;
11740fail:
11741 return NULL;
d55e5bfc
RD
11742}
11743
11744
1bd55598
RD
11745SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11746 PyObject *resultobj = 0;
11747 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11748 void *argp1 = 0 ;
11749 int res1 = 0 ;
11750 PyObject *swig_obj[1] ;
11751
11752 if (!args) SWIG_fail;
11753 swig_obj[0] = args;
11754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11755 if (!SWIG_IsOK(res1)) {
11756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11757 }
11758 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 (arg1)->SizeWindows();
11762 wxPyEndAllowThreads(__tstate);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
11765 resultobj = SWIG_Py_Void();
11766 return resultobj;
11767fail:
11768 return NULL;
d55e5bfc
RD
11769}
11770
11771
1bd55598
RD
11772SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11773 PyObject *obj;
11774 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11775 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11776 return SWIG_Py_Void();
d55e5bfc
RD
11777}
11778
1bd55598
RD
11779SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11780 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
11781}
11782
1bd55598
RD
11783SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj = 0;
11785 int arg1 = (int) 0 ;
11786 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11787 wxSashEvent *result = 0 ;
11788 int val1 ;
11789 int ecode1 = 0 ;
11790 int val2 ;
11791 int ecode2 = 0 ;
11792 PyObject * obj0 = 0 ;
11793 PyObject * obj1 = 0 ;
11794 char * kwnames[] = {
11795 (char *) "id",(char *) "edge", NULL
11796 };
11797
11798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11799 if (obj0) {
11800 ecode1 = SWIG_AsVal_int(obj0, &val1);
11801 if (!SWIG_IsOK(ecode1)) {
11802 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11803 }
11804 arg1 = static_cast< int >(val1);
11805 }
11806 if (obj1) {
11807 ecode2 = SWIG_AsVal_int(obj1, &val2);
11808 if (!SWIG_IsOK(ecode2)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11810 }
11811 arg2 = static_cast< wxSashEdgePosition >(val2);
11812 }
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11816 wxPyEndAllowThreads(__tstate);
11817 if (PyErr_Occurred()) SWIG_fail;
11818 }
11819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11820 return resultobj;
11821fail:
11822 return NULL;
11823}
11824
11825
11826SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11827 PyObject *resultobj = 0;
11828 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11829 wxSashEdgePosition arg2 ;
11830 void *argp1 = 0 ;
11831 int res1 = 0 ;
11832 int val2 ;
11833 int ecode2 = 0 ;
11834 PyObject * obj0 = 0 ;
11835 PyObject * obj1 = 0 ;
11836 char * kwnames[] = {
11837 (char *) "self",(char *) "edge", NULL
11838 };
11839
11840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11842 if (!SWIG_IsOK(res1)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11844 }
11845 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11846 ecode2 = SWIG_AsVal_int(obj1, &val2);
11847 if (!SWIG_IsOK(ecode2)) {
11848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11849 }
11850 arg2 = static_cast< wxSashEdgePosition >(val2);
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 (arg1)->SetEdge(arg2);
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 resultobj = SWIG_Py_Void();
11858 return resultobj;
11859fail:
11860 return NULL;
d55e5bfc
RD
11861}
11862
11863
1bd55598
RD
11864SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11865 PyObject *resultobj = 0;
11866 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11867 wxSashEdgePosition result;
11868 void *argp1 = 0 ;
11869 int res1 = 0 ;
11870 PyObject *swig_obj[1] ;
11871
11872 if (!args) SWIG_fail;
11873 swig_obj[0] = args;
11874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11875 if (!SWIG_IsOK(res1)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11877 }
11878 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
11881 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 resultobj = SWIG_From_int(static_cast< int >(result));
11886 return resultobj;
11887fail:
11888 return NULL;
11889}
11890
11891
11892SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11893 PyObject *resultobj = 0;
11894 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11895 wxRect *arg2 = 0 ;
11896 void *argp1 = 0 ;
11897 int res1 = 0 ;
11898 wxRect temp2 ;
11899 PyObject * obj0 = 0 ;
11900 PyObject * obj1 = 0 ;
11901 char * kwnames[] = {
11902 (char *) "self",(char *) "rect", NULL
11903 };
11904
11905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11907 if (!SWIG_IsOK(res1)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11909 }
11910 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11911 {
11912 arg2 = &temp2;
11913 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11914 }
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 (arg1)->SetDragRect((wxRect const &)*arg2);
11918 wxPyEndAllowThreads(__tstate);
11919 if (PyErr_Occurred()) SWIG_fail;
11920 }
11921 resultobj = SWIG_Py_Void();
11922 return resultobj;
11923fail:
11924 return NULL;
03837c5c
RD
11925}
11926
11927
1bd55598
RD
11928SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11929 PyObject *resultobj = 0;
11930 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11931 wxRect result;
11932 void *argp1 = 0 ;
11933 int res1 = 0 ;
11934 PyObject *swig_obj[1] ;
11935
11936 if (!args) SWIG_fail;
11937 swig_obj[0] = args;
11938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11939 if (!SWIG_IsOK(res1)) {
11940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11941 }
11942 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = ((wxSashEvent const *)arg1)->GetDragRect();
11946 wxPyEndAllowThreads(__tstate);
11947 if (PyErr_Occurred()) SWIG_fail;
11948 }
11949 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11950 return resultobj;
11951fail:
11952 return NULL;
11953}
11954
11955
11956SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11957 PyObject *resultobj = 0;
11958 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11959 wxSashDragStatus arg2 ;
11960 void *argp1 = 0 ;
11961 int res1 = 0 ;
11962 int val2 ;
11963 int ecode2 = 0 ;
11964 PyObject * obj0 = 0 ;
11965 PyObject * obj1 = 0 ;
11966 char * kwnames[] = {
11967 (char *) "self",(char *) "status", NULL
11968 };
11969
11970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11972 if (!SWIG_IsOK(res1)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11974 }
11975 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11976 ecode2 = SWIG_AsVal_int(obj1, &val2);
11977 if (!SWIG_IsOK(ecode2)) {
11978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11979 }
11980 arg2 = static_cast< wxSashDragStatus >(val2);
11981 {
11982 PyThreadState* __tstate = wxPyBeginAllowThreads();
11983 (arg1)->SetDragStatus(arg2);
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 resultobj = SWIG_Py_Void();
11988 return resultobj;
11989fail:
11990 return NULL;
d55e5bfc
RD
11991}
11992
11993
1bd55598
RD
11994SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11995 PyObject *resultobj = 0;
11996 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11997 wxSashDragStatus result;
11998 void *argp1 = 0 ;
11999 int res1 = 0 ;
12000 PyObject *swig_obj[1] ;
12001
12002 if (!args) SWIG_fail;
12003 swig_obj[0] = args;
12004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12005 if (!SWIG_IsOK(res1)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12007 }
12008 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 resultobj = SWIG_From_int(static_cast< int >(result));
12016 return resultobj;
12017fail:
12018 return NULL;
d55e5bfc
RD
12019}
12020
12021
1bd55598
RD
12022SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12023 PyObject *obj;
12024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12025 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12026 return SWIG_Py_Void();
d55e5bfc
RD
12027}
12028
1bd55598
RD
12029SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12030 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12031}
12032
1bd55598
RD
12033SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj = 0;
12035 int arg1 = (int) 0 ;
12036 wxQueryLayoutInfoEvent *result = 0 ;
12037 int val1 ;
12038 int ecode1 = 0 ;
12039 PyObject * obj0 = 0 ;
12040 char * kwnames[] = {
12041 (char *) "id", NULL
12042 };
12043
12044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12045 if (obj0) {
12046 ecode1 = SWIG_AsVal_int(obj0, &val1);
12047 if (!SWIG_IsOK(ecode1)) {
12048 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12049 }
12050 arg1 = static_cast< int >(val1);
12051 }
12052 {
12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
12054 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12055 wxPyEndAllowThreads(__tstate);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 }
12058 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12059 return resultobj;
12060fail:
12061 return NULL;
12062}
12063
12064
12065SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12066 PyObject *resultobj = 0;
12067 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12068 int arg2 ;
12069 void *argp1 = 0 ;
12070 int res1 = 0 ;
12071 int val2 ;
12072 int ecode2 = 0 ;
12073 PyObject * obj0 = 0 ;
12074 PyObject * obj1 = 0 ;
12075 char * kwnames[] = {
12076 (char *) "self",(char *) "length", NULL
12077 };
12078
12079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12081 if (!SWIG_IsOK(res1)) {
12082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12083 }
12084 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12085 ecode2 = SWIG_AsVal_int(obj1, &val2);
12086 if (!SWIG_IsOK(ecode2)) {
12087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12088 }
12089 arg2 = static_cast< int >(val2);
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 (arg1)->SetRequestedLength(arg2);
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 resultobj = SWIG_Py_Void();
12097 return resultobj;
12098fail:
12099 return NULL;
f20a2e1f
RD
12100}
12101
12102
1bd55598
RD
12103SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12104 PyObject *resultobj = 0;
12105 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12106 int result;
12107 void *argp1 = 0 ;
12108 int res1 = 0 ;
12109 PyObject *swig_obj[1] ;
12110
12111 if (!args) SWIG_fail;
12112 swig_obj[0] = args;
12113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12114 if (!SWIG_IsOK(res1)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12116 }
12117 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
12124 resultobj = SWIG_From_int(static_cast< int >(result));
12125 return resultobj;
12126fail:
12127 return NULL;
12128}
12129
12130
12131SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12132 PyObject *resultobj = 0;
12133 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12134 int arg2 ;
12135 void *argp1 = 0 ;
12136 int res1 = 0 ;
12137 int val2 ;
12138 int ecode2 = 0 ;
12139 PyObject * obj0 = 0 ;
12140 PyObject * obj1 = 0 ;
12141 char * kwnames[] = {
12142 (char *) "self",(char *) "flags", NULL
12143 };
12144
12145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12147 if (!SWIG_IsOK(res1)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12149 }
12150 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12151 ecode2 = SWIG_AsVal_int(obj1, &val2);
12152 if (!SWIG_IsOK(ecode2)) {
12153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12154 }
12155 arg2 = static_cast< int >(val2);
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 (arg1)->SetFlags(arg2);
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 resultobj = SWIG_Py_Void();
12163 return resultobj;
12164fail:
12165 return NULL;
d55e5bfc
RD
12166}
12167
12168
1bd55598
RD
12169SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12170 PyObject *resultobj = 0;
12171 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12172 int result;
12173 void *argp1 = 0 ;
12174 int res1 = 0 ;
12175 PyObject *swig_obj[1] ;
12176
12177 if (!args) SWIG_fail;
12178 swig_obj[0] = args;
12179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12180 if (!SWIG_IsOK(res1)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12182 }
12183 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 resultobj = SWIG_From_int(static_cast< int >(result));
12191 return resultobj;
12192fail:
12193 return NULL;
12194}
12195
12196
12197SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj = 0;
12199 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12200 wxSize *arg2 = 0 ;
12201 void *argp1 = 0 ;
12202 int res1 = 0 ;
12203 wxSize temp2 ;
12204 PyObject * obj0 = 0 ;
12205 PyObject * obj1 = 0 ;
12206 char * kwnames[] = {
12207 (char *) "self",(char *) "size", NULL
12208 };
12209
12210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12212 if (!SWIG_IsOK(res1)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12214 }
12215 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12216 {
12217 arg2 = &temp2;
12218 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12219 }
12220 {
12221 PyThreadState* __tstate = wxPyBeginAllowThreads();
12222 (arg1)->SetSize((wxSize const &)*arg2);
12223 wxPyEndAllowThreads(__tstate);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 }
12226 resultobj = SWIG_Py_Void();
12227 return resultobj;
12228fail:
12229 return NULL;
d55e5bfc
RD
12230}
12231
12232
1bd55598
RD
12233SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12234 PyObject *resultobj = 0;
12235 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12236 wxSize result;
12237 void *argp1 = 0 ;
12238 int res1 = 0 ;
12239 PyObject *swig_obj[1] ;
12240
12241 if (!args) SWIG_fail;
12242 swig_obj[0] = args;
12243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12244 if (!SWIG_IsOK(res1)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12246 }
12247 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12255 return resultobj;
12256fail:
12257 return NULL;
12258}
12259
12260
12261SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj = 0;
12263 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12264 wxLayoutOrientation arg2 ;
12265 void *argp1 = 0 ;
12266 int res1 = 0 ;
12267 int val2 ;
12268 int ecode2 = 0 ;
12269 PyObject * obj0 = 0 ;
12270 PyObject * obj1 = 0 ;
12271 char * kwnames[] = {
12272 (char *) "self",(char *) "orient", NULL
12273 };
12274
12275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12277 if (!SWIG_IsOK(res1)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12279 }
12280 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12281 ecode2 = SWIG_AsVal_int(obj1, &val2);
12282 if (!SWIG_IsOK(ecode2)) {
12283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12284 }
12285 arg2 = static_cast< wxLayoutOrientation >(val2);
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 (arg1)->SetOrientation(arg2);
12289 wxPyEndAllowThreads(__tstate);
12290 if (PyErr_Occurred()) SWIG_fail;
12291 }
12292 resultobj = SWIG_Py_Void();
12293 return resultobj;
12294fail:
12295 return NULL;
d55e5bfc
RD
12296}
12297
12298
1bd55598
RD
12299SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12300 PyObject *resultobj = 0;
12301 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12302 wxLayoutOrientation result;
12303 void *argp1 = 0 ;
12304 int res1 = 0 ;
12305 PyObject *swig_obj[1] ;
12306
12307 if (!args) SWIG_fail;
12308 swig_obj[0] = args;
12309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12310 if (!SWIG_IsOK(res1)) {
12311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12312 }
12313 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = SWIG_From_int(static_cast< int >(result));
12321 return resultobj;
12322fail:
12323 return NULL;
12324}
12325
12326
12327SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12328 PyObject *resultobj = 0;
12329 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12330 wxLayoutAlignment arg2 ;
12331 void *argp1 = 0 ;
12332 int res1 = 0 ;
12333 int val2 ;
12334 int ecode2 = 0 ;
12335 PyObject * obj0 = 0 ;
12336 PyObject * obj1 = 0 ;
12337 char * kwnames[] = {
12338 (char *) "self",(char *) "align", NULL
12339 };
12340
12341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12343 if (!SWIG_IsOK(res1)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12345 }
12346 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12347 ecode2 = SWIG_AsVal_int(obj1, &val2);
12348 if (!SWIG_IsOK(ecode2)) {
12349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12350 }
12351 arg2 = static_cast< wxLayoutAlignment >(val2);
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 (arg1)->SetAlignment(arg2);
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 resultobj = SWIG_Py_Void();
12359 return resultobj;
12360fail:
12361 return NULL;
d55e5bfc
RD
12362}
12363
12364
1bd55598
RD
12365SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12366 PyObject *resultobj = 0;
12367 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12368 wxLayoutAlignment result;
12369 void *argp1 = 0 ;
12370 int res1 = 0 ;
12371 PyObject *swig_obj[1] ;
12372
12373 if (!args) SWIG_fail;
12374 swig_obj[0] = args;
12375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12376 if (!SWIG_IsOK(res1)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12378 }
12379 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12380 {
12381 PyThreadState* __tstate = wxPyBeginAllowThreads();
12382 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 resultobj = SWIG_From_int(static_cast< int >(result));
12387 return resultobj;
12388fail:
12389 return NULL;
d55e5bfc
RD
12390}
12391
12392
1bd55598
RD
12393SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12394 PyObject *obj;
12395 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12396 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12397 return SWIG_Py_Void();
d55e5bfc
RD
12398}
12399
1bd55598
RD
12400SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12401 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12402}
12403
1bd55598
RD
12404SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12405 PyObject *resultobj = 0;
12406 int arg1 = (int) 0 ;
12407 wxCalculateLayoutEvent *result = 0 ;
12408 int val1 ;
12409 int ecode1 = 0 ;
12410 PyObject * obj0 = 0 ;
12411 char * kwnames[] = {
12412 (char *) "id", NULL
12413 };
12414
12415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12416 if (obj0) {
12417 ecode1 = SWIG_AsVal_int(obj0, &val1);
12418 if (!SWIG_IsOK(ecode1)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12420 }
12421 arg1 = static_cast< int >(val1);
12422 }
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12430 return resultobj;
12431fail:
12432 return NULL;
12433}
12434
12435
12436SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj = 0;
12438 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12439 int arg2 ;
12440 void *argp1 = 0 ;
12441 int res1 = 0 ;
12442 int val2 ;
12443 int ecode2 = 0 ;
12444 PyObject * obj0 = 0 ;
12445 PyObject * obj1 = 0 ;
12446 char * kwnames[] = {
12447 (char *) "self",(char *) "flags", NULL
12448 };
12449
12450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12452 if (!SWIG_IsOK(res1)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12454 }
12455 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12456 ecode2 = SWIG_AsVal_int(obj1, &val2);
12457 if (!SWIG_IsOK(ecode2)) {
12458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12459 }
12460 arg2 = static_cast< int >(val2);
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->SetFlags(arg2);
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = SWIG_Py_Void();
12468 return resultobj;
12469fail:
12470 return NULL;
d55e5bfc
RD
12471}
12472
12473
1bd55598
RD
12474SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12475 PyObject *resultobj = 0;
12476 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12477 int result;
12478 void *argp1 = 0 ;
12479 int res1 = 0 ;
12480 PyObject *swig_obj[1] ;
12481
12482 if (!args) SWIG_fail;
12483 swig_obj[0] = args;
12484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12485 if (!SWIG_IsOK(res1)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12487 }
12488 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
12495 resultobj = SWIG_From_int(static_cast< int >(result));
12496 return resultobj;
12497fail:
12498 return NULL;
12499}
12500
12501
12502SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12503 PyObject *resultobj = 0;
12504 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12505 wxRect *arg2 = 0 ;
12506 void *argp1 = 0 ;
12507 int res1 = 0 ;
12508 wxRect temp2 ;
12509 PyObject * obj0 = 0 ;
12510 PyObject * obj1 = 0 ;
12511 char * kwnames[] = {
12512 (char *) "self",(char *) "rect", NULL
12513 };
12514
12515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12517 if (!SWIG_IsOK(res1)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12519 }
12520 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12521 {
12522 arg2 = &temp2;
12523 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12524 }
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 (arg1)->SetRect((wxRect const &)*arg2);
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 resultobj = SWIG_Py_Void();
12532 return resultobj;
12533fail:
12534 return NULL;
d55e5bfc
RD
12535}
12536
12537
1bd55598
RD
12538SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12539 PyObject *resultobj = 0;
12540 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12541 wxRect result;
12542 void *argp1 = 0 ;
12543 int res1 = 0 ;
12544 PyObject *swig_obj[1] ;
12545
12546 if (!args) SWIG_fail;
12547 swig_obj[0] = args;
12548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12549 if (!SWIG_IsOK(res1)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12551 }
12552 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12560 return resultobj;
12561fail:
12562 return NULL;
12563}
12564
12565
12566SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12567 PyObject *obj;
12568 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12569 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12570 return SWIG_Py_Void();
12571}
12572
12573SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12574 return SWIG_Python_InitShadowInstance(args);
12575}
12576
12577SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12578 PyObject *resultobj = 0;
12579 wxWindow *arg1 = (wxWindow *) 0 ;
12580 int arg2 = (int) -1 ;
12581 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12582 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12583 wxSize const &arg4_defvalue = wxDefaultSize ;
12584 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12585 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12586 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12587 wxString *arg6 = (wxString *) &arg6_defvalue ;
12588 wxSashLayoutWindow *result = 0 ;
12589 void *argp1 = 0 ;
12590 int res1 = 0 ;
12591 int val2 ;
12592 int ecode2 = 0 ;
12593 wxPoint temp3 ;
12594 wxSize temp4 ;
12595 long val5 ;
12596 int ecode5 = 0 ;
12597 bool temp6 = false ;
12598 PyObject * obj0 = 0 ;
12599 PyObject * obj1 = 0 ;
12600 PyObject * obj2 = 0 ;
12601 PyObject * obj3 = 0 ;
12602 PyObject * obj4 = 0 ;
12603 PyObject * obj5 = 0 ;
12604 char * kwnames[] = {
12605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12606 };
12607
12608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12610 if (!SWIG_IsOK(res1)) {
12611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12612 }
12613 arg1 = reinterpret_cast< wxWindow * >(argp1);
12614 if (obj1) {
12615 ecode2 = SWIG_AsVal_int(obj1, &val2);
12616 if (!SWIG_IsOK(ecode2)) {
12617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12618 }
12619 arg2 = static_cast< int >(val2);
12620 }
12621 if (obj2) {
12622 {
12623 arg3 = &temp3;
12624 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12625 }
1bd55598
RD
12626 }
12627 if (obj3) {
d55e5bfc 12628 {
1bd55598
RD
12629 arg4 = &temp4;
12630 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12631 }
1bd55598
RD
12632 }
12633 if (obj4) {
12634 ecode5 = SWIG_AsVal_long(obj4, &val5);
12635 if (!SWIG_IsOK(ecode5)) {
12636 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12637 }
12638 arg5 = static_cast< long >(val5);
12639 }
12640 if (obj5) {
d55e5bfc 12641 {
1bd55598
RD
12642 arg6 = wxString_in_helper(obj5);
12643 if (arg6 == NULL) SWIG_fail;
12644 temp6 = true;
d55e5bfc 12645 }
1bd55598
RD
12646 }
12647 {
12648 if (!wxPyCheckForApp()) SWIG_fail;
12649 PyThreadState* __tstate = wxPyBeginAllowThreads();
12650 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12651 wxPyEndAllowThreads(__tstate);
12652 if (PyErr_Occurred()) SWIG_fail;
12653 }
12654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12655 {
12656 if (temp6)
12657 delete arg6;
12658 }
12659 return resultobj;
12660fail:
12661 {
12662 if (temp6)
12663 delete arg6;
12664 }
12665 return NULL;
d55e5bfc
RD
12666}
12667
12668
1bd55598
RD
12669SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12670 PyObject *resultobj = 0;
12671 wxSashLayoutWindow *result = 0 ;
12672
12673 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12674 {
12675 if (!wxPyCheckForApp()) SWIG_fail;
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12682 return resultobj;
12683fail:
12684 return NULL;
12685}
12686
12687
12688SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12689 PyObject *resultobj = 0;
12690 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12691 wxWindow *arg2 = (wxWindow *) 0 ;
12692 int arg3 = (int) -1 ;
12693 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12694 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12695 wxSize const &arg5_defvalue = wxDefaultSize ;
12696 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12697 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12698 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12699 wxString *arg7 = (wxString *) &arg7_defvalue ;
12700 bool result;
12701 void *argp1 = 0 ;
12702 int res1 = 0 ;
12703 void *argp2 = 0 ;
12704 int res2 = 0 ;
12705 int val3 ;
12706 int ecode3 = 0 ;
12707 wxPoint temp4 ;
12708 wxSize temp5 ;
12709 long val6 ;
12710 int ecode6 = 0 ;
12711 bool temp7 = false ;
12712 PyObject * obj0 = 0 ;
12713 PyObject * obj1 = 0 ;
12714 PyObject * obj2 = 0 ;
12715 PyObject * obj3 = 0 ;
12716 PyObject * obj4 = 0 ;
12717 PyObject * obj5 = 0 ;
12718 PyObject * obj6 = 0 ;
12719 char * kwnames[] = {
12720 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12721 };
12722
12723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12725 if (!SWIG_IsOK(res1)) {
12726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12727 }
12728 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12729 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12730 if (!SWIG_IsOK(res2)) {
12731 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12732 }
12733 arg2 = reinterpret_cast< wxWindow * >(argp2);
12734 if (obj2) {
12735 ecode3 = SWIG_AsVal_int(obj2, &val3);
12736 if (!SWIG_IsOK(ecode3)) {
12737 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12738 }
12739 arg3 = static_cast< int >(val3);
12740 }
12741 if (obj3) {
12742 {
12743 arg4 = &temp4;
12744 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12745 }
1bd55598
RD
12746 }
12747 if (obj4) {
d55e5bfc 12748 {
1bd55598
RD
12749 arg5 = &temp5;
12750 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12751 }
1bd55598
RD
12752 }
12753 if (obj5) {
12754 ecode6 = SWIG_AsVal_long(obj5, &val6);
12755 if (!SWIG_IsOK(ecode6)) {
12756 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12757 }
12758 arg6 = static_cast< long >(val6);
12759 }
12760 if (obj6) {
d55e5bfc 12761 {
1bd55598
RD
12762 arg7 = wxString_in_helper(obj6);
12763 if (arg7 == NULL) SWIG_fail;
12764 temp7 = true;
d55e5bfc 12765 }
1bd55598
RD
12766 }
12767 {
12768 PyThreadState* __tstate = wxPyBeginAllowThreads();
12769 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12770 wxPyEndAllowThreads(__tstate);
12771 if (PyErr_Occurred()) SWIG_fail;
12772 }
12773 {
12774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12775 }
12776 {
12777 if (temp7)
12778 delete arg7;
12779 }
12780 return resultobj;
12781fail:
12782 {
12783 if (temp7)
12784 delete arg7;
12785 }
12786 return NULL;
d55e5bfc
RD
12787}
12788
12789
1bd55598
RD
12790SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12791 PyObject *resultobj = 0;
12792 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12793 wxLayoutAlignment result;
12794 void *argp1 = 0 ;
12795 int res1 = 0 ;
12796 PyObject *swig_obj[1] ;
12797
12798 if (!args) SWIG_fail;
12799 swig_obj[0] = args;
12800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12801 if (!SWIG_IsOK(res1)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12803 }
12804 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
12807 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 resultobj = SWIG_From_int(static_cast< int >(result));
12812 return resultobj;
12813fail:
12814 return NULL;
d55e5bfc
RD
12815}
12816
12817
1bd55598
RD
12818SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12819 PyObject *resultobj = 0;
12820 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12821 wxLayoutOrientation result;
12822 void *argp1 = 0 ;
12823 int res1 = 0 ;
12824 PyObject *swig_obj[1] ;
12825
12826 if (!args) SWIG_fail;
12827 swig_obj[0] = args;
12828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12829 if (!SWIG_IsOK(res1)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12831 }
12832 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12833 {
12834 PyThreadState* __tstate = wxPyBeginAllowThreads();
12835 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12836 wxPyEndAllowThreads(__tstate);
12837 if (PyErr_Occurred()) SWIG_fail;
12838 }
12839 resultobj = SWIG_From_int(static_cast< int >(result));
12840 return resultobj;
12841fail:
12842 return NULL;
12843}
12844
12845
12846SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj = 0;
12848 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12849 wxLayoutAlignment arg2 ;
12850 void *argp1 = 0 ;
12851 int res1 = 0 ;
12852 int val2 ;
12853 int ecode2 = 0 ;
12854 PyObject * obj0 = 0 ;
12855 PyObject * obj1 = 0 ;
12856 char * kwnames[] = {
12857 (char *) "self",(char *) "alignment", NULL
12858 };
12859
12860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12862 if (!SWIG_IsOK(res1)) {
12863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12864 }
12865 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12866 ecode2 = SWIG_AsVal_int(obj1, &val2);
12867 if (!SWIG_IsOK(ecode2)) {
12868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12869 }
12870 arg2 = static_cast< wxLayoutAlignment >(val2);
12871 {
12872 PyThreadState* __tstate = wxPyBeginAllowThreads();
12873 (arg1)->SetAlignment(arg2);
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 resultobj = SWIG_Py_Void();
12878 return resultobj;
12879fail:
12880 return NULL;
12881}
12882
12883
12884SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12885 PyObject *resultobj = 0;
12886 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12887 wxSize *arg2 = 0 ;
12888 void *argp1 = 0 ;
12889 int res1 = 0 ;
12890 wxSize temp2 ;
12891 PyObject * obj0 = 0 ;
12892 PyObject * obj1 = 0 ;
12893 char * kwnames[] = {
12894 (char *) "self",(char *) "size", NULL
12895 };
12896
12897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12899 if (!SWIG_IsOK(res1)) {
12900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12901 }
12902 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12903 {
12904 arg2 = &temp2;
12905 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12906 }
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 resultobj = SWIG_Py_Void();
12914 return resultobj;
12915fail:
12916 return NULL;
12917}
12918
12919
12920SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12921 PyObject *resultobj = 0;
12922 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12923 wxLayoutOrientation arg2 ;
12924 void *argp1 = 0 ;
12925 int res1 = 0 ;
12926 int val2 ;
12927 int ecode2 = 0 ;
12928 PyObject * obj0 = 0 ;
12929 PyObject * obj1 = 0 ;
12930 char * kwnames[] = {
12931 (char *) "self",(char *) "orientation", NULL
12932 };
12933
12934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12936 if (!SWIG_IsOK(res1)) {
12937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12938 }
12939 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12940 ecode2 = SWIG_AsVal_int(obj1, &val2);
12941 if (!SWIG_IsOK(ecode2)) {
12942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12943 }
12944 arg2 = static_cast< wxLayoutOrientation >(val2);
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 (arg1)->SetOrientation(arg2);
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = SWIG_Py_Void();
12952 return resultobj;
12953fail:
12954 return NULL;
d55e5bfc
RD
12955}
12956
12957
1bd55598
RD
12958SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12959 PyObject *obj;
12960 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12961 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12962 return SWIG_Py_Void();
d55e5bfc
RD
12963}
12964
1bd55598
RD
12965SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12966 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12967}
12968
1bd55598
RD
12969SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12970 PyObject *resultobj = 0;
12971 wxLayoutAlgorithm *result = 0 ;
12972
12973 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12977 wxPyEndAllowThreads(__tstate);
12978 if (PyErr_Occurred()) SWIG_fail;
12979 }
12980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12981 return resultobj;
12982fail:
12983 return NULL;
d55e5bfc
RD
12984}
12985
12986
1bd55598
RD
12987SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12988 PyObject *resultobj = 0;
12989 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12990 void *argp1 = 0 ;
12991 int res1 = 0 ;
12992 PyObject *swig_obj[1] ;
12993
12994 if (!args) SWIG_fail;
12995 swig_obj[0] = args;
12996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12997 if (!SWIG_IsOK(res1)) {
12998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12999 }
13000 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13001 {
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 delete arg1;
d55e5bfc 13004
1bd55598
RD
13005 wxPyEndAllowThreads(__tstate);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
13008 resultobj = SWIG_Py_Void();
13009 return resultobj;
13010fail:
13011 return NULL;
13012}
13013
13014
13015SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj = 0;
13017 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13018 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13019 wxRect *arg3 = (wxRect *) NULL ;
13020 bool result;
13021 void *argp1 = 0 ;
13022 int res1 = 0 ;
13023 void *argp2 = 0 ;
13024 int res2 = 0 ;
13025 void *argp3 = 0 ;
13026 int res3 = 0 ;
13027 PyObject * obj0 = 0 ;
13028 PyObject * obj1 = 0 ;
13029 PyObject * obj2 = 0 ;
13030 char * kwnames[] = {
13031 (char *) "self",(char *) "frame",(char *) "rect", NULL
13032 };
13033
13034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13036 if (!SWIG_IsOK(res1)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13038 }
13039 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13040 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13041 if (!SWIG_IsOK(res2)) {
13042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13043 }
13044 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13045 if (obj2) {
13046 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13047 if (!SWIG_IsOK(res3)) {
13048 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
36ed4f51 13049 }
1bd55598
RD
13050 arg3 = reinterpret_cast< wxRect * >(argp3);
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13055 wxPyEndAllowThreads(__tstate);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 }
13058 {
13059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13060 }
13061 return resultobj;
13062fail:
13063 return NULL;
13064}
13065
13066
13067SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13068 PyObject *resultobj = 0;
13069 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13070 wxFrame *arg2 = (wxFrame *) 0 ;
13071 wxWindow *arg3 = (wxWindow *) NULL ;
13072 bool result;
13073 void *argp1 = 0 ;
13074 int res1 = 0 ;
13075 void *argp2 = 0 ;
13076 int res2 = 0 ;
13077 void *argp3 = 0 ;
13078 int res3 = 0 ;
13079 PyObject * obj0 = 0 ;
13080 PyObject * obj1 = 0 ;
13081 PyObject * obj2 = 0 ;
13082 char * kwnames[] = {
13083 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13084 };
13085
13086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13088 if (!SWIG_IsOK(res1)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13090 }
13091 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13092 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13093 if (!SWIG_IsOK(res2)) {
13094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13095 }
13096 arg2 = reinterpret_cast< wxFrame * >(argp2);
13097 if (obj2) {
13098 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13099 if (!SWIG_IsOK(res3)) {
13100 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
36ed4f51 13101 }
1bd55598
RD
13102 arg3 = reinterpret_cast< wxWindow * >(argp3);
13103 }
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 {
13111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13112 }
13113 return resultobj;
13114fail:
13115 return NULL;
13116}
13117
13118
13119SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj = 0;
13121 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13122 wxWindow *arg2 = (wxWindow *) 0 ;
13123 wxWindow *arg3 = (wxWindow *) NULL ;
13124 bool result;
13125 void *argp1 = 0 ;
13126 int res1 = 0 ;
13127 void *argp2 = 0 ;
13128 int res2 = 0 ;
13129 void *argp3 = 0 ;
13130 int res3 = 0 ;
13131 PyObject * obj0 = 0 ;
13132 PyObject * obj1 = 0 ;
13133 PyObject * obj2 = 0 ;
13134 char * kwnames[] = {
13135 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13136 };
13137
13138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13140 if (!SWIG_IsOK(res1)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13142 }
13143 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13144 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13145 if (!SWIG_IsOK(res2)) {
13146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13147 }
13148 arg2 = reinterpret_cast< wxWindow * >(argp2);
13149 if (obj2) {
13150 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13151 if (!SWIG_IsOK(res3)) {
13152 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13153 }
1bd55598
RD
13154 arg3 = reinterpret_cast< wxWindow * >(argp3);
13155 }
13156 {
13157 PyThreadState* __tstate = wxPyBeginAllowThreads();
13158 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13159 wxPyEndAllowThreads(__tstate);
13160 if (PyErr_Occurred()) SWIG_fail;
13161 }
13162 {
13163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13164 }
13165 return resultobj;
13166fail:
13167 return NULL;
d55e5bfc
RD
13168}
13169
13170
1bd55598
RD
13171SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13172 PyObject *obj;
13173 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13174 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13175 return SWIG_Py_Void();
d55e5bfc
RD
13176}
13177
1bd55598
RD
13178SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13179 return SWIG_Python_InitShadowInstance(args);
5cbf236d
RD
13180}
13181
1bd55598
RD
13182SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj = 0;
13184 wxWindow *arg1 = (wxWindow *) 0 ;
13185 int arg2 = (int) wxBORDER_NONE ;
13186 wxPopupWindow *result = 0 ;
13187 void *argp1 = 0 ;
13188 int res1 = 0 ;
13189 int val2 ;
13190 int ecode2 = 0 ;
13191 PyObject * obj0 = 0 ;
13192 PyObject * obj1 = 0 ;
13193 char * kwnames[] = {
13194 (char *) "parent",(char *) "flags", NULL
13195 };
13196
13197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13199 if (!SWIG_IsOK(res1)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13201 }
13202 arg1 = reinterpret_cast< wxWindow * >(argp1);
13203 if (obj1) {
13204 ecode2 = SWIG_AsVal_int(obj1, &val2);
13205 if (!SWIG_IsOK(ecode2)) {
13206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13207 }
13208 arg2 = static_cast< int >(val2);
13209 }
13210 {
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13217 return resultobj;
13218fail:
13219 return NULL;
5cbf236d
RD
13220}
13221
13222
1bd55598
RD
13223SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13224 PyObject *resultobj = 0;
13225 wxPopupWindow *result = 0 ;
13226
13227 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13228 {
13229 PyThreadState* __tstate = wxPyBeginAllowThreads();
13230 result = (wxPopupWindow *)new wxPopupWindow();
13231 wxPyEndAllowThreads(__tstate);
13232 if (PyErr_Occurred()) SWIG_fail;
13233 }
13234 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13235 return resultobj;
13236fail:
13237 return NULL;
d55e5bfc
RD
13238}
13239
13240
1bd55598
RD
13241SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13242 PyObject *obj;
13243 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13244 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13245 return SWIG_Py_Void();
d55e5bfc
RD
13246}
13247
1bd55598
RD
13248SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13249 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13250}
13251
1bd55598
RD
13252SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13253 PyObject *resultobj = 0;
13254 wxWindow *arg1 = (wxWindow *) 0 ;
13255 int arg2 = (int) wxBORDER_NONE ;
13256 wxPyPopupTransientWindow *result = 0 ;
13257 void *argp1 = 0 ;
13258 int res1 = 0 ;
13259 int val2 ;
13260 int ecode2 = 0 ;
13261 PyObject * obj0 = 0 ;
13262 PyObject * obj1 = 0 ;
13263 char * kwnames[] = {
13264 (char *) "parent",(char *) "style", NULL
13265 };
13266
13267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13269 if (!SWIG_IsOK(res1)) {
13270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13271 }
13272 arg1 = reinterpret_cast< wxWindow * >(argp1);
13273 if (obj1) {
13274 ecode2 = SWIG_AsVal_int(obj1, &val2);
13275 if (!SWIG_IsOK(ecode2)) {
13276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13277 }
13278 arg2 = static_cast< int >(val2);
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13287 return resultobj;
13288fail:
13289 return NULL;
d55e5bfc
RD
13290}
13291
13292
1bd55598
RD
13293SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13294 PyObject *resultobj = 0;
13295 wxPyPopupTransientWindow *result = 0 ;
13296
13297 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13305 return resultobj;
13306fail:
13307 return NULL;
13308}
13309
13310
13311SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13312 PyObject *obj;
13313 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13314 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13315 return SWIG_Py_Void();
13316}
13317
13318SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13319 return SWIG_Python_InitShadowInstance(args);
13320}
13321
13322SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj = 0;
13324 wxWindow *arg1 = (wxWindow *) 0 ;
13325 wxString *arg2 = 0 ;
13326 int arg3 = (int) 100 ;
13327 wxRect *arg4 = (wxRect *) NULL ;
13328 wxTipWindow *result = 0 ;
13329 void *argp1 = 0 ;
13330 int res1 = 0 ;
13331 bool temp2 = false ;
13332 int val3 ;
13333 int ecode3 = 0 ;
13334 void *argp4 = 0 ;
13335 int res4 = 0 ;
13336 PyObject * obj0 = 0 ;
13337 PyObject * obj1 = 0 ;
13338 PyObject * obj2 = 0 ;
13339 PyObject * obj3 = 0 ;
13340 char * kwnames[] = {
13341 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13342 };
13343
13344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13346 if (!SWIG_IsOK(res1)) {
13347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13348 }
13349 arg1 = reinterpret_cast< wxWindow * >(argp1);
13350 {
13351 arg2 = wxString_in_helper(obj1);
13352 if (arg2 == NULL) SWIG_fail;
13353 temp2 = true;
13354 }
13355 if (obj2) {
13356 ecode3 = SWIG_AsVal_int(obj2, &val3);
13357 if (!SWIG_IsOK(ecode3)) {
13358 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13359 }
13360 arg3 = static_cast< int >(val3);
13361 }
13362 if (obj3) {
13363 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13364 if (!SWIG_IsOK(res4)) {
13365 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
36ed4f51 13366 }
1bd55598
RD
13367 arg4 = reinterpret_cast< wxRect * >(argp4);
13368 }
13369 {
13370 if (!wxPyCheckForApp()) SWIG_fail;
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13377 {
13378 if (temp2)
13379 delete arg2;
13380 }
13381 return resultobj;
13382fail:
13383 {
13384 if (temp2)
13385 delete arg2;
13386 }
13387 return NULL;
d55e5bfc
RD
13388}
13389
13390
1bd55598
RD
13391SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj = 0;
13393 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13394 wxRect *arg2 = 0 ;
13395 void *argp1 = 0 ;
13396 int res1 = 0 ;
13397 wxRect temp2 ;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13400 char * kwnames[] = {
13401 (char *) "self",(char *) "rectBound", NULL
13402 };
13403
13404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13406 if (!SWIG_IsOK(res1)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13408 }
13409 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13410 {
13411 arg2 = &temp2;
13412 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13413 }
13414 {
13415 PyThreadState* __tstate = wxPyBeginAllowThreads();
13416 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13417 wxPyEndAllowThreads(__tstate);
13418 if (PyErr_Occurred()) SWIG_fail;
13419 }
13420 resultobj = SWIG_Py_Void();
13421 return resultobj;
13422fail:
13423 return NULL;
d55e5bfc
RD
13424}
13425
13426
1bd55598
RD
13427SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13428 PyObject *resultobj = 0;
13429 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13430 void *argp1 = 0 ;
13431 int res1 = 0 ;
13432 PyObject *swig_obj[1] ;
13433
13434 if (!args) SWIG_fail;
13435 swig_obj[0] = args;
13436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13437 if (!SWIG_IsOK(res1)) {
13438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13439 }
13440 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13441 {
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 (arg1)->Close();
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 resultobj = SWIG_Py_Void();
13448 return resultobj;
13449fail:
13450 return NULL;
13451}
13452
13453
13454SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13455 PyObject *obj;
13456 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13457 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13458 return SWIG_Py_Void();
13459}
13460
13461SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13462 return SWIG_Python_InitShadowInstance(args);
13463}
13464
13465SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13466 PyObject *resultobj = 0;
13467 wxWindow *arg1 = (wxWindow *) 0 ;
13468 int arg2 = (int) wxID_ANY ;
13469 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13470 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13471 wxSize const &arg4_defvalue = wxDefaultSize ;
13472 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13473 long arg5 = (long) 0 ;
13474 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13475 wxString *arg6 = (wxString *) &arg6_defvalue ;
13476 wxPyVScrolledWindow *result = 0 ;
13477 void *argp1 = 0 ;
13478 int res1 = 0 ;
13479 int val2 ;
13480 int ecode2 = 0 ;
13481 wxPoint temp3 ;
13482 wxSize temp4 ;
13483 long val5 ;
13484 int ecode5 = 0 ;
13485 bool temp6 = false ;
13486 PyObject * obj0 = 0 ;
13487 PyObject * obj1 = 0 ;
13488 PyObject * obj2 = 0 ;
13489 PyObject * obj3 = 0 ;
13490 PyObject * obj4 = 0 ;
13491 PyObject * obj5 = 0 ;
13492 char * kwnames[] = {
13493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13494 };
13495
13496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13498 if (!SWIG_IsOK(res1)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13500 }
13501 arg1 = reinterpret_cast< wxWindow * >(argp1);
13502 if (obj1) {
13503 ecode2 = SWIG_AsVal_int(obj1, &val2);
13504 if (!SWIG_IsOK(ecode2)) {
13505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13506 }
13507 arg2 = static_cast< int >(val2);
13508 }
13509 if (obj2) {
f20a2e1f 13510 {
1bd55598
RD
13511 arg3 = &temp3;
13512 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 13513 }
1bd55598
RD
13514 }
13515 if (obj3) {
f20a2e1f 13516 {
1bd55598
RD
13517 arg4 = &temp4;
13518 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13519 }
1bd55598
RD
13520 }
13521 if (obj4) {
13522 ecode5 = SWIG_AsVal_long(obj4, &val5);
13523 if (!SWIG_IsOK(ecode5)) {
13524 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13525 }
13526 arg5 = static_cast< long >(val5);
13527 }
13528 if (obj5) {
36ed4f51 13529 {
1bd55598
RD
13530 arg6 = wxString_in_helper(obj5);
13531 if (arg6 == NULL) SWIG_fail;
13532 temp6 = true;
36ed4f51 13533 }
1bd55598
RD
13534 }
13535 {
13536 if (!wxPyCheckForApp()) SWIG_fail;
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13539 wxPyEndAllowThreads(__tstate);
13540 if (PyErr_Occurred()) SWIG_fail;
13541 }
13542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13543 {
13544 if (temp6)
13545 delete arg6;
13546 }
13547 return resultobj;
13548fail:
13549 {
13550 if (temp6)
13551 delete arg6;
13552 }
13553 return NULL;
d55e5bfc
RD
13554}
13555
13556
1bd55598
RD
13557SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13558 PyObject *resultobj = 0;
13559 wxPyVScrolledWindow *result = 0 ;
13560
13561 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13562 {
13563 if (!wxPyCheckForApp()) SWIG_fail;
13564 PyThreadState* __tstate = wxPyBeginAllowThreads();
13565 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13566 wxPyEndAllowThreads(__tstate);
13567 if (PyErr_Occurred()) SWIG_fail;
13568 }
13569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13570 return resultobj;
13571fail:
13572 return NULL;
13573}
13574
13575
13576SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13577 PyObject *resultobj = 0;
13578 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13579 PyObject *arg2 = (PyObject *) 0 ;
13580 PyObject *arg3 = (PyObject *) 0 ;
13581 void *argp1 = 0 ;
13582 int res1 = 0 ;
13583 PyObject * obj0 = 0 ;
13584 PyObject * obj1 = 0 ;
13585 PyObject * obj2 = 0 ;
13586 char * kwnames[] = {
13587 (char *) "self",(char *) "self",(char *) "_class", NULL
13588 };
13589
13590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13592 if (!SWIG_IsOK(res1)) {
13593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13594 }
13595 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13596 arg2 = obj1;
13597 arg3 = obj2;
13598 {
13599 PyThreadState* __tstate = wxPyBeginAllowThreads();
13600 (arg1)->_setCallbackInfo(arg2,arg3);
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 resultobj = SWIG_Py_Void();
13605 return resultobj;
13606fail:
13607 return NULL;
13608}
13609
13610
13611SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj = 0;
13613 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13614 wxWindow *arg2 = (wxWindow *) 0 ;
13615 int arg3 = (int) wxID_ANY ;
13616 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13617 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13618 wxSize const &arg5_defvalue = wxDefaultSize ;
13619 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13620 long arg6 = (long) 0 ;
13621 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13622 wxString *arg7 = (wxString *) &arg7_defvalue ;
13623 bool result;
13624 void *argp1 = 0 ;
13625 int res1 = 0 ;
13626 void *argp2 = 0 ;
13627 int res2 = 0 ;
13628 int val3 ;
13629 int ecode3 = 0 ;
13630 wxPoint temp4 ;
13631 wxSize temp5 ;
13632 long val6 ;
13633 int ecode6 = 0 ;
13634 bool temp7 = false ;
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 PyObject * obj2 = 0 ;
13638 PyObject * obj3 = 0 ;
13639 PyObject * obj4 = 0 ;
13640 PyObject * obj5 = 0 ;
13641 PyObject * obj6 = 0 ;
13642 char * kwnames[] = {
13643 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13644 };
13645
13646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13648 if (!SWIG_IsOK(res1)) {
13649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13650 }
13651 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13652 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13653 if (!SWIG_IsOK(res2)) {
13654 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13655 }
13656 arg2 = reinterpret_cast< wxWindow * >(argp2);
13657 if (obj2) {
13658 ecode3 = SWIG_AsVal_int(obj2, &val3);
13659 if (!SWIG_IsOK(ecode3)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13661 }
13662 arg3 = static_cast< int >(val3);
13663 }
13664 if (obj3) {
d55e5bfc 13665 {
1bd55598
RD
13666 arg4 = &temp4;
13667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13668 }
1bd55598
RD
13669 }
13670 if (obj4) {
36ed4f51 13671 {
1bd55598
RD
13672 arg5 = &temp5;
13673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 13674 }
1bd55598
RD
13675 }
13676 if (obj5) {
13677 ecode6 = SWIG_AsVal_long(obj5, &val6);
13678 if (!SWIG_IsOK(ecode6)) {
13679 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13680 }
13681 arg6 = static_cast< long >(val6);
13682 }
13683 if (obj6) {
d55e5bfc 13684 {
1bd55598
RD
13685 arg7 = wxString_in_helper(obj6);
13686 if (arg7 == NULL) SWIG_fail;
13687 temp7 = true;
d55e5bfc 13688 }
1bd55598
RD
13689 }
13690 {
13691 PyThreadState* __tstate = wxPyBeginAllowThreads();
13692 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13693 wxPyEndAllowThreads(__tstate);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
13696 {
13697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13698 }
13699 {
13700 if (temp7)
13701 delete arg7;
13702 }
13703 return resultobj;
13704fail:
13705 {
13706 if (temp7)
13707 delete arg7;
13708 }
13709 return NULL;
13710}
13711
13712
13713SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj = 0;
13715 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13716 size_t arg2 ;
13717 void *argp1 = 0 ;
13718 int res1 = 0 ;
13719 size_t val2 ;
13720 int ecode2 = 0 ;
13721 PyObject * obj0 = 0 ;
13722 PyObject * obj1 = 0 ;
13723 char * kwnames[] = {
13724 (char *) "self",(char *) "count", NULL
13725 };
13726
13727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13729 if (!SWIG_IsOK(res1)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13731 }
13732 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13733 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13734 if (!SWIG_IsOK(ecode2)) {
13735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13736 }
13737 arg2 = static_cast< size_t >(val2);
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 (arg1)->SetLineCount(arg2);
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 resultobj = SWIG_Py_Void();
13745 return resultobj;
13746fail:
13747 return NULL;
13748}
13749
13750
13751SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13752 PyObject *resultobj = 0;
13753 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13754 size_t arg2 ;
13755 bool result;
13756 void *argp1 = 0 ;
13757 int res1 = 0 ;
13758 size_t val2 ;
13759 int ecode2 = 0 ;
13760 PyObject * obj0 = 0 ;
13761 PyObject * obj1 = 0 ;
13762 char * kwnames[] = {
13763 (char *) "self",(char *) "line", NULL
13764 };
13765
13766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13768 if (!SWIG_IsOK(res1)) {
13769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13770 }
13771 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13772 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13773 if (!SWIG_IsOK(ecode2)) {
13774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13775 }
13776 arg2 = static_cast< size_t >(val2);
13777 {
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 result = (bool)(arg1)->ScrollToLine(arg2);
13780 wxPyEndAllowThreads(__tstate);
13781 if (PyErr_Occurred()) SWIG_fail;
13782 }
13783 {
13784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13785 }
13786 return resultobj;
13787fail:
13788 return NULL;
13789}
13790
13791
13792SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13793 PyObject *resultobj = 0;
13794 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13795 size_t arg2 ;
13796 void *argp1 = 0 ;
13797 int res1 = 0 ;
13798 size_t val2 ;
13799 int ecode2 = 0 ;
13800 PyObject * obj0 = 0 ;
13801 PyObject * obj1 = 0 ;
13802 char * kwnames[] = {
13803 (char *) "self",(char *) "line", NULL
13804 };
13805
13806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13808 if (!SWIG_IsOK(res1)) {
13809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13810 }
13811 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13812 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13813 if (!SWIG_IsOK(ecode2)) {
13814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13815 }
13816 arg2 = static_cast< size_t >(val2);
13817 {
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 (arg1)->RefreshLine(arg2);
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 resultobj = SWIG_Py_Void();
13824 return resultobj;
13825fail:
13826 return NULL;
13827}
13828
13829
13830SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj = 0;
13832 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13833 size_t arg2 ;
13834 size_t arg3 ;
13835 void *argp1 = 0 ;
13836 int res1 = 0 ;
13837 size_t val2 ;
13838 int ecode2 = 0 ;
13839 size_t val3 ;
13840 int ecode3 = 0 ;
13841 PyObject * obj0 = 0 ;
13842 PyObject * obj1 = 0 ;
13843 PyObject * obj2 = 0 ;
13844 char * kwnames[] = {
2131d850 13845 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13846 };
13847
13848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13850 if (!SWIG_IsOK(res1)) {
13851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13852 }
13853 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13854 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13855 if (!SWIG_IsOK(ecode2)) {
13856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13857 }
13858 arg2 = static_cast< size_t >(val2);
13859 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13860 if (!SWIG_IsOK(ecode3)) {
13861 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13862 }
13863 arg3 = static_cast< size_t >(val3);
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
13866 (arg1)->RefreshLines(arg2,arg3);
13867 wxPyEndAllowThreads(__tstate);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
13870 resultobj = SWIG_Py_Void();
13871 return resultobj;
13872fail:
13873 return NULL;
13874}
13875
13876
13877SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj = 0;
13879 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13880 int arg2 ;
13881 int arg3 ;
13882 int result;
13883 void *argp1 = 0 ;
13884 int res1 = 0 ;
13885 int val2 ;
13886 int ecode2 = 0 ;
13887 int val3 ;
13888 int ecode3 = 0 ;
13889 PyObject * obj0 = 0 ;
13890 PyObject * obj1 = 0 ;
13891 PyObject * obj2 = 0 ;
13892 char * kwnames[] = {
13893 (char *) "self",(char *) "x",(char *) "y", NULL
13894 };
13895
13896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13898 if (!SWIG_IsOK(res1)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13900 }
13901 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13902 ecode2 = SWIG_AsVal_int(obj1, &val2);
13903 if (!SWIG_IsOK(ecode2)) {
13904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13905 }
13906 arg2 = static_cast< int >(val2);
13907 ecode3 = SWIG_AsVal_int(obj2, &val3);
13908 if (!SWIG_IsOK(ecode3)) {
13909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13910 }
13911 arg3 = static_cast< int >(val3);
13912 {
13913 PyThreadState* __tstate = wxPyBeginAllowThreads();
13914 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 resultobj = SWIG_From_int(static_cast< int >(result));
13919 return resultobj;
13920fail:
13921 return NULL;
13922}
13923
13924
13925SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13926 PyObject *resultobj = 0;
13927 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13928 wxPoint *arg2 = 0 ;
13929 int result;
13930 void *argp1 = 0 ;
13931 int res1 = 0 ;
13932 wxPoint temp2 ;
13933 PyObject * obj0 = 0 ;
13934 PyObject * obj1 = 0 ;
13935 char * kwnames[] = {
13936 (char *) "self",(char *) "pt", NULL
13937 };
13938
13939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13941 if (!SWIG_IsOK(res1)) {
13942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13943 }
13944 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13945 {
13946 arg2 = &temp2;
13947 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13948 }
13949 {
13950 PyThreadState* __tstate = wxPyBeginAllowThreads();
13951 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 }
13955 resultobj = SWIG_From_int(static_cast< int >(result));
13956 return resultobj;
13957fail:
13958 return NULL;
d55e5bfc
RD
13959}
13960
13961
1bd55598
RD
13962SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13963 PyObject *resultobj = 0;
13964 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13965 void *argp1 = 0 ;
13966 int res1 = 0 ;
13967 PyObject *swig_obj[1] ;
13968
13969 if (!args) SWIG_fail;
13970 swig_obj[0] = args;
13971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13972 if (!SWIG_IsOK(res1)) {
13973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13974 }
13975 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 (arg1)->RefreshAll();
13979 wxPyEndAllowThreads(__tstate);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
13982 resultobj = SWIG_Py_Void();
13983 return resultobj;
13984fail:
13985 return NULL;
d55e5bfc
RD
13986}
13987
13988
1bd55598
RD
13989SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13990 PyObject *resultobj = 0;
13991 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13992 size_t result;
13993 void *argp1 = 0 ;
13994 int res1 = 0 ;
13995 PyObject *swig_obj[1] ;
13996
13997 if (!args) SWIG_fail;
13998 swig_obj[0] = args;
13999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14000 if (!SWIG_IsOK(res1)) {
14001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14002 }
14003 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14011 return resultobj;
14012fail:
14013 return NULL;
d55e5bfc
RD
14014}
14015
14016
1bd55598
RD
14017SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14018 PyObject *resultobj = 0;
14019 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14020 size_t result;
14021 void *argp1 = 0 ;
14022 int res1 = 0 ;
14023 PyObject *swig_obj[1] ;
14024
14025 if (!args) SWIG_fail;
14026 swig_obj[0] = args;
14027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14028 if (!SWIG_IsOK(res1)) {
14029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14030 }
14031 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14035 wxPyEndAllowThreads(__tstate);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 }
14038 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14039 return resultobj;
14040fail:
14041 return NULL;
d55e5bfc
RD
14042}
14043
14044
1bd55598
RD
14045SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14046 PyObject *resultobj = 0;
14047 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14048 size_t result;
14049 void *argp1 = 0 ;
14050 int res1 = 0 ;
14051 PyObject *swig_obj[1] ;
14052
14053 if (!args) SWIG_fail;
14054 swig_obj[0] = args;
14055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14056 if (!SWIG_IsOK(res1)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14058 }
14059 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14060 {
14061 PyThreadState* __tstate = wxPyBeginAllowThreads();
14062 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14063 wxPyEndAllowThreads(__tstate);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
14066 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14067 return resultobj;
14068fail:
14069 return NULL;
14070}
14071
14072
14073SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14074 PyObject *resultobj = 0;
14075 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14076 size_t arg2 ;
14077 bool result;
14078 void *argp1 = 0 ;
14079 int res1 = 0 ;
14080 size_t val2 ;
14081 int ecode2 = 0 ;
14082 PyObject * obj0 = 0 ;
14083 PyObject * obj1 = 0 ;
14084 char * kwnames[] = {
14085 (char *) "self",(char *) "line", NULL
14086 };
14087
14088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14090 if (!SWIG_IsOK(res1)) {
14091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14092 }
14093 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14094 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14095 if (!SWIG_IsOK(ecode2)) {
14096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14097 }
14098 arg2 = static_cast< size_t >(val2);
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14102 wxPyEndAllowThreads(__tstate);
14103 if (PyErr_Occurred()) SWIG_fail;
14104 }
14105 {
14106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14107 }
14108 return resultobj;
14109fail:
14110 return NULL;
d55e5bfc
RD
14111}
14112
14113
1bd55598
RD
14114SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14115 PyObject *resultobj = 0;
14116 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14117 size_t result;
14118 void *argp1 = 0 ;
14119 int res1 = 0 ;
14120 PyObject *swig_obj[1] ;
14121
14122 if (!args) SWIG_fail;
14123 swig_obj[0] = args;
14124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14125 if (!SWIG_IsOK(res1)) {
14126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14127 }
14128 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
14131 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14132 wxPyEndAllowThreads(__tstate);
14133 if (PyErr_Occurred()) SWIG_fail;
14134 }
14135 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14136 return resultobj;
14137fail:
14138 return NULL;
d55e5bfc
RD
14139}
14140
14141
1bd55598
RD
14142SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14143 PyObject *resultobj = 0;
14144 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14145 size_t result;
14146 void *argp1 = 0 ;
14147 int res1 = 0 ;
14148 PyObject *swig_obj[1] ;
14149
14150 if (!args) SWIG_fail;
14151 swig_obj[0] = args;
14152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14153 if (!SWIG_IsOK(res1)) {
14154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14155 }
14156 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14157 {
14158 PyThreadState* __tstate = wxPyBeginAllowThreads();
14159 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14164 return resultobj;
14165fail:
14166 return NULL;
14167}
14168
14169
14170SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14171 PyObject *resultobj = 0;
14172 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14173 size_t arg2 ;
14174 bool arg3 = (bool) false ;
14175 size_t result;
14176 void *argp1 = 0 ;
14177 int res1 = 0 ;
14178 size_t val2 ;
14179 int ecode2 = 0 ;
14180 bool val3 ;
14181 int ecode3 = 0 ;
14182 PyObject * obj0 = 0 ;
14183 PyObject * obj1 = 0 ;
14184 PyObject * obj2 = 0 ;
14185 char * kwnames[] = {
14186 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14187 };
14188
14189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14191 if (!SWIG_IsOK(res1)) {
14192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14193 }
14194 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14195 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14196 if (!SWIG_IsOK(ecode2)) {
14197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14198 }
14199 arg2 = static_cast< size_t >(val2);
14200 if (obj2) {
14201 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14202 if (!SWIG_IsOK(ecode3)) {
14203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14204 }
14205 arg3 = static_cast< bool >(val3);
14206 }
14207 {
14208 PyThreadState* __tstate = wxPyBeginAllowThreads();
14209 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14210 wxPyEndAllowThreads(__tstate);
14211 if (PyErr_Occurred()) SWIG_fail;
14212 }
14213 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14214 return resultobj;
14215fail:
14216 return NULL;
14217}
14218
14219
14220SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14221 PyObject *resultobj = 0;
14222 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14223 size_t arg2 ;
14224 size_t arg3 ;
14225 int result;
14226 void *argp1 = 0 ;
14227 int res1 = 0 ;
14228 size_t val2 ;
14229 int ecode2 = 0 ;
14230 size_t val3 ;
14231 int ecode3 = 0 ;
14232 PyObject * obj0 = 0 ;
14233 PyObject * obj1 = 0 ;
14234 PyObject * obj2 = 0 ;
14235 char * kwnames[] = {
14236 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14237 };
14238
14239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14241 if (!SWIG_IsOK(res1)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14243 }
14244 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14245 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14246 if (!SWIG_IsOK(ecode2)) {
14247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14248 }
14249 arg2 = static_cast< size_t >(val2);
14250 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14251 if (!SWIG_IsOK(ecode3)) {
14252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14253 }
14254 arg3 = static_cast< size_t >(val3);
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14258 wxPyEndAllowThreads(__tstate);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 resultobj = SWIG_From_int(static_cast< int >(result));
14262 return resultobj;
14263fail:
14264 return NULL;
d55e5bfc
RD
14265}
14266
14267
1bd55598
RD
14268SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14269 PyObject *obj;
14270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14271 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14272 return SWIG_Py_Void();
d55e5bfc
RD
14273}
14274
1bd55598
RD
14275SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14276 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14277}
14278
1bd55598
RD
14279SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14280 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14281 return 1;
d55e5bfc
RD
14282}
14283
14284
1bd55598
RD
14285SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14286 PyObject *pyobj = 0;
14287
14288 {
14289#if wxUSE_UNICODE
14290 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14291#else
14292 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14293#endif
14294 }
14295 return pyobj;
14296}
14297
14298
14299SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14300 PyObject *resultobj = 0;
14301 wxWindow *arg1 = (wxWindow *) 0 ;
14302 int arg2 = (int) wxID_ANY ;
14303 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14304 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14305 wxSize const &arg4_defvalue = wxDefaultSize ;
14306 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14307 long arg5 = (long) 0 ;
14308 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14309 wxString *arg6 = (wxString *) &arg6_defvalue ;
14310 wxPyVListBox *result = 0 ;
14311 void *argp1 = 0 ;
14312 int res1 = 0 ;
14313 int val2 ;
14314 int ecode2 = 0 ;
14315 wxPoint temp3 ;
14316 wxSize temp4 ;
14317 long val5 ;
14318 int ecode5 = 0 ;
14319 bool temp6 = false ;
14320 PyObject * obj0 = 0 ;
14321 PyObject * obj1 = 0 ;
14322 PyObject * obj2 = 0 ;
14323 PyObject * obj3 = 0 ;
14324 PyObject * obj4 = 0 ;
14325 PyObject * obj5 = 0 ;
14326 char * kwnames[] = {
14327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14328 };
14329
14330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14332 if (!SWIG_IsOK(res1)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14334 }
14335 arg1 = reinterpret_cast< wxWindow * >(argp1);
14336 if (obj1) {
14337 ecode2 = SWIG_AsVal_int(obj1, &val2);
14338 if (!SWIG_IsOK(ecode2)) {
14339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14340 }
14341 arg2 = static_cast< int >(val2);
14342 }
14343 if (obj2) {
36ed4f51 14344 {
1bd55598
RD
14345 arg3 = &temp3;
14346 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 14347 }
1bd55598
RD
14348 }
14349 if (obj3) {
d55e5bfc 14350 {
1bd55598
RD
14351 arg4 = &temp4;
14352 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14353 }
1bd55598
RD
14354 }
14355 if (obj4) {
14356 ecode5 = SWIG_AsVal_long(obj4, &val5);
14357 if (!SWIG_IsOK(ecode5)) {
14358 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14359 }
14360 arg5 = static_cast< long >(val5);
14361 }
14362 if (obj5) {
d55e5bfc 14363 {
1bd55598
RD
14364 arg6 = wxString_in_helper(obj5);
14365 if (arg6 == NULL) SWIG_fail;
14366 temp6 = true;
d55e5bfc 14367 }
1bd55598
RD
14368 }
14369 {
14370 if (!wxPyCheckForApp()) SWIG_fail;
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14377 {
14378 if (temp6)
14379 delete arg6;
14380 }
14381 return resultobj;
14382fail:
14383 {
14384 if (temp6)
14385 delete arg6;
14386 }
14387 return NULL;
d55e5bfc
RD
14388}
14389
14390
1bd55598
RD
14391SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14392 PyObject *resultobj = 0;
14393 wxPyVListBox *result = 0 ;
14394
14395 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14396 {
14397 if (!wxPyCheckForApp()) SWIG_fail;
14398 PyThreadState* __tstate = wxPyBeginAllowThreads();
14399 result = (wxPyVListBox *)new wxPyVListBox();
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14404 return resultobj;
14405fail:
14406 return NULL;
14407}
14408
14409
14410SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14411 PyObject *resultobj = 0;
14412 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14413 PyObject *arg2 = (PyObject *) 0 ;
14414 PyObject *arg3 = (PyObject *) 0 ;
14415 void *argp1 = 0 ;
14416 int res1 = 0 ;
14417 PyObject * obj0 = 0 ;
14418 PyObject * obj1 = 0 ;
14419 PyObject * obj2 = 0 ;
14420 char * kwnames[] = {
14421 (char *) "self",(char *) "self",(char *) "_class", NULL
14422 };
14423
14424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14426 if (!SWIG_IsOK(res1)) {
14427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14428 }
14429 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14430 arg2 = obj1;
14431 arg3 = obj2;
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 (arg1)->_setCallbackInfo(arg2,arg3);
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 resultobj = SWIG_Py_Void();
14439 return resultobj;
14440fail:
14441 return NULL;
14442}
14443
14444
14445SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14446 PyObject *resultobj = 0;
14447 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14448 wxWindow *arg2 = (wxWindow *) 0 ;
14449 int arg3 = (int) wxID_ANY ;
14450 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14451 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14452 wxSize const &arg5_defvalue = wxDefaultSize ;
14453 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14454 long arg6 = (long) 0 ;
14455 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14456 wxString *arg7 = (wxString *) &arg7_defvalue ;
14457 bool result;
14458 void *argp1 = 0 ;
14459 int res1 = 0 ;
14460 void *argp2 = 0 ;
14461 int res2 = 0 ;
14462 int val3 ;
14463 int ecode3 = 0 ;
14464 wxPoint temp4 ;
14465 wxSize temp5 ;
14466 long val6 ;
14467 int ecode6 = 0 ;
14468 bool temp7 = false ;
14469 PyObject * obj0 = 0 ;
14470 PyObject * obj1 = 0 ;
14471 PyObject * obj2 = 0 ;
14472 PyObject * obj3 = 0 ;
14473 PyObject * obj4 = 0 ;
14474 PyObject * obj5 = 0 ;
14475 PyObject * obj6 = 0 ;
14476 char * kwnames[] = {
14477 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14478 };
14479
14480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14482 if (!SWIG_IsOK(res1)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14484 }
14485 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14486 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14487 if (!SWIG_IsOK(res2)) {
14488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14489 }
14490 arg2 = reinterpret_cast< wxWindow * >(argp2);
14491 if (obj2) {
14492 ecode3 = SWIG_AsVal_int(obj2, &val3);
14493 if (!SWIG_IsOK(ecode3)) {
14494 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14495 }
14496 arg3 = static_cast< int >(val3);
14497 }
14498 if (obj3) {
36ed4f51 14499 {
1bd55598
RD
14500 arg4 = &temp4;
14501 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 14502 }
1bd55598
RD
14503 }
14504 if (obj4) {
36ed4f51 14505 {
1bd55598
RD
14506 arg5 = &temp5;
14507 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 14508 }
1bd55598
RD
14509 }
14510 if (obj5) {
14511 ecode6 = SWIG_AsVal_long(obj5, &val6);
14512 if (!SWIG_IsOK(ecode6)) {
14513 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14514 }
14515 arg6 = static_cast< long >(val6);
14516 }
14517 if (obj6) {
d55e5bfc 14518 {
1bd55598
RD
14519 arg7 = wxString_in_helper(obj6);
14520 if (arg7 == NULL) SWIG_fail;
14521 temp7 = true;
14522 }
14523 }
14524 {
14525 PyThreadState* __tstate = wxPyBeginAllowThreads();
14526 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 {
14531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14532 }
14533 {
14534 if (temp7)
14535 delete arg7;
14536 }
14537 return resultobj;
14538fail:
14539 {
14540 if (temp7)
14541 delete arg7;
14542 }
14543 return NULL;
d55e5bfc
RD
14544}
14545
14546
1bd55598
RD
14547SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14548 PyObject *resultobj = 0;
14549 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14550 size_t result;
14551 void *argp1 = 0 ;
14552 int res1 = 0 ;
14553 PyObject *swig_obj[1] ;
14554
14555 if (!args) SWIG_fail;
14556 swig_obj[0] = args;
14557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14558 if (!SWIG_IsOK(res1)) {
14559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14560 }
14561 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14569 return resultobj;
14570fail:
14571 return NULL;
d55e5bfc
RD
14572}
14573
14574
1bd55598
RD
14575SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14576 PyObject *resultobj = 0;
14577 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14578 bool result;
14579 void *argp1 = 0 ;
14580 int res1 = 0 ;
14581 PyObject *swig_obj[1] ;
14582
14583 if (!args) SWIG_fail;
14584 swig_obj[0] = args;
14585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14586 if (!SWIG_IsOK(res1)) {
14587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14588 }
14589 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14590 {
14591 PyThreadState* __tstate = wxPyBeginAllowThreads();
14592 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 {
14597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14598 }
14599 return resultobj;
14600fail:
14601 return NULL;
d55e5bfc
RD
14602}
14603
14604
1bd55598
RD
14605SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14606 PyObject *resultobj = 0;
14607 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14608 int result;
14609 void *argp1 = 0 ;
14610 int res1 = 0 ;
14611 PyObject *swig_obj[1] ;
14612
14613 if (!args) SWIG_fail;
14614 swig_obj[0] = args;
14615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14616 if (!SWIG_IsOK(res1)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14618 }
14619 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 resultobj = SWIG_From_int(static_cast< int >(result));
14627 return resultobj;
14628fail:
14629 return NULL;
14630}
14631
14632
14633SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj = 0;
14635 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14636 size_t arg2 ;
14637 bool result;
14638 void *argp1 = 0 ;
14639 int res1 = 0 ;
14640 size_t val2 ;
14641 int ecode2 = 0 ;
14642 PyObject * obj0 = 0 ;
14643 PyObject * obj1 = 0 ;
14644 char * kwnames[] = {
14645 (char *) "self",(char *) "item", NULL
14646 };
14647
14648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14650 if (!SWIG_IsOK(res1)) {
14651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14652 }
14653 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14654 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14655 if (!SWIG_IsOK(ecode2)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14657 }
14658 arg2 = static_cast< size_t >(val2);
14659 {
14660 PyThreadState* __tstate = wxPyBeginAllowThreads();
14661 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 {
14666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14667 }
14668 return resultobj;
14669fail:
14670 return NULL;
14671}
14672
14673
14674SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14675 PyObject *resultobj = 0;
14676 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14677 size_t arg2 ;
14678 bool result;
14679 void *argp1 = 0 ;
14680 int res1 = 0 ;
14681 size_t val2 ;
14682 int ecode2 = 0 ;
14683 PyObject * obj0 = 0 ;
14684 PyObject * obj1 = 0 ;
14685 char * kwnames[] = {
14686 (char *) "self",(char *) "item", NULL
14687 };
14688
14689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14691 if (!SWIG_IsOK(res1)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14693 }
14694 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14695 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14696 if (!SWIG_IsOK(ecode2)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14698 }
14699 arg2 = static_cast< size_t >(val2);
14700 {
14701 PyThreadState* __tstate = wxPyBeginAllowThreads();
14702 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 {
14707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14708 }
14709 return resultobj;
14710fail:
14711 return NULL;
d55e5bfc
RD
14712}
14713
14714
1bd55598
RD
14715SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14716 PyObject *resultobj = 0;
14717 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14718 size_t result;
14719 void *argp1 = 0 ;
14720 int res1 = 0 ;
14721 PyObject *swig_obj[1] ;
14722
14723 if (!args) SWIG_fail;
14724 swig_obj[0] = args;
14725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14726 if (!SWIG_IsOK(res1)) {
14727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14728 }
14729 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14737 return resultobj;
14738fail:
14739 return NULL;
d55e5bfc
RD
14740}
14741
14742
1bd55598
RD
14743SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14744 PyObject *resultobj = 0;
14745 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14746 PyObject *result = 0 ;
14747 void *argp1 = 0 ;
14748 int res1 = 0 ;
14749 PyObject *swig_obj[1] ;
14750
14751 if (!args) SWIG_fail;
14752 swig_obj[0] = args;
14753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14754 if (!SWIG_IsOK(res1)) {
14755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14756 }
14757 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 resultobj = result;
14765 return resultobj;
14766fail:
14767 return NULL;
14768}
14769
14770
14771SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14772 PyObject *resultobj = 0;
14773 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14774 unsigned long arg2 ;
14775 PyObject *result = 0 ;
14776 void *argp1 = 0 ;
14777 int res1 = 0 ;
14778 unsigned long val2 ;
14779 int ecode2 = 0 ;
14780 PyObject * obj0 = 0 ;
14781 PyObject * obj1 = 0 ;
14782 char * kwnames[] = {
14783 (char *) "self",(char *) "cookie", NULL
14784 };
14785
14786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14788 if (!SWIG_IsOK(res1)) {
14789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14790 }
14791 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14792 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14793 if (!SWIG_IsOK(ecode2)) {
14794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14795 }
14796 arg2 = static_cast< unsigned long >(val2);
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
14799 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14800 wxPyEndAllowThreads(__tstate);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 resultobj = result;
14804 return resultobj;
14805fail:
14806 return NULL;
d55e5bfc
RD
14807}
14808
14809
1bd55598
RD
14810SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14811 PyObject *resultobj = 0;
14812 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14813 wxPoint result;
14814 void *argp1 = 0 ;
14815 int res1 = 0 ;
14816 PyObject *swig_obj[1] ;
14817
14818 if (!args) SWIG_fail;
14819 swig_obj[0] = args;
14820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14821 if (!SWIG_IsOK(res1)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14823 }
14824 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = ((wxPyVListBox const *)arg1)->GetMargins();
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14832 return resultobj;
14833fail:
14834 return NULL;
d55e5bfc
RD
14835}
14836
14837
1bd55598
RD
14838SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14839 PyObject *resultobj = 0;
14840 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14841 wxColour *result = 0 ;
14842 void *argp1 = 0 ;
14843 int res1 = 0 ;
14844 PyObject *swig_obj[1] ;
14845
14846 if (!args) SWIG_fail;
14847 swig_obj[0] = args;
14848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14849 if (!SWIG_IsOK(res1)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14851 }
14852 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14855 {
1bd55598
RD
14856 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14857 result = (wxColour *) &_result_ref;
36ed4f51 14858 }
1bd55598
RD
14859 wxPyEndAllowThreads(__tstate);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14863 return resultobj;
14864fail:
14865 return NULL;
14866}
14867
14868
14869SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14870 PyObject *resultobj = 0;
14871 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14872 size_t arg2 ;
14873 void *argp1 = 0 ;
14874 int res1 = 0 ;
14875 size_t val2 ;
14876 int ecode2 = 0 ;
14877 PyObject * obj0 = 0 ;
14878 PyObject * obj1 = 0 ;
14879 char * kwnames[] = {
14880 (char *) "self",(char *) "count", NULL
14881 };
14882
14883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14885 if (!SWIG_IsOK(res1)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14887 }
14888 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14889 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14890 if (!SWIG_IsOK(ecode2)) {
14891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14892 }
14893 arg2 = static_cast< size_t >(val2);
14894 {
14895 PyThreadState* __tstate = wxPyBeginAllowThreads();
14896 (arg1)->SetItemCount(arg2);
14897 wxPyEndAllowThreads(__tstate);
14898 if (PyErr_Occurred()) SWIG_fail;
14899 }
14900 resultobj = SWIG_Py_Void();
14901 return resultobj;
14902fail:
14903 return NULL;
d55e5bfc
RD
14904}
14905
14906
1bd55598
RD
14907SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14908 PyObject *resultobj = 0;
14909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14910 void *argp1 = 0 ;
14911 int res1 = 0 ;
14912 PyObject *swig_obj[1] ;
14913
14914 if (!args) SWIG_fail;
14915 swig_obj[0] = args;
14916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14917 if (!SWIG_IsOK(res1)) {
14918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14919 }
14920 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14921 {
14922 PyThreadState* __tstate = wxPyBeginAllowThreads();
14923 (arg1)->Clear();
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
14927 resultobj = SWIG_Py_Void();
14928 return resultobj;
14929fail:
14930 return NULL;
14931}
14932
14933
14934SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj = 0;
14936 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14937 int arg2 ;
14938 void *argp1 = 0 ;
14939 int res1 = 0 ;
14940 int val2 ;
14941 int ecode2 = 0 ;
14942 PyObject * obj0 = 0 ;
14943 PyObject * obj1 = 0 ;
14944 char * kwnames[] = {
14945 (char *) "self",(char *) "selection", NULL
14946 };
14947
14948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14950 if (!SWIG_IsOK(res1)) {
14951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14952 }
14953 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14954 ecode2 = SWIG_AsVal_int(obj1, &val2);
14955 if (!SWIG_IsOK(ecode2)) {
14956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14957 }
14958 arg2 = static_cast< int >(val2);
14959 {
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 (arg1)->SetSelection(arg2);
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 resultobj = SWIG_Py_Void();
14966 return resultobj;
14967fail:
14968 return NULL;
14969}
14970
14971
14972SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14973 PyObject *resultobj = 0;
14974 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14975 size_t arg2 ;
14976 bool arg3 = (bool) true ;
14977 bool result;
14978 void *argp1 = 0 ;
14979 int res1 = 0 ;
14980 size_t val2 ;
14981 int ecode2 = 0 ;
14982 bool val3 ;
14983 int ecode3 = 0 ;
14984 PyObject * obj0 = 0 ;
14985 PyObject * obj1 = 0 ;
14986 PyObject * obj2 = 0 ;
14987 char * kwnames[] = {
14988 (char *) "self",(char *) "item",(char *) "select", NULL
14989 };
14990
14991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14993 if (!SWIG_IsOK(res1)) {
14994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14995 }
14996 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14997 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14998 if (!SWIG_IsOK(ecode2)) {
14999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15000 }
15001 arg2 = static_cast< size_t >(val2);
15002 if (obj2) {
15003 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15004 if (!SWIG_IsOK(ecode3)) {
15005 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15006 }
15007 arg3 = static_cast< bool >(val3);
15008 }
15009 {
15010 PyThreadState* __tstate = wxPyBeginAllowThreads();
15011 result = (bool)(arg1)->Select(arg2,arg3);
15012 wxPyEndAllowThreads(__tstate);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 {
15016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15017 }
15018 return resultobj;
15019fail:
15020 return NULL;
15021}
15022
15023
15024SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj = 0;
15026 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15027 size_t arg2 ;
15028 size_t arg3 ;
15029 bool result;
15030 void *argp1 = 0 ;
15031 int res1 = 0 ;
15032 size_t val2 ;
15033 int ecode2 = 0 ;
15034 size_t val3 ;
15035 int ecode3 = 0 ;
15036 PyObject * obj0 = 0 ;
15037 PyObject * obj1 = 0 ;
15038 PyObject * obj2 = 0 ;
15039 char * kwnames[] = {
2131d850 15040 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
15041 };
15042
15043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15045 if (!SWIG_IsOK(res1)) {
15046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15047 }
15048 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15049 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15050 if (!SWIG_IsOK(ecode2)) {
15051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15052 }
15053 arg2 = static_cast< size_t >(val2);
15054 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15055 if (!SWIG_IsOK(ecode3)) {
15056 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15057 }
15058 arg3 = static_cast< size_t >(val3);
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 result = (bool)(arg1)->SelectRange(arg2,arg3);
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 {
15066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15067 }
15068 return resultobj;
15069fail:
15070 return NULL;
15071}
15072
15073
15074SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15075 PyObject *resultobj = 0;
15076 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15077 size_t arg2 ;
15078 void *argp1 = 0 ;
15079 int res1 = 0 ;
15080 size_t val2 ;
15081 int ecode2 = 0 ;
15082 PyObject * obj0 = 0 ;
15083 PyObject * obj1 = 0 ;
15084 char * kwnames[] = {
15085 (char *) "self",(char *) "item", NULL
15086 };
15087
15088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15090 if (!SWIG_IsOK(res1)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15092 }
15093 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15094 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15095 if (!SWIG_IsOK(ecode2)) {
15096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15097 }
15098 arg2 = static_cast< size_t >(val2);
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
15101 (arg1)->Toggle(arg2);
15102 wxPyEndAllowThreads(__tstate);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 }
15105 resultobj = SWIG_Py_Void();
15106 return resultobj;
15107fail:
15108 return NULL;
d55e5bfc
RD
15109}
15110
15111
1bd55598
RD
15112SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15113 PyObject *resultobj = 0;
15114 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15115 bool result;
15116 void *argp1 = 0 ;
15117 int res1 = 0 ;
15118 PyObject *swig_obj[1] ;
15119
15120 if (!args) SWIG_fail;
15121 swig_obj[0] = args;
15122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15123 if (!SWIG_IsOK(res1)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15125 }
15126 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 result = (bool)(arg1)->SelectAll();
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 {
15134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15135 }
15136 return resultobj;
15137fail:
15138 return NULL;
d55e5bfc
RD
15139}
15140
15141
1bd55598
RD
15142SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15143 PyObject *resultobj = 0;
15144 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15145 bool result;
15146 void *argp1 = 0 ;
15147 int res1 = 0 ;
15148 PyObject *swig_obj[1] ;
15149
15150 if (!args) SWIG_fail;
15151 swig_obj[0] = args;
15152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15153 if (!SWIG_IsOK(res1)) {
15154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15155 }
15156 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
15159 result = (bool)(arg1)->DeselectAll();
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 {
15164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15165 }
15166 return resultobj;
15167fail:
15168 return NULL;
15169}
15170
15171
15172SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15173 PyObject *resultobj = 0;
15174 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15175 wxPoint *arg2 = 0 ;
15176 void *argp1 = 0 ;
15177 int res1 = 0 ;
15178 wxPoint temp2 ;
15179 PyObject * obj0 = 0 ;
15180 PyObject * obj1 = 0 ;
15181 char * kwnames[] = {
15182 (char *) "self",(char *) "pt", NULL
15183 };
15184
15185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15187 if (!SWIG_IsOK(res1)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15189 }
15190 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15191 {
15192 arg2 = &temp2;
15193 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15194 }
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 (arg1)->SetMargins((wxPoint const &)*arg2);
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 resultobj = SWIG_Py_Void();
15202 return resultobj;
15203fail:
15204 return NULL;
15205}
15206
15207
15208SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj = 0;
15210 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15211 int arg2 ;
15212 int arg3 ;
15213 void *argp1 = 0 ;
15214 int res1 = 0 ;
15215 int val2 ;
15216 int ecode2 = 0 ;
15217 int val3 ;
15218 int ecode3 = 0 ;
15219 PyObject * obj0 = 0 ;
15220 PyObject * obj1 = 0 ;
15221 PyObject * obj2 = 0 ;
15222 char * kwnames[] = {
15223 (char *) "self",(char *) "x",(char *) "y", NULL
15224 };
15225
15226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15228 if (!SWIG_IsOK(res1)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15230 }
15231 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15232 ecode2 = SWIG_AsVal_int(obj1, &val2);
15233 if (!SWIG_IsOK(ecode2)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15235 }
15236 arg2 = static_cast< int >(val2);
15237 ecode3 = SWIG_AsVal_int(obj2, &val3);
15238 if (!SWIG_IsOK(ecode3)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15240 }
15241 arg3 = static_cast< int >(val3);
15242 {
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 (arg1)->SetMargins(arg2,arg3);
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 resultobj = SWIG_Py_Void();
15249 return resultobj;
15250fail:
15251 return NULL;
15252}
15253
15254
15255SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15256 PyObject *resultobj = 0;
15257 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15258 wxColour *arg2 = 0 ;
15259 void *argp1 = 0 ;
15260 int res1 = 0 ;
15261 wxColour temp2 ;
15262 PyObject * obj0 = 0 ;
15263 PyObject * obj1 = 0 ;
15264 char * kwnames[] = {
15265 (char *) "self",(char *) "col", NULL
15266 };
15267
15268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15270 if (!SWIG_IsOK(res1)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15272 }
15273 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15274 {
15275 arg2 = &temp2;
15276 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15277 }
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 resultobj = SWIG_Py_Void();
15285 return resultobj;
15286fail:
15287 return NULL;
15288}
15289
15290
1c71765a
RD
15291SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15292 PyObject *resultobj = 0;
15293 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15294 wxDC *arg2 = 0 ;
15295 wxRect *arg3 = 0 ;
15296 size_t arg4 ;
15297 void *argp1 = 0 ;
15298 int res1 = 0 ;
15299 void *argp2 = 0 ;
15300 int res2 = 0 ;
15301 wxRect temp3 ;
15302 size_t val4 ;
15303 int ecode4 = 0 ;
15304 PyObject * obj0 = 0 ;
15305 PyObject * obj1 = 0 ;
15306 PyObject * obj2 = 0 ;
15307 PyObject * obj3 = 0 ;
15308 char * kwnames[] = {
15309 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15310 };
15311
15312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15314 if (!SWIG_IsOK(res1)) {
15315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15316 }
15317 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15318 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15319 if (!SWIG_IsOK(res2)) {
15320 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15321 }
15322 if (!argp2) {
15323 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15324 }
15325 arg2 = reinterpret_cast< wxDC * >(argp2);
15326 {
15327 arg3 = &temp3;
15328 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15329 }
15330 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15331 if (!SWIG_IsOK(ecode4)) {
15332 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15333 }
15334 arg4 = static_cast< size_t >(val4);
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 resultobj = SWIG_Py_Void();
15342 return resultobj;
15343fail:
15344 return NULL;
15345}
15346
15347
15348SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15349 PyObject *resultobj = 0;
15350 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15351 wxDC *arg2 = 0 ;
15352 wxRect *arg3 = 0 ;
15353 size_t arg4 ;
15354 void *argp1 = 0 ;
15355 int res1 = 0 ;
15356 void *argp2 = 0 ;
15357 int res2 = 0 ;
15358 wxRect temp3 ;
15359 size_t val4 ;
15360 int ecode4 = 0 ;
15361 PyObject * obj0 = 0 ;
15362 PyObject * obj1 = 0 ;
15363 PyObject * obj2 = 0 ;
15364 PyObject * obj3 = 0 ;
15365 char * kwnames[] = {
15366 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15367 };
15368
15369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15371 if (!SWIG_IsOK(res1)) {
15372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15373 }
15374 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15375 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15376 if (!SWIG_IsOK(res2)) {
15377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15378 }
15379 if (!argp2) {
15380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15381 }
15382 arg2 = reinterpret_cast< wxDC * >(argp2);
15383 {
15384 arg3 = &temp3;
15385 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15386 }
15387 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15388 if (!SWIG_IsOK(ecode4)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15390 }
15391 arg4 = static_cast< size_t >(val4);
15392 {
15393 PyThreadState* __tstate = wxPyBeginAllowThreads();
15394 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 resultobj = SWIG_Py_Void();
15399 return resultobj;
15400fail:
15401 return NULL;
15402}
15403
15404
1bd55598
RD
15405SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15406 PyObject *obj;
15407 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15409 return SWIG_Py_Void();
15410}
15411
15412SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15413 return SWIG_Python_InitShadowInstance(args);
15414}
15415
15416SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj = 0;
15418 wxWindow *arg1 = (wxWindow *) 0 ;
15419 int arg2 = (int) wxID_ANY ;
15420 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15421 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15422 wxSize const &arg4_defvalue = wxDefaultSize ;
15423 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15424 long arg5 = (long) 0 ;
15425 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15426 wxString *arg6 = (wxString *) &arg6_defvalue ;
15427 wxPyHtmlListBox *result = 0 ;
15428 void *argp1 = 0 ;
15429 int res1 = 0 ;
15430 int val2 ;
15431 int ecode2 = 0 ;
15432 wxPoint temp3 ;
15433 wxSize temp4 ;
15434 long val5 ;
15435 int ecode5 = 0 ;
15436 bool temp6 = false ;
15437 PyObject * obj0 = 0 ;
15438 PyObject * obj1 = 0 ;
15439 PyObject * obj2 = 0 ;
15440 PyObject * obj3 = 0 ;
15441 PyObject * obj4 = 0 ;
15442 PyObject * obj5 = 0 ;
15443 char * kwnames[] = {
15444 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15445 };
15446
15447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15449 if (!SWIG_IsOK(res1)) {
15450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15451 }
15452 arg1 = reinterpret_cast< wxWindow * >(argp1);
15453 if (obj1) {
15454 ecode2 = SWIG_AsVal_int(obj1, &val2);
15455 if (!SWIG_IsOK(ecode2)) {
15456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15457 }
15458 arg2 = static_cast< int >(val2);
15459 }
15460 if (obj2) {
d55e5bfc 15461 {
1bd55598
RD
15462 arg3 = &temp3;
15463 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 15464 }
1bd55598
RD
15465 }
15466 if (obj3) {
36ed4f51 15467 {
1bd55598
RD
15468 arg4 = &temp4;
15469 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15470 }
1bd55598
RD
15471 }
15472 if (obj4) {
15473 ecode5 = SWIG_AsVal_long(obj4, &val5);
15474 if (!SWIG_IsOK(ecode5)) {
15475 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15476 }
15477 arg5 = static_cast< long >(val5);
15478 }
15479 if (obj5) {
36ed4f51 15480 {
1bd55598
RD
15481 arg6 = wxString_in_helper(obj5);
15482 if (arg6 == NULL) SWIG_fail;
15483 temp6 = true;
36ed4f51 15484 }
1bd55598
RD
15485 }
15486 {
15487 if (!wxPyCheckForApp()) SWIG_fail;
15488 PyThreadState* __tstate = wxPyBeginAllowThreads();
15489 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15494 {
15495 if (temp6)
15496 delete arg6;
15497 }
15498 return resultobj;
15499fail:
15500 {
15501 if (temp6)
15502 delete arg6;
15503 }
15504 return NULL;
d55e5bfc
RD
15505}
15506
15507
1bd55598
RD
15508SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15509 PyObject *resultobj = 0;
15510 wxPyHtmlListBox *result = 0 ;
15511
15512 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15513 {
15514 if (!wxPyCheckForApp()) SWIG_fail;
15515 PyThreadState* __tstate = wxPyBeginAllowThreads();
15516 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15521 return resultobj;
15522fail:
15523 return NULL;
15524}
15525
15526
15527SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15528 PyObject *resultobj = 0;
15529 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15530 PyObject *arg2 = (PyObject *) 0 ;
15531 PyObject *arg3 = (PyObject *) 0 ;
15532 void *argp1 = 0 ;
15533 int res1 = 0 ;
15534 PyObject * obj0 = 0 ;
15535 PyObject * obj1 = 0 ;
15536 PyObject * obj2 = 0 ;
15537 char * kwnames[] = {
15538 (char *) "self",(char *) "self",(char *) "_class", NULL
15539 };
15540
15541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15543 if (!SWIG_IsOK(res1)) {
15544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15545 }
15546 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15547 arg2 = obj1;
15548 arg3 = obj2;
15549 {
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 (arg1)->_setCallbackInfo(arg2,arg3);
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 resultobj = SWIG_Py_Void();
15556 return resultobj;
15557fail:
15558 return NULL;
15559}
15560
15561
15562SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj = 0;
15564 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15565 wxWindow *arg2 = (wxWindow *) 0 ;
15566 int arg3 = (int) wxID_ANY ;
15567 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15568 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15569 wxSize const &arg5_defvalue = wxDefaultSize ;
15570 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15571 long arg6 = (long) 0 ;
15572 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15573 wxString *arg7 = (wxString *) &arg7_defvalue ;
15574 bool result;
15575 void *argp1 = 0 ;
15576 int res1 = 0 ;
15577 void *argp2 = 0 ;
15578 int res2 = 0 ;
15579 int val3 ;
15580 int ecode3 = 0 ;
15581 wxPoint temp4 ;
15582 wxSize temp5 ;
15583 long val6 ;
15584 int ecode6 = 0 ;
15585 bool temp7 = false ;
15586 PyObject * obj0 = 0 ;
15587 PyObject * obj1 = 0 ;
15588 PyObject * obj2 = 0 ;
15589 PyObject * obj3 = 0 ;
15590 PyObject * obj4 = 0 ;
15591 PyObject * obj5 = 0 ;
15592 PyObject * obj6 = 0 ;
15593 char * kwnames[] = {
15594 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15595 };
15596
15597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15599 if (!SWIG_IsOK(res1)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15601 }
15602 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15603 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15604 if (!SWIG_IsOK(res2)) {
15605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15606 }
15607 arg2 = reinterpret_cast< wxWindow * >(argp2);
15608 if (obj2) {
15609 ecode3 = SWIG_AsVal_int(obj2, &val3);
15610 if (!SWIG_IsOK(ecode3)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15612 }
15613 arg3 = static_cast< int >(val3);
15614 }
15615 if (obj3) {
36ed4f51 15616 {
1bd55598
RD
15617 arg4 = &temp4;
15618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15619 }
1bd55598
RD
15620 }
15621 if (obj4) {
d55e5bfc 15622 {
1bd55598
RD
15623 arg5 = &temp5;
15624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15625 }
1bd55598
RD
15626 }
15627 if (obj5) {
15628 ecode6 = SWIG_AsVal_long(obj5, &val6);
15629 if (!SWIG_IsOK(ecode6)) {
15630 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15631 }
15632 arg6 = static_cast< long >(val6);
15633 }
15634 if (obj6) {
36ed4f51 15635 {
1bd55598
RD
15636 arg7 = wxString_in_helper(obj6);
15637 if (arg7 == NULL) SWIG_fail;
15638 temp7 = true;
36ed4f51 15639 }
1bd55598
RD
15640 }
15641 {
15642 PyThreadState* __tstate = wxPyBeginAllowThreads();
15643 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 {
15648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15649 }
15650 {
15651 if (temp7)
15652 delete arg7;
15653 }
15654 return resultobj;
15655fail:
15656 {
15657 if (temp7)
15658 delete arg7;
15659 }
15660 return NULL;
15661}
15662
15663
15664SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj = 0;
15666 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15667 size_t arg2 ;
15668 void *argp1 = 0 ;
15669 int res1 = 0 ;
15670 size_t val2 ;
15671 int ecode2 = 0 ;
15672 PyObject * obj0 = 0 ;
15673 PyObject * obj1 = 0 ;
15674 char * kwnames[] = {
15675 (char *) "self",(char *) "count", NULL
15676 };
15677
15678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15680 if (!SWIG_IsOK(res1)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15682 }
15683 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15684 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15685 if (!SWIG_IsOK(ecode2)) {
15686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15687 }
15688 arg2 = static_cast< size_t >(val2);
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 (arg1)->SetItemCount(arg2);
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 resultobj = SWIG_Py_Void();
15696 return resultobj;
15697fail:
15698 return NULL;
d55e5bfc
RD
15699}
15700
15701
1bd55598
RD
15702SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15703 PyObject *resultobj = 0;
15704 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15705 wxFileSystem *result = 0 ;
15706 void *argp1 = 0 ;
15707 int res1 = 0 ;
15708 PyObject *swig_obj[1] ;
15709
15710 if (!args) SWIG_fail;
15711 swig_obj[0] = args;
15712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15713 if (!SWIG_IsOK(res1)) {
15714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15715 }
15716 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15719 {
1bd55598
RD
15720 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15721 result = (wxFileSystem *) &_result_ref;
36ed4f51 15722 }
1bd55598
RD
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
15726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15727 return resultobj;
15728fail:
15729 return NULL;
d55e5bfc
RD
15730}
15731
15732
e9d6f3a4
RD
15733SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15734 PyObject *resultobj = 0;
15735 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15736 size_t arg2 ;
15737 wxHtmlLinkInfo *arg3 = 0 ;
15738 void *argp1 = 0 ;
15739 int res1 = 0 ;
15740 size_t val2 ;
15741 int ecode2 = 0 ;
15742 void *argp3 = 0 ;
15743 int res3 = 0 ;
15744 PyObject * obj0 = 0 ;
15745 PyObject * obj1 = 0 ;
15746 PyObject * obj2 = 0 ;
15747 char * kwnames[] = {
15748 (char *) "self",(char *) "n",(char *) "link", NULL
15749 };
15750
15751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15753 if (!SWIG_IsOK(res1)) {
15754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15755 }
15756 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15757 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15758 if (!SWIG_IsOK(ecode2)) {
15759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15760 }
15761 arg2 = static_cast< size_t >(val2);
15762 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15763 if (!SWIG_IsOK(res3)) {
15764 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15765 }
15766 if (!argp3) {
15767 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15768 }
15769 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15770 {
15771 PyThreadState* __tstate = wxPyBeginAllowThreads();
15772 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15773 wxPyEndAllowThreads(__tstate);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 resultobj = SWIG_Py_Void();
15777 return resultobj;
15778fail:
15779 return NULL;
15780}
15781
15782
1bd55598
RD
15783SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15784 PyObject *obj;
15785 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15786 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15787 return SWIG_Py_Void();
d55e5bfc
RD
15788}
15789
1bd55598
RD
15790SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15791 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
15792}
15793
1bd55598
RD
15794SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15795 PyObject *resultobj = 0;
15796 wxPyTaskBarIcon *result = 0 ;
15797
15798 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15799 {
15800 if (!wxPyCheckForApp()) SWIG_fail;
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15807 return resultobj;
15808fail:
15809 return NULL;
d55e5bfc
RD
15810}
15811
15812
1bd55598
RD
15813SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15814 PyObject *resultobj = 0;
15815 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15816 void *argp1 = 0 ;
15817 int res1 = 0 ;
15818 PyObject *swig_obj[1] ;
15819
15820 if (!args) SWIG_fail;
15821 swig_obj[0] = args;
15822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15823 if (!SWIG_IsOK(res1)) {
15824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15825 }
15826 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15827 {
15828 PyThreadState* __tstate = wxPyBeginAllowThreads();
15829 delete arg1;
d55e5bfc 15830
1bd55598
RD
15831 wxPyEndAllowThreads(__tstate);
15832 if (PyErr_Occurred()) SWIG_fail;
15833 }
15834 resultobj = SWIG_Py_Void();
15835 return resultobj;
15836fail:
15837 return NULL;
15838}
15839
15840
15841SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15842 PyObject *resultobj = 0;
15843 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15844 PyObject *arg2 = (PyObject *) 0 ;
15845 PyObject *arg3 = (PyObject *) 0 ;
15846 int arg4 ;
15847 void *argp1 = 0 ;
15848 int res1 = 0 ;
15849 int val4 ;
15850 int ecode4 = 0 ;
15851 PyObject * obj0 = 0 ;
15852 PyObject * obj1 = 0 ;
15853 PyObject * obj2 = 0 ;
15854 PyObject * obj3 = 0 ;
15855 char * kwnames[] = {
15856 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15857 };
15858
15859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15861 if (!SWIG_IsOK(res1)) {
15862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15863 }
15864 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15865 arg2 = obj1;
15866 arg3 = obj2;
15867 ecode4 = SWIG_AsVal_int(obj3, &val4);
15868 if (!SWIG_IsOK(ecode4)) {
15869 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15870 }
15871 arg4 = static_cast< int >(val4);
15872 {
15873 PyThreadState* __tstate = wxPyBeginAllowThreads();
15874 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15875 wxPyEndAllowThreads(__tstate);
15876 if (PyErr_Occurred()) SWIG_fail;
15877 }
15878 resultobj = SWIG_Py_Void();
15879 return resultobj;
15880fail:
15881 return NULL;
d55e5bfc
RD
15882}
15883
15884
1bd55598
RD
15885SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15886 PyObject *resultobj = 0;
15887 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15888 void *argp1 = 0 ;
15889 int res1 = 0 ;
15890 PyObject *swig_obj[1] ;
15891
15892 if (!args) SWIG_fail;
15893 swig_obj[0] = args;
15894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15895 if (!SWIG_IsOK(res1)) {
15896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15897 }
15898 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15899 {
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 wxPyTaskBarIcon_Destroy(arg1);
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 resultobj = SWIG_Py_Void();
15906 return resultobj;
15907fail:
15908 return NULL;
d55e5bfc
RD
15909}
15910
15911
1bd55598
RD
15912SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15913 PyObject *resultobj = 0;
15914 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15915 bool result;
15916 void *argp1 = 0 ;
15917 int res1 = 0 ;
15918 PyObject *swig_obj[1] ;
15919
15920 if (!args) SWIG_fail;
15921 swig_obj[0] = args;
15922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15923 if (!SWIG_IsOK(res1)) {
15924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15925 }
15926 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15927 {
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 {
15934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15935 }
15936 return resultobj;
15937fail:
15938 return NULL;
d55e5bfc
RD
15939}
15940
15941
1bd55598
RD
15942SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15943 PyObject *resultobj = 0;
15944 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15945 bool result;
15946 void *argp1 = 0 ;
15947 int res1 = 0 ;
15948 PyObject *swig_obj[1] ;
15949
15950 if (!args) SWIG_fail;
15951 swig_obj[0] = args;
15952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15953 if (!SWIG_IsOK(res1)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15955 }
15956 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 {
15964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15965 }
15966 return resultobj;
15967fail:
15968 return NULL;
15969}
15970
15971
15972SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15973 PyObject *resultobj = 0;
15974 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15975 wxIcon *arg2 = 0 ;
15976 wxString const &arg3_defvalue = wxPyEmptyString ;
15977 wxString *arg3 = (wxString *) &arg3_defvalue ;
15978 bool result;
15979 void *argp1 = 0 ;
15980 int res1 = 0 ;
15981 void *argp2 = 0 ;
15982 int res2 = 0 ;
15983 bool temp3 = false ;
15984 PyObject * obj0 = 0 ;
15985 PyObject * obj1 = 0 ;
15986 PyObject * obj2 = 0 ;
15987 char * kwnames[] = {
15988 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15989 };
15990
15991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15993 if (!SWIG_IsOK(res1)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15995 }
15996 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15997 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15998 if (!SWIG_IsOK(res2)) {
15999 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16000 }
16001 if (!argp2) {
16002 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16003 }
16004 arg2 = reinterpret_cast< wxIcon * >(argp2);
16005 if (obj2) {
36ed4f51 16006 {
1bd55598
RD
16007 arg3 = wxString_in_helper(obj2);
16008 if (arg3 == NULL) SWIG_fail;
16009 temp3 = true;
36ed4f51 16010 }
1bd55598
RD
16011 }
16012 {
16013 PyThreadState* __tstate = wxPyBeginAllowThreads();
16014 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 {
16019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16020 }
16021 {
16022 if (temp3)
16023 delete arg3;
16024 }
16025 return resultobj;
16026fail:
16027 {
16028 if (temp3)
16029 delete arg3;
16030 }
16031 return NULL;
d55e5bfc
RD
16032}
16033
16034
1bd55598
RD
16035SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16036 PyObject *resultobj = 0;
16037 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16038 bool result;
16039 void *argp1 = 0 ;
16040 int res1 = 0 ;
16041 PyObject *swig_obj[1] ;
16042
16043 if (!args) SWIG_fail;
16044 swig_obj[0] = args;
16045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16046 if (!SWIG_IsOK(res1)) {
16047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16048 }
16049 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16050 {
16051 PyThreadState* __tstate = wxPyBeginAllowThreads();
16052 result = (bool)(arg1)->RemoveIcon();
16053 wxPyEndAllowThreads(__tstate);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 {
16057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16058 }
16059 return resultobj;
16060fail:
16061 return NULL;
16062}
16063
16064
16065SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16066 PyObject *resultobj = 0;
16067 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16068 wxMenu *arg2 = (wxMenu *) 0 ;
16069 bool result;
16070 void *argp1 = 0 ;
16071 int res1 = 0 ;
16072 void *argp2 = 0 ;
16073 int res2 = 0 ;
16074 PyObject * obj0 = 0 ;
16075 PyObject * obj1 = 0 ;
16076 char * kwnames[] = {
16077 (char *) "self",(char *) "menu", NULL
16078 };
16079
16080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16082 if (!SWIG_IsOK(res1)) {
16083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16084 }
16085 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16086 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16087 if (!SWIG_IsOK(res2)) {
16088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16089 }
16090 arg2 = reinterpret_cast< wxMenu * >(argp2);
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 result = (bool)(arg1)->PopupMenu(arg2);
16094 wxPyEndAllowThreads(__tstate);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
16097 {
16098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16099 }
16100 return resultobj;
16101fail:
16102 return NULL;
d55e5bfc
RD
16103}
16104
16105
1bd55598
RD
16106SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16107 PyObject *obj;
16108 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16109 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16110 return SWIG_Py_Void();
d55e5bfc
RD
16111}
16112
1bd55598
RD
16113SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16114 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16115}
16116
1bd55598
RD
16117SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16118 PyObject *resultobj = 0;
16119 wxEventType arg1 ;
16120 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16121 wxTaskBarIconEvent *result = 0 ;
16122 int val1 ;
16123 int ecode1 = 0 ;
16124 void *argp2 = 0 ;
16125 int res2 = 0 ;
16126 PyObject * obj0 = 0 ;
16127 PyObject * obj1 = 0 ;
16128 char * kwnames[] = {
16129 (char *) "evtType",(char *) "tbIcon", NULL
16130 };
16131
16132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16133 ecode1 = SWIG_AsVal_int(obj0, &val1);
16134 if (!SWIG_IsOK(ecode1)) {
16135 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16136 }
16137 arg1 = static_cast< wxEventType >(val1);
16138 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16139 if (!SWIG_IsOK(res2)) {
16140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16141 }
16142 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16150 return resultobj;
16151fail:
16152 return NULL;
d55e5bfc
RD
16153}
16154
16155
1bd55598
RD
16156SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16157 PyObject *obj;
16158 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16159 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16160 return SWIG_Py_Void();
d55e5bfc
RD
16161}
16162
1bd55598
RD
16163SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16164 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16165}
16166
1bd55598
RD
16167SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16168 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16169 return 1;
d55e5bfc
RD
16170}
16171
16172
1bd55598
RD
16173SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16174 PyObject *pyobj = 0;
16175
16176 {
16177#if wxUSE_UNICODE
16178 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16179#else
16180 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16181#endif
16182 }
16183 return pyobj;
d55e5bfc
RD
16184}
16185
16186
1bd55598
RD
16187SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16188 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16189 return 1;
d55e5bfc
RD
16190}
16191
16192
1bd55598
RD
16193SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16194 PyObject *pyobj = 0;
16195
16196 {
16197#if wxUSE_UNICODE
16198 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16199#else
16200 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16201#endif
16202 }
16203 return pyobj;
d55e5bfc
RD
16204}
16205
16206
1bd55598
RD
16207SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16208 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16209 return 1;
d55e5bfc
RD
16210}
16211
16212
1bd55598
RD
16213SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16214 PyObject *pyobj = 0;
16215
16216 {
16217#if wxUSE_UNICODE
16218 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16219#else
16220 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16221#endif
16222 }
16223 return pyobj;
d55e5bfc
RD
16224}
16225
16226
1bd55598
RD
16227SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16228 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16229 return 1;
d55e5bfc
RD
16230}
16231
16232
1bd55598
RD
16233SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16234 PyObject *pyobj = 0;
16235
16236 {
16237#if wxUSE_UNICODE
16238 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16239#else
16240 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16241#endif
16242 }
16243 return pyobj;
d55e5bfc
RD
16244}
16245
16246
1bd55598
RD
16247SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16248 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16249 return 1;
d55e5bfc
RD
16250}
16251
16252
1bd55598
RD
16253SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16254 PyObject *pyobj = 0;
16255
16256 {
16257#if wxUSE_UNICODE
16258 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16259#else
16260 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16261#endif
16262 }
16263 return pyobj;
d55e5bfc
RD
16264}
16265
16266
1bd55598
RD
16267SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16268 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16269 return 1;
d55e5bfc
RD
16270}
16271
16272
1bd55598
RD
16273SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16274 PyObject *pyobj = 0;
16275
16276 {
16277#if wxUSE_UNICODE
16278 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16279#else
16280 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16281#endif
16282 }
16283 return pyobj;
d55e5bfc
RD
16284}
16285
16286
1bd55598
RD
16287SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16288 PyObject *resultobj = 0;
16289 wxColourData *result = 0 ;
16290
16291 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
16294 result = (wxColourData *)new wxColourData();
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16299 return resultobj;
16300fail:
16301 return NULL;
d55e5bfc
RD
16302}
16303
16304
1bd55598
RD
16305SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16306 PyObject *resultobj = 0;
16307 wxColourData *arg1 = (wxColourData *) 0 ;
16308 void *argp1 = 0 ;
16309 int res1 = 0 ;
16310 PyObject *swig_obj[1] ;
16311
16312 if (!args) SWIG_fail;
16313 swig_obj[0] = args;
16314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16315 if (!SWIG_IsOK(res1)) {
16316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16317 }
16318 arg1 = reinterpret_cast< wxColourData * >(argp1);
16319 {
16320 PyThreadState* __tstate = wxPyBeginAllowThreads();
16321 delete arg1;
d55e5bfc 16322
1bd55598
RD
16323 wxPyEndAllowThreads(__tstate);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 }
16326 resultobj = SWIG_Py_Void();
16327 return resultobj;
16328fail:
16329 return NULL;
d55e5bfc
RD
16330}
16331
16332
1bd55598
RD
16333SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16334 PyObject *resultobj = 0;
16335 wxColourData *arg1 = (wxColourData *) 0 ;
16336 bool result;
16337 void *argp1 = 0 ;
16338 int res1 = 0 ;
16339 PyObject *swig_obj[1] ;
16340
16341 if (!args) SWIG_fail;
16342 swig_obj[0] = args;
16343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16344 if (!SWIG_IsOK(res1)) {
16345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16346 }
16347 arg1 = reinterpret_cast< wxColourData * >(argp1);
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 result = (bool)(arg1)->GetChooseFull();
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 {
16355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16356 }
16357 return resultobj;
16358fail:
16359 return NULL;
d55e5bfc
RD
16360}
16361
16362
1bd55598
RD
16363SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16364 PyObject *resultobj = 0;
16365 wxColourData *arg1 = (wxColourData *) 0 ;
16366 wxColour result;
16367 void *argp1 = 0 ;
16368 int res1 = 0 ;
16369 PyObject *swig_obj[1] ;
16370
16371 if (!args) SWIG_fail;
16372 swig_obj[0] = args;
16373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16374 if (!SWIG_IsOK(res1)) {
16375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16376 }
16377 arg1 = reinterpret_cast< wxColourData * >(argp1);
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 result = (arg1)->GetColour();
16381 wxPyEndAllowThreads(__tstate);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 }
16384 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16385 return resultobj;
16386fail:
16387 return NULL;
16388}
16389
16390
16391SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj = 0;
16393 wxColourData *arg1 = (wxColourData *) 0 ;
16394 int arg2 ;
16395 wxColour result;
16396 void *argp1 = 0 ;
16397 int res1 = 0 ;
16398 int val2 ;
16399 int ecode2 = 0 ;
16400 PyObject * obj0 = 0 ;
16401 PyObject * obj1 = 0 ;
16402 char * kwnames[] = {
16403 (char *) "self",(char *) "i", NULL
16404 };
16405
16406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16408 if (!SWIG_IsOK(res1)) {
16409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16410 }
16411 arg1 = reinterpret_cast< wxColourData * >(argp1);
16412 ecode2 = SWIG_AsVal_int(obj1, &val2);
16413 if (!SWIG_IsOK(ecode2)) {
16414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16415 }
16416 arg2 = static_cast< int >(val2);
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 result = (arg1)->GetCustomColour(arg2);
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16424 return resultobj;
16425fail:
16426 return NULL;
16427}
16428
16429
16430SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16431 PyObject *resultobj = 0;
16432 wxColourData *arg1 = (wxColourData *) 0 ;
16433 int arg2 ;
16434 void *argp1 = 0 ;
16435 int res1 = 0 ;
16436 int val2 ;
16437 int ecode2 = 0 ;
16438 PyObject * obj0 = 0 ;
16439 PyObject * obj1 = 0 ;
16440 char * kwnames[] = {
16441 (char *) "self",(char *) "flag", NULL
16442 };
16443
16444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16446 if (!SWIG_IsOK(res1)) {
16447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16448 }
16449 arg1 = reinterpret_cast< wxColourData * >(argp1);
16450 ecode2 = SWIG_AsVal_int(obj1, &val2);
16451 if (!SWIG_IsOK(ecode2)) {
16452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16453 }
16454 arg2 = static_cast< int >(val2);
16455 {
16456 PyThreadState* __tstate = wxPyBeginAllowThreads();
16457 (arg1)->SetChooseFull(arg2);
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 resultobj = SWIG_Py_Void();
16462 return resultobj;
16463fail:
16464 return NULL;
16465}
16466
16467
16468SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj = 0;
16470 wxColourData *arg1 = (wxColourData *) 0 ;
16471 wxColour *arg2 = 0 ;
16472 void *argp1 = 0 ;
16473 int res1 = 0 ;
16474 wxColour temp2 ;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char * kwnames[] = {
16478 (char *) "self",(char *) "colour", NULL
16479 };
16480
16481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16483 if (!SWIG_IsOK(res1)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16485 }
16486 arg1 = reinterpret_cast< wxColourData * >(argp1);
16487 {
16488 arg2 = &temp2;
16489 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16490 }
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
16493 (arg1)->SetColour((wxColour const &)*arg2);
16494 wxPyEndAllowThreads(__tstate);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 }
16497 resultobj = SWIG_Py_Void();
16498 return resultobj;
16499fail:
16500 return NULL;
16501}
16502
16503
16504SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16505 PyObject *resultobj = 0;
16506 wxColourData *arg1 = (wxColourData *) 0 ;
16507 int arg2 ;
16508 wxColour *arg3 = 0 ;
16509 void *argp1 = 0 ;
16510 int res1 = 0 ;
16511 int val2 ;
16512 int ecode2 = 0 ;
16513 wxColour temp3 ;
16514 PyObject * obj0 = 0 ;
16515 PyObject * obj1 = 0 ;
16516 PyObject * obj2 = 0 ;
16517 char * kwnames[] = {
16518 (char *) "self",(char *) "i",(char *) "colour", NULL
16519 };
16520
16521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16523 if (!SWIG_IsOK(res1)) {
16524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16525 }
16526 arg1 = reinterpret_cast< wxColourData * >(argp1);
16527 ecode2 = SWIG_AsVal_int(obj1, &val2);
16528 if (!SWIG_IsOK(ecode2)) {
16529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16530 }
16531 arg2 = static_cast< int >(val2);
16532 {
16533 arg3 = &temp3;
16534 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16535 }
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16539 wxPyEndAllowThreads(__tstate);
16540 if (PyErr_Occurred()) SWIG_fail;
16541 }
16542 resultobj = SWIG_Py_Void();
16543 return resultobj;
16544fail:
16545 return NULL;
d55e5bfc
RD
16546}
16547
16548
1bd55598
RD
16549SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16550 PyObject *obj;
16551 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16552 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16553 return SWIG_Py_Void();
d55e5bfc
RD
16554}
16555
1bd55598
RD
16556SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16557 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16558}
16559
1bd55598
RD
16560SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj = 0;
16562 wxWindow *arg1 = (wxWindow *) 0 ;
16563 wxColourData *arg2 = (wxColourData *) NULL ;
16564 wxColourDialog *result = 0 ;
16565 void *argp1 = 0 ;
16566 int res1 = 0 ;
16567 void *argp2 = 0 ;
16568 int res2 = 0 ;
16569 PyObject * obj0 = 0 ;
16570 PyObject * obj1 = 0 ;
16571 char * kwnames[] = {
16572 (char *) "parent",(char *) "data", NULL
16573 };
16574
16575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16577 if (!SWIG_IsOK(res1)) {
16578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16579 }
16580 arg1 = reinterpret_cast< wxWindow * >(argp1);
16581 if (obj1) {
16582 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16583 if (!SWIG_IsOK(res2)) {
16584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
36ed4f51 16585 }
1bd55598
RD
16586 arg2 = reinterpret_cast< wxColourData * >(argp2);
16587 }
16588 {
16589 if (!wxPyCheckForApp()) SWIG_fail;
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16596 return resultobj;
16597fail:
16598 return NULL;
d55e5bfc
RD
16599}
16600
16601
1bd55598
RD
16602SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16603 PyObject *resultobj = 0;
16604 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16605 wxColourData *result = 0 ;
16606 void *argp1 = 0 ;
16607 int res1 = 0 ;
16608 PyObject *swig_obj[1] ;
16609
16610 if (!args) SWIG_fail;
16611 swig_obj[0] = args;
16612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16613 if (!SWIG_IsOK(res1)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16615 }
16616 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 16619 {
1bd55598
RD
16620 wxColourData &_result_ref = (arg1)->GetColourData();
16621 result = (wxColourData *) &_result_ref;
d55e5bfc 16622 }
1bd55598
RD
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16627 return resultobj;
16628fail:
16629 return NULL;
16630}
16631
16632
16633SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16634 PyObject *obj;
16635 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16636 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16637 return SWIG_Py_Void();
16638}
16639
16640SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16641 return SWIG_Python_InitShadowInstance(args);
16642}
16643
16644SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj = 0;
16646 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16647 wxColour const &arg2_defvalue = wxNullColour ;
16648 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16649 wxString const &arg3_defvalue = wxPyEmptyString ;
16650 wxString *arg3 = (wxString *) &arg3_defvalue ;
16651 wxColour result;
16652 void *argp1 = 0 ;
16653 int res1 = 0 ;
16654 wxColour temp2 ;
16655 bool temp3 = false ;
16656 PyObject * obj0 = 0 ;
16657 PyObject * obj1 = 0 ;
16658 PyObject * obj2 = 0 ;
16659 char * kwnames[] = {
16660 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16661 };
16662
16663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16664 if (obj0) {
16665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16666 if (!SWIG_IsOK(res1)) {
16667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 16668 }
1bd55598
RD
16669 arg1 = reinterpret_cast< wxWindow * >(argp1);
16670 }
16671 if (obj1) {
d55e5bfc 16672 {
1bd55598
RD
16673 arg2 = &temp2;
16674 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 16675 }
1bd55598
RD
16676 }
16677 if (obj2) {
d55e5bfc 16678 {
1bd55598
RD
16679 arg3 = wxString_in_helper(obj2);
16680 if (arg3 == NULL) SWIG_fail;
16681 temp3 = true;
d55e5bfc 16682 }
1bd55598
RD
16683 }
16684 {
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16687 wxPyEndAllowThreads(__tstate);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 }
16690 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16691 {
16692 if (temp3)
16693 delete arg3;
16694 }
16695 return resultobj;
16696fail:
16697 {
16698 if (temp3)
16699 delete arg3;
16700 }
16701 return NULL;
16702}
16703
16704
16705SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj = 0;
16707 wxWindow *arg1 = (wxWindow *) 0 ;
16708 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16709 wxString *arg2 = (wxString *) &arg2_defvalue ;
16710 wxString const &arg3_defvalue = wxPyEmptyString ;
16711 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 16712 long arg4 = (long) wxDD_DEFAULT_STYLE ;
1bd55598
RD
16713 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16714 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16715 wxSize const &arg6_defvalue = wxDefaultSize ;
16716 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16717 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16718 wxString *arg7 = (wxString *) &arg7_defvalue ;
16719 wxDirDialog *result = 0 ;
16720 void *argp1 = 0 ;
16721 int res1 = 0 ;
16722 bool temp2 = false ;
16723 bool temp3 = false ;
16724 long val4 ;
16725 int ecode4 = 0 ;
16726 wxPoint temp5 ;
16727 wxSize temp6 ;
16728 bool temp7 = false ;
16729 PyObject * obj0 = 0 ;
16730 PyObject * obj1 = 0 ;
16731 PyObject * obj2 = 0 ;
16732 PyObject * obj3 = 0 ;
16733 PyObject * obj4 = 0 ;
16734 PyObject * obj5 = 0 ;
16735 PyObject * obj6 = 0 ;
16736 char * kwnames[] = {
16737 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16738 };
16739
16740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16742 if (!SWIG_IsOK(res1)) {
16743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16744 }
16745 arg1 = reinterpret_cast< wxWindow * >(argp1);
16746 if (obj1) {
d55e5bfc 16747 {
1bd55598
RD
16748 arg2 = wxString_in_helper(obj1);
16749 if (arg2 == NULL) SWIG_fail;
16750 temp2 = true;
d55e5bfc 16751 }
1bd55598
RD
16752 }
16753 if (obj2) {
d55e5bfc 16754 {
1bd55598
RD
16755 arg3 = wxString_in_helper(obj2);
16756 if (arg3 == NULL) SWIG_fail;
16757 temp3 = true;
d55e5bfc 16758 }
1bd55598
RD
16759 }
16760 if (obj3) {
16761 ecode4 = SWIG_AsVal_long(obj3, &val4);
16762 if (!SWIG_IsOK(ecode4)) {
16763 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16764 }
16765 arg4 = static_cast< long >(val4);
16766 }
16767 if (obj4) {
d55e5bfc 16768 {
1bd55598
RD
16769 arg5 = &temp5;
16770 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16771 }
1bd55598
RD
16772 }
16773 if (obj5) {
16774 {
16775 arg6 = &temp6;
16776 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16777 }
1bd55598
RD
16778 }
16779 if (obj6) {
d55e5bfc 16780 {
1bd55598
RD
16781 arg7 = wxString_in_helper(obj6);
16782 if (arg7 == NULL) SWIG_fail;
16783 temp7 = true;
16784 }
16785 }
16786 {
16787 if (!wxPyCheckForApp()) SWIG_fail;
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16790 wxPyEndAllowThreads(__tstate);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 }
16793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16794 {
16795 if (temp2)
16796 delete arg2;
16797 }
16798 {
16799 if (temp3)
16800 delete arg3;
16801 }
16802 {
16803 if (temp7)
16804 delete arg7;
16805 }
16806 return resultobj;
16807fail:
16808 {
16809 if (temp2)
16810 delete arg2;
16811 }
16812 {
16813 if (temp3)
16814 delete arg3;
16815 }
16816 {
16817 if (temp7)
16818 delete arg7;
16819 }
16820 return NULL;
d55e5bfc
RD
16821}
16822
16823
1bd55598
RD
16824SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16825 PyObject *resultobj = 0;
16826 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16827 wxString result;
16828 void *argp1 = 0 ;
16829 int res1 = 0 ;
16830 PyObject *swig_obj[1] ;
16831
16832 if (!args) SWIG_fail;
16833 swig_obj[0] = args;
16834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16835 if (!SWIG_IsOK(res1)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16837 }
16838 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16839 {
16840 PyThreadState* __tstate = wxPyBeginAllowThreads();
16841 result = (arg1)->GetPath();
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 {
16846#if wxUSE_UNICODE
16847 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16848#else
16849 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16850#endif
16851 }
16852 return resultobj;
16853fail:
16854 return NULL;
d55e5bfc
RD
16855}
16856
16857
1bd55598
RD
16858SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16859 PyObject *resultobj = 0;
16860 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16861 wxString result;
16862 void *argp1 = 0 ;
16863 int res1 = 0 ;
16864 PyObject *swig_obj[1] ;
16865
16866 if (!args) SWIG_fail;
16867 swig_obj[0] = args;
16868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16869 if (!SWIG_IsOK(res1)) {
16870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16871 }
16872 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 result = (arg1)->GetMessage();
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 {
16880#if wxUSE_UNICODE
16881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16882#else
16883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16884#endif
16885 }
16886 return resultobj;
16887fail:
16888 return NULL;
d55e5bfc
RD
16889}
16890
16891
1bd55598
RD
16892SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16893 PyObject *resultobj = 0;
16894 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16895 wxString *arg2 = 0 ;
16896 void *argp1 = 0 ;
16897 int res1 = 0 ;
16898 bool temp2 = false ;
16899 PyObject * obj0 = 0 ;
16900 PyObject * obj1 = 0 ;
16901 char * kwnames[] = {
16902 (char *) "self",(char *) "message", NULL
16903 };
16904
16905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16907 if (!SWIG_IsOK(res1)) {
16908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16909 }
16910 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16911 {
16912 arg2 = wxString_in_helper(obj1);
16913 if (arg2 == NULL) SWIG_fail;
16914 temp2 = true;
16915 }
16916 {
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 (arg1)->SetMessage((wxString const &)*arg2);
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 resultobj = SWIG_Py_Void();
16923 {
16924 if (temp2)
16925 delete arg2;
16926 }
16927 return resultobj;
16928fail:
16929 {
16930 if (temp2)
16931 delete arg2;
16932 }
16933 return NULL;
d55e5bfc
RD
16934}
16935
16936
1bd55598
RD
16937SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16938 PyObject *resultobj = 0;
16939 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16940 wxString *arg2 = 0 ;
16941 void *argp1 = 0 ;
16942 int res1 = 0 ;
16943 bool temp2 = false ;
16944 PyObject * obj0 = 0 ;
16945 PyObject * obj1 = 0 ;
16946 char * kwnames[] = {
16947 (char *) "self",(char *) "path", NULL
16948 };
16949
16950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16952 if (!SWIG_IsOK(res1)) {
16953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16954 }
16955 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16956 {
16957 arg2 = wxString_in_helper(obj1);
16958 if (arg2 == NULL) SWIG_fail;
16959 temp2 = true;
16960 }
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 (arg1)->SetPath((wxString const &)*arg2);
16964 wxPyEndAllowThreads(__tstate);
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 resultobj = SWIG_Py_Void();
16968 {
16969 if (temp2)
16970 delete arg2;
16971 }
16972 return resultobj;
16973fail:
16974 {
16975 if (temp2)
16976 delete arg2;
16977 }
16978 return NULL;
16979}
16980
16981
16982SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16983 PyObject *obj;
16984 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16985 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16986 return SWIG_Py_Void();
16987}
16988
16989SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16990 return SWIG_Python_InitShadowInstance(args);
16991}
16992
16993SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16994 PyObject *resultobj = 0;
16995 wxWindow *arg1 = (wxWindow *) 0 ;
16996 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16997 wxString *arg2 = (wxString *) &arg2_defvalue ;
16998 wxString const &arg3_defvalue = wxPyEmptyString ;
16999 wxString *arg3 = (wxString *) &arg3_defvalue ;
17000 wxString const &arg4_defvalue = wxPyEmptyString ;
17001 wxString *arg4 = (wxString *) &arg4_defvalue ;
17002 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17003 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 17004 long arg6 = (long) wxFD_DEFAULT_STYLE ;
1bd55598
RD
17005 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17006 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17007 wxFileDialog *result = 0 ;
17008 void *argp1 = 0 ;
17009 int res1 = 0 ;
17010 bool temp2 = false ;
17011 bool temp3 = false ;
17012 bool temp4 = false ;
17013 bool temp5 = false ;
17014 long val6 ;
17015 int ecode6 = 0 ;
17016 wxPoint temp7 ;
17017 PyObject * obj0 = 0 ;
17018 PyObject * obj1 = 0 ;
17019 PyObject * obj2 = 0 ;
17020 PyObject * obj3 = 0 ;
17021 PyObject * obj4 = 0 ;
17022 PyObject * obj5 = 0 ;
17023 PyObject * obj6 = 0 ;
17024 char * kwnames[] = {
17025 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17026 };
17027
17028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17030 if (!SWIG_IsOK(res1)) {
17031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17032 }
17033 arg1 = reinterpret_cast< wxWindow * >(argp1);
17034 if (obj1) {
d55e5bfc 17035 {
1bd55598
RD
17036 arg2 = wxString_in_helper(obj1);
17037 if (arg2 == NULL) SWIG_fail;
17038 temp2 = true;
d55e5bfc 17039 }
1bd55598
RD
17040 }
17041 if (obj2) {
17042 {
17043 arg3 = wxString_in_helper(obj2);
17044 if (arg3 == NULL) SWIG_fail;
17045 temp3 = true;
d55e5bfc 17046 }
1bd55598
RD
17047 }
17048 if (obj3) {
d55e5bfc 17049 {
1bd55598
RD
17050 arg4 = wxString_in_helper(obj3);
17051 if (arg4 == NULL) SWIG_fail;
17052 temp4 = true;
17053 }
17054 }
17055 if (obj4) {
d55e5bfc 17056 {
1bd55598
RD
17057 arg5 = wxString_in_helper(obj4);
17058 if (arg5 == NULL) SWIG_fail;
17059 temp5 = true;
d55e5bfc 17060 }
1bd55598
RD
17061 }
17062 if (obj5) {
17063 ecode6 = SWIG_AsVal_long(obj5, &val6);
17064 if (!SWIG_IsOK(ecode6)) {
17065 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17066 }
17067 arg6 = static_cast< long >(val6);
17068 }
17069 if (obj6) {
d55e5bfc 17070 {
1bd55598
RD
17071 arg7 = &temp7;
17072 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17073 }
1bd55598
RD
17074 }
17075 {
17076 if (!wxPyCheckForApp()) SWIG_fail;
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17083 {
17084 if (temp2)
17085 delete arg2;
17086 }
17087 {
17088 if (temp3)
17089 delete arg3;
17090 }
17091 {
17092 if (temp4)
17093 delete arg4;
17094 }
17095 {
17096 if (temp5)
17097 delete arg5;
17098 }
17099 return resultobj;
17100fail:
17101 {
17102 if (temp2)
17103 delete arg2;
17104 }
17105 {
17106 if (temp3)
17107 delete arg3;
17108 }
17109 {
17110 if (temp4)
17111 delete arg4;
17112 }
17113 {
17114 if (temp5)
17115 delete arg5;
17116 }
17117 return NULL;
d55e5bfc
RD
17118}
17119
17120
1bd55598
RD
17121SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17122 PyObject *resultobj = 0;
17123 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17124 wxString *arg2 = 0 ;
17125 void *argp1 = 0 ;
17126 int res1 = 0 ;
17127 bool temp2 = false ;
17128 PyObject * obj0 = 0 ;
17129 PyObject * obj1 = 0 ;
17130 char * kwnames[] = {
17131 (char *) "self",(char *) "message", NULL
17132 };
17133
17134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17136 if (!SWIG_IsOK(res1)) {
17137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17138 }
17139 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17140 {
17141 arg2 = wxString_in_helper(obj1);
17142 if (arg2 == NULL) SWIG_fail;
17143 temp2 = true;
17144 }
17145 {
17146 PyThreadState* __tstate = wxPyBeginAllowThreads();
17147 (arg1)->SetMessage((wxString const &)*arg2);
17148 wxPyEndAllowThreads(__tstate);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 resultobj = SWIG_Py_Void();
17152 {
17153 if (temp2)
17154 delete arg2;
17155 }
17156 return resultobj;
17157fail:
17158 {
17159 if (temp2)
17160 delete arg2;
17161 }
17162 return NULL;
d55e5bfc
RD
17163}
17164
17165
1bd55598
RD
17166SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17167 PyObject *resultobj = 0;
17168 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17169 wxString *arg2 = 0 ;
17170 void *argp1 = 0 ;
17171 int res1 = 0 ;
17172 bool temp2 = false ;
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 char * kwnames[] = {
17176 (char *) "self",(char *) "path", NULL
17177 };
17178
17179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17181 if (!SWIG_IsOK(res1)) {
17182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17183 }
17184 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17185 {
17186 arg2 = wxString_in_helper(obj1);
17187 if (arg2 == NULL) SWIG_fail;
17188 temp2 = true;
17189 }
17190 {
17191 PyThreadState* __tstate = wxPyBeginAllowThreads();
17192 (arg1)->SetPath((wxString const &)*arg2);
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 resultobj = SWIG_Py_Void();
17197 {
17198 if (temp2)
17199 delete arg2;
17200 }
17201 return resultobj;
17202fail:
17203 {
17204 if (temp2)
17205 delete arg2;
17206 }
17207 return NULL;
d55e5bfc
RD
17208}
17209
17210
1bd55598
RD
17211SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17212 PyObject *resultobj = 0;
17213 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17214 wxString *arg2 = 0 ;
17215 void *argp1 = 0 ;
17216 int res1 = 0 ;
17217 bool temp2 = false ;
17218 PyObject * obj0 = 0 ;
17219 PyObject * obj1 = 0 ;
17220 char * kwnames[] = {
17221 (char *) "self",(char *) "dir", NULL
17222 };
17223
17224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17226 if (!SWIG_IsOK(res1)) {
17227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17228 }
17229 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17230 {
17231 arg2 = wxString_in_helper(obj1);
17232 if (arg2 == NULL) SWIG_fail;
17233 temp2 = true;
17234 }
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 (arg1)->SetDirectory((wxString const &)*arg2);
17238 wxPyEndAllowThreads(__tstate);
17239 if (PyErr_Occurred()) SWIG_fail;
17240 }
17241 resultobj = SWIG_Py_Void();
17242 {
17243 if (temp2)
17244 delete arg2;
17245 }
17246 return resultobj;
17247fail:
17248 {
17249 if (temp2)
17250 delete arg2;
17251 }
17252 return NULL;
d55e5bfc
RD
17253}
17254
17255
1bd55598
RD
17256SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj = 0;
17258 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17259 wxString *arg2 = 0 ;
17260 void *argp1 = 0 ;
17261 int res1 = 0 ;
17262 bool temp2 = false ;
17263 PyObject * obj0 = 0 ;
17264 PyObject * obj1 = 0 ;
17265 char * kwnames[] = {
17266 (char *) "self",(char *) "name", NULL
17267 };
17268
17269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17271 if (!SWIG_IsOK(res1)) {
17272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17273 }
17274 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17275 {
17276 arg2 = wxString_in_helper(obj1);
17277 if (arg2 == NULL) SWIG_fail;
17278 temp2 = true;
17279 }
17280 {
17281 PyThreadState* __tstate = wxPyBeginAllowThreads();
17282 (arg1)->SetFilename((wxString const &)*arg2);
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 resultobj = SWIG_Py_Void();
17287 {
17288 if (temp2)
17289 delete arg2;
17290 }
17291 return resultobj;
17292fail:
17293 {
17294 if (temp2)
17295 delete arg2;
17296 }
17297 return NULL;
d55e5bfc
RD
17298}
17299
17300
1bd55598
RD
17301SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17302 PyObject *resultobj = 0;
17303 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17304 wxString *arg2 = 0 ;
17305 void *argp1 = 0 ;
17306 int res1 = 0 ;
17307 bool temp2 = false ;
17308 PyObject * obj0 = 0 ;
17309 PyObject * obj1 = 0 ;
17310 char * kwnames[] = {
17311 (char *) "self",(char *) "wildCard", NULL
17312 };
17313
17314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17316 if (!SWIG_IsOK(res1)) {
17317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17318 }
17319 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17320 {
17321 arg2 = wxString_in_helper(obj1);
17322 if (arg2 == NULL) SWIG_fail;
17323 temp2 = true;
17324 }
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 (arg1)->SetWildcard((wxString const &)*arg2);
17328 wxPyEndAllowThreads(__tstate);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 resultobj = SWIG_Py_Void();
17332 {
17333 if (temp2)
17334 delete arg2;
17335 }
17336 return resultobj;
17337fail:
17338 {
17339 if (temp2)
17340 delete arg2;
17341 }
17342 return NULL;
17343}
17344
17345
1bd55598
RD
17346SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17347 PyObject *resultobj = 0;
17348 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17349 int arg2 ;
17350 void *argp1 = 0 ;
17351 int res1 = 0 ;
17352 int val2 ;
17353 int ecode2 = 0 ;
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char * kwnames[] = {
17357 (char *) "self",(char *) "filterIndex", NULL
17358 };
17359
17360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17362 if (!SWIG_IsOK(res1)) {
17363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17364 }
17365 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17366 ecode2 = SWIG_AsVal_int(obj1, &val2);
17367 if (!SWIG_IsOK(ecode2)) {
17368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17369 }
17370 arg2 = static_cast< int >(val2);
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 (arg1)->SetFilterIndex(arg2);
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 resultobj = SWIG_Py_Void();
17378 return resultobj;
17379fail:
17380 return NULL;
d55e5bfc
RD
17381}
17382
17383
1bd55598
RD
17384SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17385 PyObject *resultobj = 0;
17386 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17387 wxString result;
17388 void *argp1 = 0 ;
17389 int res1 = 0 ;
17390 PyObject *swig_obj[1] ;
17391
17392 if (!args) SWIG_fail;
17393 swig_obj[0] = args;
17394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17395 if (!SWIG_IsOK(res1)) {
17396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17397 }
17398 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 result = ((wxFileDialog const *)arg1)->GetMessage();
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 {
17406#if wxUSE_UNICODE
17407 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17408#else
17409 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17410#endif
17411 }
17412 return resultobj;
17413fail:
17414 return NULL;
d55e5bfc
RD
17415}
17416
17417
1bd55598
RD
17418SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17419 PyObject *resultobj = 0;
17420 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17421 wxString result;
17422 void *argp1 = 0 ;
17423 int res1 = 0 ;
17424 PyObject *swig_obj[1] ;
17425
17426 if (!args) SWIG_fail;
17427 swig_obj[0] = args;
17428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17429 if (!SWIG_IsOK(res1)) {
17430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17431 }
17432 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 result = ((wxFileDialog const *)arg1)->GetPath();
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 {
17440#if wxUSE_UNICODE
17441 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17442#else
17443 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17444#endif
17445 }
17446 return resultobj;
17447fail:
17448 return NULL;
d55e5bfc
RD
17449}
17450
17451
1bd55598
RD
17452SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17453 PyObject *resultobj = 0;
17454 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17455 wxString result;
17456 void *argp1 = 0 ;
17457 int res1 = 0 ;
17458 PyObject *swig_obj[1] ;
17459
17460 if (!args) SWIG_fail;
17461 swig_obj[0] = args;
17462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17463 if (!SWIG_IsOK(res1)) {
17464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17465 }
17466 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 result = ((wxFileDialog const *)arg1)->GetDirectory();
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 {
17474#if wxUSE_UNICODE
17475 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17476#else
17477 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17478#endif
17479 }
17480 return resultobj;
17481fail:
17482 return NULL;
d55e5bfc
RD
17483}
17484
17485
1bd55598
RD
17486SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17487 PyObject *resultobj = 0;
17488 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17489 wxString result;
17490 void *argp1 = 0 ;
17491 int res1 = 0 ;
17492 PyObject *swig_obj[1] ;
17493
17494 if (!args) SWIG_fail;
17495 swig_obj[0] = args;
17496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17497 if (!SWIG_IsOK(res1)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17499 }
17500 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 result = ((wxFileDialog const *)arg1)->GetFilename();
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 {
17508#if wxUSE_UNICODE
17509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17510#else
17511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17512#endif
17513 }
17514 return resultobj;
17515fail:
17516 return NULL;
d55e5bfc
RD
17517}
17518
17519
1bd55598
RD
17520SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17521 PyObject *resultobj = 0;
17522 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17523 wxString result;
17524 void *argp1 = 0 ;
17525 int res1 = 0 ;
17526 PyObject *swig_obj[1] ;
17527
17528 if (!args) SWIG_fail;
17529 swig_obj[0] = args;
17530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17531 if (!SWIG_IsOK(res1)) {
17532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17533 }
17534 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17535 {
17536 PyThreadState* __tstate = wxPyBeginAllowThreads();
17537 result = ((wxFileDialog const *)arg1)->GetWildcard();
17538 wxPyEndAllowThreads(__tstate);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 }
17541 {
17542#if wxUSE_UNICODE
17543 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17544#else
17545 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17546#endif
17547 }
17548 return resultobj;
17549fail:
17550 return NULL;
d55e5bfc
RD
17551}
17552
17553
1bd55598
RD
17554SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17555 PyObject *resultobj = 0;
17556 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17557 int result;
17558 void *argp1 = 0 ;
17559 int res1 = 0 ;
17560 PyObject *swig_obj[1] ;
17561
17562 if (!args) SWIG_fail;
17563 swig_obj[0] = args;
17564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17565 if (!SWIG_IsOK(res1)) {
17566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17567 }
17568 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17569 {
17570 PyThreadState* __tstate = wxPyBeginAllowThreads();
17571 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 resultobj = SWIG_From_int(static_cast< int >(result));
17576 return resultobj;
17577fail:
17578 return NULL;
d55e5bfc
RD
17579}
17580
17581
1bd55598
RD
17582SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17583 PyObject *resultobj = 0;
17584 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17585 PyObject *result = 0 ;
17586 void *argp1 = 0 ;
17587 int res1 = 0 ;
17588 PyObject *swig_obj[1] ;
17589
17590 if (!args) SWIG_fail;
17591 swig_obj[0] = args;
17592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17593 if (!SWIG_IsOK(res1)) {
17594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17595 }
17596 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17597 {
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 resultobj = result;
17604 return resultobj;
17605fail:
17606 return NULL;
d55e5bfc
RD
17607}
17608
17609
1bd55598
RD
17610SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17611 PyObject *resultobj = 0;
17612 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17613 PyObject *result = 0 ;
17614 void *argp1 = 0 ;
17615 int res1 = 0 ;
17616 PyObject *swig_obj[1] ;
17617
17618 if (!args) SWIG_fail;
17619 swig_obj[0] = args;
17620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17621 if (!SWIG_IsOK(res1)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17623 }
17624 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17625 {
17626 PyThreadState* __tstate = wxPyBeginAllowThreads();
17627 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 resultobj = result;
17632 return resultobj;
17633fail:
17634 return NULL;
17635}
17636
17637
17638SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17639 PyObject *obj;
17640 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17641 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17642 return SWIG_Py_Void();
17643}
17644
17645SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17646 return SWIG_Python_InitShadowInstance(args);
17647}
17648
17649SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj = 0;
17651 wxWindow *arg1 = (wxWindow *) 0 ;
17652 wxString *arg2 = 0 ;
17653 wxString *arg3 = 0 ;
17654 int arg4 = (int) 0 ;
17655 wxString *arg5 = (wxString *) NULL ;
17656 long arg6 = (long) wxCHOICEDLG_STYLE ;
17657 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17658 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17659 wxMultiChoiceDialog *result = 0 ;
17660 void *argp1 = 0 ;
17661 int res1 = 0 ;
17662 bool temp2 = false ;
17663 bool temp3 = false ;
17664 long val6 ;
17665 int ecode6 = 0 ;
17666 wxPoint temp7 ;
17667 PyObject * obj0 = 0 ;
17668 PyObject * obj1 = 0 ;
17669 PyObject * obj2 = 0 ;
17670 PyObject * obj3 = 0 ;
17671 PyObject * obj4 = 0 ;
17672 PyObject * obj5 = 0 ;
17673 char * kwnames[] = {
17674 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17675 };
17676
17677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17679 if (!SWIG_IsOK(res1)) {
17680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17681 }
17682 arg1 = reinterpret_cast< wxWindow * >(argp1);
17683 {
17684 arg2 = wxString_in_helper(obj1);
17685 if (arg2 == NULL) SWIG_fail;
17686 temp2 = true;
17687 }
17688 {
17689 arg3 = wxString_in_helper(obj2);
17690 if (arg3 == NULL) SWIG_fail;
17691 temp3 = true;
17692 }
17693 if (obj3) {
d55e5bfc 17694 {
1bd55598
RD
17695 arg4 = PyList_Size(obj3);
17696 arg5 = wxString_LIST_helper(obj3);
17697 if (arg5 == NULL) SWIG_fail;
d55e5bfc 17698 }
1bd55598
RD
17699 }
17700 if (obj4) {
17701 ecode6 = SWIG_AsVal_long(obj4, &val6);
17702 if (!SWIG_IsOK(ecode6)) {
17703 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17704 }
17705 arg6 = static_cast< long >(val6);
17706 }
17707 if (obj5) {
36ed4f51 17708 {
1bd55598
RD
17709 arg7 = &temp7;
17710 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 17711 }
1bd55598
RD
17712 }
17713 {
17714 if (!wxPyCheckForApp()) SWIG_fail;
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17721 {
17722 if (temp2)
17723 delete arg2;
17724 }
17725 {
17726 if (temp3)
17727 delete arg3;
17728 }
17729 {
17730 if (arg5) delete [] arg5;
17731 }
17732 return resultobj;
17733fail:
17734 {
17735 if (temp2)
17736 delete arg2;
17737 }
17738 {
17739 if (temp3)
17740 delete arg3;
17741 }
17742 {
17743 if (arg5) delete [] arg5;
17744 }
17745 return NULL;
d55e5bfc
RD
17746}
17747
17748
1bd55598
RD
17749SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17750 PyObject *resultobj = 0;
17751 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17752 wxArrayInt *arg2 = 0 ;
17753 void *argp1 = 0 ;
17754 int res1 = 0 ;
17755 bool temp2 = false ;
17756 PyObject * obj0 = 0 ;
17757 PyObject * obj1 = 0 ;
17758 char * kwnames[] = {
17759 (char *) "self",(char *) "selections", NULL
17760 };
17761
17762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17764 if (!SWIG_IsOK(res1)) {
17765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17766 }
17767 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17768 {
17769 if (! PySequence_Check(obj1)) {
17770 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17771 SWIG_fail;
17772 }
17773 arg2 = new wxArrayInt;
17774 temp2 = true;
17775 int i, len=PySequence_Length(obj1);
17776 for (i=0; i<len; i++) {
17777 PyObject* item = PySequence_GetItem(obj1, i);
17778 PyObject* number = PyNumber_Int(item);
17779 arg2->Add(PyInt_AS_LONG(number));
17780 Py_DECREF(item);
17781 Py_DECREF(number);
36ed4f51 17782 }
1bd55598
RD
17783 }
17784 {
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 resultobj = SWIG_Py_Void();
17791 {
17792 if (temp2) delete arg2;
17793 }
17794 return resultobj;
17795fail:
17796 {
17797 if (temp2) delete arg2;
17798 }
17799 return NULL;
d55e5bfc
RD
17800}
17801
17802
1bd55598
RD
17803SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17804 PyObject *resultobj = 0;
17805 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17806 PyObject *result = 0 ;
17807 void *argp1 = 0 ;
17808 int res1 = 0 ;
17809 PyObject *swig_obj[1] ;
17810
17811 if (!args) SWIG_fail;
17812 swig_obj[0] = args;
17813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17814 if (!SWIG_IsOK(res1)) {
17815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17816 }
17817 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
17820 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 resultobj = result;
17825 return resultobj;
17826fail:
17827 return NULL;
17828}
17829
17830
17831SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17832 PyObject *obj;
17833 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17834 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17835 return SWIG_Py_Void();
17836}
17837
17838SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17839 return SWIG_Python_InitShadowInstance(args);
17840}
17841
17842SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj = 0;
17844 wxWindow *arg1 = (wxWindow *) 0 ;
17845 wxString *arg2 = 0 ;
17846 wxString *arg3 = 0 ;
17847 int arg4 ;
17848 wxString *arg5 = (wxString *) 0 ;
17849 long arg6 = (long) wxCHOICEDLG_STYLE ;
17850 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17851 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17852 wxSingleChoiceDialog *result = 0 ;
17853 void *argp1 = 0 ;
17854 int res1 = 0 ;
17855 bool temp2 = false ;
17856 bool temp3 = false ;
17857 long val6 ;
17858 int ecode6 = 0 ;
17859 wxPoint temp7 ;
17860 PyObject * obj0 = 0 ;
17861 PyObject * obj1 = 0 ;
17862 PyObject * obj2 = 0 ;
17863 PyObject * obj3 = 0 ;
17864 PyObject * obj4 = 0 ;
17865 PyObject * obj5 = 0 ;
17866 char * kwnames[] = {
17867 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17868 };
17869
17870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17872 if (!SWIG_IsOK(res1)) {
17873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17874 }
17875 arg1 = reinterpret_cast< wxWindow * >(argp1);
17876 {
17877 arg2 = wxString_in_helper(obj1);
17878 if (arg2 == NULL) SWIG_fail;
17879 temp2 = true;
17880 }
17881 {
17882 arg3 = wxString_in_helper(obj2);
17883 if (arg3 == NULL) SWIG_fail;
17884 temp3 = true;
17885 }
17886 {
17887 arg4 = PyList_Size(obj3);
17888 arg5 = wxString_LIST_helper(obj3);
17889 if (arg5 == NULL) SWIG_fail;
17890 }
17891 if (obj4) {
17892 ecode6 = SWIG_AsVal_long(obj4, &val6);
17893 if (!SWIG_IsOK(ecode6)) {
17894 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17895 }
17896 arg6 = static_cast< long >(val6);
17897 }
17898 if (obj5) {
36ed4f51 17899 {
1bd55598
RD
17900 arg7 = &temp7;
17901 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 17902 }
1bd55598
RD
17903 }
17904 {
17905 if (!wxPyCheckForApp()) SWIG_fail;
17906 PyThreadState* __tstate = wxPyBeginAllowThreads();
17907 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
17911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17912 {
17913 if (temp2)
17914 delete arg2;
17915 }
17916 {
17917 if (temp3)
17918 delete arg3;
17919 }
17920 {
17921 if (arg5) delete [] arg5;
17922 }
17923 return resultobj;
17924fail:
17925 {
17926 if (temp2)
17927 delete arg2;
17928 }
17929 {
17930 if (temp3)
17931 delete arg3;
17932 }
17933 {
17934 if (arg5) delete [] arg5;
17935 }
17936 return NULL;
d55e5bfc
RD
17937}
17938
17939
1bd55598
RD
17940SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17941 PyObject *resultobj = 0;
17942 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17943 int result;
17944 void *argp1 = 0 ;
17945 int res1 = 0 ;
17946 PyObject *swig_obj[1] ;
17947
17948 if (!args) SWIG_fail;
17949 swig_obj[0] = args;
17950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17951 if (!SWIG_IsOK(res1)) {
17952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17953 }
17954 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 result = (int)(arg1)->GetSelection();
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 resultobj = SWIG_From_int(static_cast< int >(result));
17962 return resultobj;
17963fail:
17964 return NULL;
d55e5bfc
RD
17965}
17966
17967
1bd55598
RD
17968SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17969 PyObject *resultobj = 0;
17970 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17971 wxString result;
17972 void *argp1 = 0 ;
17973 int res1 = 0 ;
17974 PyObject *swig_obj[1] ;
17975
17976 if (!args) SWIG_fail;
17977 swig_obj[0] = args;
17978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17979 if (!SWIG_IsOK(res1)) {
17980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17981 }
17982 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17983 {
17984 PyThreadState* __tstate = wxPyBeginAllowThreads();
17985 result = (arg1)->GetStringSelection();
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
17989 {
17990#if wxUSE_UNICODE
17991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17992#else
17993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17994#endif
17995 }
17996 return resultobj;
17997fail:
17998 return NULL;
17999}
18000
18001
18002SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18003 PyObject *resultobj = 0;
18004 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18005 int arg2 ;
18006 void *argp1 = 0 ;
18007 int res1 = 0 ;
18008 int val2 ;
18009 int ecode2 = 0 ;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 char * kwnames[] = {
18013 (char *) "self",(char *) "sel", NULL
18014 };
18015
18016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18018 if (!SWIG_IsOK(res1)) {
18019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18020 }
18021 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18022 ecode2 = SWIG_AsVal_int(obj1, &val2);
18023 if (!SWIG_IsOK(ecode2)) {
18024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18025 }
18026 arg2 = static_cast< int >(val2);
18027 {
18028 PyThreadState* __tstate = wxPyBeginAllowThreads();
18029 (arg1)->SetSelection(arg2);
18030 wxPyEndAllowThreads(__tstate);
18031 if (PyErr_Occurred()) SWIG_fail;
18032 }
18033 resultobj = SWIG_Py_Void();
18034 return resultobj;
18035fail:
18036 return NULL;
18037}
18038
18039
18040SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18041 PyObject *obj;
18042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18043 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18044 return SWIG_Py_Void();
18045}
18046
18047SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18048 return SWIG_Python_InitShadowInstance(args);
18049}
18050
18051SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj = 0;
18053 wxWindow *arg1 = (wxWindow *) 0 ;
18054 wxString *arg2 = 0 ;
18055 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18056 wxString *arg3 = (wxString *) &arg3_defvalue ;
18057 wxString const &arg4_defvalue = wxPyEmptyString ;
18058 wxString *arg4 = (wxString *) &arg4_defvalue ;
18059 long arg5 = (long) wxTextEntryDialogStyle ;
18060 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18061 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18062 wxTextEntryDialog *result = 0 ;
18063 void *argp1 = 0 ;
18064 int res1 = 0 ;
18065 bool temp2 = false ;
18066 bool temp3 = false ;
18067 bool temp4 = false ;
18068 long val5 ;
18069 int ecode5 = 0 ;
18070 wxPoint temp6 ;
18071 PyObject * obj0 = 0 ;
18072 PyObject * obj1 = 0 ;
18073 PyObject * obj2 = 0 ;
18074 PyObject * obj3 = 0 ;
18075 PyObject * obj4 = 0 ;
18076 PyObject * obj5 = 0 ;
18077 char * kwnames[] = {
18078 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18079 };
18080
18081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18083 if (!SWIG_IsOK(res1)) {
18084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18085 }
18086 arg1 = reinterpret_cast< wxWindow * >(argp1);
18087 {
18088 arg2 = wxString_in_helper(obj1);
18089 if (arg2 == NULL) SWIG_fail;
18090 temp2 = true;
18091 }
18092 if (obj2) {
36ed4f51 18093 {
1bd55598
RD
18094 arg3 = wxString_in_helper(obj2);
18095 if (arg3 == NULL) SWIG_fail;
18096 temp3 = true;
36ed4f51 18097 }
1bd55598
RD
18098 }
18099 if (obj3) {
d55e5bfc 18100 {
1bd55598
RD
18101 arg4 = wxString_in_helper(obj3);
18102 if (arg4 == NULL) SWIG_fail;
18103 temp4 = true;
d55e5bfc 18104 }
1bd55598
RD
18105 }
18106 if (obj4) {
18107 ecode5 = SWIG_AsVal_long(obj4, &val5);
18108 if (!SWIG_IsOK(ecode5)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18110 }
18111 arg5 = static_cast< long >(val5);
18112 }
18113 if (obj5) {
d55e5bfc 18114 {
1bd55598
RD
18115 arg6 = &temp6;
18116 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18117 }
1bd55598
RD
18118 }
18119 {
18120 if (!wxPyCheckForApp()) SWIG_fail;
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18127 {
18128 if (temp2)
18129 delete arg2;
18130 }
18131 {
18132 if (temp3)
18133 delete arg3;
18134 }
18135 {
18136 if (temp4)
18137 delete arg4;
18138 }
18139 return resultobj;
18140fail:
18141 {
18142 if (temp2)
18143 delete arg2;
18144 }
18145 {
18146 if (temp3)
18147 delete arg3;
18148 }
18149 {
18150 if (temp4)
18151 delete arg4;
18152 }
18153 return NULL;
d55e5bfc
RD
18154}
18155
18156
1bd55598
RD
18157SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18158 PyObject *resultobj = 0;
18159 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18160 wxString result;
18161 void *argp1 = 0 ;
18162 int res1 = 0 ;
18163 PyObject *swig_obj[1] ;
18164
18165 if (!args) SWIG_fail;
18166 swig_obj[0] = args;
18167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18168 if (!SWIG_IsOK(res1)) {
18169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18170 }
18171 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18172 {
18173 PyThreadState* __tstate = wxPyBeginAllowThreads();
18174 result = (arg1)->GetValue();
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 {
18179#if wxUSE_UNICODE
18180 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18181#else
18182 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18183#endif
18184 }
18185 return resultobj;
18186fail:
18187 return NULL;
18188}
18189
18190
18191SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj = 0;
18193 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18194 wxString *arg2 = 0 ;
18195 void *argp1 = 0 ;
18196 int res1 = 0 ;
18197 bool temp2 = false ;
18198 PyObject * obj0 = 0 ;
18199 PyObject * obj1 = 0 ;
18200 char * kwnames[] = {
18201 (char *) "self",(char *) "value", NULL
18202 };
18203
18204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18206 if (!SWIG_IsOK(res1)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18208 }
18209 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18210 {
18211 arg2 = wxString_in_helper(obj1);
18212 if (arg2 == NULL) SWIG_fail;
18213 temp2 = true;
18214 }
18215 {
18216 PyThreadState* __tstate = wxPyBeginAllowThreads();
18217 (arg1)->SetValue((wxString const &)*arg2);
18218 wxPyEndAllowThreads(__tstate);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 resultobj = SWIG_Py_Void();
18222 {
18223 if (temp2)
18224 delete arg2;
18225 }
18226 return resultobj;
18227fail:
18228 {
18229 if (temp2)
18230 delete arg2;
18231 }
18232 return NULL;
7993762b
RD
18233}
18234
18235
1bd55598
RD
18236SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18237 PyObject *obj;
18238 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18239 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18240 return SWIG_Py_Void();
7993762b
RD
18241}
18242
1bd55598
RD
18243SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18244 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 18245}
1bd55598
RD
18246
18247SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18248 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18249 return 1;
d55e5bfc
RD
18250}
18251
18252
1bd55598
RD
18253SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18254 PyObject *pyobj = 0;
18255
18256 {
d55e5bfc 18257#if wxUSE_UNICODE
1bd55598 18258 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18259#else
1bd55598 18260 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18261#endif
1bd55598
RD
18262 }
18263 return pyobj;
18264}
18265
18266
18267SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj = 0;
18269 wxWindow *arg1 = (wxWindow *) 0 ;
18270 wxString *arg2 = 0 ;
18271 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18272 wxString *arg3 = (wxString *) &arg3_defvalue ;
18273 wxString const &arg4_defvalue = wxPyEmptyString ;
18274 wxString *arg4 = (wxString *) &arg4_defvalue ;
18275 long arg5 = (long) wxTextEntryDialogStyle ;
18276 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18277 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18278 wxPasswordEntryDialog *result = 0 ;
18279 void *argp1 = 0 ;
18280 int res1 = 0 ;
18281 bool temp2 = false ;
18282 bool temp3 = false ;
18283 bool temp4 = false ;
18284 long val5 ;
18285 int ecode5 = 0 ;
18286 wxPoint temp6 ;
18287 PyObject * obj0 = 0 ;
18288 PyObject * obj1 = 0 ;
18289 PyObject * obj2 = 0 ;
18290 PyObject * obj3 = 0 ;
18291 PyObject * obj4 = 0 ;
18292 PyObject * obj5 = 0 ;
18293 char * kwnames[] = {
18294 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18295 };
18296
18297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18299 if (!SWIG_IsOK(res1)) {
18300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18301 }
18302 arg1 = reinterpret_cast< wxWindow * >(argp1);
18303 {
18304 arg2 = wxString_in_helper(obj1);
18305 if (arg2 == NULL) SWIG_fail;
18306 temp2 = true;
18307 }
18308 if (obj2) {
d55e5bfc 18309 {
1bd55598
RD
18310 arg3 = wxString_in_helper(obj2);
18311 if (arg3 == NULL) SWIG_fail;
18312 temp3 = true;
d55e5bfc 18313 }
1bd55598
RD
18314 }
18315 if (obj3) {
d55e5bfc 18316 {
1bd55598
RD
18317 arg4 = wxString_in_helper(obj3);
18318 if (arg4 == NULL) SWIG_fail;
18319 temp4 = true;
d55e5bfc 18320 }
1bd55598
RD
18321 }
18322 if (obj4) {
18323 ecode5 = SWIG_AsVal_long(obj4, &val5);
18324 if (!SWIG_IsOK(ecode5)) {
18325 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18326 }
18327 arg5 = static_cast< long >(val5);
18328 }
18329 if (obj5) {
d55e5bfc 18330 {
1bd55598
RD
18331 arg6 = &temp6;
18332 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18333 }
18334 }
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18342 {
18343 if (temp2)
18344 delete arg2;
18345 }
18346 {
18347 if (temp3)
18348 delete arg3;
18349 }
18350 {
18351 if (temp4)
18352 delete arg4;
18353 }
18354 return resultobj;
18355fail:
18356 {
18357 if (temp2)
18358 delete arg2;
18359 }
18360 {
18361 if (temp3)
18362 delete arg3;
18363 }
18364 {
18365 if (temp4)
18366 delete arg4;
18367 }
18368 return NULL;
d55e5bfc
RD
18369}
18370
18371
1bd55598
RD
18372SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18373 PyObject *obj;
18374 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18375 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18376 return SWIG_Py_Void();
d55e5bfc
RD
18377}
18378
1bd55598
RD
18379SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18380 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18381}
18382
27e45892
RD
18383SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18384 PyObject *resultobj = 0;
18385 wxWindow *arg1 = (wxWindow *) 0 ;
18386 wxString *arg2 = 0 ;
18387 wxString *arg3 = 0 ;
18388 wxString *arg4 = 0 ;
18389 long arg5 ;
18390 long arg6 ;
18391 long arg7 ;
18392 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18393 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18394 wxNumberEntryDialog *result = 0 ;
18395 void *argp1 = 0 ;
18396 int res1 = 0 ;
18397 bool temp2 = false ;
18398 bool temp3 = false ;
18399 bool temp4 = false ;
18400 long val5 ;
18401 int ecode5 = 0 ;
18402 long val6 ;
18403 int ecode6 = 0 ;
18404 long val7 ;
18405 int ecode7 = 0 ;
18406 wxPoint temp8 ;
18407 PyObject * obj0 = 0 ;
18408 PyObject * obj1 = 0 ;
18409 PyObject * obj2 = 0 ;
18410 PyObject * obj3 = 0 ;
18411 PyObject * obj4 = 0 ;
18412 PyObject * obj5 = 0 ;
18413 PyObject * obj6 = 0 ;
18414 PyObject * obj7 = 0 ;
18415 char * kwnames[] = {
18416 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18417 };
18418
18419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18421 if (!SWIG_IsOK(res1)) {
18422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18423 }
18424 arg1 = reinterpret_cast< wxWindow * >(argp1);
18425 {
18426 arg2 = wxString_in_helper(obj1);
18427 if (arg2 == NULL) SWIG_fail;
18428 temp2 = true;
18429 }
18430 {
18431 arg3 = wxString_in_helper(obj2);
18432 if (arg3 == NULL) SWIG_fail;
18433 temp3 = true;
18434 }
18435 {
18436 arg4 = wxString_in_helper(obj3);
18437 if (arg4 == NULL) SWIG_fail;
18438 temp4 = true;
18439 }
18440 ecode5 = SWIG_AsVal_long(obj4, &val5);
18441 if (!SWIG_IsOK(ecode5)) {
18442 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18443 }
18444 arg5 = static_cast< long >(val5);
18445 ecode6 = SWIG_AsVal_long(obj5, &val6);
18446 if (!SWIG_IsOK(ecode6)) {
18447 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18448 }
18449 arg6 = static_cast< long >(val6);
18450 ecode7 = SWIG_AsVal_long(obj6, &val7);
18451 if (!SWIG_IsOK(ecode7)) {
18452 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18453 }
18454 arg7 = static_cast< long >(val7);
18455 if (obj7) {
18456 {
18457 arg8 = &temp8;
18458 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18459 }
18460 }
18461 {
18462 if (!wxPyCheckForApp()) SWIG_fail;
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18469 {
18470 if (temp2)
18471 delete arg2;
18472 }
18473 {
18474 if (temp3)
18475 delete arg3;
18476 }
18477 {
18478 if (temp4)
18479 delete arg4;
18480 }
18481 return resultobj;
18482fail:
18483 {
18484 if (temp2)
18485 delete arg2;
18486 }
18487 {
18488 if (temp3)
18489 delete arg3;
18490 }
18491 {
18492 if (temp4)
18493 delete arg4;
18494 }
18495 return NULL;
18496}
18497
18498
18499SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18500 PyObject *resultobj = 0;
18501 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18502 long result;
18503 void *argp1 = 0 ;
18504 int res1 = 0 ;
18505 PyObject *swig_obj[1] ;
18506
18507 if (!args) SWIG_fail;
18508 swig_obj[0] = args;
18509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18510 if (!SWIG_IsOK(res1)) {
18511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18512 }
18513 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 result = (long)(arg1)->GetValue();
18517 wxPyEndAllowThreads(__tstate);
18518 if (PyErr_Occurred()) SWIG_fail;
18519 }
18520 resultobj = SWIG_From_long(static_cast< long >(result));
18521 return resultobj;
18522fail:
18523 return NULL;
18524}
18525
18526
18527SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18528 PyObject *obj;
18529 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18530 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18531 return SWIG_Py_Void();
18532}
18533
18534SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18535 return SWIG_Python_InitShadowInstance(args);
18536}
18537
1bd55598
RD
18538SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18539 PyObject *resultobj = 0;
18540 wxFontData *result = 0 ;
18541
18542 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 result = (wxFontData *)new wxFontData();
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18550 return resultobj;
18551fail:
18552 return NULL;
d55e5bfc
RD
18553}
18554
18555
1bd55598
RD
18556SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18557 PyObject *resultobj = 0;
18558 wxFontData *arg1 = (wxFontData *) 0 ;
18559 void *argp1 = 0 ;
18560 int res1 = 0 ;
18561 PyObject *swig_obj[1] ;
18562
18563 if (!args) SWIG_fail;
18564 swig_obj[0] = args;
18565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18566 if (!SWIG_IsOK(res1)) {
18567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18568 }
18569 arg1 = reinterpret_cast< wxFontData * >(argp1);
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 delete arg1;
d55e5bfc 18573
1bd55598
RD
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 resultobj = SWIG_Py_Void();
18578 return resultobj;
18579fail:
18580 return NULL;
18581}
18582
18583
18584SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18585 PyObject *resultobj = 0;
18586 wxFontData *arg1 = (wxFontData *) 0 ;
18587 bool arg2 ;
18588 void *argp1 = 0 ;
18589 int res1 = 0 ;
18590 bool val2 ;
18591 int ecode2 = 0 ;
18592 PyObject * obj0 = 0 ;
18593 PyObject * obj1 = 0 ;
18594 char * kwnames[] = {
18595 (char *) "self",(char *) "enable", NULL
18596 };
18597
18598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18600 if (!SWIG_IsOK(res1)) {
18601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18602 }
18603 arg1 = reinterpret_cast< wxFontData * >(argp1);
18604 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18605 if (!SWIG_IsOK(ecode2)) {
18606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18607 }
18608 arg2 = static_cast< bool >(val2);
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 (arg1)->EnableEffects(arg2);
18612 wxPyEndAllowThreads(__tstate);
18613 if (PyErr_Occurred()) SWIG_fail;
18614 }
18615 resultobj = SWIG_Py_Void();
18616 return resultobj;
18617fail:
18618 return NULL;
d55e5bfc
RD
18619}
18620
18621
1bd55598
RD
18622SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18623 PyObject *resultobj = 0;
18624 wxFontData *arg1 = (wxFontData *) 0 ;
18625 bool result;
18626 void *argp1 = 0 ;
18627 int res1 = 0 ;
18628 PyObject *swig_obj[1] ;
18629
18630 if (!args) SWIG_fail;
18631 swig_obj[0] = args;
18632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18633 if (!SWIG_IsOK(res1)) {
18634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18635 }
18636 arg1 = reinterpret_cast< wxFontData * >(argp1);
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (bool)(arg1)->GetAllowSymbols();
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 {
18644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18645 }
18646 return resultobj;
18647fail:
18648 return NULL;
d55e5bfc
RD
18649}
18650
18651
1bd55598
RD
18652SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18653 PyObject *resultobj = 0;
18654 wxFontData *arg1 = (wxFontData *) 0 ;
18655 wxColour result;
18656 void *argp1 = 0 ;
18657 int res1 = 0 ;
18658 PyObject *swig_obj[1] ;
18659
18660 if (!args) SWIG_fail;
18661 swig_obj[0] = args;
18662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18663 if (!SWIG_IsOK(res1)) {
18664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18665 }
18666 arg1 = reinterpret_cast< wxFontData * >(argp1);
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 result = (arg1)->GetColour();
18670 wxPyEndAllowThreads(__tstate);
18671 if (PyErr_Occurred()) SWIG_fail;
18672 }
18673 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18674 return resultobj;
18675fail:
18676 return NULL;
d55e5bfc
RD
18677}
18678
18679
1bd55598
RD
18680SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18681 PyObject *resultobj = 0;
18682 wxFontData *arg1 = (wxFontData *) 0 ;
18683 wxFont result;
18684 void *argp1 = 0 ;
18685 int res1 = 0 ;
18686 PyObject *swig_obj[1] ;
18687
18688 if (!args) SWIG_fail;
18689 swig_obj[0] = args;
18690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18691 if (!SWIG_IsOK(res1)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18693 }
18694 arg1 = reinterpret_cast< wxFontData * >(argp1);
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 result = (arg1)->GetChosenFont();
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18702 return resultobj;
18703fail:
18704 return NULL;
d55e5bfc
RD
18705}
18706
18707
1bd55598
RD
18708SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18709 PyObject *resultobj = 0;
18710 wxFontData *arg1 = (wxFontData *) 0 ;
18711 bool result;
18712 void *argp1 = 0 ;
18713 int res1 = 0 ;
18714 PyObject *swig_obj[1] ;
18715
18716 if (!args) SWIG_fail;
18717 swig_obj[0] = args;
18718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18719 if (!SWIG_IsOK(res1)) {
18720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18721 }
18722 arg1 = reinterpret_cast< wxFontData * >(argp1);
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 result = (bool)(arg1)->GetEnableEffects();
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 {
18730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18731 }
18732 return resultobj;
18733fail:
18734 return NULL;
d55e5bfc
RD
18735}
18736
18737
1bd55598
RD
18738SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18739 PyObject *resultobj = 0;
18740 wxFontData *arg1 = (wxFontData *) 0 ;
18741 wxFont result;
18742 void *argp1 = 0 ;
18743 int res1 = 0 ;
18744 PyObject *swig_obj[1] ;
18745
18746 if (!args) SWIG_fail;
18747 swig_obj[0] = args;
18748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18749 if (!SWIG_IsOK(res1)) {
18750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18751 }
18752 arg1 = reinterpret_cast< wxFontData * >(argp1);
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = (arg1)->GetInitialFont();
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18760 return resultobj;
18761fail:
18762 return NULL;
d55e5bfc
RD
18763}
18764
18765
1bd55598
RD
18766SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18767 PyObject *resultobj = 0;
18768 wxFontData *arg1 = (wxFontData *) 0 ;
18769 bool result;
18770 void *argp1 = 0 ;
18771 int res1 = 0 ;
18772 PyObject *swig_obj[1] ;
18773
18774 if (!args) SWIG_fail;
18775 swig_obj[0] = args;
18776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18777 if (!SWIG_IsOK(res1)) {
18778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18779 }
18780 arg1 = reinterpret_cast< wxFontData * >(argp1);
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = (bool)(arg1)->GetShowHelp();
18784 wxPyEndAllowThreads(__tstate);
18785 if (PyErr_Occurred()) SWIG_fail;
18786 }
18787 {
18788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18789 }
18790 return resultobj;
18791fail:
18792 return NULL;
18793}
18794
18795
18796SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18797 PyObject *resultobj = 0;
18798 wxFontData *arg1 = (wxFontData *) 0 ;
18799 bool arg2 ;
18800 void *argp1 = 0 ;
18801 int res1 = 0 ;
18802 bool val2 ;
18803 int ecode2 = 0 ;
18804 PyObject * obj0 = 0 ;
18805 PyObject * obj1 = 0 ;
18806 char * kwnames[] = {
18807 (char *) "self",(char *) "allowSymbols", NULL
18808 };
18809
18810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) 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_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18814 }
18815 arg1 = reinterpret_cast< wxFontData * >(argp1);
18816 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18817 if (!SWIG_IsOK(ecode2)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18819 }
18820 arg2 = static_cast< bool >(val2);
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 (arg1)->SetAllowSymbols(arg2);
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 resultobj = SWIG_Py_Void();
18828 return resultobj;
18829fail:
18830 return NULL;
18831}
18832
18833
18834SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj = 0;
18836 wxFontData *arg1 = (wxFontData *) 0 ;
18837 wxFont *arg2 = 0 ;
18838 void *argp1 = 0 ;
18839 int res1 = 0 ;
18840 void *argp2 = 0 ;
18841 int res2 = 0 ;
18842 PyObject * obj0 = 0 ;
18843 PyObject * obj1 = 0 ;
18844 char * kwnames[] = {
18845 (char *) "self",(char *) "font", NULL
18846 };
18847
18848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18850 if (!SWIG_IsOK(res1)) {
18851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18852 }
18853 arg1 = reinterpret_cast< wxFontData * >(argp1);
18854 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18855 if (!SWIG_IsOK(res2)) {
18856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18857 }
18858 if (!argp2) {
18859 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18860 }
18861 arg2 = reinterpret_cast< wxFont * >(argp2);
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 (arg1)->SetChosenFont((wxFont const &)*arg2);
18865 wxPyEndAllowThreads(__tstate);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 }
18868 resultobj = SWIG_Py_Void();
18869 return resultobj;
18870fail:
18871 return NULL;
18872}
18873
18874
18875SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18876 PyObject *resultobj = 0;
18877 wxFontData *arg1 = (wxFontData *) 0 ;
18878 wxColour *arg2 = 0 ;
18879 void *argp1 = 0 ;
18880 int res1 = 0 ;
18881 wxColour temp2 ;
18882 PyObject * obj0 = 0 ;
18883 PyObject * obj1 = 0 ;
18884 char * kwnames[] = {
18885 (char *) "self",(char *) "colour", NULL
18886 };
18887
18888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18890 if (!SWIG_IsOK(res1)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18892 }
18893 arg1 = reinterpret_cast< wxFontData * >(argp1);
18894 {
18895 arg2 = &temp2;
18896 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18897 }
18898 {
18899 PyThreadState* __tstate = wxPyBeginAllowThreads();
18900 (arg1)->SetColour((wxColour const &)*arg2);
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 resultobj = SWIG_Py_Void();
18905 return resultobj;
18906fail:
18907 return NULL;
18908}
18909
18910
18911SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj = 0;
18913 wxFontData *arg1 = (wxFontData *) 0 ;
18914 wxFont *arg2 = 0 ;
18915 void *argp1 = 0 ;
18916 int res1 = 0 ;
18917 void *argp2 = 0 ;
18918 int res2 = 0 ;
18919 PyObject * obj0 = 0 ;
18920 PyObject * obj1 = 0 ;
18921 char * kwnames[] = {
18922 (char *) "self",(char *) "font", NULL
18923 };
18924
18925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18927 if (!SWIG_IsOK(res1)) {
18928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18929 }
18930 arg1 = reinterpret_cast< wxFontData * >(argp1);
18931 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18932 if (!SWIG_IsOK(res2)) {
18933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18934 }
18935 if (!argp2) {
18936 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18937 }
18938 arg2 = reinterpret_cast< wxFont * >(argp2);
18939 {
18940 PyThreadState* __tstate = wxPyBeginAllowThreads();
18941 (arg1)->SetInitialFont((wxFont const &)*arg2);
18942 wxPyEndAllowThreads(__tstate);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
18945 resultobj = SWIG_Py_Void();
18946 return resultobj;
18947fail:
18948 return NULL;
18949}
18950
18951
18952SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18953 PyObject *resultobj = 0;
18954 wxFontData *arg1 = (wxFontData *) 0 ;
18955 int arg2 ;
18956 int arg3 ;
18957 void *argp1 = 0 ;
18958 int res1 = 0 ;
18959 int val2 ;
18960 int ecode2 = 0 ;
18961 int val3 ;
18962 int ecode3 = 0 ;
18963 PyObject * obj0 = 0 ;
18964 PyObject * obj1 = 0 ;
18965 PyObject * obj2 = 0 ;
18966 char * kwnames[] = {
18967 (char *) "self",(char *) "min",(char *) "max", NULL
18968 };
18969
18970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18972 if (!SWIG_IsOK(res1)) {
18973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18974 }
18975 arg1 = reinterpret_cast< wxFontData * >(argp1);
18976 ecode2 = SWIG_AsVal_int(obj1, &val2);
18977 if (!SWIG_IsOK(ecode2)) {
18978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18979 }
18980 arg2 = static_cast< int >(val2);
18981 ecode3 = SWIG_AsVal_int(obj2, &val3);
18982 if (!SWIG_IsOK(ecode3)) {
18983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18984 }
18985 arg3 = static_cast< int >(val3);
18986 {
18987 PyThreadState* __tstate = wxPyBeginAllowThreads();
18988 (arg1)->SetRange(arg2,arg3);
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 resultobj = SWIG_Py_Void();
18993 return resultobj;
18994fail:
18995 return NULL;
18996}
18997
18998
18999SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj = 0;
19001 wxFontData *arg1 = (wxFontData *) 0 ;
19002 bool arg2 ;
19003 void *argp1 = 0 ;
19004 int res1 = 0 ;
19005 bool val2 ;
19006 int ecode2 = 0 ;
19007 PyObject * obj0 = 0 ;
19008 PyObject * obj1 = 0 ;
19009 char * kwnames[] = {
19010 (char *) "self",(char *) "showHelp", NULL
19011 };
19012
19013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19015 if (!SWIG_IsOK(res1)) {
19016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19017 }
19018 arg1 = reinterpret_cast< wxFontData * >(argp1);
19019 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19020 if (!SWIG_IsOK(ecode2)) {
19021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19022 }
19023 arg2 = static_cast< bool >(val2);
19024 {
19025 PyThreadState* __tstate = wxPyBeginAllowThreads();
19026 (arg1)->SetShowHelp(arg2);
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 resultobj = SWIG_Py_Void();
19031 return resultobj;
19032fail:
19033 return NULL;
d55e5bfc
RD
19034}
19035
19036
1bd55598
RD
19037SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19038 PyObject *obj;
19039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19040 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19041 return SWIG_Py_Void();
d55e5bfc
RD
19042}
19043
1bd55598
RD
19044SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19045 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19046}
19047
1bd55598
RD
19048SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj = 0;
19050 wxWindow *arg1 = (wxWindow *) 0 ;
19051 wxFontData *arg2 = 0 ;
19052 wxFontDialog *result = 0 ;
19053 void *argp1 = 0 ;
19054 int res1 = 0 ;
19055 void *argp2 = 0 ;
19056 int res2 = 0 ;
19057 PyObject * obj0 = 0 ;
19058 PyObject * obj1 = 0 ;
19059 char * kwnames[] = {
19060 (char *) "parent",(char *) "data", NULL
19061 };
19062
19063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19065 if (!SWIG_IsOK(res1)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19067 }
19068 arg1 = reinterpret_cast< wxWindow * >(argp1);
19069 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19070 if (!SWIG_IsOK(res2)) {
19071 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19072 }
19073 if (!argp2) {
19074 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19075 }
19076 arg2 = reinterpret_cast< wxFontData * >(argp2);
19077 {
19078 if (!wxPyCheckForApp()) SWIG_fail;
19079 PyThreadState* __tstate = wxPyBeginAllowThreads();
19080 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
19084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19085 return resultobj;
19086fail:
19087 return NULL;
d55e5bfc
RD
19088}
19089
19090
1bd55598
RD
19091SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19092 PyObject *resultobj = 0;
19093 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19094 wxFontData *result = 0 ;
19095 void *argp1 = 0 ;
19096 int res1 = 0 ;
19097 PyObject *swig_obj[1] ;
19098
19099 if (!args) SWIG_fail;
19100 swig_obj[0] = args;
19101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19102 if (!SWIG_IsOK(res1)) {
19103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19104 }
19105 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19106 {
19107 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 19108 {
1bd55598
RD
19109 wxFontData &_result_ref = (arg1)->GetFontData();
19110 result = (wxFontData *) &_result_ref;
36ed4f51 19111 }
1bd55598
RD
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19116 return resultobj;
19117fail:
19118 return NULL;
19119}
19120
19121
19122SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19123 PyObject *obj;
19124 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19125 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19126 return SWIG_Py_Void();
19127}
19128
19129SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19130 return SWIG_Python_InitShadowInstance(args);
19131}
19132
19133SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj = 0;
19135 wxWindow *arg1 = (wxWindow *) NULL ;
19136 wxFont const &arg2_defvalue = wxNullFont ;
19137 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19138 wxString const &arg3_defvalue = wxPyEmptyString ;
19139 wxString *arg3 = (wxString *) &arg3_defvalue ;
19140 wxFont result;
19141 void *argp1 = 0 ;
19142 int res1 = 0 ;
19143 void *argp2 = 0 ;
19144 int res2 = 0 ;
19145 bool temp3 = false ;
19146 PyObject * obj0 = 0 ;
19147 PyObject * obj1 = 0 ;
19148 PyObject * obj2 = 0 ;
19149 char * kwnames[] = {
19150 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19151 };
19152
19153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19154 if (obj0) {
19155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19156 if (!SWIG_IsOK(res1)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
36ed4f51 19158 }
1bd55598
RD
19159 arg1 = reinterpret_cast< wxWindow * >(argp1);
19160 }
19161 if (obj1) {
19162 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19163 if (!SWIG_IsOK(res2)) {
19164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19165 }
1bd55598
RD
19166 if (!argp2) {
19167 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19168 }
1bd55598
RD
19169 arg2 = reinterpret_cast< wxFont * >(argp2);
19170 }
19171 if (obj2) {
d55e5bfc 19172 {
1bd55598
RD
19173 arg3 = wxString_in_helper(obj2);
19174 if (arg3 == NULL) SWIG_fail;
19175 temp3 = true;
d55e5bfc 19176 }
1bd55598
RD
19177 }
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19185 {
19186 if (temp3)
19187 delete arg3;
19188 }
19189 return resultobj;
19190fail:
19191 {
19192 if (temp3)
19193 delete arg3;
19194 }
19195 return NULL;
19196}
19197
19198
19199SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj = 0;
19201 wxWindow *arg1 = (wxWindow *) 0 ;
19202 wxString *arg2 = 0 ;
19203 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19204 wxString *arg3 = (wxString *) &arg3_defvalue ;
19205 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19206 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19207 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19208 wxMessageDialog *result = 0 ;
19209 void *argp1 = 0 ;
19210 int res1 = 0 ;
19211 bool temp2 = false ;
19212 bool temp3 = false ;
19213 long val4 ;
19214 int ecode4 = 0 ;
19215 wxPoint temp5 ;
19216 PyObject * obj0 = 0 ;
19217 PyObject * obj1 = 0 ;
19218 PyObject * obj2 = 0 ;
19219 PyObject * obj3 = 0 ;
19220 PyObject * obj4 = 0 ;
19221 char * kwnames[] = {
19222 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19223 };
19224
19225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19227 if (!SWIG_IsOK(res1)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19229 }
19230 arg1 = reinterpret_cast< wxWindow * >(argp1);
19231 {
19232 arg2 = wxString_in_helper(obj1);
19233 if (arg2 == NULL) SWIG_fail;
19234 temp2 = true;
19235 }
19236 if (obj2) {
36ed4f51 19237 {
1bd55598
RD
19238 arg3 = wxString_in_helper(obj2);
19239 if (arg3 == NULL) SWIG_fail;
19240 temp3 = true;
36ed4f51 19241 }
1bd55598
RD
19242 }
19243 if (obj3) {
19244 ecode4 = SWIG_AsVal_long(obj3, &val4);
19245 if (!SWIG_IsOK(ecode4)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19247 }
19248 arg4 = static_cast< long >(val4);
19249 }
19250 if (obj4) {
36ed4f51 19251 {
1bd55598
RD
19252 arg5 = &temp5;
19253 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 19254 }
1bd55598
RD
19255 }
19256 {
19257 if (!wxPyCheckForApp()) SWIG_fail;
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19264 {
19265 if (temp2)
19266 delete arg2;
19267 }
19268 {
19269 if (temp3)
19270 delete arg3;
19271 }
19272 return resultobj;
19273fail:
19274 {
19275 if (temp2)
19276 delete arg2;
19277 }
19278 {
19279 if (temp3)
19280 delete arg3;
19281 }
19282 return NULL;
19283}
19284
19285
19286SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19287 PyObject *obj;
19288 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19289 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19290 return SWIG_Py_Void();
19291}
19292
19293SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19294 return SWIG_Python_InitShadowInstance(args);
19295}
19296
19297SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19298 PyObject *resultobj = 0;
19299 wxString *arg1 = 0 ;
19300 wxString *arg2 = 0 ;
19301 int arg3 = (int) 100 ;
19302 wxWindow *arg4 = (wxWindow *) NULL ;
19303 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19304 wxProgressDialog *result = 0 ;
19305 bool temp1 = false ;
19306 bool temp2 = false ;
19307 int val3 ;
19308 int ecode3 = 0 ;
19309 void *argp4 = 0 ;
19310 int res4 = 0 ;
19311 int val5 ;
19312 int ecode5 = 0 ;
19313 PyObject * obj0 = 0 ;
19314 PyObject * obj1 = 0 ;
19315 PyObject * obj2 = 0 ;
19316 PyObject * obj3 = 0 ;
19317 PyObject * obj4 = 0 ;
19318 char * kwnames[] = {
19319 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19320 };
19321
19322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19323 {
19324 arg1 = wxString_in_helper(obj0);
19325 if (arg1 == NULL) SWIG_fail;
19326 temp1 = true;
19327 }
19328 {
19329 arg2 = wxString_in_helper(obj1);
19330 if (arg2 == NULL) SWIG_fail;
19331 temp2 = true;
19332 }
19333 if (obj2) {
19334 ecode3 = SWIG_AsVal_int(obj2, &val3);
19335 if (!SWIG_IsOK(ecode3)) {
19336 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19337 }
19338 arg3 = static_cast< int >(val3);
19339 }
19340 if (obj3) {
19341 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19342 if (!SWIG_IsOK(res4)) {
19343 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19344 }
1bd55598
RD
19345 arg4 = reinterpret_cast< wxWindow * >(argp4);
19346 }
19347 if (obj4) {
19348 ecode5 = SWIG_AsVal_int(obj4, &val5);
19349 if (!SWIG_IsOK(ecode5)) {
19350 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19351 }
19352 arg5 = static_cast< int >(val5);
19353 }
19354 {
19355 if (!wxPyCheckForApp()) SWIG_fail;
19356 PyThreadState* __tstate = wxPyBeginAllowThreads();
19357 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
19361 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19362 {
19363 if (temp1)
19364 delete arg1;
19365 }
19366 {
19367 if (temp2)
19368 delete arg2;
19369 }
19370 return resultobj;
19371fail:
19372 {
19373 if (temp1)
19374 delete arg1;
19375 }
19376 {
19377 if (temp2)
19378 delete arg2;
19379 }
19380 return NULL;
19381}
19382
19383
19384SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj = 0;
19386 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19387 int arg2 ;
19388 wxString const &arg3_defvalue = wxPyEmptyString ;
19389 wxString *arg3 = (wxString *) &arg3_defvalue ;
2131d850 19390 bool *arg4 = (bool *) 0 ;
1bd55598
RD
19391 bool result;
19392 void *argp1 = 0 ;
19393 int res1 = 0 ;
19394 int val2 ;
19395 int ecode2 = 0 ;
19396 bool temp3 = false ;
2131d850
RD
19397 bool temp4 ;
19398 int res4 = SWIG_TMPOBJ ;
1bd55598
RD
19399 PyObject * obj0 = 0 ;
19400 PyObject * obj1 = 0 ;
19401 PyObject * obj2 = 0 ;
19402 char * kwnames[] = {
19403 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19404 };
19405
2131d850 19406 arg4 = &temp4;
1bd55598
RD
19407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19409 if (!SWIG_IsOK(res1)) {
19410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19411 }
19412 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19413 ecode2 = SWIG_AsVal_int(obj1, &val2);
19414 if (!SWIG_IsOK(ecode2)) {
19415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19416 }
19417 arg2 = static_cast< int >(val2);
19418 if (obj2) {
d55e5bfc 19419 {
1bd55598
RD
19420 arg3 = wxString_in_helper(obj2);
19421 if (arg3 == NULL) SWIG_fail;
19422 temp3 = true;
d55e5bfc 19423 }
1bd55598
RD
19424 }
19425 {
19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131d850 19427 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
1bd55598
RD
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 {
19432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19433 }
2131d850
RD
19434 if (SWIG_IsTmpObj(res4)) {
19435 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19436 } else {
19437 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19438 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19439 }
1bd55598
RD
19440 {
19441 if (temp3)
19442 delete arg3;
19443 }
19444 return resultobj;
19445fail:
19446 {
19447 if (temp3)
19448 delete arg3;
19449 }
19450 return NULL;
d55e5bfc
RD
19451}
19452
19453
6b449b19 19454SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0d2c9713
RD
19455 PyObject *resultobj = 0;
19456 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19457 wxString const &arg2_defvalue = wxPyEmptyString ;
19458 wxString *arg2 = (wxString *) &arg2_defvalue ;
19459 bool *arg3 = (bool *) 0 ;
19460 bool result;
19461 void *argp1 = 0 ;
19462 int res1 = 0 ;
19463 bool temp2 = false ;
19464 bool temp3 ;
19465 int res3 = SWIG_TMPOBJ ;
19466 PyObject * obj0 = 0 ;
19467 PyObject * obj1 = 0 ;
19468 char * kwnames[] = {
19469 (char *) "self",(char *) "newmsg", NULL
19470 };
19471
19472 arg3 = &temp3;
6b449b19 19473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
0d2c9713
RD
19474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19475 if (!SWIG_IsOK(res1)) {
6b449b19 19476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
0d2c9713
RD
19477 }
19478 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19479 if (obj1) {
19480 {
19481 arg2 = wxString_in_helper(obj1);
19482 if (arg2 == NULL) SWIG_fail;
19483 temp2 = true;
19484 }
19485 }
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
6b449b19 19488 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
0d2c9713
RD
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 {
19493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19494 }
19495 if (SWIG_IsTmpObj(res3)) {
19496 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19497 } else {
19498 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19499 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19500 }
19501 {
19502 if (temp2)
19503 delete arg2;
19504 }
19505 return resultobj;
19506fail:
19507 {
19508 if (temp2)
19509 delete arg2;
19510 }
19511 return NULL;
19512}
19513
19514
1bd55598
RD
19515SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19516 PyObject *resultobj = 0;
19517 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19518 void *argp1 = 0 ;
19519 int res1 = 0 ;
19520 PyObject *swig_obj[1] ;
19521
19522 if (!args) SWIG_fail;
19523 swig_obj[0] = args;
19524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19525 if (!SWIG_IsOK(res1)) {
19526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19527 }
19528 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 (arg1)->Resume();
19532 wxPyEndAllowThreads(__tstate);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 resultobj = SWIG_Py_Void();
19536 return resultobj;
19537fail:
19538 return NULL;
d55e5bfc
RD
19539}
19540
19541
1bd55598
RD
19542SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19543 PyObject *obj;
19544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19545 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19546 return SWIG_Py_Void();
d55e5bfc
RD
19547}
19548
1bd55598
RD
19549SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19550 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19551}
19552
1bd55598
RD
19553SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19554 PyObject *resultobj = 0;
19555 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19556 int arg2 = (int) 0 ;
19557 wxFindDialogEvent *result = 0 ;
19558 int val1 ;
19559 int ecode1 = 0 ;
19560 int val2 ;
19561 int ecode2 = 0 ;
19562 PyObject * obj0 = 0 ;
19563 PyObject * obj1 = 0 ;
19564 char * kwnames[] = {
19565 (char *) "commandType",(char *) "id", NULL
19566 };
19567
19568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19569 if (obj0) {
19570 ecode1 = SWIG_AsVal_int(obj0, &val1);
19571 if (!SWIG_IsOK(ecode1)) {
19572 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19573 }
19574 arg1 = static_cast< wxEventType >(val1);
19575 }
19576 if (obj1) {
19577 ecode2 = SWIG_AsVal_int(obj1, &val2);
19578 if (!SWIG_IsOK(ecode2)) {
19579 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19580 }
19581 arg2 = static_cast< int >(val2);
19582 }
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19590 return resultobj;
19591fail:
19592 return NULL;
d55e5bfc
RD
19593}
19594
19595
1bd55598
RD
19596SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19597 PyObject *resultobj = 0;
19598 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19599 int result;
19600 void *argp1 = 0 ;
19601 int res1 = 0 ;
19602 PyObject *swig_obj[1] ;
19603
19604 if (!args) SWIG_fail;
19605 swig_obj[0] = args;
19606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19607 if (!SWIG_IsOK(res1)) {
19608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19609 }
19610 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19611 {
19612 PyThreadState* __tstate = wxPyBeginAllowThreads();
19613 result = (int)(arg1)->GetFlags();
19614 wxPyEndAllowThreads(__tstate);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 }
19617 resultobj = SWIG_From_int(static_cast< int >(result));
19618 return resultobj;
19619fail:
19620 return NULL;
d55e5bfc
RD
19621}
19622
19623
1bd55598
RD
19624SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19625 PyObject *resultobj = 0;
19626 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19627 wxString *result = 0 ;
19628 void *argp1 = 0 ;
19629 int res1 = 0 ;
19630 PyObject *swig_obj[1] ;
19631
19632 if (!args) SWIG_fail;
19633 swig_obj[0] = args;
19634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19635 if (!SWIG_IsOK(res1)) {
19636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19637 }
19638 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19639 {
19640 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19641 {
1bd55598
RD
19642 wxString const &_result_ref = (arg1)->GetFindString();
19643 result = (wxString *) &_result_ref;
d55e5bfc 19644 }
1bd55598
RD
19645 wxPyEndAllowThreads(__tstate);
19646 if (PyErr_Occurred()) SWIG_fail;
19647 }
19648 {
19649#if wxUSE_UNICODE
19650 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19651#else
19652 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19653#endif
19654 }
19655 return resultobj;
19656fail:
19657 return NULL;
d55e5bfc
RD
19658}
19659
19660
1bd55598
RD
19661SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19662 PyObject *resultobj = 0;
19663 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19664 wxString *result = 0 ;
19665 void *argp1 = 0 ;
19666 int res1 = 0 ;
19667 PyObject *swig_obj[1] ;
19668
19669 if (!args) SWIG_fail;
19670 swig_obj[0] = args;
19671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19672 if (!SWIG_IsOK(res1)) {
19673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19674 }
19675 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19678 {
1bd55598
RD
19679 wxString const &_result_ref = (arg1)->GetReplaceString();
19680 result = (wxString *) &_result_ref;
d55e5bfc 19681 }
1bd55598
RD
19682 wxPyEndAllowThreads(__tstate);
19683 if (PyErr_Occurred()) SWIG_fail;
19684 }
19685 {
19686#if wxUSE_UNICODE
19687 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19688#else
19689 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19690#endif
19691 }
19692 return resultobj;
19693fail:
19694 return NULL;
d55e5bfc
RD
19695}
19696
19697
1bd55598
RD
19698SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19699 PyObject *resultobj = 0;
19700 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19701 wxFindReplaceDialog *result = 0 ;
19702 void *argp1 = 0 ;
19703 int res1 = 0 ;
19704 PyObject *swig_obj[1] ;
19705
19706 if (!args) SWIG_fail;
19707 swig_obj[0] = args;
19708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19709 if (!SWIG_IsOK(res1)) {
19710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19711 }
19712 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19713 {
19714 PyThreadState* __tstate = wxPyBeginAllowThreads();
19715 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19720 return resultobj;
19721fail:
19722 return NULL;
19723}
19724
19725
19726SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj = 0;
19728 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19729 int arg2 ;
19730 void *argp1 = 0 ;
19731 int res1 = 0 ;
19732 int val2 ;
19733 int ecode2 = 0 ;
19734 PyObject * obj0 = 0 ;
19735 PyObject * obj1 = 0 ;
19736 char * kwnames[] = {
19737 (char *) "self",(char *) "flags", NULL
19738 };
19739
19740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19742 if (!SWIG_IsOK(res1)) {
19743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19744 }
19745 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19746 ecode2 = SWIG_AsVal_int(obj1, &val2);
19747 if (!SWIG_IsOK(ecode2)) {
19748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19749 }
19750 arg2 = static_cast< int >(val2);
19751 {
19752 PyThreadState* __tstate = wxPyBeginAllowThreads();
19753 (arg1)->SetFlags(arg2);
19754 wxPyEndAllowThreads(__tstate);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 }
19757 resultobj = SWIG_Py_Void();
19758 return resultobj;
19759fail:
19760 return NULL;
19761}
19762
19763
19764SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19765 PyObject *resultobj = 0;
19766 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19767 wxString *arg2 = 0 ;
19768 void *argp1 = 0 ;
19769 int res1 = 0 ;
19770 bool temp2 = false ;
19771 PyObject * obj0 = 0 ;
19772 PyObject * obj1 = 0 ;
19773 char * kwnames[] = {
19774 (char *) "self",(char *) "str", NULL
19775 };
19776
19777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19779 if (!SWIG_IsOK(res1)) {
19780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19781 }
19782 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19783 {
19784 arg2 = wxString_in_helper(obj1);
19785 if (arg2 == NULL) SWIG_fail;
19786 temp2 = true;
19787 }
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 (arg1)->SetFindString((wxString const &)*arg2);
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 resultobj = SWIG_Py_Void();
19795 {
19796 if (temp2)
19797 delete arg2;
19798 }
19799 return resultobj;
19800fail:
19801 {
19802 if (temp2)
19803 delete arg2;
19804 }
19805 return NULL;
d55e5bfc
RD
19806}
19807
19808
1bd55598
RD
19809SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19810 PyObject *resultobj = 0;
19811 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19812 wxString *arg2 = 0 ;
19813 void *argp1 = 0 ;
19814 int res1 = 0 ;
19815 bool temp2 = false ;
19816 PyObject * obj0 = 0 ;
19817 PyObject * obj1 = 0 ;
19818 char * kwnames[] = {
19819 (char *) "self",(char *) "str", NULL
19820 };
19821
19822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19824 if (!SWIG_IsOK(res1)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19826 }
19827 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19828 {
19829 arg2 = wxString_in_helper(obj1);
19830 if (arg2 == NULL) SWIG_fail;
19831 temp2 = true;
19832 }
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 (arg1)->SetReplaceString((wxString const &)*arg2);
19836 wxPyEndAllowThreads(__tstate);
19837 if (PyErr_Occurred()) SWIG_fail;
19838 }
19839 resultobj = SWIG_Py_Void();
19840 {
19841 if (temp2)
19842 delete arg2;
19843 }
19844 return resultobj;
19845fail:
19846 {
19847 if (temp2)
19848 delete arg2;
19849 }
19850 return NULL;
d55e5bfc
RD
19851}
19852
19853
1bd55598
RD
19854SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19855 PyObject *obj;
19856 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19857 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19858 return SWIG_Py_Void();
d55e5bfc
RD
19859}
19860
1bd55598
RD
19861SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19862 return SWIG_Python_InitShadowInstance(args);
19863}
d55e5bfc 19864
1bd55598
RD
19865SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19866 PyObject *resultobj = 0;
19867 int arg1 = (int) 0 ;
19868 wxFindReplaceData *result = 0 ;
19869 int val1 ;
19870 int ecode1 = 0 ;
19871 PyObject * obj0 = 0 ;
19872 char * kwnames[] = {
19873 (char *) "flags", NULL
19874 };
19875
19876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19877 if (obj0) {
19878 ecode1 = SWIG_AsVal_int(obj0, &val1);
19879 if (!SWIG_IsOK(ecode1)) {
19880 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19881 }
19882 arg1 = static_cast< int >(val1);
19883 }
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19887 wxPyEndAllowThreads(__tstate);
19888 if (PyErr_Occurred()) SWIG_fail;
19889 }
19890 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19891 return resultobj;
19892fail:
19893 return NULL;
d6c14a4c
RD
19894}
19895
19896
1bd55598
RD
19897SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19898 PyObject *resultobj = 0;
19899 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19900 void *argp1 = 0 ;
19901 int res1 = 0 ;
19902 PyObject *swig_obj[1] ;
19903
19904 if (!args) SWIG_fail;
19905 swig_obj[0] = args;
19906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19907 if (!SWIG_IsOK(res1)) {
19908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19909 }
19910 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 delete arg1;
d55e5bfc 19914
1bd55598
RD
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 resultobj = SWIG_Py_Void();
19919 return resultobj;
19920fail:
19921 return NULL;
d55e5bfc
RD
19922}
19923
19924
1bd55598
RD
19925SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19926 PyObject *resultobj = 0;
19927 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19928 wxString *result = 0 ;
19929 void *argp1 = 0 ;
19930 int res1 = 0 ;
19931 PyObject *swig_obj[1] ;
19932
19933 if (!args) SWIG_fail;
19934 swig_obj[0] = args;
19935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19936 if (!SWIG_IsOK(res1)) {
19937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19938 }
19939 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19942 {
1bd55598
RD
19943 wxString const &_result_ref = (arg1)->GetFindString();
19944 result = (wxString *) &_result_ref;
19945 }
19946 wxPyEndAllowThreads(__tstate);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 {
19950#if wxUSE_UNICODE
19951 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19952#else
19953 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19954#endif
19955 }
19956 return resultobj;
19957fail:
19958 return NULL;
7e08d4ef
RD
19959}
19960
19961
1bd55598
RD
19962SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19963 PyObject *resultobj = 0;
19964 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19965 wxString *result = 0 ;
19966 void *argp1 = 0 ;
19967 int res1 = 0 ;
19968 PyObject *swig_obj[1] ;
19969
19970 if (!args) SWIG_fail;
19971 swig_obj[0] = args;
19972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19973 if (!SWIG_IsOK(res1)) {
19974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19975 }
19976 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 19979 {
1bd55598
RD
19980 wxString const &_result_ref = (arg1)->GetReplaceString();
19981 result = (wxString *) &_result_ref;
36ed4f51 19982 }
1bd55598
RD
19983 wxPyEndAllowThreads(__tstate);
19984 if (PyErr_Occurred()) SWIG_fail;
19985 }
19986 {
19987#if wxUSE_UNICODE
19988 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19989#else
19990 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19991#endif
19992 }
19993 return resultobj;
19994fail:
19995 return NULL;
d55e5bfc
RD
19996}
19997
19998
1bd55598
RD
19999SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20000 PyObject *resultobj = 0;
20001 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20002 int result;
20003 void *argp1 = 0 ;
20004 int res1 = 0 ;
20005 PyObject *swig_obj[1] ;
20006
20007 if (!args) SWIG_fail;
20008 swig_obj[0] = args;
20009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20010 if (!SWIG_IsOK(res1)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20012 }
20013 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 result = (int)(arg1)->GetFlags();
20017 wxPyEndAllowThreads(__tstate);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 resultobj = SWIG_From_int(static_cast< int >(result));
20021 return resultobj;
20022fail:
20023 return NULL;
20024}
20025
20026
20027SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20028 PyObject *resultobj = 0;
20029 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20030 int arg2 ;
20031 void *argp1 = 0 ;
20032 int res1 = 0 ;
20033 int val2 ;
20034 int ecode2 = 0 ;
20035 PyObject * obj0 = 0 ;
20036 PyObject * obj1 = 0 ;
20037 char * kwnames[] = {
20038 (char *) "self",(char *) "flags", NULL
20039 };
20040
20041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20043 if (!SWIG_IsOK(res1)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20045 }
20046 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20047 ecode2 = SWIG_AsVal_int(obj1, &val2);
20048 if (!SWIG_IsOK(ecode2)) {
20049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20050 }
20051 arg2 = static_cast< int >(val2);
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 (arg1)->SetFlags(arg2);
20055 wxPyEndAllowThreads(__tstate);
20056 if (PyErr_Occurred()) SWIG_fail;
20057 }
20058 resultobj = SWIG_Py_Void();
20059 return resultobj;
20060fail:
20061 return NULL;
20062}
20063
20064
20065SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20066 PyObject *resultobj = 0;
20067 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20068 wxString *arg2 = 0 ;
20069 void *argp1 = 0 ;
20070 int res1 = 0 ;
20071 bool temp2 = false ;
20072 PyObject * obj0 = 0 ;
20073 PyObject * obj1 = 0 ;
20074 char * kwnames[] = {
20075 (char *) "self",(char *) "str", NULL
20076 };
20077
20078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20080 if (!SWIG_IsOK(res1)) {
20081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20082 }
20083 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20084 {
20085 arg2 = wxString_in_helper(obj1);
20086 if (arg2 == NULL) SWIG_fail;
20087 temp2 = true;
20088 }
20089 {
20090 PyThreadState* __tstate = wxPyBeginAllowThreads();
20091 (arg1)->SetFindString((wxString const &)*arg2);
20092 wxPyEndAllowThreads(__tstate);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 }
20095 resultobj = SWIG_Py_Void();
20096 {
20097 if (temp2)
20098 delete arg2;
20099 }
20100 return resultobj;
20101fail:
20102 {
20103 if (temp2)
20104 delete arg2;
20105 }
20106 return NULL;
d55e5bfc
RD
20107}
20108
20109
1bd55598
RD
20110SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj = 0;
20112 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20113 wxString *arg2 = 0 ;
20114 void *argp1 = 0 ;
20115 int res1 = 0 ;
20116 bool temp2 = false ;
20117 PyObject * obj0 = 0 ;
20118 PyObject * obj1 = 0 ;
20119 char * kwnames[] = {
20120 (char *) "self",(char *) "str", NULL
20121 };
20122
20123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20125 if (!SWIG_IsOK(res1)) {
20126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20127 }
20128 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20129 {
20130 arg2 = wxString_in_helper(obj1);
20131 if (arg2 == NULL) SWIG_fail;
20132 temp2 = true;
20133 }
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 (arg1)->SetReplaceString((wxString const &)*arg2);
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 resultobj = SWIG_Py_Void();
20141 {
20142 if (temp2)
20143 delete arg2;
20144 }
20145 return resultobj;
20146fail:
20147 {
20148 if (temp2)
20149 delete arg2;
20150 }
20151 return NULL;
20152}
20153
20154
20155SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20156 PyObject *obj;
20157 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20158 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20159 return SWIG_Py_Void();
20160}
20161
20162SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20163 return SWIG_Python_InitShadowInstance(args);
20164}
20165
20166SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20167 PyObject *resultobj = 0;
20168 wxWindow *arg1 = (wxWindow *) 0 ;
20169 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20170 wxString *arg3 = 0 ;
20171 int arg4 = (int) 0 ;
20172 wxFindReplaceDialog *result = 0 ;
20173 void *argp1 = 0 ;
20174 int res1 = 0 ;
20175 void *argp2 = 0 ;
20176 int res2 = 0 ;
20177 bool temp3 = false ;
20178 int val4 ;
20179 int ecode4 = 0 ;
20180 PyObject * obj0 = 0 ;
20181 PyObject * obj1 = 0 ;
20182 PyObject * obj2 = 0 ;
20183 PyObject * obj3 = 0 ;
20184 char * kwnames[] = {
20185 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20186 };
20187
20188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20190 if (!SWIG_IsOK(res1)) {
20191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20192 }
20193 arg1 = reinterpret_cast< wxWindow * >(argp1);
20194 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20195 if (!SWIG_IsOK(res2)) {
20196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20197 }
20198 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20199 {
20200 arg3 = wxString_in_helper(obj2);
20201 if (arg3 == NULL) SWIG_fail;
20202 temp3 = true;
20203 }
20204 if (obj3) {
20205 ecode4 = SWIG_AsVal_int(obj3, &val4);
20206 if (!SWIG_IsOK(ecode4)) {
20207 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20208 }
20209 arg4 = static_cast< int >(val4);
20210 }
20211 {
20212 if (!wxPyCheckForApp()) SWIG_fail;
20213 PyThreadState* __tstate = wxPyBeginAllowThreads();
20214 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20219 {
20220 if (temp3)
20221 delete arg3;
20222 }
20223 return resultobj;
20224fail:
20225 {
20226 if (temp3)
20227 delete arg3;
20228 }
20229 return NULL;
b411df4a
RD
20230}
20231
20232
1bd55598
RD
20233SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20234 PyObject *resultobj = 0;
20235 wxFindReplaceDialog *result = 0 ;
20236
20237 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20238 {
20239 if (!wxPyCheckForApp()) SWIG_fail;
20240 PyThreadState* __tstate = wxPyBeginAllowThreads();
20241 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20246 return resultobj;
20247fail:
20248 return NULL;
20249}
20250
20251
20252SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20253 PyObject *resultobj = 0;
20254 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20255 wxWindow *arg2 = (wxWindow *) 0 ;
20256 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20257 wxString *arg4 = 0 ;
20258 int arg5 = (int) 0 ;
20259 bool result;
20260 void *argp1 = 0 ;
20261 int res1 = 0 ;
20262 void *argp2 = 0 ;
20263 int res2 = 0 ;
20264 void *argp3 = 0 ;
20265 int res3 = 0 ;
20266 bool temp4 = false ;
20267 int val5 ;
20268 int ecode5 = 0 ;
20269 PyObject * obj0 = 0 ;
20270 PyObject * obj1 = 0 ;
20271 PyObject * obj2 = 0 ;
20272 PyObject * obj3 = 0 ;
20273 PyObject * obj4 = 0 ;
20274 char * kwnames[] = {
20275 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20276 };
20277
20278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20280 if (!SWIG_IsOK(res1)) {
20281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20282 }
20283 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20284 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20285 if (!SWIG_IsOK(res2)) {
20286 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20287 }
20288 arg2 = reinterpret_cast< wxWindow * >(argp2);
20289 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20290 if (!SWIG_IsOK(res3)) {
20291 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20292 }
20293 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20294 {
20295 arg4 = wxString_in_helper(obj3);
20296 if (arg4 == NULL) SWIG_fail;
20297 temp4 = true;
20298 }
20299 if (obj4) {
20300 ecode5 = SWIG_AsVal_int(obj4, &val5);
20301 if (!SWIG_IsOK(ecode5)) {
20302 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20303 }
20304 arg5 = static_cast< int >(val5);
20305 }
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 {
20313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20314 }
20315 {
20316 if (temp4)
20317 delete arg4;
20318 }
20319 return resultobj;
20320fail:
20321 {
20322 if (temp4)
20323 delete arg4;
20324 }
20325 return NULL;
b411df4a
RD
20326}
20327
20328
1bd55598
RD
20329SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20330 PyObject *resultobj = 0;
20331 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20332 wxFindReplaceData *result = 0 ;
20333 void *argp1 = 0 ;
20334 int res1 = 0 ;
20335 PyObject *swig_obj[1] ;
20336
20337 if (!args) SWIG_fail;
20338 swig_obj[0] = args;
20339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20340 if (!SWIG_IsOK(res1)) {
20341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20342 }
20343 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20344 {
20345 PyThreadState* __tstate = wxPyBeginAllowThreads();
20346 result = (wxFindReplaceData *)(arg1)->GetData();
20347 wxPyEndAllowThreads(__tstate);
20348 if (PyErr_Occurred()) SWIG_fail;
20349 }
20350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20351 return resultobj;
20352fail:
20353 return NULL;
20354}
20355
20356
20357SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20358 PyObject *resultobj = 0;
20359 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20360 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20361 void *argp1 = 0 ;
20362 int res1 = 0 ;
20363 void *argp2 = 0 ;
20364 int res2 = 0 ;
20365 PyObject * obj0 = 0 ;
20366 PyObject * obj1 = 0 ;
20367 char * kwnames[] = {
20368 (char *) "self",(char *) "data", NULL
20369 };
20370
20371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20373 if (!SWIG_IsOK(res1)) {
20374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20375 }
20376 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20377 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20378 if (!SWIG_IsOK(res2)) {
20379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20380 }
20381 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20382 {
20383 PyThreadState* __tstate = wxPyBeginAllowThreads();
20384 (arg1)->SetData(arg2);
20385 wxPyEndAllowThreads(__tstate);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 }
20388 resultobj = SWIG_Py_Void();
20389 return resultobj;
20390fail:
20391 return NULL;
20392}
20393
20394
20395SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20396 PyObject *obj;
20397 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20398 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20399 return SWIG_Py_Void();
20400}
20401
20402SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20403 return SWIG_Python_InitShadowInstance(args);
20404}
20405
20406SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj = 0;
20408 wxWindow *arg1 = (wxWindow *) 0 ;
20409 int arg2 = (int) (int)-1 ;
20410 wxString const &arg3_defvalue = wxPyEmptyString ;
20411 wxString *arg3 = (wxString *) &arg3_defvalue ;
20412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20414 wxSize const &arg5_defvalue = wxDefaultSize ;
20415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20416 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20417 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20418 wxString *arg7 = (wxString *) &arg7_defvalue ;
20419 wxMDIParentFrame *result = 0 ;
20420 void *argp1 = 0 ;
20421 int res1 = 0 ;
20422 int val2 ;
20423 int ecode2 = 0 ;
20424 bool temp3 = false ;
20425 wxPoint temp4 ;
20426 wxSize temp5 ;
20427 long val6 ;
20428 int ecode6 = 0 ;
20429 bool temp7 = false ;
20430 PyObject * obj0 = 0 ;
20431 PyObject * obj1 = 0 ;
20432 PyObject * obj2 = 0 ;
20433 PyObject * obj3 = 0 ;
20434 PyObject * obj4 = 0 ;
20435 PyObject * obj5 = 0 ;
20436 PyObject * obj6 = 0 ;
20437 char * kwnames[] = {
20438 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20439 };
20440
20441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20443 if (!SWIG_IsOK(res1)) {
20444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20445 }
20446 arg1 = reinterpret_cast< wxWindow * >(argp1);
20447 if (obj1) {
20448 ecode2 = SWIG_AsVal_int(obj1, &val2);
20449 if (!SWIG_IsOK(ecode2)) {
20450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20451 }
20452 arg2 = static_cast< int >(val2);
20453 }
20454 if (obj2) {
b411df4a 20455 {
1bd55598
RD
20456 arg3 = wxString_in_helper(obj2);
20457 if (arg3 == NULL) SWIG_fail;
20458 temp3 = true;
b411df4a 20459 }
1bd55598
RD
20460 }
20461 if (obj3) {
b411df4a 20462 {
1bd55598
RD
20463 arg4 = &temp4;
20464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b411df4a 20465 }
1bd55598
RD
20466 }
20467 if (obj4) {
b411df4a 20468 {
1bd55598
RD
20469 arg5 = &temp5;
20470 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20471 }
1bd55598
RD
20472 }
20473 if (obj5) {
20474 ecode6 = SWIG_AsVal_long(obj5, &val6);
20475 if (!SWIG_IsOK(ecode6)) {
20476 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20477 }
20478 arg6 = static_cast< long >(val6);
20479 }
20480 if (obj6) {
b411df4a 20481 {
1bd55598
RD
20482 arg7 = wxString_in_helper(obj6);
20483 if (arg7 == NULL) SWIG_fail;
20484 temp7 = true;
b411df4a 20485 }
1bd55598
RD
20486 }
20487 {
20488 if (!wxPyCheckForApp()) SWIG_fail;
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20491 wxPyEndAllowThreads(__tstate);
20492 if (PyErr_Occurred()) SWIG_fail;
20493 }
20494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20495 {
20496 if (temp3)
20497 delete arg3;
20498 }
20499 {
20500 if (temp7)
20501 delete arg7;
20502 }
20503 return resultobj;
20504fail:
20505 {
20506 if (temp3)
20507 delete arg3;
20508 }
20509 {
20510 if (temp7)
20511 delete arg7;
20512 }
20513 return NULL;
b411df4a
RD
20514}
20515
20516
1bd55598
RD
20517SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20518 PyObject *resultobj = 0;
20519 wxMDIParentFrame *result = 0 ;
20520
20521 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20522 {
20523 if (!wxPyCheckForApp()) SWIG_fail;
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20526 wxPyEndAllowThreads(__tstate);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20530 return resultobj;
20531fail:
20532 return NULL;
20533}
20534
20535
20536SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20537 PyObject *resultobj = 0;
20538 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20539 wxWindow *arg2 = (wxWindow *) 0 ;
20540 int arg3 = (int) (int)-1 ;
20541 wxString const &arg4_defvalue = wxPyEmptyString ;
20542 wxString *arg4 = (wxString *) &arg4_defvalue ;
20543 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20544 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20545 wxSize const &arg6_defvalue = wxDefaultSize ;
20546 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20547 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20548 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20549 wxString *arg8 = (wxString *) &arg8_defvalue ;
20550 bool result;
20551 void *argp1 = 0 ;
20552 int res1 = 0 ;
20553 void *argp2 = 0 ;
20554 int res2 = 0 ;
20555 int val3 ;
20556 int ecode3 = 0 ;
20557 bool temp4 = false ;
20558 wxPoint temp5 ;
20559 wxSize temp6 ;
20560 long val7 ;
20561 int ecode7 = 0 ;
20562 bool temp8 = false ;
20563 PyObject * obj0 = 0 ;
20564 PyObject * obj1 = 0 ;
20565 PyObject * obj2 = 0 ;
20566 PyObject * obj3 = 0 ;
20567 PyObject * obj4 = 0 ;
20568 PyObject * obj5 = 0 ;
20569 PyObject * obj6 = 0 ;
20570 PyObject * obj7 = 0 ;
20571 char * kwnames[] = {
20572 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20573 };
20574
20575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20577 if (!SWIG_IsOK(res1)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20579 }
20580 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20581 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20582 if (!SWIG_IsOK(res2)) {
20583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20584 }
20585 arg2 = reinterpret_cast< wxWindow * >(argp2);
20586 if (obj2) {
20587 ecode3 = SWIG_AsVal_int(obj2, &val3);
20588 if (!SWIG_IsOK(ecode3)) {
20589 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20590 }
20591 arg3 = static_cast< int >(val3);
20592 }
20593 if (obj3) {
b411df4a 20594 {
1bd55598
RD
20595 arg4 = wxString_in_helper(obj3);
20596 if (arg4 == NULL) SWIG_fail;
20597 temp4 = true;
b411df4a 20598 }
1bd55598
RD
20599 }
20600 if (obj4) {
b411df4a 20601 {
1bd55598
RD
20602 arg5 = &temp5;
20603 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20604 }
1bd55598
RD
20605 }
20606 if (obj5) {
b411df4a 20607 {
1bd55598
RD
20608 arg6 = &temp6;
20609 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b411df4a 20610 }
1bd55598
RD
20611 }
20612 if (obj6) {
20613 ecode7 = SWIG_AsVal_long(obj6, &val7);
20614 if (!SWIG_IsOK(ecode7)) {
20615 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20616 }
20617 arg7 = static_cast< long >(val7);
20618 }
20619 if (obj7) {
36ed4f51 20620 {
1bd55598
RD
20621 arg8 = wxString_in_helper(obj7);
20622 if (arg8 == NULL) SWIG_fail;
20623 temp8 = true;
36ed4f51 20624 }
1bd55598
RD
20625 }
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 {
20633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20634 }
20635 {
20636 if (temp4)
20637 delete arg4;
20638 }
20639 {
20640 if (temp8)
20641 delete arg8;
20642 }
20643 return resultobj;
20644fail:
20645 {
20646 if (temp4)
20647 delete arg4;
20648 }
20649 {
20650 if (temp8)
20651 delete arg8;
20652 }
20653 return NULL;
d55e5bfc
RD
20654}
20655
20656
1bd55598
RD
20657SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20658 PyObject *resultobj = 0;
20659 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20660 void *argp1 = 0 ;
20661 int res1 = 0 ;
20662 PyObject *swig_obj[1] ;
20663
20664 if (!args) SWIG_fail;
20665 swig_obj[0] = args;
20666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20667 if (!SWIG_IsOK(res1)) {
20668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20669 }
20670 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20671 {
20672 PyThreadState* __tstate = wxPyBeginAllowThreads();
20673 (arg1)->ActivateNext();
20674 wxPyEndAllowThreads(__tstate);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 }
20677 resultobj = SWIG_Py_Void();
20678 return resultobj;
20679fail:
20680 return NULL;
d55e5bfc
RD
20681}
20682
20683
1bd55598
RD
20684SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20685 PyObject *resultobj = 0;
20686 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20687 void *argp1 = 0 ;
20688 int res1 = 0 ;
20689 PyObject *swig_obj[1] ;
20690
20691 if (!args) SWIG_fail;
20692 swig_obj[0] = args;
20693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20694 if (!SWIG_IsOK(res1)) {
20695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20696 }
20697 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20698 {
20699 PyThreadState* __tstate = wxPyBeginAllowThreads();
20700 (arg1)->ActivatePrevious();
20701 wxPyEndAllowThreads(__tstate);
20702 if (PyErr_Occurred()) SWIG_fail;
20703 }
20704 resultobj = SWIG_Py_Void();
20705 return resultobj;
20706fail:
20707 return NULL;
d55e5bfc
RD
20708}
20709
20710
1bd55598
RD
20711SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20712 PyObject *resultobj = 0;
20713 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20714 void *argp1 = 0 ;
20715 int res1 = 0 ;
20716 PyObject *swig_obj[1] ;
20717
20718 if (!args) SWIG_fail;
20719 swig_obj[0] = args;
20720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20721 if (!SWIG_IsOK(res1)) {
20722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20723 }
20724 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 (arg1)->ArrangeIcons();
20728 wxPyEndAllowThreads(__tstate);
20729 if (PyErr_Occurred()) SWIG_fail;
20730 }
20731 resultobj = SWIG_Py_Void();
20732 return resultobj;
20733fail:
20734 return NULL;
d55e5bfc
RD
20735}
20736
20737
1bd55598
RD
20738SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20739 PyObject *resultobj = 0;
20740 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20741 void *argp1 = 0 ;
20742 int res1 = 0 ;
20743 PyObject *swig_obj[1] ;
20744
20745 if (!args) SWIG_fail;
20746 swig_obj[0] = args;
20747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20748 if (!SWIG_IsOK(res1)) {
20749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20750 }
20751 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20752 {
20753 PyThreadState* __tstate = wxPyBeginAllowThreads();
20754 (arg1)->Cascade();
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 resultobj = SWIG_Py_Void();
20759 return resultobj;
20760fail:
20761 return NULL;
d55e5bfc
RD
20762}
20763
20764
1bd55598
RD
20765SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20766 PyObject *resultobj = 0;
20767 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20768 wxMDIChildFrame *result = 0 ;
20769 void *argp1 = 0 ;
20770 int res1 = 0 ;
20771 PyObject *swig_obj[1] ;
20772
20773 if (!args) SWIG_fail;
20774 swig_obj[0] = args;
20775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20776 if (!SWIG_IsOK(res1)) {
20777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20778 }
20779 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20780 {
20781 PyThreadState* __tstate = wxPyBeginAllowThreads();
20782 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20783 wxPyEndAllowThreads(__tstate);
20784 if (PyErr_Occurred()) SWIG_fail;
20785 }
20786 {
20787 resultobj = wxPyMake_wxObject(result, (bool)0);
20788 }
20789 return resultobj;
20790fail:
20791 return NULL;
d55e5bfc
RD
20792}
20793
20794
1bd55598
RD
20795SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20796 PyObject *resultobj = 0;
20797 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20798 wxMDIClientWindow *result = 0 ;
20799 void *argp1 = 0 ;
20800 int res1 = 0 ;
20801 PyObject *swig_obj[1] ;
20802
20803 if (!args) SWIG_fail;
20804 swig_obj[0] = args;
20805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20806 if (!SWIG_IsOK(res1)) {
20807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20808 }
20809 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20813 wxPyEndAllowThreads(__tstate);
20814 if (PyErr_Occurred()) SWIG_fail;
20815 }
20816 {
20817 resultobj = wxPyMake_wxObject(result, (bool)0);
20818 }
20819 return resultobj;
20820fail:
20821 return NULL;
d55e5bfc
RD
20822}
20823
20824
1bd55598
RD
20825SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20826 PyObject *resultobj = 0;
20827 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20828 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20829 void *argp1 = 0 ;
20830 int res1 = 0 ;
20831 int val2 ;
20832 int ecode2 = 0 ;
20833 PyObject * obj0 = 0 ;
20834 PyObject * obj1 = 0 ;
20835 char * kwnames[] = {
20836 (char *) "self",(char *) "orient", NULL
20837 };
20838
20839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20841 if (!SWIG_IsOK(res1)) {
20842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20843 }
20844 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20845 if (obj1) {
20846 ecode2 = SWIG_AsVal_int(obj1, &val2);
20847 if (!SWIG_IsOK(ecode2)) {
20848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20849 }
20850 arg2 = static_cast< wxOrientation >(val2);
20851 }
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 (arg1)->Tile(arg2);
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 resultobj = SWIG_Py_Void();
20859 return resultobj;
20860fail:
20861 return NULL;
20862}
20863
20864
20865SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20866 PyObject *obj;
20867 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20868 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20869 return SWIG_Py_Void();
20870}
20871
20872SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20873 return SWIG_Python_InitShadowInstance(args);
20874}
20875
20876SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20877 PyObject *resultobj = 0;
20878 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20879 int arg2 = (int) (int)-1 ;
20880 wxString const &arg3_defvalue = wxPyEmptyString ;
20881 wxString *arg3 = (wxString *) &arg3_defvalue ;
20882 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20883 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20884 wxSize const &arg5_defvalue = wxDefaultSize ;
20885 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20886 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20887 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20888 wxString *arg7 = (wxString *) &arg7_defvalue ;
20889 wxMDIChildFrame *result = 0 ;
20890 void *argp1 = 0 ;
20891 int res1 = 0 ;
20892 int val2 ;
20893 int ecode2 = 0 ;
20894 bool temp3 = false ;
20895 wxPoint temp4 ;
20896 wxSize temp5 ;
20897 long val6 ;
20898 int ecode6 = 0 ;
20899 bool temp7 = false ;
20900 PyObject * obj0 = 0 ;
20901 PyObject * obj1 = 0 ;
20902 PyObject * obj2 = 0 ;
20903 PyObject * obj3 = 0 ;
20904 PyObject * obj4 = 0 ;
20905 PyObject * obj5 = 0 ;
20906 PyObject * obj6 = 0 ;
20907 char * kwnames[] = {
20908 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20909 };
20910
20911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20913 if (!SWIG_IsOK(res1)) {
20914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20915 }
20916 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20917 if (obj1) {
20918 ecode2 = SWIG_AsVal_int(obj1, &val2);
20919 if (!SWIG_IsOK(ecode2)) {
20920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20921 }
20922 arg2 = static_cast< int >(val2);
20923 }
20924 if (obj2) {
d55e5bfc 20925 {
1bd55598
RD
20926 arg3 = wxString_in_helper(obj2);
20927 if (arg3 == NULL) SWIG_fail;
20928 temp3 = true;
d55e5bfc 20929 }
1bd55598
RD
20930 }
20931 if (obj3) {
d55e5bfc 20932 {
1bd55598
RD
20933 arg4 = &temp4;
20934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20935 }
1bd55598
RD
20936 }
20937 if (obj4) {
d55e5bfc 20938 {
1bd55598
RD
20939 arg5 = &temp5;
20940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20941 }
1bd55598
RD
20942 }
20943 if (obj5) {
20944 ecode6 = SWIG_AsVal_long(obj5, &val6);
20945 if (!SWIG_IsOK(ecode6)) {
20946 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20947 }
20948 arg6 = static_cast< long >(val6);
20949 }
20950 if (obj6) {
d55e5bfc 20951 {
1bd55598
RD
20952 arg7 = wxString_in_helper(obj6);
20953 if (arg7 == NULL) SWIG_fail;
20954 temp7 = true;
d55e5bfc 20955 }
1bd55598
RD
20956 }
20957 {
20958 if (!wxPyCheckForApp()) SWIG_fail;
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20965 {
20966 if (temp3)
20967 delete arg3;
20968 }
20969 {
20970 if (temp7)
20971 delete arg7;
20972 }
20973 return resultobj;
20974fail:
20975 {
20976 if (temp3)
20977 delete arg3;
20978 }
20979 {
20980 if (temp7)
20981 delete arg7;
20982 }
20983 return NULL;
d55e5bfc
RD
20984}
20985
20986
1bd55598
RD
20987SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20988 PyObject *resultobj = 0;
20989 wxMDIChildFrame *result = 0 ;
20990
20991 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20992 {
20993 if (!wxPyCheckForApp()) SWIG_fail;
20994 PyThreadState* __tstate = wxPyBeginAllowThreads();
20995 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21000 return resultobj;
21001fail:
21002 return NULL;
21003}
21004
21005
21006SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21007 PyObject *resultobj = 0;
21008 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21009 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21010 int arg3 = (int) (int)-1 ;
21011 wxString const &arg4_defvalue = wxPyEmptyString ;
21012 wxString *arg4 = (wxString *) &arg4_defvalue ;
21013 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21014 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21015 wxSize const &arg6_defvalue = wxDefaultSize ;
21016 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21017 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21018 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21019 wxString *arg8 = (wxString *) &arg8_defvalue ;
21020 bool result;
21021 void *argp1 = 0 ;
21022 int res1 = 0 ;
21023 void *argp2 = 0 ;
21024 int res2 = 0 ;
21025 int val3 ;
21026 int ecode3 = 0 ;
21027 bool temp4 = false ;
21028 wxPoint temp5 ;
21029 wxSize temp6 ;
21030 long val7 ;
21031 int ecode7 = 0 ;
21032 bool temp8 = false ;
21033 PyObject * obj0 = 0 ;
21034 PyObject * obj1 = 0 ;
21035 PyObject * obj2 = 0 ;
21036 PyObject * obj3 = 0 ;
21037 PyObject * obj4 = 0 ;
21038 PyObject * obj5 = 0 ;
21039 PyObject * obj6 = 0 ;
21040 PyObject * obj7 = 0 ;
21041 char * kwnames[] = {
21042 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21043 };
21044
21045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21047 if (!SWIG_IsOK(res1)) {
21048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21049 }
21050 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21051 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21052 if (!SWIG_IsOK(res2)) {
21053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21054 }
21055 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21056 if (obj2) {
21057 ecode3 = SWIG_AsVal_int(obj2, &val3);
21058 if (!SWIG_IsOK(ecode3)) {
21059 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21060 }
21061 arg3 = static_cast< int >(val3);
21062 }
21063 if (obj3) {
36ed4f51 21064 {
1bd55598
RD
21065 arg4 = wxString_in_helper(obj3);
21066 if (arg4 == NULL) SWIG_fail;
21067 temp4 = true;
36ed4f51 21068 }
1bd55598
RD
21069 }
21070 if (obj4) {
d55e5bfc 21071 {
1bd55598
RD
21072 arg5 = &temp5;
21073 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21074 }
1bd55598
RD
21075 }
21076 if (obj5) {
d55e5bfc 21077 {
1bd55598
RD
21078 arg6 = &temp6;
21079 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 21080 }
1bd55598
RD
21081 }
21082 if (obj6) {
21083 ecode7 = SWIG_AsVal_long(obj6, &val7);
21084 if (!SWIG_IsOK(ecode7)) {
21085 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21086 }
21087 arg7 = static_cast< long >(val7);
21088 }
21089 if (obj7) {
36ed4f51 21090 {
1bd55598
RD
21091 arg8 = wxString_in_helper(obj7);
21092 if (arg8 == NULL) SWIG_fail;
21093 temp8 = true;
36ed4f51 21094 }
1bd55598
RD
21095 }
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
21102 {
21103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21104 }
21105 {
21106 if (temp4)
21107 delete arg4;
21108 }
21109 {
21110 if (temp8)
21111 delete arg8;
21112 }
21113 return resultobj;
21114fail:
21115 {
21116 if (temp4)
21117 delete arg4;
21118 }
21119 {
21120 if (temp8)
21121 delete arg8;
21122 }
21123 return NULL;
d55e5bfc
RD
21124}
21125
21126
1bd55598
RD
21127SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21128 PyObject *resultobj = 0;
21129 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21130 void *argp1 = 0 ;
21131 int res1 = 0 ;
21132 PyObject *swig_obj[1] ;
21133
21134 if (!args) SWIG_fail;
21135 swig_obj[0] = args;
21136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21137 if (!SWIG_IsOK(res1)) {
21138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21139 }
21140 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21141 {
21142 PyThreadState* __tstate = wxPyBeginAllowThreads();
21143 (arg1)->Activate();
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 resultobj = SWIG_Py_Void();
21148 return resultobj;
21149fail:
21150 return NULL;
d55e5bfc
RD
21151}
21152
21153
1bd55598
RD
21154SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21155 PyObject *obj;
21156 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21157 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21158 return SWIG_Py_Void();
d55e5bfc
RD
21159}
21160
1bd55598
RD
21161SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21162 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21163}
21164
1bd55598
RD
21165SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21166 PyObject *resultobj = 0;
21167 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21168 long arg2 = (long) 0 ;
21169 wxMDIClientWindow *result = 0 ;
21170 void *argp1 = 0 ;
21171 int res1 = 0 ;
21172 long val2 ;
21173 int ecode2 = 0 ;
21174 PyObject * obj0 = 0 ;
21175 PyObject * obj1 = 0 ;
21176 char * kwnames[] = {
21177 (char *) "parent",(char *) "style", NULL
21178 };
21179
21180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21182 if (!SWIG_IsOK(res1)) {
21183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21184 }
21185 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21186 if (obj1) {
21187 ecode2 = SWIG_AsVal_long(obj1, &val2);
21188 if (!SWIG_IsOK(ecode2)) {
21189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21190 }
21191 arg2 = static_cast< long >(val2);
21192 }
21193 {
21194 if (!wxPyCheckForApp()) SWIG_fail;
21195 PyThreadState* __tstate = wxPyBeginAllowThreads();
21196 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21201 return resultobj;
21202fail:
21203 return NULL;
d55e5bfc
RD
21204}
21205
21206
1bd55598
RD
21207SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21208 PyObject *resultobj = 0;
21209 wxMDIClientWindow *result = 0 ;
21210
21211 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21212 {
21213 if (!wxPyCheckForApp()) SWIG_fail;
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21216 wxPyEndAllowThreads(__tstate);
21217 if (PyErr_Occurred()) SWIG_fail;
21218 }
21219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21220 return resultobj;
21221fail:
21222 return NULL;
21223}
21224
21225
21226SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21227 PyObject *resultobj = 0;
21228 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21229 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21230 long arg3 = (long) 0 ;
21231 bool result;
21232 void *argp1 = 0 ;
21233 int res1 = 0 ;
21234 void *argp2 = 0 ;
21235 int res2 = 0 ;
21236 long val3 ;
21237 int ecode3 = 0 ;
21238 PyObject * obj0 = 0 ;
21239 PyObject * obj1 = 0 ;
21240 PyObject * obj2 = 0 ;
21241 char * kwnames[] = {
21242 (char *) "self",(char *) "parent",(char *) "style", NULL
21243 };
21244
21245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21247 if (!SWIG_IsOK(res1)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21249 }
21250 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21251 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21252 if (!SWIG_IsOK(res2)) {
21253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21254 }
21255 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21256 if (obj2) {
21257 ecode3 = SWIG_AsVal_long(obj2, &val3);
21258 if (!SWIG_IsOK(ecode3)) {
21259 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21260 }
21261 arg3 = static_cast< long >(val3);
21262 }
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = (bool)(arg1)->Create(arg2,arg3);
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 {
21270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21271 }
21272 return resultobj;
21273fail:
21274 return NULL;
21275}
21276
21277
21278SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21279 PyObject *obj;
21280 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21281 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21282 return SWIG_Py_Void();
21283}
21284
21285SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21286 return SWIG_Python_InitShadowInstance(args);
21287}
21288
21289SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21290 PyObject *resultobj = 0;
21291 wxWindow *arg1 = (wxWindow *) 0 ;
21292 int arg2 = (int) (int)-1 ;
21293 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21294 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21295 wxSize const &arg4_defvalue = wxDefaultSize ;
21296 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21297 long arg5 = (long) 0 ;
21298 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21299 wxString *arg6 = (wxString *) &arg6_defvalue ;
21300 wxPyWindow *result = 0 ;
21301 void *argp1 = 0 ;
21302 int res1 = 0 ;
21303 int val2 ;
21304 int ecode2 = 0 ;
21305 wxPoint temp3 ;
21306 wxSize temp4 ;
21307 long val5 ;
21308 int ecode5 = 0 ;
21309 bool temp6 = false ;
21310 PyObject * obj0 = 0 ;
21311 PyObject * obj1 = 0 ;
21312 PyObject * obj2 = 0 ;
21313 PyObject * obj3 = 0 ;
21314 PyObject * obj4 = 0 ;
21315 PyObject * obj5 = 0 ;
21316 char * kwnames[] = {
21317 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21318 };
21319
21320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21322 if (!SWIG_IsOK(res1)) {
21323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21324 }
21325 arg1 = reinterpret_cast< wxWindow * >(argp1);
21326 if (obj1) {
21327 ecode2 = SWIG_AsVal_int(obj1, &val2);
21328 if (!SWIG_IsOK(ecode2)) {
21329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21330 }
21331 arg2 = static_cast< int >(val2);
21332 }
21333 if (obj2) {
32fe5131 21334 {
1bd55598
RD
21335 arg3 = &temp3;
21336 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32fe5131 21337 }
1bd55598
RD
21338 }
21339 if (obj3) {
32fe5131 21340 {
1bd55598
RD
21341 arg4 = &temp4;
21342 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32fe5131 21343 }
1bd55598
RD
21344 }
21345 if (obj4) {
21346 ecode5 = SWIG_AsVal_long(obj4, &val5);
21347 if (!SWIG_IsOK(ecode5)) {
21348 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21349 }
21350 arg5 = static_cast< long >(val5);
21351 }
21352 if (obj5) {
32fe5131 21353 {
1bd55598
RD
21354 arg6 = wxString_in_helper(obj5);
21355 if (arg6 == NULL) SWIG_fail;
21356 temp6 = true;
32fe5131 21357 }
1bd55598
RD
21358 }
21359 {
21360 if (!wxPyCheckForApp()) SWIG_fail;
21361 PyThreadState* __tstate = wxPyBeginAllowThreads();
21362 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21367 {
21368 if (temp6)
21369 delete arg6;
21370 }
21371 return resultobj;
21372fail:
21373 {
21374 if (temp6)
21375 delete arg6;
21376 }
21377 return NULL;
32fe5131
RD
21378}
21379
21380
1bd55598
RD
21381SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21382 PyObject *resultobj = 0;
21383 wxPyWindow *result = 0 ;
21384
21385 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21386 {
21387 if (!wxPyCheckForApp()) SWIG_fail;
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 result = (wxPyWindow *)new wxPyWindow();
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21394 return resultobj;
21395fail:
21396 return NULL;
21397}
21398
21399
21400SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21401 PyObject *resultobj = 0;
21402 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21403 PyObject *arg2 = (PyObject *) 0 ;
21404 PyObject *arg3 = (PyObject *) 0 ;
21405 void *argp1 = 0 ;
21406 int res1 = 0 ;
21407 PyObject * obj0 = 0 ;
21408 PyObject * obj1 = 0 ;
21409 PyObject * obj2 = 0 ;
21410 char * kwnames[] = {
21411 (char *) "self",(char *) "self",(char *) "_class", NULL
21412 };
21413
21414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21416 if (!SWIG_IsOK(res1)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21418 }
21419 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21420 arg2 = obj1;
21421 arg3 = obj2;
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 (arg1)->_setCallbackInfo(arg2,arg3);
21425 wxPyEndAllowThreads(__tstate);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 }
21428 resultobj = SWIG_Py_Void();
21429 return resultobj;
21430fail:
21431 return NULL;
21432}
21433
21434
21435SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21436 PyObject *resultobj = 0;
21437 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21438 wxSize *arg2 = 0 ;
21439 void *argp1 = 0 ;
21440 int res1 = 0 ;
21441 wxSize temp2 ;
21442 PyObject * obj0 = 0 ;
21443 PyObject * obj1 = 0 ;
21444 char * kwnames[] = {
21445 (char *) "self",(char *) "size", NULL
21446 };
21447
21448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21450 if (!SWIG_IsOK(res1)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21452 }
21453 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21454 {
21455 arg2 = &temp2;
21456 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21457 }
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 (arg1)->SetBestSize((wxSize const &)*arg2);
21461 wxPyEndAllowThreads(__tstate);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 }
21464 resultobj = SWIG_Py_Void();
21465 return resultobj;
21466fail:
21467 return NULL;
21468}
21469
21470
21471SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21472 PyObject *resultobj = 0;
21473 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21474 wxDC *arg2 = (wxDC *) 0 ;
21475 bool result;
21476 void *argp1 = 0 ;
21477 int res1 = 0 ;
21478 void *argp2 = 0 ;
21479 int res2 = 0 ;
21480 PyObject * obj0 = 0 ;
21481 PyObject * obj1 = 0 ;
21482 char * kwnames[] = {
21483 (char *) "self",(char *) "dc", NULL
21484 };
21485
21486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21488 if (!SWIG_IsOK(res1)) {
21489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21490 }
21491 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21492 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21493 if (!SWIG_IsOK(res2)) {
21494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21495 }
21496 arg2 = reinterpret_cast< wxDC * >(argp2);
21497 {
21498 PyThreadState* __tstate = wxPyBeginAllowThreads();
21499 result = (bool)(arg1)->DoEraseBackground(arg2);
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 {
21504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21505 }
21506 return resultobj;
21507fail:
21508 return NULL;
21509}
21510
21511
21512SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21513 PyObject *resultobj = 0;
21514 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21515 int arg2 ;
21516 int arg3 ;
21517 int arg4 ;
21518 int arg5 ;
21519 void *argp1 = 0 ;
21520 int res1 = 0 ;
21521 int val2 ;
21522 int ecode2 = 0 ;
21523 int val3 ;
21524 int ecode3 = 0 ;
21525 int val4 ;
21526 int ecode4 = 0 ;
21527 int val5 ;
21528 int ecode5 = 0 ;
21529 PyObject * obj0 = 0 ;
21530 PyObject * obj1 = 0 ;
21531 PyObject * obj2 = 0 ;
21532 PyObject * obj3 = 0 ;
21533 PyObject * obj4 = 0 ;
21534 char * kwnames[] = {
21535 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21536 };
21537
21538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21540 if (!SWIG_IsOK(res1)) {
21541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21542 }
21543 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21544 ecode2 = SWIG_AsVal_int(obj1, &val2);
21545 if (!SWIG_IsOK(ecode2)) {
21546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21547 }
21548 arg2 = static_cast< int >(val2);
21549 ecode3 = SWIG_AsVal_int(obj2, &val3);
21550 if (!SWIG_IsOK(ecode3)) {
21551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21552 }
21553 arg3 = static_cast< int >(val3);
21554 ecode4 = SWIG_AsVal_int(obj3, &val4);
21555 if (!SWIG_IsOK(ecode4)) {
21556 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21557 }
21558 arg4 = static_cast< int >(val4);
21559 ecode5 = SWIG_AsVal_int(obj4, &val5);
21560 if (!SWIG_IsOK(ecode5)) {
21561 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21562 }
21563 arg5 = static_cast< int >(val5);
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
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_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21578 PyObject *resultobj = 0;
21579 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21580 int arg2 ;
21581 int arg3 ;
21582 int arg4 ;
21583 int arg5 ;
21584 int arg6 = (int) wxSIZE_AUTO ;
21585 void *argp1 = 0 ;
21586 int res1 = 0 ;
21587 int val2 ;
21588 int ecode2 = 0 ;
21589 int val3 ;
21590 int ecode3 = 0 ;
21591 int val4 ;
21592 int ecode4 = 0 ;
21593 int val5 ;
21594 int ecode5 = 0 ;
21595 int val6 ;
21596 int ecode6 = 0 ;
21597 PyObject * obj0 = 0 ;
21598 PyObject * obj1 = 0 ;
21599 PyObject * obj2 = 0 ;
21600 PyObject * obj3 = 0 ;
21601 PyObject * obj4 = 0 ;
21602 PyObject * obj5 = 0 ;
21603 char * kwnames[] = {
21604 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21605 };
21606
21607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21609 if (!SWIG_IsOK(res1)) {
21610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21611 }
21612 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21613 ecode2 = SWIG_AsVal_int(obj1, &val2);
21614 if (!SWIG_IsOK(ecode2)) {
21615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21616 }
21617 arg2 = static_cast< int >(val2);
21618 ecode3 = SWIG_AsVal_int(obj2, &val3);
21619 if (!SWIG_IsOK(ecode3)) {
21620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21621 }
21622 arg3 = static_cast< int >(val3);
21623 ecode4 = SWIG_AsVal_int(obj3, &val4);
21624 if (!SWIG_IsOK(ecode4)) {
21625 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21626 }
21627 arg4 = static_cast< int >(val4);
21628 ecode5 = SWIG_AsVal_int(obj4, &val5);
21629 if (!SWIG_IsOK(ecode5)) {
21630 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21631 }
21632 arg5 = static_cast< int >(val5);
21633 if (obj5) {
21634 ecode6 = SWIG_AsVal_int(obj5, &val6);
21635 if (!SWIG_IsOK(ecode6)) {
21636 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21637 }
21638 arg6 = static_cast< int >(val6);
21639 }
21640 {
21641 PyThreadState* __tstate = wxPyBeginAllowThreads();
21642 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21643 wxPyEndAllowThreads(__tstate);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 resultobj = SWIG_Py_Void();
21647 return resultobj;
21648fail:
21649 return NULL;
21650}
21651
21652
21653SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj = 0;
21655 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21656 int arg2 ;
21657 int arg3 ;
21658 void *argp1 = 0 ;
21659 int res1 = 0 ;
21660 int val2 ;
21661 int ecode2 = 0 ;
21662 int val3 ;
21663 int ecode3 = 0 ;
21664 PyObject * obj0 = 0 ;
21665 PyObject * obj1 = 0 ;
21666 PyObject * obj2 = 0 ;
21667 char * kwnames[] = {
21668 (char *) "self",(char *) "width",(char *) "height", NULL
21669 };
21670
21671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21673 if (!SWIG_IsOK(res1)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21675 }
21676 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21677 ecode2 = SWIG_AsVal_int(obj1, &val2);
21678 if (!SWIG_IsOK(ecode2)) {
21679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21680 }
21681 arg2 = static_cast< int >(val2);
21682 ecode3 = SWIG_AsVal_int(obj2, &val3);
21683 if (!SWIG_IsOK(ecode3)) {
21684 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21685 }
21686 arg3 = static_cast< int >(val3);
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 (arg1)->DoSetClientSize(arg2,arg3);
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 resultobj = SWIG_Py_Void();
21694 return resultobj;
21695fail:
21696 return NULL;
21697}
21698
21699
21700SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj = 0;
21702 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21703 int arg2 ;
21704 int arg3 ;
21705 void *argp1 = 0 ;
21706 int res1 = 0 ;
21707 int val2 ;
21708 int ecode2 = 0 ;
21709 int val3 ;
21710 int ecode3 = 0 ;
21711 PyObject * obj0 = 0 ;
21712 PyObject * obj1 = 0 ;
21713 PyObject * obj2 = 0 ;
21714 char * kwnames[] = {
21715 (char *) "self",(char *) "x",(char *) "y", NULL
21716 };
21717
21718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21720 if (!SWIG_IsOK(res1)) {
21721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21722 }
21723 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21724 ecode2 = SWIG_AsVal_int(obj1, &val2);
21725 if (!SWIG_IsOK(ecode2)) {
21726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21727 }
21728 arg2 = static_cast< int >(val2);
21729 ecode3 = SWIG_AsVal_int(obj2, &val3);
21730 if (!SWIG_IsOK(ecode3)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21732 }
21733 arg3 = static_cast< int >(val3);
21734 {
21735 PyThreadState* __tstate = wxPyBeginAllowThreads();
21736 (arg1)->DoSetVirtualSize(arg2,arg3);
21737 wxPyEndAllowThreads(__tstate);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 }
21740 resultobj = SWIG_Py_Void();
21741 return resultobj;
21742fail:
21743 return NULL;
21744}
21745
21746
21747SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21748 PyObject *resultobj = 0;
21749 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21750 int *arg2 = (int *) 0 ;
21751 int *arg3 = (int *) 0 ;
21752 void *argp1 = 0 ;
21753 int res1 = 0 ;
21754 int temp2 ;
21755 int res2 = SWIG_TMPOBJ ;
21756 int temp3 ;
21757 int res3 = SWIG_TMPOBJ ;
21758 PyObject *swig_obj[1] ;
21759
21760 arg2 = &temp2;
21761 arg3 = &temp3;
21762 if (!args) SWIG_fail;
21763 swig_obj[0] = args;
21764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21765 if (!SWIG_IsOK(res1)) {
21766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21767 }
21768 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21769 {
21770 PyThreadState* __tstate = wxPyBeginAllowThreads();
21771 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 resultobj = SWIG_Py_Void();
21776 if (SWIG_IsTmpObj(res2)) {
21777 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21778 } else {
21779 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21780 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21781 }
21782 if (SWIG_IsTmpObj(res3)) {
21783 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21784 } else {
21785 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21786 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21787 }
21788 return resultobj;
21789fail:
21790 return NULL;
21791}
21792
21793
21794SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21795 PyObject *resultobj = 0;
21796 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21797 int *arg2 = (int *) 0 ;
21798 int *arg3 = (int *) 0 ;
21799 void *argp1 = 0 ;
21800 int res1 = 0 ;
21801 int temp2 ;
21802 int res2 = SWIG_TMPOBJ ;
21803 int temp3 ;
21804 int res3 = SWIG_TMPOBJ ;
21805 PyObject *swig_obj[1] ;
21806
21807 arg2 = &temp2;
21808 arg3 = &temp3;
21809 if (!args) SWIG_fail;
21810 swig_obj[0] = args;
21811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21812 if (!SWIG_IsOK(res1)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21814 }
21815 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21816 {
21817 PyThreadState* __tstate = wxPyBeginAllowThreads();
21818 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 resultobj = SWIG_Py_Void();
21823 if (SWIG_IsTmpObj(res2)) {
21824 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21825 } else {
21826 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21827 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21828 }
21829 if (SWIG_IsTmpObj(res3)) {
21830 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21831 } else {
21832 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21833 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21834 }
21835 return resultobj;
21836fail:
21837 return NULL;
21838}
21839
21840
21841SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21842 PyObject *resultobj = 0;
21843 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21844 int *arg2 = (int *) 0 ;
21845 int *arg3 = (int *) 0 ;
21846 void *argp1 = 0 ;
21847 int res1 = 0 ;
21848 int temp2 ;
21849 int res2 = SWIG_TMPOBJ ;
21850 int temp3 ;
21851 int res3 = SWIG_TMPOBJ ;
21852 PyObject *swig_obj[1] ;
21853
21854 arg2 = &temp2;
21855 arg3 = &temp3;
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_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21861 }
21862 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 resultobj = SWIG_Py_Void();
21870 if (SWIG_IsTmpObj(res2)) {
21871 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21872 } else {
21873 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21874 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21875 }
21876 if (SWIG_IsTmpObj(res3)) {
21877 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21878 } else {
21879 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21880 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21881 }
21882 return resultobj;
21883fail:
21884 return NULL;
d55e5bfc
RD
21885}
21886
21887
1bd55598
RD
21888SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21889 PyObject *resultobj = 0;
21890 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21891 wxSize result;
21892 void *argp1 = 0 ;
21893 int res1 = 0 ;
21894 PyObject *swig_obj[1] ;
21895
21896 if (!args) SWIG_fail;
21897 swig_obj[0] = args;
21898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21899 if (!SWIG_IsOK(res1)) {
21900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21901 }
21902 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21906 wxPyEndAllowThreads(__tstate);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 }
21909 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21910 return resultobj;
21911fail:
21912 return NULL;
d55e5bfc
RD
21913}
21914
21915
1bd55598
RD
21916SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21917 PyObject *resultobj = 0;
21918 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21919 wxSize result;
21920 void *argp1 = 0 ;
21921 int res1 = 0 ;
21922 PyObject *swig_obj[1] ;
21923
21924 if (!args) SWIG_fail;
21925 swig_obj[0] = args;
21926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21927 if (!SWIG_IsOK(res1)) {
21928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21929 }
21930 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21931 {
21932 PyThreadState* __tstate = wxPyBeginAllowThreads();
21933 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21934 wxPyEndAllowThreads(__tstate);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 }
21937 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21938 return resultobj;
21939fail:
21940 return NULL;
d55e5bfc
RD
21941}
21942
21943
1bd55598
RD
21944SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21945 PyObject *resultobj = 0;
21946 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21947 SwigValueWrapper<wxVisualAttributes > result;
21948 void *argp1 = 0 ;
21949 int res1 = 0 ;
21950 PyObject *swig_obj[1] ;
21951
21952 if (!args) SWIG_fail;
21953 swig_obj[0] = args;
21954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21955 if (!SWIG_IsOK(res1)) {
21956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21957 }
21958 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21959 {
21960 PyThreadState* __tstate = wxPyBeginAllowThreads();
21961 result = (arg1)->GetDefaultAttributes();
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21966 return resultobj;
21967fail:
21968 return NULL;
d55e5bfc
RD
21969}
21970
21971
1bd55598
RD
21972SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21973 PyObject *resultobj = 0;
21974 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21975 void *argp1 = 0 ;
21976 int res1 = 0 ;
21977 PyObject *swig_obj[1] ;
21978
21979 if (!args) SWIG_fail;
21980 swig_obj[0] = args;
21981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21982 if (!SWIG_IsOK(res1)) {
21983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21984 }
21985 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21986 {
21987 PyThreadState* __tstate = wxPyBeginAllowThreads();
21988 (arg1)->OnInternalIdle();
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 resultobj = SWIG_Py_Void();
21993 return resultobj;
21994fail:
21995 return NULL;
21996}
21997
21998
21999SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22000 PyObject *obj;
22001 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22002 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22003 return SWIG_Py_Void();
22004}
22005
22006SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22007 return SWIG_Python_InitShadowInstance(args);
22008}
22009
22010SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22011 PyObject *resultobj = 0;
22012 wxWindow *arg1 = (wxWindow *) 0 ;
22013 int arg2 = (int) (int)-1 ;
22014 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22015 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22016 wxSize const &arg4_defvalue = wxDefaultSize ;
22017 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22018 long arg5 = (long) 0 ;
22019 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22020 wxString *arg6 = (wxString *) &arg6_defvalue ;
22021 wxPyPanel *result = 0 ;
22022 void *argp1 = 0 ;
22023 int res1 = 0 ;
22024 int val2 ;
22025 int ecode2 = 0 ;
22026 wxPoint temp3 ;
22027 wxSize temp4 ;
22028 long val5 ;
22029 int ecode5 = 0 ;
22030 bool temp6 = false ;
22031 PyObject * obj0 = 0 ;
22032 PyObject * obj1 = 0 ;
22033 PyObject * obj2 = 0 ;
22034 PyObject * obj3 = 0 ;
22035 PyObject * obj4 = 0 ;
22036 PyObject * obj5 = 0 ;
22037 char * kwnames[] = {
22038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22039 };
22040
22041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22043 if (!SWIG_IsOK(res1)) {
22044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22045 }
22046 arg1 = reinterpret_cast< wxWindow * >(argp1);
22047 if (obj1) {
22048 ecode2 = SWIG_AsVal_int(obj1, &val2);
22049 if (!SWIG_IsOK(ecode2)) {
22050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22051 }
22052 arg2 = static_cast< int >(val2);
22053 }
22054 if (obj2) {
d55e5bfc 22055 {
1bd55598
RD
22056 arg3 = &temp3;
22057 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 22058 }
1bd55598
RD
22059 }
22060 if (obj3) {
d55e5bfc 22061 {
1bd55598
RD
22062 arg4 = &temp4;
22063 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22064 }
1bd55598
RD
22065 }
22066 if (obj4) {
22067 ecode5 = SWIG_AsVal_long(obj4, &val5);
22068 if (!SWIG_IsOK(ecode5)) {
22069 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22070 }
22071 arg5 = static_cast< long >(val5);
22072 }
22073 if (obj5) {
d55e5bfc 22074 {
1bd55598
RD
22075 arg6 = wxString_in_helper(obj5);
22076 if (arg6 == NULL) SWIG_fail;
22077 temp6 = true;
d55e5bfc 22078 }
1bd55598
RD
22079 }
22080 {
22081 if (!wxPyCheckForApp()) SWIG_fail;
22082 PyThreadState* __tstate = wxPyBeginAllowThreads();
22083 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22084 wxPyEndAllowThreads(__tstate);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 }
22087 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22088 {
22089 if (temp6)
22090 delete arg6;
22091 }
22092 return resultobj;
22093fail:
22094 {
22095 if (temp6)
22096 delete arg6;
22097 }
22098 return NULL;
d55e5bfc
RD
22099}
22100
22101
1bd55598
RD
22102SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22103 PyObject *resultobj = 0;
22104 wxPyPanel *result = 0 ;
22105
22106 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22107 {
22108 if (!wxPyCheckForApp()) SWIG_fail;
22109 PyThreadState* __tstate = wxPyBeginAllowThreads();
22110 result = (wxPyPanel *)new wxPyPanel();
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22115 return resultobj;
22116fail:
22117 return NULL;
22118}
22119
22120
22121SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22122 PyObject *resultobj = 0;
22123 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22124 PyObject *arg2 = (PyObject *) 0 ;
22125 PyObject *arg3 = (PyObject *) 0 ;
22126 void *argp1 = 0 ;
22127 int res1 = 0 ;
22128 PyObject * obj0 = 0 ;
22129 PyObject * obj1 = 0 ;
22130 PyObject * obj2 = 0 ;
22131 char * kwnames[] = {
22132 (char *) "self",(char *) "self",(char *) "_class", NULL
22133 };
22134
22135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22137 if (!SWIG_IsOK(res1)) {
22138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22139 }
22140 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22141 arg2 = obj1;
22142 arg3 = obj2;
22143 {
22144 PyThreadState* __tstate = wxPyBeginAllowThreads();
22145 (arg1)->_setCallbackInfo(arg2,arg3);
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 resultobj = SWIG_Py_Void();
22150 return resultobj;
22151fail:
22152 return NULL;
22153}
22154
22155
22156SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj = 0;
22158 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22159 wxSize *arg2 = 0 ;
22160 void *argp1 = 0 ;
22161 int res1 = 0 ;
22162 wxSize temp2 ;
22163 PyObject * obj0 = 0 ;
22164 PyObject * obj1 = 0 ;
22165 char * kwnames[] = {
22166 (char *) "self",(char *) "size", NULL
22167 };
22168
22169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22171 if (!SWIG_IsOK(res1)) {
22172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22173 }
22174 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22175 {
22176 arg2 = &temp2;
22177 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22178 }
22179 {
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 (arg1)->SetBestSize((wxSize const &)*arg2);
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
22185 resultobj = SWIG_Py_Void();
22186 return resultobj;
22187fail:
22188 return NULL;
22189}
22190
22191
22192SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22193 PyObject *resultobj = 0;
22194 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22195 wxDC *arg2 = (wxDC *) 0 ;
22196 bool result;
22197 void *argp1 = 0 ;
22198 int res1 = 0 ;
22199 void *argp2 = 0 ;
22200 int res2 = 0 ;
22201 PyObject * obj0 = 0 ;
22202 PyObject * obj1 = 0 ;
22203 char * kwnames[] = {
22204 (char *) "self",(char *) "dc", NULL
22205 };
22206
22207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22209 if (!SWIG_IsOK(res1)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22211 }
22212 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22213 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22214 if (!SWIG_IsOK(res2)) {
22215 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22216 }
22217 arg2 = reinterpret_cast< wxDC * >(argp2);
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 result = (bool)(arg1)->DoEraseBackground(arg2);
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 {
22225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22226 }
22227 return resultobj;
22228fail:
22229 return NULL;
22230}
22231
22232
22233SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj = 0;
22235 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22236 int arg2 ;
22237 int arg3 ;
22238 int arg4 ;
22239 int arg5 ;
22240 void *argp1 = 0 ;
22241 int res1 = 0 ;
22242 int val2 ;
22243 int ecode2 = 0 ;
22244 int val3 ;
22245 int ecode3 = 0 ;
22246 int val4 ;
22247 int ecode4 = 0 ;
22248 int val5 ;
22249 int ecode5 = 0 ;
22250 PyObject * obj0 = 0 ;
22251 PyObject * obj1 = 0 ;
22252 PyObject * obj2 = 0 ;
22253 PyObject * obj3 = 0 ;
22254 PyObject * obj4 = 0 ;
22255 char * kwnames[] = {
22256 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22257 };
22258
22259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22261 if (!SWIG_IsOK(res1)) {
22262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22263 }
22264 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22265 ecode2 = SWIG_AsVal_int(obj1, &val2);
22266 if (!SWIG_IsOK(ecode2)) {
22267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22268 }
22269 arg2 = static_cast< int >(val2);
22270 ecode3 = SWIG_AsVal_int(obj2, &val3);
22271 if (!SWIG_IsOK(ecode3)) {
22272 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22273 }
22274 arg3 = static_cast< int >(val3);
22275 ecode4 = SWIG_AsVal_int(obj3, &val4);
22276 if (!SWIG_IsOK(ecode4)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22278 }
22279 arg4 = static_cast< int >(val4);
22280 ecode5 = SWIG_AsVal_int(obj4, &val5);
22281 if (!SWIG_IsOK(ecode5)) {
22282 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22283 }
22284 arg5 = static_cast< int >(val5);
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
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_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22299 PyObject *resultobj = 0;
22300 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22301 int arg2 ;
22302 int arg3 ;
22303 int arg4 ;
22304 int arg5 ;
22305 int arg6 = (int) wxSIZE_AUTO ;
22306 void *argp1 = 0 ;
22307 int res1 = 0 ;
22308 int val2 ;
22309 int ecode2 = 0 ;
22310 int val3 ;
22311 int ecode3 = 0 ;
22312 int val4 ;
22313 int ecode4 = 0 ;
22314 int val5 ;
22315 int ecode5 = 0 ;
22316 int val6 ;
22317 int ecode6 = 0 ;
22318 PyObject * obj0 = 0 ;
22319 PyObject * obj1 = 0 ;
22320 PyObject * obj2 = 0 ;
22321 PyObject * obj3 = 0 ;
22322 PyObject * obj4 = 0 ;
22323 PyObject * obj5 = 0 ;
22324 char * kwnames[] = {
22325 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22326 };
22327
22328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22330 if (!SWIG_IsOK(res1)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22332 }
22333 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22334 ecode2 = SWIG_AsVal_int(obj1, &val2);
22335 if (!SWIG_IsOK(ecode2)) {
22336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22337 }
22338 arg2 = static_cast< int >(val2);
22339 ecode3 = SWIG_AsVal_int(obj2, &val3);
22340 if (!SWIG_IsOK(ecode3)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22342 }
22343 arg3 = static_cast< int >(val3);
22344 ecode4 = SWIG_AsVal_int(obj3, &val4);
22345 if (!SWIG_IsOK(ecode4)) {
22346 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22347 }
22348 arg4 = static_cast< int >(val4);
22349 ecode5 = SWIG_AsVal_int(obj4, &val5);
22350 if (!SWIG_IsOK(ecode5)) {
22351 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22352 }
22353 arg5 = static_cast< int >(val5);
22354 if (obj5) {
22355 ecode6 = SWIG_AsVal_int(obj5, &val6);
22356 if (!SWIG_IsOK(ecode6)) {
22357 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22358 }
22359 arg6 = static_cast< int >(val6);
22360 }
22361 {
22362 PyThreadState* __tstate = wxPyBeginAllowThreads();
22363 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 resultobj = SWIG_Py_Void();
22368 return resultobj;
22369fail:
22370 return NULL;
22371}
22372
22373
22374SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj = 0;
22376 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22377 int arg2 ;
22378 int arg3 ;
22379 void *argp1 = 0 ;
22380 int res1 = 0 ;
22381 int val2 ;
22382 int ecode2 = 0 ;
22383 int val3 ;
22384 int ecode3 = 0 ;
22385 PyObject * obj0 = 0 ;
22386 PyObject * obj1 = 0 ;
22387 PyObject * obj2 = 0 ;
22388 char * kwnames[] = {
22389 (char *) "self",(char *) "width",(char *) "height", NULL
22390 };
22391
22392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22394 if (!SWIG_IsOK(res1)) {
22395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22396 }
22397 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22398 ecode2 = SWIG_AsVal_int(obj1, &val2);
22399 if (!SWIG_IsOK(ecode2)) {
22400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22401 }
22402 arg2 = static_cast< int >(val2);
22403 ecode3 = SWIG_AsVal_int(obj2, &val3);
22404 if (!SWIG_IsOK(ecode3)) {
22405 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22406 }
22407 arg3 = static_cast< int >(val3);
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22410 (arg1)->DoSetClientSize(arg2,arg3);
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 resultobj = SWIG_Py_Void();
22415 return resultobj;
22416fail:
22417 return NULL;
22418}
22419
22420
22421SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22422 PyObject *resultobj = 0;
22423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22424 int arg2 ;
22425 int arg3 ;
22426 void *argp1 = 0 ;
22427 int res1 = 0 ;
22428 int val2 ;
22429 int ecode2 = 0 ;
22430 int val3 ;
22431 int ecode3 = 0 ;
22432 PyObject * obj0 = 0 ;
22433 PyObject * obj1 = 0 ;
22434 PyObject * obj2 = 0 ;
22435 char * kwnames[] = {
22436 (char *) "self",(char *) "x",(char *) "y", NULL
22437 };
22438
22439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22441 if (!SWIG_IsOK(res1)) {
22442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22443 }
22444 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22445 ecode2 = SWIG_AsVal_int(obj1, &val2);
22446 if (!SWIG_IsOK(ecode2)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22448 }
22449 arg2 = static_cast< int >(val2);
22450 ecode3 = SWIG_AsVal_int(obj2, &val3);
22451 if (!SWIG_IsOK(ecode3)) {
22452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22453 }
22454 arg3 = static_cast< int >(val3);
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 (arg1)->DoSetVirtualSize(arg2,arg3);
22458 wxPyEndAllowThreads(__tstate);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 }
22461 resultobj = SWIG_Py_Void();
22462 return resultobj;
22463fail:
22464 return NULL;
22465}
22466
22467
22468SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22469 PyObject *resultobj = 0;
22470 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22471 int *arg2 = (int *) 0 ;
22472 int *arg3 = (int *) 0 ;
22473 void *argp1 = 0 ;
22474 int res1 = 0 ;
22475 int temp2 ;
22476 int res2 = SWIG_TMPOBJ ;
22477 int temp3 ;
22478 int res3 = SWIG_TMPOBJ ;
22479 PyObject *swig_obj[1] ;
22480
22481 arg2 = &temp2;
22482 arg3 = &temp3;
22483 if (!args) SWIG_fail;
22484 swig_obj[0] = args;
22485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22486 if (!SWIG_IsOK(res1)) {
22487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22488 }
22489 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 resultobj = SWIG_Py_Void();
22497 if (SWIG_IsTmpObj(res2)) {
22498 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22499 } else {
22500 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22501 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22502 }
22503 if (SWIG_IsTmpObj(res3)) {
22504 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22505 } else {
22506 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22507 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22508 }
22509 return resultobj;
22510fail:
22511 return NULL;
22512}
22513
22514
22515SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22516 PyObject *resultobj = 0;
22517 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22518 int *arg2 = (int *) 0 ;
22519 int *arg3 = (int *) 0 ;
22520 void *argp1 = 0 ;
22521 int res1 = 0 ;
22522 int temp2 ;
22523 int res2 = SWIG_TMPOBJ ;
22524 int temp3 ;
22525 int res3 = SWIG_TMPOBJ ;
22526 PyObject *swig_obj[1] ;
22527
22528 arg2 = &temp2;
22529 arg3 = &temp3;
22530 if (!args) SWIG_fail;
22531 swig_obj[0] = args;
22532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22533 if (!SWIG_IsOK(res1)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22535 }
22536 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22537 {
22538 PyThreadState* __tstate = wxPyBeginAllowThreads();
22539 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 resultobj = SWIG_Py_Void();
22544 if (SWIG_IsTmpObj(res2)) {
22545 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22546 } else {
22547 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22548 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22549 }
22550 if (SWIG_IsTmpObj(res3)) {
22551 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22552 } else {
22553 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22554 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22555 }
22556 return resultobj;
22557fail:
22558 return NULL;
22559}
22560
22561
22562SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22563 PyObject *resultobj = 0;
22564 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22565 int *arg2 = (int *) 0 ;
22566 int *arg3 = (int *) 0 ;
22567 void *argp1 = 0 ;
22568 int res1 = 0 ;
22569 int temp2 ;
22570 int res2 = SWIG_TMPOBJ ;
22571 int temp3 ;
22572 int res3 = SWIG_TMPOBJ ;
22573 PyObject *swig_obj[1] ;
22574
22575 arg2 = &temp2;
22576 arg3 = &temp3;
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_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22582 }
22583 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 resultobj = SWIG_Py_Void();
22591 if (SWIG_IsTmpObj(res2)) {
22592 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22593 } else {
22594 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22595 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22596 }
22597 if (SWIG_IsTmpObj(res3)) {
22598 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22599 } else {
22600 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22601 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22602 }
22603 return resultobj;
22604fail:
22605 return NULL;
d55e5bfc
RD
22606}
22607
22608
1bd55598
RD
22609SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22610 PyObject *resultobj = 0;
22611 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22612 wxSize result;
22613 void *argp1 = 0 ;
22614 int res1 = 0 ;
22615 PyObject *swig_obj[1] ;
22616
22617 if (!args) SWIG_fail;
22618 swig_obj[0] = args;
22619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22620 if (!SWIG_IsOK(res1)) {
22621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22622 }
22623 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22624 {
22625 PyThreadState* __tstate = wxPyBeginAllowThreads();
22626 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22631 return resultobj;
22632fail:
22633 return NULL;
d55e5bfc
RD
22634}
22635
22636
1bd55598
RD
22637SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22638 PyObject *resultobj = 0;
22639 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22640 wxSize result;
22641 void *argp1 = 0 ;
22642 int res1 = 0 ;
22643 PyObject *swig_obj[1] ;
22644
22645 if (!args) SWIG_fail;
22646 swig_obj[0] = args;
22647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22648 if (!SWIG_IsOK(res1)) {
22649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22650 }
22651 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22655 wxPyEndAllowThreads(__tstate);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22659 return resultobj;
22660fail:
22661 return NULL;
d55e5bfc
RD
22662}
22663
22664
1bd55598
RD
22665SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22666 PyObject *resultobj = 0;
22667 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22668 SwigValueWrapper<wxVisualAttributes > result;
22669 void *argp1 = 0 ;
22670 int res1 = 0 ;
22671 PyObject *swig_obj[1] ;
22672
22673 if (!args) SWIG_fail;
22674 swig_obj[0] = args;
22675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22676 if (!SWIG_IsOK(res1)) {
22677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22678 }
22679 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22680 {
22681 PyThreadState* __tstate = wxPyBeginAllowThreads();
22682 result = (arg1)->GetDefaultAttributes();
22683 wxPyEndAllowThreads(__tstate);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 }
22686 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22687 return resultobj;
22688fail:
22689 return NULL;
d55e5bfc
RD
22690}
22691
22692
1bd55598
RD
22693SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22694 PyObject *resultobj = 0;
22695 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22696 void *argp1 = 0 ;
22697 int res1 = 0 ;
22698 PyObject *swig_obj[1] ;
22699
22700 if (!args) SWIG_fail;
22701 swig_obj[0] = args;
22702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22703 if (!SWIG_IsOK(res1)) {
22704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22705 }
22706 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22707 {
22708 PyThreadState* __tstate = wxPyBeginAllowThreads();
22709 (arg1)->OnInternalIdle();
22710 wxPyEndAllowThreads(__tstate);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 }
22713 resultobj = SWIG_Py_Void();
22714 return resultobj;
22715fail:
22716 return NULL;
22717}
22718
22719
22720SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22721 PyObject *obj;
22722 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22723 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22724 return SWIG_Py_Void();
22725}
22726
22727SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22728 return SWIG_Python_InitShadowInstance(args);
22729}
22730
22731SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22732 PyObject *resultobj = 0;
22733 wxWindow *arg1 = (wxWindow *) 0 ;
22734 int arg2 = (int) (int)-1 ;
22735 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22736 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22737 wxSize const &arg4_defvalue = wxDefaultSize ;
22738 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22739 long arg5 = (long) 0 ;
22740 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22741 wxString *arg6 = (wxString *) &arg6_defvalue ;
22742 wxPyScrolledWindow *result = 0 ;
22743 void *argp1 = 0 ;
22744 int res1 = 0 ;
22745 int val2 ;
22746 int ecode2 = 0 ;
22747 wxPoint temp3 ;
22748 wxSize temp4 ;
22749 long val5 ;
22750 int ecode5 = 0 ;
22751 bool temp6 = false ;
22752 PyObject * obj0 = 0 ;
22753 PyObject * obj1 = 0 ;
22754 PyObject * obj2 = 0 ;
22755 PyObject * obj3 = 0 ;
22756 PyObject * obj4 = 0 ;
22757 PyObject * obj5 = 0 ;
22758 char * kwnames[] = {
22759 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22760 };
22761
22762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22764 if (!SWIG_IsOK(res1)) {
22765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22766 }
22767 arg1 = reinterpret_cast< wxWindow * >(argp1);
22768 if (obj1) {
22769 ecode2 = SWIG_AsVal_int(obj1, &val2);
22770 if (!SWIG_IsOK(ecode2)) {
22771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22772 }
22773 arg2 = static_cast< int >(val2);
22774 }
22775 if (obj2) {
d55e5bfc 22776 {
1bd55598
RD
22777 arg3 = &temp3;
22778 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 22779 }
1bd55598
RD
22780 }
22781 if (obj3) {
d55e5bfc 22782 {
1bd55598
RD
22783 arg4 = &temp4;
22784 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22785 }
1bd55598
RD
22786 }
22787 if (obj4) {
22788 ecode5 = SWIG_AsVal_long(obj4, &val5);
22789 if (!SWIG_IsOK(ecode5)) {
22790 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22791 }
22792 arg5 = static_cast< long >(val5);
22793 }
22794 if (obj5) {
d55e5bfc 22795 {
1bd55598
RD
22796 arg6 = wxString_in_helper(obj5);
22797 if (arg6 == NULL) SWIG_fail;
22798 temp6 = true;
d55e5bfc 22799 }
1bd55598
RD
22800 }
22801 {
22802 if (!wxPyCheckForApp()) SWIG_fail;
22803 PyThreadState* __tstate = wxPyBeginAllowThreads();
22804 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22809 {
22810 if (temp6)
22811 delete arg6;
22812 }
22813 return resultobj;
22814fail:
22815 {
22816 if (temp6)
22817 delete arg6;
22818 }
22819 return NULL;
d55e5bfc
RD
22820}
22821
22822
1bd55598
RD
22823SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22824 PyObject *resultobj = 0;
22825 wxPyScrolledWindow *result = 0 ;
22826
22827 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22828 {
22829 if (!wxPyCheckForApp()) SWIG_fail;
22830 PyThreadState* __tstate = wxPyBeginAllowThreads();
22831 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22836 return resultobj;
22837fail:
22838 return NULL;
22839}
22840
22841
22842SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22843 PyObject *resultobj = 0;
22844 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22845 PyObject *arg2 = (PyObject *) 0 ;
22846 PyObject *arg3 = (PyObject *) 0 ;
22847 void *argp1 = 0 ;
22848 int res1 = 0 ;
22849 PyObject * obj0 = 0 ;
22850 PyObject * obj1 = 0 ;
22851 PyObject * obj2 = 0 ;
22852 char * kwnames[] = {
22853 (char *) "self",(char *) "self",(char *) "_class", NULL
22854 };
22855
22856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22858 if (!SWIG_IsOK(res1)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22860 }
22861 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22862 arg2 = obj1;
22863 arg3 = obj2;
22864 {
22865 PyThreadState* __tstate = wxPyBeginAllowThreads();
22866 (arg1)->_setCallbackInfo(arg2,arg3);
22867 wxPyEndAllowThreads(__tstate);
22868 if (PyErr_Occurred()) SWIG_fail;
22869 }
22870 resultobj = SWIG_Py_Void();
22871 return resultobj;
22872fail:
22873 return NULL;
22874}
22875
22876
22877SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22878 PyObject *resultobj = 0;
22879 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22880 wxSize *arg2 = 0 ;
22881 void *argp1 = 0 ;
22882 int res1 = 0 ;
22883 wxSize temp2 ;
22884 PyObject * obj0 = 0 ;
22885 PyObject * obj1 = 0 ;
22886 char * kwnames[] = {
22887 (char *) "self",(char *) "size", NULL
22888 };
22889
22890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22892 if (!SWIG_IsOK(res1)) {
22893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22894 }
22895 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22896 {
22897 arg2 = &temp2;
22898 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22899 }
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 (arg1)->SetBestSize((wxSize const &)*arg2);
22903 wxPyEndAllowThreads(__tstate);
22904 if (PyErr_Occurred()) SWIG_fail;
22905 }
22906 resultobj = SWIG_Py_Void();
22907 return resultobj;
22908fail:
22909 return NULL;
22910}
22911
22912
22913SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22914 PyObject *resultobj = 0;
22915 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22916 wxDC *arg2 = (wxDC *) 0 ;
22917 bool result;
22918 void *argp1 = 0 ;
22919 int res1 = 0 ;
22920 void *argp2 = 0 ;
22921 int res2 = 0 ;
22922 PyObject * obj0 = 0 ;
22923 PyObject * obj1 = 0 ;
22924 char * kwnames[] = {
22925 (char *) "self",(char *) "dc", NULL
22926 };
22927
22928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22930 if (!SWIG_IsOK(res1)) {
22931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22932 }
22933 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22934 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22935 if (!SWIG_IsOK(res2)) {
22936 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22937 }
22938 arg2 = reinterpret_cast< wxDC * >(argp2);
22939 {
22940 PyThreadState* __tstate = wxPyBeginAllowThreads();
22941 result = (bool)(arg1)->DoEraseBackground(arg2);
22942 wxPyEndAllowThreads(__tstate);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 {
22946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22947 }
22948 return resultobj;
22949fail:
22950 return NULL;
22951}
22952
22953
22954SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22955 PyObject *resultobj = 0;
22956 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22957 int arg2 ;
22958 int arg3 ;
22959 int arg4 ;
22960 int arg5 ;
22961 void *argp1 = 0 ;
22962 int res1 = 0 ;
22963 int val2 ;
22964 int ecode2 = 0 ;
22965 int val3 ;
22966 int ecode3 = 0 ;
22967 int val4 ;
22968 int ecode4 = 0 ;
22969 int val5 ;
22970 int ecode5 = 0 ;
22971 PyObject * obj0 = 0 ;
22972 PyObject * obj1 = 0 ;
22973 PyObject * obj2 = 0 ;
22974 PyObject * obj3 = 0 ;
22975 PyObject * obj4 = 0 ;
22976 char * kwnames[] = {
22977 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22978 };
22979
22980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22982 if (!SWIG_IsOK(res1)) {
22983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22984 }
22985 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22986 ecode2 = SWIG_AsVal_int(obj1, &val2);
22987 if (!SWIG_IsOK(ecode2)) {
22988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22989 }
22990 arg2 = static_cast< int >(val2);
22991 ecode3 = SWIG_AsVal_int(obj2, &val3);
22992 if (!SWIG_IsOK(ecode3)) {
22993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22994 }
22995 arg3 = static_cast< int >(val3);
22996 ecode4 = SWIG_AsVal_int(obj3, &val4);
22997 if (!SWIG_IsOK(ecode4)) {
22998 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22999 }
23000 arg4 = static_cast< int >(val4);
23001 ecode5 = SWIG_AsVal_int(obj4, &val5);
23002 if (!SWIG_IsOK(ecode5)) {
23003 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23004 }
23005 arg5 = static_cast< int >(val5);
23006 {
23007 PyThreadState* __tstate = wxPyBeginAllowThreads();
23008 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
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_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23020 PyObject *resultobj = 0;
23021 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23022 int arg2 ;
23023 int arg3 ;
23024 int arg4 ;
23025 int arg5 ;
23026 int arg6 = (int) wxSIZE_AUTO ;
23027 void *argp1 = 0 ;
23028 int res1 = 0 ;
23029 int val2 ;
23030 int ecode2 = 0 ;
23031 int val3 ;
23032 int ecode3 = 0 ;
23033 int val4 ;
23034 int ecode4 = 0 ;
23035 int val5 ;
23036 int ecode5 = 0 ;
23037 int val6 ;
23038 int ecode6 = 0 ;
23039 PyObject * obj0 = 0 ;
23040 PyObject * obj1 = 0 ;
23041 PyObject * obj2 = 0 ;
23042 PyObject * obj3 = 0 ;
23043 PyObject * obj4 = 0 ;
23044 PyObject * obj5 = 0 ;
23045 char * kwnames[] = {
23046 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23047 };
23048
23049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23051 if (!SWIG_IsOK(res1)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23053 }
23054 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23055 ecode2 = SWIG_AsVal_int(obj1, &val2);
23056 if (!SWIG_IsOK(ecode2)) {
23057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23058 }
23059 arg2 = static_cast< int >(val2);
23060 ecode3 = SWIG_AsVal_int(obj2, &val3);
23061 if (!SWIG_IsOK(ecode3)) {
23062 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23063 }
23064 arg3 = static_cast< int >(val3);
23065 ecode4 = SWIG_AsVal_int(obj3, &val4);
23066 if (!SWIG_IsOK(ecode4)) {
23067 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23068 }
23069 arg4 = static_cast< int >(val4);
23070 ecode5 = SWIG_AsVal_int(obj4, &val5);
23071 if (!SWIG_IsOK(ecode5)) {
23072 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23073 }
23074 arg5 = static_cast< int >(val5);
23075 if (obj5) {
23076 ecode6 = SWIG_AsVal_int(obj5, &val6);
23077 if (!SWIG_IsOK(ecode6)) {
23078 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23079 }
23080 arg6 = static_cast< int >(val6);
23081 }
23082 {
23083 PyThreadState* __tstate = wxPyBeginAllowThreads();
23084 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
23088 resultobj = SWIG_Py_Void();
23089 return resultobj;
23090fail:
23091 return NULL;
23092}
23093
23094
23095SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj = 0;
23097 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23098 int arg2 ;
23099 int arg3 ;
23100 void *argp1 = 0 ;
23101 int res1 = 0 ;
23102 int val2 ;
23103 int ecode2 = 0 ;
23104 int val3 ;
23105 int ecode3 = 0 ;
23106 PyObject * obj0 = 0 ;
23107 PyObject * obj1 = 0 ;
23108 PyObject * obj2 = 0 ;
23109 char * kwnames[] = {
23110 (char *) "self",(char *) "width",(char *) "height", NULL
23111 };
23112
23113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23115 if (!SWIG_IsOK(res1)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23117 }
23118 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23119 ecode2 = SWIG_AsVal_int(obj1, &val2);
23120 if (!SWIG_IsOK(ecode2)) {
23121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23122 }
23123 arg2 = static_cast< int >(val2);
23124 ecode3 = SWIG_AsVal_int(obj2, &val3);
23125 if (!SWIG_IsOK(ecode3)) {
23126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23127 }
23128 arg3 = static_cast< int >(val3);
23129 {
23130 PyThreadState* __tstate = wxPyBeginAllowThreads();
23131 (arg1)->DoSetClientSize(arg2,arg3);
23132 wxPyEndAllowThreads(__tstate);
23133 if (PyErr_Occurred()) SWIG_fail;
23134 }
23135 resultobj = SWIG_Py_Void();
23136 return resultobj;
23137fail:
23138 return NULL;
23139}
23140
23141
23142SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23143 PyObject *resultobj = 0;
23144 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23145 int arg2 ;
23146 int arg3 ;
23147 void *argp1 = 0 ;
23148 int res1 = 0 ;
23149 int val2 ;
23150 int ecode2 = 0 ;
23151 int val3 ;
23152 int ecode3 = 0 ;
23153 PyObject * obj0 = 0 ;
23154 PyObject * obj1 = 0 ;
23155 PyObject * obj2 = 0 ;
23156 char * kwnames[] = {
23157 (char *) "self",(char *) "x",(char *) "y", NULL
23158 };
23159
23160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23162 if (!SWIG_IsOK(res1)) {
23163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23164 }
23165 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23166 ecode2 = SWIG_AsVal_int(obj1, &val2);
23167 if (!SWIG_IsOK(ecode2)) {
23168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23169 }
23170 arg2 = static_cast< int >(val2);
23171 ecode3 = SWIG_AsVal_int(obj2, &val3);
23172 if (!SWIG_IsOK(ecode3)) {
23173 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23174 }
23175 arg3 = static_cast< int >(val3);
23176 {
23177 PyThreadState* __tstate = wxPyBeginAllowThreads();
23178 (arg1)->DoSetVirtualSize(arg2,arg3);
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
23182 resultobj = SWIG_Py_Void();
23183 return resultobj;
23184fail:
23185 return NULL;
23186}
23187
23188
23189SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23190 PyObject *resultobj = 0;
23191 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23192 int *arg2 = (int *) 0 ;
23193 int *arg3 = (int *) 0 ;
23194 void *argp1 = 0 ;
23195 int res1 = 0 ;
23196 int temp2 ;
23197 int res2 = SWIG_TMPOBJ ;
23198 int temp3 ;
23199 int res3 = SWIG_TMPOBJ ;
23200 PyObject *swig_obj[1] ;
23201
23202 arg2 = &temp2;
23203 arg3 = &temp3;
23204 if (!args) SWIG_fail;
23205 swig_obj[0] = args;
23206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23207 if (!SWIG_IsOK(res1)) {
23208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23209 }
23210 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23211 {
23212 PyThreadState* __tstate = wxPyBeginAllowThreads();
23213 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23214 wxPyEndAllowThreads(__tstate);
23215 if (PyErr_Occurred()) SWIG_fail;
23216 }
23217 resultobj = SWIG_Py_Void();
23218 if (SWIG_IsTmpObj(res2)) {
23219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23220 } else {
23221 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23223 }
23224 if (SWIG_IsTmpObj(res3)) {
23225 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23226 } else {
23227 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23228 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23229 }
23230 return resultobj;
23231fail:
23232 return NULL;
23233}
23234
23235
23236SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23237 PyObject *resultobj = 0;
23238 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23239 int *arg2 = (int *) 0 ;
23240 int *arg3 = (int *) 0 ;
23241 void *argp1 = 0 ;
23242 int res1 = 0 ;
23243 int temp2 ;
23244 int res2 = SWIG_TMPOBJ ;
23245 int temp3 ;
23246 int res3 = SWIG_TMPOBJ ;
23247 PyObject *swig_obj[1] ;
23248
23249 arg2 = &temp2;
23250 arg3 = &temp3;
23251 if (!args) SWIG_fail;
23252 swig_obj[0] = args;
23253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23254 if (!SWIG_IsOK(res1)) {
23255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23256 }
23257 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23261 wxPyEndAllowThreads(__tstate);
23262 if (PyErr_Occurred()) SWIG_fail;
23263 }
23264 resultobj = SWIG_Py_Void();
23265 if (SWIG_IsTmpObj(res2)) {
23266 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23267 } else {
23268 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23269 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23270 }
23271 if (SWIG_IsTmpObj(res3)) {
23272 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23273 } else {
23274 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23275 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23276 }
23277 return resultobj;
23278fail:
23279 return NULL;
23280}
23281
23282
23283SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23284 PyObject *resultobj = 0;
23285 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23286 int *arg2 = (int *) 0 ;
23287 int *arg3 = (int *) 0 ;
23288 void *argp1 = 0 ;
23289 int res1 = 0 ;
23290 int temp2 ;
23291 int res2 = SWIG_TMPOBJ ;
23292 int temp3 ;
23293 int res3 = SWIG_TMPOBJ ;
23294 PyObject *swig_obj[1] ;
23295
23296 arg2 = &temp2;
23297 arg3 = &temp3;
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_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23303 }
23304 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23308 wxPyEndAllowThreads(__tstate);
23309 if (PyErr_Occurred()) SWIG_fail;
23310 }
23311 resultobj = SWIG_Py_Void();
23312 if (SWIG_IsTmpObj(res2)) {
23313 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23314 } else {
23315 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23316 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23317 }
23318 if (SWIG_IsTmpObj(res3)) {
23319 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23320 } else {
23321 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23322 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23323 }
23324 return resultobj;
23325fail:
23326 return NULL;
d55e5bfc
RD
23327}
23328
23329
1bd55598
RD
23330SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23331 PyObject *resultobj = 0;
23332 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23333 wxSize result;
23334 void *argp1 = 0 ;
23335 int res1 = 0 ;
23336 PyObject *swig_obj[1] ;
23337
23338 if (!args) SWIG_fail;
23339 swig_obj[0] = args;
23340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23341 if (!SWIG_IsOK(res1)) {
23342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23343 }
23344 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23345 {
23346 PyThreadState* __tstate = wxPyBeginAllowThreads();
23347 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23352 return resultobj;
23353fail:
23354 return NULL;
d55e5bfc
RD
23355}
23356
23357
1bd55598
RD
23358SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23359 PyObject *resultobj = 0;
23360 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23361 wxSize result;
23362 void *argp1 = 0 ;
23363 int res1 = 0 ;
23364 PyObject *swig_obj[1] ;
23365
23366 if (!args) SWIG_fail;
23367 swig_obj[0] = args;
23368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23369 if (!SWIG_IsOK(res1)) {
23370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23371 }
23372 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23376 wxPyEndAllowThreads(__tstate);
23377 if (PyErr_Occurred()) SWIG_fail;
23378 }
23379 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23380 return resultobj;
23381fail:
23382 return NULL;
d55e5bfc
RD
23383}
23384
23385
1bd55598
RD
23386SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23387 PyObject *resultobj = 0;
23388 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23389 SwigValueWrapper<wxVisualAttributes > result;
23390 void *argp1 = 0 ;
23391 int res1 = 0 ;
23392 PyObject *swig_obj[1] ;
23393
23394 if (!args) SWIG_fail;
23395 swig_obj[0] = args;
23396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23397 if (!SWIG_IsOK(res1)) {
23398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23399 }
23400 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 result = (arg1)->GetDefaultAttributes();
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23408 return resultobj;
23409fail:
23410 return NULL;
d55e5bfc
RD
23411}
23412
23413
1bd55598
RD
23414SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23415 PyObject *resultobj = 0;
23416 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23417 void *argp1 = 0 ;
23418 int res1 = 0 ;
23419 PyObject *swig_obj[1] ;
23420
23421 if (!args) SWIG_fail;
23422 swig_obj[0] = args;
23423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23424 if (!SWIG_IsOK(res1)) {
23425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23426 }
23427 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23428 {
23429 PyThreadState* __tstate = wxPyBeginAllowThreads();
23430 (arg1)->OnInternalIdle();
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 resultobj = SWIG_Py_Void();
23435 return resultobj;
23436fail:
23437 return NULL;
d55e5bfc
RD
23438}
23439
23440
1bd55598
RD
23441SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23442 PyObject *obj;
23443 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23444 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23445 return SWIG_Py_Void();
d55e5bfc
RD
23446}
23447
1bd55598
RD
23448SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23449 return SWIG_Python_InitShadowInstance(args);
23450}
d55e5bfc 23451
1bd55598
RD
23452SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23453 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23454 return 1;
d55e5bfc
RD
23455}
23456
23457
1bd55598
RD
23458SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23459 PyObject *pyobj = 0;
23460
23461 {
d55e5bfc 23462#if wxUSE_UNICODE
1bd55598 23463 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23464#else
1bd55598 23465 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23466#endif
1bd55598
RD
23467 }
23468 return pyobj;
d55e5bfc
RD
23469}
23470
23471
1bd55598
RD
23472SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23473 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23474 return 1;
23475}
23476
23477
23478SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23479 PyObject *pyobj = 0;
23480
23481 {
d55e5bfc 23482#if wxUSE_UNICODE
1bd55598 23483 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23484#else
1bd55598 23485 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23486#endif
1bd55598
RD
23487 }
23488 return pyobj;
d55e5bfc
RD
23489}
23490
23491
1bd55598
RD
23492SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23493 PyObject *resultobj = 0;
23494 wxPrintData *result = 0 ;
23495
23496 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23497 {
23498 PyThreadState* __tstate = wxPyBeginAllowThreads();
23499 result = (wxPrintData *)new wxPrintData();
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23504 return resultobj;
23505fail:
23506 return NULL;
d55e5bfc
RD
23507}
23508
23509
1bd55598
RD
23510SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23511 PyObject *resultobj = 0;
23512 wxPrintData *arg1 = 0 ;
23513 wxPrintData *result = 0 ;
23514 void *argp1 = 0 ;
23515 int res1 = 0 ;
23516
23517 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23519 if (!SWIG_IsOK(res1)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23521 }
23522 if (!argp1) {
23523 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23524 }
23525 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23533 return resultobj;
23534fail:
23535 return NULL;
d55e5bfc
RD
23536}
23537
23538
1bd55598
RD
23539SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23540 int argc;
23541 PyObject *argv[2];
23542
23543 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23544 --argc;
23545 if (argc == 0) {
23546 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23547 }
23548 if (argc == 1) {
23549 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23550 }
23551
23552fail:
23553 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23554 return NULL;
d55e5bfc
RD
23555}
23556
23557
1bd55598
RD
23558SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23559 PyObject *resultobj = 0;
23560 wxPrintData *arg1 = (wxPrintData *) 0 ;
23561 void *argp1 = 0 ;
23562 int res1 = 0 ;
23563 PyObject *swig_obj[1] ;
23564
23565 if (!args) SWIG_fail;
23566 swig_obj[0] = args;
23567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23568 if (!SWIG_IsOK(res1)) {
23569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23570 }
23571 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23572 {
23573 PyThreadState* __tstate = wxPyBeginAllowThreads();
23574 delete arg1;
d55e5bfc 23575
1bd55598
RD
23576 wxPyEndAllowThreads(__tstate);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
23579 resultobj = SWIG_Py_Void();
23580 return resultobj;
23581fail:
23582 return NULL;
d55e5bfc
RD
23583}
23584
23585
1bd55598
RD
23586SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23587 PyObject *resultobj = 0;
23588 wxPrintData *arg1 = (wxPrintData *) 0 ;
23589 int result;
23590 void *argp1 = 0 ;
23591 int res1 = 0 ;
23592 PyObject *swig_obj[1] ;
23593
23594 if (!args) SWIG_fail;
23595 swig_obj[0] = args;
23596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23597 if (!SWIG_IsOK(res1)) {
23598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23599 }
23600 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 result = (int)(arg1)->GetNoCopies();
23604 wxPyEndAllowThreads(__tstate);
23605 if (PyErr_Occurred()) SWIG_fail;
23606 }
23607 resultobj = SWIG_From_int(static_cast< int >(result));
23608 return resultobj;
23609fail:
23610 return NULL;
d55e5bfc
RD
23611}
23612
23613
1bd55598
RD
23614SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23615 PyObject *resultobj = 0;
23616 wxPrintData *arg1 = (wxPrintData *) 0 ;
23617 bool result;
23618 void *argp1 = 0 ;
23619 int res1 = 0 ;
23620 PyObject *swig_obj[1] ;
23621
23622 if (!args) SWIG_fail;
23623 swig_obj[0] = args;
23624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23625 if (!SWIG_IsOK(res1)) {
23626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23627 }
23628 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23629 {
23630 PyThreadState* __tstate = wxPyBeginAllowThreads();
23631 result = (bool)(arg1)->GetCollate();
23632 wxPyEndAllowThreads(__tstate);
23633 if (PyErr_Occurred()) SWIG_fail;
23634 }
23635 {
23636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23637 }
23638 return resultobj;
23639fail:
23640 return NULL;
d55e5bfc
RD
23641}
23642
23643
1bd55598
RD
23644SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23645 PyObject *resultobj = 0;
23646 wxPrintData *arg1 = (wxPrintData *) 0 ;
23647 int result;
23648 void *argp1 = 0 ;
23649 int res1 = 0 ;
23650 PyObject *swig_obj[1] ;
23651
23652 if (!args) SWIG_fail;
23653 swig_obj[0] = args;
23654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23655 if (!SWIG_IsOK(res1)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23657 }
23658 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23659 {
23660 PyThreadState* __tstate = wxPyBeginAllowThreads();
23661 result = (int)(arg1)->GetOrientation();
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 resultobj = SWIG_From_int(static_cast< int >(result));
23666 return resultobj;
23667fail:
23668 return NULL;
d55e5bfc
RD
23669}
23670
23671
b39fe951 23672SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
23673 PyObject *resultobj = 0;
23674 wxPrintData *arg1 = (wxPrintData *) 0 ;
23675 bool result;
23676 void *argp1 = 0 ;
23677 int res1 = 0 ;
23678 PyObject *swig_obj[1] ;
23679
23680 if (!args) SWIG_fail;
23681 swig_obj[0] = args;
23682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23683 if (!SWIG_IsOK(res1)) {
b39fe951 23684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
1bd55598
RD
23685 }
23686 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 23689 result = (bool)(arg1)->IsOk();
1bd55598
RD
23690 wxPyEndAllowThreads(__tstate);
23691 if (PyErr_Occurred()) SWIG_fail;
23692 }
23693 {
23694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23695 }
23696 return resultobj;
23697fail:
23698 return NULL;
d55e5bfc
RD
23699}
23700
23701
1bd55598
RD
23702SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23703 PyObject *resultobj = 0;
23704 wxPrintData *arg1 = (wxPrintData *) 0 ;
23705 wxString *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_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23715 }
23716 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23717 {
23718 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23719 {
1bd55598
RD
23720 wxString const &_result_ref = (arg1)->GetPrinterName();
23721 result = (wxString *) &_result_ref;
d55e5bfc 23722 }
1bd55598
RD
23723 wxPyEndAllowThreads(__tstate);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 }
23726 {
d55e5bfc 23727#if wxUSE_UNICODE
1bd55598 23728 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 23729#else
1bd55598 23730 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 23731#endif
1bd55598
RD
23732 }
23733 return resultobj;
23734fail:
23735 return NULL;
d55e5bfc
RD
23736}
23737
23738
1bd55598
RD
23739SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23740 PyObject *resultobj = 0;
23741 wxPrintData *arg1 = (wxPrintData *) 0 ;
23742 bool result;
23743 void *argp1 = 0 ;
23744 int res1 = 0 ;
23745 PyObject *swig_obj[1] ;
23746
23747 if (!args) SWIG_fail;
23748 swig_obj[0] = args;
23749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23750 if (!SWIG_IsOK(res1)) {
23751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23752 }
23753 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23754 {
23755 PyThreadState* __tstate = wxPyBeginAllowThreads();
23756 result = (bool)(arg1)->GetColour();
23757 wxPyEndAllowThreads(__tstate);
23758 if (PyErr_Occurred()) SWIG_fail;
23759 }
23760 {
23761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23762 }
23763 return resultobj;
23764fail:
23765 return NULL;
d55e5bfc
RD
23766}
23767
23768
1bd55598
RD
23769SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23770 PyObject *resultobj = 0;
23771 wxPrintData *arg1 = (wxPrintData *) 0 ;
23772 wxDuplexMode result;
23773 void *argp1 = 0 ;
23774 int res1 = 0 ;
23775 PyObject *swig_obj[1] ;
23776
23777 if (!args) SWIG_fail;
23778 swig_obj[0] = args;
23779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23780 if (!SWIG_IsOK(res1)) {
23781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23782 }
23783 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23784 {
23785 PyThreadState* __tstate = wxPyBeginAllowThreads();
23786 result = (wxDuplexMode)(arg1)->GetDuplex();
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 resultobj = SWIG_From_int(static_cast< int >(result));
23791 return resultobj;
23792fail:
23793 return NULL;
d55e5bfc
RD
23794}
23795
23796
1bd55598
RD
23797SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23798 PyObject *resultobj = 0;
23799 wxPrintData *arg1 = (wxPrintData *) 0 ;
23800 wxPaperSize result;
23801 void *argp1 = 0 ;
23802 int res1 = 0 ;
23803 PyObject *swig_obj[1] ;
23804
23805 if (!args) SWIG_fail;
23806 swig_obj[0] = args;
23807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23808 if (!SWIG_IsOK(res1)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23810 }
23811 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 result = (wxPaperSize)(arg1)->GetPaperId();
23815 wxPyEndAllowThreads(__tstate);
23816 if (PyErr_Occurred()) SWIG_fail;
23817 }
23818 resultobj = SWIG_From_int(static_cast< int >(result));
23819 return resultobj;
23820fail:
23821 return NULL;
070c48b4
RD
23822}
23823
23824
1bd55598
RD
23825SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23826 PyObject *resultobj = 0;
23827 wxPrintData *arg1 = (wxPrintData *) 0 ;
23828 wxSize *result = 0 ;
23829 void *argp1 = 0 ;
23830 int res1 = 0 ;
23831 PyObject *swig_obj[1] ;
23832
23833 if (!args) SWIG_fail;
23834 swig_obj[0] = args;
23835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23836 if (!SWIG_IsOK(res1)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23838 }
23839 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 23842 {
1bd55598
RD
23843 wxSize const &_result_ref = (arg1)->GetPaperSize();
23844 result = (wxSize *) &_result_ref;
070c48b4 23845 }
1bd55598
RD
23846 wxPyEndAllowThreads(__tstate);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 }
23849 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23850 return resultobj;
23851fail:
23852 return NULL;
d55e5bfc
RD
23853}
23854
23855
1bd55598
RD
23856SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23857 PyObject *resultobj = 0;
23858 wxPrintData *arg1 = (wxPrintData *) 0 ;
23859 int result;
23860 void *argp1 = 0 ;
23861 int res1 = 0 ;
23862 PyObject *swig_obj[1] ;
23863
23864 if (!args) SWIG_fail;
23865 swig_obj[0] = args;
23866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23867 if (!SWIG_IsOK(res1)) {
23868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23869 }
23870 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 result = (int)(arg1)->GetQuality();
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 resultobj = SWIG_From_int(static_cast< int >(result));
23878 return resultobj;
23879fail:
23880 return NULL;
d55e5bfc
RD
23881}
23882
23883
1bd55598
RD
23884SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23885 PyObject *resultobj = 0;
23886 wxPrintData *arg1 = (wxPrintData *) 0 ;
23887 wxPrintBin result;
23888 void *argp1 = 0 ;
23889 int res1 = 0 ;
23890 PyObject *swig_obj[1] ;
23891
23892 if (!args) SWIG_fail;
23893 swig_obj[0] = args;
23894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23895 if (!SWIG_IsOK(res1)) {
23896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23897 }
23898 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23899 {
23900 PyThreadState* __tstate = wxPyBeginAllowThreads();
23901 result = (wxPrintBin)(arg1)->GetBin();
23902 wxPyEndAllowThreads(__tstate);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 resultobj = SWIG_From_int(static_cast< int >(result));
23906 return resultobj;
23907fail:
23908 return NULL;
d55e5bfc
RD
23909}
23910
23911
1bd55598
RD
23912SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23913 PyObject *resultobj = 0;
23914 wxPrintData *arg1 = (wxPrintData *) 0 ;
23915 wxPrintMode result;
23916 void *argp1 = 0 ;
23917 int res1 = 0 ;
23918 PyObject *swig_obj[1] ;
23919
23920 if (!args) SWIG_fail;
23921 swig_obj[0] = args;
23922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23923 if (!SWIG_IsOK(res1)) {
23924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23925 }
23926 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23927 {
23928 PyThreadState* __tstate = wxPyBeginAllowThreads();
23929 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 resultobj = SWIG_From_int(static_cast< int >(result));
23934 return resultobj;
23935fail:
23936 return NULL;
23937}
23938
23939
23940SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23941 PyObject *resultobj = 0;
23942 wxPrintData *arg1 = (wxPrintData *) 0 ;
23943 int arg2 ;
23944 void *argp1 = 0 ;
23945 int res1 = 0 ;
23946 int val2 ;
23947 int ecode2 = 0 ;
23948 PyObject * obj0 = 0 ;
23949 PyObject * obj1 = 0 ;
23950 char * kwnames[] = {
23951 (char *) "self",(char *) "v", NULL
23952 };
23953
23954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23956 if (!SWIG_IsOK(res1)) {
23957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23958 }
23959 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23960 ecode2 = SWIG_AsVal_int(obj1, &val2);
23961 if (!SWIG_IsOK(ecode2)) {
23962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23963 }
23964 arg2 = static_cast< int >(val2);
23965 {
23966 PyThreadState* __tstate = wxPyBeginAllowThreads();
23967 (arg1)->SetNoCopies(arg2);
23968 wxPyEndAllowThreads(__tstate);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 }
23971 resultobj = SWIG_Py_Void();
23972 return resultobj;
23973fail:
23974 return NULL;
23975}
23976
23977
23978SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23979 PyObject *resultobj = 0;
23980 wxPrintData *arg1 = (wxPrintData *) 0 ;
23981 bool arg2 ;
23982 void *argp1 = 0 ;
23983 int res1 = 0 ;
23984 bool val2 ;
23985 int ecode2 = 0 ;
23986 PyObject * obj0 = 0 ;
23987 PyObject * obj1 = 0 ;
23988 char * kwnames[] = {
23989 (char *) "self",(char *) "flag", NULL
23990 };
23991
23992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23994 if (!SWIG_IsOK(res1)) {
23995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23996 }
23997 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23998 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23999 if (!SWIG_IsOK(ecode2)) {
24000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24001 }
24002 arg2 = static_cast< bool >(val2);
24003 {
24004 PyThreadState* __tstate = wxPyBeginAllowThreads();
24005 (arg1)->SetCollate(arg2);
24006 wxPyEndAllowThreads(__tstate);
24007 if (PyErr_Occurred()) SWIG_fail;
24008 }
24009 resultobj = SWIG_Py_Void();
24010 return resultobj;
24011fail:
24012 return NULL;
24013}
24014
24015
24016SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24017 PyObject *resultobj = 0;
24018 wxPrintData *arg1 = (wxPrintData *) 0 ;
24019 int arg2 ;
24020 void *argp1 = 0 ;
24021 int res1 = 0 ;
24022 int val2 ;
24023 int ecode2 = 0 ;
24024 PyObject * obj0 = 0 ;
24025 PyObject * obj1 = 0 ;
24026 char * kwnames[] = {
24027 (char *) "self",(char *) "orient", NULL
24028 };
24029
24030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24032 if (!SWIG_IsOK(res1)) {
24033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24034 }
24035 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24036 ecode2 = SWIG_AsVal_int(obj1, &val2);
24037 if (!SWIG_IsOK(ecode2)) {
24038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24039 }
24040 arg2 = static_cast< int >(val2);
24041 {
24042 PyThreadState* __tstate = wxPyBeginAllowThreads();
24043 (arg1)->SetOrientation(arg2);
24044 wxPyEndAllowThreads(__tstate);
24045 if (PyErr_Occurred()) SWIG_fail;
24046 }
24047 resultobj = SWIG_Py_Void();
24048 return resultobj;
24049fail:
24050 return NULL;
24051}
24052
24053
24054SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24055 PyObject *resultobj = 0;
24056 wxPrintData *arg1 = (wxPrintData *) 0 ;
24057 wxString *arg2 = 0 ;
24058 void *argp1 = 0 ;
24059 int res1 = 0 ;
24060 bool temp2 = false ;
24061 PyObject * obj0 = 0 ;
24062 PyObject * obj1 = 0 ;
24063 char * kwnames[] = {
24064 (char *) "self",(char *) "name", NULL
24065 };
24066
24067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24069 if (!SWIG_IsOK(res1)) {
24070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24071 }
24072 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24073 {
24074 arg2 = wxString_in_helper(obj1);
24075 if (arg2 == NULL) SWIG_fail;
24076 temp2 = true;
24077 }
24078 {
24079 PyThreadState* __tstate = wxPyBeginAllowThreads();
24080 (arg1)->SetPrinterName((wxString const &)*arg2);
24081 wxPyEndAllowThreads(__tstate);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 }
24084 resultobj = SWIG_Py_Void();
24085 {
24086 if (temp2)
24087 delete arg2;
24088 }
24089 return resultobj;
24090fail:
24091 {
24092 if (temp2)
24093 delete arg2;
24094 }
24095 return NULL;
24096}
24097
24098
24099SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24100 PyObject *resultobj = 0;
24101 wxPrintData *arg1 = (wxPrintData *) 0 ;
24102 bool arg2 ;
24103 void *argp1 = 0 ;
24104 int res1 = 0 ;
24105 bool val2 ;
24106 int ecode2 = 0 ;
24107 PyObject * obj0 = 0 ;
24108 PyObject * obj1 = 0 ;
24109 char * kwnames[] = {
24110 (char *) "self",(char *) "colour", NULL
24111 };
24112
24113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24115 if (!SWIG_IsOK(res1)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24117 }
24118 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24119 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24120 if (!SWIG_IsOK(ecode2)) {
24121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24122 }
24123 arg2 = static_cast< bool >(val2);
24124 {
24125 PyThreadState* __tstate = wxPyBeginAllowThreads();
24126 (arg1)->SetColour(arg2);
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 resultobj = SWIG_Py_Void();
24131 return resultobj;
24132fail:
24133 return NULL;
24134}
24135
24136
24137SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24138 PyObject *resultobj = 0;
24139 wxPrintData *arg1 = (wxPrintData *) 0 ;
24140 wxDuplexMode arg2 ;
24141 void *argp1 = 0 ;
24142 int res1 = 0 ;
24143 int val2 ;
24144 int ecode2 = 0 ;
24145 PyObject * obj0 = 0 ;
24146 PyObject * obj1 = 0 ;
24147 char * kwnames[] = {
24148 (char *) "self",(char *) "duplex", NULL
24149 };
24150
24151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24153 if (!SWIG_IsOK(res1)) {
24154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24155 }
24156 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24157 ecode2 = SWIG_AsVal_int(obj1, &val2);
24158 if (!SWIG_IsOK(ecode2)) {
24159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24160 }
24161 arg2 = static_cast< wxDuplexMode >(val2);
24162 {
24163 PyThreadState* __tstate = wxPyBeginAllowThreads();
24164 (arg1)->SetDuplex(arg2);
24165 wxPyEndAllowThreads(__tstate);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 }
24168 resultobj = SWIG_Py_Void();
24169 return resultobj;
24170fail:
24171 return NULL;
24172}
24173
24174
24175SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24176 PyObject *resultobj = 0;
24177 wxPrintData *arg1 = (wxPrintData *) 0 ;
24178 wxPaperSize arg2 ;
24179 void *argp1 = 0 ;
24180 int res1 = 0 ;
24181 int val2 ;
24182 int ecode2 = 0 ;
24183 PyObject * obj0 = 0 ;
24184 PyObject * obj1 = 0 ;
24185 char * kwnames[] = {
24186 (char *) "self",(char *) "sizeId", NULL
24187 };
24188
24189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24191 if (!SWIG_IsOK(res1)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24193 }
24194 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24195 ecode2 = SWIG_AsVal_int(obj1, &val2);
24196 if (!SWIG_IsOK(ecode2)) {
24197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24198 }
24199 arg2 = static_cast< wxPaperSize >(val2);
24200 {
24201 PyThreadState* __tstate = wxPyBeginAllowThreads();
24202 (arg1)->SetPaperId(arg2);
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 resultobj = SWIG_Py_Void();
24207 return resultobj;
24208fail:
24209 return NULL;
24210}
24211
24212
24213SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24214 PyObject *resultobj = 0;
24215 wxPrintData *arg1 = (wxPrintData *) 0 ;
24216 wxSize *arg2 = 0 ;
24217 void *argp1 = 0 ;
24218 int res1 = 0 ;
24219 wxSize temp2 ;
24220 PyObject * obj0 = 0 ;
24221 PyObject * obj1 = 0 ;
24222 char * kwnames[] = {
24223 (char *) "self",(char *) "sz", NULL
24224 };
24225
24226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24228 if (!SWIG_IsOK(res1)) {
24229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24230 }
24231 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24232 {
24233 arg2 = &temp2;
24234 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24235 }
24236 {
24237 PyThreadState* __tstate = wxPyBeginAllowThreads();
24238 (arg1)->SetPaperSize((wxSize const &)*arg2);
24239 wxPyEndAllowThreads(__tstate);
24240 if (PyErr_Occurred()) SWIG_fail;
24241 }
24242 resultobj = SWIG_Py_Void();
24243 return resultobj;
24244fail:
24245 return NULL;
24246}
24247
24248
24249SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24250 PyObject *resultobj = 0;
24251 wxPrintData *arg1 = (wxPrintData *) 0 ;
24252 int arg2 ;
24253 void *argp1 = 0 ;
24254 int res1 = 0 ;
24255 int val2 ;
24256 int ecode2 = 0 ;
24257 PyObject * obj0 = 0 ;
24258 PyObject * obj1 = 0 ;
24259 char * kwnames[] = {
24260 (char *) "self",(char *) "quality", NULL
24261 };
24262
24263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24265 if (!SWIG_IsOK(res1)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24267 }
24268 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24269 ecode2 = SWIG_AsVal_int(obj1, &val2);
24270 if (!SWIG_IsOK(ecode2)) {
24271 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24272 }
24273 arg2 = static_cast< int >(val2);
24274 {
24275 PyThreadState* __tstate = wxPyBeginAllowThreads();
24276 (arg1)->SetQuality(arg2);
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 resultobj = SWIG_Py_Void();
24281 return resultobj;
24282fail:
24283 return NULL;
24284}
24285
24286
24287SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj = 0;
24289 wxPrintData *arg1 = (wxPrintData *) 0 ;
24290 wxPrintBin arg2 ;
24291 void *argp1 = 0 ;
24292 int res1 = 0 ;
24293 int val2 ;
24294 int ecode2 = 0 ;
24295 PyObject * obj0 = 0 ;
24296 PyObject * obj1 = 0 ;
24297 char * kwnames[] = {
24298 (char *) "self",(char *) "bin", NULL
24299 };
24300
24301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24303 if (!SWIG_IsOK(res1)) {
24304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24305 }
24306 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24307 ecode2 = SWIG_AsVal_int(obj1, &val2);
24308 if (!SWIG_IsOK(ecode2)) {
24309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24310 }
24311 arg2 = static_cast< wxPrintBin >(val2);
24312 {
24313 PyThreadState* __tstate = wxPyBeginAllowThreads();
24314 (arg1)->SetBin(arg2);
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
24318 resultobj = SWIG_Py_Void();
24319 return resultobj;
24320fail:
24321 return NULL;
24322}
24323
24324
24325SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24326 PyObject *resultobj = 0;
24327 wxPrintData *arg1 = (wxPrintData *) 0 ;
24328 wxPrintMode arg2 ;
24329 void *argp1 = 0 ;
24330 int res1 = 0 ;
24331 int val2 ;
24332 int ecode2 = 0 ;
24333 PyObject * obj0 = 0 ;
24334 PyObject * obj1 = 0 ;
24335 char * kwnames[] = {
24336 (char *) "self",(char *) "printMode", NULL
24337 };
24338
24339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24341 if (!SWIG_IsOK(res1)) {
24342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24343 }
24344 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24345 ecode2 = SWIG_AsVal_int(obj1, &val2);
24346 if (!SWIG_IsOK(ecode2)) {
24347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24348 }
24349 arg2 = static_cast< wxPrintMode >(val2);
24350 {
24351 PyThreadState* __tstate = wxPyBeginAllowThreads();
24352 (arg1)->SetPrintMode(arg2);
24353 wxPyEndAllowThreads(__tstate);
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 resultobj = SWIG_Py_Void();
24357 return resultobj;
24358fail:
24359 return NULL;
24360}
d55e5bfc
RD
24361
24362
1bd55598
RD
24363SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24364 PyObject *resultobj = 0;
24365 wxPrintData *arg1 = (wxPrintData *) 0 ;
24366 wxString result;
24367 void *argp1 = 0 ;
24368 int res1 = 0 ;
24369 PyObject *swig_obj[1] ;
24370
24371 if (!args) SWIG_fail;
24372 swig_obj[0] = args;
24373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24374 if (!SWIG_IsOK(res1)) {
24375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24376 }
24377 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24378 {
24379 PyThreadState* __tstate = wxPyBeginAllowThreads();
24380 result = ((wxPrintData const *)arg1)->GetFilename();
24381 wxPyEndAllowThreads(__tstate);
24382 if (PyErr_Occurred()) SWIG_fail;
24383 }
24384 {
24385#if wxUSE_UNICODE
24386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24387#else
24388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24389#endif
24390 }
24391 return resultobj;
24392fail:
24393 return NULL;
24394}
24395
24396
24397SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24398 PyObject *resultobj = 0;
24399 wxPrintData *arg1 = (wxPrintData *) 0 ;
24400 wxString *arg2 = 0 ;
24401 void *argp1 = 0 ;
24402 int res1 = 0 ;
24403 bool temp2 = false ;
24404 PyObject * obj0 = 0 ;
24405 PyObject * obj1 = 0 ;
24406 char * kwnames[] = {
24407 (char *) "self",(char *) "filename", NULL
24408 };
24409
24410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24412 if (!SWIG_IsOK(res1)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24414 }
24415 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24416 {
24417 arg2 = wxString_in_helper(obj1);
24418 if (arg2 == NULL) SWIG_fail;
24419 temp2 = true;
24420 }
24421 {
24422 PyThreadState* __tstate = wxPyBeginAllowThreads();
24423 (arg1)->SetFilename((wxString const &)*arg2);
24424 wxPyEndAllowThreads(__tstate);
24425 if (PyErr_Occurred()) SWIG_fail;
24426 }
24427 resultobj = SWIG_Py_Void();
24428 {
24429 if (temp2)
24430 delete arg2;
24431 }
24432 return resultobj;
24433fail:
24434 {
24435 if (temp2)
24436 delete arg2;
24437 }
24438 return NULL;
d55e5bfc
RD
24439}
24440
24441
1bd55598
RD
24442SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24443 PyObject *resultobj = 0;
24444 wxPrintData *arg1 = (wxPrintData *) 0 ;
24445 PyObject *result = 0 ;
24446 void *argp1 = 0 ;
24447 int res1 = 0 ;
24448 PyObject *swig_obj[1] ;
24449
24450 if (!args) SWIG_fail;
24451 swig_obj[0] = args;
24452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24453 if (!SWIG_IsOK(res1)) {
24454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24455 }
24456 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24457 {
24458 PyThreadState* __tstate = wxPyBeginAllowThreads();
24459 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24460 wxPyEndAllowThreads(__tstate);
24461 if (PyErr_Occurred()) SWIG_fail;
24462 }
24463 resultobj = result;
24464 return resultobj;
24465fail:
24466 return NULL;
24467}
24468
24469
24470SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24471 PyObject *resultobj = 0;
24472 wxPrintData *arg1 = (wxPrintData *) 0 ;
24473 PyObject *arg2 = (PyObject *) 0 ;
24474 void *argp1 = 0 ;
24475 int res1 = 0 ;
24476 PyObject * obj0 = 0 ;
24477 PyObject * obj1 = 0 ;
24478 char * kwnames[] = {
24479 (char *) "self",(char *) "data", NULL
24480 };
24481
24482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24484 if (!SWIG_IsOK(res1)) {
24485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24486 }
24487 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24488 arg2 = obj1;
24489 {
24490 PyThreadState* __tstate = wxPyBeginAllowThreads();
24491 wxPrintData_SetPrivData(arg1,arg2);
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 resultobj = SWIG_Py_Void();
24496 return resultobj;
24497fail:
24498 return NULL;
d55e5bfc
RD
24499}
24500
24501
1bd55598
RD
24502SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24503 PyObject *obj;
24504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24505 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24506 return SWIG_Py_Void();
d55e5bfc
RD
24507}
24508
1bd55598
RD
24509SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24510 return SWIG_Python_InitShadowInstance(args);
24511}
d55e5bfc 24512
1bd55598
RD
24513SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24514 PyObject *resultobj = 0;
24515 wxPageSetupDialogData *result = 0 ;
24516
24517 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24518 {
24519 PyThreadState* __tstate = wxPyBeginAllowThreads();
24520 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24521 wxPyEndAllowThreads(__tstate);
24522 if (PyErr_Occurred()) SWIG_fail;
24523 }
24524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24525 return resultobj;
24526fail:
24527 return NULL;
d55e5bfc
RD
24528}
24529
24530
1bd55598
RD
24531SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24532 PyObject *resultobj = 0;
24533 wxPageSetupDialogData *arg1 = 0 ;
24534 wxPageSetupDialogData *result = 0 ;
24535 void *argp1 = 0 ;
24536 int res1 = 0 ;
24537
24538 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24540 if (!SWIG_IsOK(res1)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24542 }
24543 if (!argp1) {
24544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24545 }
24546 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24547 {
24548 PyThreadState* __tstate = wxPyBeginAllowThreads();
24549 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24550 wxPyEndAllowThreads(__tstate);
24551 if (PyErr_Occurred()) SWIG_fail;
24552 }
24553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24554 return resultobj;
24555fail:
24556 return NULL;
d55e5bfc
RD
24557}
24558
24559
1bd55598
RD
24560SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24561 PyObject *resultobj = 0;
24562 wxPrintData *arg1 = 0 ;
24563 wxPageSetupDialogData *result = 0 ;
24564 void *argp1 = 0 ;
24565 int res1 = 0 ;
24566
24567 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24569 if (!SWIG_IsOK(res1)) {
24570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24571 }
24572 if (!argp1) {
24573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24574 }
24575 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24576 {
24577 PyThreadState* __tstate = wxPyBeginAllowThreads();
24578 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24579 wxPyEndAllowThreads(__tstate);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24583 return resultobj;
24584fail:
24585 return NULL;
d55e5bfc
RD
24586}
24587
24588
1bd55598
RD
24589SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24590 int argc;
24591 PyObject *argv[2];
24592
24593 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24594 --argc;
24595 if (argc == 0) {
24596 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24597 }
24598 if (argc == 1) {
24599 int _v = 0;
36ed4f51 24600 {
1bd55598
RD
24601 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24602 _v = SWIG_CheckState(res);
d55e5bfc 24603 }
1bd55598
RD
24604 if (!_v) goto check_2;
24605 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24606 }
24607check_2:
24608
24609 if (argc == 1) {
24610 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24611 }
24612
24613fail:
24614 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24615 return NULL;
d55e5bfc
RD
24616}
24617
24618
1bd55598
RD
24619SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24620 PyObject *resultobj = 0;
24621 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24622 void *argp1 = 0 ;
24623 int res1 = 0 ;
24624 PyObject *swig_obj[1] ;
24625
24626 if (!args) SWIG_fail;
24627 swig_obj[0] = args;
24628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24629 if (!SWIG_IsOK(res1)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24631 }
24632 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 delete arg1;
d55e5bfc 24636
1bd55598
RD
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
24640 resultobj = SWIG_Py_Void();
24641 return resultobj;
24642fail:
24643 return NULL;
24644}
24645
24646
24647SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj = 0;
24649 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24650 bool arg2 ;
24651 void *argp1 = 0 ;
24652 int res1 = 0 ;
24653 bool val2 ;
24654 int ecode2 = 0 ;
24655 PyObject * obj0 = 0 ;
24656 PyObject * obj1 = 0 ;
24657 char * kwnames[] = {
24658 (char *) "self",(char *) "flag", NULL
24659 };
24660
24661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24663 if (!SWIG_IsOK(res1)) {
24664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24665 }
24666 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24667 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24668 if (!SWIG_IsOK(ecode2)) {
24669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24670 }
24671 arg2 = static_cast< bool >(val2);
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 (arg1)->EnableHelp(arg2);
24675 wxPyEndAllowThreads(__tstate);
24676 if (PyErr_Occurred()) SWIG_fail;
24677 }
24678 resultobj = SWIG_Py_Void();
24679 return resultobj;
24680fail:
24681 return NULL;
24682}
24683
24684
24685SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24686 PyObject *resultobj = 0;
24687 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24688 bool arg2 ;
24689 void *argp1 = 0 ;
24690 int res1 = 0 ;
24691 bool val2 ;
24692 int ecode2 = 0 ;
24693 PyObject * obj0 = 0 ;
24694 PyObject * obj1 = 0 ;
24695 char * kwnames[] = {
24696 (char *) "self",(char *) "flag", NULL
24697 };
24698
24699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24701 if (!SWIG_IsOK(res1)) {
24702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24703 }
24704 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24705 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24706 if (!SWIG_IsOK(ecode2)) {
24707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24708 }
24709 arg2 = static_cast< bool >(val2);
24710 {
24711 PyThreadState* __tstate = wxPyBeginAllowThreads();
24712 (arg1)->EnableMargins(arg2);
24713 wxPyEndAllowThreads(__tstate);
24714 if (PyErr_Occurred()) SWIG_fail;
24715 }
24716 resultobj = SWIG_Py_Void();
24717 return resultobj;
24718fail:
24719 return NULL;
24720}
24721
24722
24723SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24724 PyObject *resultobj = 0;
24725 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24726 bool arg2 ;
24727 void *argp1 = 0 ;
24728 int res1 = 0 ;
24729 bool val2 ;
24730 int ecode2 = 0 ;
24731 PyObject * obj0 = 0 ;
24732 PyObject * obj1 = 0 ;
24733 char * kwnames[] = {
24734 (char *) "self",(char *) "flag", NULL
24735 };
24736
24737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24739 if (!SWIG_IsOK(res1)) {
24740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24741 }
24742 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24743 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24744 if (!SWIG_IsOK(ecode2)) {
24745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24746 }
24747 arg2 = static_cast< bool >(val2);
24748 {
24749 PyThreadState* __tstate = wxPyBeginAllowThreads();
24750 (arg1)->EnableOrientation(arg2);
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 resultobj = SWIG_Py_Void();
24755 return resultobj;
24756fail:
24757 return NULL;
24758}
24759
24760
24761SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24762 PyObject *resultobj = 0;
24763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24764 bool arg2 ;
24765 void *argp1 = 0 ;
24766 int res1 = 0 ;
24767 bool val2 ;
24768 int ecode2 = 0 ;
24769 PyObject * obj0 = 0 ;
24770 PyObject * obj1 = 0 ;
24771 char * kwnames[] = {
24772 (char *) "self",(char *) "flag", NULL
24773 };
24774
24775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24777 if (!SWIG_IsOK(res1)) {
24778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24779 }
24780 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24781 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24782 if (!SWIG_IsOK(ecode2)) {
24783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24784 }
24785 arg2 = static_cast< bool >(val2);
24786 {
24787 PyThreadState* __tstate = wxPyBeginAllowThreads();
24788 (arg1)->EnablePaper(arg2);
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
24792 resultobj = SWIG_Py_Void();
24793 return resultobj;
24794fail:
24795 return NULL;
24796}
24797
24798
24799SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24800 PyObject *resultobj = 0;
24801 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24802 bool arg2 ;
24803 void *argp1 = 0 ;
24804 int res1 = 0 ;
24805 bool val2 ;
24806 int ecode2 = 0 ;
24807 PyObject * obj0 = 0 ;
24808 PyObject * obj1 = 0 ;
24809 char * kwnames[] = {
24810 (char *) "self",(char *) "flag", NULL
24811 };
24812
24813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24815 if (!SWIG_IsOK(res1)) {
24816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24817 }
24818 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24819 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24820 if (!SWIG_IsOK(ecode2)) {
24821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24822 }
24823 arg2 = static_cast< bool >(val2);
24824 {
24825 PyThreadState* __tstate = wxPyBeginAllowThreads();
24826 (arg1)->EnablePrinter(arg2);
24827 wxPyEndAllowThreads(__tstate);
24828 if (PyErr_Occurred()) SWIG_fail;
24829 }
24830 resultobj = SWIG_Py_Void();
24831 return resultobj;
24832fail:
24833 return NULL;
d55e5bfc
RD
24834}
24835
24836
1bd55598
RD
24837SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24838 PyObject *resultobj = 0;
24839 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24840 bool result;
24841 void *argp1 = 0 ;
24842 int res1 = 0 ;
24843 PyObject *swig_obj[1] ;
24844
24845 if (!args) SWIG_fail;
24846 swig_obj[0] = args;
24847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24848 if (!SWIG_IsOK(res1)) {
24849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24850 }
24851 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 result = (bool)(arg1)->GetDefaultMinMargins();
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 {
24859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24860 }
24861 return resultobj;
24862fail:
24863 return NULL;
d55e5bfc
RD
24864}
24865
24866
1bd55598
RD
24867SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24868 PyObject *resultobj = 0;
24869 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24870 bool result;
24871 void *argp1 = 0 ;
24872 int res1 = 0 ;
24873 PyObject *swig_obj[1] ;
24874
24875 if (!args) SWIG_fail;
24876 swig_obj[0] = args;
24877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24878 if (!SWIG_IsOK(res1)) {
24879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24880 }
24881 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24882 {
24883 PyThreadState* __tstate = wxPyBeginAllowThreads();
24884 result = (bool)(arg1)->GetEnableMargins();
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
24888 {
24889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24890 }
24891 return resultobj;
24892fail:
24893 return NULL;
d55e5bfc
RD
24894}
24895
24896
1bd55598
RD
24897SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24898 PyObject *resultobj = 0;
24899 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24900 bool result;
24901 void *argp1 = 0 ;
24902 int res1 = 0 ;
24903 PyObject *swig_obj[1] ;
24904
24905 if (!args) SWIG_fail;
24906 swig_obj[0] = args;
24907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24908 if (!SWIG_IsOK(res1)) {
24909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24910 }
24911 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 result = (bool)(arg1)->GetEnableOrientation();
24915 wxPyEndAllowThreads(__tstate);
24916 if (PyErr_Occurred()) SWIG_fail;
24917 }
24918 {
24919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24920 }
24921 return resultobj;
24922fail:
24923 return NULL;
d55e5bfc
RD
24924}
24925
24926
1bd55598
RD
24927SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24928 PyObject *resultobj = 0;
24929 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24930 bool result;
24931 void *argp1 = 0 ;
24932 int res1 = 0 ;
24933 PyObject *swig_obj[1] ;
24934
24935 if (!args) SWIG_fail;
24936 swig_obj[0] = args;
24937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24938 if (!SWIG_IsOK(res1)) {
24939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24940 }
24941 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 result = (bool)(arg1)->GetEnablePaper();
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 {
24949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24950 }
24951 return resultobj;
24952fail:
24953 return NULL;
d55e5bfc
RD
24954}
24955
24956
1bd55598
RD
24957SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24958 PyObject *resultobj = 0;
24959 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24960 bool result;
24961 void *argp1 = 0 ;
24962 int res1 = 0 ;
24963 PyObject *swig_obj[1] ;
24964
24965 if (!args) SWIG_fail;
24966 swig_obj[0] = args;
24967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24968 if (!SWIG_IsOK(res1)) {
24969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24970 }
24971 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24972 {
24973 PyThreadState* __tstate = wxPyBeginAllowThreads();
24974 result = (bool)(arg1)->GetEnablePrinter();
24975 wxPyEndAllowThreads(__tstate);
24976 if (PyErr_Occurred()) SWIG_fail;
24977 }
24978 {
24979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24980 }
24981 return resultobj;
24982fail:
24983 return NULL;
32fe5131
RD
24984}
24985
24986
1bd55598
RD
24987SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24988 PyObject *resultobj = 0;
24989 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24990 bool result;
24991 void *argp1 = 0 ;
24992 int res1 = 0 ;
24993 PyObject *swig_obj[1] ;
24994
24995 if (!args) SWIG_fail;
24996 swig_obj[0] = args;
24997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24998 if (!SWIG_IsOK(res1)) {
24999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25000 }
25001 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25002 {
25003 PyThreadState* __tstate = wxPyBeginAllowThreads();
25004 result = (bool)(arg1)->GetEnableHelp();
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 {
25009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25010 }
25011 return resultobj;
25012fail:
25013 return NULL;
d55e5bfc
RD
25014}
25015
25016
1bd55598
RD
25017SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25018 PyObject *resultobj = 0;
25019 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25020 bool result;
25021 void *argp1 = 0 ;
25022 int res1 = 0 ;
25023 PyObject *swig_obj[1] ;
25024
25025 if (!args) SWIG_fail;
25026 swig_obj[0] = args;
25027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25028 if (!SWIG_IsOK(res1)) {
25029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25030 }
25031 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25032 {
25033 PyThreadState* __tstate = wxPyBeginAllowThreads();
25034 result = (bool)(arg1)->GetDefaultInfo();
25035 wxPyEndAllowThreads(__tstate);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 }
25038 {
25039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25040 }
25041 return resultobj;
25042fail:
25043 return NULL;
d55e5bfc
RD
25044}
25045
25046
1bd55598
RD
25047SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25048 PyObject *resultobj = 0;
25049 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25050 wxPoint result;
25051 void *argp1 = 0 ;
25052 int res1 = 0 ;
25053 PyObject *swig_obj[1] ;
25054
25055 if (!args) SWIG_fail;
25056 swig_obj[0] = args;
25057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25058 if (!SWIG_IsOK(res1)) {
25059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25060 }
25061 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 result = (arg1)->GetMarginTopLeft();
25065 wxPyEndAllowThreads(__tstate);
25066 if (PyErr_Occurred()) SWIG_fail;
25067 }
25068 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25069 return resultobj;
25070fail:
25071 return NULL;
d55e5bfc
RD
25072}
25073
25074
1bd55598
RD
25075SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25076 PyObject *resultobj = 0;
25077 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25078 wxPoint result;
25079 void *argp1 = 0 ;
25080 int res1 = 0 ;
25081 PyObject *swig_obj[1] ;
25082
25083 if (!args) SWIG_fail;
25084 swig_obj[0] = args;
25085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25086 if (!SWIG_IsOK(res1)) {
25087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25088 }
25089 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25090 {
25091 PyThreadState* __tstate = wxPyBeginAllowThreads();
25092 result = (arg1)->GetMarginBottomRight();
25093 wxPyEndAllowThreads(__tstate);
25094 if (PyErr_Occurred()) SWIG_fail;
25095 }
25096 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25097 return resultobj;
25098fail:
25099 return NULL;
d55e5bfc
RD
25100}
25101
25102
1bd55598
RD
25103SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25104 PyObject *resultobj = 0;
25105 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25106 wxPoint result;
25107 void *argp1 = 0 ;
25108 int res1 = 0 ;
25109 PyObject *swig_obj[1] ;
25110
25111 if (!args) SWIG_fail;
25112 swig_obj[0] = args;
25113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25114 if (!SWIG_IsOK(res1)) {
25115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25116 }
25117 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25118 {
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 result = (arg1)->GetMinMarginTopLeft();
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
25124 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25125 return resultobj;
25126fail:
25127 return NULL;
d55e5bfc
RD
25128}
25129
25130
1bd55598
RD
25131SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25132 PyObject *resultobj = 0;
25133 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25134 wxPoint result;
25135 void *argp1 = 0 ;
25136 int res1 = 0 ;
25137 PyObject *swig_obj[1] ;
25138
25139 if (!args) SWIG_fail;
25140 swig_obj[0] = args;
25141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25142 if (!SWIG_IsOK(res1)) {
25143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25144 }
25145 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 result = (arg1)->GetMinMarginBottomRight();
25149 wxPyEndAllowThreads(__tstate);
25150 if (PyErr_Occurred()) SWIG_fail;
25151 }
25152 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25153 return resultobj;
25154fail:
25155 return NULL;
d55e5bfc
RD
25156}
25157
25158
1bd55598
RD
25159SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25160 PyObject *resultobj = 0;
25161 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25162 wxPaperSize result;
25163 void *argp1 = 0 ;
25164 int res1 = 0 ;
25165 PyObject *swig_obj[1] ;
25166
25167 if (!args) SWIG_fail;
25168 swig_obj[0] = args;
25169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25170 if (!SWIG_IsOK(res1)) {
25171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25172 }
25173 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25174 {
25175 PyThreadState* __tstate = wxPyBeginAllowThreads();
25176 result = (wxPaperSize)(arg1)->GetPaperId();
25177 wxPyEndAllowThreads(__tstate);
25178 if (PyErr_Occurred()) SWIG_fail;
25179 }
25180 resultobj = SWIG_From_int(static_cast< int >(result));
25181 return resultobj;
25182fail:
25183 return NULL;
d55e5bfc
RD
25184}
25185
25186
1bd55598
RD
25187SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25188 PyObject *resultobj = 0;
25189 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25190 wxSize result;
25191 void *argp1 = 0 ;
25192 int res1 = 0 ;
25193 PyObject *swig_obj[1] ;
25194
25195 if (!args) SWIG_fail;
25196 swig_obj[0] = args;
25197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25198 if (!SWIG_IsOK(res1)) {
25199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25200 }
25201 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25202 {
25203 PyThreadState* __tstate = wxPyBeginAllowThreads();
25204 result = (arg1)->GetPaperSize();
25205 wxPyEndAllowThreads(__tstate);
25206 if (PyErr_Occurred()) SWIG_fail;
25207 }
25208 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25209 return resultobj;
25210fail:
25211 return NULL;
d55e5bfc
RD
25212}
25213
25214
1bd55598
RD
25215SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25216 PyObject *resultobj = 0;
25217 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25218 wxPrintData *result = 0 ;
25219 void *argp1 = 0 ;
25220 int res1 = 0 ;
25221 PyObject *swig_obj[1] ;
25222
25223 if (!args) SWIG_fail;
25224 swig_obj[0] = args;
25225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25226 if (!SWIG_IsOK(res1)) {
25227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25228 }
25229 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25230 {
25231 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25232 {
1bd55598
RD
25233 wxPrintData &_result_ref = (arg1)->GetPrintData();
25234 result = (wxPrintData *) &_result_ref;
d55e5bfc 25235 }
1bd55598
RD
25236 wxPyEndAllowThreads(__tstate);
25237 if (PyErr_Occurred()) SWIG_fail;
25238 }
25239 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25240 return resultobj;
25241fail:
25242 return NULL;
d55e5bfc
RD
25243}
25244
25245
b39fe951 25246SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
25247 PyObject *resultobj = 0;
25248 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25249 bool result;
25250 void *argp1 = 0 ;
25251 int res1 = 0 ;
25252 PyObject *swig_obj[1] ;
25253
25254 if (!args) SWIG_fail;
25255 swig_obj[0] = args;
25256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25257 if (!SWIG_IsOK(res1)) {
b39fe951 25258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
1bd55598
RD
25259 }
25260 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25261 {
25262 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 25263 result = (bool)(arg1)->IsOk();
1bd55598
RD
25264 wxPyEndAllowThreads(__tstate);
25265 if (PyErr_Occurred()) SWIG_fail;
25266 }
25267 {
25268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25269 }
25270 return resultobj;
25271fail:
25272 return NULL;
25273}
25274
25275
25276SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25277 PyObject *resultobj = 0;
25278 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25279 bool arg2 ;
25280 void *argp1 = 0 ;
25281 int res1 = 0 ;
25282 bool val2 ;
25283 int ecode2 = 0 ;
25284 PyObject * obj0 = 0 ;
25285 PyObject * obj1 = 0 ;
25286 char * kwnames[] = {
25287 (char *) "self",(char *) "flag", NULL
25288 };
25289
25290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25292 if (!SWIG_IsOK(res1)) {
25293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25294 }
25295 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25296 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25297 if (!SWIG_IsOK(ecode2)) {
25298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25299 }
25300 arg2 = static_cast< bool >(val2);
25301 {
25302 PyThreadState* __tstate = wxPyBeginAllowThreads();
25303 (arg1)->SetDefaultInfo(arg2);
25304 wxPyEndAllowThreads(__tstate);
25305 if (PyErr_Occurred()) SWIG_fail;
25306 }
25307 resultobj = SWIG_Py_Void();
25308 return resultobj;
25309fail:
25310 return NULL;
25311}
25312
25313
25314SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25315 PyObject *resultobj = 0;
25316 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25317 bool arg2 ;
25318 void *argp1 = 0 ;
25319 int res1 = 0 ;
25320 bool val2 ;
25321 int ecode2 = 0 ;
25322 PyObject * obj0 = 0 ;
25323 PyObject * obj1 = 0 ;
25324 char * kwnames[] = {
25325 (char *) "self",(char *) "flag", NULL
25326 };
25327
25328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25330 if (!SWIG_IsOK(res1)) {
25331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25332 }
25333 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25334 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25335 if (!SWIG_IsOK(ecode2)) {
25336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25337 }
25338 arg2 = static_cast< bool >(val2);
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 (arg1)->SetDefaultMinMargins(arg2);
25342 wxPyEndAllowThreads(__tstate);
25343 if (PyErr_Occurred()) SWIG_fail;
25344 }
25345 resultobj = SWIG_Py_Void();
25346 return resultobj;
25347fail:
25348 return NULL;
25349}
25350
25351
25352SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25353 PyObject *resultobj = 0;
25354 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25355 wxPoint *arg2 = 0 ;
25356 void *argp1 = 0 ;
25357 int res1 = 0 ;
25358 wxPoint temp2 ;
25359 PyObject * obj0 = 0 ;
25360 PyObject * obj1 = 0 ;
25361 char * kwnames[] = {
25362 (char *) "self",(char *) "pt", NULL
25363 };
25364
25365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25367 if (!SWIG_IsOK(res1)) {
25368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25369 }
25370 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25371 {
25372 arg2 = &temp2;
25373 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25374 }
25375 {
25376 PyThreadState* __tstate = wxPyBeginAllowThreads();
25377 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25378 wxPyEndAllowThreads(__tstate);
25379 if (PyErr_Occurred()) SWIG_fail;
25380 }
25381 resultobj = SWIG_Py_Void();
25382 return resultobj;
25383fail:
25384 return NULL;
25385}
25386
25387
25388SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25389 PyObject *resultobj = 0;
25390 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25391 wxPoint *arg2 = 0 ;
25392 void *argp1 = 0 ;
25393 int res1 = 0 ;
25394 wxPoint temp2 ;
25395 PyObject * obj0 = 0 ;
25396 PyObject * obj1 = 0 ;
25397 char * kwnames[] = {
25398 (char *) "self",(char *) "pt", NULL
25399 };
25400
25401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25403 if (!SWIG_IsOK(res1)) {
25404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25405 }
25406 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25407 {
25408 arg2 = &temp2;
25409 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25410 }
25411 {
25412 PyThreadState* __tstate = wxPyBeginAllowThreads();
25413 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25414 wxPyEndAllowThreads(__tstate);
25415 if (PyErr_Occurred()) SWIG_fail;
25416 }
25417 resultobj = SWIG_Py_Void();
25418 return resultobj;
25419fail:
25420 return NULL;
25421}
25422
25423
25424SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25425 PyObject *resultobj = 0;
25426 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25427 wxPoint *arg2 = 0 ;
25428 void *argp1 = 0 ;
25429 int res1 = 0 ;
25430 wxPoint temp2 ;
25431 PyObject * obj0 = 0 ;
25432 PyObject * obj1 = 0 ;
25433 char * kwnames[] = {
25434 (char *) "self",(char *) "pt", NULL
25435 };
25436
25437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25439 if (!SWIG_IsOK(res1)) {
25440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25441 }
25442 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25443 {
25444 arg2 = &temp2;
25445 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25446 }
25447 {
25448 PyThreadState* __tstate = wxPyBeginAllowThreads();
25449 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25450 wxPyEndAllowThreads(__tstate);
25451 if (PyErr_Occurred()) SWIG_fail;
25452 }
25453 resultobj = SWIG_Py_Void();
25454 return resultobj;
25455fail:
25456 return NULL;
25457}
25458
25459
25460SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25461 PyObject *resultobj = 0;
25462 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25463 wxPoint *arg2 = 0 ;
25464 void *argp1 = 0 ;
25465 int res1 = 0 ;
25466 wxPoint temp2 ;
25467 PyObject * obj0 = 0 ;
25468 PyObject * obj1 = 0 ;
25469 char * kwnames[] = {
25470 (char *) "self",(char *) "pt", NULL
25471 };
25472
25473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25475 if (!SWIG_IsOK(res1)) {
25476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25477 }
25478 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25479 {
25480 arg2 = &temp2;
25481 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25482 }
25483 {
25484 PyThreadState* __tstate = wxPyBeginAllowThreads();
25485 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25486 wxPyEndAllowThreads(__tstate);
25487 if (PyErr_Occurred()) SWIG_fail;
25488 }
25489 resultobj = SWIG_Py_Void();
25490 return resultobj;
25491fail:
25492 return NULL;
25493}
25494
25495
25496SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25497 PyObject *resultobj = 0;
25498 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25499 wxPaperSize arg2 ;
25500 void *argp1 = 0 ;
25501 int res1 = 0 ;
25502 int val2 ;
25503 int ecode2 = 0 ;
25504 PyObject * obj0 = 0 ;
25505 PyObject * obj1 = 0 ;
25506 char * kwnames[] = {
25507 (char *) "self",(char *) "id", NULL
25508 };
25509
25510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25512 if (!SWIG_IsOK(res1)) {
25513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25514 }
25515 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25516 ecode2 = SWIG_AsVal_int(obj1, &val2);
25517 if (!SWIG_IsOK(ecode2)) {
25518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25519 }
25520 arg2 = static_cast< wxPaperSize >(val2);
25521 {
25522 PyThreadState* __tstate = wxPyBeginAllowThreads();
25523 (arg1)->SetPaperId(arg2);
25524 wxPyEndAllowThreads(__tstate);
25525 if (PyErr_Occurred()) SWIG_fail;
25526 }
25527 resultobj = SWIG_Py_Void();
25528 return resultobj;
25529fail:
25530 return NULL;
25531}
25532
25533
25534SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25535 PyObject *resultobj = 0;
25536 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25537 wxSize *arg2 = 0 ;
25538 void *argp1 = 0 ;
25539 int res1 = 0 ;
25540 wxSize temp2 ;
25541 PyObject * obj0 = 0 ;
25542 PyObject * obj1 = 0 ;
25543 char * kwnames[] = {
25544 (char *) "self",(char *) "size", NULL
25545 };
25546
25547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25549 if (!SWIG_IsOK(res1)) {
25550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25551 }
25552 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25553 {
25554 arg2 = &temp2;
25555 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25556 }
25557 {
25558 PyThreadState* __tstate = wxPyBeginAllowThreads();
25559 (arg1)->SetPaperSize((wxSize const &)*arg2);
25560 wxPyEndAllowThreads(__tstate);
25561 if (PyErr_Occurred()) SWIG_fail;
25562 }
25563 resultobj = SWIG_Py_Void();
25564 return resultobj;
25565fail:
25566 return NULL;
25567}
25568
25569
25570SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25571 PyObject *resultobj = 0;
25572 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25573 wxPrintData *arg2 = 0 ;
25574 void *argp1 = 0 ;
25575 int res1 = 0 ;
25576 void *argp2 = 0 ;
25577 int res2 = 0 ;
25578 PyObject * obj0 = 0 ;
25579 PyObject * obj1 = 0 ;
25580 char * kwnames[] = {
25581 (char *) "self",(char *) "printData", NULL
25582 };
25583
25584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25586 if (!SWIG_IsOK(res1)) {
25587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25588 }
25589 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25590 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25591 if (!SWIG_IsOK(res2)) {
25592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25593 }
25594 if (!argp2) {
25595 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25596 }
25597 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25601 wxPyEndAllowThreads(__tstate);
25602 if (PyErr_Occurred()) SWIG_fail;
25603 }
25604 resultobj = SWIG_Py_Void();
25605 return resultobj;
25606fail:
25607 return NULL;
d55e5bfc
RD
25608}
25609
25610
1bd55598
RD
25611SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25612 PyObject *resultobj = 0;
25613 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25614 void *argp1 = 0 ;
25615 int res1 = 0 ;
25616 PyObject *swig_obj[1] ;
25617
25618 if (!args) SWIG_fail;
25619 swig_obj[0] = args;
25620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25621 if (!SWIG_IsOK(res1)) {
25622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25623 }
25624 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25625 {
25626 PyThreadState* __tstate = wxPyBeginAllowThreads();
25627 (arg1)->CalculateIdFromPaperSize();
25628 wxPyEndAllowThreads(__tstate);
25629 if (PyErr_Occurred()) SWIG_fail;
25630 }
25631 resultobj = SWIG_Py_Void();
25632 return resultobj;
25633fail:
25634 return NULL;
d55e5bfc
RD
25635}
25636
25637
1bd55598
RD
25638SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25639 PyObject *resultobj = 0;
25640 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25641 void *argp1 = 0 ;
25642 int res1 = 0 ;
25643 PyObject *swig_obj[1] ;
25644
25645 if (!args) SWIG_fail;
25646 swig_obj[0] = args;
25647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25648 if (!SWIG_IsOK(res1)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25650 }
25651 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25652 {
25653 PyThreadState* __tstate = wxPyBeginAllowThreads();
25654 (arg1)->CalculatePaperSizeFromId();
25655 wxPyEndAllowThreads(__tstate);
25656 if (PyErr_Occurred()) SWIG_fail;
25657 }
25658 resultobj = SWIG_Py_Void();
25659 return resultobj;
25660fail:
25661 return NULL;
d55e5bfc
RD
25662}
25663
25664
1bd55598
RD
25665SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25666 PyObject *obj;
25667 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25668 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25669 return SWIG_Py_Void();
d55e5bfc
RD
25670}
25671
1bd55598
RD
25672SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25673 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25674}
25675
1bd55598
RD
25676SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25677 PyObject *resultobj = 0;
25678 wxWindow *arg1 = (wxWindow *) 0 ;
25679 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25680 wxPageSetupDialog *result = 0 ;
25681 void *argp1 = 0 ;
25682 int res1 = 0 ;
25683 void *argp2 = 0 ;
25684 int res2 = 0 ;
25685 PyObject * obj0 = 0 ;
25686 PyObject * obj1 = 0 ;
25687 char * kwnames[] = {
25688 (char *) "parent",(char *) "data", NULL
25689 };
25690
25691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25693 if (!SWIG_IsOK(res1)) {
25694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25695 }
25696 arg1 = reinterpret_cast< wxWindow * >(argp1);
25697 if (obj1) {
25698 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25699 if (!SWIG_IsOK(res2)) {
25700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
36ed4f51 25701 }
1bd55598
RD
25702 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25703 }
25704 {
25705 if (!wxPyCheckForApp()) SWIG_fail;
25706 PyThreadState* __tstate = wxPyBeginAllowThreads();
25707 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25708 wxPyEndAllowThreads(__tstate);
25709 if (PyErr_Occurred()) SWIG_fail;
25710 }
25711 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25712 return resultobj;
25713fail:
25714 return NULL;
d55e5bfc
RD
25715}
25716
25717
06810ecf
RD
25718SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25719 PyObject *resultobj = 0;
25720 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25721 void *argp1 = 0 ;
25722 int res1 = 0 ;
25723 PyObject *swig_obj[1] ;
25724
25725 if (!args) SWIG_fail;
25726 swig_obj[0] = args;
25727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25728 if (!SWIG_IsOK(res1)) {
25729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25730 }
25731 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25732 {
25733 PyThreadState* __tstate = wxPyBeginAllowThreads();
25734 delete arg1;
25735
25736 wxPyEndAllowThreads(__tstate);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
25739 resultobj = SWIG_Py_Void();
25740 return resultobj;
25741fail:
25742 return NULL;
25743}
25744
25745
1bd55598
RD
25746SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25747 PyObject *resultobj = 0;
25748 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25749 wxPageSetupDialogData *result = 0 ;
25750 void *argp1 = 0 ;
25751 int res1 = 0 ;
25752 PyObject *swig_obj[1] ;
25753
25754 if (!args) SWIG_fail;
25755 swig_obj[0] = args;
25756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25757 if (!SWIG_IsOK(res1)) {
25758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25759 }
25760 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25761 {
25762 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 25763 {
1bd55598
RD
25764 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25765 result = (wxPageSetupDialogData *) &_result_ref;
36ed4f51 25766 }
1bd55598
RD
25767 wxPyEndAllowThreads(__tstate);
25768 if (PyErr_Occurred()) SWIG_fail;
25769 }
25770 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25771 return resultobj;
25772fail:
25773 return NULL;
d55e5bfc
RD
25774}
25775
25776
1bd55598
RD
25777SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25778 PyObject *resultobj = 0;
25779 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25780 wxPageSetupDialogData *result = 0 ;
25781 void *argp1 = 0 ;
25782 int res1 = 0 ;
25783 PyObject *swig_obj[1] ;
25784
25785 if (!args) SWIG_fail;
25786 swig_obj[0] = args;
25787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25788 if (!SWIG_IsOK(res1)) {
25789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25790 }
25791 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25792 {
25793 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25794 {
1bd55598
RD
25795 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25796 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 25797 }
1bd55598
RD
25798 wxPyEndAllowThreads(__tstate);
25799 if (PyErr_Occurred()) SWIG_fail;
25800 }
25801 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25802 return resultobj;
25803fail:
25804 return NULL;
d55e5bfc
RD
25805}
25806
25807
1bd55598
RD
25808SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25809 PyObject *resultobj = 0;
25810 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25811 int result;
25812 void *argp1 = 0 ;
25813 int res1 = 0 ;
25814 PyObject *swig_obj[1] ;
25815
25816 if (!args) SWIG_fail;
25817 swig_obj[0] = args;
25818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25819 if (!SWIG_IsOK(res1)) {
25820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25821 }
25822 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25823 {
25824 PyThreadState* __tstate = wxPyBeginAllowThreads();
25825 result = (int)(arg1)->ShowModal();
25826 wxPyEndAllowThreads(__tstate);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 }
25829 resultobj = SWIG_From_int(static_cast< int >(result));
25830 return resultobj;
25831fail:
25832 return NULL;
d55e5bfc
RD
25833}
25834
25835
1bd55598
RD
25836SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25837 PyObject *obj;
25838 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25839 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25840 return SWIG_Py_Void();
d55e5bfc
RD
25841}
25842
1bd55598
RD
25843SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25844 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25845}
25846
1bd55598
RD
25847SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25848 PyObject *resultobj = 0;
25849 wxPrintDialogData *result = 0 ;
25850
25851 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25852 {
25853 PyThreadState* __tstate = wxPyBeginAllowThreads();
25854 result = (wxPrintDialogData *)new wxPrintDialogData();
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
25858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25859 return resultobj;
25860fail:
25861 return NULL;
d55e5bfc
RD
25862}
25863
25864
1bd55598
RD
25865SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25866 PyObject *resultobj = 0;
25867 wxPrintData *arg1 = 0 ;
25868 wxPrintDialogData *result = 0 ;
25869 void *argp1 = 0 ;
25870 int res1 = 0 ;
25871
25872 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25874 if (!SWIG_IsOK(res1)) {
25875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25876 }
25877 if (!argp1) {
25878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25879 }
25880 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25888 return resultobj;
25889fail:
25890 return NULL;
d55e5bfc
RD
25891}
25892
25893
1bd55598
RD
25894SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25895 PyObject *resultobj = 0;
25896 wxPrintDialogData *arg1 = 0 ;
25897 wxPrintDialogData *result = 0 ;
25898 void *argp1 = 0 ;
25899 int res1 = 0 ;
25900
25901 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25903 if (!SWIG_IsOK(res1)) {
25904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25905 }
25906 if (!argp1) {
25907 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25908 }
25909 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25910 {
25911 PyThreadState* __tstate = wxPyBeginAllowThreads();
25912 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25913 wxPyEndAllowThreads(__tstate);
25914 if (PyErr_Occurred()) SWIG_fail;
25915 }
25916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25917 return resultobj;
25918fail:
25919 return NULL;
d55e5bfc
RD
25920}
25921
25922
1bd55598
RD
25923SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25924 int argc;
25925 PyObject *argv[2];
25926
25927 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25928 --argc;
25929 if (argc == 0) {
25930 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25931 }
25932 if (argc == 1) {
25933 int _v = 0;
d55e5bfc 25934 {
1bd55598
RD
25935 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25936 _v = SWIG_CheckState(res);
d55e5bfc 25937 }
1bd55598
RD
25938 if (!_v) goto check_2;
25939 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25940 }
25941check_2:
25942
25943 if (argc == 1) {
25944 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25945 }
25946
25947fail:
25948 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25949 return NULL;
d55e5bfc
RD
25950}
25951
25952
1bd55598
RD
25953SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25954 PyObject *resultobj = 0;
25955 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25956 void *argp1 = 0 ;
25957 int res1 = 0 ;
25958 PyObject *swig_obj[1] ;
25959
25960 if (!args) SWIG_fail;
25961 swig_obj[0] = args;
25962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25963 if (!SWIG_IsOK(res1)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25965 }
25966 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25967 {
25968 PyThreadState* __tstate = wxPyBeginAllowThreads();
25969 delete arg1;
d55e5bfc 25970
1bd55598
RD
25971 wxPyEndAllowThreads(__tstate);
25972 if (PyErr_Occurred()) SWIG_fail;
25973 }
25974 resultobj = SWIG_Py_Void();
25975 return resultobj;
25976fail:
25977 return NULL;
d55e5bfc
RD
25978}
25979
25980
1bd55598
RD
25981SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25982 PyObject *resultobj = 0;
25983 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25984 int result;
25985 void *argp1 = 0 ;
25986 int res1 = 0 ;
25987 PyObject *swig_obj[1] ;
25988
25989 if (!args) SWIG_fail;
25990 swig_obj[0] = args;
25991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25992 if (!SWIG_IsOK(res1)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25994 }
25995 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25996 {
25997 PyThreadState* __tstate = wxPyBeginAllowThreads();
25998 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25999 wxPyEndAllowThreads(__tstate);
26000 if (PyErr_Occurred()) SWIG_fail;
26001 }
26002 resultobj = SWIG_From_int(static_cast< int >(result));
26003 return resultobj;
26004fail:
26005 return NULL;
d55e5bfc
RD
26006}
26007
26008
1bd55598
RD
26009SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26010 PyObject *resultobj = 0;
26011 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26012 int result;
26013 void *argp1 = 0 ;
26014 int res1 = 0 ;
26015 PyObject *swig_obj[1] ;
26016
26017 if (!args) SWIG_fail;
26018 swig_obj[0] = args;
26019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26020 if (!SWIG_IsOK(res1)) {
26021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26022 }
26023 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26024 {
26025 PyThreadState* __tstate = wxPyBeginAllowThreads();
26026 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
26030 resultobj = SWIG_From_int(static_cast< int >(result));
26031 return resultobj;
26032fail:
26033 return NULL;
d55e5bfc
RD
26034}
26035
26036
1bd55598
RD
26037SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26038 PyObject *resultobj = 0;
26039 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26040 int result;
26041 void *argp1 = 0 ;
26042 int res1 = 0 ;
26043 PyObject *swig_obj[1] ;
26044
26045 if (!args) SWIG_fail;
26046 swig_obj[0] = args;
26047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26048 if (!SWIG_IsOK(res1)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26050 }
26051 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26052 {
26053 PyThreadState* __tstate = wxPyBeginAllowThreads();
26054 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26055 wxPyEndAllowThreads(__tstate);
26056 if (PyErr_Occurred()) SWIG_fail;
26057 }
26058 resultobj = SWIG_From_int(static_cast< int >(result));
26059 return resultobj;
26060fail:
26061 return NULL;
d55e5bfc
RD
26062}
26063
26064
1bd55598
RD
26065SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26066 PyObject *resultobj = 0;
26067 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26068 int result;
26069 void *argp1 = 0 ;
26070 int res1 = 0 ;
26071 PyObject *swig_obj[1] ;
26072
26073 if (!args) SWIG_fail;
26074 swig_obj[0] = args;
26075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26076 if (!SWIG_IsOK(res1)) {
26077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26078 }
26079 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26083 wxPyEndAllowThreads(__tstate);
26084 if (PyErr_Occurred()) SWIG_fail;
26085 }
26086 resultobj = SWIG_From_int(static_cast< int >(result));
26087 return resultobj;
26088fail:
26089 return NULL;
d55e5bfc
RD
26090}
26091
26092
1bd55598
RD
26093SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26094 PyObject *resultobj = 0;
26095 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26096 int result;
26097 void *argp1 = 0 ;
26098 int res1 = 0 ;
26099 PyObject *swig_obj[1] ;
26100
26101 if (!args) SWIG_fail;
26102 swig_obj[0] = args;
26103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26104 if (!SWIG_IsOK(res1)) {
26105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26106 }
26107 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26108 {
26109 PyThreadState* __tstate = wxPyBeginAllowThreads();
26110 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26111 wxPyEndAllowThreads(__tstate);
26112 if (PyErr_Occurred()) SWIG_fail;
26113 }
26114 resultobj = SWIG_From_int(static_cast< int >(result));
26115 return resultobj;
26116fail:
26117 return NULL;
d55e5bfc
RD
26118}
26119
26120
1bd55598
RD
26121SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26122 PyObject *resultobj = 0;
26123 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26124 bool result;
26125 void *argp1 = 0 ;
26126 int res1 = 0 ;
26127 PyObject *swig_obj[1] ;
26128
26129 if (!args) SWIG_fail;
26130 swig_obj[0] = args;
26131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26132 if (!SWIG_IsOK(res1)) {
26133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26134 }
26135 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26136 {
26137 PyThreadState* __tstate = wxPyBeginAllowThreads();
26138 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26139 wxPyEndAllowThreads(__tstate);
26140 if (PyErr_Occurred()) SWIG_fail;
26141 }
26142 {
26143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26144 }
26145 return resultobj;
26146fail:
26147 return NULL;
d55e5bfc
RD
26148}
26149
26150
1bd55598
RD
26151SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26152 PyObject *resultobj = 0;
26153 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26154 bool result;
26155 void *argp1 = 0 ;
26156 int res1 = 0 ;
26157 PyObject *swig_obj[1] ;
26158
26159 if (!args) SWIG_fail;
26160 swig_obj[0] = args;
26161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26162 if (!SWIG_IsOK(res1)) {
26163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26164 }
26165 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26166 {
26167 PyThreadState* __tstate = wxPyBeginAllowThreads();
26168 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26169 wxPyEndAllowThreads(__tstate);
26170 if (PyErr_Occurred()) SWIG_fail;
26171 }
26172 {
26173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26174 }
26175 return resultobj;
26176fail:
26177 return NULL;
d55e5bfc
RD
26178}
26179
26180
1bd55598
RD
26181SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26182 PyObject *resultobj = 0;
26183 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26184 bool result;
26185 void *argp1 = 0 ;
26186 int res1 = 0 ;
26187 PyObject *swig_obj[1] ;
26188
26189 if (!args) SWIG_fail;
26190 swig_obj[0] = args;
26191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26192 if (!SWIG_IsOK(res1)) {
26193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26194 }
26195 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26196 {
26197 PyThreadState* __tstate = wxPyBeginAllowThreads();
26198 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26199 wxPyEndAllowThreads(__tstate);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 }
26202 {
26203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26204 }
26205 return resultobj;
26206fail:
26207 return NULL;
d55e5bfc
RD
26208}
26209
26210
1bd55598
RD
26211SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26212 PyObject *resultobj = 0;
26213 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26214 bool result;
26215 void *argp1 = 0 ;
26216 int res1 = 0 ;
26217 PyObject *swig_obj[1] ;
26218
26219 if (!args) SWIG_fail;
26220 swig_obj[0] = args;
26221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26222 if (!SWIG_IsOK(res1)) {
26223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26224 }
26225 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26229 wxPyEndAllowThreads(__tstate);
26230 if (PyErr_Occurred()) SWIG_fail;
26231 }
26232 {
26233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26234 }
26235 return resultobj;
26236fail:
26237 return NULL;
26238}
26239
26240
26241SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26242 PyObject *resultobj = 0;
26243 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26244 int arg2 ;
26245 void *argp1 = 0 ;
26246 int res1 = 0 ;
26247 int val2 ;
26248 int ecode2 = 0 ;
26249 PyObject * obj0 = 0 ;
26250 PyObject * obj1 = 0 ;
26251 char * kwnames[] = {
26252 (char *) "self",(char *) "v", NULL
26253 };
26254
26255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26257 if (!SWIG_IsOK(res1)) {
26258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26259 }
26260 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26261 ecode2 = SWIG_AsVal_int(obj1, &val2);
26262 if (!SWIG_IsOK(ecode2)) {
26263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26264 }
26265 arg2 = static_cast< int >(val2);
26266 {
26267 PyThreadState* __tstate = wxPyBeginAllowThreads();
26268 (arg1)->SetFromPage(arg2);
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
26272 resultobj = SWIG_Py_Void();
26273 return resultobj;
26274fail:
26275 return NULL;
26276}
26277
26278
26279SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26280 PyObject *resultobj = 0;
26281 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26282 int arg2 ;
26283 void *argp1 = 0 ;
26284 int res1 = 0 ;
26285 int val2 ;
26286 int ecode2 = 0 ;
26287 PyObject * obj0 = 0 ;
26288 PyObject * obj1 = 0 ;
26289 char * kwnames[] = {
26290 (char *) "self",(char *) "v", NULL
26291 };
26292
26293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26295 if (!SWIG_IsOK(res1)) {
26296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26297 }
26298 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26299 ecode2 = SWIG_AsVal_int(obj1, &val2);
26300 if (!SWIG_IsOK(ecode2)) {
26301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26302 }
26303 arg2 = static_cast< int >(val2);
26304 {
26305 PyThreadState* __tstate = wxPyBeginAllowThreads();
26306 (arg1)->SetToPage(arg2);
26307 wxPyEndAllowThreads(__tstate);
26308 if (PyErr_Occurred()) SWIG_fail;
26309 }
26310 resultobj = SWIG_Py_Void();
26311 return resultobj;
26312fail:
26313 return NULL;
26314}
26315
26316
26317SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26318 PyObject *resultobj = 0;
26319 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26320 int arg2 ;
26321 void *argp1 = 0 ;
26322 int res1 = 0 ;
26323 int val2 ;
26324 int ecode2 = 0 ;
26325 PyObject * obj0 = 0 ;
26326 PyObject * obj1 = 0 ;
26327 char * kwnames[] = {
26328 (char *) "self",(char *) "v", NULL
26329 };
26330
26331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26333 if (!SWIG_IsOK(res1)) {
26334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26335 }
26336 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26337 ecode2 = SWIG_AsVal_int(obj1, &val2);
26338 if (!SWIG_IsOK(ecode2)) {
26339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26340 }
26341 arg2 = static_cast< int >(val2);
26342 {
26343 PyThreadState* __tstate = wxPyBeginAllowThreads();
26344 (arg1)->SetMinPage(arg2);
26345 wxPyEndAllowThreads(__tstate);
26346 if (PyErr_Occurred()) SWIG_fail;
26347 }
26348 resultobj = SWIG_Py_Void();
26349 return resultobj;
26350fail:
26351 return NULL;
26352}
26353
26354
26355SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26356 PyObject *resultobj = 0;
26357 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26358 int arg2 ;
26359 void *argp1 = 0 ;
26360 int res1 = 0 ;
26361 int val2 ;
26362 int ecode2 = 0 ;
26363 PyObject * obj0 = 0 ;
26364 PyObject * obj1 = 0 ;
26365 char * kwnames[] = {
26366 (char *) "self",(char *) "v", NULL
26367 };
26368
26369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26371 if (!SWIG_IsOK(res1)) {
26372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26373 }
26374 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26375 ecode2 = SWIG_AsVal_int(obj1, &val2);
26376 if (!SWIG_IsOK(ecode2)) {
26377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26378 }
26379 arg2 = static_cast< int >(val2);
26380 {
26381 PyThreadState* __tstate = wxPyBeginAllowThreads();
26382 (arg1)->SetMaxPage(arg2);
26383 wxPyEndAllowThreads(__tstate);
26384 if (PyErr_Occurred()) SWIG_fail;
26385 }
26386 resultobj = SWIG_Py_Void();
26387 return resultobj;
26388fail:
26389 return NULL;
26390}
26391
26392
26393SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26394 PyObject *resultobj = 0;
26395 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26396 int arg2 ;
26397 void *argp1 = 0 ;
26398 int res1 = 0 ;
26399 int val2 ;
26400 int ecode2 = 0 ;
26401 PyObject * obj0 = 0 ;
26402 PyObject * obj1 = 0 ;
26403 char * kwnames[] = {
26404 (char *) "self",(char *) "v", NULL
26405 };
26406
26407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26409 if (!SWIG_IsOK(res1)) {
26410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26411 }
26412 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26413 ecode2 = SWIG_AsVal_int(obj1, &val2);
26414 if (!SWIG_IsOK(ecode2)) {
26415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26416 }
26417 arg2 = static_cast< int >(val2);
26418 {
26419 PyThreadState* __tstate = wxPyBeginAllowThreads();
26420 (arg1)->SetNoCopies(arg2);
26421 wxPyEndAllowThreads(__tstate);
26422 if (PyErr_Occurred()) SWIG_fail;
26423 }
26424 resultobj = SWIG_Py_Void();
26425 return resultobj;
26426fail:
26427 return NULL;
26428}
26429
26430
26431SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26432 PyObject *resultobj = 0;
26433 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26434 bool arg2 ;
26435 void *argp1 = 0 ;
26436 int res1 = 0 ;
26437 bool val2 ;
26438 int ecode2 = 0 ;
26439 PyObject * obj0 = 0 ;
26440 PyObject * obj1 = 0 ;
26441 char * kwnames[] = {
26442 (char *) "self",(char *) "flag", NULL
26443 };
26444
26445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26447 if (!SWIG_IsOK(res1)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26449 }
26450 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26451 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26452 if (!SWIG_IsOK(ecode2)) {
26453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26454 }
26455 arg2 = static_cast< bool >(val2);
26456 {
26457 PyThreadState* __tstate = wxPyBeginAllowThreads();
26458 (arg1)->SetAllPages(arg2);
26459 wxPyEndAllowThreads(__tstate);
26460 if (PyErr_Occurred()) SWIG_fail;
26461 }
26462 resultobj = SWIG_Py_Void();
26463 return resultobj;
26464fail:
26465 return NULL;
26466}
26467
26468
26469SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26470 PyObject *resultobj = 0;
26471 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26472 bool arg2 ;
26473 void *argp1 = 0 ;
26474 int res1 = 0 ;
26475 bool val2 ;
26476 int ecode2 = 0 ;
26477 PyObject * obj0 = 0 ;
26478 PyObject * obj1 = 0 ;
26479 char * kwnames[] = {
26480 (char *) "self",(char *) "flag", NULL
26481 };
26482
26483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26485 if (!SWIG_IsOK(res1)) {
26486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26487 }
26488 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26489 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26490 if (!SWIG_IsOK(ecode2)) {
26491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26492 }
26493 arg2 = static_cast< bool >(val2);
26494 {
26495 PyThreadState* __tstate = wxPyBeginAllowThreads();
26496 (arg1)->SetSelection(arg2);
26497 wxPyEndAllowThreads(__tstate);
26498 if (PyErr_Occurred()) SWIG_fail;
26499 }
26500 resultobj = SWIG_Py_Void();
26501 return resultobj;
26502fail:
26503 return NULL;
26504}
26505
26506
26507SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26508 PyObject *resultobj = 0;
26509 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26510 bool arg2 ;
26511 void *argp1 = 0 ;
26512 int res1 = 0 ;
26513 bool val2 ;
26514 int ecode2 = 0 ;
26515 PyObject * obj0 = 0 ;
26516 PyObject * obj1 = 0 ;
26517 char * kwnames[] = {
26518 (char *) "self",(char *) "flag", NULL
26519 };
26520
26521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26523 if (!SWIG_IsOK(res1)) {
26524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26525 }
26526 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26527 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26528 if (!SWIG_IsOK(ecode2)) {
26529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26530 }
26531 arg2 = static_cast< bool >(val2);
26532 {
26533 PyThreadState* __tstate = wxPyBeginAllowThreads();
26534 (arg1)->SetCollate(arg2);
26535 wxPyEndAllowThreads(__tstate);
26536 if (PyErr_Occurred()) SWIG_fail;
26537 }
26538 resultobj = SWIG_Py_Void();
26539 return resultobj;
26540fail:
26541 return NULL;
26542}
26543
26544
26545SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26546 PyObject *resultobj = 0;
26547 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26548 bool arg2 ;
26549 void *argp1 = 0 ;
26550 int res1 = 0 ;
26551 bool val2 ;
26552 int ecode2 = 0 ;
26553 PyObject * obj0 = 0 ;
26554 PyObject * obj1 = 0 ;
26555 char * kwnames[] = {
26556 (char *) "self",(char *) "flag", NULL
26557 };
26558
26559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26561 if (!SWIG_IsOK(res1)) {
26562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26563 }
26564 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26565 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26566 if (!SWIG_IsOK(ecode2)) {
26567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26568 }
26569 arg2 = static_cast< bool >(val2);
26570 {
26571 PyThreadState* __tstate = wxPyBeginAllowThreads();
26572 (arg1)->SetPrintToFile(arg2);
26573 wxPyEndAllowThreads(__tstate);
26574 if (PyErr_Occurred()) SWIG_fail;
26575 }
26576 resultobj = SWIG_Py_Void();
26577 return resultobj;
26578fail:
26579 return NULL;
26580}
26581
26582
26583SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26584 PyObject *resultobj = 0;
26585 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26586 bool arg2 ;
26587 void *argp1 = 0 ;
26588 int res1 = 0 ;
26589 bool val2 ;
26590 int ecode2 = 0 ;
26591 PyObject * obj0 = 0 ;
26592 PyObject * obj1 = 0 ;
26593 char * kwnames[] = {
26594 (char *) "self",(char *) "flag", NULL
26595 };
26596
26597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26599 if (!SWIG_IsOK(res1)) {
26600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26601 }
26602 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26603 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26604 if (!SWIG_IsOK(ecode2)) {
26605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26606 }
26607 arg2 = static_cast< bool >(val2);
26608 {
26609 PyThreadState* __tstate = wxPyBeginAllowThreads();
26610 (arg1)->EnablePrintToFile(arg2);
26611 wxPyEndAllowThreads(__tstate);
26612 if (PyErr_Occurred()) SWIG_fail;
26613 }
26614 resultobj = SWIG_Py_Void();
26615 return resultobj;
26616fail:
26617 return NULL;
26618}
26619
26620
26621SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26622 PyObject *resultobj = 0;
26623 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26624 bool arg2 ;
26625 void *argp1 = 0 ;
26626 int res1 = 0 ;
26627 bool val2 ;
26628 int ecode2 = 0 ;
26629 PyObject * obj0 = 0 ;
26630 PyObject * obj1 = 0 ;
26631 char * kwnames[] = {
26632 (char *) "self",(char *) "flag", NULL
26633 };
26634
26635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26637 if (!SWIG_IsOK(res1)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26639 }
26640 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26641 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26642 if (!SWIG_IsOK(ecode2)) {
26643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26644 }
26645 arg2 = static_cast< bool >(val2);
26646 {
26647 PyThreadState* __tstate = wxPyBeginAllowThreads();
26648 (arg1)->EnableSelection(arg2);
26649 wxPyEndAllowThreads(__tstate);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 }
26652 resultobj = SWIG_Py_Void();
26653 return resultobj;
26654fail:
26655 return NULL;
26656}
26657
26658
26659SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26660 PyObject *resultobj = 0;
26661 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26662 bool arg2 ;
26663 void *argp1 = 0 ;
26664 int res1 = 0 ;
26665 bool val2 ;
26666 int ecode2 = 0 ;
26667 PyObject * obj0 = 0 ;
26668 PyObject * obj1 = 0 ;
26669 char * kwnames[] = {
26670 (char *) "self",(char *) "flag", NULL
26671 };
26672
26673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26675 if (!SWIG_IsOK(res1)) {
26676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26677 }
26678 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26679 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26680 if (!SWIG_IsOK(ecode2)) {
26681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26682 }
26683 arg2 = static_cast< bool >(val2);
26684 {
26685 PyThreadState* __tstate = wxPyBeginAllowThreads();
26686 (arg1)->EnablePageNumbers(arg2);
26687 wxPyEndAllowThreads(__tstate);
26688 if (PyErr_Occurred()) SWIG_fail;
26689 }
26690 resultobj = SWIG_Py_Void();
26691 return resultobj;
26692fail:
26693 return NULL;
26694}
26695
26696
26697SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26698 PyObject *resultobj = 0;
26699 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26700 bool arg2 ;
26701 void *argp1 = 0 ;
26702 int res1 = 0 ;
26703 bool val2 ;
26704 int ecode2 = 0 ;
26705 PyObject * obj0 = 0 ;
26706 PyObject * obj1 = 0 ;
26707 char * kwnames[] = {
26708 (char *) "self",(char *) "flag", NULL
26709 };
26710
26711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26713 if (!SWIG_IsOK(res1)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26715 }
26716 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26717 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26718 if (!SWIG_IsOK(ecode2)) {
26719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26720 }
26721 arg2 = static_cast< bool >(val2);
26722 {
26723 PyThreadState* __tstate = wxPyBeginAllowThreads();
26724 (arg1)->EnableHelp(arg2);
26725 wxPyEndAllowThreads(__tstate);
26726 if (PyErr_Occurred()) SWIG_fail;
26727 }
26728 resultobj = SWIG_Py_Void();
26729 return resultobj;
26730fail:
26731 return NULL;
26732}
d55e5bfc 26733
1bd55598
RD
26734
26735SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26736 PyObject *resultobj = 0;
26737 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26738 bool result;
26739 void *argp1 = 0 ;
26740 int res1 = 0 ;
26741 PyObject *swig_obj[1] ;
26742
26743 if (!args) SWIG_fail;
26744 swig_obj[0] = args;
26745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26746 if (!SWIG_IsOK(res1)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26748 }
26749 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26750 {
26751 PyThreadState* __tstate = wxPyBeginAllowThreads();
26752 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26753 wxPyEndAllowThreads(__tstate);
26754 if (PyErr_Occurred()) SWIG_fail;
26755 }
26756 {
26757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26758 }
26759 return resultobj;
26760fail:
26761 return NULL;
d55e5bfc
RD
26762}
26763
26764
1bd55598
RD
26765SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26766 PyObject *resultobj = 0;
26767 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26768 bool result;
26769 void *argp1 = 0 ;
26770 int res1 = 0 ;
26771 PyObject *swig_obj[1] ;
26772
26773 if (!args) SWIG_fail;
26774 swig_obj[0] = args;
26775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26776 if (!SWIG_IsOK(res1)) {
26777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26778 }
26779 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26780 {
26781 PyThreadState* __tstate = wxPyBeginAllowThreads();
26782 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26783 wxPyEndAllowThreads(__tstate);
26784 if (PyErr_Occurred()) SWIG_fail;
26785 }
26786 {
26787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26788 }
26789 return resultobj;
26790fail:
26791 return NULL;
d55e5bfc
RD
26792}
26793
26794
1bd55598
RD
26795SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26796 PyObject *resultobj = 0;
26797 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26798 bool result;
26799 void *argp1 = 0 ;
26800 int res1 = 0 ;
26801 PyObject *swig_obj[1] ;
26802
26803 if (!args) SWIG_fail;
26804 swig_obj[0] = args;
26805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26806 if (!SWIG_IsOK(res1)) {
26807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26808 }
26809 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26810 {
26811 PyThreadState* __tstate = wxPyBeginAllowThreads();
26812 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26813 wxPyEndAllowThreads(__tstate);
26814 if (PyErr_Occurred()) SWIG_fail;
26815 }
26816 {
26817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26818 }
26819 return resultobj;
26820fail:
26821 return NULL;
d55e5bfc
RD
26822}
26823
26824
1bd55598
RD
26825SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26826 PyObject *resultobj = 0;
26827 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26828 bool result;
26829 void *argp1 = 0 ;
26830 int res1 = 0 ;
26831 PyObject *swig_obj[1] ;
26832
26833 if (!args) SWIG_fail;
26834 swig_obj[0] = args;
26835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26836 if (!SWIG_IsOK(res1)) {
26837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26838 }
26839 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26840 {
26841 PyThreadState* __tstate = wxPyBeginAllowThreads();
26842 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 {
26847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26848 }
26849 return resultobj;
26850fail:
26851 return NULL;
d55e5bfc
RD
26852}
26853
26854
b39fe951 26855SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
26856 PyObject *resultobj = 0;
26857 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26858 bool result;
26859 void *argp1 = 0 ;
26860 int res1 = 0 ;
26861 PyObject *swig_obj[1] ;
26862
26863 if (!args) SWIG_fail;
26864 swig_obj[0] = args;
26865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26866 if (!SWIG_IsOK(res1)) {
b39fe951 26867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
1bd55598
RD
26868 }
26869 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26870 {
26871 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 26872 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
1bd55598
RD
26873 wxPyEndAllowThreads(__tstate);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 }
26876 {
26877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26878 }
26879 return resultobj;
26880fail:
26881 return NULL;
d55e5bfc
RD
26882}
26883
26884
1bd55598
RD
26885SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26886 PyObject *resultobj = 0;
26887 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26888 wxPrintData *result = 0 ;
26889 void *argp1 = 0 ;
26890 int res1 = 0 ;
26891 PyObject *swig_obj[1] ;
26892
26893 if (!args) SWIG_fail;
26894 swig_obj[0] = args;
26895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26896 if (!SWIG_IsOK(res1)) {
26897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26898 }
26899 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26900 {
26901 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26902 {
1bd55598
RD
26903 wxPrintData &_result_ref = (arg1)->GetPrintData();
26904 result = (wxPrintData *) &_result_ref;
26905 }
26906 wxPyEndAllowThreads(__tstate);
26907 if (PyErr_Occurred()) SWIG_fail;
26908 }
26909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26910 return resultobj;
26911fail:
26912 return NULL;
26913}
26914
26915
26916SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26917 PyObject *resultobj = 0;
26918 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26919 wxPrintData *arg2 = 0 ;
26920 void *argp1 = 0 ;
26921 int res1 = 0 ;
26922 void *argp2 = 0 ;
26923 int res2 = 0 ;
26924 PyObject * obj0 = 0 ;
26925 PyObject * obj1 = 0 ;
26926 char * kwnames[] = {
26927 (char *) "self",(char *) "printData", NULL
26928 };
26929
26930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26932 if (!SWIG_IsOK(res1)) {
26933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26934 }
26935 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26936 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26937 if (!SWIG_IsOK(res2)) {
26938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26939 }
26940 if (!argp2) {
26941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26942 }
26943 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26944 {
26945 PyThreadState* __tstate = wxPyBeginAllowThreads();
26946 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26947 wxPyEndAllowThreads(__tstate);
26948 if (PyErr_Occurred()) SWIG_fail;
26949 }
26950 resultobj = SWIG_Py_Void();
26951 return resultobj;
26952fail:
26953 return NULL;
d55e5bfc
RD
26954}
26955
26956
1bd55598
RD
26957SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26958 PyObject *obj;
26959 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26960 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26961 return SWIG_Py_Void();
26962}
26963
26964SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26965 return SWIG_Python_InitShadowInstance(args);
26966}
26967
26968SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26969 PyObject *resultobj = 0;
26970 wxWindow *arg1 = (wxWindow *) 0 ;
26971 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26972 wxPrintDialog *result = 0 ;
26973 void *argp1 = 0 ;
26974 int res1 = 0 ;
26975 void *argp2 = 0 ;
26976 int res2 = 0 ;
26977 PyObject * obj0 = 0 ;
26978 PyObject * obj1 = 0 ;
26979 char * kwnames[] = {
26980 (char *) "parent",(char *) "data", NULL
26981 };
26982
26983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26985 if (!SWIG_IsOK(res1)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26987 }
26988 arg1 = reinterpret_cast< wxWindow * >(argp1);
26989 if (obj1) {
26990 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26991 if (!SWIG_IsOK(res2)) {
26992 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 26993 }
1bd55598
RD
26994 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26995 }
26996 {
26997 if (!wxPyCheckForApp()) SWIG_fail;
26998 PyThreadState* __tstate = wxPyBeginAllowThreads();
26999 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27000 wxPyEndAllowThreads(__tstate);
27001 if (PyErr_Occurred()) SWIG_fail;
27002 }
27003 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27004 return resultobj;
27005fail:
27006 return NULL;
d55e5bfc
RD
27007}
27008
27009
06810ecf
RD
27010SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27011 PyObject *resultobj = 0;
27012 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27013 void *argp1 = 0 ;
27014 int res1 = 0 ;
27015 PyObject *swig_obj[1] ;
27016
27017 if (!args) SWIG_fail;
27018 swig_obj[0] = args;
27019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27020 if (!SWIG_IsOK(res1)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27022 }
27023 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27024 {
27025 PyThreadState* __tstate = wxPyBeginAllowThreads();
27026 delete arg1;
27027
27028 wxPyEndAllowThreads(__tstate);
27029 if (PyErr_Occurred()) SWIG_fail;
27030 }
27031 resultobj = SWIG_Py_Void();
27032 return resultobj;
27033fail:
27034 return NULL;
27035}
27036
27037
1bd55598
RD
27038SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27039 PyObject *resultobj = 0;
27040 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27041 int result;
27042 void *argp1 = 0 ;
27043 int res1 = 0 ;
27044 PyObject *swig_obj[1] ;
27045
27046 if (!args) SWIG_fail;
27047 swig_obj[0] = args;
27048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27049 if (!SWIG_IsOK(res1)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27051 }
27052 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27053 {
27054 PyThreadState* __tstate = wxPyBeginAllowThreads();
27055 result = (int)(arg1)->ShowModal();
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 resultobj = SWIG_From_int(static_cast< int >(result));
27060 return resultobj;
27061fail:
27062 return NULL;
d55e5bfc
RD
27063}
27064
27065
1bd55598
RD
27066SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27067 PyObject *resultobj = 0;
27068 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27069 wxPrintDialogData *result = 0 ;
27070 void *argp1 = 0 ;
27071 int res1 = 0 ;
27072 PyObject *swig_obj[1] ;
27073
27074 if (!args) SWIG_fail;
27075 swig_obj[0] = args;
27076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27077 if (!SWIG_IsOK(res1)) {
27078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27079 }
27080 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27081 {
27082 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27083 {
1bd55598
RD
27084 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27085 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27086 }
1bd55598
RD
27087 wxPyEndAllowThreads(__tstate);
27088 if (PyErr_Occurred()) SWIG_fail;
27089 }
27090 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27091 return resultobj;
27092fail:
27093 return NULL;
d55e5bfc
RD
27094}
27095
27096
1bd55598
RD
27097SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27098 PyObject *resultobj = 0;
27099 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27100 wxPrintData *result = 0 ;
27101 void *argp1 = 0 ;
27102 int res1 = 0 ;
27103 PyObject *swig_obj[1] ;
27104
27105 if (!args) SWIG_fail;
27106 swig_obj[0] = args;
27107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27108 if (!SWIG_IsOK(res1)) {
27109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27110 }
27111 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27112 {
27113 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27114 {
1bd55598
RD
27115 wxPrintData &_result_ref = (arg1)->GetPrintData();
27116 result = (wxPrintData *) &_result_ref;
d55e5bfc 27117 }
1bd55598
RD
27118 wxPyEndAllowThreads(__tstate);
27119 if (PyErr_Occurred()) SWIG_fail;
27120 }
27121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27122 return resultobj;
27123fail:
27124 return NULL;
d55e5bfc
RD
27125}
27126
27127
1bd55598
RD
27128SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27129 PyObject *resultobj = 0;
27130 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27131 wxDC *result = 0 ;
27132 void *argp1 = 0 ;
27133 int res1 = 0 ;
27134 PyObject *swig_obj[1] ;
27135
27136 if (!args) SWIG_fail;
27137 swig_obj[0] = args;
27138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27139 if (!SWIG_IsOK(res1)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27141 }
27142 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27143 {
27144 PyThreadState* __tstate = wxPyBeginAllowThreads();
27145 result = (wxDC *)(arg1)->GetPrintDC();
27146 wxPyEndAllowThreads(__tstate);
27147 if (PyErr_Occurred()) SWIG_fail;
27148 }
27149 {
27150 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27151 }
27152 return resultobj;
27153fail:
27154 return NULL;
d55e5bfc
RD
27155}
27156
27157
1bd55598
RD
27158SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27159 PyObject *obj;
27160 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27161 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27162 return SWIG_Py_Void();
d55e5bfc
RD
27163}
27164
1bd55598
RD
27165SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27166 return SWIG_Python_InitShadowInstance(args);
27167}
d55e5bfc 27168
1bd55598
RD
27169SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27170 PyObject *resultobj = 0;
27171 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27172 wxPrinter *result = 0 ;
27173 void *argp1 = 0 ;
27174 int res1 = 0 ;
27175 PyObject * obj0 = 0 ;
27176 char * kwnames[] = {
27177 (char *) "data", NULL
27178 };
27179
27180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27181 if (obj0) {
27182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27183 if (!SWIG_IsOK(res1)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27185 }
1bd55598
RD
27186 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27187 }
27188 {
27189 if (!wxPyCheckForApp()) SWIG_fail;
27190 PyThreadState* __tstate = wxPyBeginAllowThreads();
27191 result = (wxPrinter *)new wxPrinter(arg1);
27192 wxPyEndAllowThreads(__tstate);
27193 if (PyErr_Occurred()) SWIG_fail;
27194 }
27195 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27196 return resultobj;
27197fail:
27198 return NULL;
d55e5bfc
RD
27199}
27200
27201
1bd55598
RD
27202SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27203 PyObject *resultobj = 0;
27204 wxPrinter *arg1 = (wxPrinter *) 0 ;
27205 void *argp1 = 0 ;
27206 int res1 = 0 ;
27207 PyObject *swig_obj[1] ;
27208
27209 if (!args) SWIG_fail;
27210 swig_obj[0] = args;
27211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27212 if (!SWIG_IsOK(res1)) {
27213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27214 }
27215 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27216 {
27217 PyThreadState* __tstate = wxPyBeginAllowThreads();
27218 delete arg1;
d55e5bfc 27219
1bd55598
RD
27220 wxPyEndAllowThreads(__tstate);
27221 if (PyErr_Occurred()) SWIG_fail;
27222 }
27223 resultobj = SWIG_Py_Void();
27224 return resultobj;
27225fail:
27226 return NULL;
27227}
27228
27229
27230SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27231 PyObject *resultobj = 0;
27232 wxPrinter *arg1 = (wxPrinter *) 0 ;
27233 wxWindow *arg2 = (wxWindow *) 0 ;
27234 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27235 wxWindow *result = 0 ;
27236 void *argp1 = 0 ;
27237 int res1 = 0 ;
27238 void *argp2 = 0 ;
27239 int res2 = 0 ;
27240 void *argp3 = 0 ;
27241 int res3 = 0 ;
27242 PyObject * obj0 = 0 ;
27243 PyObject * obj1 = 0 ;
27244 PyObject * obj2 = 0 ;
27245 char * kwnames[] = {
27246 (char *) "self",(char *) "parent",(char *) "printout", NULL
27247 };
27248
27249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27251 if (!SWIG_IsOK(res1)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27253 }
27254 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27255 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27256 if (!SWIG_IsOK(res2)) {
27257 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27258 }
27259 arg2 = reinterpret_cast< wxWindow * >(argp2);
27260 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27261 if (!SWIG_IsOK(res3)) {
27262 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27263 }
27264 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27268 wxPyEndAllowThreads(__tstate);
27269 if (PyErr_Occurred()) SWIG_fail;
27270 }
27271 {
27272 resultobj = wxPyMake_wxObject(result, 0);
27273 }
27274 return resultobj;
27275fail:
27276 return NULL;
27277}
27278
27279
27280SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27281 PyObject *resultobj = 0;
27282 wxPrinter *arg1 = (wxPrinter *) 0 ;
27283 wxWindow *arg2 = (wxWindow *) 0 ;
27284 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27285 wxString *arg4 = 0 ;
27286 void *argp1 = 0 ;
27287 int res1 = 0 ;
27288 void *argp2 = 0 ;
27289 int res2 = 0 ;
27290 void *argp3 = 0 ;
27291 int res3 = 0 ;
27292 bool temp4 = false ;
27293 PyObject * obj0 = 0 ;
27294 PyObject * obj1 = 0 ;
27295 PyObject * obj2 = 0 ;
27296 PyObject * obj3 = 0 ;
27297 char * kwnames[] = {
27298 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27299 };
27300
27301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27303 if (!SWIG_IsOK(res1)) {
27304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27305 }
27306 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27307 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27308 if (!SWIG_IsOK(res2)) {
27309 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27310 }
27311 arg2 = reinterpret_cast< wxWindow * >(argp2);
27312 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27313 if (!SWIG_IsOK(res3)) {
27314 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27315 }
27316 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27317 {
27318 arg4 = wxString_in_helper(obj3);
27319 if (arg4 == NULL) SWIG_fail;
27320 temp4 = true;
27321 }
27322 {
27323 PyThreadState* __tstate = wxPyBeginAllowThreads();
27324 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27325 wxPyEndAllowThreads(__tstate);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
27328 resultobj = SWIG_Py_Void();
27329 {
27330 if (temp4)
27331 delete arg4;
27332 }
27333 return resultobj;
27334fail:
27335 {
27336 if (temp4)
27337 delete arg4;
27338 }
27339 return NULL;
27340}
27341
27342
27343SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27344 PyObject *resultobj = 0;
27345 wxPrinter *arg1 = (wxPrinter *) 0 ;
27346 wxWindow *arg2 = (wxWindow *) 0 ;
27347 bool result;
27348 void *argp1 = 0 ;
27349 int res1 = 0 ;
27350 void *argp2 = 0 ;
27351 int res2 = 0 ;
27352 PyObject * obj0 = 0 ;
27353 PyObject * obj1 = 0 ;
27354 char * kwnames[] = {
27355 (char *) "self",(char *) "parent", NULL
27356 };
27357
27358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27360 if (!SWIG_IsOK(res1)) {
27361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27362 }
27363 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27364 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27365 if (!SWIG_IsOK(res2)) {
27366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27367 }
27368 arg2 = reinterpret_cast< wxWindow * >(argp2);
27369 {
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 result = (bool)(arg1)->Setup(arg2);
27372 wxPyEndAllowThreads(__tstate);
27373 if (PyErr_Occurred()) SWIG_fail;
27374 }
27375 {
27376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27377 }
27378 return resultobj;
27379fail:
27380 return NULL;
27381}
27382
27383
27384SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27385 PyObject *resultobj = 0;
27386 wxPrinter *arg1 = (wxPrinter *) 0 ;
27387 wxWindow *arg2 = (wxWindow *) 0 ;
27388 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27389 bool arg4 = (bool) true ;
27390 bool result;
27391 void *argp1 = 0 ;
27392 int res1 = 0 ;
27393 void *argp2 = 0 ;
27394 int res2 = 0 ;
27395 void *argp3 = 0 ;
27396 int res3 = 0 ;
27397 bool val4 ;
27398 int ecode4 = 0 ;
27399 PyObject * obj0 = 0 ;
27400 PyObject * obj1 = 0 ;
27401 PyObject * obj2 = 0 ;
27402 PyObject * obj3 = 0 ;
27403 char * kwnames[] = {
27404 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27405 };
27406
27407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27409 if (!SWIG_IsOK(res1)) {
27410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27411 }
27412 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27413 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27414 if (!SWIG_IsOK(res2)) {
27415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27416 }
27417 arg2 = reinterpret_cast< wxWindow * >(argp2);
27418 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27419 if (!SWIG_IsOK(res3)) {
27420 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27421 }
27422 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27423 if (obj3) {
27424 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27425 if (!SWIG_IsOK(ecode4)) {
27426 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27427 }
27428 arg4 = static_cast< bool >(val4);
27429 }
27430 {
27431 PyThreadState* __tstate = wxPyBeginAllowThreads();
27432 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27433 wxPyEndAllowThreads(__tstate);
27434 if (PyErr_Occurred()) SWIG_fail;
27435 }
27436 {
27437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27438 }
27439 return resultobj;
27440fail:
27441 return NULL;
27442}
27443
27444
27445SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27446 PyObject *resultobj = 0;
27447 wxPrinter *arg1 = (wxPrinter *) 0 ;
27448 wxWindow *arg2 = (wxWindow *) 0 ;
27449 wxDC *result = 0 ;
27450 void *argp1 = 0 ;
27451 int res1 = 0 ;
27452 void *argp2 = 0 ;
27453 int res2 = 0 ;
27454 PyObject * obj0 = 0 ;
27455 PyObject * obj1 = 0 ;
27456 char * kwnames[] = {
27457 (char *) "self",(char *) "parent", NULL
27458 };
27459
27460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27462 if (!SWIG_IsOK(res1)) {
27463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27464 }
27465 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27466 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27467 if (!SWIG_IsOK(res2)) {
27468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27469 }
27470 arg2 = reinterpret_cast< wxWindow * >(argp2);
27471 {
27472 PyThreadState* __tstate = wxPyBeginAllowThreads();
27473 result = (wxDC *)(arg1)->PrintDialog(arg2);
27474 wxPyEndAllowThreads(__tstate);
27475 if (PyErr_Occurred()) SWIG_fail;
27476 }
27477 {
27478 resultobj = wxPyMake_wxObject(result, (bool)0);
27479 }
27480 return resultobj;
27481fail:
27482 return NULL;
d55e5bfc
RD
27483}
27484
27485
1bd55598
RD
27486SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27487 PyObject *resultobj = 0;
27488 wxPrinter *arg1 = (wxPrinter *) 0 ;
27489 wxPrintDialogData *result = 0 ;
27490 void *argp1 = 0 ;
27491 int res1 = 0 ;
27492 PyObject *swig_obj[1] ;
27493
27494 if (!args) SWIG_fail;
27495 swig_obj[0] = args;
27496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27497 if (!SWIG_IsOK(res1)) {
27498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27499 }
27500 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27501 {
27502 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 27503 {
1bd55598
RD
27504 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27505 result = (wxPrintDialogData *) &_result_ref;
36ed4f51 27506 }
1bd55598
RD
27507 wxPyEndAllowThreads(__tstate);
27508 if (PyErr_Occurred()) SWIG_fail;
27509 }
27510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27511 return resultobj;
27512fail:
27513 return NULL;
d55e5bfc
RD
27514}
27515
27516
1bd55598
RD
27517SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27518 PyObject *resultobj = 0;
27519 wxPrinter *arg1 = (wxPrinter *) 0 ;
27520 bool result;
27521 void *argp1 = 0 ;
27522 int res1 = 0 ;
27523 PyObject *swig_obj[1] ;
27524
27525 if (!args) SWIG_fail;
27526 swig_obj[0] = args;
27527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27528 if (!SWIG_IsOK(res1)) {
27529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27530 }
27531 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27532 {
27533 PyThreadState* __tstate = wxPyBeginAllowThreads();
27534 result = (bool)(arg1)->GetAbort();
27535 wxPyEndAllowThreads(__tstate);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 {
27539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27540 }
27541 return resultobj;
27542fail:
27543 return NULL;
d55e5bfc
RD
27544}
27545
27546
1bd55598
RD
27547SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27548 PyObject *resultobj = 0;
27549 wxPrinterError result;
27550
27551 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27552 {
27553 PyThreadState* __tstate = wxPyBeginAllowThreads();
27554 result = (wxPrinterError)wxPrinter::GetLastError();
27555 wxPyEndAllowThreads(__tstate);
27556 if (PyErr_Occurred()) SWIG_fail;
27557 }
27558 resultobj = SWIG_From_int(static_cast< int >(result));
27559 return resultobj;
27560fail:
27561 return NULL;
d55e5bfc
RD
27562}
27563
27564
1bd55598
RD
27565SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27566 PyObject *obj;
27567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27568 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27569 return SWIG_Py_Void();
d55e5bfc
RD
27570}
27571
1bd55598
RD
27572SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27573 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27574}
27575
1bd55598
RD
27576SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27577 PyObject *resultobj = 0;
27578 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27579 wxString *arg1 = (wxString *) &arg1_defvalue ;
27580 wxPyPrintout *result = 0 ;
27581 bool temp1 = false ;
27582 PyObject * obj0 = 0 ;
27583 char * kwnames[] = {
27584 (char *) "title", NULL
27585 };
27586
27587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27588 if (obj0) {
d55e5bfc 27589 {
1bd55598
RD
27590 arg1 = wxString_in_helper(obj0);
27591 if (arg1 == NULL) SWIG_fail;
27592 temp1 = true;
d55e5bfc 27593 }
1bd55598
RD
27594 }
27595 {
27596 if (!wxPyCheckForApp()) SWIG_fail;
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27599 wxPyEndAllowThreads(__tstate);
27600 if (PyErr_Occurred()) SWIG_fail;
27601 }
27602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27603 {
27604 if (temp1)
27605 delete arg1;
27606 }
27607 return resultobj;
27608fail:
27609 {
27610 if (temp1)
27611 delete arg1;
27612 }
27613 return NULL;
d55e5bfc
RD
27614}
27615
27616
1bd55598
RD
27617SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27618 PyObject *resultobj = 0;
27619 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27620 void *argp1 = 0 ;
27621 int res1 = 0 ;
27622 PyObject *swig_obj[1] ;
27623
27624 if (!args) SWIG_fail;
27625 swig_obj[0] = args;
27626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27627 if (!SWIG_IsOK(res1)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27629 }
27630 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27631 {
27632 PyThreadState* __tstate = wxPyBeginAllowThreads();
27633 delete arg1;
d55e5bfc 27634
1bd55598
RD
27635 wxPyEndAllowThreads(__tstate);
27636 if (PyErr_Occurred()) SWIG_fail;
27637 }
27638 resultobj = SWIG_Py_Void();
27639 return resultobj;
27640fail:
27641 return NULL;
27642}
27643
27644
27645SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27646 PyObject *resultobj = 0;
27647 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27648 PyObject *arg2 = (PyObject *) 0 ;
27649 PyObject *arg3 = (PyObject *) 0 ;
27650 void *argp1 = 0 ;
27651 int res1 = 0 ;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 PyObject * obj2 = 0 ;
27655 char * kwnames[] = {
27656 (char *) "self",(char *) "self",(char *) "_class", NULL
27657 };
27658
27659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27661 if (!SWIG_IsOK(res1)) {
27662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27663 }
27664 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27665 arg2 = obj1;
27666 arg3 = obj2;
27667 {
27668 PyThreadState* __tstate = wxPyBeginAllowThreads();
27669 (arg1)->_setCallbackInfo(arg2,arg3);
27670 wxPyEndAllowThreads(__tstate);
27671 if (PyErr_Occurred()) SWIG_fail;
27672 }
27673 resultobj = SWIG_Py_Void();
27674 return resultobj;
27675fail:
27676 return NULL;
d55e5bfc
RD
27677}
27678
27679
1bd55598
RD
27680SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27681 PyObject *resultobj = 0;
27682 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27683 wxString result;
27684 void *argp1 = 0 ;
27685 int res1 = 0 ;
27686 PyObject *swig_obj[1] ;
27687
27688 if (!args) SWIG_fail;
27689 swig_obj[0] = args;
27690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27691 if (!SWIG_IsOK(res1)) {
27692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27693 }
27694 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27695 {
27696 PyThreadState* __tstate = wxPyBeginAllowThreads();
27697 result = ((wxPyPrintout const *)arg1)->GetTitle();
27698 wxPyEndAllowThreads(__tstate);
27699 if (PyErr_Occurred()) SWIG_fail;
27700 }
27701 {
27702#if wxUSE_UNICODE
27703 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27704#else
27705 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27706#endif
27707 }
27708 return resultobj;
27709fail:
27710 return NULL;
d55e5bfc
RD
27711}
27712
27713
1bd55598
RD
27714SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27715 PyObject *resultobj = 0;
27716 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27717 wxDC *result = 0 ;
27718 void *argp1 = 0 ;
27719 int res1 = 0 ;
27720 PyObject *swig_obj[1] ;
27721
27722 if (!args) SWIG_fail;
27723 swig_obj[0] = args;
27724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27725 if (!SWIG_IsOK(res1)) {
27726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27727 }
27728 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27729 {
27730 PyThreadState* __tstate = wxPyBeginAllowThreads();
27731 result = (wxDC *)(arg1)->GetDC();
27732 wxPyEndAllowThreads(__tstate);
27733 if (PyErr_Occurred()) SWIG_fail;
27734 }
27735 {
27736 resultobj = wxPyMake_wxObject(result, (bool)0);
27737 }
27738 return resultobj;
27739fail:
27740 return NULL;
27741}
27742
27743
27744SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27745 PyObject *resultobj = 0;
27746 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27747 wxDC *arg2 = (wxDC *) 0 ;
27748 void *argp1 = 0 ;
27749 int res1 = 0 ;
27750 void *argp2 = 0 ;
27751 int res2 = 0 ;
27752 PyObject * obj0 = 0 ;
27753 PyObject * obj1 = 0 ;
27754 char * kwnames[] = {
27755 (char *) "self",(char *) "dc", NULL
27756 };
27757
27758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27760 if (!SWIG_IsOK(res1)) {
27761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27762 }
27763 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27764 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27765 if (!SWIG_IsOK(res2)) {
27766 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27767 }
27768 arg2 = reinterpret_cast< wxDC * >(argp2);
27769 {
27770 PyThreadState* __tstate = wxPyBeginAllowThreads();
27771 (arg1)->SetDC(arg2);
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 resultobj = SWIG_Py_Void();
27776 return resultobj;
27777fail:
27778 return NULL;
27779}
27780
27781
70d7cb34
RD
27782SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27783 PyObject *resultobj = 0;
27784 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27785 wxSize *arg2 = 0 ;
27786 void *argp1 = 0 ;
27787 int res1 = 0 ;
27788 wxSize temp2 ;
27789 PyObject * obj0 = 0 ;
27790 PyObject * obj1 = 0 ;
27791 char * kwnames[] = {
27792 (char *) "self",(char *) "imageSize", NULL
27793 };
27794
27795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
27796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27797 if (!SWIG_IsOK(res1)) {
27798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27799 }
27800 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27801 {
27802 arg2 = &temp2;
27803 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27804 }
27805 {
27806 PyThreadState* __tstate = wxPyBeginAllowThreads();
27807 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
27808 wxPyEndAllowThreads(__tstate);
27809 if (PyErr_Occurred()) SWIG_fail;
27810 }
27811 resultobj = SWIG_Py_Void();
27812 return resultobj;
27813fail:
27814 return NULL;
27815}
27816
27817
27818SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27819 PyObject *resultobj = 0;
27820 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27821 wxSize *arg2 = 0 ;
27822 void *argp1 = 0 ;
27823 int res1 = 0 ;
27824 wxSize temp2 ;
27825 PyObject * obj0 = 0 ;
27826 PyObject * obj1 = 0 ;
27827 char * kwnames[] = {
27828 (char *) "self",(char *) "imageSize", NULL
27829 };
27830
27831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
27832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27833 if (!SWIG_IsOK(res1)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27835 }
27836 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27837 {
27838 arg2 = &temp2;
27839 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27840 }
27841 {
27842 PyThreadState* __tstate = wxPyBeginAllowThreads();
27843 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
27844 wxPyEndAllowThreads(__tstate);
27845 if (PyErr_Occurred()) SWIG_fail;
27846 }
27847 resultobj = SWIG_Py_Void();
27848 return resultobj;
27849fail:
27850 return NULL;
27851}
27852
27853
27854SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27855 PyObject *resultobj = 0;
27856 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27857 wxSize *arg2 = 0 ;
27858 wxPageSetupDialogData *arg3 = 0 ;
27859 void *argp1 = 0 ;
27860 int res1 = 0 ;
27861 wxSize temp2 ;
27862 void *argp3 = 0 ;
27863 int res3 = 0 ;
27864 PyObject * obj0 = 0 ;
27865 PyObject * obj1 = 0 ;
27866 PyObject * obj2 = 0 ;
27867 char * kwnames[] = {
27868 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27869 };
27870
27871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27873 if (!SWIG_IsOK(res1)) {
27874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27875 }
27876 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27877 {
27878 arg2 = &temp2;
27879 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27880 }
27881 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27882 if (!SWIG_IsOK(res3)) {
27883 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27884 }
27885 if (!argp3) {
27886 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27887 }
27888 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
27889 {
27890 PyThreadState* __tstate = wxPyBeginAllowThreads();
27891 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
27892 wxPyEndAllowThreads(__tstate);
27893 if (PyErr_Occurred()) SWIG_fail;
27894 }
27895 resultobj = SWIG_Py_Void();
27896 return resultobj;
27897fail:
27898 return NULL;
27899}
27900
27901
27902SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27903 PyObject *resultobj = 0;
27904 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27905 void *argp1 = 0 ;
27906 int res1 = 0 ;
27907 PyObject *swig_obj[1] ;
27908
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_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27914 }
27915 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27916 {
27917 PyThreadState* __tstate = wxPyBeginAllowThreads();
27918 (arg1)->MapScreenSizeToPaper();
27919 wxPyEndAllowThreads(__tstate);
27920 if (PyErr_Occurred()) SWIG_fail;
27921 }
27922 resultobj = SWIG_Py_Void();
27923 return resultobj;
27924fail:
27925 return NULL;
27926}
27927
27928
27929SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27930 PyObject *resultobj = 0;
27931 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27932 void *argp1 = 0 ;
27933 int res1 = 0 ;
27934 PyObject *swig_obj[1] ;
27935
27936 if (!args) SWIG_fail;
27937 swig_obj[0] = args;
27938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27939 if (!SWIG_IsOK(res1)) {
27940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27941 }
27942 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27943 {
27944 PyThreadState* __tstate = wxPyBeginAllowThreads();
27945 (arg1)->MapScreenSizeToPage();
27946 wxPyEndAllowThreads(__tstate);
27947 if (PyErr_Occurred()) SWIG_fail;
27948 }
27949 resultobj = SWIG_Py_Void();
27950 return resultobj;
27951fail:
27952 return NULL;
27953}
27954
27955
27956SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27957 PyObject *resultobj = 0;
27958 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27959 wxPageSetupDialogData *arg2 = 0 ;
27960 void *argp1 = 0 ;
27961 int res1 = 0 ;
27962 void *argp2 = 0 ;
27963 int res2 = 0 ;
27964 PyObject * obj0 = 0 ;
27965 PyObject * obj1 = 0 ;
27966 char * kwnames[] = {
27967 (char *) "self",(char *) "pageSetupData", NULL
27968 };
27969
27970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27972 if (!SWIG_IsOK(res1)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27974 }
27975 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27976 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27977 if (!SWIG_IsOK(res2)) {
27978 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
27979 }
27980 if (!argp2) {
27981 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
27982 }
27983 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
27984 {
27985 PyThreadState* __tstate = wxPyBeginAllowThreads();
27986 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
27987 wxPyEndAllowThreads(__tstate);
27988 if (PyErr_Occurred()) SWIG_fail;
27989 }
27990 resultobj = SWIG_Py_Void();
27991 return resultobj;
27992fail:
27993 return NULL;
27994}
27995
27996
27997SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27998 PyObject *resultobj = 0;
27999 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28000 void *argp1 = 0 ;
28001 int res1 = 0 ;
28002 PyObject *swig_obj[1] ;
28003
28004 if (!args) SWIG_fail;
28005 swig_obj[0] = args;
28006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28007 if (!SWIG_IsOK(res1)) {
28008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28009 }
28010 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28011 {
28012 PyThreadState* __tstate = wxPyBeginAllowThreads();
28013 (arg1)->MapScreenSizeToDevice();
28014 wxPyEndAllowThreads(__tstate);
28015 if (PyErr_Occurred()) SWIG_fail;
28016 }
28017 resultobj = SWIG_Py_Void();
28018 return resultobj;
28019fail:
28020 return NULL;
28021}
28022
28023
28024SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28025 PyObject *resultobj = 0;
28026 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28027 wxRect result;
28028 void *argp1 = 0 ;
28029 int res1 = 0 ;
28030 PyObject *swig_obj[1] ;
28031
28032 if (!args) SWIG_fail;
28033 swig_obj[0] = args;
28034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28035 if (!SWIG_IsOK(res1)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28037 }
28038 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28039 {
28040 PyThreadState* __tstate = wxPyBeginAllowThreads();
28041 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28042 wxPyEndAllowThreads(__tstate);
28043 if (PyErr_Occurred()) SWIG_fail;
28044 }
28045 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28046 return resultobj;
28047fail:
28048 return NULL;
28049}
28050
28051
28052SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28053 PyObject *resultobj = 0;
28054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28055 wxRect result;
28056 void *argp1 = 0 ;
28057 int res1 = 0 ;
28058 PyObject *swig_obj[1] ;
28059
28060 if (!args) SWIG_fail;
28061 swig_obj[0] = args;
28062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28063 if (!SWIG_IsOK(res1)) {
28064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28065 }
28066 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28067 {
28068 PyThreadState* __tstate = wxPyBeginAllowThreads();
28069 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28070 wxPyEndAllowThreads(__tstate);
28071 if (PyErr_Occurred()) SWIG_fail;
28072 }
28073 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28074 return resultobj;
28075fail:
28076 return NULL;
28077}
28078
28079
28080SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28081 PyObject *resultobj = 0;
28082 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28083 wxPageSetupDialogData *arg2 = 0 ;
28084 wxRect result;
28085 void *argp1 = 0 ;
28086 int res1 = 0 ;
28087 void *argp2 = 0 ;
28088 int res2 = 0 ;
28089 PyObject * obj0 = 0 ;
28090 PyObject * obj1 = 0 ;
28091 char * kwnames[] = {
28092 (char *) "self",(char *) "pageSetupData", NULL
28093 };
28094
28095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28097 if (!SWIG_IsOK(res1)) {
28098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28099 }
28100 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28101 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28102 if (!SWIG_IsOK(res2)) {
28103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28104 }
28105 if (!argp2) {
28106 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28107 }
28108 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28112 wxPyEndAllowThreads(__tstate);
28113 if (PyErr_Occurred()) SWIG_fail;
28114 }
28115 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28116 return resultobj;
28117fail:
28118 return NULL;
28119}
28120
28121
28122SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28123 PyObject *resultobj = 0;
28124 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28125 int arg2 ;
28126 int arg3 ;
28127 void *argp1 = 0 ;
28128 int res1 = 0 ;
28129 int val2 ;
28130 int ecode2 = 0 ;
28131 int val3 ;
28132 int ecode3 = 0 ;
28133 PyObject * obj0 = 0 ;
28134 PyObject * obj1 = 0 ;
28135 PyObject * obj2 = 0 ;
28136 char * kwnames[] = {
28137 (char *) "self",(char *) "x",(char *) "y", NULL
28138 };
28139
28140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28142 if (!SWIG_IsOK(res1)) {
28143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28144 }
28145 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28146 ecode2 = SWIG_AsVal_int(obj1, &val2);
28147 if (!SWIG_IsOK(ecode2)) {
28148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28149 }
28150 arg2 = static_cast< int >(val2);
28151 ecode3 = SWIG_AsVal_int(obj2, &val3);
28152 if (!SWIG_IsOK(ecode3)) {
28153 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28154 }
28155 arg3 = static_cast< int >(val3);
28156 {
28157 PyThreadState* __tstate = wxPyBeginAllowThreads();
28158 (arg1)->SetLogicalOrigin(arg2,arg3);
28159 wxPyEndAllowThreads(__tstate);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 }
28162 resultobj = SWIG_Py_Void();
28163 return resultobj;
28164fail:
28165 return NULL;
28166}
28167
28168
28169SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28170 PyObject *resultobj = 0;
28171 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28172 int arg2 ;
28173 int arg3 ;
28174 void *argp1 = 0 ;
28175 int res1 = 0 ;
28176 int val2 ;
28177 int ecode2 = 0 ;
28178 int val3 ;
28179 int ecode3 = 0 ;
28180 PyObject * obj0 = 0 ;
28181 PyObject * obj1 = 0 ;
28182 PyObject * obj2 = 0 ;
28183 char * kwnames[] = {
28184 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28185 };
28186
28187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28189 if (!SWIG_IsOK(res1)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28191 }
28192 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28193 ecode2 = SWIG_AsVal_int(obj1, &val2);
28194 if (!SWIG_IsOK(ecode2)) {
28195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28196 }
28197 arg2 = static_cast< int >(val2);
28198 ecode3 = SWIG_AsVal_int(obj2, &val3);
28199 if (!SWIG_IsOK(ecode3)) {
28200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28201 }
28202 arg3 = static_cast< int >(val3);
28203 {
28204 PyThreadState* __tstate = wxPyBeginAllowThreads();
28205 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28206 wxPyEndAllowThreads(__tstate);
28207 if (PyErr_Occurred()) SWIG_fail;
28208 }
28209 resultobj = SWIG_Py_Void();
28210 return resultobj;
28211fail:
28212 return NULL;
28213}
28214
28215
1bd55598
RD
28216SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28217 PyObject *resultobj = 0;
28218 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28219 int arg2 ;
28220 int arg3 ;
28221 void *argp1 = 0 ;
28222 int res1 = 0 ;
28223 int val2 ;
28224 int ecode2 = 0 ;
28225 int val3 ;
28226 int ecode3 = 0 ;
28227 PyObject * obj0 = 0 ;
28228 PyObject * obj1 = 0 ;
28229 PyObject * obj2 = 0 ;
28230 char * kwnames[] = {
28231 (char *) "self",(char *) "w",(char *) "h", NULL
28232 };
28233
28234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28236 if (!SWIG_IsOK(res1)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28238 }
28239 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28240 ecode2 = SWIG_AsVal_int(obj1, &val2);
28241 if (!SWIG_IsOK(ecode2)) {
28242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28243 }
28244 arg2 = static_cast< int >(val2);
28245 ecode3 = SWIG_AsVal_int(obj2, &val3);
28246 if (!SWIG_IsOK(ecode3)) {
28247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28248 }
28249 arg3 = static_cast< int >(val3);
28250 {
28251 PyThreadState* __tstate = wxPyBeginAllowThreads();
28252 (arg1)->SetPageSizePixels(arg2,arg3);
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
28256 resultobj = SWIG_Py_Void();
28257 return resultobj;
28258fail:
28259 return NULL;
28260}
28261
28262
28263SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28264 PyObject *resultobj = 0;
28265 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28266 int *arg2 = (int *) 0 ;
28267 int *arg3 = (int *) 0 ;
28268 void *argp1 = 0 ;
28269 int res1 = 0 ;
28270 int temp2 ;
28271 int res2 = SWIG_TMPOBJ ;
28272 int temp3 ;
28273 int res3 = SWIG_TMPOBJ ;
28274 PyObject *swig_obj[1] ;
28275
28276 arg2 = &temp2;
28277 arg3 = &temp3;
28278 if (!args) SWIG_fail;
28279 swig_obj[0] = args;
28280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28281 if (!SWIG_IsOK(res1)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28283 }
28284 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28285 {
28286 PyThreadState* __tstate = wxPyBeginAllowThreads();
28287 (arg1)->GetPageSizePixels(arg2,arg3);
28288 wxPyEndAllowThreads(__tstate);
28289 if (PyErr_Occurred()) SWIG_fail;
28290 }
28291 resultobj = SWIG_Py_Void();
28292 if (SWIG_IsTmpObj(res2)) {
28293 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28294 } else {
28295 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28296 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28297 }
28298 if (SWIG_IsTmpObj(res3)) {
28299 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28300 } else {
28301 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28302 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28303 }
28304 return resultobj;
28305fail:
28306 return NULL;
28307}
28308
28309
28310SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28311 PyObject *resultobj = 0;
28312 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28313 int arg2 ;
28314 int arg3 ;
28315 void *argp1 = 0 ;
28316 int res1 = 0 ;
28317 int val2 ;
28318 int ecode2 = 0 ;
28319 int val3 ;
28320 int ecode3 = 0 ;
28321 PyObject * obj0 = 0 ;
28322 PyObject * obj1 = 0 ;
28323 PyObject * obj2 = 0 ;
28324 char * kwnames[] = {
28325 (char *) "self",(char *) "w",(char *) "h", NULL
28326 };
28327
28328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28330 if (!SWIG_IsOK(res1)) {
28331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28332 }
28333 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28334 ecode2 = SWIG_AsVal_int(obj1, &val2);
28335 if (!SWIG_IsOK(ecode2)) {
28336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28337 }
28338 arg2 = static_cast< int >(val2);
28339 ecode3 = SWIG_AsVal_int(obj2, &val3);
28340 if (!SWIG_IsOK(ecode3)) {
28341 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28342 }
28343 arg3 = static_cast< int >(val3);
28344 {
28345 PyThreadState* __tstate = wxPyBeginAllowThreads();
28346 (arg1)->SetPageSizeMM(arg2,arg3);
28347 wxPyEndAllowThreads(__tstate);
28348 if (PyErr_Occurred()) SWIG_fail;
28349 }
28350 resultobj = SWIG_Py_Void();
28351 return resultobj;
28352fail:
28353 return NULL;
28354}
28355
28356
28357SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28358 PyObject *resultobj = 0;
28359 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28360 int *arg2 = (int *) 0 ;
28361 int *arg3 = (int *) 0 ;
28362 void *argp1 = 0 ;
28363 int res1 = 0 ;
28364 int temp2 ;
28365 int res2 = SWIG_TMPOBJ ;
28366 int temp3 ;
28367 int res3 = SWIG_TMPOBJ ;
28368 PyObject *swig_obj[1] ;
28369
28370 arg2 = &temp2;
28371 arg3 = &temp3;
28372 if (!args) SWIG_fail;
28373 swig_obj[0] = args;
28374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28375 if (!SWIG_IsOK(res1)) {
28376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28377 }
28378 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28379 {
28380 PyThreadState* __tstate = wxPyBeginAllowThreads();
28381 (arg1)->GetPageSizeMM(arg2,arg3);
28382 wxPyEndAllowThreads(__tstate);
28383 if (PyErr_Occurred()) SWIG_fail;
28384 }
28385 resultobj = SWIG_Py_Void();
28386 if (SWIG_IsTmpObj(res2)) {
28387 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28388 } else {
28389 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28390 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28391 }
28392 if (SWIG_IsTmpObj(res3)) {
28393 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28394 } else {
28395 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28396 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28397 }
28398 return resultobj;
28399fail:
28400 return NULL;
28401}
28402
28403
28404SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28405 PyObject *resultobj = 0;
28406 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28407 int arg2 ;
28408 int arg3 ;
28409 void *argp1 = 0 ;
28410 int res1 = 0 ;
28411 int val2 ;
28412 int ecode2 = 0 ;
28413 int val3 ;
28414 int ecode3 = 0 ;
28415 PyObject * obj0 = 0 ;
28416 PyObject * obj1 = 0 ;
28417 PyObject * obj2 = 0 ;
28418 char * kwnames[] = {
28419 (char *) "self",(char *) "x",(char *) "y", NULL
28420 };
28421
28422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28424 if (!SWIG_IsOK(res1)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28426 }
28427 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28428 ecode2 = SWIG_AsVal_int(obj1, &val2);
28429 if (!SWIG_IsOK(ecode2)) {
28430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28431 }
28432 arg2 = static_cast< int >(val2);
28433 ecode3 = SWIG_AsVal_int(obj2, &val3);
28434 if (!SWIG_IsOK(ecode3)) {
28435 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28436 }
28437 arg3 = static_cast< int >(val3);
28438 {
28439 PyThreadState* __tstate = wxPyBeginAllowThreads();
28440 (arg1)->SetPPIScreen(arg2,arg3);
28441 wxPyEndAllowThreads(__tstate);
28442 if (PyErr_Occurred()) SWIG_fail;
28443 }
28444 resultobj = SWIG_Py_Void();
28445 return resultobj;
28446fail:
28447 return NULL;
28448}
28449
28450
28451SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28452 PyObject *resultobj = 0;
28453 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28454 int *arg2 = (int *) 0 ;
28455 int *arg3 = (int *) 0 ;
28456 void *argp1 = 0 ;
28457 int res1 = 0 ;
28458 int temp2 ;
28459 int res2 = SWIG_TMPOBJ ;
28460 int temp3 ;
28461 int res3 = SWIG_TMPOBJ ;
28462 PyObject *swig_obj[1] ;
28463
28464 arg2 = &temp2;
28465 arg3 = &temp3;
28466 if (!args) SWIG_fail;
28467 swig_obj[0] = args;
28468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28469 if (!SWIG_IsOK(res1)) {
28470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28471 }
28472 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28473 {
28474 PyThreadState* __tstate = wxPyBeginAllowThreads();
28475 (arg1)->GetPPIScreen(arg2,arg3);
28476 wxPyEndAllowThreads(__tstate);
28477 if (PyErr_Occurred()) SWIG_fail;
28478 }
28479 resultobj = SWIG_Py_Void();
28480 if (SWIG_IsTmpObj(res2)) {
28481 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28482 } else {
28483 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28484 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28485 }
28486 if (SWIG_IsTmpObj(res3)) {
28487 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28488 } else {
28489 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28490 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28491 }
28492 return resultobj;
28493fail:
28494 return NULL;
28495}
28496
28497
28498SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28499 PyObject *resultobj = 0;
28500 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28501 int arg2 ;
28502 int arg3 ;
28503 void *argp1 = 0 ;
28504 int res1 = 0 ;
28505 int val2 ;
28506 int ecode2 = 0 ;
28507 int val3 ;
28508 int ecode3 = 0 ;
28509 PyObject * obj0 = 0 ;
28510 PyObject * obj1 = 0 ;
28511 PyObject * obj2 = 0 ;
28512 char * kwnames[] = {
28513 (char *) "self",(char *) "x",(char *) "y", NULL
28514 };
28515
28516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28518 if (!SWIG_IsOK(res1)) {
28519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28520 }
28521 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28522 ecode2 = SWIG_AsVal_int(obj1, &val2);
28523 if (!SWIG_IsOK(ecode2)) {
28524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28525 }
28526 arg2 = static_cast< int >(val2);
28527 ecode3 = SWIG_AsVal_int(obj2, &val3);
28528 if (!SWIG_IsOK(ecode3)) {
28529 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28530 }
28531 arg3 = static_cast< int >(val3);
28532 {
28533 PyThreadState* __tstate = wxPyBeginAllowThreads();
28534 (arg1)->SetPPIPrinter(arg2,arg3);
28535 wxPyEndAllowThreads(__tstate);
28536 if (PyErr_Occurred()) SWIG_fail;
28537 }
28538 resultobj = SWIG_Py_Void();
28539 return resultobj;
28540fail:
28541 return NULL;
28542}
28543
28544
28545SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28546 PyObject *resultobj = 0;
28547 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28548 int *arg2 = (int *) 0 ;
28549 int *arg3 = (int *) 0 ;
28550 void *argp1 = 0 ;
28551 int res1 = 0 ;
28552 int temp2 ;
28553 int res2 = SWIG_TMPOBJ ;
28554 int temp3 ;
28555 int res3 = SWIG_TMPOBJ ;
28556 PyObject *swig_obj[1] ;
28557
28558 arg2 = &temp2;
28559 arg3 = &temp3;
28560 if (!args) SWIG_fail;
28561 swig_obj[0] = args;
28562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28563 if (!SWIG_IsOK(res1)) {
28564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28565 }
28566 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28567 {
28568 PyThreadState* __tstate = wxPyBeginAllowThreads();
28569 (arg1)->GetPPIPrinter(arg2,arg3);
28570 wxPyEndAllowThreads(__tstate);
28571 if (PyErr_Occurred()) SWIG_fail;
28572 }
28573 resultobj = SWIG_Py_Void();
28574 if (SWIG_IsTmpObj(res2)) {
28575 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28576 } else {
28577 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28578 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28579 }
28580 if (SWIG_IsTmpObj(res3)) {
28581 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28582 } else {
28583 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28584 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28585 }
28586 return resultobj;
28587fail:
28588 return NULL;
d55e5bfc
RD
28589}
28590
28591
70d7cb34
RD
28592SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28593 PyObject *resultobj = 0;
28594 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28595 wxRect *arg2 = 0 ;
28596 void *argp1 = 0 ;
28597 int res1 = 0 ;
28598 wxRect temp2 ;
28599 PyObject * obj0 = 0 ;
28600 PyObject * obj1 = 0 ;
28601 char * kwnames[] = {
28602 (char *) "self",(char *) "paperRectPixels", NULL
28603 };
28604
28605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28607 if (!SWIG_IsOK(res1)) {
28608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28609 }
28610 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28611 {
28612 arg2 = &temp2;
28613 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28614 }
28615 {
28616 PyThreadState* __tstate = wxPyBeginAllowThreads();
28617 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28618 wxPyEndAllowThreads(__tstate);
28619 if (PyErr_Occurred()) SWIG_fail;
28620 }
28621 resultobj = SWIG_Py_Void();
28622 return resultobj;
28623fail:
28624 return NULL;
28625}
28626
28627
28628SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28629 PyObject *resultobj = 0;
28630 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28631 wxRect result;
28632 void *argp1 = 0 ;
28633 int res1 = 0 ;
28634 PyObject *swig_obj[1] ;
28635
28636 if (!args) SWIG_fail;
28637 swig_obj[0] = args;
28638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28639 if (!SWIG_IsOK(res1)) {
28640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28641 }
28642 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28643 {
28644 PyThreadState* __tstate = wxPyBeginAllowThreads();
28645 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28646 wxPyEndAllowThreads(__tstate);
28647 if (PyErr_Occurred()) SWIG_fail;
28648 }
28649 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28650 return resultobj;
28651fail:
28652 return NULL;
28653}
28654
28655
1bd55598
RD
28656SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28657 PyObject *resultobj = 0;
28658 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28659 bool result;
28660 void *argp1 = 0 ;
28661 int res1 = 0 ;
28662 PyObject *swig_obj[1] ;
28663
28664 if (!args) SWIG_fail;
28665 swig_obj[0] = args;
28666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28667 if (!SWIG_IsOK(res1)) {
28668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28669 }
28670 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28671 {
28672 PyThreadState* __tstate = wxPyBeginAllowThreads();
28673 result = (bool)(arg1)->IsPreview();
28674 wxPyEndAllowThreads(__tstate);
28675 if (PyErr_Occurred()) SWIG_fail;
28676 }
28677 {
28678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28679 }
28680 return resultobj;
28681fail:
28682 return NULL;
28683}
28684
28685
28686SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28687 PyObject *resultobj = 0;
28688 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28689 bool arg2 ;
28690 void *argp1 = 0 ;
28691 int res1 = 0 ;
28692 bool val2 ;
28693 int ecode2 = 0 ;
28694 PyObject * obj0 = 0 ;
28695 PyObject * obj1 = 0 ;
28696 char * kwnames[] = {
28697 (char *) "self",(char *) "p", NULL
28698 };
28699
28700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28702 if (!SWIG_IsOK(res1)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28704 }
28705 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28706 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28707 if (!SWIG_IsOK(ecode2)) {
28708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28709 }
28710 arg2 = static_cast< bool >(val2);
28711 {
28712 PyThreadState* __tstate = wxPyBeginAllowThreads();
28713 (arg1)->SetIsPreview(arg2);
28714 wxPyEndAllowThreads(__tstate);
28715 if (PyErr_Occurred()) SWIG_fail;
28716 }
28717 resultobj = SWIG_Py_Void();
28718 return resultobj;
28719fail:
28720 return NULL;
28721}
28722
28723
28724SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28725 PyObject *resultobj = 0;
28726 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28727 int arg2 ;
28728 int arg3 ;
28729 bool result;
28730 void *argp1 = 0 ;
28731 int res1 = 0 ;
28732 int val2 ;
28733 int ecode2 = 0 ;
28734 int val3 ;
28735 int ecode3 = 0 ;
28736 PyObject * obj0 = 0 ;
28737 PyObject * obj1 = 0 ;
28738 PyObject * obj2 = 0 ;
28739 char * kwnames[] = {
28740 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28741 };
28742
28743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28745 if (!SWIG_IsOK(res1)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28747 }
28748 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28749 ecode2 = SWIG_AsVal_int(obj1, &val2);
28750 if (!SWIG_IsOK(ecode2)) {
28751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28752 }
28753 arg2 = static_cast< int >(val2);
28754 ecode3 = SWIG_AsVal_int(obj2, &val3);
28755 if (!SWIG_IsOK(ecode3)) {
28756 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28757 }
28758 arg3 = static_cast< int >(val3);
28759 {
28760 PyThreadState* __tstate = wxPyBeginAllowThreads();
28761 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28762 wxPyEndAllowThreads(__tstate);
28763 if (PyErr_Occurred()) SWIG_fail;
28764 }
28765 {
28766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28767 }
28768 return resultobj;
28769fail:
28770 return NULL;
d55e5bfc
RD
28771}
28772
28773
1bd55598
RD
28774SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28775 PyObject *resultobj = 0;
28776 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28777 void *argp1 = 0 ;
28778 int res1 = 0 ;
28779 PyObject *swig_obj[1] ;
28780
28781 if (!args) SWIG_fail;
28782 swig_obj[0] = args;
28783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28784 if (!SWIG_IsOK(res1)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28786 }
28787 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28788 {
28789 PyThreadState* __tstate = wxPyBeginAllowThreads();
28790 (arg1)->OnEndDocument();
28791 wxPyEndAllowThreads(__tstate);
28792 if (PyErr_Occurred()) SWIG_fail;
28793 }
28794 resultobj = SWIG_Py_Void();
28795 return resultobj;
28796fail:
28797 return NULL;
28798}
28799
28800
28801SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28802 PyObject *resultobj = 0;
28803 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28804 void *argp1 = 0 ;
28805 int res1 = 0 ;
28806 PyObject *swig_obj[1] ;
28807
28808 if (!args) SWIG_fail;
28809 swig_obj[0] = args;
28810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28811 if (!SWIG_IsOK(res1)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28813 }
28814 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28815 {
28816 PyThreadState* __tstate = wxPyBeginAllowThreads();
28817 (arg1)->OnBeginPrinting();
28818 wxPyEndAllowThreads(__tstate);
28819 if (PyErr_Occurred()) SWIG_fail;
28820 }
28821 resultobj = SWIG_Py_Void();
28822 return resultobj;
28823fail:
28824 return NULL;
28825}
28826
28827
28828SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28829 PyObject *resultobj = 0;
28830 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28831 void *argp1 = 0 ;
28832 int res1 = 0 ;
28833 PyObject *swig_obj[1] ;
28834
28835 if (!args) SWIG_fail;
28836 swig_obj[0] = args;
28837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28838 if (!SWIG_IsOK(res1)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28840 }
28841 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28842 {
28843 PyThreadState* __tstate = wxPyBeginAllowThreads();
28844 (arg1)->OnEndPrinting();
28845 wxPyEndAllowThreads(__tstate);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 }
28848 resultobj = SWIG_Py_Void();
28849 return resultobj;
28850fail:
28851 return NULL;
28852}
28853
28854
28855SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28856 PyObject *resultobj = 0;
28857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28858 void *argp1 = 0 ;
28859 int res1 = 0 ;
28860 PyObject *swig_obj[1] ;
28861
28862 if (!args) SWIG_fail;
28863 swig_obj[0] = args;
28864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28865 if (!SWIG_IsOK(res1)) {
28866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28867 }
28868 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28869 {
28870 PyThreadState* __tstate = wxPyBeginAllowThreads();
28871 (arg1)->OnPreparePrinting();
28872 wxPyEndAllowThreads(__tstate);
28873 if (PyErr_Occurred()) SWIG_fail;
28874 }
28875 resultobj = SWIG_Py_Void();
28876 return resultobj;
28877fail:
28878 return NULL;
28879}
28880
28881
28882SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28883 PyObject *resultobj = 0;
28884 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28885 int arg2 ;
28886 bool result;
28887 void *argp1 = 0 ;
28888 int res1 = 0 ;
28889 int val2 ;
28890 int ecode2 = 0 ;
28891 PyObject * obj0 = 0 ;
28892 PyObject * obj1 = 0 ;
28893 char * kwnames[] = {
28894 (char *) "self",(char *) "page", NULL
28895 };
28896
28897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28899 if (!SWIG_IsOK(res1)) {
28900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28901 }
28902 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28903 ecode2 = SWIG_AsVal_int(obj1, &val2);
28904 if (!SWIG_IsOK(ecode2)) {
28905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28906 }
28907 arg2 = static_cast< int >(val2);
28908 {
28909 PyThreadState* __tstate = wxPyBeginAllowThreads();
28910 result = (bool)(arg1)->HasPage(arg2);
28911 wxPyEndAllowThreads(__tstate);
28912 if (PyErr_Occurred()) SWIG_fail;
28913 }
28914 {
28915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28916 }
28917 return resultobj;
28918fail:
28919 return NULL;
28920}
28921
28922
28923SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28924 PyObject *resultobj = 0;
28925 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28926 int *arg2 = (int *) 0 ;
28927 int *arg3 = (int *) 0 ;
28928 int *arg4 = (int *) 0 ;
28929 int *arg5 = (int *) 0 ;
28930 void *argp1 = 0 ;
28931 int res1 = 0 ;
28932 int temp2 ;
28933 int res2 = SWIG_TMPOBJ ;
28934 int temp3 ;
28935 int res3 = SWIG_TMPOBJ ;
28936 int temp4 ;
28937 int res4 = SWIG_TMPOBJ ;
28938 int temp5 ;
28939 int res5 = SWIG_TMPOBJ ;
28940 PyObject *swig_obj[1] ;
28941
28942 arg2 = &temp2;
28943 arg3 = &temp3;
28944 arg4 = &temp4;
28945 arg5 = &temp5;
28946 if (!args) SWIG_fail;
28947 swig_obj[0] = args;
28948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28949 if (!SWIG_IsOK(res1)) {
28950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28951 }
28952 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28953 {
28954 PyThreadState* __tstate = wxPyBeginAllowThreads();
28955 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28956 wxPyEndAllowThreads(__tstate);
28957 if (PyErr_Occurred()) SWIG_fail;
28958 }
28959 resultobj = SWIG_Py_Void();
28960 if (SWIG_IsTmpObj(res2)) {
28961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28962 } else {
28963 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28965 }
28966 if (SWIG_IsTmpObj(res3)) {
28967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28968 } else {
28969 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28970 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28971 }
28972 if (SWIG_IsTmpObj(res4)) {
28973 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28974 } else {
28975 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28977 }
28978 if (SWIG_IsTmpObj(res5)) {
28979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28980 } else {
28981 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28983 }
28984 return resultobj;
28985fail:
28986 return NULL;
28987}
28988
28989
28990SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28991 PyObject *obj;
28992 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28993 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28994 return SWIG_Py_Void();
28995}
28996
28997SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28998 return SWIG_Python_InitShadowInstance(args);
28999}
29000
29001SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29002 PyObject *resultobj = 0;
29003 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29004 wxWindow *arg2 = (wxWindow *) 0 ;
29005 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29006 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29007 wxSize const &arg4_defvalue = wxDefaultSize ;
29008 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29009 long arg5 = (long) 0 ;
29010 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29011 wxString *arg6 = (wxString *) &arg6_defvalue ;
29012 wxPreviewCanvas *result = 0 ;
29013 void *argp1 = 0 ;
29014 int res1 = 0 ;
29015 void *argp2 = 0 ;
29016 int res2 = 0 ;
29017 wxPoint temp3 ;
29018 wxSize temp4 ;
29019 long val5 ;
29020 int ecode5 = 0 ;
29021 bool temp6 = false ;
29022 PyObject * obj0 = 0 ;
29023 PyObject * obj1 = 0 ;
29024 PyObject * obj2 = 0 ;
29025 PyObject * obj3 = 0 ;
29026 PyObject * obj4 = 0 ;
29027 PyObject * obj5 = 0 ;
29028 char * kwnames[] = {
29029 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29030 };
29031
29032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29034 if (!SWIG_IsOK(res1)) {
29035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29036 }
29037 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29038 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29039 if (!SWIG_IsOK(res2)) {
29040 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29041 }
29042 arg2 = reinterpret_cast< wxWindow * >(argp2);
29043 if (obj2) {
d55e5bfc 29044 {
1bd55598
RD
29045 arg3 = &temp3;
29046 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 29047 }
1bd55598
RD
29048 }
29049 if (obj3) {
d55e5bfc 29050 {
1bd55598
RD
29051 arg4 = &temp4;
29052 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29053 }
1bd55598
RD
29054 }
29055 if (obj4) {
29056 ecode5 = SWIG_AsVal_long(obj4, &val5);
29057 if (!SWIG_IsOK(ecode5)) {
29058 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29059 }
29060 arg5 = static_cast< long >(val5);
29061 }
29062 if (obj5) {
d55e5bfc 29063 {
1bd55598
RD
29064 arg6 = wxString_in_helper(obj5);
29065 if (arg6 == NULL) SWIG_fail;
29066 temp6 = true;
d55e5bfc 29067 }
1bd55598
RD
29068 }
29069 {
29070 if (!wxPyCheckForApp()) SWIG_fail;
29071 PyThreadState* __tstate = wxPyBeginAllowThreads();
29072 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29073 wxPyEndAllowThreads(__tstate);
29074 if (PyErr_Occurred()) SWIG_fail;
29075 }
29076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29077 {
29078 if (temp6)
29079 delete arg6;
29080 }
29081 return resultobj;
29082fail:
29083 {
29084 if (temp6)
29085 delete arg6;
29086 }
29087 return NULL;
29088}
29089
29090
29091SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29092 PyObject *obj;
29093 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29094 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29095 return SWIG_Py_Void();
29096}
29097
29098SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29099 return SWIG_Python_InitShadowInstance(args);
29100}
29101
29102SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29103 PyObject *resultobj = 0;
29104 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29105 wxFrame *arg2 = (wxFrame *) 0 ;
29106 wxString *arg3 = 0 ;
29107 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29108 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29109 wxSize const &arg5_defvalue = wxDefaultSize ;
29110 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29111 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29112 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29113 wxString *arg7 = (wxString *) &arg7_defvalue ;
29114 wxPreviewFrame *result = 0 ;
29115 int res1 = 0 ;
29116 void *argp2 = 0 ;
29117 int res2 = 0 ;
29118 bool temp3 = false ;
29119 wxPoint temp4 ;
29120 wxSize temp5 ;
29121 long val6 ;
29122 int ecode6 = 0 ;
29123 bool temp7 = false ;
29124 PyObject * obj0 = 0 ;
29125 PyObject * obj1 = 0 ;
29126 PyObject * obj2 = 0 ;
29127 PyObject * obj3 = 0 ;
29128 PyObject * obj4 = 0 ;
29129 PyObject * obj5 = 0 ;
29130 PyObject * obj6 = 0 ;
29131 char * kwnames[] = {
29132 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29133 };
29134
29135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29136 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29137 if (!SWIG_IsOK(res1)) {
29138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29139 }
29140 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29141 if (!SWIG_IsOK(res2)) {
29142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29143 }
29144 arg2 = reinterpret_cast< wxFrame * >(argp2);
29145 {
29146 arg3 = wxString_in_helper(obj2);
29147 if (arg3 == NULL) SWIG_fail;
29148 temp3 = true;
29149 }
29150 if (obj3) {
d55e5bfc 29151 {
1bd55598
RD
29152 arg4 = &temp4;
29153 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29154 }
1bd55598
RD
29155 }
29156 if (obj4) {
d55e5bfc 29157 {
1bd55598
RD
29158 arg5 = &temp5;
29159 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 29160 }
1bd55598
RD
29161 }
29162 if (obj5) {
29163 ecode6 = SWIG_AsVal_long(obj5, &val6);
29164 if (!SWIG_IsOK(ecode6)) {
29165 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29166 }
29167 arg6 = static_cast< long >(val6);
29168 }
29169 if (obj6) {
d55e5bfc 29170 {
1bd55598
RD
29171 arg7 = wxString_in_helper(obj6);
29172 if (arg7 == NULL) SWIG_fail;
29173 temp7 = true;
d55e5bfc 29174 }
1bd55598
RD
29175 }
29176 {
29177 if (!wxPyCheckForApp()) SWIG_fail;
29178 PyThreadState* __tstate = wxPyBeginAllowThreads();
29179 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29180 wxPyEndAllowThreads(__tstate);
29181 if (PyErr_Occurred()) SWIG_fail;
29182 }
29183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29184 {
29185 if (temp3)
29186 delete arg3;
29187 }
29188 {
29189 if (temp7)
29190 delete arg7;
29191 }
29192 return resultobj;
29193fail:
29194 {
29195 if (temp3)
29196 delete arg3;
29197 }
29198 {
29199 if (temp7)
29200 delete arg7;
29201 }
29202 return NULL;
d55e5bfc
RD
29203}
29204
29205
1bd55598
RD
29206SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29207 PyObject *resultobj = 0;
29208 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29209 void *argp1 = 0 ;
29210 int res1 = 0 ;
29211 PyObject *swig_obj[1] ;
29212
29213 if (!args) SWIG_fail;
29214 swig_obj[0] = args;
29215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29216 if (!SWIG_IsOK(res1)) {
29217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29218 }
29219 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29220 {
29221 PyThreadState* __tstate = wxPyBeginAllowThreads();
29222 (arg1)->Initialize();
29223 wxPyEndAllowThreads(__tstate);
29224 if (PyErr_Occurred()) SWIG_fail;
29225 }
29226 resultobj = SWIG_Py_Void();
29227 return resultobj;
29228fail:
29229 return NULL;
d55e5bfc
RD
29230}
29231
29232
1bd55598
RD
29233SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29234 PyObject *resultobj = 0;
29235 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29236 void *argp1 = 0 ;
29237 int res1 = 0 ;
29238 PyObject *swig_obj[1] ;
29239
29240 if (!args) SWIG_fail;
29241 swig_obj[0] = args;
29242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29243 if (!SWIG_IsOK(res1)) {
29244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29245 }
29246 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29247 {
29248 PyThreadState* __tstate = wxPyBeginAllowThreads();
29249 (arg1)->CreateControlBar();
29250 wxPyEndAllowThreads(__tstate);
29251 if (PyErr_Occurred()) SWIG_fail;
29252 }
29253 resultobj = SWIG_Py_Void();
29254 return resultobj;
29255fail:
29256 return NULL;
d55e5bfc
RD
29257}
29258
29259
1bd55598
RD
29260SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29261 PyObject *resultobj = 0;
29262 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29263 void *argp1 = 0 ;
29264 int res1 = 0 ;
29265 PyObject *swig_obj[1] ;
29266
29267 if (!args) SWIG_fail;
29268 swig_obj[0] = args;
29269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29270 if (!SWIG_IsOK(res1)) {
29271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29272 }
29273 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29274 {
29275 PyThreadState* __tstate = wxPyBeginAllowThreads();
29276 (arg1)->CreateCanvas();
29277 wxPyEndAllowThreads(__tstate);
29278 if (PyErr_Occurred()) SWIG_fail;
29279 }
29280 resultobj = SWIG_Py_Void();
29281 return resultobj;
29282fail:
29283 return NULL;
d55e5bfc
RD
29284}
29285
29286
1bd55598
RD
29287SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29288 PyObject *resultobj = 0;
29289 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29290 wxPreviewControlBar *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_wxPreviewFrame, 0 | 0 );
29298 if (!SWIG_IsOK(res1)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29300 }
29301 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29302 {
29303 PyThreadState* __tstate = wxPyBeginAllowThreads();
29304 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29305 wxPyEndAllowThreads(__tstate);
29306 if (PyErr_Occurred()) SWIG_fail;
29307 }
29308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29309 return resultobj;
29310fail:
29311 return NULL;
29312}
29313
29314
29315SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29316 PyObject *obj;
29317 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29318 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29319 return SWIG_Py_Void();
29320}
29321
29322SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29323 return SWIG_Python_InitShadowInstance(args);
29324}
29325
29326SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29327 PyObject *resultobj = 0;
29328 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29329 long arg2 ;
29330 wxWindow *arg3 = (wxWindow *) 0 ;
29331 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29332 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29333 wxSize const &arg5_defvalue = wxDefaultSize ;
29334 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29335 long arg6 = (long) wxTAB_TRAVERSAL ;
29336 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29337 wxString *arg7 = (wxString *) &arg7_defvalue ;
29338 wxPreviewControlBar *result = 0 ;
29339 void *argp1 = 0 ;
29340 int res1 = 0 ;
29341 long val2 ;
29342 int ecode2 = 0 ;
29343 void *argp3 = 0 ;
29344 int res3 = 0 ;
29345 wxPoint temp4 ;
29346 wxSize temp5 ;
29347 long val6 ;
29348 int ecode6 = 0 ;
29349 bool temp7 = false ;
29350 PyObject * obj0 = 0 ;
29351 PyObject * obj1 = 0 ;
29352 PyObject * obj2 = 0 ;
29353 PyObject * obj3 = 0 ;
29354 PyObject * obj4 = 0 ;
29355 PyObject * obj5 = 0 ;
29356 PyObject * obj6 = 0 ;
29357 char * kwnames[] = {
29358 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29359 };
29360
29361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) 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 '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29365 }
29366 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29367 ecode2 = SWIG_AsVal_long(obj1, &val2);
29368 if (!SWIG_IsOK(ecode2)) {
29369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29370 }
29371 arg2 = static_cast< long >(val2);
29372 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29373 if (!SWIG_IsOK(res3)) {
29374 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29375 }
29376 arg3 = reinterpret_cast< wxWindow * >(argp3);
29377 if (obj3) {
29378 {
29379 arg4 = &temp4;
29380 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29381 }
29382 }
29383 if (obj4) {
a5ee0656 29384 {
1bd55598
RD
29385 arg5 = &temp5;
29386 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
a5ee0656 29387 }
1bd55598
RD
29388 }
29389 if (obj5) {
29390 ecode6 = SWIG_AsVal_long(obj5, &val6);
29391 if (!SWIG_IsOK(ecode6)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29393 }
29394 arg6 = static_cast< long >(val6);
29395 }
29396 if (obj6) {
a5ee0656 29397 {
1bd55598
RD
29398 arg7 = wxString_in_helper(obj6);
29399 if (arg7 == NULL) SWIG_fail;
29400 temp7 = true;
a5ee0656 29401 }
1bd55598
RD
29402 }
29403 {
29404 if (!wxPyCheckForApp()) SWIG_fail;
29405 PyThreadState* __tstate = wxPyBeginAllowThreads();
29406 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29407 wxPyEndAllowThreads(__tstate);
29408 if (PyErr_Occurred()) SWIG_fail;
29409 }
29410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29411 {
29412 if (temp7)
29413 delete arg7;
29414 }
29415 return resultobj;
29416fail:
29417 {
29418 if (temp7)
29419 delete arg7;
29420 }
29421 return NULL;
a5ee0656
RD
29422}
29423
29424
1bd55598
RD
29425SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29426 PyObject *resultobj = 0;
29427 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29428 int result;
29429 void *argp1 = 0 ;
29430 int res1 = 0 ;
29431 PyObject *swig_obj[1] ;
29432
29433 if (!args) SWIG_fail;
29434 swig_obj[0] = args;
29435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29436 if (!SWIG_IsOK(res1)) {
29437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29438 }
29439 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29440 {
29441 PyThreadState* __tstate = wxPyBeginAllowThreads();
29442 result = (int)(arg1)->GetZoomControl();
29443 wxPyEndAllowThreads(__tstate);
29444 if (PyErr_Occurred()) SWIG_fail;
29445 }
29446 resultobj = SWIG_From_int(static_cast< int >(result));
29447 return resultobj;
29448fail:
29449 return NULL;
29450}
29451
29452
29453SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29454 PyObject *resultobj = 0;
29455 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29456 int arg2 ;
29457 void *argp1 = 0 ;
29458 int res1 = 0 ;
29459 int val2 ;
29460 int ecode2 = 0 ;
29461 PyObject * obj0 = 0 ;
29462 PyObject * obj1 = 0 ;
29463 char * kwnames[] = {
29464 (char *) "self",(char *) "zoom", NULL
29465 };
29466
29467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29469 if (!SWIG_IsOK(res1)) {
29470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29471 }
29472 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29473 ecode2 = SWIG_AsVal_int(obj1, &val2);
29474 if (!SWIG_IsOK(ecode2)) {
29475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29476 }
29477 arg2 = static_cast< int >(val2);
29478 {
29479 PyThreadState* __tstate = wxPyBeginAllowThreads();
29480 (arg1)->SetZoomControl(arg2);
29481 wxPyEndAllowThreads(__tstate);
29482 if (PyErr_Occurred()) SWIG_fail;
29483 }
29484 resultobj = SWIG_Py_Void();
29485 return resultobj;
29486fail:
29487 return NULL;
8d38bd1d
RD
29488}
29489
29490
1bd55598
RD
29491SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29492 PyObject *resultobj = 0;
29493 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29494 wxPrintPreview *result = 0 ;
29495 void *argp1 = 0 ;
29496 int res1 = 0 ;
29497 PyObject *swig_obj[1] ;
29498
29499 if (!args) SWIG_fail;
29500 swig_obj[0] = args;
29501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29502 if (!SWIG_IsOK(res1)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29504 }
29505 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29506 {
29507 PyThreadState* __tstate = wxPyBeginAllowThreads();
29508 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29509 wxPyEndAllowThreads(__tstate);
29510 if (PyErr_Occurred()) SWIG_fail;
29511 }
29512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29513 return resultobj;
29514fail:
29515 return NULL;
d55e5bfc
RD
29516}
29517
29518
1bd55598
RD
29519SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29520 PyObject *resultobj = 0;
29521 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29522 void *argp1 = 0 ;
29523 int res1 = 0 ;
29524 PyObject *swig_obj[1] ;
29525
29526 if (!args) SWIG_fail;
29527 swig_obj[0] = args;
29528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29529 if (!SWIG_IsOK(res1)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29531 }
29532 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29533 {
29534 PyThreadState* __tstate = wxPyBeginAllowThreads();
29535 (arg1)->OnNext();
29536 wxPyEndAllowThreads(__tstate);
29537 if (PyErr_Occurred()) SWIG_fail;
29538 }
29539 resultobj = SWIG_Py_Void();
29540 return resultobj;
29541fail:
29542 return NULL;
d55e5bfc
RD
29543}
29544
29545
1bd55598
RD
29546SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29547 PyObject *resultobj = 0;
29548 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29549 void *argp1 = 0 ;
29550 int res1 = 0 ;
29551 PyObject *swig_obj[1] ;
29552
29553 if (!args) SWIG_fail;
29554 swig_obj[0] = args;
29555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29556 if (!SWIG_IsOK(res1)) {
29557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29558 }
29559 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29560 {
29561 PyThreadState* __tstate = wxPyBeginAllowThreads();
29562 (arg1)->OnPrevious();
29563 wxPyEndAllowThreads(__tstate);
29564 if (PyErr_Occurred()) SWIG_fail;
29565 }
29566 resultobj = SWIG_Py_Void();
29567 return resultobj;
29568fail:
29569 return NULL;
d55e5bfc
RD
29570}
29571
29572
1bd55598
RD
29573SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29574 PyObject *resultobj = 0;
29575 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29576 void *argp1 = 0 ;
29577 int res1 = 0 ;
29578 PyObject *swig_obj[1] ;
29579
29580 if (!args) SWIG_fail;
29581 swig_obj[0] = args;
29582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29583 if (!SWIG_IsOK(res1)) {
29584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29585 }
29586 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29587 {
29588 PyThreadState* __tstate = wxPyBeginAllowThreads();
29589 (arg1)->OnFirst();
29590 wxPyEndAllowThreads(__tstate);
29591 if (PyErr_Occurred()) SWIG_fail;
29592 }
29593 resultobj = SWIG_Py_Void();
29594 return resultobj;
29595fail:
29596 return NULL;
a5ee0656
RD
29597}
29598
29599
1bd55598
RD
29600SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29601 PyObject *resultobj = 0;
29602 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29603 void *argp1 = 0 ;
29604 int res1 = 0 ;
29605 PyObject *swig_obj[1] ;
29606
29607 if (!args) SWIG_fail;
29608 swig_obj[0] = args;
29609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29610 if (!SWIG_IsOK(res1)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29612 }
29613 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 (arg1)->OnLast();
29617 wxPyEndAllowThreads(__tstate);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
29620 resultobj = SWIG_Py_Void();
29621 return resultobj;
29622fail:
29623 return NULL;
976dbff5
RD
29624}
29625
29626
1bd55598
RD
29627SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29628 PyObject *resultobj = 0;
29629 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29630 void *argp1 = 0 ;
29631 int res1 = 0 ;
29632 PyObject *swig_obj[1] ;
29633
29634 if (!args) SWIG_fail;
29635 swig_obj[0] = args;
29636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29637 if (!SWIG_IsOK(res1)) {
29638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29639 }
29640 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29641 {
29642 PyThreadState* __tstate = wxPyBeginAllowThreads();
29643 (arg1)->OnGoto();
29644 wxPyEndAllowThreads(__tstate);
29645 if (PyErr_Occurred()) SWIG_fail;
29646 }
29647 resultobj = SWIG_Py_Void();
29648 return resultobj;
29649fail:
29650 return NULL;
d55e5bfc
RD
29651}
29652
29653
1bd55598
RD
29654SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29655 PyObject *obj;
29656 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29657 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29658 return SWIG_Py_Void();
29659}
29660
29661SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29662 return SWIG_Python_InitShadowInstance(args);
29663}
29664
29665SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29666 PyObject *resultobj = 0;
29667 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29668 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29669 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29670 wxPrintPreview *result = 0 ;
29671 int res1 = 0 ;
29672 int res2 = 0 ;
29673 void *argp3 = 0 ;
29674 int res3 = 0 ;
29675
29676 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29677 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29678 if (!SWIG_IsOK(res1)) {
29679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29680 }
29681 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29682 if (!SWIG_IsOK(res2)) {
29683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29684 }
29685 if (swig_obj[2]) {
29686 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29687 if (!SWIG_IsOK(res3)) {
29688 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
36ed4f51 29689 }
1bd55598
RD
29690 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29691 }
29692 {
29693 if (!wxPyCheckForApp()) SWIG_fail;
29694 PyThreadState* __tstate = wxPyBeginAllowThreads();
29695 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29696 wxPyEndAllowThreads(__tstate);
29697 if (PyErr_Occurred()) SWIG_fail;
29698 }
29699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29700 return resultobj;
29701fail:
29702 return NULL;
29703}
29704
29705
29706SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29707 PyObject *resultobj = 0;
29708 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29709 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29710 wxPrintData *arg3 = (wxPrintData *) 0 ;
29711 wxPrintPreview *result = 0 ;
29712 int res1 = 0 ;
29713 int res2 = 0 ;
29714 void *argp3 = 0 ;
29715 int res3 = 0 ;
29716
29717 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29718 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29719 if (!SWIG_IsOK(res1)) {
29720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29721 }
29722 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29723 if (!SWIG_IsOK(res2)) {
29724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29725 }
29726 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29727 if (!SWIG_IsOK(res3)) {
29728 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29729 }
29730 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29731 {
29732 if (!wxPyCheckForApp()) SWIG_fail;
29733 PyThreadState* __tstate = wxPyBeginAllowThreads();
29734 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29739 return resultobj;
29740fail:
29741 return NULL;
d55e5bfc
RD
29742}
29743
29744
1bd55598
RD
29745SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29746 int argc;
29747 PyObject *argv[4];
29748
29749 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29750 --argc;
29751 if ((argc >= 2) && (argc <= 3)) {
29752 int _v = 0;
29753 if (argc > 2) {
29754 {
29755 void *vptr = 0;
29756 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29757 _v = SWIG_CheckState(res);
29758 }
29759 if (!_v) goto check_1;
36ed4f51 29760 }
1bd55598
RD
29761 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29762 }
29763check_1:
29764
29765 if (argc == 3) {
29766 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29767 }
29768
29769fail:
29770 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29771 return NULL;
d55e5bfc
RD
29772}
29773
29774
1bd55598
RD
29775SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29776 PyObject *resultobj = 0;
29777 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29778 void *argp1 = 0 ;
29779 int res1 = 0 ;
29780 PyObject *swig_obj[1] ;
29781
29782 if (!args) SWIG_fail;
29783 swig_obj[0] = args;
29784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29785 if (!SWIG_IsOK(res1)) {
29786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29787 }
29788 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29789 {
29790 PyThreadState* __tstate = wxPyBeginAllowThreads();
29791 delete arg1;
d55e5bfc 29792
1bd55598
RD
29793 wxPyEndAllowThreads(__tstate);
29794 if (PyErr_Occurred()) SWIG_fail;
29795 }
29796 resultobj = SWIG_Py_Void();
29797 return resultobj;
29798fail:
29799 return NULL;
29800}
29801
29802
29803SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29804 PyObject *resultobj = 0;
29805 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29806 int arg2 ;
29807 bool result;
29808 void *argp1 = 0 ;
29809 int res1 = 0 ;
29810 int val2 ;
29811 int ecode2 = 0 ;
29812 PyObject * obj0 = 0 ;
29813 PyObject * obj1 = 0 ;
29814 char * kwnames[] = {
29815 (char *) "self",(char *) "pageNum", NULL
29816 };
29817
29818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29820 if (!SWIG_IsOK(res1)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29822 }
29823 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29824 ecode2 = SWIG_AsVal_int(obj1, &val2);
29825 if (!SWIG_IsOK(ecode2)) {
29826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29827 }
29828 arg2 = static_cast< int >(val2);
29829 {
29830 PyThreadState* __tstate = wxPyBeginAllowThreads();
29831 result = (bool)(arg1)->SetCurrentPage(arg2);
29832 wxPyEndAllowThreads(__tstate);
29833 if (PyErr_Occurred()) SWIG_fail;
29834 }
29835 {
29836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29837 }
29838 return resultobj;
29839fail:
29840 return NULL;
d55e5bfc
RD
29841}
29842
29843
1bd55598
RD
29844SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29845 PyObject *resultobj = 0;
29846 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29847 int result;
29848 void *argp1 = 0 ;
29849 int res1 = 0 ;
29850 PyObject *swig_obj[1] ;
29851
29852 if (!args) SWIG_fail;
29853 swig_obj[0] = args;
29854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29855 if (!SWIG_IsOK(res1)) {
29856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29857 }
29858 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29859 {
29860 PyThreadState* __tstate = wxPyBeginAllowThreads();
29861 result = (int)(arg1)->GetCurrentPage();
29862 wxPyEndAllowThreads(__tstate);
29863 if (PyErr_Occurred()) SWIG_fail;
29864 }
29865 resultobj = SWIG_From_int(static_cast< int >(result));
29866 return resultobj;
29867fail:
29868 return NULL;
29869}
29870
29871
29872SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29873 PyObject *resultobj = 0;
29874 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29875 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29876 void *argp1 = 0 ;
29877 int res1 = 0 ;
29878 int res2 = 0 ;
29879 PyObject * obj0 = 0 ;
29880 PyObject * obj1 = 0 ;
29881 char * kwnames[] = {
29882 (char *) "self",(char *) "printout", NULL
29883 };
29884
29885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29887 if (!SWIG_IsOK(res1)) {
29888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29889 }
29890 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29891 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29892 if (!SWIG_IsOK(res2)) {
29893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29894 }
29895 {
29896 PyThreadState* __tstate = wxPyBeginAllowThreads();
29897 (arg1)->SetPrintout(arg2);
29898 wxPyEndAllowThreads(__tstate);
29899 if (PyErr_Occurred()) SWIG_fail;
29900 }
29901 resultobj = SWIG_Py_Void();
29902 return resultobj;
29903fail:
29904 return NULL;
d55e5bfc
RD
29905}
29906
29907
1bd55598
RD
29908SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29909 PyObject *resultobj = 0;
29910 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29911 wxPyPrintout *result = 0 ;
29912 void *argp1 = 0 ;
29913 int res1 = 0 ;
29914 PyObject *swig_obj[1] ;
29915
29916 if (!args) SWIG_fail;
29917 swig_obj[0] = args;
29918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29919 if (!SWIG_IsOK(res1)) {
29920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29921 }
29922 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29923 {
29924 PyThreadState* __tstate = wxPyBeginAllowThreads();
29925 result = (wxPyPrintout *)(arg1)->GetPrintout();
29926 wxPyEndAllowThreads(__tstate);
29927 if (PyErr_Occurred()) SWIG_fail;
29928 }
29929 {
29930 resultobj = wxPyMake_wxObject(result, 0);
29931 }
29932 return resultobj;
29933fail:
29934 return NULL;
d55e5bfc
RD
29935}
29936
29937
1bd55598
RD
29938SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29939 PyObject *resultobj = 0;
29940 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29941 wxPyPrintout *result = 0 ;
29942 void *argp1 = 0 ;
29943 int res1 = 0 ;
29944 PyObject *swig_obj[1] ;
29945
29946 if (!args) SWIG_fail;
29947 swig_obj[0] = args;
29948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29949 if (!SWIG_IsOK(res1)) {
29950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29951 }
29952 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29953 {
29954 PyThreadState* __tstate = wxPyBeginAllowThreads();
29955 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29956 wxPyEndAllowThreads(__tstate);
29957 if (PyErr_Occurred()) SWIG_fail;
29958 }
29959 {
29960 resultobj = wxPyMake_wxObject(result, 0);
29961 }
29962 return resultobj;
29963fail:
29964 return NULL;
29965}
29966
29967
29968SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29969 PyObject *resultobj = 0;
29970 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29971 wxFrame *arg2 = (wxFrame *) 0 ;
29972 void *argp1 = 0 ;
29973 int res1 = 0 ;
29974 void *argp2 = 0 ;
29975 int res2 = 0 ;
29976 PyObject * obj0 = 0 ;
29977 PyObject * obj1 = 0 ;
29978 char * kwnames[] = {
29979 (char *) "self",(char *) "frame", NULL
29980 };
29981
29982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29984 if (!SWIG_IsOK(res1)) {
29985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29986 }
29987 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29988 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29989 if (!SWIG_IsOK(res2)) {
29990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29991 }
29992 arg2 = reinterpret_cast< wxFrame * >(argp2);
29993 {
29994 PyThreadState* __tstate = wxPyBeginAllowThreads();
29995 (arg1)->SetFrame(arg2);
29996 wxPyEndAllowThreads(__tstate);
29997 if (PyErr_Occurred()) SWIG_fail;
29998 }
29999 resultobj = SWIG_Py_Void();
30000 return resultobj;
30001fail:
30002 return NULL;
30003}
30004
30005
30006SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30007 PyObject *resultobj = 0;
30008 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30009 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30010 void *argp1 = 0 ;
30011 int res1 = 0 ;
30012 void *argp2 = 0 ;
30013 int res2 = 0 ;
30014 PyObject * obj0 = 0 ;
30015 PyObject * obj1 = 0 ;
30016 char * kwnames[] = {
30017 (char *) "self",(char *) "canvas", NULL
30018 };
30019
30020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30022 if (!SWIG_IsOK(res1)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30024 }
30025 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30026 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30027 if (!SWIG_IsOK(res2)) {
30028 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30029 }
30030 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30031 {
30032 PyThreadState* __tstate = wxPyBeginAllowThreads();
30033 (arg1)->SetCanvas(arg2);
30034 wxPyEndAllowThreads(__tstate);
30035 if (PyErr_Occurred()) SWIG_fail;
30036 }
30037 resultobj = SWIG_Py_Void();
30038 return resultobj;
30039fail:
30040 return NULL;
d55e5bfc
RD
30041}
30042
30043
1bd55598
RD
30044SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30045 PyObject *resultobj = 0;
30046 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30047 wxFrame *result = 0 ;
30048 void *argp1 = 0 ;
30049 int res1 = 0 ;
30050 PyObject *swig_obj[1] ;
30051
30052 if (!args) SWIG_fail;
30053 swig_obj[0] = args;
30054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30055 if (!SWIG_IsOK(res1)) {
30056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30057 }
30058 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30059 {
30060 PyThreadState* __tstate = wxPyBeginAllowThreads();
30061 result = (wxFrame *)(arg1)->GetFrame();
30062 wxPyEndAllowThreads(__tstate);
30063 if (PyErr_Occurred()) SWIG_fail;
30064 }
30065 {
30066 resultobj = wxPyMake_wxObject(result, 0);
30067 }
30068 return resultobj;
30069fail:
30070 return NULL;
d55e5bfc
RD
30071}
30072
30073
1bd55598
RD
30074SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30075 PyObject *resultobj = 0;
30076 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30077 wxPreviewCanvas *result = 0 ;
30078 void *argp1 = 0 ;
30079 int res1 = 0 ;
30080 PyObject *swig_obj[1] ;
30081
30082 if (!args) SWIG_fail;
30083 swig_obj[0] = args;
30084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30085 if (!SWIG_IsOK(res1)) {
30086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30087 }
30088 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30089 {
30090 PyThreadState* __tstate = wxPyBeginAllowThreads();
30091 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30092 wxPyEndAllowThreads(__tstate);
30093 if (PyErr_Occurred()) SWIG_fail;
30094 }
30095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30096 return resultobj;
30097fail:
30098 return NULL;
30099}
30100
30101
30102SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30103 PyObject *resultobj = 0;
30104 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30105 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30106 wxDC *arg3 = 0 ;
30107 bool result;
30108 void *argp1 = 0 ;
30109 int res1 = 0 ;
30110 void *argp2 = 0 ;
30111 int res2 = 0 ;
30112 void *argp3 = 0 ;
30113 int res3 = 0 ;
30114 PyObject * obj0 = 0 ;
30115 PyObject * obj1 = 0 ;
30116 PyObject * obj2 = 0 ;
30117 char * kwnames[] = {
30118 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30119 };
30120
30121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30123 if (!SWIG_IsOK(res1)) {
30124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30125 }
30126 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30127 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30128 if (!SWIG_IsOK(res2)) {
30129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30130 }
30131 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30132 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30133 if (!SWIG_IsOK(res3)) {
30134 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30135 }
30136 if (!argp3) {
30137 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30138 }
30139 arg3 = reinterpret_cast< wxDC * >(argp3);
30140 {
30141 PyThreadState* __tstate = wxPyBeginAllowThreads();
30142 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30143 wxPyEndAllowThreads(__tstate);
30144 if (PyErr_Occurred()) SWIG_fail;
30145 }
30146 {
30147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30148 }
30149 return resultobj;
30150fail:
30151 return NULL;
30152}
30153
30154
30155SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30156 PyObject *resultobj = 0;
30157 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30158 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30159 wxDC *arg3 = 0 ;
30160 bool result;
30161 void *argp1 = 0 ;
30162 int res1 = 0 ;
30163 void *argp2 = 0 ;
30164 int res2 = 0 ;
30165 void *argp3 = 0 ;
30166 int res3 = 0 ;
30167 PyObject * obj0 = 0 ;
30168 PyObject * obj1 = 0 ;
30169 PyObject * obj2 = 0 ;
30170 char * kwnames[] = {
30171 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30172 };
30173
30174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30176 if (!SWIG_IsOK(res1)) {
30177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30178 }
30179 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30180 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30181 if (!SWIG_IsOK(res2)) {
30182 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30183 }
30184 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30185 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30186 if (!SWIG_IsOK(res3)) {
30187 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30188 }
30189 if (!argp3) {
30190 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30191 }
30192 arg3 = reinterpret_cast< wxDC * >(argp3);
30193 {
30194 PyThreadState* __tstate = wxPyBeginAllowThreads();
30195 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30196 wxPyEndAllowThreads(__tstate);
30197 if (PyErr_Occurred()) SWIG_fail;
30198 }
30199 {
30200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30201 }
30202 return resultobj;
30203fail:
30204 return NULL;
30205}
30206
30207
30208SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30209 PyObject *resultobj = 0;
30210 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30211 int arg2 ;
30212 bool result;
30213 void *argp1 = 0 ;
30214 int res1 = 0 ;
30215 int val2 ;
30216 int ecode2 = 0 ;
30217 PyObject * obj0 = 0 ;
30218 PyObject * obj1 = 0 ;
30219 char * kwnames[] = {
30220 (char *) "self",(char *) "pageNum", NULL
30221 };
30222
30223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30225 if (!SWIG_IsOK(res1)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30227 }
30228 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30229 ecode2 = SWIG_AsVal_int(obj1, &val2);
30230 if (!SWIG_IsOK(ecode2)) {
30231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30232 }
30233 arg2 = static_cast< int >(val2);
30234 {
30235 PyThreadState* __tstate = wxPyBeginAllowThreads();
30236 result = (bool)(arg1)->RenderPage(arg2);
30237 wxPyEndAllowThreads(__tstate);
30238 if (PyErr_Occurred()) SWIG_fail;
30239 }
30240 {
30241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30242 }
30243 return resultobj;
30244fail:
30245 return NULL;
30246}
30247
30248
30249SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30250 PyObject *resultobj = 0;
30251 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30252 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30253 void *argp1 = 0 ;
30254 int res1 = 0 ;
30255 void *argp2 = 0 ;
30256 int res2 = 0 ;
30257 PyObject * obj0 = 0 ;
30258 PyObject * obj1 = 0 ;
30259 char * kwnames[] = {
30260 (char *) "self",(char *) "canvas", NULL
30261 };
30262
30263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30265 if (!SWIG_IsOK(res1)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30267 }
30268 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30269 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30270 if (!SWIG_IsOK(res2)) {
30271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30272 }
30273 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30274 {
30275 PyThreadState* __tstate = wxPyBeginAllowThreads();
30276 (arg1)->AdjustScrollbars(arg2);
30277 wxPyEndAllowThreads(__tstate);
30278 if (PyErr_Occurred()) SWIG_fail;
30279 }
30280 resultobj = SWIG_Py_Void();
30281 return resultobj;
30282fail:
30283 return NULL;
d55e5bfc
RD
30284}
30285
30286
1bd55598
RD
30287SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30288 PyObject *resultobj = 0;
30289 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30290 wxPrintDialogData *result = 0 ;
30291 void *argp1 = 0 ;
30292 int res1 = 0 ;
30293 PyObject *swig_obj[1] ;
30294
30295 if (!args) SWIG_fail;
30296 swig_obj[0] = args;
30297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30298 if (!SWIG_IsOK(res1)) {
30299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30300 }
30301 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30302 {
30303 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 30304 {
1bd55598
RD
30305 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30306 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 30307 }
1bd55598
RD
30308 wxPyEndAllowThreads(__tstate);
30309 if (PyErr_Occurred()) SWIG_fail;
30310 }
30311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30312 return resultobj;
30313fail:
30314 return NULL;
30315}
30316
30317
30318SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30319 PyObject *resultobj = 0;
30320 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30321 int arg2 ;
30322 void *argp1 = 0 ;
30323 int res1 = 0 ;
30324 int val2 ;
30325 int ecode2 = 0 ;
30326 PyObject * obj0 = 0 ;
30327 PyObject * obj1 = 0 ;
30328 char * kwnames[] = {
30329 (char *) "self",(char *) "percent", NULL
30330 };
30331
30332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30334 if (!SWIG_IsOK(res1)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30336 }
30337 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30338 ecode2 = SWIG_AsVal_int(obj1, &val2);
30339 if (!SWIG_IsOK(ecode2)) {
30340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30341 }
30342 arg2 = static_cast< int >(val2);
30343 {
30344 PyThreadState* __tstate = wxPyBeginAllowThreads();
30345 (arg1)->SetZoom(arg2);
30346 wxPyEndAllowThreads(__tstate);
30347 if (PyErr_Occurred()) SWIG_fail;
30348 }
30349 resultobj = SWIG_Py_Void();
30350 return resultobj;
30351fail:
30352 return NULL;
d55e5bfc
RD
30353}
30354
30355
1bd55598
RD
30356SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30357 PyObject *resultobj = 0;
30358 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30359 int result;
30360 void *argp1 = 0 ;
30361 int res1 = 0 ;
30362 PyObject *swig_obj[1] ;
30363
30364 if (!args) SWIG_fail;
30365 swig_obj[0] = args;
30366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30367 if (!SWIG_IsOK(res1)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30369 }
30370 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30371 {
30372 PyThreadState* __tstate = wxPyBeginAllowThreads();
30373 result = (int)(arg1)->GetZoom();
30374 wxPyEndAllowThreads(__tstate);
30375 if (PyErr_Occurred()) SWIG_fail;
30376 }
30377 resultobj = SWIG_From_int(static_cast< int >(result));
30378 return resultobj;
30379fail:
30380 return NULL;
d55e5bfc
RD
30381}
30382
30383
1bd55598
RD
30384SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30385 PyObject *resultobj = 0;
30386 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30387 int result;
30388 void *argp1 = 0 ;
30389 int res1 = 0 ;
30390 PyObject *swig_obj[1] ;
30391
30392 if (!args) SWIG_fail;
30393 swig_obj[0] = args;
30394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30395 if (!SWIG_IsOK(res1)) {
30396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30397 }
30398 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30399 {
30400 PyThreadState* __tstate = wxPyBeginAllowThreads();
30401 result = (int)(arg1)->GetMaxPage();
30402 wxPyEndAllowThreads(__tstate);
30403 if (PyErr_Occurred()) SWIG_fail;
30404 }
30405 resultobj = SWIG_From_int(static_cast< int >(result));
30406 return resultobj;
30407fail:
30408 return NULL;
d55e5bfc
RD
30409}
30410
30411
1bd55598
RD
30412SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30413 PyObject *resultobj = 0;
30414 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30415 int result;
30416 void *argp1 = 0 ;
30417 int res1 = 0 ;
30418 PyObject *swig_obj[1] ;
30419
30420 if (!args) SWIG_fail;
30421 swig_obj[0] = args;
30422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30423 if (!SWIG_IsOK(res1)) {
30424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30425 }
30426 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30427 {
30428 PyThreadState* __tstate = wxPyBeginAllowThreads();
30429 result = (int)(arg1)->GetMinPage();
30430 wxPyEndAllowThreads(__tstate);
30431 if (PyErr_Occurred()) SWIG_fail;
30432 }
30433 resultobj = SWIG_From_int(static_cast< int >(result));
30434 return resultobj;
30435fail:
30436 return NULL;
d55e5bfc
RD
30437}
30438
30439
b39fe951 30440SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
30441 PyObject *resultobj = 0;
30442 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30443 bool result;
30444 void *argp1 = 0 ;
30445 int res1 = 0 ;
30446 PyObject *swig_obj[1] ;
30447
30448 if (!args) SWIG_fail;
30449 swig_obj[0] = args;
30450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30451 if (!SWIG_IsOK(res1)) {
b39fe951 30452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598
RD
30453 }
30454 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30455 {
30456 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 30457 result = (bool)(arg1)->IsOk();
1bd55598
RD
30458 wxPyEndAllowThreads(__tstate);
30459 if (PyErr_Occurred()) SWIG_fail;
30460 }
30461 {
30462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30463 }
30464 return resultobj;
30465fail:
30466 return NULL;
30467}
30468
30469
30470SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30471 PyObject *resultobj = 0;
30472 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30473 bool arg2 ;
30474 void *argp1 = 0 ;
30475 int res1 = 0 ;
30476 bool val2 ;
30477 int ecode2 = 0 ;
30478 PyObject * obj0 = 0 ;
30479 PyObject * obj1 = 0 ;
30480 char * kwnames[] = {
30481 (char *) "self",(char *) "ok", NULL
30482 };
30483
30484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30486 if (!SWIG_IsOK(res1)) {
30487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30488 }
30489 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30490 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30491 if (!SWIG_IsOK(ecode2)) {
30492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30493 }
30494 arg2 = static_cast< bool >(val2);
30495 {
30496 PyThreadState* __tstate = wxPyBeginAllowThreads();
30497 (arg1)->SetOk(arg2);
30498 wxPyEndAllowThreads(__tstate);
30499 if (PyErr_Occurred()) SWIG_fail;
30500 }
30501 resultobj = SWIG_Py_Void();
30502 return resultobj;
30503fail:
30504 return NULL;
30505}
30506
30507
30508SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30509 PyObject *resultobj = 0;
30510 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30511 bool arg2 ;
30512 bool result;
30513 void *argp1 = 0 ;
30514 int res1 = 0 ;
30515 bool val2 ;
30516 int ecode2 = 0 ;
30517 PyObject * obj0 = 0 ;
30518 PyObject * obj1 = 0 ;
30519 char * kwnames[] = {
30520 (char *) "self",(char *) "interactive", NULL
30521 };
30522
30523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30525 if (!SWIG_IsOK(res1)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30527 }
30528 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30529 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30530 if (!SWIG_IsOK(ecode2)) {
30531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30532 }
30533 arg2 = static_cast< bool >(val2);
30534 {
30535 PyThreadState* __tstate = wxPyBeginAllowThreads();
30536 result = (bool)(arg1)->Print(arg2);
30537 wxPyEndAllowThreads(__tstate);
30538 if (PyErr_Occurred()) SWIG_fail;
30539 }
30540 {
30541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30542 }
30543 return resultobj;
30544fail:
30545 return NULL;
d55e5bfc
RD
30546}
30547
30548
1bd55598
RD
30549SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30550 PyObject *resultobj = 0;
30551 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30552 void *argp1 = 0 ;
30553 int res1 = 0 ;
30554 PyObject *swig_obj[1] ;
30555
30556 if (!args) SWIG_fail;
30557 swig_obj[0] = args;
30558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30559 if (!SWIG_IsOK(res1)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30561 }
30562 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30563 {
30564 PyThreadState* __tstate = wxPyBeginAllowThreads();
30565 (arg1)->DetermineScaling();
30566 wxPyEndAllowThreads(__tstate);
30567 if (PyErr_Occurred()) SWIG_fail;
30568 }
30569 resultobj = SWIG_Py_Void();
30570 return resultobj;
30571fail:
30572 return NULL;
d55e5bfc
RD
30573}
30574
30575
1bd55598
RD
30576SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30577 PyObject *obj;
30578 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30579 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30580 return SWIG_Py_Void();
d55e5bfc
RD
30581}
30582
1bd55598
RD
30583SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30584 return SWIG_Python_InitShadowInstance(args);
30585}
d55e5bfc 30586
1bd55598
RD
30587SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30588 PyObject *resultobj = 0;
30589 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30590 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30591 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30592 wxPyPrintPreview *result = 0 ;
30593 int res1 = 0 ;
30594 int res2 = 0 ;
30595 void *argp3 = 0 ;
30596 int res3 = 0 ;
30597
30598 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30599 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30600 if (!SWIG_IsOK(res1)) {
30601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30602 }
30603 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30604 if (!SWIG_IsOK(res2)) {
30605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30606 }
30607 if (swig_obj[2]) {
30608 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30609 if (!SWIG_IsOK(res3)) {
30610 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30611 }
30612 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30613 }
30614 {
30615 if (!wxPyCheckForApp()) SWIG_fail;
30616 PyThreadState* __tstate = wxPyBeginAllowThreads();
30617 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30618 wxPyEndAllowThreads(__tstate);
30619 if (PyErr_Occurred()) SWIG_fail;
30620 }
30621 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30622 return resultobj;
30623fail:
30624 return NULL;
30625}
30626
30627
30628SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30629 PyObject *resultobj = 0;
30630 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30631 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30632 wxPrintData *arg3 = (wxPrintData *) 0 ;
30633 wxPyPrintPreview *result = 0 ;
30634 int res1 = 0 ;
30635 int res2 = 0 ;
30636 void *argp3 = 0 ;
30637 int res3 = 0 ;
30638
30639 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30640 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30641 if (!SWIG_IsOK(res1)) {
30642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30643 }
30644 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30645 if (!SWIG_IsOK(res2)) {
30646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30647 }
30648 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30649 if (!SWIG_IsOK(res3)) {
30650 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30651 }
30652 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30653 {
30654 if (!wxPyCheckForApp()) SWIG_fail;
30655 PyThreadState* __tstate = wxPyBeginAllowThreads();
30656 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30657 wxPyEndAllowThreads(__tstate);
30658 if (PyErr_Occurred()) SWIG_fail;
30659 }
30660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30661 return resultobj;
30662fail:
30663 return NULL;
d55e5bfc
RD
30664}
30665
30666
1bd55598
RD
30667SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30668 int argc;
30669 PyObject *argv[4];
30670
30671 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30672 --argc;
30673 if ((argc >= 2) && (argc <= 3)) {
30674 int _v = 0;
30675 if (argc > 2) {
30676 {
30677 void *vptr = 0;
30678 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30679 _v = SWIG_CheckState(res);
30680 }
30681 if (!_v) goto check_1;
36ed4f51 30682 }
1bd55598
RD
30683 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30684 }
30685check_1:
30686
30687 if (argc == 3) {
30688 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30689 }
30690
30691fail:
30692 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30693 return NULL;
30694}
30695
30696
30697SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30698 PyObject *resultobj = 0;
30699 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30700 PyObject *arg2 = (PyObject *) 0 ;
30701 PyObject *arg3 = (PyObject *) 0 ;
30702 void *argp1 = 0 ;
30703 int res1 = 0 ;
30704 PyObject * obj0 = 0 ;
30705 PyObject * obj1 = 0 ;
30706 PyObject * obj2 = 0 ;
30707 char * kwnames[] = {
30708 (char *) "self",(char *) "self",(char *) "_class", NULL
30709 };
30710
30711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30713 if (!SWIG_IsOK(res1)) {
30714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30715 }
30716 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30717 arg2 = obj1;
30718 arg3 = obj2;
30719 {
30720 PyThreadState* __tstate = wxPyBeginAllowThreads();
30721 (arg1)->_setCallbackInfo(arg2,arg3);
30722 wxPyEndAllowThreads(__tstate);
30723 if (PyErr_Occurred()) SWIG_fail;
30724 }
30725 resultobj = SWIG_Py_Void();
30726 return resultobj;
30727fail:
30728 return NULL;
30729}
30730
30731
30732SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30733 PyObject *obj;
30734 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30735 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30736 return SWIG_Py_Void();
30737}
30738
30739SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30740 return SWIG_Python_InitShadowInstance(args);
30741}
30742
30743SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30744 PyObject *resultobj = 0;
30745 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30746 wxFrame *arg2 = (wxFrame *) 0 ;
30747 wxString *arg3 = 0 ;
30748 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30749 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30750 wxSize const &arg5_defvalue = wxDefaultSize ;
30751 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30752 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30753 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30754 wxString *arg7 = (wxString *) &arg7_defvalue ;
30755 wxPyPreviewFrame *result = 0 ;
30756 void *argp1 = 0 ;
30757 int res1 = 0 ;
30758 void *argp2 = 0 ;
30759 int res2 = 0 ;
30760 bool temp3 = false ;
30761 wxPoint temp4 ;
30762 wxSize temp5 ;
30763 long val6 ;
30764 int ecode6 = 0 ;
30765 bool temp7 = false ;
30766 PyObject * obj0 = 0 ;
30767 PyObject * obj1 = 0 ;
30768 PyObject * obj2 = 0 ;
30769 PyObject * obj3 = 0 ;
30770 PyObject * obj4 = 0 ;
30771 PyObject * obj5 = 0 ;
30772 PyObject * obj6 = 0 ;
30773 char * kwnames[] = {
30774 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30775 };
30776
30777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30779 if (!SWIG_IsOK(res1)) {
30780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30781 }
30782 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30783 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30784 if (!SWIG_IsOK(res2)) {
30785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30786 }
30787 arg2 = reinterpret_cast< wxFrame * >(argp2);
30788 {
30789 arg3 = wxString_in_helper(obj2);
30790 if (arg3 == NULL) SWIG_fail;
30791 temp3 = true;
30792 }
30793 if (obj3) {
36ed4f51 30794 {
1bd55598
RD
30795 arg4 = &temp4;
30796 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 30797 }
1bd55598
RD
30798 }
30799 if (obj4) {
d55e5bfc 30800 {
1bd55598
RD
30801 arg5 = &temp5;
30802 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 30803 }
1bd55598
RD
30804 }
30805 if (obj5) {
30806 ecode6 = SWIG_AsVal_long(obj5, &val6);
30807 if (!SWIG_IsOK(ecode6)) {
30808 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30809 }
30810 arg6 = static_cast< long >(val6);
30811 }
30812 if (obj6) {
36ed4f51 30813 {
1bd55598
RD
30814 arg7 = wxString_in_helper(obj6);
30815 if (arg7 == NULL) SWIG_fail;
30816 temp7 = true;
36ed4f51 30817 }
1bd55598
RD
30818 }
30819 {
30820 if (!wxPyCheckForApp()) SWIG_fail;
30821 PyThreadState* __tstate = wxPyBeginAllowThreads();
30822 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30823 wxPyEndAllowThreads(__tstate);
30824 if (PyErr_Occurred()) SWIG_fail;
30825 }
30826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30827 {
30828 if (temp3)
30829 delete arg3;
30830 }
30831 {
30832 if (temp7)
30833 delete arg7;
30834 }
30835 return resultobj;
30836fail:
30837 {
30838 if (temp3)
30839 delete arg3;
30840 }
30841 {
30842 if (temp7)
30843 delete arg7;
30844 }
30845 return NULL;
30846}
30847
30848
30849SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30850 PyObject *resultobj = 0;
30851 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30852 PyObject *arg2 = (PyObject *) 0 ;
30853 PyObject *arg3 = (PyObject *) 0 ;
30854 void *argp1 = 0 ;
30855 int res1 = 0 ;
30856 PyObject * obj0 = 0 ;
30857 PyObject * obj1 = 0 ;
30858 PyObject * obj2 = 0 ;
30859 char * kwnames[] = {
30860 (char *) "self",(char *) "self",(char *) "_class", NULL
30861 };
30862
30863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30865 if (!SWIG_IsOK(res1)) {
30866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30867 }
30868 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30869 arg2 = obj1;
30870 arg3 = obj2;
30871 {
30872 PyThreadState* __tstate = wxPyBeginAllowThreads();
30873 (arg1)->_setCallbackInfo(arg2,arg3);
30874 wxPyEndAllowThreads(__tstate);
30875 if (PyErr_Occurred()) SWIG_fail;
30876 }
30877 resultobj = SWIG_Py_Void();
30878 return resultobj;
30879fail:
30880 return NULL;
30881}
30882
30883
30884SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30885 PyObject *resultobj = 0;
30886 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30887 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30888 void *argp1 = 0 ;
30889 int res1 = 0 ;
30890 void *argp2 = 0 ;
30891 int res2 = 0 ;
30892 PyObject * obj0 = 0 ;
30893 PyObject * obj1 = 0 ;
30894 char * kwnames[] = {
30895 (char *) "self",(char *) "canvas", NULL
30896 };
30897
30898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30900 if (!SWIG_IsOK(res1)) {
30901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30902 }
30903 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30905 if (!SWIG_IsOK(res2)) {
30906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30907 }
30908 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30909 {
30910 PyThreadState* __tstate = wxPyBeginAllowThreads();
30911 (arg1)->SetPreviewCanvas(arg2);
30912 wxPyEndAllowThreads(__tstate);
30913 if (PyErr_Occurred()) SWIG_fail;
30914 }
30915 resultobj = SWIG_Py_Void();
30916 return resultobj;
30917fail:
30918 return NULL;
30919}
30920
30921
30922SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30923 PyObject *resultobj = 0;
30924 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30925 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30926 void *argp1 = 0 ;
30927 int res1 = 0 ;
30928 void *argp2 = 0 ;
30929 int res2 = 0 ;
30930 PyObject * obj0 = 0 ;
30931 PyObject * obj1 = 0 ;
30932 char * kwnames[] = {
30933 (char *) "self",(char *) "bar", NULL
30934 };
30935
30936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30938 if (!SWIG_IsOK(res1)) {
30939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30940 }
30941 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30942 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30943 if (!SWIG_IsOK(res2)) {
30944 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30945 }
30946 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30947 {
30948 PyThreadState* __tstate = wxPyBeginAllowThreads();
30949 (arg1)->SetControlBar(arg2);
30950 wxPyEndAllowThreads(__tstate);
30951 if (PyErr_Occurred()) SWIG_fail;
30952 }
30953 resultobj = SWIG_Py_Void();
30954 return resultobj;
30955fail:
30956 return NULL;
d55e5bfc
RD
30957}
30958
30959
1bd55598
RD
30960SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30961 PyObject *resultobj = 0;
30962 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30963 void *argp1 = 0 ;
30964 int res1 = 0 ;
30965 PyObject *swig_obj[1] ;
30966
30967 if (!args) SWIG_fail;
30968 swig_obj[0] = args;
30969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30970 if (!SWIG_IsOK(res1)) {
30971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30972 }
30973 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30974 {
30975 PyThreadState* __tstate = wxPyBeginAllowThreads();
30976 (arg1)->Initialize();
30977 wxPyEndAllowThreads(__tstate);
30978 if (PyErr_Occurred()) SWIG_fail;
30979 }
30980 resultobj = SWIG_Py_Void();
30981 return resultobj;
30982fail:
30983 return NULL;
d55e5bfc
RD
30984}
30985
30986
1bd55598
RD
30987SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30988 PyObject *resultobj = 0;
30989 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30990 void *argp1 = 0 ;
30991 int res1 = 0 ;
30992 PyObject *swig_obj[1] ;
30993
30994 if (!args) SWIG_fail;
30995 swig_obj[0] = args;
30996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30997 if (!SWIG_IsOK(res1)) {
30998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30999 }
31000 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31001 {
31002 PyThreadState* __tstate = wxPyBeginAllowThreads();
31003 (arg1)->CreateCanvas();
31004 wxPyEndAllowThreads(__tstate);
31005 if (PyErr_Occurred()) SWIG_fail;
31006 }
31007 resultobj = SWIG_Py_Void();
31008 return resultobj;
31009fail:
31010 return NULL;
d55e5bfc
RD
31011}
31012
31013
1bd55598
RD
31014SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31015 PyObject *resultobj = 0;
31016 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31017 void *argp1 = 0 ;
31018 int res1 = 0 ;
31019 PyObject *swig_obj[1] ;
31020
31021 if (!args) SWIG_fail;
31022 swig_obj[0] = args;
31023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31024 if (!SWIG_IsOK(res1)) {
31025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31026 }
31027 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31028 {
31029 PyThreadState* __tstate = wxPyBeginAllowThreads();
31030 (arg1)->CreateControlBar();
31031 wxPyEndAllowThreads(__tstate);
31032 if (PyErr_Occurred()) SWIG_fail;
31033 }
31034 resultobj = SWIG_Py_Void();
31035 return resultobj;
31036fail:
31037 return NULL;
31038}
31039
31040
31041SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31042 PyObject *obj;
31043 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31044 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31045 return SWIG_Py_Void();
31046}
31047
31048SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31049 return SWIG_Python_InitShadowInstance(args);
31050}
31051
31052SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31053 PyObject *resultobj = 0;
31054 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31055 long arg2 ;
31056 wxWindow *arg3 = (wxWindow *) 0 ;
31057 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31058 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31059 wxSize const &arg5_defvalue = wxDefaultSize ;
31060 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31061 long arg6 = (long) 0 ;
31062 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31063 wxString *arg7 = (wxString *) &arg7_defvalue ;
31064 wxPyPreviewControlBar *result = 0 ;
31065 void *argp1 = 0 ;
31066 int res1 = 0 ;
31067 long val2 ;
31068 int ecode2 = 0 ;
31069 void *argp3 = 0 ;
31070 int res3 = 0 ;
31071 wxPoint temp4 ;
31072 wxSize temp5 ;
31073 long val6 ;
31074 int ecode6 = 0 ;
31075 bool temp7 = false ;
31076 PyObject * obj0 = 0 ;
31077 PyObject * obj1 = 0 ;
31078 PyObject * obj2 = 0 ;
31079 PyObject * obj3 = 0 ;
31080 PyObject * obj4 = 0 ;
31081 PyObject * obj5 = 0 ;
31082 PyObject * obj6 = 0 ;
31083 char * kwnames[] = {
31084 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31085 };
31086
31087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31089 if (!SWIG_IsOK(res1)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31091 }
31092 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31093 ecode2 = SWIG_AsVal_long(obj1, &val2);
31094 if (!SWIG_IsOK(ecode2)) {
31095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31096 }
31097 arg2 = static_cast< long >(val2);
31098 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31099 if (!SWIG_IsOK(res3)) {
31100 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31101 }
31102 arg3 = reinterpret_cast< wxWindow * >(argp3);
31103 if (obj3) {
d55e5bfc 31104 {
1bd55598
RD
31105 arg4 = &temp4;
31106 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31107 }
1bd55598
RD
31108 }
31109 if (obj4) {
d55e5bfc 31110 {
1bd55598
RD
31111 arg5 = &temp5;
31112 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 31113 }
1bd55598
RD
31114 }
31115 if (obj5) {
31116 ecode6 = SWIG_AsVal_long(obj5, &val6);
31117 if (!SWIG_IsOK(ecode6)) {
31118 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31119 }
31120 arg6 = static_cast< long >(val6);
31121 }
31122 if (obj6) {
d55e5bfc 31123 {
1bd55598
RD
31124 arg7 = wxString_in_helper(obj6);
31125 if (arg7 == NULL) SWIG_fail;
31126 temp7 = true;
d55e5bfc 31127 }
1bd55598
RD
31128 }
31129 {
31130 if (!wxPyCheckForApp()) SWIG_fail;
31131 PyThreadState* __tstate = wxPyBeginAllowThreads();
31132 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31133 wxPyEndAllowThreads(__tstate);
31134 if (PyErr_Occurred()) SWIG_fail;
31135 }
31136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31137 {
31138 if (temp7)
31139 delete arg7;
31140 }
31141 return resultobj;
31142fail:
31143 {
31144 if (temp7)
31145 delete arg7;
31146 }
31147 return NULL;
31148}
31149
31150
31151SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31152 PyObject *resultobj = 0;
31153 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31154 PyObject *arg2 = (PyObject *) 0 ;
31155 PyObject *arg3 = (PyObject *) 0 ;
31156 void *argp1 = 0 ;
31157 int res1 = 0 ;
31158 PyObject * obj0 = 0 ;
31159 PyObject * obj1 = 0 ;
31160 PyObject * obj2 = 0 ;
31161 char * kwnames[] = {
31162 (char *) "self",(char *) "self",(char *) "_class", NULL
31163 };
31164
31165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31167 if (!SWIG_IsOK(res1)) {
31168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31169 }
31170 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31171 arg2 = obj1;
31172 arg3 = obj2;
31173 {
31174 PyThreadState* __tstate = wxPyBeginAllowThreads();
31175 (arg1)->_setCallbackInfo(arg2,arg3);
31176 wxPyEndAllowThreads(__tstate);
31177 if (PyErr_Occurred()) SWIG_fail;
31178 }
31179 resultobj = SWIG_Py_Void();
31180 return resultobj;
31181fail:
31182 return NULL;
31183}
31184
31185
31186SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31187 PyObject *resultobj = 0;
31188 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31189 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31190 void *argp1 = 0 ;
31191 int res1 = 0 ;
31192 void *argp2 = 0 ;
31193 int res2 = 0 ;
31194 PyObject * obj0 = 0 ;
31195 PyObject * obj1 = 0 ;
31196 char * kwnames[] = {
31197 (char *) "self",(char *) "preview", NULL
31198 };
31199
31200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31202 if (!SWIG_IsOK(res1)) {
31203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31204 }
31205 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31206 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31207 if (!SWIG_IsOK(res2)) {
31208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31209 }
31210 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31211 {
31212 PyThreadState* __tstate = wxPyBeginAllowThreads();
31213 (arg1)->SetPrintPreview(arg2);
31214 wxPyEndAllowThreads(__tstate);
31215 if (PyErr_Occurred()) SWIG_fail;
31216 }
31217 resultobj = SWIG_Py_Void();
31218 return resultobj;
31219fail:
31220 return NULL;
d55e5bfc
RD
31221}
31222
31223
1bd55598
RD
31224SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31225 PyObject *resultobj = 0;
31226 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31227 void *argp1 = 0 ;
31228 int res1 = 0 ;
31229 PyObject *swig_obj[1] ;
31230
31231 if (!args) SWIG_fail;
31232 swig_obj[0] = args;
31233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31234 if (!SWIG_IsOK(res1)) {
31235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31236 }
31237 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31238 {
31239 PyThreadState* __tstate = wxPyBeginAllowThreads();
31240 (arg1)->CreateButtons();
31241 wxPyEndAllowThreads(__tstate);
31242 if (PyErr_Occurred()) SWIG_fail;
31243 }
31244 resultobj = SWIG_Py_Void();
31245 return resultobj;
31246fail:
31247 return NULL;
31248}
31249
31250
31251SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31252 PyObject *resultobj = 0;
31253 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31254 int arg2 ;
31255 void *argp1 = 0 ;
31256 int res1 = 0 ;
31257 int val2 ;
31258 int ecode2 = 0 ;
31259 PyObject * obj0 = 0 ;
31260 PyObject * obj1 = 0 ;
31261 char * kwnames[] = {
31262 (char *) "self",(char *) "zoom", NULL
31263 };
31264
31265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31267 if (!SWIG_IsOK(res1)) {
31268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31269 }
31270 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31271 ecode2 = SWIG_AsVal_int(obj1, &val2);
31272 if (!SWIG_IsOK(ecode2)) {
31273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31274 }
31275 arg2 = static_cast< int >(val2);
31276 {
31277 PyThreadState* __tstate = wxPyBeginAllowThreads();
31278 (arg1)->SetZoomControl(arg2);
31279 wxPyEndAllowThreads(__tstate);
31280 if (PyErr_Occurred()) SWIG_fail;
31281 }
31282 resultobj = SWIG_Py_Void();
31283 return resultobj;
31284fail:
31285 return NULL;
d55e5bfc
RD
31286}
31287
31288
1bd55598
RD
31289SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31290 PyObject *obj;
31291 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31292 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31293 return SWIG_Py_Void();
d55e5bfc
RD
31294}
31295
1bd55598
RD
31296SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31297 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
31298}
31299
d55e5bfc 31300static PyMethodDef SwigMethods[] = {
36ed4f51 31301 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31302 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
36ed4f51 31303 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31304 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
36ed4f51
RD
31305 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
1bd55598 31307 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
36ed4f51 31308 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31309 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31310 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31311 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31313 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31314 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31315 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31316 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
36ed4f51 31317 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31318 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
36ed4f51 31319 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31320 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31321 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
36ed4f51
RD
31322 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31323 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
1bd55598 31324 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
36ed4f51
RD
31325 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31327 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
36ed4f51 31328 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31329 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
36ed4f51
RD
31330 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31331 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31333 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31334 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31335 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
36ed4f51 31336 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31337 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
2131d850 31338 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
1bd55598
RD
31339 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31340 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
36ed4f51
RD
31341 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31344 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
36ed4f51 31345 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31346 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
70d7cb34 31347 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31348 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31349 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31350 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
36ed4f51 31351 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31352 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 31353 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1eeb270e
RD
31354 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31355 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31357 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
36ed4f51
RD
31358 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31359 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31360 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
36ed4f51 31361 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31362 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
36ed4f51 31363 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31364 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
36ed4f51
RD
31365 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31366 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31367 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
36ed4f51
RD
31368 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31370 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31371 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31372 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31373 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31374 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
36ed4f51 31375 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31376 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
36ed4f51
RD
31377 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31378 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31379 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31380 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31381 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
1bd55598 31382 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
36ed4f51 31383 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31384 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
36ed4f51
RD
31385 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31387 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 31388 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31389 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 31390 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31391 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
36ed4f51 31392 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
31393 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31394 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 31395 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31396 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31397 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
36ed4f51
RD
31398 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31399 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31400 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
1bd55598 31401 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31402 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31403 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
36ed4f51
RD
31404 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31406 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31407 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31409 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
36ed4f51 31410 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31411 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31412 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31413 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31414 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31415 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
36ed4f51 31416 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
1bd55598 31417 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
36ed4f51 31418 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31419 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
36ed4f51
RD
31420 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31422 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
36ed4f51
RD
31423 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31429 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31431 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31432 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
36ed4f51
RD
31433 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
1bd55598 31435 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
36ed4f51 31436 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31437 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
36ed4f51 31438 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31439 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31440 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
36ed4f51 31441 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31442 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
36ed4f51
RD
31443 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31444 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31446 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31447 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31448 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31449 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
36ed4f51
RD
31450 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31452 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31453 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
36ed4f51 31454 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31455 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
36ed4f51 31456 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31457 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
36ed4f51 31458 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31459 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
36ed4f51 31460 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31461 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
36ed4f51 31462 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31463 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
36ed4f51
RD
31464 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31466 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31467 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31468 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31469 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31470 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31471 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31472 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
36ed4f51 31473 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31474 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31475 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31476 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
36ed4f51
RD
31477 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31478 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31479 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31480 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31481 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31482 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31483 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31484 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
36ed4f51 31485 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31486 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
36ed4f51
RD
31487 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31489 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31490 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
36ed4f51
RD
31491 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31493 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31494 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
36ed4f51 31495 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31496 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
36ed4f51 31497 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31498 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31499 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31500 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31501 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
36ed4f51 31502 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31503 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
36ed4f51 31504 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31505 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
36ed4f51 31506 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31507 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31508 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31509 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31510 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
36ed4f51 31511 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31512 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
36ed4f51 31513 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31514 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
36ed4f51 31515 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31516 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
36ed4f51 31517 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31518 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
36ed4f51 31519 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31520 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31521 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31523 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
36ed4f51 31524 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31525 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
36ed4f51 31526 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31527 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31528 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31529 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
36ed4f51 31530 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31531 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31532 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
36ed4f51
RD
31533 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31535 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31536 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31537 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31538 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31539 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
36ed4f51
RD
31540 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31541 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31542 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
1bd55598 31544 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
36ed4f51 31545 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31546 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
36ed4f51 31547 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31548 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31549 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31550 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
36ed4f51 31551 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31552 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31553 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31555 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
36ed4f51 31556 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31557 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31558 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31559 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31560 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31563 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31564 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31566 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31568 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31569 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31570 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31571 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
7993762b 31572 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31573 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31574 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31575 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31577 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31578 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31579 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31580 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
36ed4f51
RD
31581 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31583 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31584 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31585 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
36ed4f51
RD
31586 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31587 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31588 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31589 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
36ed4f51 31590 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31591 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31592 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
36ed4f51 31593 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31594 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
36ed4f51
RD
31595 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31599 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31600 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
36ed4f51
RD
31601 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
31604 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31606 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
1bd55598 31607 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
36ed4f51 31608 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31609 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
36ed4f51
RD
31610 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31612 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31613 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 31614 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31615 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31616 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31617 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31618 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
36ed4f51 31619 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31620 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31621 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31622 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
36ed4f51 31623 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31624 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
36ed4f51
RD
31625 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
1bd55598 31627 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31628 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31630 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31631 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31632 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31633 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31634 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
36ed4f51
RD
31635 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31637 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
1bd55598 31640 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
36ed4f51 31641 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31642 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
36ed4f51 31643 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31644 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31645 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31646 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31647 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31648 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
36ed4f51
RD
31649 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31650 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31651 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31652 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31653 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31654 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31655 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31656 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31659 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31660 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31661 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31662 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31663 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31664 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
1bd55598
RD
31665 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31666 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31667 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
36ed4f51 31668 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31669 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31670 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31672 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
36ed4f51 31673 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31674 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31675 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31676 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31677 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
36ed4f51
RD
31678 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31680 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31681 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31682 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
36ed4f51
RD
31683 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31684 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31685 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31686 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31688 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
31689 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31691 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31692 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
1bd55598
RD
31693 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31694 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
36ed4f51 31695 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31696 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31697 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31698 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31699 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31700 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31701 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
36ed4f51
RD
31702 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
1bd55598 31709 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
36ed4f51 31710 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31711 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
36ed4f51 31712 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31713 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31714 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31715 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31716 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31717 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31718 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31719 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
6b449b19 31720 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31721 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
36ed4f51 31722 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31723 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31724 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31725 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31726 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31727 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31728 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
36ed4f51
RD
31729 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31733 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31734 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31735 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31736 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31737 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31738 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
36ed4f51
RD
31739 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
1bd55598 31743 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
36ed4f51 31744 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31745 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
36ed4f51 31746 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31747 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
36ed4f51
RD
31748 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31750 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31751 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31752 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
36ed4f51 31753 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31754 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31755 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31756 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31757 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31758 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31759 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
36ed4f51
RD
31760 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31761 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31762 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31763 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31764 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
36ed4f51 31765 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31766 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
36ed4f51 31767 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31768 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31769 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31770 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
36ed4f51
RD
31771 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31773 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31774 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31775 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
36ed4f51
RD
31776 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31778 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31779 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31780 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31781 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31783 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31784 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31785 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31786 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31787 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31788 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31789 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 31790 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31791 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31792 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31793 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
36ed4f51
RD
31794 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31796 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31797 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31801 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31802 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31803 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31804 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31805 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31806 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31807 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
36ed4f51 31808 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
1bd55598 31809 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
36ed4f51 31810 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31811 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31812 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31814 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31815 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31819 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31820 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31821 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31822 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31823 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31824 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31825 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 31826 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31827 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31828 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
1bd55598
RD
31829 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31830 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31831 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31832 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
b39fe951 31833 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
1bd55598
RD
31834 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31835 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31836 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31837 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31838 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31839 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31840 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31841 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
36ed4f51
RD
31842 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31851 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31852 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31853 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
36ed4f51 31854 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31855 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
7fbf8399 31856 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31857 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
1bd55598 31858 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
36ed4f51 31859 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
1bd55598 31860 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
36ed4f51
RD
31861 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31862 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31863 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31864 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31866 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31867 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31868 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31869 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31870 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31871 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31872 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31873 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31874 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31875 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31876 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31877 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31878 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31879 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
b39fe951 31880 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
36ed4f51
RD
31881 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31890 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31891 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
36ed4f51 31892 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 31893 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 31894 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 31895 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
1bd55598
RD
31896 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31897 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31898 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
36ed4f51 31899 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31900 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31901 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
1bd55598
RD
31902 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31903 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31904 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31905 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31906 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31907 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31908 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31909 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31910 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31911 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
36ed4f51
RD
31912 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31913 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31914 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31915 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31917 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31923 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31924 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31925 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31926 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31927 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31928 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
b39fe951 31929 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
1bd55598 31930 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
36ed4f51
RD
31931 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 31933 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 31934 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 31935 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
1bd55598
RD
31936 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31937 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31938 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31939 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
36ed4f51 31940 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31941 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31942 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31943 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
36ed4f51
RD
31944 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31949 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31950 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31951 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
36ed4f51 31952 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
1bd55598 31953 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
36ed4f51 31954 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31955 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
36ed4f51 31956 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31957 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31958 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
36ed4f51 31959 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
70d7cb34
RD
31960 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31962 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
31964 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
31965 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
31967 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
31968 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
31969 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
31971 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31972 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31973 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
36ed4f51 31974 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31975 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
36ed4f51 31976 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31977 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
36ed4f51 31978 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31979 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
70d7cb34
RD
31980 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
1bd55598 31982 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
36ed4f51 31983 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 31984 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31985 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31986 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31987 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31988 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
7f7aa166 31989 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31990 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
36ed4f51 31991 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
1bd55598 31992 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31993 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
1bd55598 31995 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
36ed4f51 31996 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31997 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31998 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31999 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32000 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
36ed4f51 32001 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32002 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 32003 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32004 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
36ed4f51 32005 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32006 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32007 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32008 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32009 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32010 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32011 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
36ed4f51 32012 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 32013 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
36ed4f51 32014 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
1bd55598 32015 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
36ed4f51 32016 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32017 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
36ed4f51 32018 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32019 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32020 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
36ed4f51
RD
32021 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32023 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32024 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
36ed4f51
RD
32025 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32029 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
36ed4f51 32030 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32031 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32032 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32033 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
b39fe951 32034 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
36ed4f51
RD
32035 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32036 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32037 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
36ed4f51 32038 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 32039 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32040 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32041 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32042 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 32043 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32044 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32048 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32049 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32050 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
36ed4f51 32051 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32052 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32053 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32056 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
7f7aa166 32057 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32058 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 32059 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c370783e 32060 { NULL, NULL, 0, NULL }
d55e5bfc
RD
32061};
32062
32063
32064/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32065
32066static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32067 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32068}
32069static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32070 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32071}
32072static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32073 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32074}
32075static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32076 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32077}
32078static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32079 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32080}
32081static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32082 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32083}
32084static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32085 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32086}
32087static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32088 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32089}
32090static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32091 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32092}
32093static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32094 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32095}
32096static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32097 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32098}
d55e5bfc
RD
32099static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32101}
34e0a3bb
RD
32102static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32103 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32104}
2131d850
RD
32105static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32106 return (void *)((wxEvent *) ((wxPyEvent *) x));
32107}
d55e5bfc
RD
32108static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32109 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32110}
32111static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32112 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32113}
32114static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32115 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32116}
32117static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32118 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32119}
32120static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32121 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32122}
32123static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32124 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32125}
32126static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32127 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32128}
32129static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32130 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32131}
32132static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32133 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32134}
53aa7709
RD
32135static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32136 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32137}
d55e5bfc
RD
32138static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32139 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32140}
32141static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32142 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32143}
34e0a3bb
RD
32144static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32145 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32146}
d55e5bfc
RD
32147static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32148 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32149}
32150static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32151 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32152}
32153static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32154 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32155}
32156static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32157 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32158}
32159static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32160 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32161}
32162static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32163 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32164}
32165static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32166 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32167}
32168static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32169 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32170}
32171static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32172 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32173}
32174static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32175 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32176}
32177static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32178 return (void *)((wxEvent *) ((wxShowEvent *) x));
32179}
32180static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32181 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32182}
32183static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32184 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32185}
32186static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32187 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32188}
32189static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32190 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32191}
32192static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32193 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32194}
32195static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32196 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32197}
32198static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32199 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32200}
32201static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32202 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32203}
070c48b4
RD
32204static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32205 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32206}
d55e5bfc
RD
32207static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32209}
32210static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32212}
32213static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32214 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32215}
32216static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32217 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32218}
32219static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32220 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32221}
32222static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32223 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32224}
32225static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32226 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32227}
070c48b4
RD
32228static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32229 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32230}
d55e5bfc
RD
32231static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32232 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32233}
32234static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32235 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32236}
32237static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32238 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32239}
32240static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32241 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32242}
27e45892
RD
32243static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32245}
d55e5bfc
RD
32246static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32247 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32248}
32249static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32251}
32252static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32253 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32254}
32255static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32256 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32257}
32258static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32259 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32260}
32261static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32262 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32263}
32264static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32265 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32266}
32267static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32268 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32269}
32270static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32271 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32272}
32273static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32274 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32275}
32276static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32277 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32278}
32279static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32280 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32281}
32282static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32283 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32284}
32285static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32286 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32287}
32288static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32289 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32290}
32291static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32292 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32293}
32294static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32295 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32296}
32297static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32298 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32299}
32300static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32301 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32302}
32303static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32304 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32305}
32306static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32307 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32308}
32309static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32310 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32311}
32312static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32313 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32314}
32315static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32316 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32317}
32318static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32319 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32320}
32321static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32322 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32323}
32324static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32325 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32326}
32327static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32328 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32329}
32330static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32331 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32332}
32333static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32334 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32335}
5e483524
RD
32336static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32337 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32338}
32339static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32340 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32341}
d55e5bfc
RD
32342static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32343 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32344}
32345static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32346 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32347}
32348static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32349 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32350}
070c48b4
RD
32351static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32352 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32353}
d55e5bfc
RD
32354static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32355 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32356}
32357static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32358 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32359}
32360static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32361 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32362}
32363static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32364 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32365}
32366static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
32367 return (void *)((wxFrame *) ((wxTipWindow *) x));
32368}
32369static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32370 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32371}
32372static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32373 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32374}
32375static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32376 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32377}
32378static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32379 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32380}
32381static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32382 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32383}
32384static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32385 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32386}
32387static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32388 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32389}
32390static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32392}
32393static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32395}
d55e5bfc
RD
32396static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32397 return (void *)((wxObject *) ((wxSizerItem *) x));
32398}
34e0a3bb
RD
32399static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32400 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32401}
d55e5bfc
RD
32402static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32403 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32404}
32405static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32406 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32407}
32408static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32409 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32410}
32411static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32412 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32413}
32414static void *_p_wxSizerTo_p_wxObject(void *x) {
32415 return (void *)((wxObject *) ((wxSizer *) x));
32416}
32417static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32418 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32419}
32420static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32421 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32422}
32423static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32425}
32426static void *_p_wxEventTo_p_wxObject(void *x) {
32427 return (void *)((wxObject *) ((wxEvent *) x));
32428}
32429static void *_p_wxFontDataTo_p_wxObject(void *x) {
32430 return (void *)((wxObject *) ((wxFontData *) x));
32431}
32432static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32433 return (void *)((wxObject *) ((wxPrintData *) x));
32434}
32435static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32436 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32437}
32438static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32439 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32440}
32441static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32442 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32443}
32444static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32445 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32446}
5e483524
RD
32447static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32448 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32449}
32450static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32451 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32452}
2131d850
RD
32453static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32454 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32455}
d55e5bfc
RD
32456static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32457 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32458}
32459static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32460 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32461}
32462static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32463 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32464}
32465static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32466 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32467}
32468static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32469 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32470}
32471static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32472 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32473}
32474static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32476}
32477static void *_p_wxControlTo_p_wxObject(void *x) {
32478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32479}
32480static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32481 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32482}
32483static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32484 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32485}
32486static void *_p_wxFSFileTo_p_wxObject(void *x) {
32487 return (void *)((wxObject *) ((wxFSFile *) x));
32488}
32489static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32490 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32491}
32492static void *_p_wxPySizerTo_p_wxObject(void *x) {
32493 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32494}
32495static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32497}
32498static void *_p_wxColourDataTo_p_wxObject(void *x) {
32499 return (void *)((wxObject *) ((wxColourData *) x));
32500}
32501static void *_p_wxPyEventTo_p_wxObject(void *x) {
32502 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32503}
32504static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32505 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32506}
32507static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32509}
32510static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32512}
32513static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32515}
32516static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32518}
32519static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32521}
32522static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32524}
070c48b4
RD
32525static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32527}
27e45892
RD
32528static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32530}
d55e5bfc
RD
32531static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32533}
32534static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32536}
32537static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32539}
32540static void *_p_wxShowEventTo_p_wxObject(void *x) {
32541 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32542}
32543static void *_p_wxPrinterTo_p_wxObject(void *x) {
32544 return (void *)((wxObject *) ((wxPrinter *) x));
32545}
32546static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32547 return (void *)((wxObject *) ((wxMenuItem *) x));
32548}
53aa7709
RD
32549static void *_p_wxDateEventTo_p_wxObject(void *x) {
32550 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32551}
d55e5bfc
RD
32552static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32553 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32554}
32555static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32556 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32557}
32558static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32559 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32560}
32561static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32562 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32563}
32564static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32565 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32566}
32567static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32568 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32569}
32570static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32571 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32572}
32573static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32574 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32575}
d55e5bfc
RD
32576static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32577 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32578}
32579static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32580 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32581}
32582static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32583 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32584}
32585static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32586 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32587}
32588static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32589 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32590}
32591static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32592 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32593}
32594static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32595 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32596}
32597static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32598 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32599}
32600static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32601 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32602}
943e8dfd
RD
32603static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32604 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32605}
d55e5bfc
RD
32606static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32607 return (void *)((wxObject *) ((wxImageHandler *) x));
32608}
943e8dfd
RD
32609static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32610 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32611}
d55e5bfc
RD
32612static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32613 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32614}
32615static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32616 return (void *)((wxObject *) ((wxEvtHandler *) x));
32617}
34e0a3bb
RD
32618static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32619 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32620}
d55e5bfc
RD
32621static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32622 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32623}
32624static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32626}
32627static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32629}
62d32a5f
RD
32630static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32631 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32632}
d55e5bfc
RD
32633static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32634 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32635}
32636static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32638}
32639static void *_p_wxImageTo_p_wxObject(void *x) {
32640 return (void *)((wxObject *) ((wxImage *) x));
32641}
32642static void *_p_wxFrameTo_p_wxObject(void *x) {
32643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32644}
32645static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32646 return (void *)((wxObject *) ((wxPyPrintout *) x));
32647}
32648static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32649 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32650}
32651static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32652 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32653}
32654static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32656}
32657static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32659}
32660static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32661 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32662}
32663static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32664 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32665}
32666static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32667 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32668}
32669static void *_p_wxWindowTo_p_wxObject(void *x) {
32670 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32671}
32672static void *_p_wxMenuTo_p_wxObject(void *x) {
32673 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32674}
32675static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32677}
32678static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32680}
32681static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32683}
32684static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32686}
32687static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32689}
32690static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32692}
32693static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32695}
32696static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32698}
32699static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32701}
32702static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32704}
32705static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32707}
32708static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32710}
32711static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32713}
32714static void *_p_wxSashEventTo_p_wxObject(void *x) {
32715 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32716}
32717static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32718 return (void *)((wxObject *) ((wxPrintPreview *) x));
32719}
32720static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32721 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32722}
32723static void *_p_wxPanelTo_p_wxObject(void *x) {
32724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32725}
32726static void *_p_wxDialogTo_p_wxObject(void *x) {
32727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32728}
32729static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32731}
32732static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32734}
32735static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32737}
32738static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 32739 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
32740}
32741static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 32742 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
32743}
32744static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32745 return (void *)((wxObject *) ((wxFileSystem *) x));
32746}
32747static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32748 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32749}
32750static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32751 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32752}
32753static void *_p_wxPyAppTo_p_wxObject(void *x) {
32754 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32755}
32756static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32757 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32758}
32759static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32760 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32761}
32762static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32763 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32764}
32765static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32767}
32768static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32769 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32770}
32771static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32773}
32774static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32776}
32777static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32778 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32779}
32780static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32781 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32782}
32783static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32784 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32785}
32786static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32788}
32789static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32790 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32791}
32792static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32793 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32794}
32795static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32796 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32797}
32798static void *_p_wxValidatorTo_p_wxObject(void *x) {
32799 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32800}
32801static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32802 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32803}
32804static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32805 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32806}
32807static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32808 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32809}
32810static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32811 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32812}
32813static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32814 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32815}
32816static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32817 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32818}
32819static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32820 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32821}
32822static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32823 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32824}
32825static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32826 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32827}
32828static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32829 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32830}
d55e5bfc
RD
32831static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32832 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32833}
32834static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
32835 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
32836}
32837static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32838 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32839}
32840static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32841 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32842}
27e45892
RD
32843static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32844 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
d55e5bfc 32845}
070c48b4
RD
32846static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32847 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32848}
d55e5bfc
RD
32849static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32850 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32851}
32852static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32853 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32854}
32855static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32856 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32857}
32858static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32859 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32860}
27e45892
RD
32861static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32862 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32863}
070c48b4
RD
32864static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32865 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32866}
d55e5bfc
RD
32867static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32868 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32869}
32870static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32871 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32872}
32873static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32874 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32875}
32876static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32877 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32878}
32879static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32880 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32881}
32882static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32883 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32884}
32885static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32886 return (void *)((wxWindow *) ((wxMenuBar *) x));
32887}
32888static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32889 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32890}
32891static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32892 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32893}
32894static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32895 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32896}
27e45892
RD
32897static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32898 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32899}
070c48b4
RD
32900static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32901 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32902}
d55e5bfc
RD
32903static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32904 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32905}
32906static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32907 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32908}
32909static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32910 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32911}
32912static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32913 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32914}
32915static void *_p_wxPanelTo_p_wxWindow(void *x) {
32916 return (void *)((wxWindow *) ((wxPanel *) x));
32917}
32918static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32919 return (void *)((wxWindow *) ((wxStatusBar *) x));
32920}
d55e5bfc
RD
32921static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32922 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32923}
32924static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32925 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32926}
32927static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32928 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32929}
32930static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32931 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32932}
32933static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32934 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32935}
32936static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32937 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32938}
32939static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32940 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32941}
32942static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32943 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32944}
32945static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32946 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32947}
32948static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32949 return (void *)((wxWindow *) ((wxSashWindow *) x));
32950}
070c48b4
RD
32951static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32952 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32953}
d55e5bfc
RD
32954static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32955 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32956}
32957static void *_p_wxControlTo_p_wxWindow(void *x) {
32958 return (void *)((wxWindow *) ((wxControl *) x));
32959}
32960static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32961 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32962}
32963static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32964 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32965}
32966static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32967 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32968}
32969static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32970 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32971}
32972static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32973 return (void *)((wxWindow *) ((wxPyWindow *) x));
32974}
32975static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32976 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32977}
32978static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32979 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32980}
32981static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32982 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32983}
32984static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32985 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32986}
32987static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32988 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32989}
32990static void *_p_wxFrameTo_p_wxWindow(void *x) {
32991 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32992}
32993static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32994 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32995}
32996static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32997 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32998}
32999static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33000 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33001}
33002static void *_p_wxDialogTo_p_wxWindow(void *x) {
33003 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33004}
d55e5bfc
RD
33005static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33006 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33007}
33008static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33009 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33010}
33011static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33012 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33013}
33014static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33015 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33016}
33017static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33018 return (void *)((wxDialog *) ((wxColourDialog *) x));
33019}
33020static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33021 return (void *)((wxDialog *) ((wxDirDialog *) x));
33022}
33023static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33024 return (void *)((wxDialog *) ((wxFontDialog *) x));
33025}
d55e5bfc
RD
33026static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33027 return (void *)((wxDialog *) ((wxFileDialog *) x));
33028}
33029static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33030 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33031}
33032static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33033 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33034}
33035static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33036 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33037}
070c48b4
RD
33038static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33039 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33040}
27e45892
RD
33041static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33042 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33043}
d55e5bfc
RD
33044static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33045 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33046}
33047static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33048 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33049}
33050static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33051 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33052}
33053static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33054 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33055}
33056static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33057 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33058}
33059static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33060 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33061}
33062static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33063 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33064}
33065static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33066 return (void *)((wxPanel *) ((wxPyPanel *) x));
33067}
33068static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33069 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33070}
33071static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33072 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33073}
33074static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33075 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33076}
33077static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33078 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33079}
33080static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33081 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33082}
33083static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33084 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33085}
53aa7709
RD
33086static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33087 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33088}
d55e5bfc
RD
33089static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33090 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33091}
2131d850
RD
33092static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33093 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33094}
d55e5bfc
RD
33095static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33096 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33097}
33098static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33099 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33100}
33101static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33102 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33103}
33104static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33105 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33106}
33107static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33108 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33109}
33110static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33111 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33112}
33113static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33114 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33115}
33116static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33117 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33118}
2131d850 33119static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
1bd55598
RD
33120static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33121static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
33122static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33123static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33124static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33125static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33126static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33127static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33128static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33129static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33130static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33131static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33132static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
33133static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33134static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
1bd55598 33135static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
33136static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33137static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33138static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33139static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33140static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33141static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33142static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33143static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33144static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33145static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33146static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33147static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33148static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33149static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33150static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33151static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33152static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33153static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 33154static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33155static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33156static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33157static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33158static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33159static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33160static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33161static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33162static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33163static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33164static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33165static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33166static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33167static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33168static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33169static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33170static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33171static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33172static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33173static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33174static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33175static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33176static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33177static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33178static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33179static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33180static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33181static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33182static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33183static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33184static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33185static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33186static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33187static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 33188static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
1bd55598
RD
33189static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33190static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33191static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33192static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33193static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33194static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33195static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33196static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33197static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33198static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33199static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33200static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 33201static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
1bd55598
RD
33202static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33203static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
1bd55598 33204static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 33205static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
1bd55598
RD
33206static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33207static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33208static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33209static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33210static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33211static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33212static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33213static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33214static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33215static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
1bd55598
RD
33216static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33217static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33218static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33219static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33220static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33221static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33222static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33223static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33224static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 33225static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 33226static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
1bd55598
RD
33227static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33228static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33229static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33230static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33231static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33232static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33233static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33234static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33235static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33236static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33237static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33238static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33239static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33240static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33241static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33242static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33243static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33244static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33245static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33246static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33247static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33248static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33249static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33250static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33251static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33252static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33253static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33254static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33255static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33256static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33257static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33258static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33259static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33260static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33261static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33262static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33263static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33264static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33265static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33266static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33267static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33268static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33269static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33270static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33271static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33272static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33273static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33274static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33275static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33276static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33277static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33278static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33279static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33280static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33281static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33282static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33283static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
33284
33285static swig_type_info *swig_type_initial[] = {
2131d850 33286 &_swigt__p_bool,
32fe5131
RD
33287 &_swigt__p_char,
33288 &_swigt__p_form_ops_t,
33289 &_swigt__p_int,
33290 &_swigt__p_unsigned_char,
33291 &_swigt__p_unsigned_int,
33292 &_swigt__p_unsigned_long,
33293 &_swigt__p_wxANIHandler,
33294 &_swigt__p_wxAcceleratorTable,
33295 &_swigt__p_wxActivateEvent,
33296 &_swigt__p_wxArrayInt,
33297 &_swigt__p_wxBMPHandler,
33298 &_swigt__p_wxBitmap,
33299 &_swigt__p_wxBoxSizer,
33300 &_swigt__p_wxCURHandler,
33301 &_swigt__p_wxCalculateLayoutEvent,
33302 &_swigt__p_wxChildFocusEvent,
2131d850 33303 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
33304 &_swigt__p_wxCloseEvent,
33305 &_swigt__p_wxColour,
33306 &_swigt__p_wxColourData,
33307 &_swigt__p_wxColourDialog,
33308 &_swigt__p_wxCommandEvent,
33309 &_swigt__p_wxContextMenuEvent,
33310 &_swigt__p_wxControl,
33311 &_swigt__p_wxControlWithItems,
33312 &_swigt__p_wxDC,
33313 &_swigt__p_wxDateEvent,
33314 &_swigt__p_wxDialog,
33315 &_swigt__p_wxDirDialog,
33316 &_swigt__p_wxDisplayChangedEvent,
33317 &_swigt__p_wxDropFilesEvent,
33318 &_swigt__p_wxDuplexMode,
33319 &_swigt__p_wxEraseEvent,
33320 &_swigt__p_wxEvent,
33321 &_swigt__p_wxEvtHandler,
33322 &_swigt__p_wxFSFile,
33323 &_swigt__p_wxFileDialog,
33324 &_swigt__p_wxFileSystem,
33325 &_swigt__p_wxFindDialogEvent,
33326 &_swigt__p_wxFindReplaceData,
33327 &_swigt__p_wxFindReplaceDialog,
33328 &_swigt__p_wxFlexGridSizer,
33329 &_swigt__p_wxFocusEvent,
33330 &_swigt__p_wxFont,
33331 &_swigt__p_wxFontData,
33332 &_swigt__p_wxFontDialog,
33333 &_swigt__p_wxFrame,
33334 &_swigt__p_wxGBSizerItem,
33335 &_swigt__p_wxGIFHandler,
33336 &_swigt__p_wxGridBagSizer,
33337 &_swigt__p_wxGridSizer,
e9d6f3a4 33338 &_swigt__p_wxHtmlLinkInfo,
32fe5131
RD
33339 &_swigt__p_wxICOHandler,
33340 &_swigt__p_wxIcon,
33341 &_swigt__p_wxIconBundle,
33342 &_swigt__p_wxIconizeEvent,
33343 &_swigt__p_wxIdleEvent,
33344 &_swigt__p_wxImage,
33345 &_swigt__p_wxImageHandler,
33346 &_swigt__p_wxIndividualLayoutConstraint,
33347 &_swigt__p_wxInitDialogEvent,
33348 &_swigt__p_wxJPEGHandler,
33349 &_swigt__p_wxKeyEvent,
33350 &_swigt__p_wxLayoutAlgorithm,
33351 &_swigt__p_wxLayoutConstraints,
33352 &_swigt__p_wxMDIChildFrame,
33353 &_swigt__p_wxMDIClientWindow,
33354 &_swigt__p_wxMDIParentFrame,
33355 &_swigt__p_wxMaximizeEvent,
33356 &_swigt__p_wxMenu,
33357 &_swigt__p_wxMenuBar,
33358 &_swigt__p_wxMenuEvent,
33359 &_swigt__p_wxMenuItem,
33360 &_swigt__p_wxMessageDialog,
33361 &_swigt__p_wxMiniFrame,
33362 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 33363 &_swigt__p_wxMouseCaptureLostEvent,
32fe5131
RD
33364 &_swigt__p_wxMouseEvent,
33365 &_swigt__p_wxMoveEvent,
33366 &_swigt__p_wxMultiChoiceDialog,
33367 &_swigt__p_wxNavigationKeyEvent,
33368 &_swigt__p_wxNcPaintEvent,
33369 &_swigt__p_wxNotifyEvent,
27e45892 33370 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
33371 &_swigt__p_wxObject,
33372 &_swigt__p_wxPCXHandler,
33373 &_swigt__p_wxPNGHandler,
33374 &_swigt__p_wxPNMHandler,
33375 &_swigt__p_wxPageSetupDialog,
33376 &_swigt__p_wxPageSetupDialogData,
33377 &_swigt__p_wxPaintEvent,
33378 &_swigt__p_wxPaletteChangedEvent,
33379 &_swigt__p_wxPanel,
33380 &_swigt__p_wxPaperSize,
33381 &_swigt__p_wxPasswordEntryDialog,
33382 &_swigt__p_wxPoint,
33383 &_swigt__p_wxPopupWindow,
33384 &_swigt__p_wxPreviewCanvas,
33385 &_swigt__p_wxPreviewControlBar,
33386 &_swigt__p_wxPreviewFrame,
33387 &_swigt__p_wxPrintData,
33388 &_swigt__p_wxPrintDialog,
33389 &_swigt__p_wxPrintDialogData,
33390 &_swigt__p_wxPrintPreview,
33391 &_swigt__p_wxPrinter,
33392 &_swigt__p_wxProgressDialog,
33393 &_swigt__p_wxPyApp,
33394 &_swigt__p_wxPyCommandEvent,
33395 &_swigt__p_wxPyEvent,
33396 &_swigt__p_wxPyHtmlListBox,
33397 &_swigt__p_wxPyImageHandler,
33398 &_swigt__p_wxPyPanel,
33399 &_swigt__p_wxPyPopupTransientWindow,
33400 &_swigt__p_wxPyPreviewControlBar,
33401 &_swigt__p_wxPyPreviewFrame,
33402 &_swigt__p_wxPyPrintPreview,
33403 &_swigt__p_wxPyPrintout,
33404 &_swigt__p_wxPyScrolledWindow,
33405 &_swigt__p_wxPySizer,
33406 &_swigt__p_wxPyTaskBarIcon,
33407 &_swigt__p_wxPyVListBox,
33408 &_swigt__p_wxPyVScrolledWindow,
33409 &_swigt__p_wxPyValidator,
33410 &_swigt__p_wxPyWindow,
33411 &_swigt__p_wxQueryLayoutInfoEvent,
33412 &_swigt__p_wxQueryNewPaletteEvent,
33413 &_swigt__p_wxRect,
33414 &_swigt__p_wxRegion,
33415 &_swigt__p_wxSashEvent,
33416 &_swigt__p_wxSashLayoutWindow,
33417 &_swigt__p_wxSashWindow,
33418 &_swigt__p_wxScrollEvent,
33419 &_swigt__p_wxScrollWinEvent,
33420 &_swigt__p_wxScrolledWindow,
33421 &_swigt__p_wxSetCursorEvent,
33422 &_swigt__p_wxShowEvent,
33423 &_swigt__p_wxSingleChoiceDialog,
33424 &_swigt__p_wxSize,
33425 &_swigt__p_wxSizeEvent,
33426 &_swigt__p_wxSizer,
33427 &_swigt__p_wxSizerItem,
33428 &_swigt__p_wxSplashScreen,
33429 &_swigt__p_wxSplashScreenWindow,
33430 &_swigt__p_wxSplitterEvent,
33431 &_swigt__p_wxSplitterWindow,
33432 &_swigt__p_wxStaticBoxSizer,
33433 &_swigt__p_wxStatusBar,
33434 &_swigt__p_wxStdDialogButtonSizer,
33435 &_swigt__p_wxString,
33436 &_swigt__p_wxSysColourChangedEvent,
33437 &_swigt__p_wxTIFFHandler,
33438 &_swigt__p_wxTaskBarIcon,
33439 &_swigt__p_wxTaskBarIconEvent,
33440 &_swigt__p_wxTextEntryDialog,
33441 &_swigt__p_wxTipWindow,
33442 &_swigt__p_wxToolBar,
33443 &_swigt__p_wxTopLevelWindow,
33444 &_swigt__p_wxUpdateUIEvent,
33445 &_swigt__p_wxValidator,
33446 &_swigt__p_wxVisualAttributes,
33447 &_swigt__p_wxWindow,
33448 &_swigt__p_wxWindowCreateEvent,
33449 &_swigt__p_wxWindowDestroyEvent,
33450 &_swigt__p_wxXPMHandler,
32fe5131
RD
33451};
33452
2131d850 33453static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33454static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33455static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33456static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33457static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33458static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33459static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33460static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33461static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33462static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33463static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33464static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33465static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33466static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33467static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33468static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33469static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33470static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33471static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33472static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33473static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33474static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33475static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32fe5131 33476static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33477static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33478static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33479static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33480static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33481static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33482static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33483static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33484static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33485static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33486static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33487static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33488static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33489static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33490static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33491static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33492static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33493static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33494static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33495static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33496static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33497static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33498static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33499static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33500static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33501static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33502static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33503static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33504static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33505static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33506static 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_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33507static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33508static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33509static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33510static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33511static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33512static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33513static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33514static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33515static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33516static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33517static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33518static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33519static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33520static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33521static 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_wxTipWindow, _p_wxTipWindowTo_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 33522static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33523static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33524static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33525static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33526static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33527static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33528static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33529static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33530static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33531static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33532static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33533static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33534static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33535static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33536static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33537static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33538static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33539static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33540static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33541static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33542static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33543static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33544static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33545static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33546static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33547static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33548static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33549static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33550static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33551static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33552static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33553static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33554static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33555static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33556static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33557static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33558static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33559static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33560static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33561static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33562static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33563static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33564static 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_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33565static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33566static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33567static 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}};
33568static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33569static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33570static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33571static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
33572static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33573static 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}};
33574static 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}};
33575static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33576static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33577static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33578static 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}};
33579static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33580static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33581static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33582static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33583static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
33584static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33585static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33586static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33587static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33588static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33589static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33590static 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}};
33591static 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}};
33592static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33593static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33594static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33595static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33596static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33597static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33598static 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}};
33599static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33600static 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}};
33601static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33602static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33603static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33604static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33605static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33606static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33607static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33608static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33609static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33610static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33611static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33612static 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}};
33613static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33614static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33615static 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_wxTipWindow, _p_wxTipWindowTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32fe5131 33616static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33617static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33618
33619static swig_cast_info *swig_cast_initial[] = {
2131d850 33620 _swigc__p_bool,
32fe5131
RD
33621 _swigc__p_char,
33622 _swigc__p_form_ops_t,
33623 _swigc__p_int,
33624 _swigc__p_unsigned_char,
33625 _swigc__p_unsigned_int,
33626 _swigc__p_unsigned_long,
33627 _swigc__p_wxANIHandler,
33628 _swigc__p_wxAcceleratorTable,
33629 _swigc__p_wxActivateEvent,
33630 _swigc__p_wxArrayInt,
33631 _swigc__p_wxBMPHandler,
33632 _swigc__p_wxBitmap,
33633 _swigc__p_wxBoxSizer,
33634 _swigc__p_wxCURHandler,
33635 _swigc__p_wxCalculateLayoutEvent,
33636 _swigc__p_wxChildFocusEvent,
2131d850 33637 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
33638 _swigc__p_wxCloseEvent,
33639 _swigc__p_wxColour,
33640 _swigc__p_wxColourData,
33641 _swigc__p_wxColourDialog,
33642 _swigc__p_wxCommandEvent,
33643 _swigc__p_wxContextMenuEvent,
33644 _swigc__p_wxControl,
33645 _swigc__p_wxControlWithItems,
33646 _swigc__p_wxDC,
33647 _swigc__p_wxDateEvent,
33648 _swigc__p_wxDialog,
33649 _swigc__p_wxDirDialog,
33650 _swigc__p_wxDisplayChangedEvent,
33651 _swigc__p_wxDropFilesEvent,
33652 _swigc__p_wxDuplexMode,
33653 _swigc__p_wxEraseEvent,
33654 _swigc__p_wxEvent,
33655 _swigc__p_wxEvtHandler,
33656 _swigc__p_wxFSFile,
33657 _swigc__p_wxFileDialog,
33658 _swigc__p_wxFileSystem,
33659 _swigc__p_wxFindDialogEvent,
33660 _swigc__p_wxFindReplaceData,
33661 _swigc__p_wxFindReplaceDialog,
33662 _swigc__p_wxFlexGridSizer,
33663 _swigc__p_wxFocusEvent,
33664 _swigc__p_wxFont,
33665 _swigc__p_wxFontData,
33666 _swigc__p_wxFontDialog,
33667 _swigc__p_wxFrame,
33668 _swigc__p_wxGBSizerItem,
33669 _swigc__p_wxGIFHandler,
33670 _swigc__p_wxGridBagSizer,
33671 _swigc__p_wxGridSizer,
e9d6f3a4 33672 _swigc__p_wxHtmlLinkInfo,
32fe5131
RD
33673 _swigc__p_wxICOHandler,
33674 _swigc__p_wxIcon,
33675 _swigc__p_wxIconBundle,
33676 _swigc__p_wxIconizeEvent,
33677 _swigc__p_wxIdleEvent,
33678 _swigc__p_wxImage,
33679 _swigc__p_wxImageHandler,
33680 _swigc__p_wxIndividualLayoutConstraint,
33681 _swigc__p_wxInitDialogEvent,
33682 _swigc__p_wxJPEGHandler,
33683 _swigc__p_wxKeyEvent,
33684 _swigc__p_wxLayoutAlgorithm,
33685 _swigc__p_wxLayoutConstraints,
33686 _swigc__p_wxMDIChildFrame,
33687 _swigc__p_wxMDIClientWindow,
33688 _swigc__p_wxMDIParentFrame,
33689 _swigc__p_wxMaximizeEvent,
33690 _swigc__p_wxMenu,
33691 _swigc__p_wxMenuBar,
33692 _swigc__p_wxMenuEvent,
33693 _swigc__p_wxMenuItem,
33694 _swigc__p_wxMessageDialog,
33695 _swigc__p_wxMiniFrame,
33696 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 33697 _swigc__p_wxMouseCaptureLostEvent,
32fe5131
RD
33698 _swigc__p_wxMouseEvent,
33699 _swigc__p_wxMoveEvent,
33700 _swigc__p_wxMultiChoiceDialog,
33701 _swigc__p_wxNavigationKeyEvent,
33702 _swigc__p_wxNcPaintEvent,
33703 _swigc__p_wxNotifyEvent,
27e45892 33704 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
33705 _swigc__p_wxObject,
33706 _swigc__p_wxPCXHandler,
33707 _swigc__p_wxPNGHandler,
33708 _swigc__p_wxPNMHandler,
33709 _swigc__p_wxPageSetupDialog,
33710 _swigc__p_wxPageSetupDialogData,
33711 _swigc__p_wxPaintEvent,
33712 _swigc__p_wxPaletteChangedEvent,
33713 _swigc__p_wxPanel,
33714 _swigc__p_wxPaperSize,
33715 _swigc__p_wxPasswordEntryDialog,
33716 _swigc__p_wxPoint,
33717 _swigc__p_wxPopupWindow,
33718 _swigc__p_wxPreviewCanvas,
33719 _swigc__p_wxPreviewControlBar,
33720 _swigc__p_wxPreviewFrame,
33721 _swigc__p_wxPrintData,
33722 _swigc__p_wxPrintDialog,
33723 _swigc__p_wxPrintDialogData,
33724 _swigc__p_wxPrintPreview,
33725 _swigc__p_wxPrinter,
33726 _swigc__p_wxProgressDialog,
33727 _swigc__p_wxPyApp,
33728 _swigc__p_wxPyCommandEvent,
33729 _swigc__p_wxPyEvent,
33730 _swigc__p_wxPyHtmlListBox,
33731 _swigc__p_wxPyImageHandler,
33732 _swigc__p_wxPyPanel,
33733 _swigc__p_wxPyPopupTransientWindow,
33734 _swigc__p_wxPyPreviewControlBar,
33735 _swigc__p_wxPyPreviewFrame,
33736 _swigc__p_wxPyPrintPreview,
33737 _swigc__p_wxPyPrintout,
33738 _swigc__p_wxPyScrolledWindow,
33739 _swigc__p_wxPySizer,
33740 _swigc__p_wxPyTaskBarIcon,
33741 _swigc__p_wxPyVListBox,
33742 _swigc__p_wxPyVScrolledWindow,
33743 _swigc__p_wxPyValidator,
33744 _swigc__p_wxPyWindow,
33745 _swigc__p_wxQueryLayoutInfoEvent,
33746 _swigc__p_wxQueryNewPaletteEvent,
33747 _swigc__p_wxRect,
33748 _swigc__p_wxRegion,
33749 _swigc__p_wxSashEvent,
33750 _swigc__p_wxSashLayoutWindow,
33751 _swigc__p_wxSashWindow,
33752 _swigc__p_wxScrollEvent,
33753 _swigc__p_wxScrollWinEvent,
33754 _swigc__p_wxScrolledWindow,
33755 _swigc__p_wxSetCursorEvent,
33756 _swigc__p_wxShowEvent,
33757 _swigc__p_wxSingleChoiceDialog,
33758 _swigc__p_wxSize,
1bd55598
RD
33759 _swigc__p_wxSizeEvent,
33760 _swigc__p_wxSizer,
33761 _swigc__p_wxSizerItem,
33762 _swigc__p_wxSplashScreen,
33763 _swigc__p_wxSplashScreenWindow,
33764 _swigc__p_wxSplitterEvent,
33765 _swigc__p_wxSplitterWindow,
33766 _swigc__p_wxStaticBoxSizer,
33767 _swigc__p_wxStatusBar,
33768 _swigc__p_wxStdDialogButtonSizer,
33769 _swigc__p_wxString,
33770 _swigc__p_wxSysColourChangedEvent,
33771 _swigc__p_wxTIFFHandler,
33772 _swigc__p_wxTaskBarIcon,
33773 _swigc__p_wxTaskBarIconEvent,
33774 _swigc__p_wxTextEntryDialog,
33775 _swigc__p_wxTipWindow,
33776 _swigc__p_wxToolBar,
33777 _swigc__p_wxTopLevelWindow,
33778 _swigc__p_wxUpdateUIEvent,
33779 _swigc__p_wxValidator,
33780 _swigc__p_wxVisualAttributes,
33781 _swigc__p_wxWindow,
33782 _swigc__p_wxWindowCreateEvent,
33783 _swigc__p_wxWindowDestroyEvent,
33784 _swigc__p_wxXPMHandler,
33785};
33786
33787
33788/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33789
33790static swig_const_info swig_const_table[] = {
33791{0, 0, 0, 0.0, 0, 0}};
33792
36ed4f51
RD
33793#ifdef __cplusplus
33794}
33795#endif
1bd55598
RD
33796/* -----------------------------------------------------------------------------
33797 * Type initialization:
33798 * This problem is tough by the requirement that no dynamic
33799 * memory is used. Also, since swig_type_info structures store pointers to
33800 * swig_cast_info structures and swig_cast_info structures store pointers back
33801 * to swig_type_info structures, we need some lookup code at initialization.
33802 * The idea is that swig generates all the structures that are needed.
33803 * The runtime then collects these partially filled structures.
33804 * The SWIG_InitializeModule function takes these initial arrays out of
33805 * swig_module, and does all the lookup, filling in the swig_module.types
33806 * array with the correct data and linking the correct swig_cast_info
33807 * structures together.
33808 *
33809 * The generated swig_type_info structures are assigned staticly to an initial
33810 * array. We just loop though that array, and handle each type individually.
33811 * First we lookup if this type has been already loaded, and if so, use the
33812 * loaded structure instead of the generated one. Then we have to fill in the
33813 * cast linked list. The cast data is initially stored in something like a
33814 * two-dimensional array. Each row corresponds to a type (there are the same
33815 * number of rows as there are in the swig_type_initial array). Each entry in
33816 * a column is one of the swig_cast_info structures for that type.
33817 * The cast_initial array is actually an array of arrays, because each row has
33818 * a variable number of columns. So to actually build the cast linked list,
33819 * we find the array of casts associated with the type, and loop through it
33820 * adding the casts to the list. The one last trick we need to do is making
33821 * sure the type pointer in the swig_cast_info struct is correct.
33822 *
33823 * First off, we lookup the cast->type name to see if it is already loaded.
33824 * There are three cases to handle:
33825 * 1) If the cast->type has already been loaded AND the type we are adding
33826 * casting info to has not been loaded (it is in this module), THEN we
33827 * replace the cast->type pointer with the type pointer that has already
33828 * been loaded.
33829 * 2) If BOTH types (the one we are adding casting info to, and the
33830 * cast->type) are loaded, THEN the cast info has already been loaded by
33831 * the previous module so we just ignore it.
33832 * 3) Finally, if cast->type has not already been loaded, then we add that
33833 * swig_cast_info to the linked list (because the cast->type) pointer will
33834 * be correct.
33835 * ----------------------------------------------------------------------------- */
36ed4f51 33836
d55e5bfc 33837#ifdef __cplusplus
1bd55598
RD
33838extern "C" {
33839#if 0
33840} /* c-mode */
33841#endif
33842#endif
33843
33844#if 0
33845#define SWIGRUNTIME_DEBUG
33846#endif
33847
33848SWIGRUNTIME void
33849SWIG_InitializeModule(void *clientdata) {
33850 size_t i;
33851 swig_module_info *module_head;
33852 static int init_run = 0;
33853
33854 clientdata = clientdata;
33855
33856 if (init_run) return;
33857 init_run = 1;
33858
33859 /* Initialize the swig_module */
33860 swig_module.type_initial = swig_type_initial;
33861 swig_module.cast_initial = swig_cast_initial;
33862
33863 /* Try and load any already created modules */
33864 module_head = SWIG_GetModule(clientdata);
33865 if (module_head) {
33866 swig_module.next = module_head->next;
33867 module_head->next = &swig_module;
33868 } else {
33869 /* This is the first module loaded */
33870 swig_module.next = &swig_module;
33871 SWIG_SetModule(clientdata, &swig_module);
33872 }
33873
33874 /* Now work on filling in swig_module.types */
33875#ifdef SWIGRUNTIME_DEBUG
33876 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33877#endif
33878 for (i = 0; i < swig_module.size; ++i) {
33879 swig_type_info *type = 0;
33880 swig_type_info *ret;
33881 swig_cast_info *cast;
d55e5bfc 33882
1bd55598
RD
33883#ifdef SWIGRUNTIME_DEBUG
33884 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33885#endif
d55e5bfc 33886
1bd55598
RD
33887 /* if there is another module already loaded */
33888 if (swig_module.next != &swig_module) {
33889 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 33890 }
1bd55598
RD
33891 if (type) {
33892 /* Overwrite clientdata field */
33893#ifdef SWIGRUNTIME_DEBUG
33894 printf("SWIG_InitializeModule: found type %s\n", type->name);
33895#endif
33896 if (swig_module.type_initial[i]->clientdata) {
33897 type->clientdata = swig_module.type_initial[i]->clientdata;
33898#ifdef SWIGRUNTIME_DEBUG
33899 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33900#endif
33901 }
33902 } else {
33903 type = swig_module.type_initial[i];
36ed4f51 33904 }
1bd55598
RD
33905
33906 /* Insert casting types */
33907 cast = swig_module.cast_initial[i];
33908 while (cast->type) {
33909 /* Don't need to add information already in the list */
33910 ret = 0;
33911#ifdef SWIGRUNTIME_DEBUG
33912 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33913#endif
33914 if (swig_module.next != &swig_module) {
33915 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33916#ifdef SWIGRUNTIME_DEBUG
33917 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33918#endif
33919 }
33920 if (ret) {
33921 if (type == swig_module.type_initial[i]) {
33922#ifdef SWIGRUNTIME_DEBUG
33923 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33924#endif
33925 cast->type = ret;
33926 ret = 0;
33927 } else {
33928 /* Check for casting already in the list */
33929 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33930#ifdef SWIGRUNTIME_DEBUG
33931 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33932#endif
33933 if (!ocast) ret = 0;
33934 }
33935 }
33936
33937 if (!ret) {
33938#ifdef SWIGRUNTIME_DEBUG
33939 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33940#endif
33941 if (type->cast) {
33942 type->cast->prev = cast;
33943 cast->next = type->cast;
33944 }
33945 type->cast = cast;
33946 }
33947 cast++;
36ed4f51 33948 }
1bd55598
RD
33949 /* Set entry in modules->types array equal to the type */
33950 swig_module.types[i] = type;
33951 }
33952 swig_module.types[i] = 0;
33953
33954#ifdef SWIGRUNTIME_DEBUG
33955 printf("**** SWIG_InitializeModule: Cast List ******\n");
33956 for (i = 0; i < swig_module.size; ++i) {
33957 int j = 0;
33958 swig_cast_info *cast = swig_module.cast_initial[i];
33959 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33960 while (cast->type) {
33961 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33962 cast++;
33963 ++j;
33964 }
33965 printf("---- Total casts: %d\n",j);
33966 }
33967 printf("**** SWIG_InitializeModule: Cast List ******\n");
33968#endif
33969}
33970
33971/* This function will propagate the clientdata field of type to
33972* any new swig_type_info structures that have been added into the list
33973* of equivalent types. It is like calling
33974* SWIG_TypeClientData(type, clientdata) a second time.
33975*/
33976SWIGRUNTIME void
33977SWIG_PropagateClientData(void) {
33978 size_t i;
33979 swig_cast_info *equiv;
33980 static int init_run = 0;
33981
33982 if (init_run) return;
33983 init_run = 1;
33984
33985 for (i = 0; i < swig_module.size; i++) {
33986 if (swig_module.types[i]->clientdata) {
33987 equiv = swig_module.types[i]->cast;
33988 while (equiv) {
33989 if (!equiv->converter) {
33990 if (equiv->type && !equiv->type->clientdata)
33991 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33992 }
33993 equiv = equiv->next;
33994 }
36ed4f51 33995 }
1bd55598
RD
33996 }
33997}
33998
33999#ifdef __cplusplus
34000#if 0
34001{
34002 /* c-mode */
34003#endif
34004}
34005#endif
34006
34007
34008
34009#ifdef __cplusplus
34010extern "C" {
34011#endif
34012
34013 /* Python-specific SWIG API */
34014#define SWIG_newvarlink() SWIG_Python_newvarlink()
34015#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34016#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34017
34018 /* -----------------------------------------------------------------------------
34019 * global variable support code.
34020 * ----------------------------------------------------------------------------- */
34021
34022 typedef struct swig_globalvar {
34023 char *name; /* Name of global variable */
34024 PyObject *(*get_attr)(void); /* Return the current value */
34025 int (*set_attr)(PyObject *); /* Set the value */
34026 struct swig_globalvar *next;
34027 } swig_globalvar;
34028
34029 typedef struct swig_varlinkobject {
34030 PyObject_HEAD
34031 swig_globalvar *vars;
34032 } swig_varlinkobject;
34033
34034 SWIGINTERN PyObject *
34035 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34036 return PyString_FromString("<Swig global variables>");
34037 }
34038
34039 SWIGINTERN PyObject *
34040 swig_varlink_str(swig_varlinkobject *v) {
34041 PyObject *str = PyString_FromString("(");
34042 swig_globalvar *var;
34043 for (var = v->vars; var; var=var->next) {
34044 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34045 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34046 }
34047 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34048 return str;
34049 }
34050
34051 SWIGINTERN int
34052 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34053 PyObject *str = swig_varlink_str(v);
34054 fprintf(fp,"Swig global variables ");
34055 fprintf(fp,"%s\n", PyString_AsString(str));
34056 Py_DECREF(str);
34057 return 0;
34058 }
34059
34060 SWIGINTERN void
34061 swig_varlink_dealloc(swig_varlinkobject *v) {
34062 swig_globalvar *var = v->vars;
34063 while (var) {
34064 swig_globalvar *n = var->next;
34065 free(var->name);
34066 free(var);
34067 var = n;
36ed4f51 34068 }
1bd55598
RD
34069 }
34070
34071 SWIGINTERN PyObject *
34072 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34073 PyObject *res = NULL;
34074 swig_globalvar *var = v->vars;
34075 while (var) {
34076 if (strcmp(var->name,n) == 0) {
34077 res = (*var->get_attr)();
34078 break;
34079 }
34080 var = var->next;
36ed4f51 34081 }
1bd55598
RD
34082 if (res == NULL && !PyErr_Occurred()) {
34083 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 34084 }
1bd55598
RD
34085 return res;
34086 }
34087
34088 SWIGINTERN int
34089 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34090 int res = 1;
34091 swig_globalvar *var = v->vars;
34092 while (var) {
34093 if (strcmp(var->name,n) == 0) {
34094 res = (*var->set_attr)(p);
34095 break;
34096 }
34097 var = var->next;
36ed4f51 34098 }
1bd55598
RD
34099 if (res == 1 && !PyErr_Occurred()) {
34100 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 34101 }
1bd55598
RD
34102 return res;
34103 }
34104
34105 SWIGINTERN PyTypeObject*
34106 swig_varlink_type(void) {
34107 static char varlink__doc__[] = "Swig var link object";
34108 static PyTypeObject varlink_type;
34109 static int type_init = 0;
34110 if (!type_init) {
34111 const PyTypeObject tmp
34112 = {
34113 PyObject_HEAD_INIT(NULL)
34114 0, /* Number of items in variable part (ob_size) */
34115 (char *)"swigvarlink", /* Type name (tp_name) */
34116 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34117 0, /* Itemsize (tp_itemsize) */
34118 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34119 (printfunc) swig_varlink_print, /* Print (tp_print) */
34120 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34121 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34122 0, /* tp_compare */
34123 (reprfunc) swig_varlink_repr, /* tp_repr */
34124 0, /* tp_as_number */
34125 0, /* tp_as_sequence */
34126 0, /* tp_as_mapping */
34127 0, /* tp_hash */
34128 0, /* tp_call */
34129 (reprfunc)swig_varlink_str, /* tp_str */
34130 0, /* tp_getattro */
34131 0, /* tp_setattro */
34132 0, /* tp_as_buffer */
34133 0, /* tp_flags */
34134 varlink__doc__, /* tp_doc */
34135 0, /* tp_traverse */
34136 0, /* tp_clear */
34137 0, /* tp_richcompare */
34138 0, /* tp_weaklistoffset */
34139#if PY_VERSION_HEX >= 0x02020000
34140 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34141#endif
34142#if PY_VERSION_HEX >= 0x02030000
34143 0, /* tp_del */
34144#endif
34145#ifdef COUNT_ALLOCS
34146 0,0,0,0 /* tp_alloc -> tp_next */
34147#endif
34148 };
34149 varlink_type = tmp;
34150 varlink_type.ob_type = &PyType_Type;
34151 type_init = 1;
36ed4f51 34152 }
1bd55598
RD
34153 return &varlink_type;
34154 }
34155
34156 /* Create a variable linking object for use later */
34157 SWIGINTERN PyObject *
34158 SWIG_Python_newvarlink(void) {
34159 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34160 if (result) {
34161 result->vars = 0;
34162 }
34163 return ((PyObject*) result);
34164 }
34165
34166 SWIGINTERN void
34167 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34168 swig_varlinkobject *v = (swig_varlinkobject *) p;
34169 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34170 if (gv) {
34171 size_t size = strlen(name)+1;
34172 gv->name = (char *)malloc(size);
34173 if (gv->name) {
34174 strncpy(gv->name,name,size);
34175 gv->get_attr = get_attr;
34176 gv->set_attr = set_attr;
34177 gv->next = v->vars;
34178 }
36ed4f51 34179 }
1bd55598
RD
34180 v->vars = gv;
34181 }
34182
34183 SWIGINTERN PyObject *
34184 SWIG_globals() {
34185 static PyObject *_SWIG_globals = 0;
34186 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34187 return _SWIG_globals;
34188 }
34189
34190 /* -----------------------------------------------------------------------------
34191 * constants/methods manipulation
34192 * ----------------------------------------------------------------------------- */
34193
34194 /* Install Constants */
34195 SWIGINTERN void
34196 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34197 PyObject *obj = 0;
34198 size_t i;
34199 for (i = 0; constants[i].type; ++i) {
34200 switch(constants[i].type) {
34201 case SWIG_PY_POINTER:
34202 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34203 break;
34204 case SWIG_PY_BINARY:
34205 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34206 break;
34207 default:
34208 obj = 0;
34209 break;
34210 }
34211 if (obj) {
34212 PyDict_SetItemString(d, constants[i].name, obj);
34213 Py_DECREF(obj);
34214 }
36ed4f51 34215 }
1bd55598
RD
34216 }
34217
34218 /* -----------------------------------------------------------------------------*/
34219 /* Fix SwigMethods to carry the callback ptrs when needed */
34220 /* -----------------------------------------------------------------------------*/
34221
34222 SWIGINTERN void
34223 SWIG_Python_FixMethods(PyMethodDef *methods,
34224 swig_const_info *const_table,
34225 swig_type_info **types,
34226 swig_type_info **types_initial) {
34227 size_t i;
34228 for (i = 0; methods[i].ml_name; ++i) {
3d6c9062 34229 const char *c = methods[i].ml_doc;
1bd55598
RD
34230 if (c && (c = strstr(c, "swig_ptr: "))) {
34231 int j;
34232 swig_const_info *ci = 0;
3d6c9062 34233 const char *name = c + 10;
1bd55598
RD
34234 for (j = 0; const_table[j].type; ++j) {
34235 if (strncmp(const_table[j].name, name,
34236 strlen(const_table[j].name)) == 0) {
34237 ci = &(const_table[j]);
34238 break;
34239 }
34240 }
34241 if (ci) {
34242 size_t shift = (ci->ptype) - types;
34243 swig_type_info *ty = types_initial[shift];
34244 size_t ldoc = (c - methods[i].ml_doc);
34245 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34246 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34247 if (ndoc) {
34248 char *buff = ndoc;
34249 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34250 if (ptr) {
34251 strncpy(buff, methods[i].ml_doc, ldoc);
34252 buff += ldoc;
34253 strncpy(buff, "swig_ptr: ", 10);
34254 buff += 10;
34255 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34256 methods[i].ml_doc = ndoc;
34257 }
34258 }
34259 }
34260 }
36ed4f51 34261 }
1bd55598
RD
34262 }
34263
34264#ifdef __cplusplus
34265}
34266#endif
34267
34268/* -----------------------------------------------------------------------------*
34269 * Partial Init method
34270 * -----------------------------------------------------------------------------*/
34271
34272#ifdef __cplusplus
34273extern "C"
34274#endif
34275SWIGEXPORT void SWIG_init(void) {
34276 PyObject *m, *d;
34277
34278 /* Fix SwigMethods to carry the callback ptrs when needed */
34279 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34280
34281 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34282 d = PyModule_GetDict(m);
34283
34284 SWIG_InitializeModule(0);
34285 SWIG_InstallConstants(d,swig_const_table);
34286
34287
34288 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34289 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34290 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34291 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34292 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34293 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34294 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34295 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34296 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34297 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34298 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34299 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34300 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34301 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34302 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34303 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34304 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34305 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34306 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34307 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34308 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34309 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34310 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34311 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34312 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34313 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34314 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34315 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34316 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
fc46b7f3 34317 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
1bd55598
RD
34318 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34319 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34320 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34321 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
fc46b7f3
RD
34322 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34323 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
1bd55598
RD
34324 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34325 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34326 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34327 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34328 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34329 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34330 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34331 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34332 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34333 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34334 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34335 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34336 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34337 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34338 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34339 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34340 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34341 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34342 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34343 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34344 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34345 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34346 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34347 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34348 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34349 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34350 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34351 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34352 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34353 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34354 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34355 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34356 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34357 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34358 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34359 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34360 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34361 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34362 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34363 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34364 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34365 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34366 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34367 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34368 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34369 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34370 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34371 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34372 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34373 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34374 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34375 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34376 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34377 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34378 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34379 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34380 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34381 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34382 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34383 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34384 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34385 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34386 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34387 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34388 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34389 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34390 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34391 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34392 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34393
34394 // Map renamed classes back to their common name for OOR
34395 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34396 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34397 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34398
34399 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34400 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34401 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34402 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34403 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34404 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34405 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34406 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34407 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34408 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34409 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34410 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34411 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
34412 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34413 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34414 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34415 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34416 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34417 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34418 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34419 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34420 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 34421 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
34422 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34423 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34424 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34425 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34426 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34427 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
1eeb270e 34428 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
704eda0c 34429 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
1bd55598
RD
34430 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34431 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34432 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
0d2c9713
RD
34433 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34434 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34435 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34436 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34437 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34438 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34439 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34440 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
1bd55598
RD
34441 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34442 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34443 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34444 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34445 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34446 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34447 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34448 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34449 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34450 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34451 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34452 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34453 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34454 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34455 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34456 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34457 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34458 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34459 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34460 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34461 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34462 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34463 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34464 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34465 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34466 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34467 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34468 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34469 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34470 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34471 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34472 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34473 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34474 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34475 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34476 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34477 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34478 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34479 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34480 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34481 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34482 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34483 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34484 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34485 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34486 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34487 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34488 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34489 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34490 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34491 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34492 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34493 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34494 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34495 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34496 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34497 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34498 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34499 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34500 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34501 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34502 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34503
34504 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34505
d55e5bfc
RD
34506}
34507